Hello, This patch updates unifont to the latest version. Also fixes TTF font packaging.
-- Kind Regards, Wael Karram.
From b6e90018b04a5b330a4c07750f0ca0fcd34df0db Mon Sep 17 00:00:00 2001 From: wael <[email protected]> Date: Mon, 18 Aug 2025 15:40:37 +0300 Subject: [PATCH] Update Unifont, 16.0.04 --- pcr/unifont/PKGBUILD | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/pcr/unifont/PKGBUILD b/pcr/unifont/PKGBUILD index 87de85462..92d89654f 100644 --- a/pcr/unifont/PKGBUILD +++ b/pcr/unifont/PKGBUILD @@ -1,3 +1,4 @@ + # Maintainer: Wael Karram <[email protected]> # Contributor: bill-auger <[email protected]> # bdf-unifont: @@ -41,30 +42,35 @@ pkgname=('bdf-unifont' 'otf-unifont' 'pcf-unifont' 'psf-unifont' -# 'ttf-unifont' # v15.1.04 fails to build + 'ttf-unifont' 'unifont-utils') pkgbase=unifont -pkgver=15.1.05 +pkgver=16.0.04 pkgrel=1 pkgdesc="A free bitmap font with wide Unicode support (PCF, PSF and hex versions)" arch=('any') # arch=('armv7h' 'i686' 'x86_64') # for librestage (see NOTE above) url="http://unifoundry.com/" license=('GPL' 'custom:OFL') +makedepends=('fontforge') source=("http://unifoundry.com/pub/unifont/unifont-$pkgver/unifont-$pkgver.tar.gz"{,.sig}) -sha256sums=('d275f55f4358750e0f86305b92e87b88eb330aa46c15f553d2edf047fb1c23fa' +sha256sums=('2bd4e4679757126f48e1bf2c1be40b09aa92162bfedda4683ce5fbc70a2a5972' 'SKIP') validpgpkeys=('95D2E9AB8740D8046387FD151A09227B1F435A33') # Paul Hardy <[email protected]> build() { cd "${srcdir}"/${pkgbase}-${pkgver} - local variation - for variation in bold italic bolditalic; do - "mk$variation" "unifont-$pkgver.bdf" | gzip -c >"unifont-$variation-$pkgver.bdf.gz" - done +# local variation +# for variation in bold italic bolditalic; do +# "mk$variation" "unifont-$pkgver.bdf" | gzip -c >"unifont-$variation-$pkgver.bdf.gz" +# done make +# make hex + cd font + make && make clean + make -j4 truetype } package_bdf-unifont () { @@ -146,12 +152,12 @@ package_ttf-unifont() { pkgdesc="A free bitmap font with wide Unicode support (TTF version)" # Install the font. - cd "$srcdir/unifont-$pkgver/font/precompiled" + cd "$srcdir/unifont-$pkgver" install -d "$pkgdir/usr/share/fonts/Unifont/" - install -m644 "unifont-$pkgver.ttf" "$pkgdir/usr/share/fonts/Unifont/Unifont.ttf" - install -m644 "unifont_jp-$pkgver.ttf" "$pkgdir/usr/share/fonts/Unifont/Unifont_jp.ttf" - install -m644 "unifont_upper-$pkgver.ttf" "$pkgdir/usr/share/fonts/Unifont/Unifont_Upper.ttf" - install -m644 "unifont_csur-$pkgver.ttf" "$pkgdir/usr/share/fonts/Unifont/Unifont_CSUR.ttf" + install -Dm644 "font/compiled/unifont-$pkgver.ttf" "$pkgdir/usr/share/fonts/Unifont/Unifont.ttf" + install -Dm644 "font/compiled/unifont_jp-$pkgver.ttf" "$pkgdir/usr/share/fonts/Unifont/Unifont_jp.ttf" + install -Dm644 "font/compiled/unifont_upper-$pkgver.ttf" "$pkgdir/usr/share/fonts/Unifont/Unifont_Upper.ttf" + install -Dm644 "font/compiled/unifont_csur-$pkgver.ttf" "$pkgdir/usr/share/fonts/Unifont/Unifont_CSUR.ttf" # Install the license. cd "$srcdir/unifont-$pkgver" install -Dm644 OFL-1.1.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -- 2.50.1
pgpcmqx6ygs4y.pgp
Description: OpenPGP digital signature
_______________________________________________ Dev mailing list [email protected] https://lists.parabola.nu/mailman/listinfo/dev
