1
0

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
This commit is contained in:
Gordon Leung 2024-03-01 07:54:12 +00:00 committed by Git OBS Bridge
parent 8021ae7fc6
commit e19d681c2e
8 changed files with 29 additions and 24 deletions

View File

@ -1,5 +1,5 @@
FAQ by Gordon Leung <pirateclip@protonmail.com>
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

View File

@ -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
Editing google-noto-fonts.spec.in however is fine

View File

@ -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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Mar 1 07:23:34 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
- Update to 20240301
* Fixes to Balinese, Sans Canadian Aboriginal, Sans Georgian
and Kufi Arabic
-------------------------------------------------------------------
Wed Feb 28 16:12:05 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>

View File

@ -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

View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:435e383e26200b10e9c4442e1f588bdeb9c5b498aead02e4819602fff2b4b22b
size 1062706467

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:abcef824e61aa99626b6ad331c1cba875f28b3d87cc9ff8c87d46d55fe344369
size 1065711184