Subject: fontconfig remove MESSAGE and update
To: None <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 07/15/2005 22:18:09
May I remove the fontconfig/MESSAGE? It sure does not seem like it really 
needed. It is only a suggestion to possibly speed up sopme application 
startups. The library will build caches for individuals as needed. Or 
maybe someone can suggest an alternative wording for MESSAGE.

There is a manpage for fc-cache(1) -- but it is in SGML. I will ask the 
developer to provide it in nroff man format also.

Also, I had old fontconfig-2.2.96 on a NetBSD and Linux system which 

And now a new fontconfig-2.3.2 also provides same version:

I see this is defined with configure


I think something may have been missed and I asked developer about this.

Also the following is update to new version. The changelog is at

Note in the Makefile I remove gnome from CATEGORIES.

Also, I redo the added font paths because ${LOCALBASE}/lib/X11/fonts is 
already default as configured above, so don't need to add again. And don't 
need to list sub-directories of "fonts" because fontconfig already looks 
in sub-directories too. I have been using this over a year on various 
systems like this.

cvs diff: Diffing fonts/fontconfig
Index: fonts/fontconfig/Makefile
RCS file: /cvsroot/pkgsrc/fonts/fontconfig/Makefile,v
retrieving revision 1.43
diff -b -u -r1.43 Makefile
--- fonts/fontconfig/Makefile	7 Jun 2005 19:38:52 -0000	1.43
+++ fonts/fontconfig/Makefile	16 Jul 2005 05:13:54 -0000
@@ -1,9 +1,8 @@
  # $NetBSD: Makefile,v 1.43 2005/06/07 19:38:52 jlam Exp $

-DISTNAME=	fontconfig-2.3.1
-CATEGORIES=	fonts gnome
+DISTNAME=	fontconfig-2.3.2

@@ -36,9 +35,11 @@

  .include "../../mk/"

-FONT_PATH=	${X11PREFIX}/lib/X11/fonts/TTF,${X11PREFIX}/lib/X11/fonts/Type1
-.if ${X11PREFIX} != ${X11BASE}
-FONT_PATH2=	,${X11BASE}/lib/X11/fonts,${X11BASE}/lib/X11/fonts/TTF,${X11BASE}/lib/X11/fonts/Type1
+.if defined($X11PREFIX) && (${LOCALBASE} != {$X11PREFIX})
+FONT_PATH=	${X11PREFIX}/lib/X11/fonts
+.if (${X11PREFIX} != ${X11BASE})
+FONT_PATH2=	,${X11BASE}/lib/X11/fonts
  CONFIGURE_ARGS+=	--with-add-fonts=${FONT_PATH}${FONT_PATH2}

Index: fonts/fontconfig/distinfo
RCS file: /cvsroot/pkgsrc/fonts/fontconfig/distinfo,v
retrieving revision 1.13
diff -b -u -r1.13 distinfo
--- fonts/fontconfig/distinfo	22 Mar 2005 14:05:54 -0000	1.13
+++ fonts/fontconfig/distinfo	16 Jul 2005 05:13:54 -0000
@@ -1,7 +1,7 @@
  $NetBSD: distinfo,v 1.13 2005/03/22 14:05:54 wiz Exp $

-SHA1 (fontconfig-2.3.1.tar.gz) = f429ee221a2e6cb76eda4b85c07c853990a93d94
-RMD160 (fontconfig-2.3.1.tar.gz) = 93bf6234958dc9ec7488e1e622f9d97450976af3
-Size (fontconfig-2.3.1.tar.gz) = 962724 bytes
+SHA1 (fontconfig-2.3.2.tar.gz) = 8ec60da668618383b539db9d70b8e320bd7dd031
+RMD160 (fontconfig-2.3.2.tar.gz) = 42668475cca88f265a3b12c289eea2ff61ddaa2b
+Size (fontconfig-2.3.2.tar.gz) = 964045 bytes
  SHA1 (patch-aa) = 4f39b7726c11cc9d91fba0c840f26404702c0353
  SHA1 (patch-ac) = df8b145c38476e5caa1f4636be4eb56654bd11d0
cvs diff: Diffing fonts/fontconfig/patches

  Jeremy C. Reed

p.s. When doing print-PLIST I saw the etc files. I need to check to see 
why print-PLIST saw them for me.

rainier:/usr/pkgsrc/fonts/fontconfig$ make show-var VARNAME=_PRINT_PLIST_AWK_IGNORE
($0 ~ /emul\/linux\/proc/) || ($0 ~ /^info\/dir$/) || ($0 ~ /^share\/info\/dir$/)