diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-07-03 15:34:59 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-07-03 15:34:59 +0800 |
commit | 7694295f39a335942b7b013286c4428b6f493bbc (patch) | |
tree | d99b8082b6063060ff7e16522f621745d49f0f62 | |
parent | 13adc1395b1c35c6d98807be0ea73b40d3794895 (diff) | |
download | marcuscom-ports-7694295f39a335942b7b013286c4428b6f493bbc.tar marcuscom-ports-7694295f39a335942b7b013286c4428b6f493bbc.tar.gz marcuscom-ports-7694295f39a335942b7b013286c4428b6f493bbc.tar.bz2 marcuscom-ports-7694295f39a335942b7b013286c4428b6f493bbc.tar.lz marcuscom-ports-7694295f39a335942b7b013286c4428b6f493bbc.tar.xz marcuscom-ports-7694295f39a335942b7b013286c4428b6f493bbc.tar.zst marcuscom-ports-7694295f39a335942b7b013286c4428b6f493bbc.zip |
Update to 2.6.0.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@11098 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | x11-fonts/fontconfig/Makefile | 70 | ||||
-rw-r--r-- | x11-fonts/fontconfig/distinfo | 3 | ||||
-rw-r--r-- | x11-fonts/fontconfig/files/fc-cache.1 | 75 | ||||
-rw-r--r-- | x11-fonts/fontconfig/files/fc-cat.1 | 44 | ||||
-rw-r--r-- | x11-fonts/fontconfig/files/fc-list.1 | 61 | ||||
-rw-r--r-- | x11-fonts/fontconfig/files/fc-match.1 | 51 | ||||
-rw-r--r-- | x11-fonts/fontconfig/files/patch-Makefile.in | 53 | ||||
-rw-r--r-- | x11-fonts/fontconfig/files/pkg-install.in | 10 | ||||
-rw-r--r-- | x11-fonts/fontconfig/pkg-descr | 18 | ||||
-rw-r--r-- | x11-fonts/fontconfig/pkg-plist | 63 |
10 files changed, 448 insertions, 0 deletions
diff --git a/x11-fonts/fontconfig/Makefile b/x11-fonts/fontconfig/Makefile new file mode 100644 index 000000000..5057a99fd --- /dev/null +++ b/x11-fonts/fontconfig/Makefile @@ -0,0 +1,70 @@ +# New ports collection makefile for: fontconfig +# Date created: 06 October 2002 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD: ports/x11-fonts/fontconfig/Makefile,v 1.71 2008/04/19 17:55:05 miwi Exp $ +# $MCom: ports/x11-fonts/fontconfig/Makefile,v 1.14 2008/01/08 04:28:10 marcus Exp $ +# + +PORTNAME= fontconfig +PORTVERSION= 2.6.0 +PORTREVISION?= 0 +PORTEPOCH?= 1 +CATEGORIES= x11-fonts +MASTER_SITES= http://fontconfig.org/release/ + +MAINTAINER= gnome@FreeBSD.org +COMMENT= An XML-based font configuration API for X Windows + +.if !defined(REFERENCE_PORT) + +LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \ + expat.6:${PORTSDIR}/textproc/expat2 + +USE_GMAKE= yes +USE_LDCONFIG= yes +USE_AUTOTOOLS= libtool:15 +USE_GNOME= gnomehack gnometarget pkgconfig ltverhack +CONFIGURE_ARGS= --with-confdir=${PREFIX}/etc/fonts \ + --with-expat-includes=${LOCALBASE}/include \ + --with-expat-lib=${LOCALBASE}/lib \ + --with-default-fonts=${LOCALBASE}/lib/X11/fonts \ + --with-cache-dir=/var/db/fontconfig \ + --without-add-fonts \ + --disable-docs +MAKE_ENV= LC_ALL=C +PKGINSTALL= ${WRKDIR}/pkg-install + +MAN1= fc-cache.1 fc-cat.1 fc-list.1 fc-match.1 +MAN5= fonts-conf.5 +PORTDOCS= fontconfig-user.html fontconfig-user.pdf fontconfig-user.txt + +.include <bsd.port.pre.mk> + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${DOCSDIR} +.endif + ${INSTALL_MAN} ${MAN5:S|^|${WRKSRC}/doc/|} ${PREFIX}/man/man5 +.for manpage in ${MAN1} + ${INSTALL_MAN} ${FILESDIR}/${manpage} ${PREFIX}/man/man1 +.endfor + if [ ! -f ${PREFIX}/etc/fonts/fonts.conf ]; then \ + ${INSTALL_DATA} ${WRKSRC}/fonts.conf ${PREFIX}/etc/fonts/fonts.conf; \ + ${INSTALL_DATA} ${WRKSRC}/fonts.conf ${PREFIX}/etc/fonts/fonts.conf.default; \ + else \ + ${INSTALL_DATA} ${WRKSRC}/fonts.conf ${PREFIX}/etc/fonts/fonts.conf.default; \ + fi + @${SED} -e 's|%%PREFIX%%|${PREFIX}| ; \ + s|%%LOCALBASE%%|${LOCALBASE}|' < ${FILESDIR}/pkg-install.in \ + > ${PKGINSTALL} +.if !defined(PACKAGE_BUILDING) + @${LDCONFIG} -m ${PREFIX}/lib + @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL + +.endif + +.include <bsd.port.post.mk> + +.endif diff --git a/x11-fonts/fontconfig/distinfo b/x11-fonts/fontconfig/distinfo new file mode 100644 index 000000000..24a1c943b --- /dev/null +++ b/x11-fonts/fontconfig/distinfo @@ -0,0 +1,3 @@ +MD5 (fontconfig-2.6.0.tar.gz) = ab54ec1d4ddd836313fdbc0cd5299d6d +SHA256 (fontconfig-2.6.0.tar.gz) = a9a639eaa0e5666606a4657cc1494eb6df820fac7e5a2aa0c3f7e703b7c8d8a5 +SIZE (fontconfig-2.6.0.tar.gz) = 1403857 diff --git a/x11-fonts/fontconfig/files/fc-cache.1 b/x11-fonts/fontconfig/files/fc-cache.1 new file mode 100644 index 000000000..3d77bd59c --- /dev/null +++ b/x11-fonts/fontconfig/files/fc-cache.1 @@ -0,0 +1,75 @@ +.\" This manpage has been automatically generated by docbook2man +.\" from a DocBook document. This tool can be found at: +.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> +.\" Please send any bug reports, improvements, comments, patches, +.\" etc. to Steve Cheng <steve@ggi-project.org>. +.TH "FC-CACHE" "1" "05 May 2008" "" "" + +.SH NAME +fc-cache \- build font information cache files +.SH SYNOPSIS + +\fBfc-cache\fR [ \fB-fsvV?\fR ] [ \fB--force\fR ] [ \fB--system-only\fR ] [ \fB--verbose\fR ] [ \fB--version\fR ] [ \fB--help\fR ] [ \fB\fIdirs\fB\fR ] + +.SH "DESCRIPTION" +.PP +\fBfc-cache\fR scans the font directories on +the system and builds font information cache files for +applications using fontconfig for their font handling. +.PP +If directory arguments are not given, +\fBfc-cache\fR uses each directory in the +current font configuration. Each directory is scanned for +font files readable by FreeType. A cache is created which +contains properties of each font and the associated filename. +This cache is used to speed up application startup when using +the fontconfig library. +.PP +Note that \fBfc-cache\fR must be executed +once per architecture to generate font information customized +for that architecture. On a subsequent run, +\fBfc-cache\fR will augment the cache +information files with the information for the new +architecture. +.SH "OPTIONS" +.PP +This program follows the usual GNU command line syntax, +with long options starting with two dashes (`-'). A summary of +options is included below. +.TP +\fB-f --force \fR +Force re-generation of apparently up-to-date cache files, +overriding the timestamp checking. +.TP +\fB-s --system-only \fR +Only scan system-wide directories, omitting the places +located in the user's home directory. +.TP +\fB-v --verbose \fR +Display status information while busy. +.TP +\fB-? --help \fR +Show summary of options. +.TP +\fB-V --version \fR +Show version of the program and exit. +.TP +\fB\fIdirs\fB \fR +A list of directories to scan for fonts. +.SH "FILES" +.TP +\fB\fIfonts.cache-2\fB\fR +These files are generated by \fBfc-cache\fR +and contain maps from file names to font properties. They are +read by the fontconfig library at application startup to locate +appropriate fonts. +.SH "SEE ALSO" +.PP +\fBfc-list\fR (1). +.PP +The fontconfig user's guide, in HTML format: +\fI/usr/share/doc/fontconfig/fontconfig-user.html\fR\&. +.SH "AUTHOR" +.PP +This manual page was written by Keith Packard +<keithp@keithp.com> and Josselin Mouette <joss@debian.org>\&. diff --git a/x11-fonts/fontconfig/files/fc-cat.1 b/x11-fonts/fontconfig/files/fc-cat.1 new file mode 100644 index 000000000..b025d7c5e --- /dev/null +++ b/x11-fonts/fontconfig/files/fc-cat.1 @@ -0,0 +1,44 @@ +.\" This manpage has been automatically generated by docbook2man +.\" from a DocBook document. This tool can be found at: +.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> +.\" Please send any bug reports, improvements, comments, patches, +.\" etc. to Steve Cheng <steve@ggi-project.org>. +.TH "FC-CAT" "1" "05 May 2008" "" "" + +.SH NAME +fc-cat \- read font information cache files +.SH SYNOPSIS + +\fBfc-cat\fR [ \fB-rvV?\fR ] [ \fB--recurse\fR ] [ \fB--verbose\fR ] [ \fB--version\fR ] [ \fB--help\fR ] [ \fB\fIfonts-cache-2-files\fB\fR ] [ \fB\fIdirs\fB\fR ] + +.SH "DESCRIPTION" +.PP +\fBfc-cat\fR reads the font information from +cache files or related to font directories +and emits it in ASCII form. +.SH "OPTIONS" +.PP +This program follows the usual GNU command line syntax, +with long options starting with two dashes (`-'). A summary of +options is included below. +.TP +\fB-r --recurse \fR +Recurse into subdirectories. +.TP +\fB-v --verbose \fR +Be verbose. +.TP +\fB-? --help \fR +Show summary of options. +.TP +\fB-V --version \fR +Show version of the program and exit. +.SH "SEE ALSO" +.PP +\fBfc-cache\fR (1). +.PP +The fontconfig user's guide, in HTML format: +\fI/usr/share/doc/fontconfig/fontconfig-user.html\fR\&. +.SH "AUTHOR" +.PP +This manual page was written by Patrick Lam <plam@mit.edu>\&. diff --git a/x11-fonts/fontconfig/files/fc-list.1 b/x11-fonts/fontconfig/files/fc-list.1 new file mode 100644 index 000000000..6a0145db1 --- /dev/null +++ b/x11-fonts/fontconfig/files/fc-list.1 @@ -0,0 +1,61 @@ +.\" This manpage has been automatically generated by docbook2man +.\" from a DocBook document. This tool can be found at: +.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> +.\" Please send any bug reports, improvements, comments, patches, +.\" etc. to Steve Cheng <steve@ggi-project.org>. +.TH "FC-LIST" "1" "05 May 2008" "" "" + +.SH NAME +fc-list \- list available fonts +.SH SYNOPSIS + +\fBfc-list\fR [ \fB-vV?\fR ] [ \fB--verbose\fR ] [ \fB--version\fR ] [ \fB--help\fR ] [ \fB\fIpattern\fB\fR ] [ \fB\fIelement\fB\fR ] + +.SH "DESCRIPTION" +.PP +\fBfc-list\fR lists fonts and styles +available on the system for applications using fontconfig. +.SH "OPTIONS" +.PP +This program follows the usual GNU command line syntax, +with long options starting with two dashes (`-'). A summary of +options is included below. +.TP +\fB-v --verbose \fR +Display status information while busy. +.TP +\fB-? --help \fR +Show summary of options. +.TP +\fB-V --version \fR +Show version of the program and exit. +.TP +\fB\fIpattern\fB \fR +If this argument is set, only fonts matching +\fIpattern\fR are displayed. +.TP +\fB\fIelement\fB \fR +If set, the \fIelement\fR property +is displayed for matching fonts. +.SH "EXAMPLES" +.TP +\fBfc-list\fR +Lists all font faces. +.TP +\fBfc-list :lang=hi\fR +Lists font faces that cover Hindi. +.TP +\fBfc-list : family style file spacing \fR +Lists the filename and spacing value for each font +face. ``:'' is an empty pattern that matches all +fonts. +.SH "SEE ALSO" +.PP +\fBfc-cache\fR (1). +.PP +The fontconfig user's guide, in HTML format: +\fI/usr/share/doc/fontconfig/fontconfig-user.html\fR\&. +.SH "AUTHOR" +.PP +This manual page was written by Keith Packard +<keithp@keithp.com> and Josselin Mouette <joss@debian.org>\&. diff --git a/x11-fonts/fontconfig/files/fc-match.1 b/x11-fonts/fontconfig/files/fc-match.1 new file mode 100644 index 000000000..06f7aa3cb --- /dev/null +++ b/x11-fonts/fontconfig/files/fc-match.1 @@ -0,0 +1,51 @@ +.\" This manpage has been automatically generated by docbook2man +.\" from a DocBook document. This tool can be found at: +.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> +.\" Please send any bug reports, improvements, comments, patches, +.\" etc. to Steve Cheng <steve@ggi-project.org>. +.TH "FC-MATCH" "1" "05 May 2008" "" "" + +.SH NAME +fc-match \- match available fonts +.SH SYNOPSIS + +\fBfc-match\fR [ \fB-svV?\fR ] [ \fB--sort\fR ] [ \fB--verbose\fR ] [ \fB--version\fR ] [ \fB--help\fR ] [ \fB\fIfont-pattern\fB\fR ] + +.SH "DESCRIPTION" +.PP +\fBfc-match\fR matches font-pattern (empty +pattern by default) using the normal fontconfig matching rules to find +the best font available. If --sort is given, the sorted list of best +matching fonts is displayed. With --verbose, the whole font pattern +for each match is printed, otherwise only the file, family and style +are printed.. +.SH "OPTIONS" +.PP +This program follows the usual GNU command line syntax, +with long options starting with two dashes (`-'). A summary of +options is included below. +.TP +\fB-v --verbose \fR +Print whole font pattern for each match. +.TP +\fB-? --help \fR +Show summary of options. +.TP +\fB-V --version \fR +Show version of the program and exit. +.TP +\fB-s --sort \fR +Displays sorted list of best matching fonts. +.TP +\fB\fIfont-pattern\fB \fR +Displays fonts matching +\fIfont-pattern\fR (uses empty pattern by default). +.SH "SEE ALSO" +.PP +\fBfc-list\fR (1). +.PP +The fontconfig user's guide, in HTML format: +\fI/usr/share/doc/fontconfig/fontconfig-user.html\fR\&. +.SH "AUTHOR" +.PP +This manual page was updated by Patrick Lam <plam@csail.mit.edu>\&. diff --git a/x11-fonts/fontconfig/files/patch-Makefile.in b/x11-fonts/fontconfig/files/patch-Makefile.in new file mode 100644 index 000000000..40d586736 --- /dev/null +++ b/x11-fonts/fontconfig/files/patch-Makefile.in @@ -0,0 +1,53 @@ +--- Makefile.in.orig 2008-07-03 03:20:43.000000000 -0400 ++++ Makefile.in 2008-07-03 03:21:18.000000000 -0400 +@@ -789,28 +789,28 @@ ChangeLog: + .PHONY: ChangeLog + + install-data-local: +- $(mkinstalldirs) $(DESTDIR)$(configdir) $(DESTDIR)$(fc_cachedir) +- if [ -f $(DESTDIR)$(configdir)/fonts.conf ]; then \ +- echo "backing up existing $(DESTDIR)$(configdir)/fonts.conf"; \ +- mv $(DESTDIR)$(configdir)/fonts.conf $(DESTDIR)$(configdir)/fonts.conf.bak; \ +- fi +- if [ -f $(srcdir)/fonts.conf ]; then \ +- echo " $(INSTALL_DATA) $(srcdir)/fonts.conf $(DESTDIR)$(configdir)/fonts.conf"; \ +- $(INSTALL_DATA) $(srcdir)/fonts.conf $(DESTDIR)$(configdir)/fonts.conf; \ +- else if [ -f fonts.conf ]; then \ +- echo " $(INSTALL_DATA) fonts.conf $(DESTDIR)$(configdir)/fonts.conf"; \ +- $(INSTALL_DATA) fonts.conf $(DESTDIR)$(configdir)/fonts.conf; \ +- fi; fi +- @(if $(RUN_FC_CACHE_TEST); then \ +- echo " $(bindir)/fc-cache -s -f -v"; \ +- $(bindir)/fc-cache -s -f -v; \ +- else \ +- echo "***"; \ +- echo "*** Warning: fonts.cache not built"; \ +- echo "***"; \ +- echo "*** Generate this file manually on host system using fc-cache"; \ +- echo "***"; \ +- fi) ++# $(mkinstalldirs) $(DESTDIR)$(configdir) $(DESTDIR)$(fc_cachedir) ++# if [ -f $(DESTDIR)$(configdir)/fonts.conf ]; then \ ++# echo "backing up existing $(DESTDIR)$(configdir)/fonts.conf"; \ ++# mv $(DESTDIR)$(configdir)/fonts.conf $(DESTDIR)$(configdir)/fonts.conf.bak; \ ++# fi ++# if [ -f $(srcdir)/fonts.conf ]; then \ ++# echo " $(INSTALL_DATA) $(srcdir)/fonts.conf $(DESTDIR)$(configdir)/fonts.conf"; \ ++# $(INSTALL_DATA) $(srcdir)/fonts.conf $(DESTDIR)$(configdir)/fonts.conf; \ ++# else if [ -f fonts.conf ]; then \ ++# echo " $(INSTALL_DATA) fonts.conf $(DESTDIR)$(configdir)/fonts.conf"; \ ++# $(INSTALL_DATA) fonts.conf $(DESTDIR)$(configdir)/fonts.conf; \ ++# fi; fi ++# @(if $(RUN_FC_CACHE_TEST); then \ ++# echo " $(bindir)/fc-cache -s -f -v"; \ ++# $(bindir)/fc-cache -s -f -v; \ ++# else \ ++# echo "***"; \ ++# echo "*** Warning: fonts.cache not built"; \ ++# echo "***"; \ ++# echo "*** Generate this file manually on host system using fc-cache"; \ ++# echo "***"; \ ++# fi) + + uninstall-local: + if [ -f $(srcdir)/fonts.conf ]; then \ diff --git a/x11-fonts/fontconfig/files/pkg-install.in b/x11-fonts/fontconfig/files/pkg-install.in new file mode 100644 index 000000000..e82abb41d --- /dev/null +++ b/x11-fonts/fontconfig/files/pkg-install.in @@ -0,0 +1,10 @@ +#!/bin/sh + +PATH=/bin:/usr/bin:/sbin:/usr/sbin:%%PREFIX%%/bin +export PATH + +if [ "$2" = "POST-INSTALL" ]; then + echo "Running fc-cache to build fontconfig cache..." + fc-cache -f -v + exit 0 +fi diff --git a/x11-fonts/fontconfig/pkg-descr b/x11-fonts/fontconfig/pkg-descr new file mode 100644 index 000000000..7595ac232 --- /dev/null +++ b/x11-fonts/fontconfig/pkg-descr @@ -0,0 +1,18 @@ +Fontconfig does the following: + + * 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. + +-- keithp + +WWW: http://fontconfig.org/ diff --git a/x11-fonts/fontconfig/pkg-plist b/x11-fonts/fontconfig/pkg-plist new file mode 100644 index 000000000..3101d5ccf --- /dev/null +++ b/x11-fonts/fontconfig/pkg-plist @@ -0,0 +1,63 @@ +bin/fc-cache +bin/fc-cat +bin/fc-list +bin/fc-match +etc/fonts/conf.avail/10-autohint.conf +etc/fonts/conf.avail/10-no-sub-pixel.conf +etc/fonts/conf.avail/10-sub-pixel-bgr.conf +etc/fonts/conf.avail/10-sub-pixel-rgb.conf +etc/fonts/conf.avail/10-sub-pixel-vbgr.conf +etc/fonts/conf.avail/10-sub-pixel-vrgb.conf +etc/fonts/conf.avail/10-unhinted.conf +etc/fonts/conf.avail/20-fix-globaladvance.conf +etc/fonts/conf.avail/20-unhint-small-vera.conf +etc/fonts/conf.avail/25-unhint-nonlatin.conf +etc/fonts/conf.avail/30-metric-aliases.conf +etc/fonts/conf.avail/30-urw-aliases.conf +etc/fonts/conf.avail/40-nonlatin.conf +etc/fonts/conf.avail/45-latin.conf +etc/fonts/conf.avail/49-sansserif.conf +etc/fonts/conf.avail/50-user.conf +etc/fonts/conf.avail/51-local.conf +etc/fonts/conf.avail/60-latin.conf +etc/fonts/conf.avail/65-fonts-persian.conf +etc/fonts/conf.avail/65-khmer.conf +etc/fonts/conf.avail/65-nonlatin.conf +etc/fonts/conf.avail/69-unifont.conf +etc/fonts/conf.avail/70-no-bitmaps.conf +etc/fonts/conf.avail/70-yes-bitmaps.conf +etc/fonts/conf.avail/80-delicious.conf +etc/fonts/conf.avail/90-synthetic.conf +etc/fonts/conf.d/20-fix-globaladvance.conf +etc/fonts/conf.d/20-unhint-small-vera.conf +etc/fonts/conf.d/30-metric-aliases.conf +etc/fonts/conf.d/30-urw-aliases.conf +etc/fonts/conf.d/40-nonlatin.conf +etc/fonts/conf.d/45-latin.conf +etc/fonts/conf.d/49-sansserif.conf +etc/fonts/conf.d/50-user.conf +etc/fonts/conf.d/51-local.conf +etc/fonts/conf.d/60-latin.conf +etc/fonts/conf.d/65-fonts-persian.conf +etc/fonts/conf.d/65-nonlatin.conf +etc/fonts/conf.d/69-unifont.conf +etc/fonts/conf.d/80-delicious.conf +etc/fonts/conf.d/90-synthetic.conf +etc/fonts/conf.d/README +@unexec if cmp -s %D/etc/fonts/fonts.conf %D/etc/fonts/fonts.conf.default; then rm -f %D/etc/fonts/fonts.conf; fi +etc/fonts/fonts.conf.default +@exec [ -f %B/fonts.conf ] || cp %B/%f %B/fonts.conf +etc/fonts/fonts.dtd +include/fontconfig/fcfreetype.h +include/fontconfig/fcprivate.h +include/fontconfig/fontconfig.h +lib/libfontconfig.a +lib/libfontconfig.la +lib/libfontconfig.so +lib/libfontconfig.so.1 +libdata/pkgconfig/fontconfig.pc +@dirrm include/fontconfig +@dirrmtry etc/fonts/conf.d +@dirrmtry etc/fonts/conf.avail +@dirrmtry etc/fonts +@unexec rm -rf /var/db/fontconfig 2>/dev/null || true |