Source-Changes-HG archive

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

[src/trunk]: src updates for fontconfig 2.14.



details:   https://anonhg.NetBSD.org/src/rev/879d787db093
branches:  trunk
changeset: 373110:879d787db093
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Jan 19 06:29:10 2023 +0000

description:
updates for fontconfig 2.14.

diffstat:

 distrib/sets/lists/xetc/mi                               |   8 +++++-
 external/mit/xorg/lib/fontconfig/etc/conf.avail/Makefile |   6 ++++-
 external/mit/xorg/lib/fontconfig/etc/conf.d/Makefile     |   6 ++--
 external/mit/xorg/lib/fontconfig/etc/fonts.conf          |  20 ++++++++++++---
 external/mit/xorg/lib/fontconfig/src/Makefile            |  12 +++++++--
 external/mit/xorg/tools/fc-cache/Makefile                |   6 +++-
 6 files changed, 44 insertions(+), 14 deletions(-)

diffs (220 lines):

diff -r 2cac9204ae35 -r 879d787db093 distrib/sets/lists/xetc/mi
--- a/distrib/sets/lists/xetc/mi        Thu Jan 19 05:31:34 2023 +0000
+++ b/distrib/sets/lists/xetc/mi        Thu Jan 19 06:29:10 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.40 2021/01/09 02:40:44 uki Exp $
+# $NetBSD: mi,v 1.41 2023/01/19 06:29:10 mrg Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -25,6 +25,8 @@
 ./etc/X11/xinit/xinitrc                                        xetc-xinit-etc  xorg
 ./etc/X11/xsm/system.xsm                               xetc-xfm-etc    xorg
 ./etc/drirc                                            xetc-dri-etc    xorg
+./etc/fonts/conf.avail/05-reset-dirs-sample.conf       xetc-fontconfig-etc     xorg
+./etc/fonts/conf.avail/09-autohint-if-no-hinting.conf  xetc-fontconfig-etc     xorg
 ./etc/fonts/conf.avail/10-autohint.conf                        xetc-fontconfig-etc     xorg
 ./etc/fonts/conf.avail/10-hinting-full.conf            xetc-fontconfig-etc     xorg
 ./etc/fonts/conf.avail/10-hinting-medium.conf          xetc-fontconfig-etc     xorg
@@ -45,9 +47,11 @@
 ./etc/fonts/conf.avail/25-unhint-nonlatin.conf         xetc-fontconfig-etc     xorg
 ./etc/fonts/conf.avail/30-metric-aliases.conf          xetc-fontconfig-etc     xorg
 ./etc/fonts/conf.avail/30-urw-aliases.conf             xetc-obsolete   obsolete
+./etc/fonts/conf.avail/35-lang-normalize.conf          xetc-fontconfig-etc     xorg
 ./etc/fonts/conf.avail/40-nonlatin.conf                        xetc-fontconfig-etc     xorg
 ./etc/fonts/conf.avail/45-generic.conf                 xetc-fontconfig-etc     xorg
 ./etc/fonts/conf.avail/45-latin.conf                   xetc-fontconfig-etc     xorg
+./etc/fonts/conf.avail/48-spacing.conf                 xetc-fontconfig-etc     xorg
 ./etc/fonts/conf.avail/49-sansserif.conf               xetc-fontconfig-etc     xorg
 ./etc/fonts/conf.avail/50-user.conf                    xetc-fontconfig-etc     xorg
 ./etc/fonts/conf.avail/51-local.conf                   xetc-fontconfig-etc     xorg
@@ -64,6 +68,7 @@
 ./etc/fonts/conf.avail/90-synthetic.conf               xetc-fontconfig-etc     xorg
 ./etc/fonts/conf.d/10-hinting-slight.conf              xetc-fontconfig-etc     xorg
 ./etc/fonts/conf.d/10-scale-bitmap-fonts.conf          xetc-fontconfig-etc     xorg
+./etc/fonts/conf.d/11-lcdfilter-default.conf           xetc-fontconfig-etc     xorg
 ./etc/fonts/conf.d/20-fix-globaladvance.conf           xetc-obsolete   obsolete
 ./etc/fonts/conf.d/20-unhint-small-vera.conf           xetc-fontconfig-etc     xorg
 ./etc/fonts/conf.d/30-metric-aliases.conf              xetc-fontconfig-etc     xorg
@@ -71,6 +76,7 @@
 ./etc/fonts/conf.d/40-nonlatin.conf                    xetc-fontconfig-etc     xorg
 ./etc/fonts/conf.d/45-generic.conf                     xetc-fontconfig-etc     xorg
 ./etc/fonts/conf.d/45-latin.conf                       xetc-fontconfig-etc     xorg
+./etc/fonts/conf.d/48-spacing.conf                     xetc-fontconfig-etc     xorg
 ./etc/fonts/conf.d/49-sansserif.conf                   xetc-fontconfig-etc     xorg
 ./etc/fonts/conf.d/50-user.conf                                xetc-fontconfig-etc     xorg
 ./etc/fonts/conf.d/51-local.conf                       xetc-fontconfig-etc     xorg
diff -r 2cac9204ae35 -r 879d787db093 external/mit/xorg/lib/fontconfig/etc/conf.avail/Makefile
--- a/external/mit/xorg/lib/fontconfig/etc/conf.avail/Makefile  Thu Jan 19 05:31:34 2023 +0000
+++ b/external/mit/xorg/lib/fontconfig/etc/conf.avail/Makefile  Thu Jan 19 06:29:10 2023 +0000
@@ -1,9 +1,11 @@
-#      $NetBSD: Makefile,v 1.8 2020/10/10 09:17:33 nia Exp $
+#      $NetBSD: Makefile,v 1.9 2023/01/19 06:29:10 mrg Exp $
 
 .include <bsd.own.mk>
 
 .PATH: . ${X11SRCDIR.fontconfig}/conf.d
 CONFIGFILES= \
+       05-reset-dirs-sample.conf \
+       09-autohint-if-no-hinting.conf \
        10-autohint.conf \
        10-hinting-full.conf \
        10-hinting-medium.conf \
@@ -22,9 +24,11 @@
        20-unhint-small-vera.conf \
        25-unhint-nonlatin.conf \
        30-metric-aliases.conf \
+       35-lang-normalize.conf \
        40-nonlatin.conf \
        45-generic.conf \
        45-latin.conf \
+       48-spacing.conf \
        49-sansserif.conf \
        50-user.conf \
        51-local.conf \
diff -r 2cac9204ae35 -r 879d787db093 external/mit/xorg/lib/fontconfig/etc/conf.d/Makefile
--- a/external/mit/xorg/lib/fontconfig/etc/conf.d/Makefile      Thu Jan 19 05:31:34 2023 +0000
+++ b/external/mit/xorg/lib/fontconfig/etc/conf.d/Makefile      Thu Jan 19 06:29:10 2023 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.8 2020/10/10 09:17:33 nia Exp $
+#      $NetBSD: Makefile,v 1.9 2023/01/19 06:29:10 mrg Exp $
 
 .include <bsd.own.mk>
 
@@ -6,11 +6,13 @@
 FONTCONFIG_LINKS= \
        10-hinting-slight.conf \
        10-scale-bitmap-fonts.conf \
+       11-lcdfilter-default.conf \
        20-unhint-small-vera.conf \
        30-metric-aliases.conf \
        40-nonlatin.conf \
        45-generic.conf \
        45-latin.conf \
+       48-spacing.conf \
        49-sansserif.conf \
        50-user.conf \
        51-local.conf \
@@ -32,5 +34,3 @@
 
 .include <bsd.x11.mk>
 .include <bsd.prog.mk>
-
-# obsolete 30-urw-aliases.conf 
diff -r 2cac9204ae35 -r 879d787db093 external/mit/xorg/lib/fontconfig/etc/fonts.conf
--- a/external/mit/xorg/lib/fontconfig/etc/fonts.conf   Thu Jan 19 05:31:34 2023 +0000
+++ b/external/mit/xorg/lib/fontconfig/etc/fonts.conf   Thu Jan 19 06:29:10 2023 +0000
@@ -1,7 +1,8 @@
 <?xml version="1.0"?>
-<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
 <!-- /etc/fonts/fonts.conf file to configure system font access -->
 <fontconfig>
+       <description>Default configuration file</description>
 
 <!--
        DO NOT EDIT THIS FILE.
@@ -11,8 +12,8 @@
        The intent of this standard configuration file is to be adequate for
        most environments.  If you have a reasonably normal environment and
        have found problems with this configuration, they are probably
-       things that others will also want fixed.  Please submit any
-       problems to the fontconfig bugzilla system located at fontconfig.org
+       things that others will also want fixed.  Please submit any problems
+       to the fontconfig issue tracking system located at fontconfig.org
 
        Note that the normal 'make install' procedure for fontconfig is to
        replace any existing fonts.conf file with the new version.  Place
@@ -64,11 +65,22 @@
                        <string>sans-serif</string>
                </edit>
        </match>
+<!--
+  Accept alternate 'system ui' spelling, replacing it with 'system-ui'
+-->
+       <match target="pattern">
+               <test qual="any" name="family">
+                       <string>system ui</string>
+               </test>
+               <edit name="family" mode="assign" binding="same">
+                       <string>system-ui</string>
+               </edit>
+       </match>
 
 <!--
   Load local system customization file
 -->
-       <include ignore_missing="yes">conf.d</include>
+       <include ignore_missing="yes">/etc/fonts/conf.d</include>
 
 <!-- Font cache directory list -->
 
diff -r 2cac9204ae35 -r 879d787db093 external/mit/xorg/lib/fontconfig/src/Makefile
--- a/external/mit/xorg/lib/fontconfig/src/Makefile     Thu Jan 19 05:31:34 2023 +0000
+++ b/external/mit/xorg/lib/fontconfig/src/Makefile     Thu Jan 19 06:29:10 2023 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.25 2019/03/24 10:39:45 kre Exp $
+#      $NetBSD: Makefile,v 1.26 2023/01/19 06:29:10 mrg Exp $
 
 .include <bsd.own.mk>
 
@@ -267,9 +267,10 @@
 
 CPPFLAGS+=     -DHAVE_CONFIG_H
 CPPFLAGS+=     -DFONTCONFIG_PATH='"${FONTCONFIG_PATH}"' \
-               -DFC_DEFAULT_FONTS='"${X11FONTDIR}"' \
+               -DFC_DEFAULT_FONTS='"<dir>${X11FONTDIR}</dir>"' \
                -DFC_TEMPLATEDIR='"${X11FONTDIR}"' \
                -DFC_CACHEDIR='"/var/cache/fontconfig"' \
+               -DCONFIGDIR='"${FONTCONFIG_PATH}/conf.d"' \
                -DHAVE_FT_BITMAP_SIZE_Y_PPEM \
                -DHAVE_FT_GET_BDF_PROPERTY \
                -DHAVE_FT_GET_NEXT_CHAR \
@@ -277,7 +278,9 @@
                -DHAVE_FT_GET_X11_FONT_FORMAT \
                -DHAVE_FT_HAS_PS_GLYPH_NAMES \
                -DHAVE_EXPAT -DXFREE86_FT2 -DHAVE_INTTYPES_H \
-               -DHAVE_STDINT_H -DHAVE_RANDOM
+               -DHAVE_STDINT_H -DHAVE_RANDOM \
+               -DHAVE_STRUCT_STAT_ST_MTIM \
+               -DHAVE_FT_DONE_MM_VAR
 
 CPPFLAGS+=     ${X11FLAGS.THREADLIB}
 CPPFLAGS+=     -I${DESTDIR}${X11INCDIR}/freetype2 \
@@ -288,6 +291,9 @@
                -I. \
                -I${X11SRCDIR.${LIB}}
 
+CPPFLAGS.fccache.c+=   -Wno-error=discarded-qualifiers
+CPPFLAGS.fccfg.c+=     -Wno-error=discarded-qualifiers
+
 .include "Makefile.fcarch"
 
 CLEANFILES+= fcarch.h
diff -r 2cac9204ae35 -r 879d787db093 external/mit/xorg/tools/fc-cache/Makefile
--- a/external/mit/xorg/tools/fc-cache/Makefile Thu Jan 19 05:31:34 2023 +0000
+++ b/external/mit/xorg/tools/fc-cache/Makefile Thu Jan 19 06:29:10 2023 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.19 2022/02/24 06:34:32 martin Exp $
+#      $NetBSD: Makefile,v 1.20 2023/01/19 06:29:10 mrg Exp $
 
 .include <bsd.hostinit.mk>
 
@@ -94,6 +94,7 @@
                -DFC_DEFAULT_FONTS='"${X11FONTDIR}/Type1"' \
                -DFC_TEMPLATEDIR='"${DESTDIR}${X11FONTDIR}"' \
                -DFC_CACHEDIR='"${DESTDIR}/var/cache/fontconfig"' \
+               -DCONFIGDIR='"${DESTDIR}/etc/fonts/conf.d"' \
                -DFC_GPERF_SIZE_T=unsigned \
                -DFC_NO_MT=1 \
                -DALIGNOF_VOID_P=8 \
@@ -110,7 +111,8 @@
                -DHAVE_SYS_TYPES_H -DHAVE_FCNTL_H -DHAVE_SYS_STAT_H \
                -DHAVE_MKSTEMP \
                -DHAVE_SCANDIR \
-               -DFLEXIBLE_ARRAY_MEMBER="/**/"
+               -DFLEXIBLE_ARRAY_MEMBER="/**/" \
+               -DHAVE_DIRENT_H -DHAVE_UNISTD_H
 HOST_CPPFLAGS+=        -DFT_CONFIG_OPTION_DISABLE_BZIP2
 HOST_CPPFLAGS+=        -I${FONTCONFIG} -I${FREETYPE} \
                -I${FREETYPE}/include -I${FREETYPE}/include/freetype \



Home | Main Index | Thread Index | Old Index