From 5e6d1e5985414fd1057595ce2aeb28f7d46f09e3 Mon Sep 17 00:00:00 2001 From: Anushka Mittal Date: Mon, 7 Jul 2025 14:31:30 +0000 Subject: [PATCH 1/8] add font-lohit-telugu Signed-off-by: Anushka Mittal --- font-lohit-telugu.yaml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 font-lohit-telugu.yaml diff --git a/font-lohit-telugu.yaml b/font-lohit-telugu.yaml new file mode 100644 index 00000000000..71a7544c511 --- /dev/null +++ b/font-lohit-telugu.yaml @@ -0,0 +1,33 @@ +package: + name: font-lohit-telugu + version: 2.5.5 + epoch: 0 + description: telugu fonts + copyright: + - license: OFL-1.1 + dependencies: + provides: + - fonts-lohit-telugu=${{package.full-version}} + +environment: + contents: + packages: + - build-base + - busybox + +pipeline: + - uses: fetch + with: + expected-sha256: 71987ddcd7c407ee52d49784a30b41309d276d9b051a96c4a76580b73c6b03c0 + uri: https://releases.pagure.org/lohit/lohit-telugu-ttf-${{package.version}}.tar.gz + + - runs: | + mkdir -p "${{targets.contextdir}}/usr/share/fonts/truetype/lao" + mv ./*.ttf "${{targets.contextdir}}/usr/share/fonts/truetype/lao/" + +update: + enabled: false + +test: + pipeline: + - uses: test/fonts From 564e39958c28083457e490e0280496ed5ecf05df Mon Sep 17 00:00:00 2001 From: Anushka Mittal Date: Tue, 8 Jul 2025 06:49:10 +0000 Subject: [PATCH 2/8] add font-opensymbol Signed-off-by: Anushka Mittal --- font-lohit-telugu.yaml | 4 ++-- font-opensymbol.yaml | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 2 deletions(-) create mode 100644 font-opensymbol.yaml diff --git a/font-lohit-telugu.yaml b/font-lohit-telugu.yaml index 71a7544c511..2f49e9dce66 100644 --- a/font-lohit-telugu.yaml +++ b/font-lohit-telugu.yaml @@ -22,8 +22,8 @@ pipeline: uri: https://releases.pagure.org/lohit/lohit-telugu-ttf-${{package.version}}.tar.gz - runs: | - mkdir -p "${{targets.contextdir}}/usr/share/fonts/truetype/lao" - mv ./*.ttf "${{targets.contextdir}}/usr/share/fonts/truetype/lao/" + mkdir -p "${{targets.contextdir}}/usr/share/fonts/truetype/lohit-telugu" + mv ./*.ttf "${{targets.contextdir}}/usr/share/fonts/truetype/lohit-telugu/" update: enabled: false diff --git a/font-opensymbol.yaml b/font-opensymbol.yaml new file mode 100644 index 00000000000..c8095e44912 --- /dev/null +++ b/font-opensymbol.yaml @@ -0,0 +1,38 @@ +package: + name: font-opensymbol + version: 102.12 + epoch: 0 + description: LibreOffice-compatible OpenSymbol font for technical and symbolic glyphs + copyright: + - license: LGPL-3.0-or-later + dependencies: + provides: + - fonts-opensymbol=${{package.full-version}} + +environment: + contents: + packages: + - build-base + - busybox + - curl + +pipeline: + - runs: | + curl -LO http://ftp.de.debian.org/debian/pool/main/libr/libreoffice/fonts-opensymbol_102.12+LibO7.4.7-1+deb12u8_all.deb + ar x fonts-opensymbol_102.12+LibO7.4.7-1+deb12u8_all.deb + tar -xf data.tar.xz + mkdir -p "${{targets.contextdir}}/usr/share/bug" + mv ./usr/share/bug/ "${{targets.contextdir}}/usr/share/bug" + + mkdir -p "${{targets.contextdir}}/usr/share/fontconfig" + mv ./usr/share/fontconfig "${{targets.contextdir}}/usr/share/fontconfig" + + mkdir -p "${{targets.contextdir}}/usr/share/fonts/truetype/libreoffice" + mv ./usr/share/fonts/truetype/libreoffice/*.ttf "${{targets.contextdir}}/usr/share/fonts/truetype/libreoffice/" + +update: + enabled: false + +test: + pipeline: + - uses: test/fonts From 4b4744a3607eadd63a4e735de35f2f87e4a37220 Mon Sep 17 00:00:00 2001 From: Anushka Mittal Date: Tue, 8 Jul 2025 09:18:23 +0000 Subject: [PATCH 3/8] add font-stix-otf, font-takao Signed-off-by: Anushka Mittal --- font-stix-otf.yaml | 36 ++++++++++++++++++++++++++++++++++++ font-takao.yaml | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 font-stix-otf.yaml create mode 100644 font-takao.yaml diff --git a/font-stix-otf.yaml b/font-stix-otf.yaml new file mode 100644 index 00000000000..0761bed8be6 --- /dev/null +++ b/font-stix-otf.yaml @@ -0,0 +1,36 @@ +package: + name: font-stix-otf + version: 1.1.1 + epoch: 0 + description: telugu fonts + copyright: + - license: OFL-1.1 + dependencies: + provides: + - fonts-lohit-telugu=${{package.full-version}} + +environment: + contents: + packages: + - build-base + - busybox + +pipeline: + - uses: fetch + with: + expected-sha256: 98f86eccef5d81daff07a00d9cc8350c2400e9193f59b5da4507da61f1e265e0 + uri: https://sources.debian.org/src/fonts-stix/${{package.version}}-4.1/STIXv${{package.version}}-word.zip + extract: false + + - runs: | + unzip -o STIXv${{package.version}}-word.zip + mkdir -p "${{targets.contextdir}}/usr/share/fonts/opentype/stix" + mv ./Fonts/STIX-Word/*.otf "${{targets.contextdir}}/usr/share/fonts/opentype/stix/" + exit 1 + +update: + enabled: false + +test: + pipeline: + - uses: test/fonts diff --git a/font-takao.yaml b/font-takao.yaml new file mode 100644 index 00000000000..da5072110ed --- /dev/null +++ b/font-takao.yaml @@ -0,0 +1,40 @@ +package: + name: font-takao + version: 0.1.0 + epoch: 0 + description: takao fonts + copyright: + - license: MIT + dependencies: + provides: + - fonts-takao=${{package.full-version}} + +environment: + contents: + packages: + - build-base + - busybox + - python3 + - py3-pip + +# seems to miss the P variants, as it doesnt build them by repo +pipeline: + - uses: git-checkout + with: + repository: https://github.com/hidekatsu-izuno/takaoka-fonts + tag: v${{package.version}} + expected-commit: 806b09b684deaeb6dba667670f965e7d27391a52 + + - runs: | + pip install -r requirements.txt + python build.py + mkdir -p "${{targets.contextdir}}/usr/share/fonts/truetype/takaoka" + cp ./build/dest/*.ttf "${{targets.contextdir}}/usr/share/fonts/truetype/takaoka/" + + +update: + enabled: false + +test: + pipeline: + - uses: test/fonts From 4afc23ef1506317c4661c0832441e22a38df37ae Mon Sep 17 00:00:00 2001 From: Anushka Mittal Date: Tue, 8 Jul 2025 13:59:54 +0000 Subject: [PATCH 4/8] refactor Signed-off-by: Anushka Mittal --- font-lohit-telugu.yaml | 33 --------------------------------- font-opensymbol.yaml | 20 +++++++++++++------- font-stix-otf.yaml | 19 +++++++++---------- font-takao.yaml | 5 ----- 4 files changed, 22 insertions(+), 55 deletions(-) delete mode 100644 font-lohit-telugu.yaml diff --git a/font-lohit-telugu.yaml b/font-lohit-telugu.yaml deleted file mode 100644 index 2f49e9dce66..00000000000 --- a/font-lohit-telugu.yaml +++ /dev/null @@ -1,33 +0,0 @@ -package: - name: font-lohit-telugu - version: 2.5.5 - epoch: 0 - description: telugu fonts - copyright: - - license: OFL-1.1 - dependencies: - provides: - - fonts-lohit-telugu=${{package.full-version}} - -environment: - contents: - packages: - - build-base - - busybox - -pipeline: - - uses: fetch - with: - expected-sha256: 71987ddcd7c407ee52d49784a30b41309d276d9b051a96c4a76580b73c6b03c0 - uri: https://releases.pagure.org/lohit/lohit-telugu-ttf-${{package.version}}.tar.gz - - - runs: | - mkdir -p "${{targets.contextdir}}/usr/share/fonts/truetype/lohit-telugu" - mv ./*.ttf "${{targets.contextdir}}/usr/share/fonts/truetype/lohit-telugu/" - -update: - enabled: false - -test: - pipeline: - - uses: test/fonts diff --git a/font-opensymbol.yaml b/font-opensymbol.yaml index c8095e44912..b92d92a4163 100644 --- a/font-opensymbol.yaml +++ b/font-opensymbol.yaml @@ -4,23 +4,29 @@ package: epoch: 0 description: LibreOffice-compatible OpenSymbol font for technical and symbolic glyphs copyright: - - license: LGPL-3.0-or-later - dependencies: - provides: - - fonts-opensymbol=${{package.full-version}} + - license: MPL-2.0 environment: contents: packages: - - build-base - busybox - curl + - binutils pipeline: + - uses: fetch + with: + expected-sha256: ef4a053515961170f0bbc48b30fc7a9a34c99b259a91a05e95edf8d77504bcfa + uri: http://ftp.de.debian.org/debian/pool/main/libr/libreoffice/fonts-opensymbol_${{package.version}}+LibO7.4.7-1+deb12u8_all.deb + extract: false + - runs: | - curl -LO http://ftp.de.debian.org/debian/pool/main/libr/libreoffice/fonts-opensymbol_102.12+LibO7.4.7-1+deb12u8_all.deb - ar x fonts-opensymbol_102.12+LibO7.4.7-1+deb12u8_all.deb + ar x fonts-opensymbol_${{package.version}}+LibO7.4.7-1+deb12u8_all.deb tar -xf data.tar.xz + + mkdir -p "${{targets.contextdir}}/etc/fonts/conf.d" + mv ./etc/fonts/conf.d "${{targets.contextdir}}/etc/fonts/conf.d" + mkdir -p "${{targets.contextdir}}/usr/share/bug" mv ./usr/share/bug/ "${{targets.contextdir}}/usr/share/bug" diff --git a/font-stix-otf.yaml b/font-stix-otf.yaml index 0761bed8be6..7bf67ed2dee 100644 --- a/font-stix-otf.yaml +++ b/font-stix-otf.yaml @@ -1,13 +1,10 @@ package: name: font-stix-otf - version: 1.1.1 + version: 2.14 epoch: 0 description: telugu fonts copyright: - license: OFL-1.1 - dependencies: - provides: - - fonts-lohit-telugu=${{package.full-version}} environment: contents: @@ -16,17 +13,19 @@ environment: - busybox pipeline: - - uses: fetch + - uses: git-checkout with: - expected-sha256: 98f86eccef5d81daff07a00d9cc8350c2400e9193f59b5da4507da61f1e265e0 - uri: https://sources.debian.org/src/fonts-stix/${{package.version}}-4.1/STIXv${{package.version}}-word.zip - extract: false + repository: https://github.com/stipub/stixfonts.git + tag: v${{package.version}} + expected-commit: 806b09b684deaeb6dba667670f965e7d27391a52 + destination: archive/STIXv1.1.0/Fonts - runs: | unzip -o STIXv${{package.version}}-word.zip mkdir -p "${{targets.contextdir}}/usr/share/fonts/opentype/stix" - mv ./Fonts/STIX-Word/*.otf "${{targets.contextdir}}/usr/share/fonts/opentype/stix/" - exit 1 + mv ./Fonts/STIX-General/*.otf "${{targets.contextdir}}/usr/share/fonts/opentype/stix-word/" + mkdir -p "${{targets.contextdir}}/usr/share/fonts/opentype/stix-word" + mv ./Fonts/STIX-Word/*.otf "${{targets.contextdir}}/usr/share/fonts/opentype/stix-word/" update: enabled: false diff --git a/font-takao.yaml b/font-takao.yaml index da5072110ed..45a8864621b 100644 --- a/font-takao.yaml +++ b/font-takao.yaml @@ -5,14 +5,10 @@ package: description: takao fonts copyright: - license: MIT - dependencies: - provides: - - fonts-takao=${{package.full-version}} environment: contents: packages: - - build-base - busybox - python3 - py3-pip @@ -31,7 +27,6 @@ pipeline: mkdir -p "${{targets.contextdir}}/usr/share/fonts/truetype/takaoka" cp ./build/dest/*.ttf "${{targets.contextdir}}/usr/share/fonts/truetype/takaoka/" - update: enabled: false From 48b3a53c31f3eb235258a5acd9671aa39820e509 Mon Sep 17 00:00:00 2001 From: Anushka Mittal Date: Tue, 8 Jul 2025 14:28:53 +0000 Subject: [PATCH 5/8] lint Signed-off-by: Anushka Mittal --- font-opensymbol.yaml | 4 ++-- font-takao.yaml | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/font-opensymbol.yaml b/font-opensymbol.yaml index b92d92a4163..cca214f9099 100644 --- a/font-opensymbol.yaml +++ b/font-opensymbol.yaml @@ -9,9 +9,9 @@ package: environment: contents: packages: + - binutils - busybox - curl - - binutils pipeline: - uses: fetch @@ -23,7 +23,7 @@ pipeline: - runs: | ar x fonts-opensymbol_${{package.version}}+LibO7.4.7-1+deb12u8_all.deb tar -xf data.tar.xz - + mkdir -p "${{targets.contextdir}}/etc/fonts/conf.d" mv ./etc/fonts/conf.d "${{targets.contextdir}}/etc/fonts/conf.d" diff --git a/font-takao.yaml b/font-takao.yaml index 45a8864621b..5838d4d31a5 100644 --- a/font-takao.yaml +++ b/font-takao.yaml @@ -10,8 +10,8 @@ environment: contents: packages: - busybox - - python3 - py3-pip + - python3 # seems to miss the P variants, as it doesnt build them by repo pipeline: @@ -20,7 +20,6 @@ pipeline: repository: https://github.com/hidekatsu-izuno/takaoka-fonts tag: v${{package.version}} expected-commit: 806b09b684deaeb6dba667670f965e7d27391a52 - - runs: | pip install -r requirements.txt python build.py From 3882f9a2ab63e6fb77ec3e26e5aae7aa32d399a6 Mon Sep 17 00:00:00 2001 From: Anushka Mittal Date: Tue, 8 Jul 2025 14:54:08 +0000 Subject: [PATCH 6/8] refactor Signed-off-by: Anushka Mittal --- font-stix-otf.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/font-stix-otf.yaml b/font-stix-otf.yaml index 7bf67ed2dee..5306e409209 100644 --- a/font-stix-otf.yaml +++ b/font-stix-otf.yaml @@ -15,15 +15,14 @@ environment: pipeline: - uses: git-checkout with: - repository: https://github.com/stipub/stixfonts.git + repository: https://github.com/stipub/stixfonts tag: v${{package.version}} - expected-commit: 806b09b684deaeb6dba667670f965e7d27391a52 - destination: archive/STIXv1.1.0/Fonts + expected-commit: de537a95240e0105546bed58e15b4a61be28cd89 - runs: | - unzip -o STIXv${{package.version}}-word.zip + cd ./archive/STIXv1.1.0 mkdir -p "${{targets.contextdir}}/usr/share/fonts/opentype/stix" - mv ./Fonts/STIX-General/*.otf "${{targets.contextdir}}/usr/share/fonts/opentype/stix-word/" + mv ./Fonts/STIX-General/*.otf "${{targets.contextdir}}/usr/share/fonts/opentype/stix/" mkdir -p "${{targets.contextdir}}/usr/share/fonts/opentype/stix-word" mv ./Fonts/STIX-Word/*.otf "${{targets.contextdir}}/usr/share/fonts/opentype/stix-word/" From 7ad40e79b673d59c564101c08942a5d8569fb2a0 Mon Sep 17 00:00:00 2001 From: Anushka Mittal Date: Wed, 9 Jul 2025 09:01:32 +0000 Subject: [PATCH 7/8] refactor stix-otf Signed-off-by: Anushka Mittal --- font-stix-otf.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/font-stix-otf.yaml b/font-stix-otf.yaml index 5306e409209..f785106baca 100644 --- a/font-stix-otf.yaml +++ b/font-stix-otf.yaml @@ -12,17 +12,15 @@ environment: - build-base - busybox +# not the latest 2.0.2; but is the requested version pipeline: - uses: git-checkout with: repository: https://github.com/stipub/stixfonts tag: v${{package.version}} expected-commit: de537a95240e0105546bed58e15b4a61be28cd89 - - runs: | - cd ./archive/STIXv1.1.0 - mkdir -p "${{targets.contextdir}}/usr/share/fonts/opentype/stix" - mv ./Fonts/STIX-General/*.otf "${{targets.contextdir}}/usr/share/fonts/opentype/stix/" + cd ./archive/STIXv1.1.1 mkdir -p "${{targets.contextdir}}/usr/share/fonts/opentype/stix-word" mv ./Fonts/STIX-Word/*.otf "${{targets.contextdir}}/usr/share/fonts/opentype/stix-word/" From f3fdbfbeb91f34465046d92b69e371236ac08a1b Mon Sep 17 00:00:00 2001 From: Anushka Mittal Date: Wed, 9 Jul 2025 09:19:03 +0000 Subject: [PATCH 8/8] remove stix-otf Signed-off-by: Anushka Mittal --- font-stix-otf.yaml | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 font-stix-otf.yaml diff --git a/font-stix-otf.yaml b/font-stix-otf.yaml deleted file mode 100644 index f785106baca..00000000000 --- a/font-stix-otf.yaml +++ /dev/null @@ -1,32 +0,0 @@ -package: - name: font-stix-otf - version: 2.14 - epoch: 0 - description: telugu fonts - copyright: - - license: OFL-1.1 - -environment: - contents: - packages: - - build-base - - busybox - -# not the latest 2.0.2; but is the requested version -pipeline: - - uses: git-checkout - with: - repository: https://github.com/stipub/stixfonts - tag: v${{package.version}} - expected-commit: de537a95240e0105546bed58e15b4a61be28cd89 - - runs: | - cd ./archive/STIXv1.1.1 - mkdir -p "${{targets.contextdir}}/usr/share/fonts/opentype/stix-word" - mv ./Fonts/STIX-Word/*.otf "${{targets.contextdir}}/usr/share/fonts/opentype/stix-word/" - -update: - enabled: false - -test: - pipeline: - - uses: test/fonts