head	1.2;
access;
symbols
	pkgsrc-2026Q3:1.1.0.10
	pkgsrc-2026Q3-base:1.1
	pkgsrc-2026Q2:1.1.0.8
	pkgsrc-2026Q2-base:1.1
	pkgsrc-2026Q1:1.1.0.6
	pkgsrc-2026Q1-base:1.1
	pkgsrc-2025Q4:1.1.0.4
	pkgsrc-2025Q4-base:1.1
	pkgsrc-2025Q3:1.1.0.2
	pkgsrc-2025Q3-base:1.1;
locks; strict;
comment	@# @;


1.2
date	2026.11.17.16.58.52;	author wiz;	state Exp;
branches;
next	1.1;
commitid	tGttuRgaok9OSP3H;

1.1
date	2025.08.10.13.58.35;	author ryoon;	state Exp;
branches
	1.1.10.1;
next	;
commitid	Oc4WCZhLpOBRNb6G;

1.1.10.1
date	2026.11.19.19.50.51;	author maya;	state Exp;
branches;
next	;
commitid	rkI45fROqv63M64H;


desc
@@


1.2
log
@fontconfig: fix rpath in pkg-config file

This was modifying the file used by the automake build system,
but the package is using the meson one.

Remove outdated comment about gperf.

Add some comments to patches while here.

Bump PKGREVISION for pkg-config file fix.
@
text
@$NetBSD: patch-meson.build,v 1.1 2025/08/10 13:58:35 ryoon Exp $

Adapt to pkgsrc paths.

--- meson.build.orig	2025-04-02 14:51:30.122923578 +0000
+++ meson.build
@@@@ -529,7 +529,7 @@@@ configure_file(output: 'config.h', confi
 configure_file(output: 'fonts.conf',
                input: 'fonts.conf.in',
                configuration: fonts_conf,
-               install_dir: fc_baseconfigdir,
+               install_dir: '@@PREFIX@@/share/examples/fontconfig',
                install: true,
                install_tag: 'runtime')
 
@


1.1
log
@fonts/fontconfig: Update to 2.17.1

* Use meson as build tool to avoid build failure in fccase.h handling.
* Disable doc generation completely. It requires docbook2man and docbook2html tool.
  They are not packaged yet.

Changelog:
2.17.1:
added (1 change)

    meson: Add 'noinstall' to default-hinting, default-sub-pixel-rendering, bitmap-conf build options (merge request)

fixed (1 change)

    Fix a heap buffer overflow (merge request)


2.17.0:

fixed (13 changes)

    Avoid conflict between dgettext macro and declaration in fcint.h (merge request)
    fix: Skip empty entries in XDG_DATA_DIRS parsing by @@ComixHe (merge request)
    Fix padding with "und" in pattern elements (merge request)
    Fix a crash with broken cache (merge request)
    meson: Fix additional-fonts-dirs build option that not taking effect (merge request)
    Add default font paths for Android in configure script (merge request)
    Fix use-after-free in FcConfigGetPrgname (merge request)
    conf.d: Add a conf to guess a generic-family for substitution (merge request)
    Drop FcObjectFini() from FcFini() to fix memory leaks (merge request)
    conf.d/65-nonlatin.conf: Rename Lohit Oriya to Lohit Odia (merge request)
    Make sure that the debugging facilities are initialized at loading config phase (merge request)
    meson: don't force installation of a static library by @@xry111 (merge request)
    meson: don't try to call run_command for gperf on --wrap-mode=forcefallback (merge request)

changed (10 changes)

    Do not fallback decoding with UTF-16BE if no iconv support (merge request)
    Trim trailing newline in string in cache (merge request)
    Parse foundry from OS/2 for table version 0 (merge request)
    Allow dotfiles to scan for caching (merge request)
    Increase a reference count for default FcConfig instance with FcInit() (merge request)
    Free the mutex object only when there are no references to the default FcConfig instance (merge request)
    Free the mutex object only when all cache objects isn't referenced (merge request)
    Drop the configuration path migration code (merge request)
    Drop FcDefaultFini() from FcFini() to fix memory leaks (merge request)
    [Fontations] Process and append font capabilities to Pattern (merge request)

added (6 changes)

    Add bitmap-conf build option to choose default bitmap conf (merge request)
    [Fontations] Enable fc-query indexing through Fontations (merge request)
    Add FcConfigPerferAppFont() to allow changing the order of application fonts (merge request)
    [Fontations] Pattern Bindings for CharSet and LangSet (merge request)
    Add FcPatternObjectGet* impl for CharSet and LangSet (merge request)
    [Fontations] Factor out fcpat.c - add Fontations dependencies (merge request)

performance (1 change)

    Improve performance of FcPtrListIterInitAtLast (merge request)


2.16.2:

changed (1 change)

    meson: Use Requires.private instead of Requires (merge request)

fixed (2 changes)

    meson: don't force build of a shared library by @@kasper93 (merge request)
    meson: do not require libintl if nls feature is disabled (merge request)

added (1 change)

    [Fontations] Add internal PatternBuilder abstraction (merge request)


2.16.1:
Not available.
@
text
@d1 3
a3 1
$NetBSD$
@


1.1.10.1
log
@Pullup ticket #7394 - requested by taca
fonts/fontconfig: Security fix

Revisions pulled up:
- fonts/fontconfig/Makefile                                     1.145-1.148
- fonts/fontconfig/distinfo                                     1.84-1.85
- fonts/fontconfig/files/70-no-bitmap-webfonts.conf             1.3
- fonts/fontconfig/patches/patch-conf.d_README.in               1.2
- fonts/fontconfig/patches/patch-meson.build                    1.2
- fonts/fontconfig/patches/patch-test_test-migration.c          1.5

---
   Module Name:	pkgsrc
   Committed By:	nia
   Date:		Wed Nov 11 10:00:07 UTC 2026

   Modified Files:
   	pkgsrc/fonts/fontconfig: Makefile
   	pkgsrc/fonts/fontconfig/files: 70-no-bitmap-webfonts.conf

   Log Message:
   fontconfig: Sync the list of blacklisted bitmap web fonts with NetBSD.

   Adds "New Century Schoolbook", a standard X11 font whose bitmap version=

   is selected for e.g. https://www.lua.org/pil/20.html

   PR xsrc/60991

---
   Module Name:	pkgsrc
   Committed By:	nia
   Date:		Wed Nov 11 10:36:38 UTC 2026

   Modified Files:
   	pkgsrc/fonts/fontconfig: Makefile

   Log Message:
   fontconfig: Set the default hinting type to slight.

   Looks better on most modern displays and matches NetBSD base. Other
   vendors also seem to default to this.

   Vaguely related to PR xsrc/60991

---
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Tue Nov 17 16:58:52 UTC 2026

   Modified Files:
   	pkgsrc/fonts/fontconfig: Makefile distinfo
   	pkgsrc/fonts/fontconfig/patches: patch-conf.d_README.in
   	    patch-meson.build patch-test_test-migration.c

   Log Message:
   fontconfig: fix rpath in pkg-config file

   This was modifying the file used by the automake build system,
   but the package is using the meson one.

   Remove outdated comment about gperf.

   Add some comments to patches while here.

   Bump PKGREVISION for pkg-config file fix.

---
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Wed Nov 18 22:32:07 UTC 2026

   Modified Files:
   	pkgsrc/fonts/fontconfig: Makefile distinfo

   Log Message:
   fontconfig: update to 2.18.4.

   Security fix release.

   2.18.4

   Akira TAGOH (5):
         Guard against mixing plain strings and triples in an FcStrSet
         Fix uninitialized read from GNU stderror_r variant
         Harden allocation-failure handling flagged by an OpenScanHub audi=
   t
         Fix crash on odd-addreessed pattern strings
         Fix out-of-bounds access in FcCharSetMerge when merging page 0xff=
   ff

   Dominik R=F6ttsches (3):
         Fix arbitrary free in cache validation
         Add regression tests for cache value type validation
         Validate cache value types against their object

   Jeremy Huddleston Sequoia (2):
         Do not dereference a NULL glob string
         Do not strip a current directory prefix off an absolute glob

   Thomas Anderson (1):
         Validate unserializable types and value bounds in FcCacheOffsetsV=
   alid

   Tom Anderson (2):
         Fix race during FcConfig initialization
         Don't use the family table for non-string test values
@
text
@a2 2
Adapt to pkgsrc paths.

@


