summaryrefslogtreecommitdiff
path: root/print/ghostscript
diff options
context:
space:
mode:
authormef <mef>2012-10-07 14:19:18 +0000
committermef <mef>2012-10-07 14:19:18 +0000
commit60a5e793556852b7a0111f754acbd80ee18a4bf3 (patch)
treef79442bf4b9906daa141e56edc6c40a959eb4618 /print/ghostscript
parent33ed6d916509bab32a63a0b60b9c193d9dd428d8 (diff)
downloadpkgsrc-60a5e793556852b7a0111f754acbd80ee18a4bf3.tar.gz
(1) Bump version 8.71 to 9.05 (importing from wip/ghostscript).
For the Changes: See share/ghostscript/9.05/doc/History9.htm Or work/ghostscript-9.05/doc/History9.htm Upstream releases and their date are: Version 9.05 (2012-02-08) Version 9.04 (2011-08-05) Version 9.02 (2011-03-30) Version 9.01 (2011-02-07) Version 9.00 (2010-09-14) (2) Resolve pkg PR/44400. options.mk: - Have new option disable-compile-inits Makefile - rename cidfmap to cidfmap-dist (post-extract:) (3) Have new file Makefile.common to share with fonts/ghostscript-cidfonts fonts/ghostscript-cidfonts-ryumin to set ${GS_VERSION}, and then ${GS_RESOURCEDIR}. (4) options.mk - Add new options, disable-compile-inits - Add following line for non X11 installation CONFIGURE_ARGS+= --disable-freetype - Name change pstorater.convs -> gstoraster.convs (5) PLIST So many changes, but just a note: -share/ghostscript/${PKGVERSION}/doc/README share/ghostscript/${PKGVERSION}/doc/Readme.htm (6) patches directory: Removed, for upstream included. ------ patch-aa 9.00 base/gsnogc.c patch-ab 9.05 base/unixinst.mak patch-ac 9.00 ase/gdevpx.c patch-ad 9.04 lib/pv.sh patch-ae 9.00 psi/zfile.c patch-ag 9.00 cups/cups.mak patch-ak 9.04 -> a part left in patch-base_gdevpng.c patch-am 9.00 lib/pdf2dsc.ps patch-ba 9.00 psi/idosave.h patch-bb 9.00 psi/isave.c (CVS-2010-1628) patch-bc 9.00 psi/ialloc.c (CVS-2010-1628) patch-bd 9.00 (1) bug #691029 and #691108 9.00 (2) arrayoption() macro 9.00 (3) silence compiler warning Modified, or unchanged ------ patch-af (Add comments from former commit log, and adjust) patch-ah (Add comments from former commit log, and adjust) patch-ai (Add comments from former commit log, and adjust) patch-aj (unchanged) patch-al (unchanged) patch-an (Add comments from former commit log, and adjust) Added -------- patch-base_gdevpng.c (a part of previous patch-ak) patch-base_gserrors_h (silence compile warning) patch-configure.ac (For just a record, see patch-ah (configure)) patch-freetype_include_freetype_internal_t1types_h (To avoid redifintion of T1_EncodingType_ ) patch-openjpeg_libopenjpeg_opj_malloc_h (To avoid undefined ref. to memalign) OK'ed by wiz@, thanks a lot.
Diffstat (limited to 'print/ghostscript')
-rw-r--r--print/ghostscript/Makefile27
-rw-r--r--print/ghostscript/PLIST691
-rw-r--r--print/ghostscript/distinfo35
-rw-r--r--print/ghostscript/options.mk20
-rw-r--r--print/ghostscript/patches/patch-CVE-2012-440514
-rw-r--r--print/ghostscript/patches/patch-af46
-rw-r--r--print/ghostscript/patches/patch-ah76
-rw-r--r--print/ghostscript/patches/patch-ai12
-rw-r--r--print/ghostscript/patches/patch-an24
-rw-r--r--print/ghostscript/patches/patch-base_gdevpng.c25
-rw-r--r--print/ghostscript/patches/patch-base_gserrors_h15
-rw-r--r--print/ghostscript/patches/patch-configure.ac15
-rw-r--r--print/ghostscript/patches/patch-freetype_include_freetype_internal_t1types_h26
-rw-r--r--print/ghostscript/patches/patch-openjpeg_libopenjpeg_opj_malloc_h19
14 files changed, 531 insertions, 514 deletions
diff --git a/print/ghostscript/Makefile b/print/ghostscript/Makefile
index 7be6f0e3eb5..80705ea7bf0 100644
--- a/print/ghostscript/Makefile
+++ b/print/ghostscript/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.88 2012/10/03 21:57:17 wiz Exp $
+# $NetBSD: Makefile,v 1.89 2012/10/07 14:19:18 mef Exp $
-DISTNAME= ghostscript-8.71
-PKGREVISION= 11
+DISTNAME= ghostscript-${GS_VERSION}
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ghostscript/}
MASTER_SITES+= http://ghostscript.com/releases/
+EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://ghostscript.sourceforge.net/
@@ -13,15 +13,16 @@ COMMENT= Postscript interpreter
# Plus adobe verbatim for Resources/CMap.
LICENSE= gnu-gpl-v3
+.include "Makefile.common"
+
DEPENDS+= ghostscript-fonts>=6.0:../../fonts/ghostscript-fonts
CONFLICTS+= ghostscript-afpl-[0-9]*
CONFLICTS+= ghostscript-esp{,-nox11}-[0-9]*
CONFLICTS+= ghostscript-gnu{,-nox11,-x11}-[0-9]*
-PKG_DESTDIR_SUPPORT= user-destdir
-
USE_TOOLS+= gmake perl:run lex pkg-config
+USE_LANGUAGES+= c c++
GNU_CONFIGURE= yes
UNLIMIT_RESOURCES+= datasize # gsromfs1.c
@@ -32,6 +33,8 @@ CONFIGURE_ARGS+= -with-omni=no # otherwise pulls in libstdc++
REPLACE_PERL+= lib/fixmswrd.pl
GS_RESOURCEDIR= ${PREFIX}/share/ghostscript/${PKGVERSION}/Resource
+# MESSAGE file substitution
+MESSAGE_SUBST+= GS_RESOURCEDIR=${GS_RESOURCEDIR}
# XXX make sure the local jpeg headers are found before those pulled
# in indirectly by cups bl3
@@ -69,21 +72,27 @@ CFLAGS+= -fPIC
BUILDLINK_TRANSFORM+= l:fontconfig:fontconfig:iconv
.endif
-CONFIGURE_ENV+= LPLIBDIR=${LOCALBASE}/lib
+CONFIGURE_ENV+= LPLIBDIR=${PREFIX}/lib
+
+.include "options.mk"
post-extract:
${MKDIR} ${WRKSRC}/bin
${MKDIR} ${WRKSRC}/obj
# ${RM} -rf ${WRKSRC}/jasper
${RM} -rf ${WRKSRC}/libpng
- ${RM} -rf ${WRKSRC}/tiff
+# ${RM} -rf ${WRKSRC}/tiff
# ${RM} -rf ${WRKSRC}/zlib
+#
+# To allow outside customization, rename cidfmap
+# (if you look at inside of the file, it is logically empty)
+.if !empty(PKG_OPTIONS:Mdisable-compile-inits)
+ (cd ${WRKSRC}/Resource/Init/; ${MV} cidfmap cidfmap.dist)
+.endif
post-install:
${LN} -sf gsc ${DESTDIR}${PREFIX}/bin/gs
-.include "options.mk"
-
.include "../../print/libpaper/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
diff --git a/print/ghostscript/PLIST b/print/ghostscript/PLIST
index 7e076b6e0bd..991a81d73c2 100644
--- a/print/ghostscript/PLIST
+++ b/print/ghostscript/PLIST
@@ -1,9 +1,7 @@
-@comment $NetBSD: PLIST,v 1.16 2010/02/23 20:31:26 drochner Exp $
-bin/bdftops
+@comment $NetBSD: PLIST,v 1.17 2012/10/07 14:19:18 mef Exp $
bin/dumphint
bin/dvipdf
bin/eps2eps
-bin/fixmswrd.pl
bin/font2c
bin/gs
bin/gsbj
@@ -20,6 +18,7 @@ bin/pdf2ps
bin/pdfopt
bin/pf2afm
bin/pfbtopfa
+bin/pphs
bin/printafm
bin/ps2ascii
bin/ps2epsi
@@ -30,18 +29,16 @@ bin/ps2pdf14
bin/ps2pdfwr
bin/ps2ps
bin/ps2ps2
-bin/pv.sh
bin/unix-lpr.sh
bin/wftopfa
include/ghostscript/gdevdsp.h
include/ghostscript/iapi.h
include/ghostscript/ierrors.h
lib/libgs.so
-lib/libgs.so.8
+lib/libgs.so.9
lib/libgs.so.${PKGVERSION}
-${PLIST.cups}libexec/cups/filter/pdftoraster
-${PLIST.cups}libexec/cups/filter/pstopxl
-${PLIST.cups}libexec/cups/filter/pstoraster
+${PLIST.cups}libexec/cups/filter/gstopxl
+${PLIST.cups}libexec/cups/filter/gstoraster
man/de/man1/dvipdf.1
man/de/man1/eps2eps.1
man/de/man1/font2c.1
@@ -54,6 +51,7 @@ man/de/man1/ps2ascii.1
man/de/man1/ps2pdf.1
man/de/man1/ps2pdf12.1
man/de/man1/ps2pdf13.1
+man/de/man1/ps2pdf14.1
man/de/man1/ps2ps.1
man/de/man1/wftopfa.1
man/man1/dvipdf.1
@@ -77,371 +75,301 @@ man/man1/ps2epsi.1
man/man1/ps2pdf.1
man/man1/ps2pdf12.1
man/man1/ps2pdf13.1
+man/man1/ps2pdf14.1
man/man1/ps2pdfwr.1
man/man1/ps2ps.1
man/man1/wftopfa.1
${PLIST.cups}share/cups/model/pxlcolor.ppd
${PLIST.cups}share/cups/model/pxlmono.ppd
-${PLIST.cups}share/examples/cups/pdftoraster.convs
-${PLIST.cups}share/examples/cups/pstoraster.convs
-share/ghostscript/${PKGVERSION}/Resource/CMap/78-EUC-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/78-EUC-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/78-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/78-RKSJ-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/78-RKSJ-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/78-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/78ms-RKSJ-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/78ms-RKSJ-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/83pv-RKSJ-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/90ms-RKSJ-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/90ms-RKSJ-UCS2
-share/ghostscript/${PKGVERSION}/Resource/CMap/90ms-RKSJ-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/90msp-RKSJ-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/90msp-RKSJ-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/90pv-RKSJ-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/90pv-RKSJ-UCS2
-share/ghostscript/${PKGVERSION}/Resource/CMap/90pv-RKSJ-UCS2C
-share/ghostscript/${PKGVERSION}/Resource/CMap/90pv-RKSJ-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/Add-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/Add-RKSJ-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/Add-RKSJ-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/Add-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-CNS1-0
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-CNS1-1
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-CNS1-2
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-CNS1-3
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-CNS1-4
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-CNS1-5
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-CNS1-6
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-CNS1-B5pc
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-CNS1-ETenms-B5
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-CNS1-H-CID
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-CNS1-H-Host
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-CNS1-H-Mac
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-CNS1-UCS2
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-GB1-0
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-GB1-1
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-GB1-2
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-GB1-3
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-GB1-4
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-GB1-5
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-GB1-GBK-EUC
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-GB1-GBpc-EUC
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-GB1-H-CID
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-GB1-H-Host
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-GB1-H-Mac
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-GB1-UCS2
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-0
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-1
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-2
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-3
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-4
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-5
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-6
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-90ms-RKSJ
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-90pv-RKSJ
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-H-CID
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-H-Host
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-H-Mac
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-PS-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-PS-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-UCS2
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan2-0
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Korea1-0
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Korea1-1
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Korea1-2
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Korea1-H-CID
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Korea1-H-Host
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Korea1-H-Mac
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Korea1-KSCms-UHC
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Korea1-KSCpc-EUC
-share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Korea1-UCS2
-share/ghostscript/${PKGVERSION}/Resource/CMap/B5-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/B5-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/B5pc-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/B5pc-UCS2
-share/ghostscript/${PKGVERSION}/Resource/CMap/B5pc-UCS2C
-share/ghostscript/${PKGVERSION}/Resource/CMap/B5pc-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/CNS-EUC-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/CNS-EUC-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/CNS01-RKSJ-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/CNS02-RKSJ-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/CNS03-RKSJ-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/CNS04-RKSJ-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/CNS05-RKSJ-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/CNS06-RKSJ-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/CNS07-RKSJ-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/CNS1-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/CNS1-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/CNS15-RKSJ-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/CNS2-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/CNS2-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/ETHK-B5-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/ETHK-B5-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/ETen-B5-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/ETen-B5-UCS2
-share/ghostscript/${PKGVERSION}/Resource/CMap/ETen-B5-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/ETenms-B5-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/ETenms-B5-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/EUC-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/EUC-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/Ext-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/Ext-RKSJ-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/Ext-RKSJ-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/Ext-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/GB-EUC-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/GB-EUC-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/GB-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/GB-RKSJ-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/GB-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/GBK-EUC-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/GBK-EUC-UCS2
-share/ghostscript/${PKGVERSION}/Resource/CMap/GBK-EUC-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/GBK2K-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/GBK2K-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/GBKp-EUC-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/GBKp-EUC-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/GBT-EUC-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/GBT-EUC-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/GBT-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/GBT-RKSJ-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/GBT-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/GBTpc-EUC-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/GBTpc-EUC-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/GBpc-EUC-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/GBpc-EUC-UCS2
-share/ghostscript/${PKGVERSION}/Resource/CMap/GBpc-EUC-UCS2C
-share/ghostscript/${PKGVERSION}/Resource/CMap/GBpc-EUC-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/H
-share/ghostscript/${PKGVERSION}/Resource/CMap/HK-RKSJ-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/HKdla-B5-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/HKdla-B5-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/HKdlb-B5-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/HKdlb-B5-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/HKgccs-B5-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/HKgccs-B5-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/HKm314-B5-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/HKm314-B5-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/HKm471-B5-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/HKm471-B5-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/HKscs-B5-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/HKscs-B5-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/Hankaku
-share/ghostscript/${PKGVERSION}/Resource/CMap/Hiragana
-share/ghostscript/${PKGVERSION}/Resource/CMap/Hojo-EUC-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/Hojo-EUC-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/Hojo-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/Hojo-RKSJ-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/Hojo-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/Identity-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/Identity-UTF16-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/Identity-UTF16-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/Identity-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/KSC-EUC-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/KSC-EUC-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/KSC-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/KSC-Johab-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/KSC-Johab-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/KSC-RKSJ-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/KSC-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/KSC2-RKSJ-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/KSCms-UHC-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/KSCms-UHC-HW-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/KSCms-UHC-HW-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/KSCms-UHC-UCS2
-share/ghostscript/${PKGVERSION}/Resource/CMap/KSCms-UHC-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/KSCpc-EUC-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/KSCpc-EUC-UCS2
-share/ghostscript/${PKGVERSION}/Resource/CMap/KSCpc-EUC-UCS2C
-share/ghostscript/${PKGVERSION}/Resource/CMap/KSCpc-EUC-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/Katakana
-share/ghostscript/${PKGVERSION}/Resource/CMap/NWP-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/NWP-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/RKSJ-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/RKSJ-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/Roman
-share/ghostscript/${PKGVERSION}/Resource/CMap/TCVN-RKSJ-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/UCS2-90ms-RKSJ
-share/ghostscript/${PKGVERSION}/Resource/CMap/UCS2-90pv-RKSJ
-share/ghostscript/${PKGVERSION}/Resource/CMap/UCS2-B5pc
-share/ghostscript/${PKGVERSION}/Resource/CMap/UCS2-ETen-B5
-share/ghostscript/${PKGVERSION}/Resource/CMap/UCS2-GBK-EUC
-share/ghostscript/${PKGVERSION}/Resource/CMap/UCS2-GBpc-EUC
-share/ghostscript/${PKGVERSION}/Resource/CMap/UCS2-KSCms-UHC
-share/ghostscript/${PKGVERSION}/Resource/CMap/UCS2-KSCpc-EUC
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniCNS-UCS2-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniCNS-UCS2-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniCNS-UTF16-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniCNS-UTF16-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniCNS-UTF32-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniCNS-UTF32-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniCNS-UTF8-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniCNS-UTF8-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniGB-UCS2-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniGB-UCS2-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniGB-UTF16-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniGB-UTF16-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniGB-UTF32-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniGB-UTF32-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniGB-UTF8-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniGB-UTF8-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniHojo-UCS2-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniHojo-UCS2-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniHojo-UTF16-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniHojo-UTF16-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniHojo-UTF32-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniHojo-UTF32-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniHojo-UTF8-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniHojo-UTF8-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS-UCS2-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS-UCS2-HW-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS-UCS2-HW-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS-UCS2-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS-UTF16-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS-UTF16-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS-UTF32-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS-UTF32-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS-UTF8-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS-UTF8-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS2004-UTF16-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS2004-UTF16-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS2004-UTF32-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS2004-UTF32-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS2004-UTF8-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS2004-UTF8-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniJISPro-UCS2-HW-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniJISPro-UCS2-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniJISPro-UTF8-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniJISX0213-UTF32-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniJISX0213-UTF32-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniJISX02132004-UTF32-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniJISX02132004-UTF32-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniKS-UCS2-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniKS-UCS2-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniKS-UTF16-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniKS-UTF16-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniKS-UTF32-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniKS-UTF32-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniKS-UTF8-H
-share/ghostscript/${PKGVERSION}/Resource/CMap/UniKS-UTF8-V
-share/ghostscript/${PKGVERSION}/Resource/CMap/V
-share/ghostscript/${PKGVERSION}/Resource/CMap/WP-Symbol
-share/ghostscript/${PKGVERSION}/Resource/ColorSpace/DefaultCMYK
-share/ghostscript/${PKGVERSION}/Resource/ColorSpace/DefaultGray
-share/ghostscript/${PKGVERSION}/Resource/ColorSpace/DefaultRGB
-share/ghostscript/${PKGVERSION}/Resource/ColorSpace/TrivialCMYK
-share/ghostscript/${PKGVERSION}/Resource/ColorSpace/sGray
-share/ghostscript/${PKGVERSION}/Resource/ColorSpace/sRGB
-share/ghostscript/${PKGVERSION}/Resource/Decoding/FCO_Dingbats
-share/ghostscript/${PKGVERSION}/Resource/Decoding/FCO_Symbol
-share/ghostscript/${PKGVERSION}/Resource/Decoding/FCO_Unicode
-share/ghostscript/${PKGVERSION}/Resource/Decoding/FCO_Wingdings
-share/ghostscript/${PKGVERSION}/Resource/Decoding/Latin1
-share/ghostscript/${PKGVERSION}/Resource/Decoding/StandardEncoding
-share/ghostscript/${PKGVERSION}/Resource/Decoding/Unicode
-share/ghostscript/${PKGVERSION}/Resource/Encoding/Wingdings
-share/ghostscript/${PKGVERSION}/Resource/Font/CenturySchL-Bold
-share/ghostscript/${PKGVERSION}/Resource/Font/CenturySchL-BoldItal
-share/ghostscript/${PKGVERSION}/Resource/Font/CenturySchL-Ital
-share/ghostscript/${PKGVERSION}/Resource/Font/CenturySchL-Roma
-share/ghostscript/${PKGVERSION}/Resource/Font/Dingbats
-share/ghostscript/${PKGVERSION}/Resource/Font/NimbusMonL-Bold
-share/ghostscript/${PKGVERSION}/Resource/Font/NimbusMonL-BoldObli
-share/ghostscript/${PKGVERSION}/Resource/Font/NimbusMonL-Regu
-share/ghostscript/${PKGVERSION}/Resource/Font/NimbusMonL-ReguObli
-share/ghostscript/${PKGVERSION}/Resource/Font/NimbusRomNo9L-Medi
-share/ghostscript/${PKGVERSION}/Resource/Font/NimbusRomNo9L-MediItal
-share/ghostscript/${PKGVERSION}/Resource/Font/NimbusRomNo9L-Regu
-share/ghostscript/${PKGVERSION}/Resource/Font/NimbusRomNo9L-ReguItal
-share/ghostscript/${PKGVERSION}/Resource/Font/NimbusSanL-Bold
-share/ghostscript/${PKGVERSION}/Resource/Font/NimbusSanL-BoldCond
-share/ghostscript/${PKGVERSION}/Resource/Font/NimbusSanL-BoldCondItal
-share/ghostscript/${PKGVERSION}/Resource/Font/NimbusSanL-BoldItal
-share/ghostscript/${PKGVERSION}/Resource/Font/NimbusSanL-Regu
-share/ghostscript/${PKGVERSION}/Resource/Font/NimbusSanL-ReguCond
-share/ghostscript/${PKGVERSION}/Resource/Font/NimbusSanL-ReguCondItal
-share/ghostscript/${PKGVERSION}/Resource/Font/NimbusSanL-ReguItal
-share/ghostscript/${PKGVERSION}/Resource/Font/StandardSymL
-share/ghostscript/${PKGVERSION}/Resource/Font/URWBookmanL-DemiBold
-share/ghostscript/${PKGVERSION}/Resource/Font/URWBookmanL-DemiBoldItal
-share/ghostscript/${PKGVERSION}/Resource/Font/URWBookmanL-Ligh
-share/ghostscript/${PKGVERSION}/Resource/Font/URWBookmanL-LighItal
-share/ghostscript/${PKGVERSION}/Resource/Font/URWChanceryL-MediItal
-share/ghostscript/${PKGVERSION}/Resource/Font/URWGothicL-Book
-share/ghostscript/${PKGVERSION}/Resource/Font/URWGothicL-BookObli
-share/ghostscript/${PKGVERSION}/Resource/Font/URWGothicL-Demi
-share/ghostscript/${PKGVERSION}/Resource/Font/URWGothicL-DemiObli
-share/ghostscript/${PKGVERSION}/Resource/Font/URWPalladioL-Bold
-share/ghostscript/${PKGVERSION}/Resource/Font/URWPalladioL-BoldItal
-share/ghostscript/${PKGVERSION}/Resource/Font/URWPalladioL-Ital
-share/ghostscript/${PKGVERSION}/Resource/Font/URWPalladioL-Roma
-share/ghostscript/${PKGVERSION}/Resource/Init/FCOfontmap-PCLPS2
-share/ghostscript/${PKGVERSION}/Resource/Init/Fontmap
-share/ghostscript/${PKGVERSION}/Resource/Init/Fontmap.GS
-share/ghostscript/${PKGVERSION}/Resource/Init/cidfmap
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_agl.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_btokn.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_cet.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_cff.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_cidcm.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_ciddc.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_cidfm.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_cidfn.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_cidtt.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_cmap.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_cspace.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_css_e.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_dbt_e.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_diskf.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_diskn.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_dpnxt.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_dps.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_dps1.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_dps2.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_dscp.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_epsf.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_fapi.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_fntem.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_fonts.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_frsd.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_icc.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_il1_e.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_img.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_init.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_l2img.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_lev2.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_ll3.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_mex_e.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_mgl_e.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_mro_e.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_pdf_e.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_pdfwr.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_res.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_resmp.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_setpd.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_statd.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_std_e.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_sym_e.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_trap.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_ttf.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_typ32.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_typ42.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_type1.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/gs_wan_e.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/opdfread.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/pdf_base.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/pdf_cslayer.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/pdf_draw.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/pdf_font.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/pdf_main.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/pdf_ops.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/pdf_rbld.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/pdf_sec.ps
-share/ghostscript/${PKGVERSION}/Resource/Init/xlatmap
-share/ghostscript/${PKGVERSION}/Resource/SubstCID/CNS1-WMode
-share/ghostscript/${PKGVERSION}/Resource/SubstCID/GB1-WMode
-share/ghostscript/${PKGVERSION}/Resource/SubstCID/Japan1-WMode
-share/ghostscript/${PKGVERSION}/Resource/SubstCID/Korea1-WMode
+${PLIST.cups}share/examples/cups/gstoraster.convs
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CIDFSubst/DroidSansFallback.ttf
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CIDFont/ArtifexBullet
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/78-EUC-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/78-EUC-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/78-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/78-RKSJ-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/78-RKSJ-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/78-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/78ms-RKSJ-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/78ms-RKSJ-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/83pv-RKSJ-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/90ms-RKSJ-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/90ms-RKSJ-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/90msp-RKSJ-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/90msp-RKSJ-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/90pv-RKSJ-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/90pv-RKSJ-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Add-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Add-RKSJ-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Add-RKSJ-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Add-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-CNS1-0
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-CNS1-1
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-CNS1-2
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-CNS1-3
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-CNS1-4
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-CNS1-5
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-CNS1-6
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-GB1-0
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-GB1-1
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-GB1-2
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-GB1-3
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-GB1-4
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-GB1-5
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-0
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-1
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-2
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-3
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-4
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-5
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Japan1-6
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Korea1-0
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Korea1-1
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Adobe-Korea1-2
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/B5-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/B5-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/B5pc-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/B5pc-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/CNS-EUC-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/CNS-EUC-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/CNS1-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/CNS1-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/CNS2-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/CNS2-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/ETHK-B5-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/ETHK-B5-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/ETen-B5-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/ETen-B5-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/ETenms-B5-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/ETenms-B5-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/EUC-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/EUC-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Ext-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Ext-RKSJ-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Ext-RKSJ-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Ext-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/GB-EUC-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/GB-EUC-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/GB-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/GB-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/GBK-EUC-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/GBK-EUC-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/GBK2K-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/GBK2K-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/GBKp-EUC-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/GBKp-EUC-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/GBT-EUC-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/GBT-EUC-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/GBT-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/GBT-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/GBTpc-EUC-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/GBTpc-EUC-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/GBpc-EUC-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/GBpc-EUC-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/HKdla-B5-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/HKdla-B5-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/HKdlb-B5-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/HKdlb-B5-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/HKgccs-B5-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/HKgccs-B5-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/HKm314-B5-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/HKm314-B5-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/HKm471-B5-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/HKm471-B5-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/HKscs-B5-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/HKscs-B5-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Hankaku
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Hiragana
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Identity-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Identity-UTF16-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Identity-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/KSC-EUC-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/KSC-EUC-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/KSC-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/KSC-Johab-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/KSC-Johab-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/KSC-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/KSCms-UHC-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/KSCms-UHC-HW-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/KSCms-UHC-HW-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/KSCms-UHC-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/KSCpc-EUC-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/KSCpc-EUC-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Katakana
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/NWP-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/NWP-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/RKSJ-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/RKSJ-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/Roman
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniCNS-UCS2-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniCNS-UCS2-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniCNS-UTF16-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniCNS-UTF16-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniCNS-UTF32-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniCNS-UTF32-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniCNS-UTF8-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniCNS-UTF8-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniGB-UCS2-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniGB-UCS2-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniGB-UTF16-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniGB-UTF16-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniGB-UTF32-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniGB-UTF32-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniGB-UTF8-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniGB-UTF8-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniHojo-UCS2-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS-UCS2-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS-UCS2-HW-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS-UCS2-HW-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS-UCS2-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS-UTF16-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS-UTF16-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS-UTF32-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS-UTF32-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS-UTF8-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS-UTF8-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS2004-UTF16-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS2004-UTF16-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS2004-UTF32-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS2004-UTF32-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS2004-UTF8-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniJIS2004-UTF8-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniJISPro-UCS2-HW-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniJISPro-UCS2-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniJISPro-UTF8-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniJISX0213-UTF32-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniJISX0213-UTF32-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniJISX02132004-UTF32-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniJISX02132004-UTF32-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniKS-UCS2-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniKS-UCS2-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniKS-UTF16-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniKS-UTF16-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniKS-UTF32-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniKS-UTF32-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniKS-UTF8-H
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/UniKS-UTF8-V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/V
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/CMap/WP-Symbol
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/ColorSpace/DefaultCMYK
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/ColorSpace/DefaultGray
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/ColorSpace/DefaultRGB
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/ColorSpace/TrivialCMYK
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/ColorSpace/sGray
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/ColorSpace/sRGB
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Decoding/FCO_Dingbats
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Decoding/FCO_Symbol
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Decoding/FCO_Unicode
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Decoding/FCO_Wingdings
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Decoding/Latin1
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Decoding/StandardEncoding
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Decoding/Unicode
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Encoding/Wingdings
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/CenturySchL-Bold
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/CenturySchL-BoldItal
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/CenturySchL-Ital
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/CenturySchL-Roma
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/Dingbats
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusMonL-Bold
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusMonL-BoldObli
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusMonL-Regu
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusMonL-ReguObli
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusRomNo9L-Medi
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusRomNo9L-MediItal
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusRomNo9L-Regu
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusRomNo9L-ReguItal
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusSanL-Bold
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusSanL-BoldCond
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusSanL-BoldCondItal
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusSanL-BoldItal
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusSanL-Regu
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusSanL-ReguCond
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusSanL-ReguCondItal
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusSanL-ReguItal
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/StandardSymL
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/URWBookmanL-DemiBold
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/URWBookmanL-DemiBoldItal
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/URWBookmanL-Ligh
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/URWBookmanL-LighItal
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/URWChanceryL-MediItal
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/URWGothicL-Book
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/URWGothicL-BookObli
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/URWGothicL-Demi
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/URWGothicL-DemiObli
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/URWPalladioL-Bold
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/URWPalladioL-BoldItal
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/URWPalladioL-Ital
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/URWPalladioL-Roma
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/FAPIcidfmap
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/FAPIconfig
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/FAPIfontmap
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/FCOfontmap-PCLPS2
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/Fontmap
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/Fontmap.GS
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/cidfmap.dist
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_agl.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_btokn.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_cet.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_cff.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_cidcm.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_ciddc.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_cidfm.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_cidfn.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_cidtt.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_cmap.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_cspace.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_css_e.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_dbt_e.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_diskf.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_diskn.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_dpnxt.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_dps.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_dps1.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_dps2.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_dscp.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_epsf.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_fapi.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_fntem.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_fonts.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_frsd.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_icc.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_il1_e.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_img.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_init.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_l2img.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_lev2.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_ll3.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_mex_e.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_mgl_e.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_mro_e.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_pdf_e.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_pdfwr.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_res.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_resmp.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_setpd.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_statd.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_std_e.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_sym_e.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_trap.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_ttf.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_typ32.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_typ42.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_type1.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/gs_wan_e.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/pdf_base.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/pdf_cslayer.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/pdf_draw.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/pdf_font.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/pdf_main.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/pdf_ops.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/pdf_rbld.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/pdf_sec.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Init/xlatmap
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/SubstCID/CNS1-WMode
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/SubstCID/GB1-WMode
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/SubstCID/Japan1-WMode
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/SubstCID/Korea1-WMode
share/ghostscript/${PKGVERSION}/doc/API.htm
share/ghostscript/${PKGVERSION}/doc/C-style.htm
share/ghostscript/${PKGVERSION}/doc/Changes.htm
@@ -450,6 +378,7 @@ share/ghostscript/${PKGVERSION}/doc/DLL.htm
share/ghostscript/${PKGVERSION}/doc/Deprecated.htm
share/ghostscript/${PKGVERSION}/doc/Details.htm
share/ghostscript/${PKGVERSION}/doc/Details8.htm
+share/ghostscript/${PKGVERSION}/doc/Details9.htm
share/ghostscript/${PKGVERSION}/doc/Develop.htm
share/ghostscript/${PKGVERSION}/doc/Devices.htm
share/ghostscript/${PKGVERSION}/doc/Drivers.htm
@@ -464,6 +393,7 @@ share/ghostscript/${PKGVERSION}/doc/History5.htm
share/ghostscript/${PKGVERSION}/doc/History6.htm
share/ghostscript/${PKGVERSION}/doc/History7.htm
share/ghostscript/${PKGVERSION}/doc/History8.htm
+share/ghostscript/${PKGVERSION}/doc/History9.htm
share/ghostscript/${PKGVERSION}/doc/Install.htm
share/ghostscript/${PKGVERSION}/doc/Issues.htm
share/ghostscript/${PKGVERSION}/doc/Language.htm
@@ -475,7 +405,6 @@ share/ghostscript/${PKGVERSION}/doc/Ps-style.htm
share/ghostscript/${PKGVERSION}/doc/Ps2epsi.htm
share/ghostscript/${PKGVERSION}/doc/Ps2pdf.htm
share/ghostscript/${PKGVERSION}/doc/Psfiles.htm
-share/ghostscript/${PKGVERSION}/doc/README
share/ghostscript/${PKGVERSION}/doc/Readme.htm
share/ghostscript/${PKGVERSION}/doc/Release.htm
share/ghostscript/${PKGVERSION}/doc/Source.htm
@@ -487,6 +416,18 @@ share/ghostscript/${PKGVERSION}/doc/index.html
share/ghostscript/${PKGVERSION}/examples/alphabet.ps
share/ghostscript/${PKGVERSION}/examples/annots.pdf
share/ghostscript/${PKGVERSION}/examples/chess.ps
+share/ghostscript/${PKGVERSION}/examples/cjk/all_ac1.ps
+share/ghostscript/${PKGVERSION}/examples/cjk/all_ag1.ps
+share/ghostscript/${PKGVERSION}/examples/cjk/all_aj1.ps
+share/ghostscript/${PKGVERSION}/examples/cjk/all_aj2.ps
+share/ghostscript/${PKGVERSION}/examples/cjk/all_ak1.ps
+share/ghostscript/${PKGVERSION}/examples/cjk/article9.ps
+share/ghostscript/${PKGVERSION}/examples/cjk/gscjk_ac.ps
+share/ghostscript/${PKGVERSION}/examples/cjk/gscjk_ag.ps
+share/ghostscript/${PKGVERSION}/examples/cjk/gscjk_aj.ps
+share/ghostscript/${PKGVERSION}/examples/cjk/gscjk_ak.ps
+share/ghostscript/${PKGVERSION}/examples/cjk/iso2022.ps
+share/ghostscript/${PKGVERSION}/examples/cjk/iso2022v.ps
share/ghostscript/${PKGVERSION}/examples/colorcir.ps
share/ghostscript/${PKGVERSION}/examples/doretree.ps
share/ghostscript/${PKGVERSION}/examples/escher.ps
@@ -497,6 +438,16 @@ share/ghostscript/${PKGVERSION}/examples/snowflak.ps
share/ghostscript/${PKGVERSION}/examples/tiger.eps
share/ghostscript/${PKGVERSION}/examples/vasarely.ps
share/ghostscript/${PKGVERSION}/examples/waterfal.ps
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/iccprofiles/default_cmyk.icc
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/iccprofiles/default_gray.icc
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/iccprofiles/default_rgb.icc
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/iccprofiles/gray_to_k.icc
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/iccprofiles/lab.icc
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/iccprofiles/ps_cmyk.icc
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/iccprofiles/ps_gray.icc
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/iccprofiles/ps_rgb.icc
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/iccprofiles/sgray.icc
+${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/iccprofiles/srgb.icc
share/ghostscript/${PKGVERSION}/lib/PDFA_def.ps
share/ghostscript/${PKGVERSION}/lib/PDFX_def.ps
share/ghostscript/${PKGVERSION}/lib/PM760p.upp
@@ -520,7 +471,6 @@ share/ghostscript/${PKGVERSION}/lib/Stp870pl.upp
share/ghostscript/${PKGVERSION}/lib/acctest.ps
share/ghostscript/${PKGVERSION}/lib/addxchar.ps
share/ghostscript/${PKGVERSION}/lib/align.ps
-share/ghostscript/${PKGVERSION}/lib/bdftops.ps
share/ghostscript/${PKGVERSION}/lib/bj8.rpd
share/ghostscript/${PKGVERSION}/lib/bj8gc12f.upp
share/ghostscript/${PKGVERSION}/lib/bj8hg12f.upp
@@ -611,7 +561,6 @@ share/ghostscript/${PKGVERSION}/lib/pdfwrite.ps
share/ghostscript/${PKGVERSION}/lib/pf2afm.ps
share/ghostscript/${PKGVERSION}/lib/pfbtopfa.ps
share/ghostscript/${PKGVERSION}/lib/ppath.ps
-share/ghostscript/${PKGVERSION}/lib/pphs
share/ghostscript/${PKGVERSION}/lib/pphs.ps
share/ghostscript/${PKGVERSION}/lib/prfont.ps
share/ghostscript/${PKGVERSION}/lib/printafm.ps
diff --git a/print/ghostscript/distinfo b/print/ghostscript/distinfo
index 6a14d7f966f..e7c1cfa8e85 100644
--- a/print/ghostscript/distinfo
+++ b/print/ghostscript/distinfo
@@ -1,24 +1,17 @@
-$NetBSD: distinfo,v 1.38 2012/09/12 11:27:05 drochner Exp $
+$NetBSD: distinfo,v 1.39 2012/10/07 14:19:18 mef Exp $
-SHA1 (ghostscript-8.71.tar.gz) = 629299140f612fac32f6289be0904107dfd1b555
-RMD160 (ghostscript-8.71.tar.gz) = efce74cf22cf99b2b1a145df466e79a86e3dfefb
-Size (ghostscript-8.71.tar.gz) = 25240801 bytes
-SHA1 (patch-CVE-2012-4405) = 994d07c0d3e7daf206e4e93ffdeae1a44a457656
-SHA1 (patch-aa) = 31f2107c474398a350916df6fe793a5920f81169
-SHA1 (patch-ab) = 7a98cad37f94394f172bdac23f5dd73fb1f08006
-SHA1 (patch-ac) = b1f71dc446f433be0b07b0511dc1028e8e3b77f3
-SHA1 (patch-ad) = 8b3b743b2d6405ea35bfb16970942ecd55702401
-SHA1 (patch-ae) = e015d340a69da3881d4c95ae169ff255f1ffcfd4
-SHA1 (patch-af) = 13aa7b5159cbd5413353b48380d5665ed879fe64
-SHA1 (patch-ag) = bdfbe40c849537d84ac2b3def4a0a3a87ecc152f
-SHA1 (patch-ah) = 2007d42df0bf1d93af90dedaadc882da9fc3e5bc
-SHA1 (patch-ai) = ad69ddd4a4bd50cf2263ac6c6d17a59798ef3124
+SHA1 (ghostscript-9.05.tar.bz2) = 1a54a846e90ae95b5307f4f0459d044b9597d8cf
+RMD160 (ghostscript-9.05.tar.bz2) = 27935f60083b788b2793b19ee42f3663082ba084
+Size (ghostscript-9.05.tar.bz2) = 28279634 bytes
+SHA1 (patch-CVE-2012-4405) = 1dcb4cfeceb366c144e0a1337c6ccc2d8e13e4ca
+SHA1 (patch-af) = 77683ee52c886ecc0efe23e2b62fca533a187a09
+SHA1 (patch-ah) = 7a20008f9b3974cd93a4398958692a2df286919a
+SHA1 (patch-ai) = 8a3de7e097d3d893a0de4ea2936acf192f770c65
SHA1 (patch-aj) = 620d921210b5c0efec0a84e33bc416e4ab4bd11c
-SHA1 (patch-ak) = faa53c79c1a85317195baf76d8298767b6434636
SHA1 (patch-al) = 86489b704c60320385794c3eb68170d9b9f1f6cc
-SHA1 (patch-am) = 47a994e902d565f2a06b054766d6fa93c7534d21
-SHA1 (patch-an) = 875360319e486f4606627d8cfa3dbffd48d76130
-SHA1 (patch-ba) = 9c9f9aa27bcbcb43c9eb3b7f7ae6d70fb6545057
-SHA1 (patch-bb) = 6487b61fafe39a4ac8141b9f84044fc210df66ac
-SHA1 (patch-bc) = c35ee6c3075b89714fbb74956d68747d3c17bf9c
-SHA1 (patch-bd) = f7a0448317118bd46d84d9cbc8f4c553175f1e74
+SHA1 (patch-an) = 22ed9965aec5d540adb31334d8dd9e05eab8e0c2
+SHA1 (patch-base_gdevpng.c) = 24120e26bd2a846f6d4c8ab9753dfe91f151343f
+SHA1 (patch-base_gserrors_h) = fde64bd096a6e6f94005c8352a6295df06c19bae
+SHA1 (patch-configure.ac) = 450053cef6948c638bf8f72cfcba7391edb33600
+SHA1 (patch-freetype_include_freetype_internal_t1types_h) = 2f56641fb51555b83fd313534bd618764365aee0
+SHA1 (patch-openjpeg_libopenjpeg_opj_malloc_h) = 383db0c5909b9d7b33f8da341d82159dbf8594b5
diff --git a/print/ghostscript/options.mk b/print/ghostscript/options.mk
index c12ffe6a8fa..9dc1d2658b2 100644
--- a/print/ghostscript/options.mk
+++ b/print/ghostscript/options.mk
@@ -1,11 +1,15 @@
-# $NetBSD: options.mk,v 1.11 2010/12/23 11:44:54 dsainty Exp $
+# $NetBSD: options.mk,v 1.12 2012/10/07 14:19:18 mef Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.ghostscript
-PKG_SUPPORTED_OPTIONS= x11 cups debug fontconfig
+PKG_SUPPORTED_OPTIONS= x11 cups debug fontconfig disable-compile-inits
PKG_SUGGESTED_OPTIONS= x11 fontconfig
.include "../../mk/bsd.options.mk"
+# (no_cidfmap) when --disable-compile-inits selected,
+# cidfmap is renamed to cidfmap.dist
+PLIST_VARS+= no_cidfmap
+
.if !empty(PKG_OPTIONS:Mx11)
CONFIGURE_ARGS+= --with-x
.include "../../x11/libX11/buildlink3.mk"
@@ -13,6 +17,7 @@ CONFIGURE_ARGS+= --with-x
.include "../../x11/libXext/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-x
+CONFIGURE_ARGS+= --disable-freetype
.endif
PLIST_VARS+= cups
@@ -23,7 +28,7 @@ INSTALL_TARGET+= install-cups
CUPS_CONFDIR?= ${PKG_SYSCONFBASEDIR}/cups
CUPS_EGDIR= ${PREFIX}/share/examples/cups
-CONF_FILES+= ${CUPS_EGDIR}/pstoraster.convs ${CUPS_CONFDIR}/pstoraster.convs
+CONF_FILES+= ${CUPS_EGDIR}/gstoraster.convs ${CUPS_CONFDIR}/gstoraster.convs
SUBST_CLASSES+= cupsetc
SUBST_STAGE.cupsetc= post-extract
@@ -45,4 +50,13 @@ CONFIGURE_ARGS+= --enable-debug
.include "../../fonts/fontconfig/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-fontconfig
+CONFIGURE_ARGS+= --disable-freetype
+.endif
+
+# Please note the same if condition is in post-extract: target in Makefile
+.if !empty(PKG_OPTIONS:Mdisable-compile-inits)
+CONFIGURE_ARGS+= --disable-compile-inits
+PLIST.no_cidfmap= YES
+.else
+PLIST.cidfmap= YES
.endif
diff --git a/print/ghostscript/patches/patch-CVE-2012-4405 b/print/ghostscript/patches/patch-CVE-2012-4405
index ff1acc8728d..356d69f1b6f 100644
--- a/print/ghostscript/patches/patch-CVE-2012-4405
+++ b/print/ghostscript/patches/patch-CVE-2012-4405
@@ -1,18 +1,18 @@
-$NetBSD: patch-CVE-2012-4405,v 1.1 2012/09/12 11:27:05 drochner Exp $
+$NetBSD: patch-CVE-2012-4405,v 1.2 2012/10/07 14:19:18 mef Exp $
from RedHat bug #854227
--- icclib/icc.c.orig 2009-07-28 07:48:19.000000000 +0000
+++ icclib/icc.c
-@@ -5006,6 +5006,11 @@ static int icmLut_read(
- p->clutPoints = read_UInt8Number(bp+10);
+@@ -4996,6 +4996,11 @@
+ p->clutPoints = read_UInt8Number(bp+10);
- /* Sanity check */
+ /* Sanity check */
+ if (p->inputChan < 1) {
+ sprintf(icp->err,"icmLut_read: No input channels!");
+ return icp->errc = 1;
+ }
+
- if (p->inputChan > MAX_CHAN) {
- sprintf(icp->err,"icmLut_read: Can't handle > %d input channels\n",MAX_CHAN);
- return icp->errc = 1;
+ if (p->inputChan > MAX_CHAN) {
+ sprintf(icp->err,"icmLut_read: Can't handle > %d input channels\n",MAX_CHAN);
+ return icp->errc = 1;
diff --git a/print/ghostscript/patches/patch-af b/print/ghostscript/patches/patch-af
index 62a0e1dfb3b..4a579267a91 100644
--- a/print/ghostscript/patches/patch-af
+++ b/print/ghostscript/patches/patch-af
@@ -1,9 +1,23 @@
-$NetBSD: patch-af,v 1.6 2010/02/23 20:31:26 drochner Exp $
+$NetBSD: patch-af,v 1.7 2012/10/07 14:19:18 mef Exp $
---- base/unix-dll.mak.orig 2009-10-19 20:24:53.000000000 +0000
-+++ base/unix-dll.mak
-@@ -52,12 +52,12 @@ GS_SONAME_MAJOR_MINOR=$(GS_SONAME).$(GS_
- LDFLAGS_SO=-shared -Wl,-soname=$(GS_SONAME_MAJOR)
+(From the log for revision 1.4 of print/ghostscript/patches/patch-af)
+date: 2008/11/13 17:36:54; author: chuck; state: Exp; lines: +22 -4
+ghostscript has hand-rolled shared lib handling in src/unix-dll.mak
+that does not do the right thing on Darwin (where shared libs are
+created with different linking flags and use dylib rather than so
+as an extension).
+
+You need to manually reconfigure unix-dll.mak to make it work, so
+do it in hacks.mk.
+
+XXX: this still leaves the issue of libgs.so (et al.) being hardwired
+in PLIST, instead of using libgs.dylib (et al.). i'm not sure of
+the best way to fix that. at least it compiles now....
+
+--- base/unix-dll.mak.orig 2012-02-08 17:48:48.000000000 +0900
++++ base/unix-dll.mak 2012-04-01 10:55:27.000000000 +0900
+@@ -58,10 +58,10 @@
+
# MacOS X
-#GS_SOEXT=dylib
@@ -15,27 +29,19 @@ $NetBSD: patch-af,v 1.6 2010/02/23 20:31:26 drochner Exp $
+#Darwin#GS_SONAME_MAJOR=$(GS_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_SOEXT)
+#Darwin#GS_SONAME_MAJOR_MINOR=$(GS_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR).$(GS_SOEXT)
#LDFLAGS_SO=-dynamiclib -flat_namespace
--#LDFLAGS_SO=-dynamiclib -install_name $(GS_SONAME_MAJOR_MINOR)
-+#Darwin#LDFLAGS_SO=-dynamiclib -install_name $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR)
+ LDFLAGS_SO_MAC=-dynamiclib -install_name $(GS_SONAME_MAJOR_MINOR)
#LDFLAGS_SO=-dynamiclib -install_name $(FRAMEWORK_NAME)
-
- GS_SO=$(BINDIR)/$(GS_SONAME)
-@@ -80,15 +80,15 @@ $(GS_SO_MAJOR): $(GS_SO_MAJOR_MINOR)
-
+@@ -85,11 +85,11 @@
+ # Build the small Ghostscript loaders, with Gtk+ and without
$(GSSOC_XE): $(GS_SO) $(PSSRC)$(SOC_LOADER)
$(GLCC) -g -o $(GSSOC_XE) $(PSSRC)dxmainc.c \
-- $(LDFLAGS) -L$(BINDIR) -l$(GS)
-+ $(LDFLAGS) -L$(BINDIR) -Wl,-R$(PREFIX)/lib -l$(GS)
+- -L$(BINDIR) -l$(GS)
++ -L$(BINDIR) -Wl,-R$(PREFIX)/lib -l$(GS)
$(GSSOX_XE): $(GS_SO) $(PSSRC)$(SOC_LOADER)
$(GLCC) -g $(SOC_CFLAGS) -o $(GSSOX_XE) $(PSSRC)$(SOC_LOADER) \
-- $(LDFLAGS) -L$(BINDIR) -l$(GS) $(SOC_LIBS)
-+ $(LDFLAGS) -L$(BINDIR) -Wl,-R$(PREFIX)/lib -l$(GS) $(SOC_LIBS)
+- -L$(BINDIR) -l$(GS) $(SOC_LIBS)
++ -L$(BINDIR) -l$(GS) -Wl,-R$(PREFIX)/lib -l$(GS) $(SOC_LIBS)
# ------------------------- Recursive make targets ------------------------- #
--SODEFS=LDFLAGS='$(LDFLAGS) $(LDFLAGS_SO)'\
-+SODEFS=LDFLAGS='$(LDFLAGS)' LDFLAGS_SO='$(LDFLAGS_SO)'\
- GS_XE=$(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR)\
- STDIO_IMPLEMENTATION=c\
- DISPLAY_DEV=$(DD)$(SOOBJRELDIR)/display.dev\
diff --git a/print/ghostscript/patches/patch-ah b/print/ghostscript/patches/patch-ah
index 501801c6c37..7b078fa6eba 100644
--- a/print/ghostscript/patches/patch-ah
+++ b/print/ghostscript/patches/patch-ah
@@ -1,77 +1,13 @@
-$NetBSD: patch-ah,v 1.5 2010/06/13 22:45:15 wiz Exp $
+$NetBSD: patch-ah,v 1.6 2012/10/07 14:19:18 mef Exp $
---- configure.orig 2010-02-10 20:31:30.000000000 +0000
-+++ configure
-@@ -8126,7 +8126,7 @@ fi
-
+--- configure.orig 2011-08-05 20:12:44.000000000 +0900
++++ configure 2011-08-22 18:54:36.000000000 +0900
+@@ -5249,7 +5250,7 @@
fi
+
if test x$with_libpaper != xno; then
- LIBS="$LIBS -lpaper"
+ LIBS="$LIBS -L${LPLIBDIR} -Wl,-R${LPLIBDIR} -lpaper"
- cat >>confdefs.h <<\_ACEOF
- #define USE_LIBPAPER 1
-@@ -8739,9 +8739,9 @@ $as_echo "yes" >&6; }
- else
- { $as_echo "$as_me:$LINENO: result: no" >&5
- $as_echo "no" >&6; }
-- { $as_echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
--$as_echo_n "checking for png_check_sig in -lpng... " >&6; }
--if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
-+ { $as_echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
-+$as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
-+if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
- $as_echo_n "(cached) " >&6
- else
- ac_check_lib_save_LIBS=$LIBS
-@@ -8759,11 +8759,11 @@ cat >>conftest.$ac_ext <<_ACEOF
- #ifdef __cplusplus
- extern "C"
- #endif
--char png_check_sig ();
-+char png_sig_cmp ();
- int
- main ()
- {
--return png_check_sig ();
-+return png_sig_cmp ();
- ;
- return 0;
- }
-@@ -8789,12 +8789,12 @@ $as_echo "$ac_try_echo") >&5
- test "$cross_compiling" = yes ||
- $as_test_x conftest$ac_exeext
- }; then
-- ac_cv_lib_png_png_check_sig=yes
-+ ac_cv_lib_png_png_sig_cmp=yes
- else
- $as_echo "$as_me: failed program was:" >&5
- sed 's/^/| /' conftest.$ac_ext >&5
-
-- ac_cv_lib_png_png_check_sig=no
-+ ac_cv_lib_png_png_sig_cmp=no
- fi
-
- rm -rf conftest.dSYM
-@@ -8802,9 +8802,9 @@ rm -f core conftest.err conftest.$ac_obj
- conftest$ac_exeext conftest.$ac_ext
- LIBS=$ac_check_lib_save_LIBS
- fi
--{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
--$as_echo "$ac_cv_lib_png_png_check_sig" >&6; }
--if test "x$ac_cv_lib_png_png_check_sig" = x""yes; then
-+{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
-+$as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
-+if test "x$ac_cv_lib_png_png_sig_cmp" = x""yes; then
-
-
- for ac_header in png.h
-@@ -9203,7 +9203,7 @@ done
-
- fi
+ $as_echo "#define USE_LIBPAPER 1" >>confdefs.h
-- if test -z $LOCAL_LIBTIFF_VERSION && test "x$HAVE_SYSTEM_LIBTIFF" == x; then
-+ if test -z $LOCAL_LIBTIFF_VERSION && test "x$HAVE_SYSTEM_LIBTIFF" = x; then
- { $as_echo "$as_me:$LINENO: Could not find a copy of libtiff on your system.
- Disabling tiff output devices." >&5
- $as_echo "$as_me: Could not find a copy of libtiff on your system.
diff --git a/print/ghostscript/patches/patch-ai b/print/ghostscript/patches/patch-ai
index 337d58b866a..d8e77837977 100644
--- a/print/ghostscript/patches/patch-ai
+++ b/print/ghostscript/patches/patch-ai
@@ -1,8 +1,12 @@
-$NetBSD: patch-ai,v 1.4 2009/02/16 16:31:30 drochner Exp $
+$NetBSD: patch-ai,v 1.5 2012/10/07 14:19:18 mef Exp $
---- base/mkromfs.c.orig 2009-02-13 12:20:54.000000000 +0100
+replace BSD/Linux specific "qd" printf format specifier by "lld",
+should fix build problem on Solaris reported by Joern Clausen
+per PR pkg/40664
+
+--- base/mkromfs.c.orig 2009-02-13 12:20:54.000000000 +0100
+++ base/mkromfs.c
-@@ -467,7 +467,7 @@ main(int argc, char *argv[])
+@@ -1033,7 +1033,7 @@
#endif
fprintf(out,"\n#include \"stdint_.h\"\n");
fprintf(out,"\n#include \"time_.h\"\n\n");
@@ -10,4 +14,4 @@ $NetBSD: patch-ai,v 1.4 2009/02/16 16:31:30 drochner Exp $
+ fprintf(out," time_t gs_romfs_buildtime = %lld;\n\n", (long long)time(NULL));
/* process the remaining arguments (options interspersed with paths) */
- for (; atarg < argc; atarg++) {
+ for (; atarg < argc; atarg++) {
diff --git a/print/ghostscript/patches/patch-an b/print/ghostscript/patches/patch-an
index daae9289d37..bdd19fcf5f4 100644
--- a/print/ghostscript/patches/patch-an
+++ b/print/ghostscript/patches/patch-an
@@ -1,16 +1,22 @@
-$NetBSD: patch-an,v 1.3 2010/04/09 19:39:06 drochner Exp $
+$NetBSD: patch-an,v 1.4 2012/10/07 14:19:18 mef Exp $
---- psi/imainarg.c.orig 2009-12-08 06:31:51.000000000 +0000
-+++ psi/imainarg.c
-@@ -194,6 +194,11 @@ gs_main_init_with_args(gs_main_instance
- return e_Fatal;
- }
+Do some initialization of global stuff earlier, in particular before
+"@file" args get processed, fixes PR pkg/42984 from T. M. Pederson.
+I'm not 100% sure that this has no side effects (the initialization
+order in gs is messy and undocumented) but I haven't found any within
+some weeks of testing.
+
+--- psi/imainarg.c.orig 2011-01-13 23:37:33.000000000 +0900
++++ psi/imainarg.c 2011-03-30 16:22:08.000000000 +0900
+@@ -194,6 +194,11 @@
+ return e_Fatal;
+ }
}
+
+ code = gs_main_init1(minst);
+ if (code < 0)
-+ return code;
++ return code;
+
while ((arg = arg_next(&args, &code)) != 0) {
- switch (*arg) {
- case '-':
+ switch (*arg) {
+ case '-':
diff --git a/print/ghostscript/patches/patch-base_gdevpng.c b/print/ghostscript/patches/patch-base_gdevpng.c
new file mode 100644
index 00000000000..3d1adcc77aa
--- /dev/null
+++ b/print/ghostscript/patches/patch-base_gdevpng.c
@@ -0,0 +1,25 @@
+$NetBSD: patch-base_gdevpng.c,v 1.1 2012/10/07 14:19:18 mef Exp $
+
+The patch was included in patches/patch-ak:
+ revision 1.5
+ date: 2011/01/15 14:08:10; author: wiz; state: Exp; lines: +194 -29
+ Fix build with png-1.5. Patch from John Bowler in private mail.
+
+ and 'fix for build with png-1.5' is now included in upstream in different
+ shape, so some left out is here:
+
+--- base/gdevpng.c.orig 2011-08-05 20:12:20.000000000 +0900
++++ base/gdevpng.c 2011-08-22 19:04:12.000000000 +0900
+@@ -40,8 +40,11 @@
+ /*
+ * libpng versions 1.0.3 and later allow disabling access to the stdxxx
+ * files while retaining support for FILE * I/O.
++ *
++ * This is a misunderstanding - this is a build time option for libpng,
++ * it has no effect on a user of libpng.
+ */
+-#define PNG_NO_CONSOLE_IO
++/*#define PNG_NO_CONSOLE_IO*/
+ /*
+ * Earlier libpng versions require disabling FILE * I/O altogether.
+ * This produces a compiler warning about no prototype for png_init_io.
diff --git a/print/ghostscript/patches/patch-base_gserrors_h b/print/ghostscript/patches/patch-base_gserrors_h
new file mode 100644
index 00000000000..0e5449c3341
--- /dev/null
+++ b/print/ghostscript/patches/patch-base_gserrors_h
@@ -0,0 +1,15 @@
+$NetBSD: patch-base_gserrors_h,v 1.1 2012/10/07 14:19:18 mef Exp $
+# This suppresses the noisy warning that __func__ redefined
+
+--- base/gserrors.h.orig 2012-02-08 17:48:48.000000000 +0900
++++ base/gserrors.h 2012-03-24 07:26:35.000000000 +0900
+@@ -53,6 +53,9 @@
+ #define return_error(err) return gs_note_error(err)
+
+ #if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L
++# if (defined(__func__))
++# undef __func__
++# endif
+ # if defined(__GNUC__) && __GNUC__ >= 2
+ # define __func__ __FUNCTION__
+ # elif defined(__FUNCTION__)
diff --git a/print/ghostscript/patches/patch-configure.ac b/print/ghostscript/patches/patch-configure.ac
new file mode 100644
index 00000000000..b28325d70f3
--- /dev/null
+++ b/print/ghostscript/patches/patch-configure.ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure.ac,v 1.1 2012/10/07 14:19:18 mef Exp $
+
+See patch-ah (configure)
+
+--- base/configure.ac.orig 2011-08-05 20:12:20.000000000 +0900
++++ base/configure.ac 2011-08-22 19:10:30.000000000 +0900
+@@ -404,7 +404,7 @@
+ fi
+
+ if test x$with_libpaper != xno; then
+- LIBS="$LIBS -lpaper"
++ LIBS="$LIBS -L${LPLIBDIR} -Wl,-R${LPLIBDIR} -lpaper"
+ AC_DEFINE(USE_LIBPAPER, 1, [Using libpaper])
+ CFLAGS="$CFLAGS -DUSE_LIBPAPER"
+ fi
diff --git a/print/ghostscript/patches/patch-freetype_include_freetype_internal_t1types_h b/print/ghostscript/patches/patch-freetype_include_freetype_internal_t1types_h
new file mode 100644
index 00000000000..eb6f987221a
--- /dev/null
+++ b/print/ghostscript/patches/patch-freetype_include_freetype_internal_t1types_h
@@ -0,0 +1,26 @@
+$NetBSD: patch-freetype_include_freetype_internal_t1types_h,v 1.1 2012/10/07 14:19:18 mef Exp $
+
+To avoid redifintion of T1_EncodingType_ by:
+.include "../../fonts/fontconfig/buildlink3.mk"
+|
+v
+.include "../../graphics/freetype2/buildlink3.mk"
+
+--- freetype/include/freetype/internal/t1types.h.orig 2011-08-05 20:12:21.000000000 +0900
++++ freetype/include/freetype/internal/t1types.h 2011-12-09 21:24:06.000000000 +0900
+@@ -78,6 +78,7 @@
+ } T1_EncodingRec, *T1_Encoding;
+
+
++#ifndef __T1TABLES_H__
+ typedef enum T1_EncodingType_
+ {
+ T1_ENCODING_TYPE_NONE = 0,
+@@ -87,6 +88,7 @@
+ T1_ENCODING_TYPE_EXPERT
+
+ } T1_EncodingType;
++#endif
+
+
+ /* used to hold extra data of PS_FontInfoRec that
diff --git a/print/ghostscript/patches/patch-openjpeg_libopenjpeg_opj_malloc_h b/print/ghostscript/patches/patch-openjpeg_libopenjpeg_opj_malloc_h
new file mode 100644
index 00000000000..e1c0914b5ad
--- /dev/null
+++ b/print/ghostscript/patches/patch-openjpeg_libopenjpeg_opj_malloc_h
@@ -0,0 +1,19 @@
+$NetBSD: patch-openjpeg_libopenjpeg_opj_malloc_h,v 1.1 2012/10/07 14:19:19 mef Exp $
+
+To avoid following problem:
+| gcc .. (omitted).. g -o ./sobin/gsc ./psi/dxmainc.c \
+| -L./sobin -Wl,-R/usr/pkg/lib -lgs
+| ./sobin/libgs.so: undefined reference to `memalign'
+| gmake[2]: *** [sobin/gsc] Error 1
+
+--- openjpeg/libopenjpeg/opj_malloc.h.orig 2012-04-18 22:36:57.000000000 +0900
++++ openjpeg/libopenjpeg/opj_malloc.h 2012-04-18 22:54:13.000000000 +0900
+@@ -84,7 +84,7 @@
+ #if defined(__sun)
+ #define HAVE_MEMALIGN
+ /* Linux x86_64 and OSX always align allocations to 16 bytes */
+- #elif !defined(__amd64__) && !defined(__APPLE__)
++ #elif !defined(__amd64__) && !defined(__APPLE__) && !defined(__NetBSD__) && !defined(__DragonFly__)
+ #define HAVE_MEMALIGN
+ #include <malloc.h>
+ #endif