From e19d681c2e743614c334ce8aefe9dea995eb9601e6982e8cee25b9bc69a05d24 Mon Sep 17 00:00:00 2001 From: Gordon Leung Date: Fri, 1 Mar 2024 07:54:12 +0000 Subject: [PATCH] Accepting request 1153754 from home:Pi-Cla:branches:M17N:fonts - Update to 20240301 * Fixes to Balinese, Sans Canadian Aboriginal, Sans Georgian and Kufi Arabic OBS-URL: https://build.opensuse.org/request/show/1153754 OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/google-noto-fonts?expand=0&rev=66 --- README.FAQ | 2 +- README.maintain | 4 ++-- generate-specfile.sh | 4 ++-- google-noto-fonts.changes | 7 +++++++ google-noto-fonts.spec | 15 +++++++-------- google-noto-fonts.spec.in | 15 +++++++-------- ...s.github.io-noto-monthly-release-24.1.1.tar.gz | 3 --- ...s.github.io-noto-monthly-release-24.3.1.tar.gz | 3 +++ 8 files changed, 29 insertions(+), 24 deletions(-) delete mode 100644 notofonts.github.io-noto-monthly-release-24.1.1.tar.gz create mode 100644 notofonts.github.io-noto-monthly-release-24.3.1.tar.gz diff --git a/README.FAQ b/README.FAQ index 0dfcd33..cfa494c 100644 --- a/README.FAQ +++ b/README.FAQ @@ -1,5 +1,5 @@ FAQ by Gordon Leung -Last reviewed: 2024-01-06 +Last reviewed: 2024-03-01 Q: Why are there so many Noto packages? A: Each Noto Font family is individually packaged to allow the user to pick and diff --git a/README.maintain b/README.maintain index 17111f1..0bd4351 100644 --- a/README.maintain +++ b/README.maintain @@ -1,4 +1,4 @@ -Last reviewed: 2024-01-06 +Last reviewed: 2024-03-01 1. Download the latest release tarball from here: https://github.com/notofonts/notofonts.github.io/releases 2. Rename the current specfile to old.spec then edit the versions in generate-specfile.sh and google-noto-fonts.spec.in 3. Run generate-specfile.sh to get the new specfile @@ -13,4 +13,4 @@ Last reviewed: 2024-01-06 If you need to change the specfile, you change it programmatically in generate-specfile.sh rather than directly edit google-noto-fonts.spec That way the next person who runs the script does not need to redo your changes -Editing google-noto-fonts.spec.in however is fine \ No newline at end of file +Editing google-noto-fonts.spec.in however is fine diff --git a/generate-specfile.sh b/generate-specfile.sh index 785de13..08ca690 100644 --- a/generate-specfile.sh +++ b/generate-specfile.sh @@ -17,7 +17,7 @@ set -euo pipefail pkg_name="google-noto-fonts" -font_dir="notofonts.github.io-noto-monthly-release-24.1.1" +font_dir="notofonts.github.io-noto-monthly-release-24.3.1" # Used to extract the tarball to generate the specfile. # You can comment this out while testing out changes to the script, @@ -28,7 +28,7 @@ cp -f $pkg_name.spec.in $pkg_name.spec ls $font_dir/fonts | sed -e 's:Noto::' -e 's:-.*\..tf::' -e 's:\..tf::' -e 's:\.ttc::' | sort -f | uniq | while read -r font; do # DO NOT create font packages out of these folders. - if [ "$font" == "LICENSE" ] || [ "$font" == "SansTest" ] || [ "$font" == "SerifTest" ] || [ "$font" == "NaskhArabicUI" ] || [ "$font" = "LoopedThai" ]; then + if [ "$font" == "LICENSE" ] || [ "$font" == "SansTest" ] || [ "$font" == "SerifTest" ] || [ "$font" == "NaskhArabicUI" ]; then continue fi diff --git a/google-noto-fonts.changes b/google-noto-fonts.changes index d95c4d8..6342ed2 100644 --- a/google-noto-fonts.changes +++ b/google-noto-fonts.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Mar 1 07:23:34 UTC 2024 - Gordon Leung + +- Update to 20240301 + * Fixes to Balinese, Sans Canadian Aboriginal, Sans Georgian + and Kufi Arabic + ------------------------------------------------------------------- Wed Feb 28 16:12:05 UTC 2024 - Gordon Leung diff --git a/google-noto-fonts.spec b/google-noto-fonts.spec index dab3ec5..a828e84 100644 --- a/google-noto-fonts.spec +++ b/google-noto-fonts.spec @@ -17,7 +17,7 @@ %define hyear 2024 -%define hmonth 01 +%define hmonth 03 %define hday 01 %define src_name NotoFonts @@ -31,8 +31,8 @@ Summary: All Noto Fonts except CJK and Emoji License: OFL-1.1 Group: System/X11/Fonts URL: https://notofonts.github.io/ -# https://github.com/notofonts/notofonts.github.io/archive/refs/tags/noto-monthly-release-24.1.1.tar.gz -Source0: notofonts.github.io-noto-monthly-release-24.1.1.tar.gz +# https://github.com/notofonts/notofonts.github.io/archive/refs/tags/noto-monthly-release-24.3.1.tar.gz +Source0: notofonts.github.io-noto-monthly-release-24.3.1.tar.gz Source1: generate-specfile.sh Source2: README.FAQ Source3: README.maintain @@ -3162,17 +3162,16 @@ TraditionalNushu font, hinted. %prep %autosetup -c -cp notofonts.github.io-noto-monthly-release-24.1.1/fonts/LICENSE . +cp notofonts.github.io-noto-monthly-release-24.3.1/fonts/LICENSE . %build %install -rm -r notofonts.github.io-noto-monthly-release-24.1.1/fonts/Noto*Test -rm -r notofonts.github.io-noto-monthly-release-24.1.1/fonts/NotoLoopedThai -rm -r notofonts.github.io-noto-monthly-release-24.1.1/fonts/NotoSansPhagsPa/hinted/ttf/NotoSansPhags-Pa-Regular.ttf +rm -r notofonts.github.io-noto-monthly-release-24.3.1/fonts/Noto*Test +rm -r notofonts.github.io-noto-monthly-release-24.3.1/fonts/NotoSansPhagsPa/hinted/ttf/NotoSansPhags-Pa-Regular.ttf -install -Dm 644 -t %{buildroot}%{_ttfontsdir} notofonts.github.io-noto-monthly-release-24.1.1/fonts/*/hinted/ttf/* +install -Dm 644 -t %{buildroot}%{_ttfontsdir} notofonts.github.io-noto-monthly-release-24.3.1/fonts/*/hinted/ttf/* %reconfigure_fonts_scriptlets -n google-noto-fangsongkssrotated-fonts diff --git a/google-noto-fonts.spec.in b/google-noto-fonts.spec.in index 14c4a4c..d69a608 100644 --- a/google-noto-fonts.spec.in +++ b/google-noto-fonts.spec.in @@ -17,7 +17,7 @@ %define hyear 2024 -%define hmonth 01 +%define hmonth 03 %define hday 01 %define src_name NotoFonts @@ -31,8 +31,8 @@ Summary: All Noto Fonts except CJK and Emoji License: OFL-1.1 Group: System/X11/Fonts URL: https://notofonts.github.io/ -# https://github.com/notofonts/notofonts.github.io/archive/refs/tags/noto-monthly-release-24.1.1.tar.gz -Source0: notofonts.github.io-noto-monthly-release-24.1.1.tar.gz +# https://github.com/notofonts/notofonts.github.io/archive/refs/tags/noto-monthly-release-24.3.1.tar.gz +Source0: notofonts.github.io-noto-monthly-release-24.3.1.tar.gz#noto-monthly-release-24.3.1 Source1: generate-specfile.sh Source2: README.FAQ Source3: README.maintain @@ -50,17 +50,16 @@ thicknesses) across languages. This package contains most noto fonts except for %prep %autosetup -c -cp notofonts.github.io-noto-monthly-release-24.1.1/fonts/LICENSE . +cp notofonts.github.io-noto-monthly-release-24.3.1/fonts/LICENSE . %build %install -rm -r notofonts.github.io-noto-monthly-release-24.1.1/fonts/Noto*Test -rm -r notofonts.github.io-noto-monthly-release-24.1.1/fonts/NotoLoopedThai -rm -r notofonts.github.io-noto-monthly-release-24.1.1/fonts/NotoSansPhagsPa/hinted/ttf/NotoSansPhags-Pa-Regular.ttf +rm -r notofonts.github.io-noto-monthly-release-24.3.1/fonts/Noto*Test +rm -r notofonts.github.io-noto-monthly-release-24.3.1/fonts/NotoSansPhagsPa/hinted/ttf/NotoSansPhags-Pa-Regular.ttf -install -Dm 644 -t %{buildroot}%{_ttfontsdir} notofonts.github.io-noto-monthly-release-24.1.1/fonts/*/hinted/ttf/* +install -Dm 644 -t %{buildroot}%{_ttfontsdir} notofonts.github.io-noto-monthly-release-24.3.1/fonts/*/hinted/ttf/* @SUBPACKAGE_SCRIPTLETS@ %files diff --git a/notofonts.github.io-noto-monthly-release-24.1.1.tar.gz b/notofonts.github.io-noto-monthly-release-24.1.1.tar.gz deleted file mode 100644 index 1228120..0000000 --- a/notofonts.github.io-noto-monthly-release-24.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:435e383e26200b10e9c4442e1f588bdeb9c5b498aead02e4819602fff2b4b22b -size 1062706467 diff --git a/notofonts.github.io-noto-monthly-release-24.3.1.tar.gz b/notofonts.github.io-noto-monthly-release-24.3.1.tar.gz new file mode 100644 index 0000000..fa8df6d --- /dev/null +++ b/notofonts.github.io-noto-monthly-release-24.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:abcef824e61aa99626b6ad331c1cba875f28b3d87cc9ff8c87d46d55fe344369 +size 1065711184