git: 39ea316ffb83 - main - x11-fonts/fontconfig: Update to 2.18.3

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sat, 10 Oct 2026 09:09:08 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=39ea316ffb8394be382e36270c4c395103c8693e

commit 39ea316ffb8394be382e36270c4c395103c8693e
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2026-10-10 09:05:41 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2026-10-10 09:07:45 +0000

    x11-fonts/fontconfig: Update to 2.18.3
    
    Changelog:
    https://gitlab.freedesktop.org/fontconfig/fontconfig/-/releases/2.18.3
    
    PR:             296146
    Reviewed by:    desktop (arrowd)
    Exp-run by:     antoine
---
 x11-fonts/fontconfig/Makefile  | 15 ++++++++++-----
 x11-fonts/fontconfig/distinfo  |  6 +++---
 x11-fonts/fontconfig/pkg-plist | 10 +++++++++-
 3 files changed, 22 insertions(+), 9 deletions(-)

diff --git a/x11-fonts/fontconfig/Makefile b/x11-fonts/fontconfig/Makefile
index ce816a40bf89..a0eb8b25d12d 100644
--- a/x11-fonts/fontconfig/Makefile
+++ b/x11-fonts/fontconfig/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	fontconfig
-DISTVERSION=	2.17.1
+DISTVERSION=	2.18.3
 PORTEPOCH=	1
 CATEGORIES=	x11-fonts
 MASTER_SITES=	https://gitlab.freedesktop.org/api/v4/projects/890/packages/generic/${PORTNAME}/${DISTVERSION}/
@@ -19,14 +19,19 @@ USES=		cpe gperf meson pkgconfig python:build shebangfix tar:xz \
 CPE_VENDOR=	fontconfig_project
 USE_LDCONFIG=	yes
 
-SHEBANG_FILES=	conf.d/link_confs.py \
+SHEBANG_FILES=	build-aux/meson-dist-docs.py \
+		build-aux/meson-dist-autotools.py \
+		conf.d/link_confs.py \
 		conf.d/write-35-lang-normalize-conf.py \
 		fc-case/fc-case.py \
+		fc-const/fc-const.py \
+		fc-genericfamily/fc-genericfamily.py \
 		fc-lang/fc-lang.py \
 		src/cutout.py \
 		src/makealias.py \
-		test/run-test-map.sh \
-		test/run-test.sh
+		test/test_issue547.py \
+		test/test_issue431.py \
+		test/test_fontations_ft_query.py
 
 TEST_TARGET=	test
 
@@ -69,7 +74,7 @@ NLS_MESON_ENABLED=	nls
 
 TEST_TEST_DEPENDS=	bash:shells/bash
 TEST_MESON_ENABLED=	tests
-TESTING_UNSAFE=		Requires network access for fetching fonts
+TEST_MESON_ARGS=	-Dtests-external-fonts=disabled
 
 post-install:
 	${INSTALL_MAN} ${WRKSRC}/fc-*/*.1 ${STAGEDIR}${PREFIX}/share/man/man1
diff --git a/x11-fonts/fontconfig/distinfo b/x11-fonts/fontconfig/distinfo
index 82f2ffd81b83..3b5b70e966eb 100644
--- a/x11-fonts/fontconfig/distinfo
+++ b/x11-fonts/fontconfig/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1763905186
-SHA256 (fontconfig-2.17.1.tar.xz) = 9f5cae93f4fffc1fbc05ae99cdfc708cd60dfd6612ffc0512827025c026fa541
-SIZE (fontconfig-2.17.1.tar.xz) = 1326312
+TIMESTAMP = 1791102969
+SHA256 (fontconfig-2.18.3.tar.xz) = 4f7b554a38cdf78c033f666c8871f3749e14a094f65a07f630c91ed0b43d35e3
+SIZE (fontconfig-2.18.3.tar.xz) = 1172016
diff --git a/x11-fonts/fontconfig/pkg-plist b/x11-fonts/fontconfig/pkg-plist
index 98f64c4c6ef7..3334b887d3be 100644
--- a/x11-fonts/fontconfig/pkg-plist
+++ b/x11-fonts/fontconfig/pkg-plist
@@ -1,6 +1,7 @@
 bin/fc-cache
 bin/fc-cat
 bin/fc-conflist
+bin/fc-genconf
 bin/fc-list
 bin/fc-match
 bin/fc-pattern
@@ -61,6 +62,7 @@ etc/fonts/conf.d/30-metric-aliases.conf
 etc/fonts/conf.d/40-nonlatin.conf
 etc/fonts/conf.d/45-generic.conf
 etc/fonts/conf.d/45-latin.conf
+etc/fonts/conf.d/48-guessfamily.conf
 etc/fonts/conf.d/48-spacing.conf
 etc/fonts/conf.d/49-sansserif.conf
 etc/fonts/conf.d/50-user.conf
@@ -83,11 +85,12 @@ include/fontconfig/fontconfig.h
 lib/libfontconfig.a
 lib/libfontconfig.so
 lib/libfontconfig.so.1
-lib/libfontconfig.so.1.16.0
+lib/libfontconfig.so.1.17.0
 libdata/pkgconfig/fontconfig.pc
 share/man/man1/fc-cache.1.gz
 share/man/man1/fc-cat.1.gz
 share/man/man1/fc-conflist.1.gz
+share/man/man1/fc-genconf.1.gz
 share/man/man1/fc-list.1.gz
 share/man/man1/fc-match.1.gz
 share/man/man1/fc-pattern.1.gz
@@ -131,6 +134,7 @@ share/man/man3/FcCharSetNextPage.3.gz
 share/man/man3/FcCharSetSubtract.3.gz
 share/man/man3/FcCharSetSubtractCount.3.gz
 share/man/man3/FcCharSetUnion.3.gz
+share/man/man3/FcConfigAcceptFilename.3.gz
 share/man/man3/FcConfigAcceptFilter.3.gz
 share/man/man3/FcConfigAcceptFont.3.gz
 share/man/man3/FcConfigAppFontAddDir.3.gz
@@ -140,6 +144,7 @@ share/man/man3/FcConfigBuildFonts.3.gz
 share/man/man3/FcConfigCreate.3.gz
 share/man/man3/FcConfigDestroy.3.gz
 share/man/man3/FcConfigEnableHome.3.gz
+share/man/man3/FcConfigFileGenerate.3.gz
 share/man/man3/FcConfigFileInfoIterGet.3.gz
 share/man/man3/FcConfigFileInfoIterInit.3.gz
 share/man/man3/FcConfigFileInfoIterNext.3.gz
@@ -156,6 +161,7 @@ share/man/man3/FcConfigGetFontDirs.3.gz
 share/man/man3/FcConfigGetFonts.3.gz
 share/man/man3/FcConfigGetRescanInterval.3.gz
 share/man/man3/FcConfigGetSysRoot.3.gz
+share/man/man3/FcConfigGetWarningFlags.3.gz
 share/man/man3/FcConfigHome.3.gz
 share/man/man3/FcConfigParseAndLoad.3.gz
 share/man/man3/FcConfigParseAndLoadFromMemory.3.gz
@@ -166,6 +172,7 @@ share/man/man3/FcConfigSetDefaultSubstitute.3.gz
 share/man/man3/FcConfigSetFontSetFilter.3.gz
 share/man/man3/FcConfigSetRescanInterval.3.gz
 share/man/man3/FcConfigSetSysRoot.3.gz
+share/man/man3/FcConfigSetWarningFlags.3.gz
 share/man/man3/FcConfigSubstitute.3.gz
 share/man/man3/FcConfigSubstituteWithPat.3.gz
 share/man/man3/FcConfigUptoDate.3.gz
@@ -239,6 +246,7 @@ share/man/man3/FcMatrixShear.3.gz
 share/man/man3/FcNameConstant.3.gz
 share/man/man3/FcNameGetConstant.3.gz
 share/man/man3/FcNameGetConstantFor.3.gz
+share/man/man3/FcNameGetConstantNameFrom.3.gz
 share/man/man3/FcNameGetObjectType.3.gz
 share/man/man3/FcNameParse.3.gz
 share/man/man3/FcNameRegisterConstants.3.gz