aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclassabbyamp <void@placeviolette.net>2025-02-23 03:32:52 +0000
committerclassabbyamp <5366828+classabbyamp@users.noreply.github.com>2025-02-23 14:32:15 +0000
commit4fb53733f27d829627bef954622cf966eef91083 (patch)
treeb2b2f2cd978e93fa5464742db93b3555c6b237be
parent8124fc15049535eaf0d04968c71b9adf7d7e4749 (diff)
downloadvoid-packages-4fb53733f27d829627bef954622cf966eef91083.tar
void-packages-4fb53733f27d829627bef954622cf966eef91083.tar.gz
void-packages-4fb53733f27d829627bef954622cf966eef91083.tar.bz2
void-packages-4fb53733f27d829627bef954622cf966eef91083.tar.lz
void-packages-4fb53733f27d829627bef954622cf966eef91083.tar.xz
void-packages-4fb53733f27d829627bef954622cf966eef91083.tar.zst
void-packages-4fb53733f27d829627bef954622cf966eef91083.zip
fontconfig: fix 70-no-bitmaps for deprecation
70-no-bitmaps now includes 70-no-bitmaps-except-emoji, but this only works if 70-no-bitmaps-except-emoji is already in conf.d (not just conf.avail). This fixes regressions some users have been reporting with bitmap fonts showing up again since the latest update.
-rw-r--r--srcpkgs/fontconfig/template5
1 files changed, 4 insertions, 1 deletions
diff --git a/srcpkgs/fontconfig/template b/srcpkgs/fontconfig/template
index ebadebb0abc..4cfb6ae33ee 100644
--- a/srcpkgs/fontconfig/template
+++ b/srcpkgs/fontconfig/template
@@ -1,7 +1,7 @@
# Template file for 'fontconfig'
pkgname=fontconfig
version=2.16.0
-revision=1
+revision=2
build_style=gnu-configure
configure_args="--enable-static --enable-docs --with-cache-dir=/var/cache/${pkgname}"
hostmakedepends="gperf pkg-config python3"
@@ -20,6 +20,9 @@ post_install() {
vsed -i 's,\(Cflags: -I${includedir}\).*,\1,g' ${DESTDIR}/usr/lib/pkgconfig/fontconfig.pc
fi
vlicense COPYING
+ # deprecated upstream, but is broken unless 70-no-bitmaps-except-emoji exists in conf.d
+ rm "$DESTDIR"/usr/share/fontconfig/conf.avail/70-no-bitmaps.conf
+ ln -s 70-no-bitmaps-except-emoji.conf "$DESTDIR"/usr/share/fontconfig/conf.avail/70-no-bitmaps.conf
}
fontconfig-devel_package() {