And now without the gtk flavour as default ... :(
On 1/14/22 22:56, Volker Schlecht wrote:
... and here's ghostscript using it.
On 1/14/22 22:35, Brad Smith wrote:
On 1/14/2022 2:16 PM, Volker Schlecht wrote:
Hi,
ok, so here's my first attempt. I did manage to use system and ports
libraries, except for jbig2dec. Here the version in ports is too old.
jbig2dec has been updated.
Index: Makefile
===================================================================
RCS file: /cvs/ports/print/ghostscript/gnu/Makefile,v
retrieving revision 1.117
diff -u -p -u -p -r1.117 Makefile
--- Makefile 28 Feb 2021 12:40:28 -0000 1.117
+++ Makefile 14 Jan 2022 21:58:48 -0000
@@ -1,161 +1,117 @@
-# $OpenBSD: Makefile,v 1.117 2021/02/28 12:40:28 sthen Exp $
+# $OpenBSD$
-COMMENT= GNU PostScript interpreter
+DPB_PROPERTIES = parallel
-VERSION= 9.07
-DISTNAME= ghostscript-${VERSION}
-CATEGORIES= print lang
-SHARED_LIBS= gs 15.0
-REVISION= 7
+COMMENT = PostScript and PDF interpreter
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ghostscript/}
+VERSION = 9.55.0
+DISTNAME = ghostscript-${VERSION}
+CATEGORIES = lang print
-PORTROACH=
site:https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/
+MASTER_SITES =
https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${VERSION:S/.//g}/
-HOMEPAGE= http://www.cs.wisc.edu/~ghost/
+PORTROACH =
site:https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/
-MAINTAINER= Matthias Kilian <k...@openbsd.org>
+HOMEPAGE = https://ghostscript.com/
-FLAVORS= a4 gtk no_x11
-FLAVOR?=
+MAINTAINER = Matthias Kilian <k...@openbsd.org>
-FLAVOR_STRING= ${FLAVOR_EXT:S/-/,/g}
-
-SUBST_VARS= VERSION FLAVOR_STRING
+FLAVORS = a4 gtk no_x11
+FLAVOR?=
+FLAVOR_STRING = ${FLAVOR_EXT:S/-/,/g}
# AGPLv3, except for the included CMap files from Adobe, which may
# only be redistributed without modifications.
-PERMIT_PACKAGE= Yes
-
-WANTLIB= c iconv ijs m jbig2dec jpeg>=62 lcms2 png>=6 pthread tiff z
-
-RUN_DEPENDS= print/ghostscript/gnu-fonts>=8.11p3
-LIB_DEPENDS= converters/libiconv \
- graphics/jbig2dec \
- graphics/jpeg \
- graphics/lcms2 \
- graphics/png \
- graphics/tiff \
- print/ijs
-
-CFLAGS+= -DSYS_TYPES_HAS_STDINT_TYPES \
- -I${LOCALBASE}/include \
- -I${LOCALBASE}/include/ijs
-
-STDLIBS= -pthread -lm -liconv
-
-# Note: all the device definitions are at the very end of this makefile.
-
-MAKE_FLAGS= BINDIR=./obj \
- CFLAGS_STANDARD='${CFLAGS} -fPIC' \
- COMPILE_INITS=0 \
- DEVICE_DEVS='${DEVICES:C/.*/\$(DD)&.dev/}' \
- EXTRALIBS="${EXTRALIBS}" \
- FT_BRIDGE=${FT_BRIDGE} \
- GLGENDIR=./obj \
- GLOBJDIR=./obj \
- GLSRCDIR=./base \
- ICCSRCDIR=./icclib \
- INSTALL='${INSTALL}' \
- INSTALL_DATA='${INSTALL_DATA}' \
- INSTALL_PROGRAM='${INSTALL_PROGRAM}' \
- LIBgs_VERSION=${LIBgs_VERSION} \
- PSGENDIR=./obj \
- PSLIBDIR=./lib \
- PSOBJDIR=./obj \
- PSSRCDIR=./psi \
- SHARE_FT=1 \
- SHARE_IJS=1 \
- SHARE_JBIG2=1 \
- SHARE_JPEG=1 \
- SHARE_LCMS=1 \
- SHARE_LIBPNG=1 \
- SHARE_LIBTIFF=1 \
- SHARE_ZLIB=1 \
- SOBINRELDIR=../obj \
- SOOBJRELDIR=../obj \
- SOC_CFLAGS="${SOC_CFLAGS}" \
- SOC_LIBS="${SOC_LIBS}" \
- STDLIBS='${STDLIBS}' \
- SYNC=posync \
- TRUE_PREFIX='${LOCALBASE}' \
- USE_GTK=${USE_GTK} \
- XLDFLAGS=-L${LOCALBASE}/lib \
- prefix='${PREFIX}'
+PERMIT_PACKAGE= Yes
-USE_GMAKE= Yes
+COMPILER = base-clang ports-gcc
-ALL_TARGET = so all ${ALL_TARGET_CUPS}
-INSTALL_TARGET = install install-so
+SHARED_LIBS = gs 16.0
-SOC_LIBS = -liconv -pthread
-
-.if ${FLAVOR:Ma4}
-CFLAGS+= -DA4
-.endif
+CFLAGS = -DSYS_TYPES_HAS_STDINT_TYPES
-# A word about the GTK_DEVICES and NOGTK_DEVICES variables.
-# Originally, the display device is used by the gtk+ versions of
-# ghostscript, but it works fine when called from external helpers or
-# libraries (e.g. libspectre). With the correct sorting of device
-# drivers, we can have a default output device set to x11 and a working
-# 'display' driver without enforcing the gtk FLAVOR.
+RUN_DEPENDS = print/ghostscript/gnu-fonts>=8.11p3
+LIB_DEPENDS += converters/libiconv
+LIB_DEPENDS += devel/libidn
+LIB_DEPENDS += graphics/jpeg
+LIB_DEPENDS += graphics/jbig2dec
+LIB_DEPENDS += graphics/openjp2
+LIB_DEPENDS += graphics/png
+LIB_DEPENDS += graphics/tiff
+LIB_DEPENDS += print/cups,-libs
+LIB_DEPENDS += print/ijs
+LIB_DEPENDS += print/libpaper
+
+WANTLIB = c m pthread z
+WANTLIB += cups
+WANTLIB += fontconfig
+WANTLIB += freetype
+WANTLIB += iconv idn ijs jpeg jbig2dec
+WANTLIB += openjp2 paper png tiff
+
+CONFIGURE_STYLE = simple
+
+CONFIGURE_ARGS = --prefix=${PREFIX}
+CONFIGURE_ARGS += --with-gs=gs
+CONFIGURE_ARGS += --enable-fontconfig
+CONFIGURE_ARGS += --enable-openjpeg
+CONFIGURE_ARGS += --without-tesseract
+CONFIGURE_ARGS += --enable-freetype
+CONFIGURE_ARGS += --with-system-libtiff
+CONFIGURE_ARGS += --with-libpaper
+CONFIGURE_ARGS += --with-libiconv=maybe
+CONFIGURE_ARGS += --with-fontpath=${LOCALBASE}/share/fonts
+CONFIGURE_ARGS += --with-drivers=FILES,PRINTERS,X11
+CONFIGURE_ARGS += --mandir=${LOCALBASE}/man
.if ${FLAVOR:Mgtk} && ${FLAVOR:Mno_x11}
-ERRORS+= "Fatal: Conflicting flavors: ${FLAVOR}"
+ERRORS += "Fatal: Conflicting flavors: ${FLAVOR}"
.elif ${FLAVOR:Mgtk}
-LIB_DEPENDS+= x11/gtk+2
-WANTLIB+= Xcomposite Xcursor Xdamage Xfixes Xi Xinerama
-WANTLIB+= Xrandr Xrender atk-1.0 cairo fontconfig freetype
-WANTLIB+= gdk-x11-2.0>=1000 gdk_pixbuf-2.0>=1000 gio-2.0 glib-2.0
-WANTLIB+= gobject-2.0 gtk-x11-2.0>=1000 iconv intl
-WANTLIB+= pango-1.0 pangocairo-1.0 pangoft2-1.0
-SOC_CFLAGS= $$(pkg-config gtk+-2.0 --cflags)
-SOC_LIBS+= $$(pkg-config gtk+-2.0 --libs)
-USE_GTK= Yes
-GTK_DEVICES= display
-NOGTK_DEVICES=
+LIB_DEPENDS += x11/gtk+3
+WANTLIB += ICE SM X11 Xext Xt
+WANTLIB += atk-1.0 cairo cairo-gobject gdk-3 gdk_pixbuf-2.0 gio-2.0
+WANTLIB += glib-2.0 gobject-2.0 gtk-3 harfbuzz intl pango-1.0
+WANTLIB += pangocairo-1.0
+CONFIGURE_ARGS += --enable-gtk
+.elif ${FLAVOR:Mno_x11}
+CFLAGS += "-I/usr/X11R6/include/"
+CONFIGURE_ARGS += --disable-dbus
+CONFIGURE_ARGS += --disable-gtk
+CONFIGURE_ARGS += --without-x
.else
-USE_GTK= No
-GTK_DEVICES=
-NOGTK_DEVICES= display
+WANTLIB += ICE SM X11 Xext Xt
+CONFIGURE_ARGS += --disable-gtk
+CONFIGURE_ARGS += --disable-dbus
+CONFIGURE_ARGS += --with-x
.endif
-
-.if !${FLAVOR:Mno_x11}
-# XXX -freetype flags should be set with FT_CFLAGS and FT_LIBS
-CFLAGS+= -I${X11BASE}/include \
- -I${X11BASE}/include/freetype2
-STDLIBS+= -lfreetype
-WANTLIB+= X11 Xt Xext freetype
-DEVICES+= ${GTK_DEVICES} ${X11_DEVICES} ${NOGTK_DEVICES}
-SOC_LIBS+= -L${X11BASE}/lib -lXt -lXt -lXext -lfreetype
-FT_BRIDGE= 1
-.else
-FT_BRIDGE= 0
+.if ${FLAVOR:Ma4}
+CFLAGS += -DA4
.endif
-NO_TEST= Yes
+# Needed to make the configure script detect libiconv
+CONFIGURE_ENV += LDFLAGS="-L${LOCALBASE}/lib"
-PATCHORIG= .pat.orig
+USE_GMAKE = Yes
-# Use the old-style (non-autoconf) build.
-post-extract:
- ln -s base/unix-gcc.mak ${WRKDIST}/Makefile
- cd ${WRKSRC} && mkdir junk && \
- mv expat freetype ijs jpeg lcms lcms2 libpng jbig2dec \
- openjpeg tiff zlib junk
-
-pre-build:
- mkdir -p ${WRKDIST}/obj
-
-pre-install:
- @${INSTALL_DATA_DIR} ${PREFIX}/share/ghostscript
- @${INSTALL_PROGRAM_DIR} ${PREFIX}/bin
- @${INSTALL_MAN_DIR} ${PREFIX}/man/man1
+SUBST_VARS = VERSION FLAVOR_STRING
-.ifdef(DEBUG)
-STRIP= :
-.endif
+ALL_TARGET = so all
+INSTALL_TARGET = soinstall install
+NO_TEST = Yes
+MAKE_FLAGS = LIB_VERSION_MAJOR=${LIBgs_VERSION:R} \
+ LIB_VERSION_MINOR=${LIBgs_VERSION:E}
+
+# Just delete all the bundled directories that are not needed
+pre-configure:
+ rm -rf ${WRKSRC}/freetype && \
+ rm -rf ${WRKSRC}/ijs && \
+ rm -rf ${WRKSRC}/jbig2dec && \
+ rm -rf ${WRKSRC}/jpeg && \
+ rm -rf ${WRKSRC}/libpng && \
+ rm -rf ${WRKSRC}/openjpeg && \
+ rm -rf ${WRKSRC}/tesseract && \
+ rm -rf ${WRKSRC}/tiff && \
+ rm -rf ${WRKSRC}/zlib
post-install:
if [ -x ${PREFIX}/bin/gsc ]; then \
@@ -164,145 +120,12 @@ post-install:
if [ -x ${PREFIX}/bin/gsx ]; then \
mv ${PREFIX}/bin/gsx ${PREFIX}/bin/gs; \
fi
+ if [ -x ${PREFIX}/lib/libgs.so ]; then \
+ rm ${PREFIX}/lib/libgs.so; \
+ fi
+ if [ -x ${PREFIX}/lib/libgs.so.${LIBgs_VERSION:R} ]; then \
+ rm ${PREFIX}/lib/libgs.so.${LIBgs_VERSION:R}; \
+ fi
${STRIP} ${PREFIX}/bin/gs
- cd ${PREFIX}/man/man1 && \
- ln -sf ps2ps.1 eps2eps.1 && \
- ln -sf gslp.1 gsbj.1 && \
- ln -sf gslp.1 gsdj.1 && \
- ln -sf gslp.1 gsdj500.1 && \
- ln -sf gslp.1 gslj.1 && \
- ln -sf ps2pdf.1 ps2pdf12.1 && \
- ln -sf ps2pdf.1 ps2pdf13.1 && \
- ln -sf ps2pdf.1 ps2pdf14.1
- cd ${PREFIX}/man/de/man1 && \
- ln -sf ps2pdf.1 ps2pdf12.1 && \
- ln -sf ps2pdf.1 ps2pdf13.1 && \
- ln -sf ps2pdf.1 ps2pdf14.1 && \
- ln -sf ps2ps.1 eps2eps.1
-
-# Device list based on configure.ac:
-# X_DEVS (skipping x11_ and x11alt_, since those are dependencies of
-# other devices).
-X11_DEVICES= x11 x11alpha x11cmyk x11cmyk2 x11cmyk4 x11cmyk8 \
- x11gray2 x11gray4 x11mono x11rg16x x11rg32x
-
-# HP_DEVS
-DEVICES+= cdeskjet cdj1600 cdj500 cdj550 cdj670 cdj850 cdj880 \
- cdj890 cdj970 cdjcolor cdjmono cdnj500 chp2200 cljet5 cljet5c \
- cljet5pr deskjet djet500 djet500c dnj650c hpdj1120c \
- hpdj310 hpdj320 hpdj340 hpdj400 hpdj500 hpdj500c \
- hpdj510 hpdj520 hpdj540 hpdj550c hpdj560c hpdj600 \
- hpdj660c hpdj670c hpdj680c hpdj690c hpdj850c hpdj855c \
- hpdj870c hpdj890c hpdjplus hpdjportable laserjet \
- lj3100sw lj4dith lj5gray lj5mono ljet2p ljet3 ljet3d \
- ljet4 ljet4d ljetplus lp2563 paintjet pcl3 pj pjetxl \
- pjxl pjxl300 pxlcolor pxlmono
-
-# PCLXL_DEVS
-DEVICES+= pxlmono pxlcolor
-
-# EPSON_DEVS
-DEVICES+= alc1900 alc2000 alc4000 alc4100 alc8500 alc8600 \
- alc9100 epl2050 epl2050p epl2120 epl2500 epl2750 \
- epl5800 epl5900 epl6100 epl6200 eplcolor eplmono eps9high
eps9mid \
- epson epsonc escp lp1800 lp1900 lp2200 lp2400 lp2500 \
- lp3000c lp7500 lp7700 lp7900 lp8000 lp8000c lp8100 \
- lp8200c lp8300c lp8300f lp8400f lp8500c lp8600 \
- lp8600f lp8700 lp8800c lp8900 lp9000b lp9000c lp9100 \
- lp9200b lp9200c lp9300 lp9400 lp9500c lp9600 lp9600s \
- lp9800c lps4500 lps6500 lq850 photoex st800 stcolor
-
-# CANON_DEVS
-DEVICES+= bj10e bj200 bjc600 bjc800 bjccmyk bjccolor bjcgray \
- bjcmono lbp8 lips3
-
-# LEXMARK_DEVS
-DEVICES+= lxm5700m lxm3200 lex2050 lex3200 lex5700 lex7000
-
-# BROTHER_DEVS
-DEVICES+= hl1240 hl1250 hl7x0
-
-# APPLE_DEVS
-DEVICES+= appledmp iwhi iwlo iwlq
-
-# IBM_DEVS
-DEVICES+= ibmpro jetp3852
-
-# OKI_DEVS
-DEVICES+= oki182 oki4w okiibm
-
-# JAPAN_DEVS
-DEVICES+= bj10v bj10vh bjc880j dj505j escpage fmlbp fmpr jj100 \
- lbp310 lbp320 lips2p lips4 lips4v lj4dithp ljet4pjl \
- lp2000 md1xMono md50Eco md50Mono mj500c mj6000c \
- mj700v2c mj8000c ml600 npdl picty180 pr1000 pr1000_4 \
- pr150 pr201 rpdl
-
-# MISC_PDEVS
-DEVICES+= ap3250 atx23 atx24 atx38 coslw2p coslwxl cp50 \
- declj250 dl2100 fs600 gdi imagen la50 la70 la75 \
- la75plus lj250 ln03 m8510 md2k md5k necp6 oce9050 \
- r4081 samsunggdi sj48 t4693d2 t4693d4 t4693d8 tek4696 \
- uniprint xes
-
-# OPVP_DEVS
-DEVICES+= oprp opvp
-
-# BMP_DEVS
-DEVICES+= bmp16 bmp16m bmp256 bmp32b bmpgray bmpmono bmpsep1 \
- bmpsep8
-
-# FAX_DEVS
-DEVICES+= cfax dfaxhigh dfaxlow fax faxg3 faxg32d faxg4 tfax \
- tiffg3 tiffg32d tiffg4
-
-# JPEG_DEVS
-DEVICES+= jpeg jpegcmyk jpeggray
-
-# PNG_DEVS (note: png48 not mentioned in configure.ac)
-DEVICES+= png16 png16m png256 png48 pngalpha pnggray pngmono
-
-# JBIG2_DEVS
-DEVICES+= jbig2
-
-# TIFF_DEVS
-DEVICES+= tiff12nc tiff24nc tiff32nc tiff48nc tiff64nc tiffcrle tiffgray
tifflzw \
- tiffpack tiffs tiffscaled tiffscaled24 tiffscaled8 tiffsep
tiffsep1
-
-# PCX_DEVS
-DEVICES+= pcx16 pcx24b pcx256 pcx2up pcxcmyk pcxgray pcxmono
-
-# PBM_DEVS
-DEVICES+= pam pamcmyk32 pamcmyk4 pbm pbmraw pgm pgmraw pgnm pgnmraw pkm
pkmraw \
- pksm pksmraw plan planc plang plank planm pnm pnmraw ppm ppmraw
-
-# PS_DEVS
-DEVICES+= bbox epswrite inkcov pdfwrite ps2write psdcmyk psdf psdrgb \
- psgray psmono psrgb pswrite txtwrite
-
-# MISC_FDEVS
-DEVICES+= bit bitcmyk bitrgb bitrgbtags ccr \
- cif devicen inferno mag16 mag256 mgr4 mgr8 mgrgray2 \
- mgrgray4 mgrgray8 mgrmono miff24 plan9bm sgirgb \
- spotcmyk sunhmono xcf
-
-# Aditional devices not mentioned in configure.ac:
-DEVICES+= ijs
-
-# Cups
-LIB_DEPENDS+= print/cups,-libs
-WANTLIB += cups cupsimage
-DEVICES+= cups
-ALL_TARGET_CUPS=cups
-CUPSLIBS+= $$(cups-config --image --libs)
-EXTRALIBS+= ${CUPSLIBS}
-SOC_LIBS+= ${CUPSLIBS}
-MAKE_FLAGS+= CUPSCFLAGS="$$(cups-config --cflags)" \
- CUPSSERVERBIN="$$(cups-config --serverbin)" \
- CUPSSERVERROOT="$$(cups-config --serverroot)" \
- CUPSDATA="$$(cups-config --datadir)" \
- CUPSPDFTORASTER=1 \
- CUPS_FONTPATH="${LOCALBASE}/share/cups/fonts" \
- CUPS_DATA="${LOCALBASE}/share/cups"
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/print/ghostscript/gnu/distinfo,v
retrieving revision 1.17
diff -u -p -u -p -r1.17 distinfo
--- distinfo 24 Dec 2013 15:18:38 -0000 1.17
+++ distinfo 14 Jan 2022 21:58:48 -0000
@@ -1,2 +1,2 @@
-SHA256 (ghostscript-9.07.tar.gz) = RIANAExT8TGS0bXbQTEZGY3fyKEcTSoDCqwvL9qCLr8=
-SIZE (ghostscript-9.07.tar.gz) = 31911560
+SHA256 (ghostscript-9.55.0.tar.gz) =
MeIGS+Z+FbR4qNoAfZbWzU0r7iU+W+IgcDoiX395pws=
+SIZE (ghostscript-9.55.0.tar.gz) = 82089478
Index: patches/patch-base_devs_mak
===================================================================
RCS file: patches/patch-base_devs_mak
diff -N patches/patch-base_devs_mak
--- patches/patch-base_devs_mak 24 Dec 2013 15:18:38 -0000 1.9
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,22 +0,0 @@
-$OpenBSD: patch-base_devs_mak,v 1.9 2013/12/24 15:18:38 kili Exp $
---- base/devs.mak.orig Thu Feb 14 08:58:13 2013
-+++ base/devs.mak Tue Sep 17 19:58:33 2013
-@@ -1841,14 +1841,11 @@ $(DD)plibk.dev : $(DEVS_MAK) $(plib_) $(GLD)page.dev $
- $(SETPDEV2) $(DD)plibk $(plib_)
-
- ### ------------------------------- CUPS ------------------------------- ###
--lcups_dev=$(LCUPSGENDIR)$(D)lcups.dev
--lcupsi_dev=$(LCUPSIGENDIR)$(D)lcupsi.dev
--
- cups_=$(GLOBJ)gdevcups.$(OBJ)
--$(DD)cups.dev : $(DEVS_MAK) $(lcups_dev) $(lcupsi_dev) $(cups_) $(GDEV)
-+$(DD)cups.dev : $(DEVS_MAK) $(cups_) $(GDEV)
- $(SETPDEV2) $(DD)cups $(cups_)
-- $(ADDMOD) $(DD)cups -include $(lcups_dev)
-- $(ADDMOD) $(DD)cups -include $(lcupsi_dev)
-+ $(ADDMOD) $(DD)cups
-+ $(ADDMOD) $(DD)cups
-
- $(GLOBJ)gdevcups.$(OBJ) : cups$(D)gdevcups.c $(std_h)
-- $(CUPS_CC) $(GLO_)gdevcups.$(OBJ) $(C_) $(CFLAGS) $(I_)$(GLSRC)
$(I_)$(GLOBJ) $(I_)$(LCUPSSRCDIR)$(D)libs $(LCUPSSRCDIR)$(D)gdevcups.c
-+ $(CUPS_CC) $(GLO_)gdevcups.$(OBJ) $(C_) $(CCFLAGS) $(I_)$(GLSRC)
$(I_)$(GLOBJ) cups$(D)gdevcups.c
Index: patches/patch-base_fapi_ft_c
===================================================================
RCS file: patches/patch-base_fapi_ft_c
diff -N patches/patch-base_fapi_ft_c
--- patches/patch-base_fapi_ft_c 27 Oct 2020 06:56:07 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,38 +0,0 @@
-$OpenBSD: patch-base_fapi_ft_c,v 1.1 2020/10/27 06:56:07 matthieu Exp $
-
-https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=41ef9a0bc36b
-
-From 2.10.3, Freetype disappeared the FT_CALLBACK_DEF() macro, which is what
-we used when defining our callbacks from Freetype.
-
-
-Index: base/fapi_ft.c
---- base/fapi_ft.c.orig
-+++ base/fapi_ft.c
-@@ -106,7 +106,7 @@ typedef struct FT_IncrementalRec_
- gs_fapi_metrics_type metrics_type; /* determines whether metrics are
replaced, added, etc. */
- } FT_IncrementalRec;
-
--FT_CALLBACK_DEF(void *)
-+static void *
- FF_alloc(FT_Memory memory, long size)
- {
- gs_memory_t *mem = (gs_memory_t *) memory->user;
-@@ -114,7 +114,7 @@ FF_alloc(FT_Memory memory, long size)
- return (gs_malloc(mem, size, 1, "FF_alloc"));
- }
-
--FT_CALLBACK_DEF(void *)
-+static void *
- FF_realloc(FT_Memory memory, long cur_size, long new_size, void *block)
- {
- gs_memory_t *mem = (gs_memory_t *) memory->user;
-@@ -134,7 +134,7 @@ FT_CALLBACK_DEF(void *)
- return (tmp);
- }
-
--FT_CALLBACK_DEF(void)
-+static void
- FF_free(FT_Memory memory, void *block)
- {
- gs_memory_t *mem = (gs_memory_t *) memory->user;
Index: patches/patch-base_gp_psync_c
===================================================================
RCS file: patches/patch-base_gp_psync_c
diff -N patches/patch-base_gp_psync_c
--- patches/patch-base_gp_psync_c 9 Sep 2012 08:57:36 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,31 +0,0 @@
-$OpenBSD: patch-base_gp_psync_c,v 1.1 2012/09/09 08:57:36 kili Exp $
-
-Use PTHREAD_MUTEX_RECURSIVE, which works fine even with the (broken)
-wrappers still around which try to simulate PTHREAD_MUTEX_RECURSIVE
-for mutexes created with default attributes.
-
---- base/gp_psync.c.orig Wed Aug 8 10:01:36 2012
-+++ base/gp_psync.c Sun Sep 9 09:03:31 2012
-@@ -147,13 +147,21 @@ int
- gp_monitor_open(gp_monitor * mona)
- {
- pthread_mutex_t *mon;
-+ pthread_mutexattr_t mattr;
- int scode;
-
- if (!mona)
- return -1; /* monitors are not movable */
- mon = &((gp_pthread_recursive_t *)mona)->mutex;
- ((gp_pthread_recursive_t *)mona)->self_id = 0; /* Not valid unless
mutex is locked */
-- scode = pthread_mutex_init(mon, NULL);
-+ scode = pthread_mutexattr_init(&mattr);
-+ if (scode != 0)
-+ return SEM_ERROR_CODE(scode);
-+ scode = pthread_mutexattr_settype(&mattr, PTHREAD_MUTEX_RECURSIVE);
-+ if (scode != 0)
-+ return SEM_ERROR_CODE(scode);
-+ scode = pthread_mutex_init(mon, &mattr);
-+ pthread_mutexattr_destroy(&mattr);
- return SEM_ERROR_CODE(scode);
- }
-
Index: patches/patch-base_gsmalloc_c
===================================================================
RCS file: patches/patch-base_gsmalloc_c
diff -N patches/patch-base_gsmalloc_c
--- patches/patch-base_gsmalloc_c 24 Jul 2015 12:46:23 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,16 +0,0 @@
-$OpenBSD: patch-base_gsmalloc_c,v 1.1 2015/07/24 12:46:23 jasper Exp $
-
-CVE-2015-3228 ghostscript-core: out-of-bounbds read and write in gs_ttf.ps
-http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=0c0b085
-
---- base/gsmalloc.c.orig Fri Jul 24 10:12:58 2015
-+++ base/gsmalloc.c Fri Jul 24 10:20:28 2015
-@@ -178,7 +178,7 @@ gs_heap_alloc_bytes(gs_memory_t * mem, uint size, clie
- } else {
- uint added = size + sizeof(gs_malloc_block_t);
-
-- if (mmem->limit - added < mmem->used)
-+ if (added <= size || mmem->limit - added < mmem->used)
- set_msg("exceeded limit");
- else if ((ptr = (byte *) Memento_label(malloc(added), cname)) == 0)
- set_msg("failed");
Index: patches/patch-base_lib_mak
===================================================================
RCS file: patches/patch-base_lib_mak
diff -N patches/patch-base_lib_mak
--- patches/patch-base_lib_mak 22 Aug 2012 06:24:17 -0000 1.4
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,18 +0,0 @@
-$OpenBSD: patch-base_lib_mak,v 1.4 2012/08/22 06:24:17 ajacoutot Exp $
---- base/lib.mak.orig Wed Aug 8 10:01:36 2012
-+++ base/lib.mak Fri Aug 17 15:14:10 2012
-@@ -28,12 +28,12 @@ AUXO_=$(O_)$(AUX)
- GLI_=$(GLGENDIR) $(II)$(GLSRCDIR)
- GLF_=
- GLCCFLAGS=$(I_)$(GLI_)$(_I) $(GLF_) $(D_)WHICH_CMS="$(WHICH_CMS)"$(_D)
--GLCC=$(CC_) $(GLCCFLAGS)
-+GLCC=$(CC) $(GLCCFLAGS) $(CCFLAGS)
- GLCCAUX=$(CCAUX_) $(GLCCFLAGS)
- GLJCC=$(CC_) $(I_)$(GLI_) $(II)$(JI_)$(_I) $(JCF_) $(GLF_)
- GLZCC=$(CC_) $(I_)$(GLI_) $(II)$(ZI_)$(_I) $(ZCF_) $(GLF_)
- GLJBIG2CC=$(CC_) $(I_)$(GLI_) $(II)$(JB2I_)$(_I) $(JB2CF_) $(GLF_)
--GLJASCC=$(CC_) $(I_)$(JPXI_) $(II)$(GLI_)$(_I) $(JPXCF_) $(GLF_)
-+GLJASCC=$(CC) $(I_)$(JPXI_) $(II)$(GLI_)$(_I) $(JPXCF_) $(GLF_) ${CCFLAGS}
- GLLDFJB2CC=$(CC_) $(I_)$(LDF_JB2I_) $(II)$(GLI_)$(_I) $(JB2CF_) $(GLF_)
- GLLWFJPXCC=$(CC_) $(I_)$(LWF_JPXI_) $(II)$(GLI_)$(_I) $(JPXCF_) $(GLF_)
- GLJPXOPJCC=$(CC_) $(I_)$(JPX_OPENJPEG_I_)$(D).. $(I_)$(JPX_OPENJPEG_I_)
$(II)$(GLI_)$(_I) $(JPXCF_) $(GLF_)
Index: patches/patch-base_unix-dll_mak
===================================================================
RCS file: patches/patch-base_unix-dll_mak
diff -N patches/patch-base_unix-dll_mak
--- patches/patch-base_unix-dll_mak 24 Dec 2013 15:18:38 -0000 1.6
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,142 +0,0 @@
-$OpenBSD: patch-base_unix-dll_mak,v 1.6 2013/12/24 15:18:38 kili Exp $
---- base/unix-dll.mak.orig Thu Feb 14 08:58:13 2013
-+++ base/unix-dll.mak Tue Sep 17 20:11:00 2013
-@@ -24,10 +24,6 @@
- # export LD_LIBRARY_PATH=/insert-path-here/sobin
- # export GS_LIB=/insert-path-here/lib
-
--# Location for building shared object
--SODIRPREFIX=so
--SODEBUGDIRPREFIX=sodebug
--
- # ------------------- Ghostscript shared object --------------------------- #
-
- # Shared object names
-@@ -35,12 +31,16 @@ SODEBUGDIRPREFIX=sodebug
- # simple loader (no support for display device)
- GSSOC_XENAME=$(GS)c$(XE)
- GSSOC_XE=$(BINDIR)/$(GSSOC_XENAME)
--GSSOC=$(BINDIR)/$(GSSOC_XENAME)
-+GSSOC-Yes=
-+GSSOC-No=$(BINDIR)/$(GSSOC_XENAME)
-+GSSOC=$(GSSOC-$(USE_GTK))
-
- # loader suporting display device using Gtk+
- GSSOX_XENAME=$(GS)x$(XE)
- GSSOX_XE=$(BINDIR)/$(GSSOX_XENAME)
--GSSOX=$(BINDIR)/$(GSSOX_XENAME)
-+GSSOX-Yes=$(BINDIR)/$(GSSOX_XENAME)
-+GSSOX-No=
-+GSSOX=$(GSSOX-$(USE_GTK))
-
- # shared library
- GS_SONAME_BASE=lib$(GS)
-@@ -48,16 +48,10 @@ GS_SONAME_BASE=lib$(GS)
- # GNU/Linux
- GS_SOEXT=$(DYNANIC_LIB_EXT)
- GS_SONAME=$(GS_SONAME_BASE).$(GS_SOEXT)
--GS_SONAME_MAJOR=$(GS_SONAME).$(GS_VERSION_MAJOR)
--GS_SONAME_MAJOR_MINOR=$(GS_SONAME).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR)
--#LDFLAGS_SO=-shared -Wl,-soname=$(GS_SONAME_MAJOR)
-+GS_SONAME_MAJOR=$(GS_SONAME).$(basename $(LIBgs_VERSION))
-+GS_SONAME_MAJOR_MINOR=$(GS_SONAME).$(LIBgs_VERSION)
-+LDFLAGS_SO=-shared
-
--# NOTE: the value of LD_SET_DT_SONAME for, for example, Solaris ld, must
contain the
--# trailing space to separation it from the value of the option. For GNU ld and
--# similar linkers it must containt the trailing "="
--LDFLAGS_SO=-shared
-Wl,$(LD_SET_DT_SONAME)$(LDFLAGS_SO_PREFIX)$(GS_SONAME_MAJOR)
--
--
- # MacOS X
- #GS_SOEXT=dylib
- #GS_SONAME=$(GS_SONAME_BASE).$(GS_SOEXT)
-@@ -84,13 +78,13 @@ $(GS_SO_MAJOR): $(GS_SO_MAJOR_MINOR)
- ln -s $(GS_SONAME_MAJOR_MINOR) $(GS_SO_MAJOR)
-
- # Build the small Ghostscript loaders, with Gtk+ and without
--$(GSSOC_XE): $(GS_SO) $(PSSRC)$(SOC_LOADER)
-- $(GLCC) -g -o $(GSSOC_XE) $(PSSRC)dxmainc.c \
-- -L$(BINDIR) -l$(GS)
-+$(GSSOC_XE): $(GS_SO) $(PSSRC)dxmainc.c
-+ $(GLCC) -g $(SOC_CFLAGS) -o $(GSSOC_XE) $(PSSRC)dxmainc.c \
-+ -L$(BINDIR) $(LDFLAGS) -l$(GS) $(SOC_LIBS)
-
--$(GSSOX_XE): $(GS_SO) $(PSSRC)$(SOC_LOADER)
-- $(GLCC) -g $(SOC_CFLAGS) -o $(GSSOX_XE) $(PSSRC)$(SOC_LOADER) \
-- -L$(BINDIR) -l$(GS) $(SOC_LIBS)
-+$(GSSOX_XE): $(GS_SO) $(PSSRC)dxmain.c
-+ $(GLCC) -g $(SOC_CFLAGS) -o $(GSSOX_XE) $(PSSRC)dxmain.c \
-+ -L$(BINDIR) $(LDFLAGS) -l$(GS) $(SOC_LIBS)
-
- # ------------------------- Recursive make targets ------------------------- #
-
-@@ -105,6 +99,13 @@ SODEFS_FINAL=\
- STDIO_IMPLEMENTATION=c\
- BUILDDIRPREFIX=$(BUILDDIRPREFIX)
-
-+# NOTE: moved somewhere else:
-+# + BINDIR=$(BINDIR)\
-+# + GLGENDIR=$(GLGENDIR)\
-+# + GLOBJDIR=$(GLOBJDIR)\
-+# + PSGENDIR=$(PSGENDIR)\
-+# + PSOBJDIR=$(PSOBJDIR)
-+
- # This is a bit nasty; because of the directory name rewriting that happens
- # on a recursive build, we have to recurse twice before we are sure that
- # all the targets are correct.
-@@ -123,19 +124,27 @@ sodebug:
- fi
- $(MAKE) so-subtarget$(FOR_MAC) GENOPT='-DDEBUG'
BUILDDIRPREFIX=$(SODEBUGDIRPREFIX)
-
-+# NOTE: Differs from gs-9.02, may be wrong
- so-subtarget:
- $(MAKE) $(SODEFS) GENOPT='$(GENOPT)' LDFLAGS='$(LDFLAGS)'\
- CFLAGS='$(CFLAGS_STANDARD) $(GCFLAGS) $(AC_CFLAGS) $(XCFLAGS)'
prefix=$(prefix)\
-+ USE_GTK=$(USE_GTK) \
- directories
- $(MAKE) $(SODEFS) GENOPT='$(GENOPT)' LDFLAGS='$(LDFLAGS)'\
- CFLAGS='$(CFLAGS_STANDARD) $(GCFLAGS) $(AC_CFLAGS) $(XCFLAGS)'
prefix=$(prefix)\
-+ USE_GTK=$(USE_GTK) \
- $(AUXDIR)/echogs$(XEAUX) $(AUXDIR)/genarch$(XEAUX)
- $(MAKE) $(SODEFS) GENOPT='$(GENOPT)' LDFLAGS='$(LDFLAGS) $(LDFLAGS_SO)'\
-- CFLAGS='$(CFLAGS_STANDARD) $(CFLAGS_SO) $(GCFLAGS) $(AC_CFLAGS)
$(XCFLAGS)'\
-+ CFLAGS='$(CFLAGS_STANDARD) $(GCFLAGS) $(AC_CFLAGS) $(XCFLAGS)'\
-+ USE_GTK=$(USE_GTK) \
- prefix=$(prefix)
-+ @echo USE_GTK = $(USE_GTK)
-+ @echo GSSOC = $(GSSOC)
-+ @echo GSSOX = $(GSSOX)
- $(MAKE) $(SODEFS_FINAL) GENOPT='$(GENOPT)' LDFLAGS='$(LDFLAGS)'\
- CFLAGS='$(CFLAGS_STANDARD) $(GCFLAGS) $(AC_CFLAGS) $(XCFLAGS)'
prefix=$(prefix)\
-- $(GSSOC_XE) $(GSSOX_XE)
-+ USE_GTK=$(USE_GTK) \
-+ $(GSSOC) $(GSSOX)
-
- # special so-subtarget for MAC OS X
- so-subtarget_1:
-@@ -167,13 +176,11 @@ install-so-subtarget: so-subtarget$(FOR_MAC)
- -mkdir -p $(DESTDIR)$(bindir)
- -mkdir -p $(DESTDIR)$(libdir)
- -mkdir -p $(DESTDIR)$(gsincludedir)
-+ [ "$(USE_GTK)" = Yes ] || \
- $(INSTALL_PROGRAM) $(GSSOC) $(DESTDIR)$(bindir)/$(GSSOC_XENAME)
-+ [ "$(USE_GTK)" = No ] || \
- $(INSTALL_PROGRAM) $(GSSOX) $(DESTDIR)$(bindir)/$(GSSOX_XENAME)
- $(INSTALL_PROGRAM) $(BINDIR)/$(GS_SONAME_MAJOR_MINOR)
$(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR_MINOR)
-- $(RM_) $(DESTDIR)$(libdir)/$(GS_SONAME)
-- ln -s $(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME)
-- $(RM_) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR)
-- ln -s $(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR)
- $(INSTALL_DATA) $(PSSRC)iapi.h $(DESTDIR)$(gsincludedir)iapi.h
- $(INSTALL_DATA) $(PSSRC)ierrors.h $(DESTDIR)$(gsincludedir)ierrors.h
- $(INSTALL_DATA) $(GLSRC)gdevdsp.h $(DESTDIR)$(gsincludedir)gdevdsp.h
-@@ -185,6 +192,8 @@ sodebuginstall:
- $(MAKE) soinstall-subtarget GENOPT='-DDEBUG'
BUILDDIRPREFIX=$(SODEBUGDIRPREFIX)
-
- soinstall-subtarget: install-so install-scripts install-data
$(INSTALL_SHARED) $(INSTALL_CONTRIB)
-+
-+# NOTE: target SODIRS moved somewhere else.
-
- # Clean targets
- soclean:
Index: patches/patch-base_unix-gcc_mak
===================================================================
RCS file: patches/patch-base_unix-gcc_mak
diff -N patches/patch-base_unix-gcc_mak
--- patches/patch-base_unix-gcc_mak 6 Apr 2015 21:04:30 -0000 1.11
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,133 +0,0 @@
-$OpenBSD: patch-base_unix-gcc_mak,v 1.11 2015/04/06 21:04:30 ajacoutot Exp $
---- base/unix-gcc.mak.orig Thu Feb 14 08:58:13 2013
-+++ base/unix-gcc.mak Tue Sep 17 20:59:54 2013
-@@ -32,6 +32,7 @@ PSLIBDIR=./lib
- PSRESDIR=./Resource
- PSGENDIR=./$(BUILDDIRPREFIX)obj
- PSOBJDIR=./$(BUILDDIRPREFIX)obj
-+CONTRIBDIR=./contrib
-
- # Do not edit the next group of lines.
-
-@@ -70,12 +71,12 @@ gsincludedir = $(includedir)/ghostscript/
-
- docdir=$(gsdatadir)/doc
- exdir=$(gsdatadir)/examples
--GS_DOCDIR=$(docdir)
-+GS_DOCDIR=$(TRUEPREFIX)/share/ghostscript/$(GS_DOT_VERSION)/doc
-
- # Define the default directory/ies for the runtime
- # initialization, resource and font files. Separate multiple directories
with a :.
-
--GS_LIB_DEFAULT=$(gsdatadir)/Resource/Init:$(gsdatadir)/lib:$(gsdatadir)/Resource/Font:$(gsdir)/fonts
-+GS_LIB_DEFAULT=$(TRUEPREFIX)/share/ghostscript/$(GS_DOT_VERSION)/Resource/Init:$(TRUEPREFIX)/share/ghostscript/$(GS_DOT_VERSION)/lib:$(TRUEPREFIX)/share/ghostscript/$(GS_DOT_VERSION)/Resource/Font:$(TRUEPREFIX)/share/fonts/ghostscript
-
- # Define whether or not searching for initialization files should always
- # look in the current directory first. This leads to well-known security
-@@ -208,6 +209,9 @@ IJS_NAME=
- IJSSRCDIR=ijs
- IJSEXECTYPE=unix
-
-+SHARED_IJS=0
-+IJS_NAME=ijs
-+
- # Define how to build the library archives. (These are not used in any
- # standard configuration.)
-
-@@ -219,7 +223,7 @@ RANLIB=ranlib
-
- # Define the name of the C compiler.
-
--CC=gcc
-+#CC=gcc
-
- # Define the name of the linker for the final link step.
- # Normally this is the same as the C compiler.
-@@ -231,7 +235,7 @@ CCLD=$(CC)
- # the 2.7.0-2.7.2 optimizer bug, either "-Dconst=" or
- # "-Wcast-qual -Wwrite-strings" is automatically included.
-
--GCFLAGS=-Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes
-fno-builtin -fno-common
-+GCFLAGS=-Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes
-fno-common
-
- # Define the added flags for standard, debugging, profiling
- # and shared object builds.
-@@ -333,7 +337,7 @@ SOC_LOADER=dxmainc.c
-
- # Choose the language feature(s) to include. See gs.mak for details.
-
--FEATURE_DEVS=$(PSD)psl3.dev $(PSD)pdf.dev $(PSD)dpsnext.dev $(PSD)ttfont.dev
$(PSD)epsf.dev $(GLD)pipe.dev $(PSD)fapi.dev
-+FEATURE_DEVS=$(PSD)psl3.dev $(PSD)pdf.dev $(PSD)dpsnext.dev $(PSD)ttfont.dev
$(PSD)epsf.dev $(GLD)pipe.dev
- #FEATURE_DEVS=$(PSD)psl3.dev $(PSD)pdf.dev
- # The following is strictly for testing.
- FEATURE_DEVS_ALL=$(PSD)psl3.dev $(PSD)pdf.dev $(PSD)dpsnext.dev
$(PSD)ttfont.dev $(PSD)rasterop.dev $(PSD)double.dev $(PSD)trapping.dev
$(PSD)stocht.dev $(GLD)pipe.dev
-@@ -371,8 +375,6 @@ DISPLAY_DEV=
- # Choose the device(s) to include. See devs.mak for details,
- # devs.mak and contrib.mak for the list of available devices.
-
--DEVICE_DEVS=$(DISPLAY_DEV) $(DD)x11.dev $(DD)x11alpha.dev $(DD)x11cmyk.dev
$(DD)x11gray2.dev $(DD)x11gray4.dev $(DD)x11mono.dev
--
- #DEVICE_DEVS1=
- #DEVICE_DEVS2=
- #DEVICE_DEVS3=
-@@ -394,36 +396,18 @@ DEVICE_DEVS=$(DISPLAY_DEV) $(DD)x11.dev $(DD)x11alpha.
- #DEVICE_DEVS19=
- #DEVICE_DEVS20=
-
--DEVICE_DEVS1=$(DD)bmpmono.dev $(DD)bmpgray.dev $(DD)bmpsep1.dev
$(DD)bmpsep8.dev $(DD)bmp16.dev $(DD)bmp256.dev $(DD)bmp16m.dev $(DD)bmp32b.dev
$(DD)stcolor.dev
--DEVICE_DEVS2=$(DD)epson.dev $(DD)eps9high.dev $(DD)eps9mid.dev
$(DD)epsonc.dev $(DD)ibmpro.dev
--DEVICE_DEVS3=$(DD)deskjet.dev $(DD)djet500.dev $(DD)laserjet.dev
$(DD)ljetplus.dev $(DD)ljet2p.dev $(DD)ljet3.dev $(DD)ljet3d.dev $(DD)ljet4.dev
$(DD)ljet4d.dev $(DD)lj5mono.dev $(DD)lj5gray.dev
--DEVICE_DEVS4=$(DD)cdeskjet.dev $(DD)cdjcolor.dev $(DD)cdjmono.dev
$(DD)cdj550.dev $(DD)pj.dev $(DD)pjxl.dev $(DD)pjxl300.dev
--DEVICE_DEVS5=$(DD)uniprint.dev $(DD)ijs.dev
--DEVICE_DEVS6=$(DD)bj10e.dev $(DD)bj200.dev $(DD)bjc600.dev $(DD)bjc800.dev
--DEVICE_DEVS7=$(DD)faxg3.dev $(DD)faxg32d.dev $(DD)faxg4.dev
--DEVICE_DEVS8=$(DD)pcxmono.dev $(DD)pcxgray.dev $(DD)pcx16.dev $(DD)pcx256.dev
$(DD)pcx24b.dev $(DD)pcxcmyk.dev
--DEVICE_DEVS9=$(DD)pbm.dev $(DD)pbmraw.dev $(DD)pgm.dev $(DD)pgmraw.dev
$(DD)pgnm.dev $(DD)pgnmraw.dev $(DD)pnm.dev $(DD)pnmraw.dev $(DD)ppm.dev
$(DD)ppmraw.dev $(DD)pkm.dev $(DD)pkmraw.dev $(DD)pksm.dev $(DD)pksmraw.dev
--DEVICE_DEVS10=$(DD)tiffcrle.dev $(DD)tiffg3.dev $(DD)tiffg32d.dev
$(DD)tiffg4.dev $(DD)tifflzw.dev $(DD)tiffpack.dev
--DEVICE_DEVS11=$(DD)tiff12nc.dev $(DD)tiff24nc.dev $(DD)tiff48nc.dev
$(DD)tiffgray.dev $(DD)tiff32nc.dev $(DD)tiff64nc.dev $(DD)tiffsep.dev
$(DD)tiffsep1.dev $(DD)tiffscaled.dev $(DD)tiffscaled8.dev $(DD)tiffscaled24.dev
--DEVICE_DEVS12=$(DD)psmono.dev $(DD)psgray.dev $(DD)psrgb.dev $(DD)bit.dev
$(DD)bitrgb.dev $(DD)bitcmyk.dev
--DEVICE_DEVS13=$(DD)pngmono.dev $(DD)pngmonod.dev $(DD)pnggray.dev
$(DD)png16.dev $(DD)png256.dev $(DD)png16m.dev $(DD)pngalpha.dev
--DEVICE_DEVS14=$(DD)jpeg.dev $(DD)jpeggray.dev $(DD)jpegcmyk.dev
--DEVICE_DEVS15=$(DD)pdfwrite.dev $(DD)pswrite.dev $(DD)ps2write.dev
$(DD)epswrite.dev $(DD)txtwrite.dev $(DD)pxlmono.dev $(DD)pxlcolor.dev
--DEVICE_DEVS16=$(DD)bbox.dev $(DD)inkcov.dev
--
--DEVICE_DEVS17=$(DD)plan.dev $(DD)planm.dev $(DD)plang.dev $(DD)planc.dev
$(DD)plank.dev
--
--DEVICE_DEVS18=
--DEVICE_DEVS19=
--DEVICE_DEVS20=$(DD)cljet5.dev $(DD)cljet5c.dev $(DD)pamcmyk32.dev
$(DD)pamcmyk4.dev
--DEVICE_DEVS21=$(DD)spotcmyk.dev $(DD)devicen.dev $(DD)xcf.dev
$(DD)bmpsep1.dev $(DD)bmpsep8.dev $(DD)bmp16m.dev $(DD)bmp32b.dev
$(DD)psdcmyk.dev $(DD)psdrgb.dev
--
- # Shared library target to build.
- # Note that the two vga devices are Linux specific, and requires svgalib
- # We also don't do X modularized because modularization on Mac OS X doesn't
work.
- GS_SHARED_OBJS=
- #GS_SHARED_OBJS=$(GLOBJDIR)/X11.so $(GLOBJDIR)/lvga256.so
$(GLOBJDIR)/vgalib.so
-
-+# Formerly copied from Makefile.in -- still needed?
-+EXTRA_INIT_FILES= Fontmap cidfmap xlatmap FAPI FCOfontmap-PCLPS2 gs_cet.ps
-+
-+# Copied from Makefile.in -- still needed?
-+CCAUX_=$(CCAUX) $(CFLAGS)
-+CUPS_CC=$(CC)
-
- # ---------------------------- End of options --------------------------- #
-
-@@ -472,7 +456,7 @@ include $(GLSRCDIR)/zlib.mak
- include $(GLSRCDIR)/png.mak
- include $(GLSRCDIR)/tiff.mak
- include $(GLSRCDIR)/jbig2.mak
--include $(GLSRCDIR)/lcms.mak
-+include $(GLSRCDIR)/lcms2.mak
- include $(GLSRCDIR)/ijs.mak
- include $(GLSRCDIR)/devs.mak
- include $(GLSRCDIR)/contrib.mak
-@@ -481,6 +465,8 @@ include $(GLSRCDIR)/unixlink.mak
- include $(GLSRCDIR)/unix-dll.mak
- include $(GLSRCDIR)/unix-end.mak
- include $(GLSRCDIR)/unixinst.mak
-+include contrib/contrib.mak
-+include cups/cups.mak
-
- # This has to come last so it won't be taken as the default target.
- $(AK):
Index: patches/patch-configure
===================================================================
RCS file: patches/patch-configure
diff -N patches/patch-configure
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-configure 14 Jan 2022 21:58:48 -0000
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+Index: configure
+--- configure.orig
++++ configure
+@@ -11465,8 +11465,8 @@ DLL_EXT=""
+ SO_LIB_VERSION_SEPARATOR="."
+
+ libname1="_SO_BASE)\$(GS_SOEXT)\$(DLL_EXT)"
+-libname2="_SO_BASE)\$(GS_SOEXT)\$(SO_LIB_VERSION_SEPARATOR)\$(GS_VERSION_MAJOR)\$(DLL_EXT)"
+-libname3="_SO_BASE)\$(GS_SOEXT)\$(SO_LIB_VERSION_SEPARATOR)\$(GS_VERSION_MAJOR)\$(SO_LIB_VERSION_SEPARATOR)\$(GS_VERSION_MINOR)\$(DLL_EXT)"
++libname2="_SO_BASE)\$(GS_SOEXT)\$(SO_LIB_VERSION_SEPARATOR)\$(LIB_VERSION_MAJOR)\$(DLL_EXT)"
++libname3="_SO_BASE)\$(GS_SOEXT)\$(SO_LIB_VERSION_SEPARATOR)\$(LIB_VERSION_MAJOR)\$(SO_LIB_VERSION_SEPARATOR)\$(LIB_VERSION_MINOR)\$(DLL_EXT)"
+ GS_SONAME="lib\$(GS${libname1}"
+ GS_SONAME_MAJOR="lib\$(GS${libname2}"
+ GS_SONAME_MAJOR_MINOR="lib\$(GS${libname3}"
Index: patches/patch-contrib_opvp_gdevopvp_c
===================================================================
RCS file: patches/patch-contrib_opvp_gdevopvp_c
diff -N patches/patch-contrib_opvp_gdevopvp_c
--- patches/patch-contrib_opvp_gdevopvp_c 8 Jun 2011 19:15:48 -0000
1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,14 +0,0 @@
-$OpenBSD: patch-contrib_opvp_gdevopvp_c,v 1.1 2011/06/08 19:15:48 kili Exp $
---- contrib/opvp/gdevopvp.c.orig Wed Apr 21 17:08:47 2010
-+++ contrib/opvp/gdevopvp.c Sun Oct 24 23:34:35 2010
-@@ -31,10 +31,6 @@
- #include <sys/stat.h>
- #include <fcntl.h>
-
--/* Set compatibility flag just in case we have GNU iconv.h */
--#ifndef USE_LIBICONV_GNU
--# define LIBICONV_PLUG
--#endif
- #include <iconv.h>
-
- #include "string_.h"
Index: patches/patch-cups_colord_h
===================================================================
RCS file: patches/patch-cups_colord_h
diff -N patches/patch-cups_colord_h
--- patches/patch-cups_colord_h 19 Sep 2016 09:17:45 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,14 +0,0 @@
-$OpenBSD: patch-cups_colord_h,v 1.1 2016/09/19 09:17:45 ajacoutot Exp $
-
-Fix build with cups>=2.2.0
-
---- cups/colord.h.orig Sat Sep 17 21:09:13 2016
-+++ cups/colord.h Sat Sep 17 21:11:54 2016
-@@ -27,6 +27,7 @@ MIT Open Source License - http://www.opensource.org/
-
- /* Common routines for accessing the colord CMS framework */
-
-+#include <cups/ppd.h>
- #include <cups/raster.h>
-
- char **colord_get_qualifier_for_ppd (ppd_file_t *ppd);
Index: patches/patch-cups_gstoraster_c
===================================================================
RCS file: patches/patch-cups_gstoraster_c
diff -N patches/patch-cups_gstoraster_c
--- patches/patch-cups_gstoraster_c 19 Sep 2016 09:17:45 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,14 +0,0 @@
-$OpenBSD: patch-cups_gstoraster_c,v 1.1 2016/09/19 09:17:45 ajacoutot Exp $
-
-Fix build with cups>=2.2.0
-
---- cups/gstoraster.c.orig Sat Sep 17 21:08:20 2016
-+++ cups/gstoraster.c Sat Sep 17 21:08:38 2016
-@@ -35,6 +35,7 @@ MIT Open Source License - http://www.opensource.org/
- #include <cups/cups.h>
- #include <stdarg.h>
- #include <fcntl.h>
-+#include <cups/ppd.h>
- #include <cups/raster.h>
- #include <sys/types.h>
- #include <sys/wait.h>
Index: patches/patch-lib_ps2epsi
===================================================================
RCS file: patches/patch-lib_ps2epsi
diff -N patches/patch-lib_ps2epsi
--- patches/patch-lib_ps2epsi 22 Aug 2012 06:24:17 -0000 1.7
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,25 +0,0 @@
-$OpenBSD: patch-lib_ps2epsi,v 1.7 2012/08/22 06:24:17 ajacoutot Exp $
---- lib/ps2epsi.orig Wed Aug 8 10:01:36 2012
-+++ lib/ps2epsi Fri Aug 17 15:12:56 2012
-@@ -10,20 +10,7 @@ fi
- GS_EXECUTABLE="$gs"
-
- # try to create a temporary file securely
--if test -z "$TMPDIR"; then
-- TMPDIR=/tmp
--fi
--if which mktemp >/dev/null 2>/dev/null; then
-- tmpfile="`mktemp $TMPDIR/ps2epsi.XXXXXX`"
--else
-- tmpdir=$TMPDIR/ps2epsi.$$
-- (umask 077 && mkdir "$tmpdir")
-- if test ! -d "$tmpdir"; then
-- echo "failed: could not create temporary file"
-- exit 1
-- fi
-- tmpfile="$tmpdir"/ps2epsi$$
--fi
-+tmpfile=`mktemp -t ps2epsiXXXXXXXXXX` || exit 1
- trap "rm -rf \"$tmpfile\"" 0 1 2 3 7 13 15
-
- export outfile
Index: patches/patch-psi_dxmain_c
===================================================================
RCS file: patches/patch-psi_dxmain_c
diff -N patches/patch-psi_dxmain_c
--- patches/patch-psi_dxmain_c 17 Oct 2017 13:22:47 -0000 1.2
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,19 +0,0 @@
-$OpenBSD: patch-psi_dxmain_c,v 1.2 2017/10/17 13:22:47 stsp Exp $
-
-Fix a stack smash.
-Similar to upstream git commit 5192635686b3a9da14e4531c7ce7ca85cd629a66
-
-Index: psi/dxmain.c
---- psi/dxmain.c.orig
-+++ psi/dxmain.c
-@@ -82,7 +82,9 @@ read_stdin_handler(GIOChannel *channel, GIOCondition c
- input->count = 0; /* EOF */
- }
- else if (condition & (G_IO_IN)) {
-- g_io_channel_read_chars(channel, input->buf, input->len, (gsize
*)&input->count, &error);
-+ gsize gsz;
-+ g_io_channel_read_chars(channel, input->buf, input->len, &gsz,
&error);
-+ input->count = (int)gsz;
- if (error) {
- g_print("%s\n", error->message);
- g_error_free(error);
Index: patches/patch-psi_zfrsd_c
===================================================================
RCS file: patches/patch-psi_zfrsd_c
diff -N patches/patch-psi_zfrsd_c
--- patches/patch-psi_zfrsd_c 4 May 2017 06:51:09 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,49 +0,0 @@
-$OpenBSD: patch-psi_zfrsd_c,v 1.1 2017/05/04 06:51:09 bluhm Exp $
-
-https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=04b37bbce1
-
-Index: psi/zfrsd.c
---- psi/zfrsd.c.orig
-+++ psi/zfrsd.c
-@@ -49,13 +49,20 @@ zrsdparams(i_ctx_t *i_ctx_p)
- ref *pFilter;
- ref *pDecodeParms;
- int Intent = 0;
-- bool AsyncRead;
-+ bool AsyncRead = false;
- ref empty_array, filter1_array, parms1_array;
- uint i;
-- int code;
-+ int code = 0;
-
-+ if (ref_stack_count(&o_stack) < 1)
-+ return_error(e_stackunderflow);
-+ if (!r_has_type(op, t_dictionary) && !r_has_type(op, t_null)) {
-+ return_error(e_typecheck);
-+ }
-+
- make_empty_array(&empty_array, a_readonly);
-- if (dict_find_string(op, "Filter", &pFilter) > 0) {
-+ if (r_has_type(op, t_dictionary)
-+ && dict_find_string(op, "Filter", &pFilter) > 0) {
- if (!r_is_array(pFilter)) {
- if (!r_has_type(pFilter, t_name))
- return_error(e_typecheck);
-@@ -94,12 +101,13 @@ zrsdparams(i_ctx_t *i_ctx_p)
- return_error(e_typecheck);
- }
- }
-- code = dict_int_param(op, "Intent", 0, 3, 0, &Intent);
-+ if (r_has_type(op, t_dictionary))
-+ code = dict_int_param(op, "Intent", 0, 3, 0, &Intent);
- if (code < 0 && code != e_rangecheck) /* out-of-range int is ok, use 0 */
- return code;
-- if ((code = dict_bool_param(op, "AsyncRead", false, &AsyncRead)) < 0
-- )
-- return code;
-+ if (r_has_type(op, t_dictionary))
-+ if ((code = dict_bool_param(op, "AsyncRead", false, &AsyncRead)) < 0)
-+ return code;
- push(1);
- op[-1] = *pFilter;
- if (pDecodeParms)
Index: patches/patch-psi_zmisc3_c
===================================================================
RCS file: patches/patch-psi_zmisc3_c
diff -N patches/patch-psi_zmisc3_c
--- patches/patch-psi_zmisc3_c 4 May 2017 06:51:09 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,20 +0,0 @@
-$OpenBSD: patch-psi_zmisc3_c,v 1.1 2017/05/04 06:51:09 bluhm Exp $
-
-https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=4f83478c88
-
-Index: psi/zmisc3.c
---- psi/zmisc3.c.orig
-+++ psi/zmisc3.c
-@@ -56,6 +56,12 @@ zeqproc(i_ctx_t *i_ctx_p)
- ref2_t stack[MAX_DEPTH + 1];
- ref2_t *top = stack;
-
-+ if (ref_stack_count(&o_stack) < 2)
-+ return_error(e_stackunderflow);
-+ if (!r_is_array(op - 1) || !r_is_array(op)) {
-+ return_error(e_typecheck);
-+ }
-+
- make_array(&stack[0].proc1, 0, 1, op - 1);
- make_array(&stack[0].proc2, 0, 1, op);
- for (;;) {
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/print/ghostscript/gnu/pkg/PLIST,v
retrieving revision 1.29
diff -u -p -u -p -r1.29 PLIST
--- pkg/PLIST 10 Mar 2016 20:26:03 -0000 1.29
+++ pkg/PLIST 14 Jan 2022 21:58:48 -0000
@@ -5,7 +5,6 @@
@pkgpath print/ghostscript/gnu${FLAVOR_STRING},cups
bin/dvipdf
bin/eps2eps
-bin/font2c
@bin bin/gs
bin/gsbj
bin/gsdj
@@ -30,9 +29,9 @@ bin/ps2pdfwr
bin/ps2ps
bin/ps2ps2
bin/unix-lpr.sh
-bin/wftopfa
include/ghostscript/
include/ghostscript/gdevdsp.h
+include/ghostscript/gserrors.h
include/ghostscript/iapi.h
include/ghostscript/ierrors.h
@lib lib/libgs.so.${LIBgs_VERSION}
@@ -40,11 +39,9 @@ man/de/
man/de/man1/
@man man/de/man1/dvipdf.1
@man man/de/man1/eps2eps.1
-@man man/de/man1/font2c.1
@man man/de/man1/gsnd.1
@man man/de/man1/pdf2dsc.1
@man man/de/man1/pdf2ps.1
-@man man/de/man1/pdfopt.1
@man man/de/man1/printafm.1
@man man/de/man1/ps2ascii.1
@man man/de/man1/ps2pdf.1
@@ -52,10 +49,8 @@ man/de/man1/
@man man/de/man1/ps2pdf13.1
@man man/de/man1/ps2pdf14.1
@man man/de/man1/ps2ps.1
-@man man/de/man1/wftopfa.1
@man man/man1/dvipdf.1
@man man/man1/eps2eps.1
-@man man/man1/font2c.1
@man man/man1/gs.1
@man man/man1/gsbj.1
@man man/man1/gsdj.1
@@ -65,7 +60,6 @@ man/de/man1/
@man man/man1/gsnd.1
@man man/man1/pdf2dsc.1
@man man/man1/pdf2ps.1
-@man man/man1/pdfopt.1
@man man/man1/pf2afm.1
@man man/man1/pfbtopfa.1
@man man/man1/printafm.1
@@ -77,407 +71,75 @@ man/de/man1/
@man man/man1/ps2pdf14.1
@man man/man1/ps2pdfwr.1
@man man/man1/ps2ps.1
-@man man/man1/wftopfa.1
+share/doc/ghostscript/
+share/doc/ghostscript/${VERSION}/
+share/doc/ghostscript/${VERSION}/API.htm
+share/doc/ghostscript/${VERSION}/C-style.htm
+share/doc/ghostscript/${VERSION}/COPYING
+share/doc/ghostscript/${VERSION}/Commprod.htm
+share/doc/ghostscript/${VERSION}/DLL.htm
+share/doc/ghostscript/${VERSION}/Deprecated.htm
+share/doc/ghostscript/${VERSION}/Develop.htm
+share/doc/ghostscript/${VERSION}/Devices.htm
+share/doc/ghostscript/${VERSION}/Drivers.htm
+share/doc/ghostscript/${VERSION}/Fonts.htm
+share/doc/ghostscript/${VERSION}/GS9_Color_Management.pdf
+share/doc/ghostscript/${VERSION}/History9.htm
+share/doc/ghostscript/${VERSION}/Install.htm
+share/doc/ghostscript/${VERSION}/Language.htm
+share/doc/ghostscript/${VERSION}/Lib.htm
+share/doc/ghostscript/${VERSION}/Make.htm
+share/doc/ghostscript/${VERSION}/News.htm
+share/doc/ghostscript/${VERSION}/Ps-style.htm
+share/doc/ghostscript/${VERSION}/Ps2epsi.htm
+share/doc/ghostscript/${VERSION}/Psfiles.htm
+share/doc/ghostscript/${VERSION}/Readme.htm
+share/doc/ghostscript/${VERSION}/Release.htm
+share/doc/ghostscript/${VERSION}/SavedPages.htm
+share/doc/ghostscript/${VERSION}/Source.htm
+share/doc/ghostscript/${VERSION}/Unix-lpr.htm
+share/doc/ghostscript/${VERSION}/Use.htm
+share/doc/ghostscript/${VERSION}/VectorDevices.htm
+share/doc/ghostscript/${VERSION}/WhatIsGS.htm
+share/doc/ghostscript/${VERSION}/gdevds32.c
+share/doc/ghostscript/${VERSION}/gs-style.css
+share/doc/ghostscript/${VERSION}/images/
+share/doc/ghostscript/${VERSION}/images/Artifex_logo.png
+share/doc/ghostscript/${VERSION}/images/favicon.png
+share/doc/ghostscript/${VERSION}/images/ghostscript_logo.png
+share/doc/ghostscript/${VERSION}/images/hamburger-light.png
+share/doc/ghostscript/${VERSION}/images/x-light.png
+share/doc/ghostscript/${VERSION}/index.html
+share/doc/ghostscript/${VERSION}/index.js
+share/doc/ghostscript/${VERSION}/pscet_status.txt
+share/doc/ghostscript/${VERSION}/sample_downscale_device.htm
+share/doc/ghostscript/${VERSION}/style.css
+share/doc/ghostscript/${VERSION}/subclass.htm
+share/doc/ghostscript/${VERSION}/thirdparty.htm
share/ghostscript/
share/ghostscript/${VERSION}/
-share/ghostscript/${VERSION}/Resource/
-share/ghostscript/${VERSION}/Resource/CIDFSubst/
-share/ghostscript/${VERSION}/Resource/CIDFSubst/DroidSansFallback.ttf
-share/ghostscript/${VERSION}/Resource/CIDFont/
-share/ghostscript/${VERSION}/Resource/CIDFont/ArtifexBullet
-share/ghostscript/${VERSION}/Resource/CMap/
-share/ghostscript/${VERSION}/Resource/CMap/78-EUC-H
-share/ghostscript/${VERSION}/Resource/CMap/78-EUC-V
-share/ghostscript/${VERSION}/Resource/CMap/78-H
-share/ghostscript/${VERSION}/Resource/CMap/78-RKSJ-H
-share/ghostscript/${VERSION}/Resource/CMap/78-RKSJ-V
-share/ghostscript/${VERSION}/Resource/CMap/78-V
-share/ghostscript/${VERSION}/Resource/CMap/78ms-RKSJ-H
-share/ghostscript/${VERSION}/Resource/CMap/78ms-RKSJ-V
-share/ghostscript/${VERSION}/Resource/CMap/83pv-RKSJ-H
-share/ghostscript/${VERSION}/Resource/CMap/90ms-RKSJ-H
-share/ghostscript/${VERSION}/Resource/CMap/90ms-RKSJ-V
-share/ghostscript/${VERSION}/Resource/CMap/90msp-RKSJ-H
-share/ghostscript/${VERSION}/Resource/CMap/90msp-RKSJ-V
-share/ghostscript/${VERSION}/Resource/CMap/90pv-RKSJ-H
-share/ghostscript/${VERSION}/Resource/CMap/90pv-RKSJ-V
-share/ghostscript/${VERSION}/Resource/CMap/Add-H
-share/ghostscript/${VERSION}/Resource/CMap/Add-RKSJ-H
-share/ghostscript/${VERSION}/Resource/CMap/Add-RKSJ-V
-share/ghostscript/${VERSION}/Resource/CMap/Add-V
-share/ghostscript/${VERSION}/Resource/CMap/Adobe-CNS1-0
-share/ghostscript/${VERSION}/Resource/CMap/Adobe-CNS1-1
-share/ghostscript/${VERSION}/Resource/CMap/Adobe-CNS1-2
-share/ghostscript/${VERSION}/Resource/CMap/Adobe-CNS1-3
-share/ghostscript/${VERSION}/Resource/CMap/Adobe-CNS1-4
-share/ghostscript/${VERSION}/Resource/CMap/Adobe-CNS1-5
-share/ghostscript/${VERSION}/Resource/CMap/Adobe-CNS1-6
-share/ghostscript/${VERSION}/Resource/CMap/Adobe-GB1-0
-share/ghostscript/${VERSION}/Resource/CMap/Adobe-GB1-1
-share/ghostscript/${VERSION}/Resource/CMap/Adobe-GB1-2
-share/ghostscript/${VERSION}/Resource/CMap/Adobe-GB1-3
-share/ghostscript/${VERSION}/Resource/CMap/Adobe-GB1-4
-share/ghostscript/${VERSION}/Resource/CMap/Adobe-GB1-5
-share/ghostscript/${VERSION}/Resource/CMap/Adobe-Japan1-0
-share/ghostscript/${VERSION}/Resource/CMap/Adobe-Japan1-1
-share/ghostscript/${VERSION}/Resource/CMap/Adobe-Japan1-2
-share/ghostscript/${VERSION}/Resource/CMap/Adobe-Japan1-3
-share/ghostscript/${VERSION}/Resource/CMap/Adobe-Japan1-4
-share/ghostscript/${VERSION}/Resource/CMap/Adobe-Japan1-5
-share/ghostscript/${VERSION}/Resource/CMap/Adobe-Japan1-6
-share/ghostscript/${VERSION}/Resource/CMap/Adobe-Korea1-0
-share/ghostscript/${VERSION}/Resource/CMap/Adobe-Korea1-1
-share/ghostscript/${VERSION}/Resource/CMap/Adobe-Korea1-2
-share/ghostscript/${VERSION}/Resource/CMap/B5-H
-share/ghostscript/${VERSION}/Resource/CMap/B5-V
-share/ghostscript/${VERSION}/Resource/CMap/B5pc-H
-share/ghostscript/${VERSION}/Resource/CMap/B5pc-V
-share/ghostscript/${VERSION}/Resource/CMap/CNS-EUC-H
-share/ghostscript/${VERSION}/Resource/CMap/CNS-EUC-V
-share/ghostscript/${VERSION}/Resource/CMap/CNS1-H
-share/ghostscript/${VERSION}/Resource/CMap/CNS1-V
-share/ghostscript/${VERSION}/Resource/CMap/CNS2-H
-share/ghostscript/${VERSION}/Resource/CMap/CNS2-V
-share/ghostscript/${VERSION}/Resource/CMap/ETHK-B5-H
-share/ghostscript/${VERSION}/Resource/CMap/ETHK-B5-V
-share/ghostscript/${VERSION}/Resource/CMap/ETen-B5-H
-share/ghostscript/${VERSION}/Resource/CMap/ETen-B5-V
-share/ghostscript/${VERSION}/Resource/CMap/ETenms-B5-H
-share/ghostscript/${VERSION}/Resource/CMap/ETenms-B5-V
-share/ghostscript/${VERSION}/Resource/CMap/EUC-H
-share/ghostscript/${VERSION}/Resource/CMap/EUC-V
-share/ghostscript/${VERSION}/Resource/CMap/Ext-H
-share/ghostscript/${VERSION}/Resource/CMap/Ext-RKSJ-H
-share/ghostscript/${VERSION}/Resource/CMap/Ext-RKSJ-V
-share/ghostscript/${VERSION}/Resource/CMap/Ext-V
-share/ghostscript/${VERSION}/Resource/CMap/GB-EUC-H
-share/ghostscript/${VERSION}/Resource/CMap/GB-EUC-V
-share/ghostscript/${VERSION}/Resource/CMap/GB-H
-share/ghostscript/${VERSION}/Resource/CMap/GB-V
-share/ghostscript/${VERSION}/Resource/CMap/GBK-EUC-H
-share/ghostscript/${VERSION}/Resource/CMap/GBK-EUC-V
-share/ghostscript/${VERSION}/Resource/CMap/GBK2K-H
-share/ghostscript/${VERSION}/Resource/CMap/GBK2K-V
-share/ghostscript/${VERSION}/Resource/CMap/GBKp-EUC-H
-share/ghostscript/${VERSION}/Resource/CMap/GBKp-EUC-V
-share/ghostscript/${VERSION}/Resource/CMap/GBT-EUC-H
-share/ghostscript/${VERSION}/Resource/CMap/GBT-EUC-V
-share/ghostscript/${VERSION}/Resource/CMap/GBT-H
-share/ghostscript/${VERSION}/Resource/CMap/GBT-V
-share/ghostscript/${VERSION}/Resource/CMap/GBTpc-EUC-H
-share/ghostscript/${VERSION}/Resource/CMap/GBTpc-EUC-V
-share/ghostscript/${VERSION}/Resource/CMap/GBpc-EUC-H
-share/ghostscript/${VERSION}/Resource/CMap/GBpc-EUC-V
-share/ghostscript/${VERSION}/Resource/CMap/H
-share/ghostscript/${VERSION}/Resource/CMap/HKdla-B5-H
-share/ghostscript/${VERSION}/Resource/CMap/HKdla-B5-V
-share/ghostscript/${VERSION}/Resource/CMap/HKdlb-B5-H
-share/ghostscript/${VERSION}/Resource/CMap/HKdlb-B5-V
-share/ghostscript/${VERSION}/Resource/CMap/HKgccs-B5-H
-share/ghostscript/${VERSION}/Resource/CMap/HKgccs-B5-V
-share/ghostscript/${VERSION}/Resource/CMap/HKm314-B5-H
-share/ghostscript/${VERSION}/Resource/CMap/HKm314-B5-V
-share/ghostscript/${VERSION}/Resource/CMap/HKm471-B5-H
-share/ghostscript/${VERSION}/Resource/CMap/HKm471-B5-V
-share/ghostscript/${VERSION}/Resource/CMap/HKscs-B5-H
-share/ghostscript/${VERSION}/Resource/CMap/HKscs-B5-V
-share/ghostscript/${VERSION}/Resource/CMap/Hankaku
-share/ghostscript/${VERSION}/Resource/CMap/Hiragana
-share/ghostscript/${VERSION}/Resource/CMap/Identity-H
-share/ghostscript/${VERSION}/Resource/CMap/Identity-UTF16-H
-share/ghostscript/${VERSION}/Resource/CMap/Identity-V
-share/ghostscript/${VERSION}/Resource/CMap/KSC-EUC-H
-share/ghostscript/${VERSION}/Resource/CMap/KSC-EUC-V
-share/ghostscript/${VERSION}/Resource/CMap/KSC-H
-share/ghostscript/${VERSION}/Resource/CMap/KSC-Johab-H
-share/ghostscript/${VERSION}/Resource/CMap/KSC-Johab-V
-share/ghostscript/${VERSION}/Resource/CMap/KSC-V
-share/ghostscript/${VERSION}/Resource/CMap/KSCms-UHC-H
-share/ghostscript/${VERSION}/Resource/CMap/KSCms-UHC-HW-H
-share/ghostscript/${VERSION}/Resource/CMap/KSCms-UHC-HW-V
-share/ghostscript/${VERSION}/Resource/CMap/KSCms-UHC-V
-share/ghostscript/${VERSION}/Resource/CMap/KSCpc-EUC-H
-share/ghostscript/${VERSION}/Resource/CMap/KSCpc-EUC-V
-share/ghostscript/${VERSION}/Resource/CMap/Katakana
-share/ghostscript/${VERSION}/Resource/CMap/NWP-H
-share/ghostscript/${VERSION}/Resource/CMap/NWP-V
-share/ghostscript/${VERSION}/Resource/CMap/RKSJ-H
-share/ghostscript/${VERSION}/Resource/CMap/RKSJ-V
-share/ghostscript/${VERSION}/Resource/CMap/Roman
-share/ghostscript/${VERSION}/Resource/CMap/UniCNS-UCS2-H
-share/ghostscript/${VERSION}/Resource/CMap/UniCNS-UCS2-V
-share/ghostscript/${VERSION}/Resource/CMap/UniCNS-UTF16-H
-share/ghostscript/${VERSION}/Resource/CMap/UniCNS-UTF16-V
-share/ghostscript/${VERSION}/Resource/CMap/UniCNS-UTF32-H
-share/ghostscript/${VERSION}/Resource/CMap/UniCNS-UTF32-V
-share/ghostscript/${VERSION}/Resource/CMap/UniCNS-UTF8-H
-share/ghostscript/${VERSION}/Resource/CMap/UniCNS-UTF8-V
-share/ghostscript/${VERSION}/Resource/CMap/UniGB-UCS2-H
-share/ghostscript/${VERSION}/Resource/CMap/UniGB-UCS2-V
-share/ghostscript/${VERSION}/Resource/CMap/UniGB-UTF16-H
-share/ghostscript/${VERSION}/Resource/CMap/UniGB-UTF16-V
-share/ghostscript/${VERSION}/Resource/CMap/UniGB-UTF32-H
-share/ghostscript/${VERSION}/Resource/CMap/UniGB-UTF32-V
-share/ghostscript/${VERSION}/Resource/CMap/UniGB-UTF8-H
-share/ghostscript/${VERSION}/Resource/CMap/UniGB-UTF8-V
-share/ghostscript/${VERSION}/Resource/CMap/UniHojo-UCS2-H
-share/ghostscript/${VERSION}/Resource/CMap/UniJIS-UCS2-H
-share/ghostscript/${VERSION}/Resource/CMap/UniJIS-UCS2-HW-H
-share/ghostscript/${VERSION}/Resource/CMap/UniJIS-UCS2-HW-V
-share/ghostscript/${VERSION}/Resource/CMap/UniJIS-UCS2-V
-share/ghostscript/${VERSION}/Resource/CMap/UniJIS-UTF16-H
-share/ghostscript/${VERSION}/Resource/CMap/UniJIS-UTF16-V
-share/ghostscript/${VERSION}/Resource/CMap/UniJIS-UTF32-H
-share/ghostscript/${VERSION}/Resource/CMap/UniJIS-UTF32-V
-share/ghostscript/${VERSION}/Resource/CMap/UniJIS-UTF8-H
-share/ghostscript/${VERSION}/Resource/CMap/UniJIS-UTF8-V
-share/ghostscript/${VERSION}/Resource/CMap/UniJIS2004-UTF16-H
-share/ghostscript/${VERSION}/Resource/CMap/UniJIS2004-UTF16-V
-share/ghostscript/${VERSION}/Resource/CMap/UniJIS2004-UTF32-H
-share/ghostscript/${VERSION}/Resource/CMap/UniJIS2004-UTF32-V
-share/ghostscript/${VERSION}/Resource/CMap/UniJIS2004-UTF8-H
-share/ghostscript/${VERSION}/Resource/CMap/UniJIS2004-UTF8-V
-share/ghostscript/${VERSION}/Resource/CMap/UniJISPro-UCS2-HW-V
-share/ghostscript/${VERSION}/Resource/CMap/UniJISPro-UCS2-V
-share/ghostscript/${VERSION}/Resource/CMap/UniJISPro-UTF8-V
-share/ghostscript/${VERSION}/Resource/CMap/UniJISX0213-UTF32-H
-share/ghostscript/${VERSION}/Resource/CMap/UniJISX0213-UTF32-V
-share/ghostscript/${VERSION}/Resource/CMap/UniJISX02132004-UTF32-H
-share/ghostscript/${VERSION}/Resource/CMap/UniJISX02132004-UTF32-V
-share/ghostscript/${VERSION}/Resource/CMap/UniKS-UCS2-H
-share/ghostscript/${VERSION}/Resource/CMap/UniKS-UCS2-V
-share/ghostscript/${VERSION}/Resource/CMap/UniKS-UTF16-H
-share/ghostscript/${VERSION}/Resource/CMap/UniKS-UTF16-V
-share/ghostscript/${VERSION}/Resource/CMap/UniKS-UTF32-H
-share/ghostscript/${VERSION}/Resource/CMap/UniKS-UTF32-V
-share/ghostscript/${VERSION}/Resource/CMap/UniKS-UTF8-H
-share/ghostscript/${VERSION}/Resource/CMap/UniKS-UTF8-V
-share/ghostscript/${VERSION}/Resource/CMap/V
-share/ghostscript/${VERSION}/Resource/CMap/WP-Symbol
-share/ghostscript/${VERSION}/Resource/ColorSpace/
-share/ghostscript/${VERSION}/Resource/ColorSpace/DefaultCMYK
-share/ghostscript/${VERSION}/Resource/ColorSpace/DefaultGray
-share/ghostscript/${VERSION}/Resource/ColorSpace/DefaultRGB
-share/ghostscript/${VERSION}/Resource/ColorSpace/TrivialCMYK
-share/ghostscript/${VERSION}/Resource/ColorSpace/sGray
-share/ghostscript/${VERSION}/Resource/ColorSpace/sRGB
-share/ghostscript/${VERSION}/Resource/Decoding/
-share/ghostscript/${VERSION}/Resource/Decoding/FCO_Dingbats
-share/ghostscript/${VERSION}/Resource/Decoding/FCO_Symbol
-share/ghostscript/${VERSION}/Resource/Decoding/FCO_Unicode
-share/ghostscript/${VERSION}/Resource/Decoding/FCO_Wingdings
-share/ghostscript/${VERSION}/Resource/Decoding/Latin1
-share/ghostscript/${VERSION}/Resource/Decoding/StandardEncoding
-share/ghostscript/${VERSION}/Resource/Decoding/Unicode
-share/ghostscript/${VERSION}/Resource/Encoding/
-share/ghostscript/${VERSION}/Resource/Encoding/Wingdings
-share/ghostscript/${VERSION}/Resource/Font/
-share/ghostscript/${VERSION}/Resource/Font/CenturySchL-Bold
-share/ghostscript/${VERSION}/Resource/Font/CenturySchL-BoldItal
-share/ghostscript/${VERSION}/Resource/Font/CenturySchL-Ital
-share/ghostscript/${VERSION}/Resource/Font/CenturySchL-Roma
-share/ghostscript/${VERSION}/Resource/Font/Dingbats
-share/ghostscript/${VERSION}/Resource/Font/NimbusMonL-Bold
-share/ghostscript/${VERSION}/Resource/Font/NimbusMonL-BoldObli
-share/ghostscript/${VERSION}/Resource/Font/NimbusMonL-Regu
-share/ghostscript/${VERSION}/Resource/Font/NimbusMonL-ReguObli
-share/ghostscript/${VERSION}/Resource/Font/NimbusRomNo9L-Medi
-share/ghostscript/${VERSION}/Resource/Font/NimbusRomNo9L-MediItal
-share/ghostscript/${VERSION}/Resource/Font/NimbusRomNo9L-Regu
-share/ghostscript/${VERSION}/Resource/Font/NimbusRomNo9L-ReguItal
-share/ghostscript/${VERSION}/Resource/Font/NimbusSanL-Bold
-share/ghostscript/${VERSION}/Resource/Font/NimbusSanL-BoldCond
-share/ghostscript/${VERSION}/Resource/Font/NimbusSanL-BoldCondItal
-share/ghostscript/${VERSION}/Resource/Font/NimbusSanL-BoldItal
-share/ghostscript/${VERSION}/Resource/Font/NimbusSanL-Regu
-share/ghostscript/${VERSION}/Resource/Font/NimbusSanL-ReguCond
-share/ghostscript/${VERSION}/Resource/Font/NimbusSanL-ReguCondItal
-share/ghostscript/${VERSION}/Resource/Font/NimbusSanL-ReguItal
-share/ghostscript/${VERSION}/Resource/Font/StandardSymL
-share/ghostscript/${VERSION}/Resource/Font/URWBookmanL-DemiBold
-share/ghostscript/${VERSION}/Resource/Font/URWBookmanL-DemiBoldItal
-share/ghostscript/${VERSION}/Resource/Font/URWBookmanL-Ligh
-share/ghostscript/${VERSION}/Resource/Font/URWBookmanL-LighItal
-share/ghostscript/${VERSION}/Resource/Font/URWChanceryL-MediItal
-share/ghostscript/${VERSION}/Resource/Font/URWGothicL-Book
-share/ghostscript/${VERSION}/Resource/Font/URWGothicL-BookObli
-share/ghostscript/${VERSION}/Resource/Font/URWGothicL-Demi
-share/ghostscript/${VERSION}/Resource/Font/URWGothicL-DemiObli
-share/ghostscript/${VERSION}/Resource/Font/URWPalladioL-Bold
-share/ghostscript/${VERSION}/Resource/Font/URWPalladioL-BoldItal
-share/ghostscript/${VERSION}/Resource/Font/URWPalladioL-Ital
-share/ghostscript/${VERSION}/Resource/Font/URWPalladioL-Roma
-share/ghostscript/${VERSION}/Resource/Init/
-share/ghostscript/${VERSION}/Resource/Init/FAPIcidfmap
-share/ghostscript/${VERSION}/Resource/Init/FAPIconfig
-share/ghostscript/${VERSION}/Resource/Init/FAPIfontmap
-share/ghostscript/${VERSION}/Resource/Init/FCOfontmap-PCLPS2
-share/ghostscript/${VERSION}/Resource/Init/Fontmap
-share/ghostscript/${VERSION}/Resource/Init/Fontmap.GS
-share/ghostscript/${VERSION}/Resource/Init/cidfmap
-share/ghostscript/${VERSION}/Resource/Init/gs_agl.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_btokn.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_cet.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_cff.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_cidcm.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_ciddc.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_cidfm.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_cidfn.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_cidtt.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_cmap.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_cspace.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_css_e.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_dbt_e.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_diskf.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_diskn.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_dpnxt.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_dps.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_dps1.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_dps2.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_dscp.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_epsf.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_fapi.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_fntem.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_fonts.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_frsd.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_icc.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_il1_e.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_img.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_init.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_l2img.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_lev2.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_ll3.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_mex_e.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_mgl_e.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_mro_e.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_pdf_e.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_pdfwr.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_res.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_resmp.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_setpd.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_statd.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_std_e.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_sym_e.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_trap.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_ttf.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_typ32.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_typ42.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_type1.ps
-share/ghostscript/${VERSION}/Resource/Init/gs_wan_e.ps
-share/ghostscript/${VERSION}/Resource/Init/pdf_base.ps
-share/ghostscript/${VERSION}/Resource/Init/pdf_cslayer.ps
-share/ghostscript/${VERSION}/Resource/Init/pdf_draw.ps
-share/ghostscript/${VERSION}/Resource/Init/pdf_font.ps
-share/ghostscript/${VERSION}/Resource/Init/pdf_main.ps
-share/ghostscript/${VERSION}/Resource/Init/pdf_ops.ps
-share/ghostscript/${VERSION}/Resource/Init/pdf_rbld.ps
-share/ghostscript/${VERSION}/Resource/Init/pdf_sec.ps
-share/ghostscript/${VERSION}/Resource/Init/xlatmap
-share/ghostscript/${VERSION}/Resource/SubstCID/
-share/ghostscript/${VERSION}/Resource/SubstCID/CNS1-WMode
-share/ghostscript/${VERSION}/Resource/SubstCID/GB1-WMode
-share/ghostscript/${VERSION}/Resource/SubstCID/Japan1-WMode
-share/ghostscript/${VERSION}/Resource/SubstCID/Korea1-WMode
-share/ghostscript/${VERSION}/doc/
-share/ghostscript/${VERSION}/doc/API.htm
-share/ghostscript/${VERSION}/doc/AUTHORS
-share/ghostscript/${VERSION}/doc/C-style.htm
-share/ghostscript/${VERSION}/doc/COPYING
-share/ghostscript/${VERSION}/doc/Changes.htm
-share/ghostscript/${VERSION}/doc/Commprod.htm
-share/ghostscript/${VERSION}/doc/DLL.htm
-share/ghostscript/${VERSION}/doc/Deprecated.htm
-share/ghostscript/${VERSION}/doc/Details.htm
-share/ghostscript/${VERSION}/doc/Details8.htm
-share/ghostscript/${VERSION}/doc/Details9.htm
-share/ghostscript/${VERSION}/doc/Develop.htm
-share/ghostscript/${VERSION}/doc/Devices.htm
-share/ghostscript/${VERSION}/doc/Drivers.htm
-share/ghostscript/${VERSION}/doc/Fonts.htm
-share/ghostscript/${VERSION}/doc/GS9_Color_Management.pdf
-share/ghostscript/${VERSION}/doc/GS9_Color_Management.tex
-share/ghostscript/${VERSION}/doc/Helpers.htm
-share/ghostscript/${VERSION}/doc/Hershey.htm
-share/ghostscript/${VERSION}/doc/History1.htm
-share/ghostscript/${VERSION}/doc/History2.htm
-share/ghostscript/${VERSION}/doc/History3.htm
-share/ghostscript/${VERSION}/doc/History4.htm
-share/ghostscript/${VERSION}/doc/History5.htm
-share/ghostscript/${VERSION}/doc/History6.htm
-share/ghostscript/${VERSION}/doc/History7.htm
-share/ghostscript/${VERSION}/doc/History8.htm
-share/ghostscript/${VERSION}/doc/History9.htm
-share/ghostscript/${VERSION}/doc/Install.htm
-share/ghostscript/${VERSION}/doc/Issues.htm
-share/ghostscript/${VERSION}/doc/Language.htm
-share/ghostscript/${VERSION}/doc/Lib.htm
-share/ghostscript/${VERSION}/doc/Make.htm
-share/ghostscript/${VERSION}/doc/News.htm
-share/ghostscript/${VERSION}/doc/Projects.htm
-share/ghostscript/${VERSION}/doc/Ps-style.htm
-share/ghostscript/${VERSION}/doc/Ps2epsi.htm
-share/ghostscript/${VERSION}/doc/Ps2pdf.htm
-share/ghostscript/${VERSION}/doc/Ps2ps2.htm
-share/ghostscript/${VERSION}/doc/Psfiles.htm
-share/ghostscript/${VERSION}/doc/Readme.htm
-share/ghostscript/${VERSION}/doc/Release.htm
-share/ghostscript/${VERSION}/doc/Source.htm
-share/ghostscript/${VERSION}/doc/Unix-lpr.htm
-share/ghostscript/${VERSION}/doc/Use.htm
-share/ghostscript/${VERSION}/doc/WhatIsGS.htm
-share/ghostscript/${VERSION}/doc/Xfonts.htm
-share/ghostscript/${VERSION}/doc/gs-vms.hlp
-share/ghostscript/${VERSION}/doc/gs.css
-share/ghostscript/${VERSION}/doc/gsdoc.el
-share/ghostscript/${VERSION}/doc/index.html
-share/ghostscript/${VERSION}/doc/pscet_status.txt
-share/ghostscript/${VERSION}/doc/thirdparty.htm
-share/ghostscript/${VERSION}/examples/
-share/ghostscript/${VERSION}/examples/alphabet.ps
-share/ghostscript/${VERSION}/examples/annots.pdf
-share/ghostscript/${VERSION}/examples/chess.ps
-share/ghostscript/${VERSION}/examples/cjk/
-share/ghostscript/${VERSION}/examples/cjk/all_ac1.ps
-share/ghostscript/${VERSION}/examples/cjk/all_ag1.ps
-share/ghostscript/${VERSION}/examples/cjk/all_aj1.ps
-share/ghostscript/${VERSION}/examples/cjk/all_aj2.ps
-share/ghostscript/${VERSION}/examples/cjk/all_ak1.ps
-share/ghostscript/${VERSION}/examples/cjk/article9.ps
-share/ghostscript/${VERSION}/examples/cjk/gscjk_ac.ps
-share/ghostscript/${VERSION}/examples/cjk/gscjk_ag.ps
-share/ghostscript/${VERSION}/examples/cjk/gscjk_aj.ps
-share/ghostscript/${VERSION}/examples/cjk/gscjk_ak.ps
-share/ghostscript/${VERSION}/examples/cjk/iso2022.ps
-share/ghostscript/${VERSION}/examples/cjk/iso2022v.ps
-share/ghostscript/${VERSION}/examples/colorcir.ps
-share/ghostscript/${VERSION}/examples/doretree.ps
-share/ghostscript/${VERSION}/examples/escher.ps
-share/ghostscript/${VERSION}/examples/golfer.eps
-share/ghostscript/${VERSION}/examples/grayalph.ps
-share/ghostscript/${VERSION}/examples/ridt91.eps
-share/ghostscript/${VERSION}/examples/snowflak.ps
-share/ghostscript/${VERSION}/examples/text_graph_image_cmyk_rgb.pdf
-share/ghostscript/${VERSION}/examples/text_graphic_image.pdf
-share/ghostscript/${VERSION}/examples/tiger.eps
-share/ghostscript/${VERSION}/examples/transparency_example.ps
-share/ghostscript/${VERSION}/examples/vasarely.ps
-share/ghostscript/${VERSION}/examples/waterfal.ps
-share/ghostscript/${VERSION}/iccprofiles/
-share/ghostscript/${VERSION}/iccprofiles/default_cmyk.icc
-share/ghostscript/${VERSION}/iccprofiles/default_gray.icc
-share/ghostscript/${VERSION}/iccprofiles/default_rgb.icc
-share/ghostscript/${VERSION}/iccprofiles/gray_to_k.icc
-share/ghostscript/${VERSION}/iccprofiles/lab.icc
-share/ghostscript/${VERSION}/iccprofiles/ps_cmyk.icc
-share/ghostscript/${VERSION}/iccprofiles/ps_gray.icc
-share/ghostscript/${VERSION}/iccprofiles/ps_rgb.icc
-share/ghostscript/${VERSION}/iccprofiles/sgray.icc
-share/ghostscript/${VERSION}/iccprofiles/srgb.icc
share/ghostscript/${VERSION}/lib/
share/ghostscript/${VERSION}/lib/PDFA_def.ps
share/ghostscript/${VERSION}/lib/PDFX_def.ps
+share/ghostscript/${VERSION}/lib/PM760p.upp
+share/ghostscript/${VERSION}/lib/PM760pl.upp
+share/ghostscript/${VERSION}/lib/PM820p.upp
+share/ghostscript/${VERSION}/lib/PM820pl.upp
+share/ghostscript/${VERSION}/lib/Stc670p.upp
+share/ghostscript/${VERSION}/lib/Stc670pl.upp
+share/ghostscript/${VERSION}/lib/Stc680p.upp
+share/ghostscript/${VERSION}/lib/Stc680pl.upp
+share/ghostscript/${VERSION}/lib/Stc740p.upp
+share/ghostscript/${VERSION}/lib/Stc740pl.upp
+share/ghostscript/${VERSION}/lib/Stc760p.upp
+share/ghostscript/${VERSION}/lib/Stc760pl.upp
+share/ghostscript/${VERSION}/lib/Stc777p.upp
+share/ghostscript/${VERSION}/lib/Stc777pl.upp
+share/ghostscript/${VERSION}/lib/Stp720p.upp
+share/ghostscript/${VERSION}/lib/Stp720pl.upp
+share/ghostscript/${VERSION}/lib/Stp870p.upp
+share/ghostscript/${VERSION}/lib/Stp870pl.upp
share/ghostscript/${VERSION}/lib/acctest.ps
-share/ghostscript/${VERSION}/lib/addxchar.ps
share/ghostscript/${VERSION}/lib/align.ps
share/ghostscript/${VERSION}/lib/bj8.rpd
share/ghostscript/${VERSION}/lib/bj8gc12f.upp
@@ -486,6 +148,8 @@ share/ghostscript/${VERSION}/lib/bj8oh06
share/ghostscript/${VERSION}/lib/bj8pa06n.upp
share/ghostscript/${VERSION}/lib/bj8pp12f.upp
share/ghostscript/${VERSION}/lib/bj8ts06n.upp
+share/ghostscript/${VERSION}/lib/bjc6000a1.upp
+share/ghostscript/${VERSION}/lib/bjc6000b1.upp
share/ghostscript/${VERSION}/lib/bjc610a0.upp
share/ghostscript/${VERSION}/lib/bjc610a1.upp
share/ghostscript/${VERSION}/lib/bjc610a2.upp
@@ -509,16 +173,13 @@ share/ghostscript/${VERSION}/lib/cdj550.
share/ghostscript/${VERSION}/lib/cdj690.upp
share/ghostscript/${VERSION}/lib/cdj690ec.upp
share/ghostscript/${VERSION}/lib/cid2code.ps
-share/ghostscript/${VERSION}/lib/decrypt.ps
share/ghostscript/${VERSION}/lib/dnj750c.upp
share/ghostscript/${VERSION}/lib/dnj750m.upp
share/ghostscript/${VERSION}/lib/docie.ps
-share/ghostscript/${VERSION}/lib/font2c.ps
share/ghostscript/${VERSION}/lib/font2pcl.ps
share/ghostscript/${VERSION}/lib/ghostpdf.ppd
share/ghostscript/${VERSION}/lib/gs_ce_e.ps
-share/ghostscript/${VERSION}/lib/gs_cmdl.ps
-share/ghostscript/${VERSION}/lib/gs_fform.ps
+share/ghostscript/${VERSION}/lib/gs_css_e.ps
share/ghostscript/${VERSION}/lib/gs_il2_e.ps
share/ghostscript/${VERSION}/lib/gs_kanji.ps
share/ghostscript/${VERSION}/lib/gs_ksb_e.ps
@@ -530,8 +191,6 @@ share/ghostscript/${VERSION}/lib/gs_lgx_
share/ghostscript/${VERSION}/lib/gs_m.xbm
share/ghostscript/${VERSION}/lib/gs_m.xpm
share/ghostscript/${VERSION}/lib/gs_m_m.xbm
-share/ghostscript/${VERSION}/lib/gs_pfile.ps
-share/ghostscript/${VERSION}/lib/gs_rdlin.ps
share/ghostscript/${VERSION}/lib/gs_s.xbm
share/ghostscript/${VERSION}/lib/gs_s.xpm
share/ghostscript/${VERSION}/lib/gs_s_m.xbm
@@ -545,20 +204,14 @@ share/ghostscript/${VERSION}/lib/gslp.ps
share/ghostscript/${VERSION}/lib/gsnup.ps
share/ghostscript/${VERSION}/lib/ht_ccsto.ps
share/ghostscript/${VERSION}/lib/image-qa.ps
-share/ghostscript/${VERSION}/lib/impath.ps
share/ghostscript/${VERSION}/lib/jispaper.ps
share/ghostscript/${VERSION}/lib/landscap.ps
-share/ghostscript/${VERSION}/lib/level1.ps
share/ghostscript/${VERSION}/lib/lines.ps
-share/ghostscript/${VERSION}/lib/markhint.ps
-share/ghostscript/${VERSION}/lib/markpath.ps
share/ghostscript/${VERSION}/lib/mkcidfm.ps
share/ghostscript/${VERSION}/lib/necp2x.upp
share/ghostscript/${VERSION}/lib/necp2x6.upp
-share/ghostscript/${VERSION}/lib/packfile.ps
-share/ghostscript/${VERSION}/lib/pcharstr.ps
share/ghostscript/${VERSION}/lib/pdf2dsc.ps
-share/ghostscript/${VERSION}/lib/pdfwrite.ps
+share/ghostscript/${VERSION}/lib/pdf_info.ps
share/ghostscript/${VERSION}/lib/pf2afm.ps
share/ghostscript/${VERSION}/lib/pfbtopfa.ps
share/ghostscript/${VERSION}/lib/ppath.ps
@@ -566,9 +219,7 @@ share/ghostscript/${VERSION}/lib/pphs.ps
share/ghostscript/${VERSION}/lib/prfont.ps
share/ghostscript/${VERSION}/lib/printafm.ps
share/ghostscript/${VERSION}/lib/ps2ai.ps
-share/ghostscript/${VERSION}/lib/ps2ascii.ps
share/ghostscript/${VERSION}/lib/ps2epsi.ps
-share/ghostscript/${VERSION}/lib/quit.ps
share/ghostscript/${VERSION}/lib/ras1.upp
share/ghostscript/${VERSION}/lib/ras24.upp
share/ghostscript/${VERSION}/lib/ras3.upp
@@ -576,8 +227,10 @@ share/ghostscript/${VERSION}/lib/ras32.u
share/ghostscript/${VERSION}/lib/ras4.upp
share/ghostscript/${VERSION}/lib/ras8m.upp
share/ghostscript/${VERSION}/lib/rollconv.ps
-share/ghostscript/${VERSION}/lib/showchar.ps
-share/ghostscript/${VERSION}/lib/showpage.ps
+share/ghostscript/${VERSION}/lib/s400a1.upp
+share/ghostscript/${VERSION}/lib/s400b1.upp
+share/ghostscript/${VERSION}/lib/sharp.upp
+share/ghostscript/${VERSION}/lib/sipixa6.upp
share/ghostscript/${VERSION}/lib/st640ih.upp
share/ghostscript/${VERSION}/lib/st640ihg.upp
share/ghostscript/${VERSION}/lib/st640p.upp
@@ -599,6 +252,7 @@ share/ghostscript/${VERSION}/lib/stc600i
share/ghostscript/${VERSION}/lib/stc600p.upp
share/ghostscript/${VERSION}/lib/stc600pl.upp
share/ghostscript/${VERSION}/lib/stc640p.upp
+share/ghostscript/${VERSION}/lib/stc740ih.upp
share/ghostscript/${VERSION}/lib/stc800ih.upp
share/ghostscript/${VERSION}/lib/stc800p.upp
share/ghostscript/${VERSION}/lib/stc800pl.upp
@@ -611,10 +265,7 @@ share/ghostscript/${VERSION}/lib/stcolor
share/ghostscript/${VERSION}/lib/stocht.ps
share/ghostscript/${VERSION}/lib/traceimg.ps
share/ghostscript/${VERSION}/lib/traceop.ps
-share/ghostscript/${VERSION}/lib/type1enc.ps
-share/ghostscript/${VERSION}/lib/type1ops.ps
share/ghostscript/${VERSION}/lib/uninfo.ps
-share/ghostscript/${VERSION}/lib/unprot.ps
share/ghostscript/${VERSION}/lib/viewcmyk.ps
share/ghostscript/${VERSION}/lib/viewgif.ps
share/ghostscript/${VERSION}/lib/viewjpeg.ps
@@ -622,7 +273,5 @@ share/ghostscript/${VERSION}/lib/viewmif
share/ghostscript/${VERSION}/lib/viewpbm.ps
share/ghostscript/${VERSION}/lib/viewpcx.ps
share/ghostscript/${VERSION}/lib/viewps2a.ps
-share/ghostscript/${VERSION}/lib/wftopfa.ps
share/ghostscript/${VERSION}/lib/winmaps.ps
-share/ghostscript/${VERSION}/lib/wrfont.ps
share/ghostscript/${VERSION}/lib/zeroline.ps