From 92cc07a58dc49a251b11e1de9f0f346ce96a896d Mon Sep 17 00:00:00 2001 From: xJayMorex Date: Thu, 30 Apr 2026 09:54:58 +0200 Subject: [PATCH] fontconfig: update to 2.17.1. --- .../patches/fix-noto-download-error.patch | 26 +++++++++++++++++++ srcpkgs/fontconfig/template | 8 +++--- 2 files changed, 30 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/fontconfig/patches/fix-noto-download-error.patch diff --git a/srcpkgs/fontconfig/patches/fix-noto-download-error.patch b/srcpkgs/fontconfig/patches/fix-noto-download-error.patch new file mode 100644 index 00000000000..efc1434fdea --- /dev/null +++ b/srcpkgs/fontconfig/patches/fix-noto-download-error.patch @@ -0,0 +1,26 @@ +Test is failing because of relying on downloading noto.zip which now gives HTTP 403 error. +Don't rely on google for anything. +diff --git a/test/run-test.sh b/test/run-test.sh +index 9b3c91c8..7aa9d273 100644 +--- a/test/run-test.sh ++++ b/test/run-test.sh +@@ -521,18 +521,7 @@ rm -rf "$MYCACHEBASEDIR" "$MYCONFIG" "$BUILDTESTDIR"/my-fonts.conf "$BUILDTESTDI + + fi # if [ "x$EXEEXT" = "x" ] + +-if [ -x "$BUILDTESTDIR"/test-crbug1004254 ]; then +- dotest "MT-safe global config" +- prep +- curl -s -o "$FONTDIR"/noto.zip https://noto-website-2.storage.googleapis.com/pkgs/NotoSans-hinted.zip +- (cd "$FONTDIR"; unzip noto.zip) +- if [ -n "${SOURCE_DATE_EPOCH:-}" ] && [ ${#SOURCE_DATE_EPOCH} -gt 0 ]; then +- touch -m -t "$(fdate ${SOURCE_DATE_EPOCH})" "$FONTDIR" +- fi +- "$BUILDTESTDIR"/test-crbug1004254 +-else +- echo "No test-crbug1004254: skipped" +-fi ++echo "No test-crbug1004254: skipped" + + if [ "x$EXEEXT" = "x" ]; then + diff --git a/srcpkgs/fontconfig/template b/srcpkgs/fontconfig/template index 2042176ccac..bef12e5d6bc 100644 --- a/srcpkgs/fontconfig/template +++ b/srcpkgs/fontconfig/template @@ -1,7 +1,7 @@ # Template file for 'fontconfig' pkgname=fontconfig -version=2.16.0 -revision=3 +version=2.17.1 +revision=1 build_style=gnu-configure configure_args="--enable-static --enable-docs --with-cache-dir=/var/cache/${pkgname}" hostmakedepends="gperf pkg-config python3" @@ -12,8 +12,8 @@ short_desc="Library for configuring and customizing font access" maintainer="Orphaned " license="MIT" homepage="http://www.fontconfig.org" -distfiles="${FREEDESKTOP_SITE}/fontconfig/release/fontconfig-${version}.tar.xz" -checksum=6a33dc555cc9ba8b10caf7695878ef134eeb36d0af366041f639b1da9b6ed220 +distfiles="https://gitlab.freedesktop.org/api/v4/projects/890/packages/generic/fontconfig/${version}/fontconfig-${version}.tar.xz" +checksum=9f5cae93f4fffc1fbc05ae99cdfc708cd60dfd6612ffc0512827025c026fa541 post_install() { if [ "$CROSS_BUILD" ]; then