pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/fonts/fontconfig



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Jun 22 19:26:14 UTC 2026

Modified Files:
        pkgsrc/fonts/fontconfig: Makefile PLIST distinfo
Added Files:
        pkgsrc/fonts/fontconfig/patches: patch-src_fccompat.c

Log Message:
fontconfig: update to 2.18.1.

2.18.1

Akira TAGOH (11):
      ci: Fix wrong short options for glab
      Fix not matching with a font family name
      test-conf: Add a feature to load a certain config for testing
      test: Add comprehensive documentation for test-conf JSON format
      Fix another font matching issue
      Do not set 'sans-serif' for default genericfamily
      test: use const instead of number for genericfamily
      meson: force enabling HAVE_C99_VSNPRINTF
      Disable invalid attribute warning by default
      ci: Add .abidiff for suppression
      Workaround :-prefixed filename used in Qt

Jan Alexander Steffens (heftig) (1):
      meson: Only install 05-macos.conf on darwin

Marcus Spencer (1):
      Fix a null pointer dereference when computing a pattern from an FT_Face that has no family

2.18

Akira TAGOH (79):
      ci: Add Fedora 42 and drop 40
      ci: Add FreeBSD 14.2 and drop 14.1
      ci: Update ci-tamplates
      ci: Add Alpine Linux
      ci: Fix a typo
      ci: make sure build.sh is running on bash
      ci: Use venv to avoid externally-managed-environment error on Alpine
      ci: Add extra setup hook
      ci: install test fonts for Alpine
      test: Fix a build issue with musl libc
      fc-lang: Add suz.orth for Sunuwar
      test: add common helper class
      test: port basic functionality check to Python
      test: update to pass test cases on Win32
      do not mix up a slash and a backslash in file object on Win32
      meson: Add a missing fontconfig architecture test case
      Add fontconfig version in FcCache
      Improve a warning message
      Better error message when missing default config
      ci: install before test to avoid fontconfig error
      Fix regex to pick up libtool version
      Improve performance in FcConfigAdd
      Improve log header in FcConfigSubstituteWithPat
      meson: Update WrapDB files for v2 format migration
      ci: add an option for the address sanitizer
      Fix "UBSAN null pointer passed" to qsort
      ci: Enable ASAN and UBSAN
      Add genericfamily object in FcPattern
      Add xsi:nil attribute support to limited elements
      Get out from FcConfigAdd immediately if no valid pointer given
      Bump the cache version again
      fc-case: Update CaseFolding.txt to Unicode 17
      ci: Update git repo for subproject build
      ci: Add a test case for static build on Win32
      Add obvious namespace to macros for FC_SPACING
      Improve handling of constant name
      test: fix pytest error when running on the top project directory
      meson: Update wrapdb for expat to the latest
      Use FcStrCopy instead of strdup
      Fix -Wpointer-sign warnings
      Do not store duplicate object name into FcObjectSet
      Fix unused variable warning when iconv support disabled
      doc: Fix a typo in FcPatternAdd description
      Add fc-genconf the configuration generator tool
      test-conf: Correct test results to display at the proper place
      Fix unexpected priority change when looking up by specific family name
      Return error code if FcPatternFormat failed
      Add const converter for pattern format
      fc-genconf: Add scan pattern to update genericfamily with commandline option
      Fix dereferencing a null pointer of FcConfig in FcFontSetSort
      conf.d: Fix a typo in 65-khmer.conf
      Update doc for xsi:nil attribute support
      test: add more conditional for bwrap sandbox test cases
      meson: add tests-bwrap option
      Avoid locale-dependent float-to-string
      ci: enable json-c for MinGW
      test-conf: add wrapper setenv for Win32
      ci: Use 14.3 CI image for FreeBSD
      Fix invalid memory access on Win32
      More fixes for locale-dependent float-to-string conversion
      Replace strtod() with FcStrtod()
      ci: Fix warnings from shellcheck
      ci: workaround for the ownership change issue on extracting tar
      ci: Fix a typo
      ci: simplify scriptlet
      ci: Hold the version of meson at 1.10.1 temporarily
      ci: Enable the debugging build by default
      ci: Do not store the build log at the source dir
      Explicitly declare FcPatternObjectCount as a public function
      ci: Add API/ABI checker in CI
      ci: Fix 'refusing to fetch into branch' error
      Update meson dependency to 1.11.0
      ci: Update Fedora Image to 44 and 43
      ci: Disable pipelines for macOS and VS on Windows
      Revert "ci: Disable pipelines for macOS and VS on Windows"
      ci: Replace shell scripts with portable Python build system
      ci: Add MSYS2 build pipeline
      ci: Use CI_PROJECT_DIR instead of hardcode path
      ci: fix argument error in abicheck.sh

Albert Lee (1):
      Define __EXTENSIONS__ on illumos/Solaris to access strdup()

Changwoo Ryu (1):
      Update default Korean fonts

Daniel Tang (1):
      Remove unused global variable default_langs

Dominik Röttsches (15):
      Fix rustc warning for mismatching referred lifetimes
      [Fontations] Fix use-after-free in handling exclusive lang
      Fix memory leak after path canonicalization in e42188283f0ee
      [Fontations] Remaining fix for UaF
      Architecture-dependent hex formatting of int64_t in fccache.c
      [Fontations] Don't leak PatternElement values
      Roll Fontations Crates
      [Fontations] Match FreeType for two types of broken fonts
      [Fontations] Fix compilation under -D unsafe-op-in-unsafe-fn
      Move FreeType-related API to fcfreetype.h header
      Minimal preparations for FreeType-less build
      Follow-up for preparation for FreeType-less build
      Roll Fontations and libc crates
      Update Mac OS image to upstream gStreamer image
      Roll Fontations crates

Florian "sp1rit"​ (1):
      build: Added missing target rule-dependencies

Florian Mayer (1):
      Use uintptr_t to represent pointers

Gabriele Barbero (1):
      macOS: use selectfont globs for font asset directories

Kleis Auke Wolthuizen (1):
      meson: Don't dllexport when built as static library on Win32

Rudi Heitbaum (1):
      Do not cast as const as the variable is being modified

Steve Lhomme (1):
      detect mkostemp with stdlib.h

Werner Lemberg (1):
      doc: Fix two typos

correctmost (1):
      Fix -Wnewline-eof warning with fcconst.h


To generate a diff of this commit:
cvs rdiff -u -r1.137 -r1.138 pkgsrc/fonts/fontconfig/Makefile
cvs rdiff -u -r1.36 -r1.37 pkgsrc/fonts/fontconfig/PLIST
cvs rdiff -u -r1.77 -r1.78 pkgsrc/fonts/fontconfig/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/fonts/fontconfig/patches/patch-src_fccompat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/fonts/fontconfig/Makefile
diff -u pkgsrc/fonts/fontconfig/Makefile:1.137 pkgsrc/fonts/fontconfig/Makefile:1.138
--- pkgsrc/fonts/fontconfig/Makefile:1.137      Thu Oct 16 02:43:56 2025
+++ pkgsrc/fonts/fontconfig/Makefile    Mon Jun 22 19:26:13 2026
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.137 2025/10/16 02:43:56 maya Exp $
+# $NetBSD: Makefile,v 1.138 2026/06/22 19:26:13 wiz Exp $
 
-DISTNAME=      fontconfig-2.17.1
-PKGREVISION=   1
+DISTNAME=      fontconfig-2.18.1
 CATEGORIES=    fonts
 MASTER_SITES=  https://gitlab.freedesktop.org/api/v4/projects/890/packages/generic/fontconfig/${PKGVERSION_NOREV}/
 EXTRACT_SUFX=  .tar.xz

Index: pkgsrc/fonts/fontconfig/PLIST
diff -u pkgsrc/fonts/fontconfig/PLIST:1.36 pkgsrc/fonts/fontconfig/PLIST:1.37
--- pkgsrc/fonts/fontconfig/PLIST:1.36  Sun Aug 10 13:58:34 2025
+++ pkgsrc/fonts/fontconfig/PLIST       Mon Jun 22 19:26:13 2026
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.36 2025/08/10 13:58:34 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.37 2026/06/22 19:26:13 wiz Exp $
 bin/fc-cache
 bin/fc-cat
 bin/fc-conflist
+bin/fc-genconf
 bin/fc-list
 bin/fc-match
 bin/fc-pattern
@@ -13,7 +14,7 @@ include/fontconfig/fcprivate.h
 include/fontconfig/fontconfig.h
 lib/libfontconfig.so
 lib/libfontconfig.so.1
-lib/libfontconfig.so.1.16.0
+lib/libfontconfig.so.1.17.0
 lib/pkgconfig/fontconfig.pc
 share/examples/fontconfig/conf.d/README
 share/examples/fontconfig/fonts.conf

Index: pkgsrc/fonts/fontconfig/distinfo
diff -u pkgsrc/fonts/fontconfig/distinfo:1.77 pkgsrc/fonts/fontconfig/distinfo:1.78
--- pkgsrc/fonts/fontconfig/distinfo:1.77       Sun Aug 10 13:58:35 2025
+++ pkgsrc/fonts/fontconfig/distinfo    Mon Jun 22 19:26:13 2026
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.77 2025/08/10 13:58:35 ryoon Exp $
+$NetBSD: distinfo,v 1.78 2026/06/22 19:26:13 wiz Exp $
 
-BLAKE2s (fontconfig-2.17.1.tar.xz) = 628b35de56b1f861d4b6a372bf0a2e91bcdaa72498336fc286f482dc9b45de3b
-SHA512 (fontconfig-2.17.1.tar.xz) = c09c1f041f61ee0d220ff906a86b5c4b329106dc96f8c04b23f8fdeb480df626717fe3613bccb41cb39e86334078139322710377f5ddaa3abe48569e798161c9
-Size (fontconfig-2.17.1.tar.xz) = 1326312 bytes
+BLAKE2s (fontconfig-2.18.1.tar.xz) = b396cd1d1a5bd037e3a6d6bb05917d76b26950fea8f2d47ed6aa35bda97ef81c
+SHA512 (fontconfig-2.18.1.tar.xz) = 5d637a030625fa5b55399a2711b4dd48949429caae4b80503655bc7bd12b9a58cc278b520660845c9e93dcac4631ad5c36bf97793ac1af1b8f3131e7bd22077c
+Size (fontconfig-2.18.1.tar.xz) = 1358564 bytes
 SHA1 (patch-aa) = 8fec573ffd4bcc976681cae51a4ead1647e521e8
 SHA1 (patch-ac) = 869f7b831dde13626df5a25cf6ed74f5c64ffce4
 SHA1 (patch-af) = 542245860fd4f5374a8935f41a757b2ae960633d
@@ -11,6 +11,7 @@ SHA1 (patch-configure) = 7926460361da8ed
 SHA1 (patch-meson.build) = 12c848996a2e08aebcc89d155f36168666269dcc
 SHA1 (patch-scandir.c) = e35f4c005f635dd0d8bb949cd32aa34f5e314200
 SHA1 (patch-src_fccharset.c) = a292088633030a67627cc73db501c504bc4ffd94
+SHA1 (patch-src_fccompat.c) = 7d33ab0c3e740ae183cadb07c90920cc11caf149
 SHA1 (patch-src_fcftint.h) = 28086bf5f6a1d397512699d7dc61b3716c971c89
 SHA1 (patch-src_fcint.h) = 2f7062dad03431fdf820f7bc61cdd767789d2caa
 SHA1 (patch-src_fcstat.c) = bbd650ce6f6a777393acb4fa33f211c2189e1f7d

Added files:

Index: pkgsrc/fonts/fontconfig/patches/patch-src_fccompat.c
diff -u /dev/null pkgsrc/fonts/fontconfig/patches/patch-src_fccompat.c:1.1
--- /dev/null   Mon Jun 22 19:26:14 2026
+++ pkgsrc/fonts/fontconfig/patches/patch-src_fccompat.c        Mon Jun 22 19:26:14 2026
@@ -0,0 +1,19 @@
+$NetBSD: patch-src_fccompat.c,v 1.1 2026/06/22 19:26:14 wiz Exp $
+
+NetBSD doesn't have uselocale.
+https://gitlab.freedesktop.org/fontconfig/fontconfig/-/work_items/543
+
+--- src/fccompat.c.orig        2026-06-22 19:21:13.540675219 +0000
++++ src/fccompat.c
+@@ -375,7 +375,11 @@ FcLocaleSetCurrent (FcLocale loc)
+ FcLocale
+ FcLocaleSetCurrent (FcLocale loc)
+ {
++#ifdef __NetBSD__
++    return NULL;
++#else
+     return uselocale (loc);
++#endif
+ }
+ #endif
+ 



Home | Main Index | Thread Index | Old Index