pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/fonts/fontconfig Just in case, fontconfig is built bef...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c6ce626e334b
branches:  trunk
changeset: 463112:c6ce626e334b
user:      reed <reed%pkgsrc.org@localhost>
date:      Wed Oct 29 05:45:15 2003 +0000

description:
Just in case, fontconfig is built before X fonts are installed,
have some defaults for fonts.conf (/usr/X11R6/lib/X11/fonts/TTF
and /usr/X11R6/lib/X11/fonts/Type1).

I didn't bump PKGREVISION, because in many cases this will be the
same as if it configure figured it out.

I also considered adding TrueType and freefont, but they aren't
included with default XFree86 installation. Also, I didn't include
other font directories, because fontconfig's directory says it's
for outline fonts (.pf*, .tt* and .ot*) and to use local.conf or
~/.fonts.conf for bitmap fonts.

This closes PR #22927 where fontconfig's fc-cache has missing
directories causing font information caches to not be built (using
defaults).

diffstat:

 fonts/fontconfig/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r b88c6affe9a8 -r c6ce626e334b fonts/fontconfig/Makefile
--- a/fonts/fontconfig/Makefile Wed Oct 29 00:45:13 2003 +0000
+++ b/fonts/fontconfig/Makefile Wed Oct 29 05:45:15 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2003/10/11 13:40:19 grant Exp $
+# $NetBSD: Makefile,v 1.18 2003/10/29 05:45:15 reed Exp $
 #
 
 DISTNAME=      fontconfig-2.2.1
@@ -32,6 +32,7 @@
 CONFIGURE_ARGS+=       --with-expat-lib=${BUILDLINK_PREFIX.expat}/lib
 CONFIGURE_ARGS+=       --with-confdir=${PKG_SYSCONFDIR}
 CONFIGURE_ARGS+=       --with-x
+CONFIGURE_ARGS+=       --with-add-fonts=${X11PREFIX}/lib/X11/fonts/TTF,${X11PREFIX}/lib/X11/fonts/Type1
 
 EGDIR=         ${PREFIX}/share/examples/fontconfig
 CONF_FILES=    ${EGDIR}/fonts.conf ${PKG_SYSCONFDIR}/fonts.conf



Home | Main Index | Thread Index | Old Index