pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/fonts/fontconfig add an alias ZapfDingbats->Dingbats (...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/594ae016d182
branches:  trunk
changeset: 556995:594ae016d182
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Tue Apr 07 19:27:57 2009 +0000

description:
add an alias ZapfDingbats->Dingbats (as seen on Debian/Ubuntu), this
helps for checkmarks etc used in PDF forms (fixing the uglyness mentioned
in my last commit to pkgsrc/print/poppler)
bump PKGREVISION

diffstat:

 fonts/fontconfig/Makefile                     |  8 +++++++-
 fonts/fontconfig/PLIST                        |  3 ++-
 fonts/fontconfig/files/30-pkgsrc-aliases.conf |  9 +++++++++
 3 files changed, 18 insertions(+), 2 deletions(-)

diffs (61 lines):

diff -r cd5a45cb5e0b -r 594ae016d182 fonts/fontconfig/Makefile
--- a/fonts/fontconfig/Makefile Tue Apr 07 19:18:05 2009 +0000
+++ b/fonts/fontconfig/Makefile Tue Apr 07 19:27:57 2009 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.65 2008/06/21 18:47:44 wiz Exp $
+# $NetBSD: Makefile,v 1.66 2009/04/07 19:27:57 drochner Exp $
 
 DISTNAME=      fontconfig-2.6.0
+PKGREVISION=   1
 CATEGORIES=    fonts
 MASTER_SITES=  http://www.fontconfig.org/release/
 
@@ -60,6 +61,7 @@
 CONF_FILES+=   ${EGDIR}/conf.d/69-unifont.conf ${PKG_SYSCONFDIR}/conf.d/69-unifont.conf
 CONF_FILES+=   ${EGDIR}/conf.d/80-delicious.conf ${PKG_SYSCONFDIR}/conf.d/80-delicious.conf
 CONF_FILES+=   ${EGDIR}/conf.d/90-synthetic.conf ${PKG_SYSCONFDIR}/conf.d/90-synthetic.conf
+CONF_FILES+=   ${EGDIR}/conf.d/30-pkgsrc-aliases.conf ${PKG_SYSCONFDIR}/conf.d/30-pkgsrc-aliases.conf
 
 MAKE_DIRS+=    ${VARBASE}/cache
 BUILD_DEFS+=   VARBASE
@@ -75,6 +77,10 @@
 pre-configure:
        ${ECHO} '#define FC_ARCHITECTURE "@host_cpu@"' > ${WRKSRC}/fc-arch/fcarch.h.in
 
+post-install:
+       ${INSTALL_DATA} ${FILESDIR}/30-pkgsrc-aliases.conf \
+               ${EGDIR}/conf.d
+
 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../graphics/freetype2/buildlink3.mk"
diff -r cd5a45cb5e0b -r 594ae016d182 fonts/fontconfig/PLIST
--- a/fonts/fontconfig/PLIST    Tue Apr 07 19:18:05 2009 +0000
+++ b/fonts/fontconfig/PLIST    Tue Apr 07 19:27:57 2009 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2008/06/21 18:47:44 wiz Exp $
+@comment $NetBSD: PLIST,v 1.17 2009/04/07 19:27:57 drochner Exp $
 bin/fc-cache
 bin/fc-cat
 bin/fc-list
@@ -397,6 +397,7 @@
 share/examples/fontconfig/conf.d/20-fix-globaladvance.conf
 share/examples/fontconfig/conf.d/20-unhint-small-vera.conf
 share/examples/fontconfig/conf.d/30-metric-aliases.conf
+share/examples/fontconfig/conf.d/30-pkgsrc-aliases.conf
 share/examples/fontconfig/conf.d/30-urw-aliases.conf
 share/examples/fontconfig/conf.d/40-nonlatin.conf
 share/examples/fontconfig/conf.d/45-latin.conf
diff -r cd5a45cb5e0b -r 594ae016d182 fonts/fontconfig/files/30-pkgsrc-aliases.conf
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/fontconfig/files/30-pkgsrc-aliases.conf     Tue Apr 07 19:27:57 2009 +0000
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<!-- $NetBSD: 30-pkgsrc-aliases.conf,v 1.1 2009/04/07 19:27:57 drochner Exp $ -->
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+       <alias>
+               <family>ZapfDingbats</family>
+               <accept><family>Dingbats</family></accept>
+       </alias>
+</fontconfig>



Home | Main Index | Thread Index | Old Index