diff options
author | jmmv <jmmv@pkgsrc.org> | 2002-12-11 20:12:45 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2002-12-11 20:12:45 +0000 |
commit | ea5923806db524d22646019e42950b544edcc520 (patch) | |
tree | 33495d913084b7584b268cb60e47f7365125ec8e /fonts/fontconfig | |
parent | bec22f3a2023ef91fe80cd1970eb3c49495ced82 (diff) | |
download | pkgsrc-ea5923806db524d22646019e42950b544edcc520.tar.gz |
Initial import of fontconfig, version 2.1. Description follows:
Fontconfig is a library for configuring and customizing font access.
Fontconfig can:
* discover new fonts when installed automatically, removing a common
source of configuration problems.
* perform font name substitution, so that appropriate alternative fonts
can be selected if fonts are missing.
* identify the set of fonts required to completely cover a set of
languages.
* have GUI configuration tools built as it uses an XML-based
configuration file (though with autodiscovery, we believe this need is
minimized).
* efficiently and quickly find the fonts you need among the set of fonts
you have installed, even if you have installed thousands of fonts,
while minimzing memory usage.
* be used in concert with the X Render Extension and FreeType to
implement high quality, anti-aliased and subpixel rendered text on a
display.
Fontconfig does not:
* render the fonts themselves (this is left to FreeType or other
rendering mechanisms).
* depend on the X Window System in any fashion, so that printer only
applications do not have such dependencies.
Approved by wiz.
Diffstat (limited to 'fonts/fontconfig')
-rw-r--r-- | fonts/fontconfig/DESCR | 24 | ||||
-rw-r--r-- | fonts/fontconfig/Makefile | 37 | ||||
-rw-r--r-- | fonts/fontconfig/PLIST | 15 | ||||
-rw-r--r-- | fonts/fontconfig/buildlink2.mk | 30 | ||||
-rw-r--r-- | fonts/fontconfig/distinfo | 9 | ||||
-rw-r--r-- | fonts/fontconfig/patches/patch-aa | 14 | ||||
-rw-r--r-- | fonts/fontconfig/patches/patch-ab | 13 | ||||
-rw-r--r-- | fonts/fontconfig/patches/patch-ac | 13 | ||||
-rw-r--r-- | fonts/fontconfig/patches/patch-ad | 13 | ||||
-rw-r--r-- | fonts/fontconfig/patches/patch-ae | 13 |
10 files changed, 181 insertions, 0 deletions
diff --git a/fonts/fontconfig/DESCR b/fonts/fontconfig/DESCR new file mode 100644 index 00000000000..3134f2c25db --- /dev/null +++ b/fonts/fontconfig/DESCR @@ -0,0 +1,24 @@ +Fontconfig is a library for configuring and customizing font access. + +Fontconfig can: +* discover new fonts when installed automatically, removing a common + source of configuration problems. +* perform font name substitution, so that appropriate alternative fonts + can be selected if fonts are missing. +* identify the set of fonts required to completely cover a set of + languages. +* have GUI configuration tools built as it uses an XML-based + configuration file (though with autodiscovery, we believe this need is + minimized). +* efficiently and quickly find the fonts you need among the set of fonts + you have installed, even if you have installed thousands of fonts, + while minimzing memory usage. +* be used in concert with the X Render Extension and FreeType to + implement high quality, anti-aliased and subpixel rendered text on a + display. + +Fontconfig does not: +* render the fonts themselves (this is left to FreeType or other + rendering mechanisms). +* depend on the X Window System in any fashion, so that printer only + applications do not have such dependencies. diff --git a/fonts/fontconfig/Makefile b/fonts/fontconfig/Makefile new file mode 100644 index 00000000000..38612c1beb6 --- /dev/null +++ b/fonts/fontconfig/Makefile @@ -0,0 +1,37 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/12/11 20:12:45 jmmv Exp $ +# + +DISTNAME= fcpackage.2_1 +PKGNAME= fontconfig-2.1 +CATEGORIES= fonts gnome +MASTER_SITES= http://fontconfig.org/release/ + +MAINTAINER= jmmv@netbsd.org +HOMEPAGE= http://fontconfig.org/ +COMMENT= Library for configuring and customizing font access + +GNU_CONFIGURE= YES +USE_BUILDLINK2= YES +USE_GMAKE= YES +USE_X11= YES + +PKG_SYSCONFSUBDIR= fontconfig + +CONFIGURE_ARGS+= --with-default-fonts=${LOCALBASE}/lib/X11/fonts +CONFIGURE_ARGS+= --with-freetype-includes=${BUILDLINK_PREFIX.freetype2}/include/freetype2 +CONFIGURE_ARGS+= --with-freetype-lib=${BUILDLINK_PREFIX.freetype2}/lib +CONFIGURE_ARGS+= --with-expat-includes=${BUILDLINK_PREFIX.expat}/include +CONFIGURE_ARGS+= --with-expat-lib=${BUILDLINK_PREFIX.expat}/lib +CONFIGURE_ARGS+= --with-confdir=${PKG_SYSCONFDIR} +CONFIGURE_ARGS+= --with-x + +EGDIR= ${PREFIX}/share/examples/fontconfig +CONF_FILES= ${EGDIR}/fonts.conf ${PKG_SYSCONFDIR}/fonts.conf +CONF_FILES+= ${EGDIR}/fonts.dtd ${PKG_SYSCONFDIR}/fonts.dtd + +WRKSRC= ${WRKDIR}/${DISTNAME}/fontconfig + +.include "../../graphics/freetype2/buildlink2.mk" +.include "../../textproc/expat/buildlink2.mk" +.include "../../mk/bsd.pkg.install.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/fonts/fontconfig/PLIST b/fonts/fontconfig/PLIST new file mode 100644 index 00000000000..ccfd5605770 --- /dev/null +++ b/fonts/fontconfig/PLIST @@ -0,0 +1,15 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/12/11 20:12:45 jmmv Exp $ +bin/fc-cache +bin/fc-list +bin/fontconfig-config +include/fontconfig/fcfreetype.h +include/fontconfig/fcprivate.h +include/fontconfig/fontconfig.h +lib/libfontconfig.so +lib/libfontconfig.so.1 +lib/libfontconfig.so.1.0 +lib/pkgconfig/fontconfig.pc +share/examples/fontconfig/fonts.conf +share/examples/fontconfig/fonts.dtd +@dirrm share/examples/fontconfig +@dirrm include/fontconfig diff --git a/fonts/fontconfig/buildlink2.mk b/fonts/fontconfig/buildlink2.mk new file mode 100644 index 00000000000..159f89c87d7 --- /dev/null +++ b/fonts/fontconfig/buildlink2.mk @@ -0,0 +1,30 @@ +# $NetBSD: buildlink2.mk,v 1.1.1.1 2002/12/11 20:12:45 jmmv Exp $ +# +# This Makefile fragment is included by packages that use fontconfig. +# +# This file was created automatically using createbuildlink 2.2. +# + +.if !defined(FONTCONFIG_BUILDLINK2_MK) +FONTCONFIG_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= fontconfig +BUILDLINK_DEPENDS.fontconfig?= fontconfig>=2.1 +BUILDLINK_PKGSRCDIR.fontconfig?= ../../fonts/fontconfig + +EVAL_PREFIX+= BUILDLINK_PREFIX.fontconfig=fontconfig +BUILDLINK_PREFIX.fontconfig_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.fontconfig+= include/fontconfig/fcfreetype.h +BUILDLINK_FILES.fontconfig+= include/fontconfig/fcprivate.h +BUILDLINK_FILES.fontconfig+= include/fontconfig/fontconfig.h +BUILDLINK_FILES.fontconfig+= lib/libfontconfig.* +BUILDLINK_FILES.fontconfig+= lib/pkgconfig/fontconfig.pc + +.include "../../graphics/freetype2/buildlink2.mk" +.include "../../textproc/expat/buildlink2.mk" + +BUILDLINK_TARGETS+= fontconfig-buildlink + +fontconfig-buildlink: _BUILDLINK_USE + +.endif # FONTCONFIG_BUILDLINK2_MK diff --git a/fonts/fontconfig/distinfo b/fonts/fontconfig/distinfo new file mode 100644 index 00000000000..b74bea7d5b2 --- /dev/null +++ b/fonts/fontconfig/distinfo @@ -0,0 +1,9 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/12/11 20:12:45 jmmv Exp $ + +SHA1 (fcpackage.2_1.tar.gz) = b4d960ea1e2384f48aa9fed05e90ad4755da12be +Size (fcpackage.2_1.tar.gz) = 544661 bytes +SHA1 (patch-aa) = ca5590f4ce5e5f7ff1706a31f6811449b445d704 +SHA1 (patch-ab) = 1423c86abfbbc5a47d64d855c8abbdb482ebab8c +SHA1 (patch-ac) = 76ff801c5c2abc21c815c9313624eaf636672409 +SHA1 (patch-ad) = cab8df9f2d1d701d9d39a186eb88f2573ecdcddd +SHA1 (patch-ae) = 9df8e2a13ac27ce6e099026a434ef95b69a45032 diff --git a/fonts/fontconfig/patches/patch-aa b/fonts/fontconfig/patches/patch-aa new file mode 100644 index 00000000000..ab05ca4c978 --- /dev/null +++ b/fonts/fontconfig/patches/patch-aa @@ -0,0 +1,14 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/12/11 20:12:45 jmmv Exp $ + +--- Makefile.in.orig Thu Aug 1 17:57:25 2002 ++++ Makefile.in +@@ -26,6 +26,9 @@ TOPDIR = . + + include $(TOPDIR)/config/Makedefs + ++# Override CONFDIR in Makedefs, so we can install templates in EGDIR. ++CONFDIR = @datadir@/examples/fontconfig ++ + DIRS = src fc-cache fc-list fontconfig + + all install clean:: diff --git a/fonts/fontconfig/patches/patch-ab b/fonts/fontconfig/patches/patch-ab new file mode 100644 index 00000000000..bb206bbe92b --- /dev/null +++ b/fonts/fontconfig/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/12/11 20:12:45 jmmv Exp $ + +--- fc-list/Makefile.in.orig Thu Aug 1 17:57:26 2002 ++++ fc-list/Makefile.in +@@ -35,7 +35,7 @@ PROG=fc-cache + all:: $(PROG) + + $(PROG): $(OBJS) +- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBFONTCONFIG) ++ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBFONTCONFIG) @LIBS@ @LDFLAGS@ + + $(OBJS): $(HEADERS) + diff --git a/fonts/fontconfig/patches/patch-ac b/fonts/fontconfig/patches/patch-ac new file mode 100644 index 00000000000..c4a57f60149 --- /dev/null +++ b/fonts/fontconfig/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1.1.1 2002/12/11 20:12:45 jmmv Exp $ + +--- fc-cache/Makefile.in.orig Thu Aug 1 17:57:26 2002 ++++ fc-cache/Makefile.in +@@ -35,7 +35,7 @@ PROG=fc-cache + all:: $(PROG) + + $(PROG): $(OBJS) +- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBFONTCONFIG) ++ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBFONTCONFIG) @LIBS@ @LDFLAGS@ + + $(OBJS): $(HEADERS) + diff --git a/fonts/fontconfig/patches/patch-ad b/fonts/fontconfig/patches/patch-ad new file mode 100644 index 00000000000..5bf0053813e --- /dev/null +++ b/fonts/fontconfig/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1.1.1 2002/12/11 20:12:45 jmmv Exp $ + +--- src/Makefile.in.orig Thu Aug 1 17:57:26 2002 ++++ src/Makefile.in +@@ -26,7 +26,7 @@ TOPDIR=.. + + include $(TOPDIR)/config/Makedefs + +-LIBS=@LIBS@ ++LIBS=@LIBS@ @LDFLAGS@ + + SRCS=fcatomic.c \ + fcblanks.c \ diff --git a/fonts/fontconfig/patches/patch-ae b/fonts/fontconfig/patches/patch-ae new file mode 100644 index 00000000000..8e855edc8b1 --- /dev/null +++ b/fonts/fontconfig/patches/patch-ae @@ -0,0 +1,13 @@ +$NetBSD: patch-ae,v 1.1.1.1 2002/12/11 20:12:45 jmmv Exp $ + +--- configure.orig Fri Nov 22 03:30:00 2002 ++++ configure +@@ -611,7 +611,7 @@ fi + # Check whether --with-default_fonts or --without-default_fonts was given. + if test "${with_default_fonts+set}" = set; then + withval="$with_default_fonts" +- defaultfonts="$withval" ++ default_fonts="$withval" + else + default_fonts=yes + fi |