-
Notifications
You must be signed in to change notification settings - Fork 284
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12887 from developer-guy/feat/gotenborg-fonts
fonts
- Loading branch information
Showing
4 changed files
with
173 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
package: | ||
name: font-linux-libertine | ||
version: 5.3.0 | ||
epoch: 0 | ||
description: Serif (Libertine) and Sans Serif (Biolinum) OpenType fonts with large Unicode coverage | ||
copyright: | ||
- license: GPL-2.0-or-later WITH Font-exception-2.0 AND OFL-1.0 | ||
|
||
environment: | ||
contents: | ||
packages: | ||
- autoconf | ||
- automake | ||
- build-base | ||
- busybox | ||
- ca-certificates-bundle | ||
- encodings | ||
- fontconfig | ||
- mkfontscale | ||
|
||
pipeline: | ||
- uses: fetch | ||
with: | ||
expected-sha256: 24a593a949808d976850131a953c0c0d7a72299531dfbb348191964cc038d75d | ||
uri: https://downloads.sourceforge.net/project/linuxlibertine/linuxlibertine/${{package.version}}/LinLibertineTTF_${{package.version}}_2012_07_02.tgz | ||
|
||
- runs: | | ||
tar xvf LinLibertineTTF_${{package.version}}_2012_07_02.tgz | ||
pkgname=${{package.name}} | ||
ls -latr | ||
mkdir -p "${{targets.destdir}}"/usr/share/fonts/${pkgname#font-} | ||
install -Dm644 *.ttf -t "${{targets.destdir}}"/usr/share/fonts/${pkgname#font-} | ||
# couldn't find it in release-monitoring.org | ||
update: | ||
enabled: true | ||
release-monitor: | ||
identifier: 1826 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
package: | ||
name: font-noto-cjk | ||
# This project doesn't do releases and everything is commit based. | ||
# This corresponds to commit 523d033d6cb47f4a80c58a35753646f5c3608a78 | ||
version: 0.0_git20220127 | ||
epoch: 0 | ||
description: Google's font family that aims to support all the world's languages (cjk) | ||
copyright: | ||
- license: OFL-1.1 | ||
|
||
environment: | ||
contents: | ||
packages: | ||
- autoconf | ||
- automake | ||
- build-base | ||
- busybox | ||
- ca-certificates-bundle | ||
- fontconfig | ||
- git | ||
- xz | ||
|
||
pipeline: | ||
- uses: git-checkout | ||
with: | ||
expected-commit: 523d033d6cb47f4a80c58a35753646f5c3608a78 | ||
repository: https://github.com/notofonts/noto-cjk | ||
tag: Sans2.004 | ||
|
||
- runs: | | ||
mkdir -p "${{targets.destdir}}"/usr/share/fonts/noto | ||
cp ./*/OTC/*.ttc . | ||
for font in NotoSansCJK-Bold.ttc \ | ||
NotoSansCJK-Regular.ttc \ | ||
NotoSerifCJK-Bold.ttc \ | ||
NotoSerifCJK-Regular.ttc | ||
do | ||
install -Dm644 ./$font \ | ||
-t "${{targets.destdir}}"/usr/share/fonts/noto/ | ||
done | ||
# they use a different versioning scheme | ||
update: | ||
enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
package: | ||
name: msttcorefonts-installer | ||
version: 3.8.1 | ||
epoch: 0 | ||
description: Installer for Microsoft TrueType core fonts | ||
copyright: | ||
- license: GPL-2.0-or-later | ||
dependencies: | ||
runtime: | ||
- wget | ||
|
||
environment: | ||
contents: | ||
packages: | ||
- autoconf | ||
- automake | ||
- build-base | ||
- busybox | ||
- ca-certificates-bundle | ||
- cabextract | ||
- wget | ||
|
||
pipeline: | ||
- uses: fetch | ||
with: | ||
expected-sha256: 211f86e82b56cf87461da4bb21136b096a57ae70ed9bcb6eb27f34c407295bf3 | ||
uri: http://ftp.debian.org/debian/pool/contrib/m/msttcorefonts/msttcorefonts_${{package.version}}.tar.xz | ||
|
||
- uses: patch | ||
with: | ||
patches: remove-debian-stuff.patch | ||
|
||
- runs: | | ||
mkdir -p "${{targets.destdir}}"/usr/bin | ||
mkdir -p "${{targets.destdir}}"/usr/lib/${{package.name}} | ||
mkdir -p "${{targets.destdir}}"/usr/share/fonts/truetype/msttcorefonts | ||
install -m755 -D update-ms-fonts "${{targets.destdir}}"/usr/bin/update-ms-fonts | ||
install -m644 -D cabfiles.sha256sums \ | ||
"${{targets.destdir}}"/var/lib/msttcorefonts/cabfiles.sha256sums | ||
update: | ||
enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
From 64ae7397450876ab95d5713bbd2393630e4928f5 Mon Sep 17 00:00:00 2001 | ||
From: Leonardo Arena <[email protected]> | ||
Date: Tue, 4 Jan 2022 12:01:39 +0000 | ||
Subject: [PATCH] remove debian stuff | ||
|
||
--- | ||
update-ms-fonts | 12 +----------- | ||
1 file changed, 1 insertion(+), 11 deletions(-) | ||
|
||
diff --git a/update-ms-fonts b/update-ms-fonts | ||
index 89d95c3..c726c57 100755 | ||
--- a/update-ms-fonts | ||
+++ b/update-ms-fonts | ||
@@ -34,7 +34,7 @@ export http_proxy | ||
mstt_exit_with_error() { | ||
echo "$1" >&2 | ||
echo "The fonts are NOT installed." >&2 | ||
- echo "Please run 'dpkg-reconfigure ttf-mscorefonts-installer' to perform the installation again" >&2 | ||
+ echo "Please run 'update-ms-fonts' to perform the installation again" >&2 | ||
exit 1 | ||
} | ||
|
||
@@ -188,11 +188,6 @@ EOF | ||
# Give sane names. These are nearly the same names MS uses for the | ||
# Macintosh versions | ||
|
||
- mkdir -p /usr/share/doc/ttf-mscorefonts-installer $FONTDIR | ||
- if [ -e licen.txt ] ; then | ||
- mv licen.txt '/usr/share/doc/ttf-mscorefonts-installer/READ_ME!' | ||
- gzip -f -9 '/usr/share/doc/ttf-mscorefonts-installer/READ_ME!' | ||
- fi | ||
for ff in $FONTFILES; do | ||
for ttf in `grep $ff msfonts.info | awk '{print $4}'`; do | ||
longname=`awk "/$ttf/ { print \\$2 }" msfonts.info` | ||
@@ -201,11 +196,6 @@ EOF | ||
done | ||
done | ||
|
||
- # Make a note of what we installed so we can uninstall it later | ||
- awk '{print $2}' msfonts.info > /var/lib/msttcorefonts/ms-fonts | ||
- awk '{print $4}' msfonts.info >> /var/lib/msttcorefonts/ms-fonts | ||
- | ||
- dpkg-trigger --no-await /usr/share/fonts | ||
fi | ||
|
||
cd / | ||
-- | ||
2.34.1 |