diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2015-08-22 17:48:35 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2015-08-22 17:48:35 +0000 |
commit | 27470e1676e69455acf06ae25ebd42ebd5bdecdb (patch) | |
tree | 445c3e315f03aa972de87391f921c655e4634f60 | |
parent | cb9ed09fda5119f533f6a0b50796a275dfe64587 (diff) | |
download | ports-27470e1676e69455acf06ae25ebd42ebd5bdecdb.tar.gz ports-27470e1676e69455acf06ae25ebd42ebd5bdecdb.zip |
Notes
475 files changed, 9011 insertions, 3310 deletions
@@ -7840,3 +7840,11 @@ www/hs-yesod-platform||2015-08-20|Removed: Upstream support is discontinued. www/hs-yesod-routes||2015-08-20|Removed: Upstream support is discontinued. x11-toolkits/hs-gtkglext||2015-08-20|Removed: Upstream support is discontinued. textproc/prosper||2015-08-22|Removed: maintainted in print/texlive-texmf. +print/ghostscript7|print/ghostscript7-x11|2015-08-22|Split into print/ghostscript7-base and print/ghostscript7-x11 +print/ghostscript7-nox11|print/ghostscript7-base|2015-08-22|Integrated into print/ghostscript7-base +print/ghostscript8|print/ghostscript8-x11|2015-08-22|Split into print/ghostscript8-base and print/ghostscript8-x11 +print/ghostscript8-nox11|print/ghostscript8-base|2015-08-22|Integrated into print/ghostscript8-base +print/ghostscript9|print/ghostscript9-x11|2015-08-22|Split into print/ghostscript9-base and print/ghostscript9-x11 +print/ghostscript9-nox11|print/ghostscript9-base|2015-08-22|Integrated into print/ghostscript9-base +print/ghostscript9-agpl|print/ghostscript9-agpl-x11|2015-08-22|Split into print/ghostscript9-agpl-base and print/ghostscript9-agpl-x11 +print/ghostscript9-agpl-nox11|print/ghostscript9-agpl-base|2015-08-22|Integrated into print/ghostscript9-agpl-base diff --git a/Mk/Uses/ghostscript.mk b/Mk/Uses/ghostscript.mk index b488a23a2657..98fd5012fc03 100644 --- a/Mk/Uses/ghostscript.mk +++ b/Mk/Uses/ghostscript.mk @@ -4,7 +4,7 @@ # # Feature: ghostscript # Usage: USES=ghostscript or USES=ghostscript:args -# Valid ARGS: <version>, build, run, nox11 +# Valid ARGS: <version>, build, run, x11 # # version The chooseable versions are 7, 8 and 9. If no version is # specified version 9 is selected. @@ -13,7 +13,7 @@ # USES=ghostscript:run # Use the set default Ghostscript as a run dependancy # USES=ghostscript:8,build # Use ghostscript 8 as a build dependancy. # -# nox11 Indicate that the Ghostscript nox11 port is required. +# x11 Indicate that X11 support is required. # build Indicates that Ghostscript is needed at build time and adds # it as BUILD_DEPENDS. # run Indicates that Ghostscript is needed at run time and adds @@ -32,7 +32,7 @@ _GS_VERSION= 7 8 9 agpl _GS_ARGS= ${ghostscript_ARGS} -.if ${_GS_ARGS:N[789]:Nnox11:Nbuild:Nrun} +.if ${_GS_ARGS:N[789]:Nagpl:Nx11:Nbuild:Nrun} IGNORE?= Unknown ghostscript argument ${_GS_ARGS} .endif @@ -84,23 +84,28 @@ _GS_SELECTED?= 7 IGNORE?= Invalid ghostscript argument or GHOSTSCRIPT_DEFAULT .endif -# dependencies -_GS_PORT= ghostscript${_GS_SELECTED}${_GS_AGPL_SUFFIX}${_GS_NOX11_SUFFIX} - -.undef _GS_NOX11_SUFFIX -.if ${_GS_ARGS:Mnox11} || \ - (defined(OPTIONS_DEFINE) && defined(PORT_OPTIONS) && \ - ${OPTIONS_DEFINE:MX11} && ${PORT_OPTIONS:MX11} == "") -# XXX -#DEPENDS_ARGS+= print_${_GS_PORT}_UNSET_FORCE+=X11 -_GS_NOX11_SUFFIX= -nox11 +# Resolve minor version number for X11.so library. +.if !empty(_GS_SELECTED:M9) && defined(_GS_AGPL_SUFFIX) +_GS_VERSION_MINOR= 9.16_2 +.elif !empty(_GS_SELECTED:M9) +_GS_VERSION_MINOR= 9.06_11 +.elif !empty(_GS_SELECTED:M8) +_GS_VERSION_MINOR= 8.71_19 +.elif !empty(_GS_SELECTED:M7) +_GS_VERSION_MINOR= 7.07_32 .endif -.if defined(_GS_BUILD_DEP) -BUILD_DEPENDS+= gs:${PORTSDIR}/print/${_GS_PORT} +# dependencies +_GS_PORT= ghostscript${_GS_SELECTED}${_GS_AGPL_SUFFIX}-base +_GS_X11_PORT= ghostscript${_GS_SELECTED}${_GS_AGPL_SUFFIX}-x11 + +.for type in BUILD RUN +.if defined(_GS_${type}_DEP) +${type}_DEPENDS+= ${_GS_PORT}>=${_GS_VERSION_MINOR}:${PORTSDIR}/print/${_GS_PORT} +.if ${_GS_ARGS:Mx11} +${type}_DEPENDS+= ${_GS_X11_PORT}>=${_GS_VERSION_MINOR}:${PORTSDIR}/print/${_GS_X11_PORT} .endif -.if defined(_GS_RUN_DEP) -RUN_DEPENDS+= gs:${PORTSDIR}/print/${_GS_PORT} .endif +.endfor .endif # _INCLUDE_USES_GHOSTSCRIPT_MK @@ -5,6 +5,27 @@ they are unavoidable. You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20150822: + AFFECTS: users of print/ghostscript* + AUTHOR: hrs@FreeBSD.org + + print/ghostscript{7,8,9,9-agpl} have been split into + print/ghostscript{7,8,9,9-agpl}-{base,x11}. + print/ghostscript*-nox11 ports have been removed. + + The -base installs Ghostscript binaries, libgs, and other data files + and it depends on no X11 library. The -x11 installs a small shared + library to enable x11* devices in the installed -base package. + + In most cases, Ghostscript is installed as a dependency. A port/package + which requires Ghostscript will automatically pick up -base, and + when x11* devices required it will pick up -x11 in addition. + + If one wants to install Ghostscript manually and full compatibility + with the previous versions, just install -x11 because it installs + -base as a dependency. Combination of the two provides the same + functionality as before. + 20150821: AFFECTS: users of security/openssh-portable AUTHOR: bdrewery@FreeBSD.org diff --git a/cad/xcircuit/Makefile b/cad/xcircuit/Makefile index be61e7cf80c0..c8663c929276 100644 --- a/cad/xcircuit/Makefile +++ b/cad/xcircuit/Makefile @@ -3,6 +3,7 @@ PORTNAME= xcircuit PORTVERSION= 3.8.78 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= cad MASTER_SITES= http://opencircuitdesign.com/xcircuit/archive/ \ @@ -16,7 +17,7 @@ LICENSE= GPLv2 OPTIONS_DEFINE= EXAMPLES USE_XORG= xpm xscrnsaver xt -USES= tk ghostscript:run gmake tar:tgz +USES= tk ghostscript:x11,run gmake tar:tgz GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} \ --with-tk=${TK_LIBDIR} diff --git a/comms/efax-gtk/Makefile b/comms/efax-gtk/Makefile index 0caeb75202b3..d1ea2b0b5943 100644 --- a/comms/efax-gtk/Makefile +++ b/comms/efax-gtk/Makefile @@ -3,7 +3,7 @@ PORTNAME= efax-gtk PORTVERSION= 3.2.13 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= comms MASTER_SITES= SF EXTRACT_SUFX= .src.tgz diff --git a/comms/hylafax/Makefile b/comms/hylafax/Makefile index 7bd1fff4bf9e..2b5b5b8c49bd 100644 --- a/comms/hylafax/Makefile +++ b/comms/hylafax/Makefile @@ -3,7 +3,7 @@ PORTNAME= hylafax PORTVERSION= 6.0.6 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= comms MASTER_SITES= ftp://ftp.hylafax.org/source/ diff --git a/comms/tkhylafax/Makefile b/comms/tkhylafax/Makefile index b83ad4c82f43..4c764ad05ebc 100644 --- a/comms/tkhylafax/Makefile +++ b/comms/tkhylafax/Makefile @@ -3,7 +3,7 @@ PORTNAME= tkhylafax PORTVERSION= 3.2b -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= comms tk MASTER_SITES= ftp://ftp.hylafax.org/contrib/tkhylafax/ DISTNAME= ${PORTNAME}-${PORTVERSION:S/b/beta/} @@ -14,7 +14,7 @@ COMMENT= Tcl/tk interface to Sam Leffler's fax package RUN_DEPENDS= sendfax:${PORTSDIR}/comms/hylafax \ gv:${PORTSDIR}/print/gv -USES+= ghostscript:run tk:run +USES= tk:run WRKSRC= ${WRKDIR}/tkhylafax MAKE_ARGS= STAGEDIR=${STAGEDIR} PREFIX=${STAGEDIR}${PREFIX} TCLSH=${TCLSH} WISH=${WISH} diff --git a/deskutils/etask/Makefile b/deskutils/etask/Makefile index 68ab71e8db3f..9512efc6e952 100644 --- a/deskutils/etask/Makefile +++ b/deskutils/etask/Makefile @@ -3,7 +3,7 @@ PORTNAME= etask PORTVERSION= 0.3.91 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= deskutils elisp MASTER_SITES= http://members.chello.at/rene.weichselbaum/ \ http://dryice.name/computer/FreeBSD/distfiles/ diff --git a/devel/aegis/Makefile b/devel/aegis/Makefile index 1721c0aaaebc..68f52482ad90 100644 --- a/devel/aegis/Makefile +++ b/devel/aegis/Makefile @@ -3,6 +3,7 @@ PORTNAME= aegis PORTVERSION= 4.25 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= SF DISTVERSIONSUFFIX= .D510 @@ -12,11 +13,10 @@ COMMENT= Transaction-based software configuration management system LICENSE= GPLv3 -BUILD_DEPENDS= ps2pdf:${PORTSDIR}/print/ghostscript9-nox11 LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl RUN_DEPENDS= tkdiff:${PORTSDIR}/textproc/tkdiff -USES= gettext perl5 tk +USES= gettext ghostscript perl5 tk USE_GNOME= libxml2 USE_GCC= any GNU_CONFIGURE= yes diff --git a/devel/doxygen/Makefile b/devel/doxygen/Makefile index fe45b418b1eb..106e26ed5e2e 100644 --- a/devel/doxygen/Makefile +++ b/devel/doxygen/Makefile @@ -4,7 +4,7 @@ PORTNAME= doxygen PORTVERSION= 1.8.10 PORTEPOCH= 2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= ftp://ftp.stack.nl/pub/users/dimitri/ \ http://ftp.stack.nl/pub/users/dimitri/ diff --git a/devel/gdcm/Makefile b/devel/gdcm/Makefile index 2a20987198ad..001f36d7336b 100644 --- a/devel/gdcm/Makefile +++ b/devel/gdcm/Makefile @@ -3,6 +3,7 @@ PORTNAME= gdcm PORTVERSION= ${GDCM_MAJOR}.${GDCM_MINOR}.${GDCM_PATCH} +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= SF/gdcm/gdcm%202.x/GDCM%20${PORTVERSION} diff --git a/devel/libexplain/Makefile b/devel/libexplain/Makefile index 862a1b46496d..d682059e4362 100644 --- a/devel/libexplain/Makefile +++ b/devel/libexplain/Makefile @@ -3,7 +3,7 @@ PORTNAME= libexplain PORTVERSION= 1.3.${PATCHLEVEL} -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel MASTER_SITES= SF/${PORTNAME}/${PORTVERSION:R} DISTNAME= ${PORTNAME}-${PORTVERSION:R} diff --git a/devel/srecord/Makefile b/devel/srecord/Makefile index f06acd234f44..8ff20c603361 100644 --- a/devel/srecord/Makefile +++ b/devel/srecord/Makefile @@ -3,18 +3,17 @@ PORTNAME= srecord PORTVERSION= 1.64 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel MASTER_SITES= SF MAINTAINER= brooks@FreeBSD.org COMMENT= Collection of powerful tools for manipulating EPROM load files -BUILD_DEPENDS= ps2pdf:${PORTSDIR}/print/ghostscript9 \ - ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs +BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt -USES= libtool:build +USES= ghostscript libtool:build GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib diff --git a/editors/ted/Makefile b/editors/ted/Makefile index 67c2ae1a7a54..204e2e9d0a67 100644 --- a/editors/ted/Makefile +++ b/editors/ted/Makefile @@ -3,7 +3,7 @@ PORTNAME= ted PORTVERSION= 2.23 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= editors MASTER_SITES= ftp://ftp.nluug.nl/pub/editors/ted/ \ http://fossies.org/linux/misc/ @@ -26,7 +26,7 @@ GTK2_DESC= Use GTK2 instead of MOTIF WRKSRC= ${WRKDIR}/Ted-${PORTVERSION} USE_XORG= xext xft -USES= ghostscript:run iconv +USES= ghostscript:x11,run iconv GNU_CONFIGURE= yes MAKE_ENV= DEF_AFMDIR="-DAFMDIR=\"\\\"${AFMDIR}/\\\"\"" \ DEF_INDDIR="-DINDDIR=\"\\\"${INDDIR}/\\\"\"" \ diff --git a/editors/texmacs/Makefile b/editors/texmacs/Makefile index 9868057c1d0c..085888501577 100644 --- a/editors/texmacs/Makefile +++ b/editors/texmacs/Makefile @@ -3,7 +3,7 @@ PORTNAME= texmacs PORTVERSION= 1.0.7.21 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= editors print MASTER_SITES= ftp://ftp.texmacs.org/TeXmacs/tmftp/source/ \ http://www.predatorlabs.net/dl/ @@ -40,7 +40,7 @@ PDF_DESC= Experimental PDF renderer FREETYPE_LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 FREETYPE_CONFIGURE_WITH=freetype=linked -GHOSTSCRIPT_USES= ghostscript +GHOSTSCRIPT_USES= ghostscript:x11 GHOSTSCRIPT_CONFIGURE_WITH= gs=yes ICONV_USES= iconv diff --git a/editors/texmaker/Makefile b/editors/texmaker/Makefile index 05ba554a71b0..51458a19c53b 100644 --- a/editors/texmaker/Makefile +++ b/editors/texmaker/Makefile @@ -3,7 +3,7 @@ PORTNAME= texmaker PORTVERSION= 4.4.1 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 3 CATEGORIES= editors MASTER_SITES= http://www.xm1math.net/texmaker/ @@ -13,7 +13,7 @@ COMMENT= LaTeX Development Environment LIB_DEPENDS= libpoppler.so:${PORTSDIR}/graphics/poppler -USES= desktop-file-utils ghostscript:run pkgconfig qmake tar:bzip2 +USES= desktop-file-utils ghostscript:x11,run pkgconfig qmake tar:bzip2 _USE_QT4= gui network xml webkit \ moc_build rcc_build uic_build _USE_QT5= concurrent network printsupport script webkit widgets \ diff --git a/editors/texstudio/Makefile b/editors/texstudio/Makefile index 770e9fdff587..2fba2864a192 100644 --- a/editors/texstudio/Makefile +++ b/editors/texstudio/Makefile @@ -2,7 +2,7 @@ PORTNAME= texstudio PORTVERSION= 2.9.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= editors MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/TeXstudio%20${PORTVERSION} diff --git a/graphics/GraphicsMagick/Makefile b/graphics/GraphicsMagick/Makefile index b23eea7ed677..3821a24b2d2d 100644 --- a/graphics/GraphicsMagick/Makefile +++ b/graphics/GraphicsMagick/Makefile @@ -3,7 +3,7 @@ PORTNAME= GraphicsMagick PORTVERSION= 1.3.20 -PORTREVISION= 5 +PORTREVISION= 6 PORTEPOCH= 1 CATEGORIES= graphics MASTER_SITES= SF \ diff --git a/graphics/ImageMagick/Makefile b/graphics/ImageMagick/Makefile index 574a6ed7c26e..0a11fa67bdd2 100644 --- a/graphics/ImageMagick/Makefile +++ b/graphics/ImageMagick/Makefile @@ -2,7 +2,7 @@ PORTNAME= ImageMagick DISTVERSION= 6.9.1-10 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= graphics perl5 MASTER_SITES= http://www.imagemagick.org/download/ \ @@ -221,9 +221,9 @@ PLIST_SUB+= TIFF="@comment " .if ${PORT_OPTIONS:MGSLIB} CONFIGURE_ARGS+= --with-gslib . if ${PORT_OPTIONS:MX11} -USES+= ghostscript +USES+= ghostscript:x11 . else -USES+= ghostscript:nox11 +USES+= ghostscript . endif .else CONFIGURE_ARGS+= --without-gslib @@ -358,9 +358,9 @@ PLIST_SUB+= PANGO="@comment " # PDF (Adobe Portable Document Format) support .if ${PORT_OPTIONS:MPDF} . if ${PORT_OPTIONS:MX11} -USES+= ghostscript +USES+= ghostscript:x11 . else -USES+= ghostscript:nox11 +USES+= ghostscript . endif .endif @@ -385,9 +385,9 @@ INSTALL_TARGET= install-strip .if ${PORT_OPTIONS:MTESTS} . if ${PORT_OPTIONS:MX11} -USES+= ghostscript:build +USES+= ghostscript:x11,build . else -USES+= ghostscript:build,nox11 +USES+= ghostscript:build . endif .endif diff --git a/graphics/ImageMagick7/Makefile b/graphics/ImageMagick7/Makefile index c5f330c87a30..8090f294a1a3 100644 --- a/graphics/ImageMagick7/Makefile +++ b/graphics/ImageMagick7/Makefile @@ -2,7 +2,7 @@ PORTNAME= ImageMagick DISTVERSION= 7.0.0-0~beta${DATE} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics perl5 MASTER_SITES= http://www.imagemagick.org/download/ \ http://www.imagemagick.org/download/beta/ \ @@ -227,9 +227,9 @@ PLIST_SUB+= TIFF="@comment " .if ${PORT_OPTIONS:MGSLIB} CONFIGURE_ARGS+= --with-gslib . if ${PORT_OPTIONS:MX11} -USES+= ghostscript +USES+= ghostscript:x11 . else -USES+= ghostscript:nox11 +USES+= ghostscript . endif .else CONFIGURE_ARGS+= --without-gslib @@ -364,9 +364,9 @@ PLIST_SUB+= PANGO="@comment " # PDF (Adobe Portable Document Format) support .if ${PORT_OPTIONS:MPDF} . if ${PORT_OPTIONS:MX11} -USES+= ghostscript +USES+= ghostscript:x11 . else -USES+= ghostscript:nox11 +USES+= ghostscript . endif .endif @@ -391,9 +391,9 @@ INSTALL_TARGET= install-strip .if ${PORT_OPTIONS:MTESTS} . if ${PORT_OPTIONS:MX11} -USES+= ghostscript:build +USES+= ghostscript:x11,build . else -USES+= ghostscript:build,nox11 +USES+= ghostscript:build . endif .endif diff --git a/graphics/cinepaint/Makefile b/graphics/cinepaint/Makefile index 4093446143ce..15f3c3ecb968 100644 --- a/graphics/cinepaint/Makefile +++ b/graphics/cinepaint/Makefile @@ -3,7 +3,7 @@ PORTNAME= cinepaint DISTVERSION= 1.0-4 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/CinePaint/CinePaint-${DISTVERSION} diff --git a/graphics/eps2png/Makefile b/graphics/eps2png/Makefile index 4afe0811c061..ba384790e05d 100644 --- a/graphics/eps2png/Makefile +++ b/graphics/eps2png/Makefile @@ -3,7 +3,7 @@ PORTNAME= eps2png PORTVERSION= 2.7 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CPAN:JV diff --git a/graphics/epstool/Makefile b/graphics/epstool/Makefile index ec03ec0cf269..5263821b0872 100644 --- a/graphics/epstool/Makefile +++ b/graphics/epstool/Makefile @@ -3,7 +3,7 @@ PORTNAME= epstool PORTVERSION= 3.08 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics MASTER_SITES= LOCAL/bf diff --git a/graphics/gimp-app/Makefile b/graphics/gimp-app/Makefile index ba5b45e57dab..89614057fae0 100644 --- a/graphics/gimp-app/Makefile +++ b/graphics/gimp-app/Makefile @@ -3,7 +3,7 @@ PORTNAME?= gimp-app PORTVERSION= 2.8.14 -PORTREVISION?= 3 +PORTREVISION?= 4 PORTEPOCH?= 1 CATEGORIES?= graphics gnome MASTER_SITES= GIMP/gimp/v${PORTVERSION:R} diff --git a/graphics/gle-graphics/Makefile b/graphics/gle-graphics/Makefile index d0f9f4da6be3..48ef30782262 100644 --- a/graphics/gle-graphics/Makefile +++ b/graphics/gle-graphics/Makefile @@ -3,7 +3,7 @@ PORTNAME= gle-graphics DISTVERSION= 4.2.4cf -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics print MASTER_SITES= SF/glx/gle4%20%28Current%20Active%20Version%29/${DISTVERSION:C,.$,,1} DISTNAME= ${PORTNAME}-${DISTVERSION}-src diff --git a/graphics/imgtops/Makefile b/graphics/imgtops/Makefile index 8e2ffe631170..71a95aa1ee69 100644 --- a/graphics/imgtops/Makefile +++ b/graphics/imgtops/Makefile @@ -3,7 +3,7 @@ PORTNAME= imgtops PORTVERSION= 1.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics MASTER_SITES= SF diff --git a/graphics/impressive/Makefile b/graphics/impressive/Makefile index f627ea378efb..2f50b8e33a34 100644 --- a/graphics/impressive/Makefile +++ b/graphics/impressive/Makefile @@ -3,7 +3,7 @@ PORTNAME= impressive PORTVERSION= 0.10.3 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/Impressive/${PORTVERSION}/ DISTNAME= Impressive-${PORTVERSION} diff --git a/graphics/klatexformula/Makefile b/graphics/klatexformula/Makefile index cd5756df3845..096307bc2f02 100644 --- a/graphics/klatexformula/Makefile +++ b/graphics/klatexformula/Makefile @@ -2,6 +2,7 @@ PORTNAME= klatexformula PORTVERSION= 3.2.11 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} diff --git a/graphics/ocaml-images/Makefile b/graphics/ocaml-images/Makefile index 87f1b5f46f51..71d4e412e1be 100644 --- a/graphics/ocaml-images/Makefile +++ b/graphics/ocaml-images/Makefile @@ -3,7 +3,7 @@ PORTNAME= images PORTVERSION= 4.0.1 -PORTREVISION= 4 +PORTREVISION= 5 PORTEPOCH= 2 CATEGORIES= graphics MASTER_SITES= https://bitbucket.org/camlspotter/camlimages/get/ diff --git a/graphics/ocrfeeder/Makefile b/graphics/ocrfeeder/Makefile index f8928f9e3f80..2219e4a2f2e1 100644 --- a/graphics/ocrfeeder/Makefile +++ b/graphics/ocrfeeder/Makefile @@ -3,6 +3,7 @@ PORTNAME= ocrfeeder PORTVERSION= 0.8.1 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= GNOME diff --git a/graphics/pstoedit/Makefile b/graphics/pstoedit/Makefile index 24b14524e0d7..754dce78f8ed 100644 --- a/graphics/pstoedit/Makefile +++ b/graphics/pstoedit/Makefile @@ -3,7 +3,7 @@ PORTNAME= pstoedit PORTVERSION= 3.70 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics print MASTER_SITES= SF diff --git a/graphics/pstoepsi/Makefile b/graphics/pstoepsi/Makefile index b507509a5d64..a8d0be3e928a 100644 --- a/graphics/pstoepsi/Makefile +++ b/graphics/pstoepsi/Makefile @@ -3,7 +3,7 @@ PORTNAME= pstoepsi PORTVERSION= 20020711 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics MASTER_SITES= ftp://bourbon.usc.edu/pub/tgif/tools/pstoepsi/ DISTFILES= pstoepsi README.this-site diff --git a/graphics/py-chart/Makefile b/graphics/py-chart/Makefile index 271c7a3117d3..efc2c583589f 100644 --- a/graphics/py-chart/Makefile +++ b/graphics/py-chart/Makefile @@ -3,7 +3,7 @@ PORTNAME= chart PORTVERSION= 1.39 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics python MASTER_SITES= http://download.gna.org/pychart/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/graphics/sam2p/Makefile b/graphics/sam2p/Makefile index 33173fb318c4..dabe50b216a5 100644 --- a/graphics/sam2p/Makefile +++ b/graphics/sam2p/Makefile @@ -3,6 +3,7 @@ PORTNAME= sam2p PORTVERSION= 0.49.2 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= graphics MASTER_SITES= GOOGLE_CODE diff --git a/graphics/xournal/Makefile b/graphics/xournal/Makefile index 6b50199f4cc7..4d3e683b4fed 100644 --- a/graphics/xournal/Makefile +++ b/graphics/xournal/Makefile @@ -3,7 +3,7 @@ PORTNAME= xournal PORTVERSION= 0.4.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= SF diff --git a/graphics/xpaint/Makefile b/graphics/xpaint/Makefile index f116330d955f..07311d887fa6 100644 --- a/graphics/xpaint/Makefile +++ b/graphics/xpaint/Makefile @@ -3,6 +3,7 @@ PORTNAME= xpaint PORTVERSION= 2.9.10.3 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= SF/sf-${PORTNAME}/sf-${PORTNAME}/${PORTNAME}-${PORTVERSION:R} diff --git a/mail/claws-mail-pdf_viewer/Makefile b/mail/claws-mail-pdf_viewer/Makefile index a1fea9051fb3..146c85bf9980 100644 --- a/mail/claws-mail-pdf_viewer/Makefile +++ b/mail/claws-mail-pdf_viewer/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= pdf_viewer -PORTREVISION= 1 +PORTREVISION= 2 COMMENT= PDF and PostScript viewer plugin for Claws Mail diff --git a/math/R/Makefile b/math/R/Makefile index cdd0d94c2a92..2d3d5bf516b6 100644 --- a/math/R/Makefile +++ b/math/R/Makefile @@ -3,7 +3,7 @@ PORTNAME?= R PORTVERSION= 3.0.2 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= math lang MASTER_SITES= http://cran.r-project.org/%SUBDIR%/ \ ftp://cran.r-project.org/pub/R/%SUBDIR%/ \ diff --git a/math/asymptote/Makefile b/math/asymptote/Makefile index d40b09727f52..4c38f9ddae69 100644 --- a/math/asymptote/Makefile +++ b/math/asymptote/Makefile @@ -3,7 +3,7 @@ PORTNAME= asymptote PORTVERSION= 2.32 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= math MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} DISTNAME= ${PORTNAME}-${PORTVERSION}.src diff --git a/math/plplot/Makefile b/math/plplot/Makefile index 466cf29a77a1..4b499ef3d249 100644 --- a/math/plplot/Makefile +++ b/math/plplot/Makefile @@ -3,6 +3,7 @@ PORTNAME= plplot PORTVERSION= 5.11.0 +PORTREVISION= 1 CATEGORIES= math science MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}%20Source diff --git a/misc/pspresent/Makefile b/misc/pspresent/Makefile index c490b9d1fc67..a49dd8e96834 100644 --- a/misc/pspresent/Makefile +++ b/misc/pspresent/Makefile @@ -3,7 +3,7 @@ PORTNAME= pspresent PORTVERSION= 1.3 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= misc MASTER_SITES= http://www.zmatt.net/pspresent/ @@ -13,7 +13,7 @@ COMMENT= Full-screen slide shows of postscript files LICENSE= GPLv2 USE_XORG= x11 xext xinerama -USES= ghostscript:run +USES= ghostscript:x11,run MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LDLIBS="${LDFLAGS}" ALL_TARGET= pspresent diff --git a/multimedia/lives/Makefile b/multimedia/lives/Makefile index 629a5e24533b..c05acb40c26f 100644 --- a/multimedia/lives/Makefile +++ b/multimedia/lives/Makefile @@ -3,6 +3,7 @@ PORTNAME= lives PORTVERSION= 2.4.1 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/ diff --git a/print/Makefile b/print/Makefile index 3a6b858864d2..580c3db59a09 100644 --- a/print/Makefile +++ b/print/Makefile @@ -63,17 +63,17 @@ SUBDIR += frescobaldi SUBDIR += ft2demos SUBDIR += ggv - SUBDIR += ghostscript7 + SUBDIR += ghostscript7-base SUBDIR += ghostscript7-commfont SUBDIR += ghostscript7-jpnfont SUBDIR += ghostscript7-korfont - SUBDIR += ghostscript7-nox11 - SUBDIR += ghostscript8 - SUBDIR += ghostscript8-nox11 - SUBDIR += ghostscript9 - SUBDIR += ghostscript9-agpl - SUBDIR += ghostscript9-agpl-nox11 - SUBDIR += ghostscript9-nox11 + SUBDIR += ghostscript7-x11 + SUBDIR += ghostscript8-base + SUBDIR += ghostscript8-x11 + SUBDIR += ghostscript9-agpl-base + SUBDIR += ghostscript9-agpl-x11 + SUBDIR += ghostscript9-base + SUBDIR += ghostscript9-x11 SUBDIR += gimp-gutenprint SUBDIR += gl2ps SUBDIR += gnome-cups-manager diff --git a/print/apsfilter/Makefile b/print/apsfilter/Makefile index 73cbe3a96d47..784fbbf2f25a 100644 --- a/print/apsfilter/Makefile +++ b/print/apsfilter/Makefile @@ -3,7 +3,7 @@ PORTNAME= apsfilter PORTVERSION= 7.2.8 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= print MASTER_SITES= http://www.apsfilter.org/download/ DIST_SUBDIR= apsfilter diff --git a/print/auctex/Makefile b/print/auctex/Makefile index b9a8a1c1d4ae..5d2ca09e5a40 100644 --- a/print/auctex/Makefile +++ b/print/auctex/Makefile @@ -3,10 +3,10 @@ PORTNAME= auctex PORTVERSION= 11.88 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= print elisp MASTER_SITES= GNU -PKGNAMESUFFIX= -${EMACS_PORT_NAME} +PKGNAMESUFFIX= -${EMACS_PORT_NAME} MAINTAINER= hrs@FreeBSD.org COMMENT= Integrated environment for writing LaTeX using GNU Emacs @@ -14,25 +14,23 @@ COMMENT= Integrated environment for writing LaTeX using GNU Emacs LICENSE= GPLv3 NOT_FOR_ARCHS= ia64 -USE_TEX= latex USES= ghostscript USE_EMACS= yes +USE_TEX= latex texhash +TEXHASHDIRS= ${TEXMFDIR} GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-lispdir=${PREFIX}/${LISPDIR} \ - --with-auto-dir=${PREFIX}/${LISPDIR}/auctex/auto \ - --with-texmf-dir=${PREFIX}/${TEXMFDIR} -DOCS_CONFIGURE_ON= --docdir=${DOCSDIR} -DOCS_CONFIGURE_OFF= WITHOUT_AUCTEX_DOCSDIR=yes +CONFIGURE_ARGS= --with-lispdir=${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} \ + --with-auto-dir=${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/auctex/auto \ + --with-texmf-dir=${PREFIX}/${TEXMFDIR} PORTDOCS= tex-ref.pdf INFO= auctex preview-latex -LISPDIR= ${EMACS_VERSION_SITE_LISPDIR} -PLIST_SUB+= LISPDIR=${LISPDIR} \ - TEXMFDIR=${TEXMFDIR} \ - MKTEXLSR=${MKTEXLSR} +PLIST_SUB= TEXMFDIR=${TEXMFDIR} SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message OPTIONS_DEFINE= DOCS OPTIONS_DEFAULT=DOCS +DOCS_CONFIGURE_ON= --docdir=${DOCSDIR} +DOCS_CONFIGURE_OFF= WITHOUT_AUCTEX_DOCSDIR=yes .include <bsd.port.mk> diff --git a/print/auctex/pkg-plist b/print/auctex/pkg-plist index 2de6817de57a..cfc27fe251dd 100644 --- a/print/auctex/pkg-plist +++ b/print/auctex/pkg-plist @@ -1,393 +1,393 @@ -%%LISPDIR%%/auctex.el -%%LISPDIR%%/auctex/.nosearch -%%LISPDIR%%/auctex/auto/.nosearch -%%LISPDIR%%/auctex/bib-cite.el -%%LISPDIR%%/auctex/bib-cite.elc -%%LISPDIR%%/auctex/context-en.el -%%LISPDIR%%/auctex/context-en.elc -%%LISPDIR%%/auctex/context-nl.el -%%LISPDIR%%/auctex/context-nl.elc -%%LISPDIR%%/auctex/context.el -%%LISPDIR%%/auctex/context.elc -%%LISPDIR%%/auctex/font-latex.el -%%LISPDIR%%/auctex/font-latex.elc -%%LISPDIR%%/auctex/images/amstex.xpm -%%LISPDIR%%/auctex/images/bibtex.xpm -%%LISPDIR%%/auctex/images/dropdown.xpm -%%LISPDIR%%/auctex/images/dvipdf.xpm -%%LISPDIR%%/auctex/images/dvips.xpm -%%LISPDIR%%/auctex/images/error.xpm -%%LISPDIR%%/auctex/images/exec.xpm -%%LISPDIR%%/auctex/images/execbibtex.xpm -%%LISPDIR%%/auctex/images/execdvips.xpm -%%LISPDIR%%/auctex/images/execerror.xpm -%%LISPDIR%%/auctex/images/execpdftex.xpm -%%LISPDIR%%/auctex/images/exectex.xpm -%%LISPDIR%%/auctex/images/execviewdvi.xpm -%%LISPDIR%%/auctex/images/execviewpdf.xpm -%%LISPDIR%%/auctex/images/execviewps.xpm -%%LISPDIR%%/auctex/images/gv.xpm -%%LISPDIR%%/auctex/images/jumpdvi.xpm -%%LISPDIR%%/auctex/images/ltx-symb-turn-off.xpm -%%LISPDIR%%/auctex/images/ltx-symb-turn-on.xpm -%%LISPDIR%%/auctex/images/pdftex.xpm -%%LISPDIR%%/auctex/images/prverr16.xpm -%%LISPDIR%%/auctex/images/prverr20.xpm -%%LISPDIR%%/auctex/images/prverr24.xbm -%%LISPDIR%%/auctex/images/prverr24.xpm -%%LISPDIR%%/auctex/images/prvtex-cap-up.xpm -%%LISPDIR%%/auctex/images/prvtex12.xbm -%%LISPDIR%%/auctex/images/prvtex12.xpm -%%LISPDIR%%/auctex/images/prvtex16.xbm -%%LISPDIR%%/auctex/images/prvtex16.xpm -%%LISPDIR%%/auctex/images/prvtex20.xpm -%%LISPDIR%%/auctex/images/prvtex24.xbm -%%LISPDIR%%/auctex/images/prvtex24.xpm -%%LISPDIR%%/auctex/images/prvwrk12.xpm -%%LISPDIR%%/auctex/images/prvwrk14.xpm -%%LISPDIR%%/auctex/images/prvwrk16.xpm -%%LISPDIR%%/auctex/images/prvwrk20.xpm -%%LISPDIR%%/auctex/images/prvwrk24.xbm -%%LISPDIR%%/auctex/images/prvwrk24.xpm -%%LISPDIR%%/auctex/images/pspdf.xpm -%%LISPDIR%%/auctex/images/sep.xpm -%%LISPDIR%%/auctex/images/spell.xpm -%%LISPDIR%%/auctex/images/tex.xpm -%%LISPDIR%%/auctex/images/view.xpm -%%LISPDIR%%/auctex/images/viewdvi.xpm -%%LISPDIR%%/auctex/images/viewpdf.xpm -%%LISPDIR%%/auctex/images/viewps.xpm -%%LISPDIR%%/auctex/latex.el -%%LISPDIR%%/auctex/latex.elc -%%LISPDIR%%/auctex/multi-prompt.el -%%LISPDIR%%/auctex/multi-prompt.elc -%%LISPDIR%%/auctex/plain-tex.el -%%LISPDIR%%/auctex/plain-tex.elc -%%LISPDIR%%/auctex/preview.el -%%LISPDIR%%/auctex/preview.elc -%%LISPDIR%%/auctex/prv-emacs.el -%%LISPDIR%%/auctex/prv-emacs.elc -%%LISPDIR%%/auctex/style/.nosearch -%%LISPDIR%%/auctex/style/CJK.el -%%LISPDIR%%/auctex/style/CJK.elc -%%LISPDIR%%/auctex/style/CJKutf8.el -%%LISPDIR%%/auctex/style/CJKutf8.elc -%%LISPDIR%%/auctex/style/MinionPro.el -%%LISPDIR%%/auctex/style/MinionPro.elc -%%LISPDIR%%/auctex/style/acro.el -%%LISPDIR%%/auctex/style/acro.elc -%%LISPDIR%%/auctex/style/acronym.el -%%LISPDIR%%/auctex/style/acronym.elc -%%LISPDIR%%/auctex/style/afterpage.el -%%LISPDIR%%/auctex/style/afterpage.elc -%%LISPDIR%%/auctex/style/alltt.el -%%LISPDIR%%/auctex/style/alltt.elc -%%LISPDIR%%/auctex/style/alphanum.el -%%LISPDIR%%/auctex/style/alphanum.elc -%%LISPDIR%%/auctex/style/amsart.el -%%LISPDIR%%/auctex/style/amsart.elc -%%LISPDIR%%/auctex/style/amsbook.el -%%LISPDIR%%/auctex/style/amsbook.elc -%%LISPDIR%%/auctex/style/amsbsy.el -%%LISPDIR%%/auctex/style/amsbsy.elc -%%LISPDIR%%/auctex/style/amsmath.el -%%LISPDIR%%/auctex/style/amsmath.elc -%%LISPDIR%%/auctex/style/amsopn.el -%%LISPDIR%%/auctex/style/amsopn.elc -%%LISPDIR%%/auctex/style/amssymb.el -%%LISPDIR%%/auctex/style/amssymb.elc -%%LISPDIR%%/auctex/style/amstex.el -%%LISPDIR%%/auctex/style/amstex.elc -%%LISPDIR%%/auctex/style/amstext.el -%%LISPDIR%%/auctex/style/amstext.elc -%%LISPDIR%%/auctex/style/amsthm.el -%%LISPDIR%%/auctex/style/amsthm.elc -%%LISPDIR%%/auctex/style/array.el -%%LISPDIR%%/auctex/style/array.elc -%%LISPDIR%%/auctex/style/article.el -%%LISPDIR%%/auctex/style/article.elc -%%LISPDIR%%/auctex/style/austrian.el -%%LISPDIR%%/auctex/style/austrian.elc -%%LISPDIR%%/auctex/style/babel.el -%%LISPDIR%%/auctex/style/babel.elc -%%LISPDIR%%/auctex/style/beamer.el -%%LISPDIR%%/auctex/style/beamer.elc -%%LISPDIR%%/auctex/style/biblatex.el -%%LISPDIR%%/auctex/style/biblatex.elc -%%LISPDIR%%/auctex/style/bigdelim.el -%%LISPDIR%%/auctex/style/bigdelim.elc -%%LISPDIR%%/auctex/style/bigstrut.el -%%LISPDIR%%/auctex/style/bigstrut.elc -%%LISPDIR%%/auctex/style/bm.el -%%LISPDIR%%/auctex/style/bm.elc -%%LISPDIR%%/auctex/style/book.el -%%LISPDIR%%/auctex/style/book.elc -%%LISPDIR%%/auctex/style/booktabs.el -%%LISPDIR%%/auctex/style/booktabs.elc -%%LISPDIR%%/auctex/style/bulgarian.el -%%LISPDIR%%/auctex/style/bulgarian.elc -%%LISPDIR%%/auctex/style/captcont.el -%%LISPDIR%%/auctex/style/captcont.elc -%%LISPDIR%%/auctex/style/cleveref.el -%%LISPDIR%%/auctex/style/cleveref.elc -%%LISPDIR%%/auctex/style/comment.el -%%LISPDIR%%/auctex/style/comment.elc -%%LISPDIR%%/auctex/style/csquotes.el -%%LISPDIR%%/auctex/style/csquotes.elc -%%LISPDIR%%/auctex/style/czech.el -%%LISPDIR%%/auctex/style/czech.elc -%%LISPDIR%%/auctex/style/danish.el -%%LISPDIR%%/auctex/style/danish.elc -%%LISPDIR%%/auctex/style/dinbrief.el -%%LISPDIR%%/auctex/style/dinbrief.elc -%%LISPDIR%%/auctex/style/dk-bib.el -%%LISPDIR%%/auctex/style/dk-bib.elc -%%LISPDIR%%/auctex/style/dk.el -%%LISPDIR%%/auctex/style/dk.elc -%%LISPDIR%%/auctex/style/doc.el -%%LISPDIR%%/auctex/style/doc.elc -%%LISPDIR%%/auctex/style/dutch.el -%%LISPDIR%%/auctex/style/dutch.elc -%%LISPDIR%%/auctex/style/emp.el -%%LISPDIR%%/auctex/style/emp.elc -%%LISPDIR%%/auctex/style/english.el -%%LISPDIR%%/auctex/style/english.elc -%%LISPDIR%%/auctex/style/epigraph.el -%%LISPDIR%%/auctex/style/epigraph.elc -%%LISPDIR%%/auctex/style/epsf.el -%%LISPDIR%%/auctex/style/epsf.elc -%%LISPDIR%%/auctex/style/everysel.el -%%LISPDIR%%/auctex/style/everysel.elc -%%LISPDIR%%/auctex/style/exercise.el -%%LISPDIR%%/auctex/style/exercise.elc -%%LISPDIR%%/auctex/style/fancyhdr.el -%%LISPDIR%%/auctex/style/fancyhdr.elc -%%LISPDIR%%/auctex/style/fancynum.el -%%LISPDIR%%/auctex/style/fancynum.elc -%%LISPDIR%%/auctex/style/fancyref.el -%%LISPDIR%%/auctex/style/fancyref.elc -%%LISPDIR%%/auctex/style/fancyvrb.el -%%LISPDIR%%/auctex/style/fancyvrb.elc -%%LISPDIR%%/auctex/style/filecontents.el -%%LISPDIR%%/auctex/style/filecontents.elc -%%LISPDIR%%/auctex/style/flashcards.el -%%LISPDIR%%/auctex/style/flashcards.elc -%%LISPDIR%%/auctex/style/foils.el -%%LISPDIR%%/auctex/style/foils.elc -%%LISPDIR%%/auctex/style/fontspec.el -%%LISPDIR%%/auctex/style/fontspec.elc -%%LISPDIR%%/auctex/style/footmisc.el -%%LISPDIR%%/auctex/style/footmisc.elc -%%LISPDIR%%/auctex/style/francais.el -%%LISPDIR%%/auctex/style/francais.elc -%%LISPDIR%%/auctex/style/french.el -%%LISPDIR%%/auctex/style/french.elc -%%LISPDIR%%/auctex/style/frenchb.el -%%LISPDIR%%/auctex/style/frenchb.elc -%%LISPDIR%%/auctex/style/german.el -%%LISPDIR%%/auctex/style/german.elc -%%LISPDIR%%/auctex/style/graphics.el -%%LISPDIR%%/auctex/style/graphics.elc -%%LISPDIR%%/auctex/style/graphicx.el -%%LISPDIR%%/auctex/style/graphicx.elc -%%LISPDIR%%/auctex/style/harvard.el -%%LISPDIR%%/auctex/style/harvard.elc -%%LISPDIR%%/auctex/style/hyperref.el -%%LISPDIR%%/auctex/style/hyperref.elc -%%LISPDIR%%/auctex/style/icelandic.el -%%LISPDIR%%/auctex/style/icelandic.elc -%%LISPDIR%%/auctex/style/imakeidx.el -%%LISPDIR%%/auctex/style/imakeidx.elc -%%LISPDIR%%/auctex/style/index.el -%%LISPDIR%%/auctex/style/index.elc -%%LISPDIR%%/auctex/style/inputenc.el -%%LISPDIR%%/auctex/style/inputenc.elc -%%LISPDIR%%/auctex/style/italian.el -%%LISPDIR%%/auctex/style/italian.elc -%%LISPDIR%%/auctex/style/j-article.el -%%LISPDIR%%/auctex/style/j-article.elc -%%LISPDIR%%/auctex/style/j-book.el -%%LISPDIR%%/auctex/style/j-book.elc -%%LISPDIR%%/auctex/style/j-report.el -%%LISPDIR%%/auctex/style/j-report.elc -%%LISPDIR%%/auctex/style/jarticle.el -%%LISPDIR%%/auctex/style/jarticle.elc -%%LISPDIR%%/auctex/style/jbook.el -%%LISPDIR%%/auctex/style/jbook.elc -%%LISPDIR%%/auctex/style/jreport.el -%%LISPDIR%%/auctex/style/jreport.elc -%%LISPDIR%%/auctex/style/jsarticle.el -%%LISPDIR%%/auctex/style/jsarticle.elc -%%LISPDIR%%/auctex/style/jsbook.el -%%LISPDIR%%/auctex/style/jsbook.elc -%%LISPDIR%%/auctex/style/jura.el -%%LISPDIR%%/auctex/style/jura.elc -%%LISPDIR%%/auctex/style/jurabib.el -%%LISPDIR%%/auctex/style/jurabib.elc -%%LISPDIR%%/auctex/style/kantlipsum.el -%%LISPDIR%%/auctex/style/kantlipsum.elc -%%LISPDIR%%/auctex/style/kpfonts.el -%%LISPDIR%%/auctex/style/kpfonts.elc -%%LISPDIR%%/auctex/style/latexinfo.el -%%LISPDIR%%/auctex/style/latexinfo.elc -%%LISPDIR%%/auctex/style/letter.el -%%LISPDIR%%/auctex/style/letter.elc -%%LISPDIR%%/auctex/style/lettrine.el -%%LISPDIR%%/auctex/style/lettrine.elc -%%LISPDIR%%/auctex/style/lipsum.el -%%LISPDIR%%/auctex/style/lipsum.elc -%%LISPDIR%%/auctex/style/listings.el -%%LISPDIR%%/auctex/style/listings.elc -%%LISPDIR%%/auctex/style/longtable.el -%%LISPDIR%%/auctex/style/longtable.elc -%%LISPDIR%%/auctex/style/lscape.el -%%LISPDIR%%/auctex/style/lscape.elc -%%LISPDIR%%/auctex/style/ltx-base.el -%%LISPDIR%%/auctex/style/ltx-base.elc -%%LISPDIR%%/auctex/style/ltxdoc.el -%%LISPDIR%%/auctex/style/ltxdoc.elc -%%LISPDIR%%/auctex/style/luacode.el -%%LISPDIR%%/auctex/style/luacode.elc -%%LISPDIR%%/auctex/style/makeidx.el -%%LISPDIR%%/auctex/style/makeidx.elc -%%LISPDIR%%/auctex/style/mathtools.el -%%LISPDIR%%/auctex/style/mathtools.elc -%%LISPDIR%%/auctex/style/mdwlist.el -%%LISPDIR%%/auctex/style/mdwlist.elc -%%LISPDIR%%/auctex/style/memoir.el -%%LISPDIR%%/auctex/style/memoir.elc -%%LISPDIR%%/auctex/style/metalogo.el -%%LISPDIR%%/auctex/style/metalogo.elc -%%LISPDIR%%/auctex/style/mflogo.el -%%LISPDIR%%/auctex/style/mflogo.elc -%%LISPDIR%%/auctex/style/multicol.el -%%LISPDIR%%/auctex/style/multicol.elc -%%LISPDIR%%/auctex/style/multido.el -%%LISPDIR%%/auctex/style/multido.elc -%%LISPDIR%%/auctex/style/multind.el -%%LISPDIR%%/auctex/style/multind.elc -%%LISPDIR%%/auctex/style/multirow.el -%%LISPDIR%%/auctex/style/multirow.elc -%%LISPDIR%%/auctex/style/nameref.el -%%LISPDIR%%/auctex/style/nameref.elc -%%LISPDIR%%/auctex/style/natbib.el -%%LISPDIR%%/auctex/style/natbib.elc -%%LISPDIR%%/auctex/style/naustrian.el -%%LISPDIR%%/auctex/style/naustrian.elc -%%LISPDIR%%/auctex/style/ngerman.el -%%LISPDIR%%/auctex/style/ngerman.elc -%%LISPDIR%%/auctex/style/nicefrac.el -%%LISPDIR%%/auctex/style/nicefrac.elc -%%LISPDIR%%/auctex/style/nomencl.el -%%LISPDIR%%/auctex/style/nomencl.elc -%%LISPDIR%%/auctex/style/paralist.el -%%LISPDIR%%/auctex/style/paralist.elc -%%LISPDIR%%/auctex/style/pdfsync.el -%%LISPDIR%%/auctex/style/pdfsync.elc -%%LISPDIR%%/auctex/style/placeins.el -%%LISPDIR%%/auctex/style/placeins.elc -%%LISPDIR%%/auctex/style/plext.el -%%LISPDIR%%/auctex/style/plext.elc -%%LISPDIR%%/auctex/style/plfonts.el -%%LISPDIR%%/auctex/style/plfonts.elc -%%LISPDIR%%/auctex/style/plhb.el -%%LISPDIR%%/auctex/style/plhb.elc -%%LISPDIR%%/auctex/style/polish.el -%%LISPDIR%%/auctex/style/polish.elc -%%LISPDIR%%/auctex/style/polski.el -%%LISPDIR%%/auctex/style/polski.elc -%%LISPDIR%%/auctex/style/prosper.el -%%LISPDIR%%/auctex/style/prosper.elc -%%LISPDIR%%/auctex/style/psfig.el -%%LISPDIR%%/auctex/style/psfig.elc -%%LISPDIR%%/auctex/style/pst-grad.el -%%LISPDIR%%/auctex/style/pst-grad.elc -%%LISPDIR%%/auctex/style/pst-node.el -%%LISPDIR%%/auctex/style/pst-node.elc -%%LISPDIR%%/auctex/style/pst-plot.el -%%LISPDIR%%/auctex/style/pst-plot.elc -%%LISPDIR%%/auctex/style/pst-slpe.el -%%LISPDIR%%/auctex/style/pst-slpe.elc -%%LISPDIR%%/auctex/style/pstricks.el -%%LISPDIR%%/auctex/style/pstricks.elc -%%LISPDIR%%/auctex/style/ragged2e.el -%%LISPDIR%%/auctex/style/ragged2e.elc -%%LISPDIR%%/auctex/style/report.el -%%LISPDIR%%/auctex/style/report.elc -%%LISPDIR%%/auctex/style/ruby.el -%%LISPDIR%%/auctex/style/ruby.elc -%%LISPDIR%%/auctex/style/scrartcl.el -%%LISPDIR%%/auctex/style/scrartcl.elc -%%LISPDIR%%/auctex/style/scrbase.el -%%LISPDIR%%/auctex/style/scrbase.elc -%%LISPDIR%%/auctex/style/scrbook.el -%%LISPDIR%%/auctex/style/scrbook.elc -%%LISPDIR%%/auctex/style/scrlttr2.el -%%LISPDIR%%/auctex/style/scrlttr2.elc -%%LISPDIR%%/auctex/style/scrpage2.el -%%LISPDIR%%/auctex/style/scrpage2.elc -%%LISPDIR%%/auctex/style/scrreprt.el -%%LISPDIR%%/auctex/style/scrreprt.elc -%%LISPDIR%%/auctex/style/setspace.el -%%LISPDIR%%/auctex/style/setspace.elc -%%LISPDIR%%/auctex/style/shortvrb.el -%%LISPDIR%%/auctex/style/shortvrb.elc -%%LISPDIR%%/auctex/style/siunitx.el -%%LISPDIR%%/auctex/style/siunitx.elc -%%LISPDIR%%/auctex/style/slides.el -%%LISPDIR%%/auctex/style/slides.elc -%%LISPDIR%%/auctex/style/slovak.el -%%LISPDIR%%/auctex/style/slovak.elc -%%LISPDIR%%/auctex/style/subfigure.el -%%LISPDIR%%/auctex/style/subfigure.elc -%%LISPDIR%%/auctex/style/swedish.el -%%LISPDIR%%/auctex/style/swedish.elc -%%LISPDIR%%/auctex/style/tabularx.el -%%LISPDIR%%/auctex/style/tabularx.elc -%%LISPDIR%%/auctex/style/tabulary.el -%%LISPDIR%%/auctex/style/tabulary.elc -%%LISPDIR%%/auctex/style/ulem.el -%%LISPDIR%%/auctex/style/ulem.elc -%%LISPDIR%%/auctex/style/unicode-math.el -%%LISPDIR%%/auctex/style/unicode-math.elc -%%LISPDIR%%/auctex/style/units.el -%%LISPDIR%%/auctex/style/units.elc -%%LISPDIR%%/auctex/style/url.el -%%LISPDIR%%/auctex/style/url.elc -%%LISPDIR%%/auctex/style/varioref.el -%%LISPDIR%%/auctex/style/varioref.elc -%%LISPDIR%%/auctex/style/verbatim.el -%%LISPDIR%%/auctex/style/verbatim.elc -%%LISPDIR%%/auctex/style/virtex.el -%%LISPDIR%%/auctex/style/virtex.elc -%%LISPDIR%%/auctex/style/xparse.el -%%LISPDIR%%/auctex/style/xparse.elc -%%LISPDIR%%/auctex/style/xspace.el -%%LISPDIR%%/auctex/style/xspace.elc -%%LISPDIR%%/auctex/tex-bar.el -%%LISPDIR%%/auctex/tex-bar.elc -%%LISPDIR%%/auctex/tex-buf.el -%%LISPDIR%%/auctex/tex-buf.elc -%%LISPDIR%%/auctex/tex-fold.el -%%LISPDIR%%/auctex/tex-fold.elc -%%LISPDIR%%/auctex/tex-font.el -%%LISPDIR%%/auctex/tex-font.elc -%%LISPDIR%%/auctex/tex-info.el -%%LISPDIR%%/auctex/tex-info.elc -%%LISPDIR%%/auctex/tex-jp.el -%%LISPDIR%%/auctex/tex-jp.elc -%%LISPDIR%%/auctex/tex-mik.el -%%LISPDIR%%/auctex/tex-mik.elc -%%LISPDIR%%/auctex/tex-style.el -%%LISPDIR%%/auctex/tex-style.elc -%%LISPDIR%%/auctex/tex.el -%%LISPDIR%%/auctex/tex.elc -%%LISPDIR%%/auctex/texmathp.el -%%LISPDIR%%/auctex/texmathp.elc -%%LISPDIR%%/auctex/toolbar-x.el -%%LISPDIR%%/auctex/toolbar-x.elc -%%LISPDIR%%/preview-latex.el -%%LISPDIR%%/tex-site.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/.nosearch +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/auto/.nosearch +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/bib-cite.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/bib-cite.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/context-en.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/context-en.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/context-nl.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/context-nl.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/context.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/context.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/font-latex.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/font-latex.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/amstex.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/bibtex.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/dropdown.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/dvipdf.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/dvips.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/error.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/exec.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/execbibtex.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/execdvips.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/execerror.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/execpdftex.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/exectex.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/execviewdvi.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/execviewpdf.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/execviewps.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/gv.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/jumpdvi.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/ltx-symb-turn-off.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/ltx-symb-turn-on.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/pdftex.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/prverr16.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/prverr20.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/prverr24.xbm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/prverr24.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/prvtex-cap-up.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/prvtex12.xbm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/prvtex12.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/prvtex16.xbm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/prvtex16.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/prvtex20.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/prvtex24.xbm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/prvtex24.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/prvwrk12.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/prvwrk14.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/prvwrk16.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/prvwrk20.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/prvwrk24.xbm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/prvwrk24.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/pspdf.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/sep.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/spell.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/tex.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/view.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/viewdvi.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/viewpdf.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/images/viewps.xpm +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/latex.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/latex.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/multi-prompt.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/multi-prompt.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/plain-tex.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/plain-tex.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/preview.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/preview.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/prv-emacs.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/prv-emacs.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/.nosearch +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/CJK.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/CJK.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/CJKutf8.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/CJKutf8.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/MinionPro.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/MinionPro.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/acro.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/acro.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/acronym.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/acronym.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/afterpage.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/afterpage.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/alltt.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/alltt.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/alphanum.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/alphanum.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amsart.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amsart.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amsbook.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amsbook.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amsbsy.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amsbsy.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amsmath.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amsmath.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amsopn.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amsopn.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amssymb.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amssymb.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amstex.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amstex.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amstext.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amstext.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amsthm.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/amsthm.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/array.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/array.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/article.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/article.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/austrian.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/austrian.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/babel.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/babel.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/beamer.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/beamer.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/biblatex.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/biblatex.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/bigdelim.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/bigdelim.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/bigstrut.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/bigstrut.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/bm.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/bm.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/book.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/book.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/booktabs.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/booktabs.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/bulgarian.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/bulgarian.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/captcont.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/captcont.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/cleveref.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/cleveref.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/comment.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/comment.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/csquotes.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/csquotes.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/czech.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/czech.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/danish.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/danish.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/dinbrief.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/dinbrief.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/dk-bib.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/dk-bib.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/dk.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/dk.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/doc.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/doc.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/dutch.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/dutch.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/emp.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/emp.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/english.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/english.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/epigraph.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/epigraph.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/epsf.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/epsf.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/everysel.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/everysel.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/exercise.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/exercise.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/fancyhdr.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/fancyhdr.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/fancynum.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/fancynum.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/fancyref.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/fancyref.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/fancyvrb.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/fancyvrb.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/filecontents.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/filecontents.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/flashcards.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/flashcards.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/foils.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/foils.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/fontspec.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/fontspec.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/footmisc.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/footmisc.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/francais.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/francais.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/french.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/french.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/frenchb.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/frenchb.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/german.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/german.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/graphics.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/graphics.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/graphicx.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/graphicx.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/harvard.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/harvard.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/hyperref.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/hyperref.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/icelandic.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/icelandic.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/imakeidx.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/imakeidx.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/index.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/index.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/inputenc.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/inputenc.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/italian.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/italian.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/j-article.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/j-article.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/j-book.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/j-book.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/j-report.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/j-report.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/jarticle.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/jarticle.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/jbook.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/jbook.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/jreport.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/jreport.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/jsarticle.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/jsarticle.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/jsbook.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/jsbook.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/jura.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/jura.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/jurabib.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/jurabib.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/kantlipsum.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/kantlipsum.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/kpfonts.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/kpfonts.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/latexinfo.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/latexinfo.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/letter.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/letter.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/lettrine.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/lettrine.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/lipsum.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/lipsum.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/listings.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/listings.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/longtable.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/longtable.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/lscape.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/lscape.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/ltx-base.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/ltx-base.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/ltxdoc.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/ltxdoc.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/luacode.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/luacode.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/makeidx.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/makeidx.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/mathtools.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/mathtools.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/mdwlist.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/mdwlist.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/memoir.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/memoir.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/metalogo.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/metalogo.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/mflogo.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/mflogo.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/multicol.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/multicol.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/multido.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/multido.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/multind.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/multind.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/multirow.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/multirow.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/nameref.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/nameref.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/natbib.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/natbib.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/naustrian.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/naustrian.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/ngerman.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/ngerman.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/nicefrac.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/nicefrac.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/nomencl.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/nomencl.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/paralist.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/paralist.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/pdfsync.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/pdfsync.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/placeins.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/placeins.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/plext.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/plext.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/plfonts.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/plfonts.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/plhb.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/plhb.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/polish.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/polish.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/polski.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/polski.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/prosper.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/prosper.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/psfig.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/psfig.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/pst-grad.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/pst-grad.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/pst-node.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/pst-node.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/pst-plot.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/pst-plot.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/pst-slpe.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/pst-slpe.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/pstricks.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/pstricks.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/ragged2e.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/ragged2e.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/report.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/report.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/ruby.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/ruby.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/scrartcl.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/scrartcl.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/scrbase.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/scrbase.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/scrbook.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/scrbook.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/scrlttr2.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/scrlttr2.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/scrpage2.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/scrpage2.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/scrreprt.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/scrreprt.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/setspace.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/setspace.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/shortvrb.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/shortvrb.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/siunitx.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/siunitx.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/slides.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/slides.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/slovak.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/slovak.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/subfigure.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/subfigure.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/swedish.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/swedish.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/tabularx.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/tabularx.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/tabulary.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/tabulary.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/ulem.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/ulem.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/unicode-math.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/unicode-math.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/units.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/units.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/url.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/url.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/varioref.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/varioref.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/verbatim.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/verbatim.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/virtex.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/virtex.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/xparse.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/xparse.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/xspace.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/style/xspace.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/tex-bar.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/tex-bar.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/tex-buf.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/tex-buf.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/tex-fold.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/tex-fold.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/tex-font.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/tex-font.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/tex-info.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/tex-info.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/tex-jp.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/tex-jp.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/tex-mik.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/tex-mik.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/tex-style.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/tex-style.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/tex.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/tex.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/texmathp.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/texmathp.elc +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/toolbar-x.el +%%EMACS_VERSION_SITE_LISPDIR%%/auctex/toolbar-x.elc +%%EMACS_VERSION_SITE_LISPDIR%%/preview-latex.el +%%EMACS_VERSION_SITE_LISPDIR%%/tex-site.el %%TEXMFDIR%%/tex/latex/preview/prauctex.cfg %%TEXMFDIR%%/tex/latex/preview/prauctex.def %%TEXMFDIR%%/tex/latex/preview/prcounters.def diff --git a/print/cups-filters/Makefile b/print/cups-filters/Makefile index 01672677fc90..78fe3c092ea2 100644 --- a/print/cups-filters/Makefile +++ b/print/cups-filters/Makefile @@ -2,7 +2,7 @@ PORTNAME= cups-filters PORTVERSION= 1.0.71 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= print MASTER_SITES= http://www.openprinting.org/download/cups-filters/ diff --git a/print/cups-fxlinuxprint/Makefile b/print/cups-fxlinuxprint/Makefile index e22f3a53fea8..54aa4004c9d6 100644 --- a/print/cups-fxlinuxprint/Makefile +++ b/print/cups-fxlinuxprint/Makefile @@ -2,6 +2,7 @@ PORTNAME= fxlinuxprint PORTVERSION= 1.0.1 +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= ftp://download.fujixerox.co.jp/pub/exe/apeosport/c4300series/ PKGNAMEPREFIX= cups- diff --git a/print/cups-pdf/Makefile b/print/cups-pdf/Makefile index 9eb375458b8c..dbb43a496cd9 100644 --- a/print/cups-pdf/Makefile +++ b/print/cups-pdf/Makefile @@ -3,7 +3,7 @@ PORTNAME= cups-pdf PORTVERSION= 2.6.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= print MASTER_SITES= http://www.cups-pdf.de/src/ \ http://www.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/src/ diff --git a/print/dvisvg/Makefile b/print/dvisvg/Makefile index d43ed28c3775..4eb46db4bf12 100644 --- a/print/dvisvg/Makefile +++ b/print/dvisvg/Makefile @@ -3,7 +3,7 @@ PORTNAME= dvisvg DISTVERSION= 0.7.1d -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= print MASTER_SITES= http://dvisvg.sourceforge.net/files/ diff --git a/print/epsonepl/Makefile b/print/epsonepl/Makefile index 3b368dc71627..232eb8a4973b 100644 --- a/print/epsonepl/Makefile +++ b/print/epsonepl/Makefile @@ -3,7 +3,7 @@ PORTNAME= epsonepl PORTVERSION= 0.2.2 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= print MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/GS-IJS%20Plugin%20v${PORTVERSION} DISTNAME= ${PORTNAME}ijs-${PORTVERSION} diff --git a/print/flpsed/Makefile b/print/flpsed/Makefile index 88f1b1b4577e..2efd097aa244 100644 --- a/print/flpsed/Makefile +++ b/print/flpsed/Makefile @@ -3,7 +3,7 @@ PORTNAME= flpsed PORTVERSION= 0.7.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= print MASTER_SITES= http://www.ecademix.com/JohannesHofmann/ @@ -15,7 +15,7 @@ LICENSE= GPLv3 LIB_DEPENDS+= libfltk.so:${PORTSDIR}/x11-toolkits/fltk GNU_CONFIGURE= yes -USES= desktop-file-utils ghostscript gmake +USES= desktop-file-utils ghostscript:x11 gmake PLIST_FILES= bin/flpsed \ man/man1/flpsed.1.gz \ share/applications/flpsed.desktop \ diff --git a/print/font2svg/Makefile b/print/font2svg/Makefile index a28fe4ecc13d..f3849b2fc92d 100644 --- a/print/font2svg/Makefile +++ b/print/font2svg/Makefile @@ -3,7 +3,7 @@ PORTNAME= font2svg PORTVERSION= 1.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= print MASTER_SITES= http://www.gdv.uni-hannover.de/~peinecke/font2svg/ diff --git a/print/foo2zjs/Makefile b/print/foo2zjs/Makefile index d7460cc03965..8314eb4bc7a1 100644 --- a/print/foo2zjs/Makefile +++ b/print/foo2zjs/Makefile @@ -3,6 +3,7 @@ PORTNAME= foo2zjs PORTVERSION= 20150511 +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= GOOGLE_CODE \ LOCAL/bsam/${PORTNAME} \ diff --git a/print/foomatic-filters/Makefile b/print/foomatic-filters/Makefile index 0b25a7b04309..83957988abf5 100644 --- a/print/foomatic-filters/Makefile +++ b/print/foomatic-filters/Makefile @@ -3,7 +3,7 @@ PORTNAME= foomatic-filters PORTVERSION= 4.0.17 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= print MASTER_SITES= http://www.openprinting.org/download/foomatic/ diff --git a/print/ggv/Makefile b/print/ggv/Makefile index 6557b2b443c9..2cf04b182831 100644 --- a/print/ggv/Makefile +++ b/print/ggv/Makefile @@ -4,7 +4,7 @@ PORTNAME= ggv PORTVERSION= 2.12.0 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= print gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 @@ -14,7 +14,7 @@ COMMENT= GNOME 2 ghostscript viewer INSTALLS_OMF= yes USE_GNOME= gnomeprefix intlhack libgnomeui -USES= desktop-file-utils gettext ghostscript gmake libtool \ +USES= desktop-file-utils gettext ghostscript:x11 gmake libtool \ pathfix pkgconfig tar:bzip2 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include diff --git a/print/ghostscript7/Makefile b/print/ghostscript7-base/Makefile index 9d137c325d4b..e2f7aae275c0 100644 --- a/print/ghostscript7/Makefile +++ b/print/ghostscript7-base/Makefile @@ -3,12 +3,11 @@ PORTNAME= ghostscript PORTVERSION= 7.07 -PORTREVISION= 31 +PORTREVISION= 32 CATEGORIES= print MASTER_SITES= SF/ghostscript/gnu-gs/${PORTVERSION}:gs_srcs \ - ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/gnu/gs${PORTVERSION:S/.//}/:gs_srcs \ PORTS_JP:ports_jp,ports_jp_gs -PKGNAMESUFFIX= 7 +PKGNAMESUFFIX= 7-base DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:gs_srcs DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} @@ -23,38 +22,43 @@ RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/fonts/a010013l.pfb:${PORTSDIR}/print CONFLICTS_INSTALL= \ gambc-[0-9]* \ - ghostscript[89]-[0-9]* \ - ghostscript[89]-nox11-[0-9]* \ + ghostscript[789]-[0-9]* \ + ghostscript[789]-nox11-[0-9]* \ ghostscript9-agpl-[0-9]* \ ghostscript9-agpl-nox11-[0-9]* -USES= gmake jpeg shebangfix tar:bzip2 +USES= autoreconf gmake jpeg shebangfix tar:bzip2 USE_LDCONFIG= yes -SHEBANG_FILES= lib/fixmswrd.pl +SHEBANG_FILES= lib/fixmswrd.pl WANT_GNOME= yes # normazile WRKSRC so things like cups-pstoraster may work WRKSRC= ${WRKDIR}/${PORTNAME} +MAKE_JOBS_UNSAFE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= ${MAKE_ENV} CONFIGURE_ARGS= --disable-compile-inits \ - --with-ijs + --enable-dynamic \ + --with-ijs \ + --without-x MAKE_ENV= CFLAGS_STANDARD="${CFLAGS}" \ XCFLAGS="${XCFLAGS}" XLDFLAGS="${XLDFLAGS}" \ EXTRALIBS="${EXTRALIBS}" -CPPFLAGS+= -fPIC -DUPD_SIGNAL=0 -I. -I${WRKSRC}/gimp-print \ +CPPFLAGS+= -fPIC -DUPD_SIGNAL=0 -I. \ + -I${WRKSRC}/gimp-print \ -I${LOCALBASE}/include +XCFLAGS+= -DA4 LDFLAGS+= ${XLDFLAGS} -XLDFLAGS= -lpthread -L${LOCALBASE}/lib -L${WRKSRC}/gimp-print -PLIST_SUB= GS_VERSION="${PORTVERSION}" - -MAKE_JOBS_UNSAFE= yes +XLDFLAGS= -lpthread \ + -L${LOCALBASE}/lib \ + -L${WRKSRC}/gimp-print +ALL_TARGET= so +INSTALL_TARGET= soinstall +PLIST_SUB= SHLIB_VER="${PORTVERSION:R}" \ + GS_VERSION="${PORTVERSION}" -OPTIONS_DEFINE= X11 DOCS A4SIZE -OPTIONS_DEFAULT=X11 DOCS A4SIZE +OPTIONS_DEFINE= DOCS +OPTIONS_DEFAULT=DOCS NO_OPTIONS_SORT=yes -X11_USE= GNOME=gtk12 -X11_MAKE_ENV= GS_SHLIB_VER="${SHLIB_VER}" -A4SIZE_DESC= Set A4 (not Letter) as the default paper size post-extract-all: ${LN} -sf ${WRKDIR}/${DISTNAME} ${WRKDIR}/${PORTNAME} @@ -63,12 +67,9 @@ post-extract: post-extract-all .include "Makefile.drivers" .include <bsd.port.options.mk> - -MASTERDIR?= ${.CURDIR} -.include "${MASTERDIR}/files/Makefile.drivers_post" +.include "files/Makefile.drivers_post" .for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} \ - ${OPTIONS_MULTI_X11:MGS_*:S/^GS_//} \ ${OPTIONS_GROUP_SVGALIB:MGS_*:S/^GS_//} .if ${PORT_OPTIONS:MGS_${D}} PLIST_SUB+= GS_${D}="" @@ -77,31 +78,16 @@ PLIST_SUB+= GS_${D}="@comment " .endif .endfor -.if ${PORT_OPTIONS:MA4SIZE} -XCFLAGS+= -DA4 +.if ${PORT_OPTIONS:MGS_pcl3} +ALL_TARGET+= pcl3opts .endif # contributed uniprint profiles CONTRIB_UPP= lqx70ch.upp lqx70cl.upp lqx70cm.upp \ stc740ih.upp stc740p.upp stc740pl.upp -.if ${PORT_OPTIONS:MX11} -SHLIB_VER= 1 -PLIST_SUB+= SHLIB="" X11="" SHLIB_VER="${SHLIB_VER}" -ALL_TARGET= so -INSTALL_TARGET= soinstall -.if ${PORT_OPTIONS:MGS_pcl3} -ALL_TARGET+= pcl3opts -.endif -.else -ALL_TARGET= all -PLIST_SUB+= SHLIB="@comment " X11="@comment " -.endif - post-patch: - ${REINPLACE_CMD} -e 's|^DEVICE_DEVS|#DEVICE_DEVS|g' \ - ${WRKSRC}/src/unix-gcc.mak - ${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g' \ + ${REINPLACE_CMD} -e 's,%%DATADIR%%,${DATADIR},' \ ${WRKSRC}/lib/gs_res.ps pre-build-drivers.mak: @@ -131,20 +117,14 @@ pre-build-all: pre-build: pre-build-all pre-build-drivers.mak pre-build-contrib_extra.mak -pre-su-install: +pre-install: ${MKDIR} ${STAGEDIR}${DATADIR} -post-install-docs: - ${MKDIR} ${STAGEDIR}${DOCSDIR} - post-install: -.if ${PORT_OPTIONS:MX11} ${LN} -sf gsc ${STAGEDIR}${PREFIX}/bin/gs -.endif - cd ${FILESDIR} \ - && ${INSTALL_DATA} ${CONTRIB_UPP} \ - ${STAGEDIR}${DATADIR}/${PORTVERSION}/lib + cd ${FILESDIR} && ${INSTALL_DATA} ${CONTRIB_UPP} \ + ${STAGEDIR}${DATADIR}/${PORTVERSION}/lib -post-install: post-install-docs +post-install-DOCS-on: post-install-docs .include <bsd.port.mk> diff --git a/print/ghostscript7/Makefile.drivers b/print/ghostscript7-base/Makefile.drivers index a9703ad24180..ce187859e4a1 100644 --- a/print/ghostscript7/Makefile.drivers +++ b/print/ghostscript7-base/Makefile.drivers @@ -1,20 +1,5 @@ # $FreeBSD$ -OPTIONS_X11= \ - GS_x11 \ - GS_x11alpha \ - GS_x11cmyk \ - GS_x11cmyk2 \ - GS_x11cmyk4 \ - GS_x11cmyk8 \ - GS_x11gray2 \ - GS_x11gray4 \ - GS_x11mono \ - GS_x11rg16x \ - GS_x11rg32x -OPTIONS_MULTI= X11 -OPTIONS_MULTI_X11= ${OPTIONS_X11} - OPTIONS_SVGALIB= \ GS_lvga256 \ GS_vgalib @@ -269,7 +254,6 @@ OPTIONS_DEFINE+= \ GS_bbox OPTIONS_DEFAULT+= \ - ${OPTIONS_X11} \ ${OPTIONS_SVGALIB} \ GS_md2k \ GS_md5k \ diff --git a/print/ghostscript7/distinfo b/print/ghostscript7-base/distinfo index 469d48f2381f..469d48f2381f 100644 --- a/print/ghostscript7/distinfo +++ b/print/ghostscript7-base/distinfo diff --git a/print/ghostscript7/files/Makefile.alps b/print/ghostscript7-base/files/Makefile.alps index e30c5e793912..e30c5e793912 100644 --- a/print/ghostscript7/files/Makefile.alps +++ b/print/ghostscript7-base/files/Makefile.alps diff --git a/print/ghostscript7/files/Makefile.bj10v b/print/ghostscript7-base/files/Makefile.bj10v index 92cb7ce6e31a..92cb7ce6e31a 100644 --- a/print/ghostscript7/files/Makefile.bj10v +++ b/print/ghostscript7-base/files/Makefile.bj10v diff --git a/print/ghostscript7/files/Makefile.bjc250 b/print/ghostscript7-base/files/Makefile.bjc250 index bafe557b6c1d..bafe557b6c1d 100644 --- a/print/ghostscript7/files/Makefile.bjc250 +++ b/print/ghostscript7-base/files/Makefile.bjc250 diff --git a/print/ghostscript7/files/Makefile.cdj880 b/print/ghostscript7-base/files/Makefile.cdj880 index 32f2df5409d7..32f2df5409d7 100644 --- a/print/ghostscript7/files/Makefile.cdj880 +++ b/print/ghostscript7-base/files/Makefile.cdj880 diff --git a/print/ghostscript7/files/Makefile.cdj970 b/print/ghostscript7-base/files/Makefile.cdj970 index c15b6d7d5dcf..c15b6d7d5dcf 100644 --- a/print/ghostscript7/files/Makefile.cdj970 +++ b/print/ghostscript7-base/files/Makefile.cdj970 diff --git a/print/ghostscript7/files/Makefile.cpca b/print/ghostscript7-base/files/Makefile.cpca index b819d75d290b..b819d75d290b 100644 --- a/print/ghostscript7/files/Makefile.cpca +++ b/print/ghostscript7-base/files/Makefile.cpca diff --git a/print/ghostscript7/files/Makefile.dmprt b/print/ghostscript7-base/files/Makefile.dmprt index 6b099ce9f92f..6b099ce9f92f 100644 --- a/print/ghostscript7/files/Makefile.dmprt +++ b/print/ghostscript7-base/files/Makefile.dmprt diff --git a/print/ghostscript7/files/Makefile.drivers_post b/print/ghostscript7-base/files/Makefile.drivers_post index 72c1139803cb..46742ccbc4a9 100644 --- a/print/ghostscript7/files/Makefile.drivers_post +++ b/print/ghostscript7-base/files/Makefile.drivers_post @@ -34,31 +34,6 @@ OPTIONS_UNSET+= ${PORT_OPTIONS:MGS_${D}} LIB_DEPENDS+= libvga.so:${PORTSDIR}/graphics/svgalib .endif -# x11 specific -X11_DEVS= x11 x11alpha x11cmyk x11cmyk2 x11cmyk4 x11cmyk8 x11gray2 \ - x11gray4 x11mono x11rg16x x11rg32x -.undef _X11_DEVS - -.for D in ${X11_DEVS} -.if ${PORT_OPTIONS:MX11} && ${PORT_OPTIONS:MGS_${D}} -_X11_DEVS+= ${D} -.else -PORT_OPTIONS:= ${PORT_OPTIONS:NGS_${D}} -.endif -.endfor - -.if defined(_X11_DEVS) -USE_XORG= xt xext -CONFIGURE_ARGS+=--with-x \ - --x-includes=${LOCALBASE}/include \ - --x-libraries=${LOCALBASE}/lib -CONFLICTS_INSTALL+= ghostscript7-nox11-[0-9]* -.else # defined(_X11_DEVS) -PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-nox11 -CONFIGURE_ARGS+=--without-x -CONFLICTS_INSTALL+= ghostscript7-[0-9]* -.endif # defined(_X11_DEVS) - .if ${PORT_OPTIONS:MGS_cdj670} || \ ${PORT_OPTIONS:MGS_cdj850} || \ ${PORT_OPTIONS:MGS_cdj880} || \ diff --git a/print/ghostscript7/files/Makefile.epag b/print/ghostscript7-base/files/Makefile.epag index c89b0092860c..c89b0092860c 100644 --- a/print/ghostscript7/files/Makefile.epag +++ b/print/ghostscript7-base/files/Makefile.epag diff --git a/print/ghostscript7/files/Makefile.eplaser b/print/ghostscript7-base/files/Makefile.eplaser index 9aa186dd9e60..9aa186dd9e60 100644 --- a/print/ghostscript7/files/Makefile.eplaser +++ b/print/ghostscript7-base/files/Makefile.eplaser diff --git a/print/ghostscript7/files/Makefile.gdi b/print/ghostscript7-base/files/Makefile.gdi index e18366851722..e18366851722 100644 --- a/print/ghostscript7/files/Makefile.gdi +++ b/print/ghostscript7-base/files/Makefile.gdi diff --git a/print/ghostscript7/files/Makefile.gprint b/print/ghostscript7-base/files/Makefile.gprint index f6d304b56133..f6d304b56133 100644 --- a/print/ghostscript7/files/Makefile.gprint +++ b/print/ghostscript7-base/files/Makefile.gprint diff --git a/print/ghostscript7/files/Makefile.lex7000 b/print/ghostscript7-base/files/Makefile.lex7000 index 9c72af416840..9c72af416840 100644 --- a/print/ghostscript7/files/Makefile.lex7000 +++ b/print/ghostscript7-base/files/Makefile.lex7000 diff --git a/print/ghostscript7/files/Makefile.lips b/print/ghostscript7-base/files/Makefile.lips index b7af5b527184..b7af5b527184 100644 --- a/print/ghostscript7/files/Makefile.lips +++ b/print/ghostscript7-base/files/Makefile.lips diff --git a/print/ghostscript7/files/Makefile.lx5000 b/print/ghostscript7-base/files/Makefile.lx5000 index b80198913a42..b80198913a42 100644 --- a/print/ghostscript7/files/Makefile.lx5000 +++ b/print/ghostscript7-base/files/Makefile.lx5000 diff --git a/print/ghostscript7/files/Makefile.lxm3200 b/print/ghostscript7-base/files/Makefile.lxm3200 index b6dc37fe0dce..b6dc37fe0dce 100644 --- a/print/ghostscript7/files/Makefile.lxm3200 +++ b/print/ghostscript7-base/files/Makefile.lxm3200 diff --git a/print/ghostscript7/files/Makefile.md2k b/print/ghostscript7-base/files/Makefile.md2k index 797f7d81908f..797f7d81908f 100644 --- a/print/ghostscript7/files/Makefile.md2k +++ b/print/ghostscript7-base/files/Makefile.md2k diff --git a/print/ghostscript7/files/Makefile.mjc b/print/ghostscript7-base/files/Makefile.mjc index 3cee725dd05b..3cee725dd05b 100644 --- a/print/ghostscript7/files/Makefile.mjc +++ b/print/ghostscript7-base/files/Makefile.mjc diff --git a/print/ghostscript7/files/Makefile.pcl3 b/print/ghostscript7-base/files/Makefile.pcl3 index e1c31f8b90dd..1d6c38a32291 100644 --- a/print/ghostscript7/files/Makefile.pcl3 +++ b/print/ghostscript7-base/files/Makefile.pcl3 @@ -13,9 +13,7 @@ post-extract-pcl3: ${TAR} -C ${WRKSRC}/pcl3 -xf ${WRKSRC}/pcl3/pcl3.tar post-install-pcl3: -.if ${PORT_OPTIONS:MX11} ${INSTALL_PROGRAM} ${WRKSRC}/bin/pcl3opts ${STAGEDIR}${PREFIX}/bin -.endif cd ${WRKSRC}/pcl3/doc && \ ${INSTALL_MAN} gs-pcl3.1 pcl3opts.1 \ ${STAGEDIR}${MANPREFIX}/man/man1 diff --git a/print/ghostscript7/files/bjc250.contrib.mak b/print/ghostscript7-base/files/bjc250.contrib.mak index 5c1ce77e98dc..5c1ce77e98dc 100644 --- a/print/ghostscript7/files/bjc250.contrib.mak +++ b/print/ghostscript7-base/files/bjc250.contrib.mak diff --git a/print/ghostscript7/files/cdj850.contrib.mak b/print/ghostscript7-base/files/cdj850.contrib.mak index 8faefec5fe4e..8faefec5fe4e 100644 --- a/print/ghostscript7/files/cdj850.contrib.mak +++ b/print/ghostscript7-base/files/cdj850.contrib.mak diff --git a/print/ghostscript7/files/epag.contrib.mak b/print/ghostscript7-base/files/epag.contrib.mak index 2e6117ad4b51..2e6117ad4b51 100644 --- a/print/ghostscript7/files/epag.contrib.mak +++ b/print/ghostscript7-base/files/epag.contrib.mak diff --git a/print/ghostscript7/files/lex7000.contrib.mak b/print/ghostscript7-base/files/lex7000.contrib.mak index a5f1a162b785..a5f1a162b785 100644 --- a/print/ghostscript7/files/lex7000.contrib.mak +++ b/print/ghostscript7-base/files/lex7000.contrib.mak diff --git a/print/ghostscript7/files/lqx70ch.upp b/print/ghostscript7-base/files/lqx70ch.upp index b5d3cd49e912..b5d3cd49e912 100644 --- a/print/ghostscript7/files/lqx70ch.upp +++ b/print/ghostscript7-base/files/lqx70ch.upp diff --git a/print/ghostscript7/files/lqx70cl.upp b/print/ghostscript7-base/files/lqx70cl.upp index 91fb1aa89906..91fb1aa89906 100644 --- a/print/ghostscript7/files/lqx70cl.upp +++ b/print/ghostscript7-base/files/lqx70cl.upp diff --git a/print/ghostscript7/files/lqx70cm.upp b/print/ghostscript7-base/files/lqx70cm.upp index 895af73aa8d8..895af73aa8d8 100644 --- a/print/ghostscript7/files/lqx70cm.upp +++ b/print/ghostscript7-base/files/lqx70cm.upp diff --git a/print/ghostscript7/files/lx5000.contrib.mak b/print/ghostscript7-base/files/lx5000.contrib.mak index f22c1dbb904c..f22c1dbb904c 100644 --- a/print/ghostscript7/files/lx5000.contrib.mak +++ b/print/ghostscript7-base/files/lx5000.contrib.mak diff --git a/print/ghostscript7/files/lxm3200.contrib.mak b/print/ghostscript7-base/files/lxm3200.contrib.mak index c670f6de111c..c670f6de111c 100644 --- a/print/ghostscript7/files/lxm3200.contrib.mak +++ b/print/ghostscript7-base/files/lxm3200.contrib.mak diff --git a/print/ghostscript7/files/patch-alps:gdevalps.mak b/print/ghostscript7-base/files/patch-alps:gdevalps.mak index 45144eaadcfd..45144eaadcfd 100644 --- a/print/ghostscript7/files/patch-alps:gdevalps.mak +++ b/print/ghostscript7-base/files/patch-alps:gdevalps.mak diff --git a/print/ghostscript7/files/patch-eplaser:gdevescv.c b/print/ghostscript7-base/files/patch-eplaser:gdevescv.c index ee548e3019e6..ee548e3019e6 100644 --- a/print/ghostscript7/files/patch-eplaser:gdevescv.c +++ b/print/ghostscript7-base/files/patch-eplaser:gdevescv.c diff --git a/print/ghostscript7/files/patch-eplaser:gdevesmv.c b/print/ghostscript7-base/files/patch-eplaser:gdevesmv.c index cc538bf87531..cc538bf87531 100644 --- a/print/ghostscript7/files/patch-eplaser:gdevesmv.c +++ b/print/ghostscript7-base/files/patch-eplaser:gdevesmv.c diff --git a/print/ghostscript7/files/patch-gdev10v:gdev10v.mak b/print/ghostscript7-base/files/patch-gdev10v:gdev10v.mak index 25a8317379b8..25a8317379b8 100644 --- a/print/ghostscript7/files/patch-gdev10v:gdev10v.mak +++ b/print/ghostscript7-base/files/patch-gdev10v:gdev10v.mak diff --git a/print/ghostscript7/files/patch-lib:gs_cidfn.ps b/print/ghostscript7-base/files/patch-lib:gs_cidfn.ps index 98a763bf9b23..98a763bf9b23 100644 --- a/print/ghostscript7/files/patch-lib:gs_cidfn.ps +++ b/print/ghostscript7-base/files/patch-lib:gs_cidfn.ps diff --git a/print/ghostscript7/files/patch-lib:gs_init.ps b/print/ghostscript7-base/files/patch-lib:gs_init.ps index 143fa1a1d673..143fa1a1d673 100644 --- a/print/ghostscript7/files/patch-lib:gs_init.ps +++ b/print/ghostscript7-base/files/patch-lib:gs_init.ps diff --git a/print/ghostscript7/files/patch-lib:gs_res.ps b/print/ghostscript7-base/files/patch-lib:gs_res.ps index 2e5169720649..2e5169720649 100644 --- a/print/ghostscript7/files/patch-lib:gs_res.ps +++ b/print/ghostscript7-base/files/patch-lib:gs_res.ps diff --git a/print/ghostscript7/files/patch-lib:gs_setpd.ps b/print/ghostscript7-base/files/patch-lib:gs_setpd.ps index 1e9444732d86..1e9444732d86 100644 --- a/print/ghostscript7/files/patch-lib:gs_setpd.ps +++ b/print/ghostscript7-base/files/patch-lib:gs_setpd.ps diff --git a/print/ghostscript7/files/patch-lib:gs_statd.ps b/print/ghostscript7-base/files/patch-lib:gs_statd.ps index e540215a0a70..e540215a0a70 100644 --- a/print/ghostscript7/files/patch-lib:gs_statd.ps +++ b/print/ghostscript7-base/files/patch-lib:gs_statd.ps diff --git a/print/ghostscript7/files/patch-lib:gs_ttf.ps b/print/ghostscript7-base/files/patch-lib:gs_ttf.ps index 669b71760672..669b71760672 100644 --- a/print/ghostscript7/files/patch-lib:gs_ttf.ps +++ b/print/ghostscript7-base/files/patch-lib:gs_ttf.ps diff --git a/print/ghostscript7/files/patch-lib:pj-gs.sh.CAN-2004-0967 b/print/ghostscript7-base/files/patch-lib:pj-gs.sh.CAN-2004-0967 index 9d4a0850f191..9d4a0850f191 100644 --- a/print/ghostscript7/files/patch-lib:pj-gs.sh.CAN-2004-0967 +++ b/print/ghostscript7-base/files/patch-lib:pj-gs.sh.CAN-2004-0967 diff --git a/print/ghostscript7/files/patch-lib:ps2epsi.CAN-2004-0967 b/print/ghostscript7-base/files/patch-lib:ps2epsi.CAN-2004-0967 index 33636efcaef2..33636efcaef2 100644 --- a/print/ghostscript7/files/patch-lib:ps2epsi.CAN-2004-0967 +++ b/print/ghostscript7-base/files/patch-lib:ps2epsi.CAN-2004-0967 diff --git a/print/ghostscript7/files/patch-lib:ps2pdfwr b/print/ghostscript7-base/files/patch-lib:ps2pdfwr index ef2b946df791..ef2b946df791 100644 --- a/print/ghostscript7/files/patch-lib:ps2pdfwr +++ b/print/ghostscript7-base/files/patch-lib:ps2pdfwr diff --git a/print/ghostscript7/files/patch-lib:pv.sh.CAN-2004-0967 b/print/ghostscript7-base/files/patch-lib:pv.sh.CAN-2004-0967 index a37fc43aada9..a37fc43aada9 100644 --- a/print/ghostscript7/files/patch-lib:pv.sh.CAN-2004-0967 +++ b/print/ghostscript7-base/files/patch-lib:pv.sh.CAN-2004-0967 diff --git a/print/ghostscript7/files/patch-lib:sysvlp.sh.CAN-2004-0967 b/print/ghostscript7-base/files/patch-lib:sysvlp.sh.CAN-2004-0967 index 314d5d0bbe84..314d5d0bbe84 100644 --- a/print/ghostscript7/files/patch-lib:sysvlp.sh.CAN-2004-0967 +++ b/print/ghostscript7-base/files/patch-lib:sysvlp.sh.CAN-2004-0967 diff --git a/print/ghostscript7/files/patch-lips:gdevl4r.c b/print/ghostscript7-base/files/patch-lips:gdevl4r.c index 353ec2399a84..353ec2399a84 100644 --- a/print/ghostscript7/files/patch-lips:gdevl4r.c +++ b/print/ghostscript7-base/files/patch-lips:gdevl4r.c diff --git a/print/ghostscript7/files/patch-lips:gdevl4v.c b/print/ghostscript7-base/files/patch-lips:gdevl4v.c index 0d48309837d9..0d48309837d9 100644 --- a/print/ghostscript7/files/patch-lips:gdevl4v.c +++ b/print/ghostscript7-base/files/patch-lips:gdevl4v.c diff --git a/print/ghostscript7/files/patch-lips:gdevlips.c b/print/ghostscript7-base/files/patch-lips:gdevlips.c index 143fed14f0a1..143fed14f0a1 100644 --- a/print/ghostscript7/files/patch-lips:gdevlips.c +++ b/print/ghostscript7-base/files/patch-lips:gdevlips.c diff --git a/print/ghostscript7/files/patch-lips:gdevlips.h b/print/ghostscript7-base/files/patch-lips:gdevlips.h index eebce89cc054..eebce89cc054 100644 --- a/print/ghostscript7/files/patch-lips:gdevlips.h +++ b/print/ghostscript7-base/files/patch-lips:gdevlips.h diff --git a/print/ghostscript7/files/patch-lips:gdevlips.mak b/print/ghostscript7-base/files/patch-lips:gdevlips.mak index 11fb154eb2c2..11fb154eb2c2 100644 --- a/print/ghostscript7/files/patch-lips:gdevlips.mak +++ b/print/ghostscript7-base/files/patch-lips:gdevlips.mak diff --git a/print/ghostscript7/files/patch-lips:gdevlprn.h b/print/ghostscript7-base/files/patch-lips:gdevlprn.h index f692dbe410a2..f692dbe410a2 100644 --- a/print/ghostscript7/files/patch-lips:gdevlprn.h +++ b/print/ghostscript7-base/files/patch-lips:gdevlprn.h diff --git a/print/ghostscript7/files/patch-md2k:gdevmd2k.mak b/print/ghostscript7-base/files/patch-md2k:gdevmd2k.mak index b003efb81f7f..b003efb81f7f 100644 --- a/print/ghostscript7/files/patch-md2k:gdevmd2k.mak +++ b/print/ghostscript7-base/files/patch-md2k:gdevmd2k.mak diff --git a/print/ghostscript7/files/patch-mjc:gdevmjc.c b/print/ghostscript7-base/files/patch-mjc:gdevmjc.c index 99ff0bcb245f..99ff0bcb245f 100644 --- a/print/ghostscript7/files/patch-mjc:gdevmjc.c +++ b/print/ghostscript7-base/files/patch-mjc:gdevmjc.c diff --git a/print/ghostscript7/files/patch-mjc:gdevmjc.mak b/print/ghostscript7-base/files/patch-mjc:gdevmjc.mak index a094ea08812f..a094ea08812f 100644 --- a/print/ghostscript7/files/patch-mjc:gdevmjc.mak +++ b/print/ghostscript7-base/files/patch-mjc:gdevmjc.mak diff --git a/print/ghostscript7/files/patch-pcl3-src-contrib.mak-7.00.add b/print/ghostscript7-base/files/patch-pcl3-src-contrib.mak-7.00.add index 23d4d923100b..23d4d923100b 100644 --- a/print/ghostscript7/files/patch-pcl3-src-contrib.mak-7.00.add +++ b/print/ghostscript7-base/files/patch-pcl3-src-contrib.mak-7.00.add diff --git a/print/ghostscript7-base/files/patch-src-Makefile.in b/print/ghostscript7-base/files/patch-src-Makefile.in new file mode 100644 index 000000000000..fbf3f4c1df2f --- /dev/null +++ b/print/ghostscript7-base/files/patch-src-Makefile.in @@ -0,0 +1,170 @@ +--- src/Makefile.in.orig 2003-04-30 03:33:31.000000000 +0900 ++++ src/Makefile.in 2015-08-22 00:37:53.926027000 +0900 +@@ -50,8 +50,10 @@ + # initialization files (gs_*.ps) and the fonts. + + INSTALL = $(GLSRCDIR)/instcopy -c +-INSTALL_PROGRAM = $(INSTALL) -m 755 +-INSTALL_DATA = $(INSTALL) -m 644 ++INSTALL_PROGRAM = ${BSD_INSTALL_PROGRAM} ++INSTALL_SCRIPT = ${BSD_INSTALL_SCRIPT} ++INSTALL_DATA = ${BSD_INSTALL_DATA} ++INSTALL_SHARED = @INSTALL_SHARED@ + + prefix = @prefix@ + exec_prefix = @exec_prefix@ +@@ -63,6 +65,8 @@ + datadir = @datadir@ + gsdir = $(datadir)/ghostscript + gsdatadir = $(gsdir)/$(GS_DOT_VERSION) ++gssharedir = @libdir@/ghostscript/$(GS_DOT_VERSION) ++gsincludedir = @includedir@/ghostscript/ + + docdir=$(gsdatadir)/doc + exdir=$(gsdatadir)/examples +@@ -142,7 +146,7 @@ + # some older JPEG streams that violate the standard. If the JPEG + # library built from local sources, the patch will be applied. + +-SHARE_JPEG=@SHARE_LIBJPEG@ ++SHARE_JPEG=1 + JPEG_NAME=jpeg + + # Define the directory where the PNG library sources are stored, +@@ -150,14 +154,14 @@ + # You may need to change this if the libpng version changes. + # See libpng.mak for more information. + +-SHARE_LIBPNG=@SHARE_LIBPNG@ ++SHARE_LIBPNG=1 + PSRCDIR=@LIBPNGDIR@ + LIBPNG_NAME=png + + # Define the directory where the zlib sources are stored. + # See zlib.mak for more information. + +-SHARE_ZLIB=@SHARE_ZLIB@ ++SHARE_ZLIB=1 + ZSRCDIR=@ZLIBDIR@ + #ZLIB_NAME=gz + ZLIB_NAME=z +@@ -197,15 +201,15 @@ + CCLD=$(CC) + + # Define the general cc flags, warnings and such. +-GCFLAGS=@GCFLAGS@ ++GCFLAGS=@CPPFLAGS@ @GCFLAGS@ @CFLAGS@ + + # Define the added flags for standard, debugging, profiling + # and shared object builds. + +-CFLAGS_STANDARD=@OPT_CFLAGS@ ++CFLAGS_STANDARD?=@OPT_CFLAGS@ + CFLAGS_DEBUG=-g -O + CFLAGS_PROFILE=-pg @OPT_CFLAGS@ +-CFLAGS_SO=-fPIC ++CFLAGS_SO=@DYNAMIC_CFLAGS@ + + # Define the other compilation flags. Add at most one of the following: + # -DBSD4_2 for 4.2bsd systems. +@@ -218,7 +222,7 @@ + # We don't include -ansi, because this gets in the way of the platform- + # specific stuff that <math.h> typically needs; nevertheless, we expect + # gcc to accept ANSI-style function prototypes and function definitions. +-XCFLAGS= ++XCFLAGS=@DYNAMIC_FLAGS@ + + # defines from autoconf; note that we don't use these at present. + ACDEFS=@DEFS@ +@@ -232,9 +236,9 @@ + # -R /usr/local/xxx/lib:/usr/local/lib + # giving the full path names of the shared library directories. + # XLDFLAGS can be set from the command line. +-XLDFLAGS= + +-LDFLAGS=$(XLDFLAGS) ++LDFLAGS=@LDFLAGS@ ++XLDFLAGS=$(LDFLAGS) + + # Define any extra libraries to link into the executable. + # ISC Unix 2.2 wants -linet. +@@ -243,7 +247,7 @@ + # Solaris may need -lnsl -lsocket -lposix4. + # (Libraries required by individual drivers are handled automatically.) + +-EXTRALIBS= ++EXTRALIBS=@LIBS@ @DYNAMIC_LIBS@ + + # Define the standard libraries to search at the end of linking. + # Most platforms require -lpthread for the POSIX threads library; +@@ -252,10 +256,7 @@ + # All reasonable platforms require -lm, but Rhapsody and perhaps one or + # two others fold libm into libc and don't require any additional library. + +-#STDLIBS=-lpthread -lm +- +-# Since the default build is for nosync, don't include pthread lib +-STDLIBS=-lm ++STDLIBS=@PTHREAD_LIBS@ -lm + + # Define the include switch(es) for the X11 header files. + # This can be null if handled in some other way (e.g., the files are +@@ -279,9 +280,10 @@ + # should be slotted into XLIBS below and X_PRE_LIBS which should go + # before -lX11. We do not handle these and should, but they are empty + # on most modern platforms. +-XLIBDIRS=@X_LIBS@ ++XLIBDIRS=@X_LDFLAGS@ + XLIBDIR= +-XLIBS=Xt Xext X11 ++#XLIBS=Xt Xext X11 ++XLIBS=@X_LIBS@ + + # Define whether this platform has floating point hardware: + # FPU_TYPE=2 means floating point is faster than fixed point. +@@ -301,15 +303,19 @@ + # primitives for this platform. + + # If POSIX sync primitives are used, also change the STDLIBS to include +-# the pthread library. ++# the pthread library. Otherwise use SYNC=nosync + #SYNC=posync +- +-# Default is No sync primitives since some platforms don't have it (HP-UX) +-SYNC=nosync ++#SYNC=nosync ++SYNC=@SYNC@ + + # programs we use + RM=rm -f + ++# ------ Dynamic loader options ------- # ++SOC_CFLAGS = @SOC_CFLAGS@ ++SOC_LIBS = @SOC_LIBS@ ++SOC_LOADER = @SOC_LOADER@ ++ + # ------ Devices and features ------ # + + # Choose the language feature(s) to include. See gs.mak for details. +@@ -385,6 +391,9 @@ + DEVICE_DEVS19= + DEVICE_DEVS20=$(DD)cljet5.dev $(DD)cljet5c.dev + ++# Shared library target to build. ++GS_SHARED_OBJS=@DYNAMIC_DEVS@ ++ + # ---------------------------- End of options --------------------------- # + + # Define the name of the partial makefile that specifies options -- +@@ -407,9 +416,11 @@ + # These are the specific warnings we have to turn off to compile those + # specific few files that need this. We may turn off others in the future. + CC_NO_WARN=$(CC_) ++CC_SHARED=$(CC_) @DYNAMIC_LDFLAGS@ + + # ---------------- End of platform-specific section ---------------- # + ++include $(GLSRCDIR)/drivers.mak + include $(GLSRCDIR)/unixhead.mak + include $(GLSRCDIR)/gs.mak + include $(GLSRCDIR)/lib.mak diff --git a/print/ghostscript7-base/files/patch-src-configure.ac b/print/ghostscript7-base/files/patch-src-configure.ac new file mode 100644 index 000000000000..7cccac9b9483 --- /dev/null +++ b/print/ghostscript7-base/files/patch-src-configure.ac @@ -0,0 +1,172 @@ +--- src/configure.ac.orig 2003-04-16 22:59:56.000000000 +0900 ++++ src/configure.ac 2015-08-22 02:03:41.246954000 +0900 +@@ -8,6 +8,46 @@ + AC_PREREQ(2.52) + AC_CONFIG_SRCDIR(src/gs.c) + ++CFLAGS="${CFLAGS:=}" ++CPPFLAGS="${CPPFLAGS:=}" ++CXXFLAGS="${CXXFLAGS:=}" ++LDFLAGS="${LDFLAGS:=}" ++ ++dnl -------------------------------------------------- ++dnl Local utilities ++dnl -------------------------------------------------- ++ ++dnl GS_SPLIT_LIBS( LIBS, LINKLINE ) ++dnl Split a unix-style link line into a list of ++dnl bare library names. For example, the line ++dnl '-L/usr/X11R6/lib -lX11 -lXt' splits into ++dnl LIB='X11 Xt' ++dnl ++AC_DEFUN([GS_SPLIT_LIBS], [ ++# the makefile wants a list of just the library names ++for gs_item in $2; do ++ gs_stripped_item=`echo "$gs_item" | sed -e 's/^-l//'` ++ if test "x$gs_stripped_item" != "x$gs_item"; then ++ $1="$[$1] $gs_stripped_item" ++ fi ++done ++]) ++ ++dnl GS_SPLIT_LIBPATHS( LIBPATHS, LINKLINE ) ++dnl Split a unix-style link line into a list of ++dnl bare search path entries. For example, ++dnl '-L/usr/X11R6/lib -lX11 -L/opt/lib -lXt' ++dnl splits to LIBPATHS='/usr/X11R6/lib /opt/lib' ++dnl ++AC_DEFUN([GS_SPLIT_LIBPATHS], [ ++for gs_item in $2; do ++ gs_stripped_item=`echo "$gs_item" | sed -e 's/-L//'` ++ if test "x$gs_stripped_item" != "x$gs_item"; then ++ $1="$[$1] $gs_stripped_item" ++ fi ++done ++]) ++ + dnl -------------------------------------------------- + dnl Check for programs + dnl -------------------------------------------------- +@@ -94,7 +134,14 @@ + dnl -------------------------------------------------- + + AC_CHECK_LIB(m, cos) +-dnl AC_CHECK_LIB(pthread, pthread_create) ++SYNC="nosync" ++PTHREAD_LIBS="" ++AC_CHECK_LIB(pthread, pthread_create, [ ++ SYNC=posync; ++ PTHREAD_LIBS="-lpthread" ++]) ++AC_SUBST(SYNC) ++AC_SUBST(PTHREAD_LIBS) + + AC_MSG_CHECKING([for local jpeg library source]) + dnl At present, we give the local source priority over the shared +@@ -211,15 +258,68 @@ + AC_SUBST(STPLIB) + AC_SUBST(STPDEVS) + ++SOC_CFLAGS="" ++SOC_LIBS="" ++SOC_LOADER="dxmainc.c" ++ ++AC_SUBST(SOC_CFLAGS) ++AC_SUBST(SOC_LIBS) ++AC_SUBST(SOC_LOADER) ++ + dnl optional X11 for display devices + AC_PATH_XTRA +-if test x"$no_x" = x"yes"; then +- AC_MSG_NOTICE([disabling X11 output devices]) +- X11DEVS='' +-else +- X11DEVS='$(DD)x11.dev $(DD)x11alpha.dev $(DD)x11cmyk.dev $(DD)x11gray2.dev $(DD)x11gray4.dev $(DD)x11mono.dev' ++ ++X_LDFLAGS="" ++X_CFLAGS="" ++X_DEVS="" ++X_LIBS="" ++ ++if test x$with_x != xno; then ++ if test "$x_libraries" = "/usr/lib"; then ++ echo "Ignoring X library directory \"$x_libraries\" requested by configure." ++ x_libraries="NONE" ++ fi ++ if test ! "$x_libraries" = "NONE" -a ! "$x_libraries" = ""; then ++ X_LDFLAGS="-L$x_libraries" ++ if test "$uname" = "SunOS"; then ++ X_LDFLAGS="$X_LDFLAGS -R$x_libraries" ++ fi ++ fi ++ ++ if test "$x_includes" = "/usr/include"; then ++ echo "Ignoring X include directory \"$x_includes\" requested by configure." ++ x_includes="NONE" ++ fi ++ if test ! "$x_includes" = "NONE" -a ! "$x_includes" = ""; then ++ X_CFLAGS="-I$x_includes" ++ fi ++ ++ SAVELIBS="$LIBS" ++ SAVELDFLAGS="$LDFLAGS" ++ LDFLAGS="$LDFLAGS $X_LDFLAGS" ++ ++ AC_CHECK_LIB(X11,XOpenDisplay) ++ AC_CHECK_LIB(Xext,XdbeQueryExtension) ++ AC_CHECK_LIB(Xt,XtAppCreateShell) ++ ++ LDFLAGS="$SAVELDFLAGS" ++ LIBS="$SAVELIBS" ++ ++ if test "$ac_cv_lib_Xt_XtAppCreateShell" = yes; then ++ X11DEVS="\$(DD)x11.dev \$(DD)x11alpha.dev \$(DD)x11cmyk.dev \$(DD)x11mono.dev \$(DD)x11_.dev \$(DD)x11alt_.dev \$(DD)x11cmyk2.dev \$(DD)x11cmyk4.dev \$(DD)x11cmyk8.dev \$(DD)x11rg16x.dev \$(DD)x11rg32x.dev \$(DD)x11gray2.dev \$(DD)x11gray4.dev" ++ X_DEVS=$X11DEVS ++ # the makefile wants a list of just the library names in X_LIBS ++ GS_SPLIT_LIBS([X_LIBS], ++ [-lXt $X_PRE_LIBS -lXext -lX11 $X_EXTRA_LIBS]) ++ fi + fi ++ ++AC_SUBST(X_LDFLAGS) ++AC_SUBST(X_CFLAGS) ++AC_SUBST(X_LIBS) ++AC_SUBST(X_DEVS) + AC_SUBST(X11DEVS) ++AC_SUBST(XLIBS) + + dnl executible name + AC_ARG_WITH(gs, AC_HELP_STRING([--with-gs=NAME], +@@ -236,6 +336,32 @@ + fi]) + AC_SUBST(COMPILE_INITS) + ++dnl Dynamic device support. ++DYNAMIC_CFLAGS="" ++DYNAMIC_DEVS="" ++DYNAMIC_FLAGS="" ++DYNAMIC_LDFLAGS="" ++DYNAMIC_LIBS="" ++INSTALL_SHARED="" ++ ++AC_ARG_ENABLE([dynamic], AC_HELP_STRING([--enable-dynamic], ++ [Enable dynamically loaded drivers]), ++[ ++ DYNAMIC_CFLAGS="-fPIC" ++ DYNAMIC_DEVS="\$(GLOBJDIR)/X11.so" ++ DYNAMIC_FLAGS="-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\\\"\$(gssharedir)\\\"" ++ DYNAMIC_LDFLAGS="-fPIC -shared" ++ DYNAMIC_LIBS="" ++ X_DEVS="" ++]) ++ ++AC_SUBST(DYNAMIC_CFLAGS) ++AC_SUBST(DYNAMIC_DEVS) ++AC_SUBST(DYNAMIC_FLAGS) ++AC_SUBST(DYNAMIC_LDFLAGS) ++AC_SUBST(DYNAMIC_LIBS) ++AC_SUBST(INSTALL_SHARED) ++ + dnl -------------------------------------------------- + dnl Check for library functions + dnl -------------------------------------------------- diff --git a/print/ghostscript7-base/files/patch-src-contrib.mak b/print/ghostscript7-base/files/patch-src-contrib.mak new file mode 100644 index 000000000000..f1c4d1de9622 --- /dev/null +++ b/print/ghostscript7-base/files/patch-src-contrib.mak @@ -0,0 +1,17 @@ +--- src/contrib.mak.orig 2003-01-17 09:49:00.000000000 +0900 ++++ src/contrib.mak 2015-08-21 22:44:22.155516000 +0900 +@@ -598,9 +598,6 @@ + $(DD)lbp8.dev : $(lbp8_) $(DD)page.dev + $(SETPDEV) $(DD)lbp8 $(lbp8_) + +-$(DD)lips3.dev : $(lbp8_) $(DD)page.dev +- $(SETPDEV) $(DD)lips3 $(lbp8_) +- + $(GLOBJ)gdevlbp8.$(OBJ) : $(GLSRC)gdevlbp8.c $(PDEVH) + $(GLCC) $(GLO_)gdevlbp8.$(OBJ) $(C_) $(GLSRC)gdevlbp8.c + +@@ -878,3 +875,4 @@ + $(GLOBJ)gdevsunr.$(OBJ) : $(GLSRC)gdevsunr.c $(PDEVH) + $(GLCC) $(GLO_)gdevsunr.$(OBJ) $(C_) $(GLSRC)gdevsunr.c + ++include $(GLSRCDIR)/contrib_extra.mak diff --git a/print/ghostscript7/files/patch-src-cpca_gdev.mak b/print/ghostscript7-base/files/patch-src-cpca_gdev.mak index e423c480fa43..e423c480fa43 100644 --- a/print/ghostscript7/files/patch-src-cpca_gdev.mak +++ b/print/ghostscript7-base/files/patch-src-cpca_gdev.mak diff --git a/print/ghostscript7-base/files/patch-src-devs.mak b/print/ghostscript7-base/files/patch-src-devs.mak new file mode 100644 index 000000000000..707b393b70dd --- /dev/null +++ b/print/ghostscript7-base/files/patch-src-devs.mak @@ -0,0 +1,65 @@ +--- src/devs.mak.orig 2015-08-21 21:59:44.117097000 +0900 ++++ src/devs.mak 2015-08-21 22:02:19.960434000 +0900 +@@ -405,7 +405,7 @@ + $(ADDMOD) $(DD)lvga256 -lib vga vgagl + + $(GLOBJ)gdevl256.$(OBJ) : $(GLSRC)gdevl256.c $(GDEV) $(memory__h) +- $(GLCC) $(GLO_)gdevl256.$(OBJ) $(C_) $(GLSRC)gdevl256.c ++ $(GLCCSHARED) $(GLO_)gdevl256.$(OBJ) $(C_) $(GLSRC)gdevl256.c + + vgalib_=$(GLOBJ)gdevvglb.$(OBJ) $(GLOBJ)gdevpccm.$(OBJ) + $(DD)vgalib.dev : $(DEVS_MAK) $(vgalib_) +@@ -413,7 +413,7 @@ + $(ADDMOD) $(DD)vgalib -lib vga + + $(GLOBJ)gdevvglb.$(OBJ) : $(GLSRC)gdevvglb.c $(GDEV) $(gdevpccm_h) $(gsparam_h) +- $(GLCC) $(GLO_)gdevvglb.$(OBJ) $(C_) $(GLSRC)gdevvglb.c ++ $(GLCCSHARED) $(GLO_)gdevvglb.$(OBJ) $(C_) $(GLSRC)gdevvglb.c + + ### -------------------------- The X11 device -------------------------- ### + +@@ -443,24 +443,24 @@ + $(GLOBJ)gdevx.$(OBJ) : $(GLSRC)gdevx.c $(GDEVX) $(math__h) $(memory__h)\ + $(gscoord_h) $(gsdevice_h) $(gsiparm2_h) $(gsmatrix_h) $(gsparam_h)\ + $(gxdevmem_h) $(gxgetbit_h) $(gxiparam_h) $(gxpath_h) +- $(GLCC) $(XINCLUDE) $(GLO_)gdevx.$(OBJ) $(C_) $(GLSRC)gdevx.c ++ $(GLCCSHARED) $(XINCLUDE) $(GLO_)gdevx.$(OBJ) $(C_) $(GLSRC)gdevx.c + + $(GLOBJ)gdevxcmp.$(OBJ) : $(GLSRC)gdevxcmp.c $(GDEVX) $(math__h) +- $(GLCC) $(XINCLUDE) $(GLO_)gdevxcmp.$(OBJ) $(C_) $(GLSRC)gdevxcmp.c ++ $(GLCCSHARED) $(XINCLUDE) $(GLO_)gdevxcmp.$(OBJ) $(C_) $(GLSRC)gdevxcmp.c + + $(GLOBJ)gdevxini.$(OBJ) : $(GLSRC)gdevxini.c $(GDEVX) $(memory__h)\ + $(gserrors_h) $(gsparamx_h) $(gxdevmem_h) $(gdevbbox_h) +- $(GLCC) $(XINCLUDE) $(GLO_)gdevxini.$(OBJ) $(C_) $(GLSRC)gdevxini.c ++ $(GLCCSHARED) $(XINCLUDE) $(GLO_)gdevxini.$(OBJ) $(C_) $(GLSRC)gdevxini.c + + # We have to compile gdevxres without warnings, because there is a + # const/non-const cast required by the X headers that we can't work around. + $(GLOBJ)gdevxres.$(OBJ) : $(GLSRC)gdevxres.c $(std_h) $(x__h)\ + $(gsmemory_h) $(gstypes_h) $(gxdevice_h) $(gdevx_h) +- $(CC_NO_WARN) $(GLCCFLAGS) $(XINCLUDE) $(GLO_)gdevxres.$(OBJ) $(C_) $(GLSRC)gdevxres.c ++ $(GLCCSHARED) $(XINCLUDE) $(GLO_)gdevxres.$(OBJ) $(C_) $(GLSRC)gdevxres.c + + $(GLOBJ)gdevxxf.$(OBJ) : $(GLSRC)gdevxxf.c $(GDEVX) $(math__h) $(memory__h)\ + $(gsstruct_h) $(gsutil_h) $(gxxfont_h) +- $(GLCC) $(XINCLUDE) $(GLO_)gdevxxf.$(OBJ) $(C_) $(GLSRC)gdevxxf.c ++ $(GLCCSHARED) $(XINCLUDE) $(GLO_)gdevxxf.$(OBJ) $(C_) $(GLSRC)gdevxxf.c + + # Alternate X11-based devices to help debug other drivers. + # x11alpha pretends to have 4 bits of alpha channel. +@@ -510,7 +510,13 @@ + + $(GLOBJ)gdevxalt.$(OBJ) : $(GLSRC)gdevxalt.c $(GDEVX) $(math__h) $(memory__h)\ + $(gsdevice_h) $(gsparam_h) $(gsstruct_h) +- $(GLCC) $(XINCLUDE) $(GLO_)gdevxalt.$(OBJ) $(C_) $(GLSRC)gdevxalt.c ++ $(GLCCSHARED) $(XINCLUDE) $(GLO_)gdevxalt.$(OBJ) $(C_) $(GLSRC)gdevxalt.c ++ ++### Shared library object supporting X11. ++### NON PORTABLE, ONLY UNIX WITH GCC SUPPORT ++ ++$(GLOBJ)X11.so : $(x11alt_) $(x11_) ++ $(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)X11.so $(x11alt_) $(x11_) -L${LOCALBASE}/lib -lXt -lSM -lICE -lXext -lX11 $(XLIBDIRS) + + ###### --------------- Memory-buffered printer devices --------------- ###### + diff --git a/print/ghostscript7-base/files/patch-src-gconf.c b/print/ghostscript7-base/files/patch-src-gconf.c new file mode 100644 index 000000000000..4afa18c6e024 --- /dev/null +++ b/print/ghostscript7-base/files/patch-src-gconf.c @@ -0,0 +1,43 @@ +--- src/gconf.c.orig 2003-01-17 09:49:00.000000000 +0900 ++++ src/gconf.c 2015-08-22 01:52:10.741824000 +0900 +@@ -81,7 +81,8 @@ + /* Set up the device table. */ + #define device_(dev) (const gx_device *)&dev, + #define device2_(dev) &dev, +-private const gx_device *const gx_device_list[] = { ++static const gx_device *gx_device_list[1024] = { ++ /* as shared library are adding drivers here, so removed constness */ + #include "gconf.h" + 0 + }; +@@ -149,9 +150,29 @@ + gs_lib_device_list(const gx_device * const **plist, + gs_memory_struct_type_t ** pst) + { ++ int i; ++ + if (plist != 0) + *plist = gx_device_list; + if (pst != 0) + *pst = NULL; +- return countof(gx_device_list) - 1; ++ ++ for (i = 0; i < countof(gx_device_list) - 1; ++i) ++ if (!gx_device_list[i]) ++ break; ++ return i; + } ++ ++#ifdef GS_DEVS_SHARED ++void ++gs_lib_register_device(const gx_device *dev) ++{ ++ int i; ++ ++ for (i = 0; i < countof(gx_device_list) - 1; ++i) ++ if (!gx_device_list[i]) { ++ gx_device_list[i] = dev; ++ return; ++ } ++} ++#endif diff --git a/print/ghostscript7/files/patch-src-gdevijs.c b/print/ghostscript7-base/files/patch-src-gdevijs.c index fed73ce2599f..fed73ce2599f 100644 --- a/print/ghostscript7/files/patch-src-gdevijs.c +++ b/print/ghostscript7-base/files/patch-src-gdevijs.c diff --git a/print/ghostscript7-base/files/patch-src-gdevl256.c b/print/ghostscript7-base/files/patch-src-gdevl256.c new file mode 100644 index 000000000000..e11d19f8c2d6 --- /dev/null +++ b/print/ghostscript7-base/files/patch-src-gdevl256.c @@ -0,0 +1,15 @@ +--- src/gdevl256.c.orig 2015-08-22 01:40:41.895138000 +0900 ++++ src/gdevl256.c 2015-08-22 01:40:56.016022000 +0900 +@@ -307,3 +307,12 @@ + gl_line(x0, y0, x1, y1, color); + return 0; + } ++ ++#ifdef GS_DEVS_SHARED ++extern void gs_lib_register_device(const gx_device *dev); ++void ++gs_shared_init(void) ++{ ++ gs_lib_register_device(&gs_lvga256_device); ++} ++#endif diff --git a/print/ghostscript7/files/patch-src-gdevpng.c b/print/ghostscript7-base/files/patch-src-gdevpng.c index 0bb66e2f046d..0bb66e2f046d 100644 --- a/print/ghostscript7/files/patch-src-gdevpng.c +++ b/print/ghostscript7-base/files/patch-src-gdevpng.c diff --git a/print/ghostscript7-base/files/patch-src-gdevvglb.c b/print/ghostscript7-base/files/patch-src-gdevvglb.c new file mode 100644 index 000000000000..bdacbfbbfca0 --- /dev/null +++ b/print/ghostscript7-base/files/patch-src-gdevvglb.c @@ -0,0 +1,15 @@ +--- src/gdevvglb.c.orig 2015-08-22 01:41:20.966252000 +0900 ++++ src/gdevvglb.c 2015-08-22 01:41:35.725091000 +0900 +@@ -373,3 +373,12 @@ + } + return 0; + } ++ ++#ifdef GS_DEVS_SHARED ++extern void gs_lib_register_device(const gx_device *dev); ++void ++gs_shared_init(void) ++{ ++ gs_lib_register_device(&gs_vgalib_device); ++} ++#endif diff --git a/print/ghostscript7-base/files/patch-src-gdevxalt.c b/print/ghostscript7-base/files/patch-src-gdevxalt.c new file mode 100644 index 000000000000..4d9a88b43fb4 --- /dev/null +++ b/print/ghostscript7-base/files/patch-src-gdevxalt.c @@ -0,0 +1,31 @@ +--- src/gdevxalt.c.orig 2015-08-22 01:42:12.291619000 +0900 ++++ src/gdevxalt.c 2015-08-22 01:42:53.871222000 +0900 +@@ -30,6 +30,7 @@ + #include "gdevx.h" + + extern const gx_device_X gs_x11_device; ++extern const gx_device_X gs_x11alpha_device; + + /* + * Define a forwarding device with a cache for the first 16 colors, +@@ -957,3 +958,20 @@ + rgb[2] = ((color >> 11) & 0x3ff) * gx_max_color_value / 0x3ff; + return -1; + } ++ ++#ifdef GS_DEVS_SHARED ++extern void gs_lib_register_device(const gx_device *dev); ++void ++gs_shared_init(void) ++{ ++ gs_lib_register_device(&gs_x11_device); ++ gs_lib_register_device(&gs_x11alpha_device); ++ gs_lib_register_device(&gs_x11cmyk_device); ++ gs_lib_register_device(&gs_x11cmyk2_device); ++ gs_lib_register_device(&gs_x11cmyk4_device); ++ gs_lib_register_device(&gs_x11cmyk8_device); ++ gs_lib_register_device(&gs_x11gray2_device); ++ gs_lib_register_device(&gs_x11gray4_device); ++ gs_lib_register_device(&gs_x11mono_device); ++} ++#endif diff --git a/print/ghostscript7-base/files/patch-src-gnudevs.mak b/print/ghostscript7-base/files/patch-src-gnudevs.mak new file mode 100644 index 000000000000..d6e15432bf52 --- /dev/null +++ b/print/ghostscript7-base/files/patch-src-gnudevs.mak @@ -0,0 +1,67 @@ +--- src/gnudevs.mak.orig 2003-02-10 03:12:48.000000000 +0900 ++++ src/gnudevs.mak 2015-08-22 00:20:45.754922000 +0900 +@@ -66,64 +66,6 @@ + $(DD)sxlcrt.dev : $(sxlcrt_) $(DD)page.dev + $(SETPDEV) $(DD)sxlcrt $(sxlcrt_) + +- +-### -------------------- Gimp-Print (stp) driver -------------------### +- +-# To include this driver add '$(DD)stp.dev' to your DEVICE_DEVS +-# line and define 'STPLIB=gimpprint' in your top-level makefile. +-# See http://gimp-print.sourceforge.net/ for more information. +- +-stp_=$(GLOBJ)gdevstp.$(OBJ) +- +-$(DD)stp.dev : $(stp_) $(DD)page.dev +- $(SETPDEV) $(DD)stp $(stp_) +- $(ADDMOD) $(DD)stp -lib $(STPLIB) +- +-$(GLOBJ)gdevstp.$(OBJ) : $(GLSRC)gdevstp.c \ +- $(gdevprn_h) $(gdevpccm_h) $(gsparam_h) +- $(GLCC) $(GLO_)gdevstp.$(OBJ) $(C_) $(GLSRC)gdevstp.c +- +- +-### -------------- cdj850 - HP 850c Driver under development ------------- ### +- +-cdeskjet8_=$(GLOBJ)gdevcd8.$(OBJ) $(HPPCL) +- +-# Author: Uli Wortmann (uliw@erdw.ethz.ch), Martin Gerbershagen (ger@ulm.temic.de) +-# Printer: HP 670 +-$(DD)cdj670.dev : $(cdeskjet8_) $(DD)page.dev +- $(SETPDEV2) $(DD)cdj670 $(cdeskjet8_) +- +-# Author: Uli Wortmann (uliw@erdw.ethz.ch) +-# Printer: HP 850 +-$(DD)cdj850.dev : $(cdeskjet8_) $(DD)page.dev +- $(SETPDEV2) $(DD)cdj850 $(cdeskjet8_) +- +-# Author: Uli Wortmann (uliw@erdw.ethz.ch), Martin Gerbershagen (ger@ulm.temic.de) +-# Printer: HP 890 +-$(DD)cdj890.dev : $(cdeskjet8_) $(DD)page.dev +- $(SETPDEV2) $(DD)cdj890 $(cdeskjet8_) +- +-# Author: Uli Wortmann (uliw@erdw.ethz.ch), Martin Gerbershagen (ger@ulm.temic.de) +-# Printer: HP 1600 +-$(DD)cdj1600.dev : $(cdeskjet8_) $(DD)page.dev +- $(SETPDEV2) $(DD)cdj1600 $(cdeskjet8_) +- +-$(GLOBJ)gdevcd8.$(OBJ) : $(GLSRC)gdevcd8.c $(PDEVH) $(math__h)\ +- $(gsparam_h) $(gxlum_h) $(gdevpcl_h) +- $(GLCC) $(GLO_)gdevcd8.$(OBJ) $(C_) $(GLSRC)gdevcd8.c +- +-### -------------- cdj880 - HP 880c Driver under development ------------- ### +-### Since this driver is in the development phase it is not distributed ### +-### with Ghostscript, but is available from ### +-### http://www.proaxis.com/~mgelhaus/linux/software/hp880c/hp880c.html ### +- +-### NOTE: Depends on the presence of the cdj850 section above. ### +- +-# Author: Matthew Gelhaus (mgelhaus@proaxis.com) +-# Printer: HP 880c +-$(DD)cdj880.dev : $(cdeskjet8_) $(DD)page.dev +- $(SETPDEV2) $(DD)cdj880 $(cdeskjet8_) +- + ### ------------- cdj970 - HP 970Cxi Driver under development ------------- ### + + cdeskjet9_=$(GLOBJ)gdevdj9.$(OBJ) $(HPPCL) diff --git a/print/ghostscript7-base/files/patch-src-gp_unix.c b/print/ghostscript7-base/files/patch-src-gp_unix.c new file mode 100644 index 000000000000..df7874734668 --- /dev/null +++ b/print/ghostscript7-base/files/patch-src-gp_unix.c @@ -0,0 +1,80 @@ +--- src/gp_unix.c.orig 2003-01-17 09:49:02.000000000 +0900 ++++ src/gp_unix.c 2015-08-22 02:44:59.415936000 +0900 +@@ -41,11 +41,57 @@ + + #endif + ++#ifdef GS_DEVS_SHARED ++#ifndef GS_DEVS_SHARED_DIR ++# define GS_DEVS_SHARED_DIR "/usr/lib/ghostscript/7.07" ++#endif ++ ++/* ++ * use shared library for drivers, always load them when starting, this ++ * avoid too many modifications, and since it is supported only under linux ++ * and applied as a patch (preferable). ++ */ ++#include <sys/types.h> ++#include <limits.h> ++#include <dirent.h> ++#include <dlfcn.h> ++#include <string.h> ++ ++void ++gp_init(void) ++{ ++ DIR* dir = NULL; ++ struct dirent* dirent; ++ char buff[PATH_MAX]; ++ char* pbuff; ++ void* handle; ++ void (*gs_shared_init)(void); ++ ++ dir = opendir(GS_DEVS_SHARED_DIR); ++ if (dir == 0) return; ++ ++ while ((dirent = readdir(dir)) != 0) { ++ snprintf(buff, sizeof(buff), "%s/%s", GS_DEVS_SHARED_DIR, dirent->d_name); ++ pbuff = buff + strlen(buff) - 3; ++ if (strcmp(pbuff, ".so") != 0) ++ continue; ++ handle = dlopen(buff, RTLD_NOW); ++ if (handle == NULL) ++ continue; ++ gs_shared_init = dlsym(handle, "gs_shared_init"); ++ if (gs_shared_init != NULL) ++ (*gs_shared_init)(); ++ } ++ ++ closedir(dir); ++} ++#else + /* Do platform-dependent initialization. */ + void + gp_init(void) + { + } ++#endif + + /* Do platform-dependent cleanup. */ + void +@@ -57,6 +103,7 @@ + void + gp_do_exit(int exit_status) + { ++ exit(exit_status); + } + + /* ------ Miscellaneous ------ */ +@@ -67,7 +114,11 @@ + const char * + gp_strerror(int errnum) + { ++#ifdef HAVE_STRERROR ++ return strerror(errnum); ++#else + return NULL; ++#endif + } + + /* ------ Date and time ------ */ diff --git a/print/ghostscript7-base/files/patch-src-gs.mak b/print/ghostscript7-base/files/patch-src-gs.mak new file mode 100644 index 000000000000..a9ee54700595 --- /dev/null +++ b/print/ghostscript7-base/files/patch-src-gs.mak @@ -0,0 +1,19 @@ +--- src/gs.mak.orig 2015-08-21 22:03:26.487964000 +0900 ++++ src/gs.mak 2015-08-21 22:04:09.624656000 +0900 +@@ -235,7 +235,7 @@ + gconfig_h=$(GLGENDIR)$(D)gconfxx.h + gconfigf_h=$(GLGENDIR)$(D)gconfxc.h + +-all default : $(GS_XE) ++all default : $(GS_XE) $(GS_SHARED_OBJS) + $(NO_OP) + + # the distclean and maintainer-clean targets (if any) +@@ -248,6 +248,7 @@ + clean : mostlyclean + $(RM_) $(GSGEN)arch.h + $(RM_) $(GS_XE) ++ $(RM_) $(GS_SHARED_OBJS) + + #****** FOLLOWING IS WRONG, NEEDS TO BE PER-SUBSYSTEM ****** + mostlyclean : config-clean diff --git a/print/ghostscript7/files/patch-src-gsalloc.c b/print/ghostscript7-base/files/patch-src-gsalloc.c index 7c29a14eeada..7c29a14eeada 100644 --- a/print/ghostscript7/files/patch-src-gsalloc.c +++ b/print/ghostscript7-base/files/patch-src-gsalloc.c diff --git a/print/ghostscript7-base/files/patch-src-gsmalloc.c b/print/ghostscript7-base/files/patch-src-gsmalloc.c new file mode 100644 index 000000000000..9b4d97da3844 --- /dev/null +++ b/print/ghostscript7-base/files/patch-src-gsmalloc.c @@ -0,0 +1,11 @@ +--- src/gsmalloc.c.orig 2015-07-24 09:55:54.032137000 +0900 ++++ src/gsmalloc.c 2015-07-24 09:57:15.070246000 +0900 +@@ -170,7 +170,7 @@ + } 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 *) malloc(added)) == 0) + set_msg("failed"); diff --git a/print/ghostscript7/files/patch-src-gxclrast.c b/print/ghostscript7-base/files/patch-src-gxclrast.c index 59d5053ad305..59d5053ad305 100644 --- a/print/ghostscript7/files/patch-src-gxclrast.c +++ b/print/ghostscript7-base/files/patch-src-gxclrast.c diff --git a/print/ghostscript7/files/patch-src-gxfixed.h b/print/ghostscript7-base/files/patch-src-gxfixed.h index 0988ca612c9b..0988ca612c9b 100644 --- a/print/ghostscript7/files/patch-src-gxfixed.h +++ b/print/ghostscript7-base/files/patch-src-gxfixed.h diff --git a/print/ghostscript7/files/patch-src-ibnum.c b/print/ghostscript7-base/files/patch-src-ibnum.c index 2df0a7d138c7..2df0a7d138c7 100644 --- a/print/ghostscript7/files/patch-src-ibnum.c +++ b/print/ghostscript7-base/files/patch-src-ibnum.c diff --git a/print/ghostscript7/files/patch-src-ibnum.h b/print/ghostscript7-base/files/patch-src-ibnum.h index ffec70cac2ae..ffec70cac2ae 100644 --- a/print/ghostscript7/files/patch-src-ibnum.h +++ b/print/ghostscript7-base/files/patch-src-ibnum.h diff --git a/print/ghostscript7/files/patch-src-icclib.mak b/print/ghostscript7-base/files/patch-src-icclib.mak index a60ef670dfa2..a60ef670dfa2 100644 --- a/print/ghostscript7/files/patch-src-icclib.mak +++ b/print/ghostscript7-base/files/patch-src-icclib.mak diff --git a/print/ghostscript7/files/patch-src-idebug.c b/print/ghostscript7-base/files/patch-src-idebug.c index 142926b4474b..142926b4474b 100644 --- a/print/ghostscript7/files/patch-src-idebug.c +++ b/print/ghostscript7-base/files/patch-src-idebug.c diff --git a/print/ghostscript7/files/patch-src-idparam.c b/print/ghostscript7-base/files/patch-src-idparam.c index 636d7c16b510..636d7c16b510 100644 --- a/print/ghostscript7/files/patch-src-idparam.c +++ b/print/ghostscript7-base/files/patch-src-idparam.c diff --git a/print/ghostscript7/files/patch-src-ijs.mak b/print/ghostscript7-base/files/patch-src-ijs.mak index be8ee7807ac5..be8ee7807ac5 100644 --- a/print/ghostscript7/files/patch-src-ijs.mak +++ b/print/ghostscript7-base/files/patch-src-ijs.mak diff --git a/print/ghostscript7/files/patch-src-int.mak b/print/ghostscript7-base/files/patch-src-int.mak index 9e4c5a2c7663..9e4c5a2c7663 100644 --- a/print/ghostscript7/files/patch-src-int.mak +++ b/print/ghostscript7-base/files/patch-src-int.mak diff --git a/print/ghostscript7/files/patch-src-iparam.c b/print/ghostscript7-base/files/patch-src-iparam.c index b0bb91a4d3ef..b0bb91a4d3ef 100644 --- a/print/ghostscript7/files/patch-src-iparam.c +++ b/print/ghostscript7-base/files/patch-src-iparam.c diff --git a/print/ghostscript7/files/patch-src-iref.h b/print/ghostscript7-base/files/patch-src-iref.h index 33313d38047b..33313d38047b 100644 --- a/print/ghostscript7/files/patch-src-iref.h +++ b/print/ghostscript7-base/files/patch-src-iref.h diff --git a/print/ghostscript7/files/patch-src-iscan.c b/print/ghostscript7-base/files/patch-src-iscan.c index cd8b03f6ab56..cd8b03f6ab56 100644 --- a/print/ghostscript7/files/patch-src-iscan.c +++ b/print/ghostscript7-base/files/patch-src-iscan.c diff --git a/print/ghostscript7/files/patch-src-iscanbin.c b/print/ghostscript7-base/files/patch-src-iscanbin.c index 1f39c88b7209..1f39c88b7209 100644 --- a/print/ghostscript7/files/patch-src-iscanbin.c +++ b/print/ghostscript7-base/files/patch-src-iscanbin.c diff --git a/print/ghostscript7/files/patch-src-iscannum.c b/print/ghostscript7-base/files/patch-src-iscannum.c index 4a69664074a6..4a69664074a6 100644 --- a/print/ghostscript7/files/patch-src-iscannum.c +++ b/print/ghostscript7-base/files/patch-src-iscannum.c diff --git a/print/ghostscript7/files/patch-src-iutil.c b/print/ghostscript7-base/files/patch-src-iutil.c index c77cb19ddd84..c77cb19ddd84 100644 --- a/print/ghostscript7/files/patch-src-iutil.c +++ b/print/ghostscript7-base/files/patch-src-iutil.c diff --git a/print/ghostscript7/files/patch-src-lib.mak b/print/ghostscript7-base/files/patch-src-lib.mak index 3a6cc661f187..6208eb8034a3 100644 --- a/print/ghostscript7/files/patch-src-lib.mak +++ b/print/ghostscript7-base/files/patch-src-lib.mak @@ -1,6 +1,14 @@ ---- src/lib.mak.orig 2013-04-30 02:52:53.000000000 +0900 -+++ src/lib.mak 2013-04-30 02:53:40.000000000 +0900 -@@ -187,22 +187,22 @@ +--- src/lib.mak.orig 2003-01-17 09:49:05.000000000 +0900 ++++ src/lib.mak 2015-08-22 02:23:05.682462000 +0900 +@@ -35,6 +35,7 @@ + GLJCC=$(CC_) $(I_)$(GLI_) $(II)$(JI_)$(_I) $(JCF_) $(GLF_) + GLZCC=$(CC_) $(I_)$(GLI_) $(II)$(ZI_)$(_I) $(ZCF_) $(GLF_) + GLCCLEAF=$(CC_LEAF) $(I_)$(GLI_)$(_I) $(GLF_) ++GLCCSHARED=$(CC_SHARED) $(GLCCFLAGS) + # All top-level makefiles define GLD. + #GLD=$(GLGEN) + +@@ -187,22 +188,22 @@ $(GLD)gsnogc.dev : $(LIB_MAK) $(ECHOGS_XE) $(gsnogc_) $(SETMOD) $(GLD)gsnogc $(gsnogc_) @@ -27,3 +35,12 @@ $(GLCC) $(GLO_)gsbittab.$(OBJ) $(C_) $(GLSRC)gsbittab.c # gsflip is not part of the standard configuration: it's rather large, +@@ -765,7 +766,7 @@ + $(GLOBJ)gsparamx.$(OBJ) : $(GLSRC)gsparamx.c $(string__h)\ + $(gserror_h) $(gserrors_h) $(gsmemory_h) $(gsparam_h) $(gsparamx_h)\ + $(gstypes_h) +- $(GLCC) $(GLO_)gsparamx.$(OBJ) $(C_) $(GLSRC)gsparamx.c ++ $(GLCCSHARED) $(GLO_)gsparamx.$(OBJ) $(C_) $(GLSRC)gsparamx.c + + # Future replacement for gsparams.c + $(GLOBJ)gsparam2.$(OBJ) : $(GLSRC)gsparam2.c $(GXERR) $(memory__h)\ diff --git a/print/ghostscript7/files/patch-src-unixinst.mak b/print/ghostscript7-base/files/patch-src-unixinst.mak index c18b6544c83b..1a8041d74861 100644 --- a/print/ghostscript7/files/patch-src-unixinst.mak +++ b/print/ghostscript7-base/files/patch-src-unixinst.mak @@ -1,5 +1,5 @@ --- src/unixinst.mak.orig 2003-01-17 09:49:05.000000000 +0900 -+++ src/unixinst.mak 2014-11-23 15:05:32.000000000 +0900 ++++ src/unixinst.mak 2015-08-22 00:31:09.540215000 +0900 @@ -30,24 +30,24 @@ # rules, just in case bindir or scriptdir is a subdirectory of any of these. @@ -93,7 +93,7 @@ ( test -d $$man1dir || mkdir -p $$man1dir ) ;\ for f in $(PSMANDIR)/$$d/*.1 ;\ do $(INSTALL_DATA) $$f $$man1dir ;\ -@@ -146,17 +146,17 @@ +@@ -146,17 +146,22 @@ # install the example files install-examples: @@ -115,3 +115,8 @@ - do $(INSTALL_DATA) $(PSEXDIR)/cjk/$$f $(exdir)/cjk ;\ + do $(INSTALL_DATA) $(PSEXDIR)/cjk/$$f $(DESTDIR)$(exdir)/cjk ;\ done ++ ++install-shared: $(GS_SHARED_OBJS) ++ -mkdir -p $(DESTDIR)$(gssharedir) ++ $(SH) -c 'for obj in $(GS_SHARED_OBJS); do \ ++ $(INSTALL_PROGRAM) $$obj $(DESTDIR)$(gssharedir)/; done' diff --git a/print/ghostscript7/files/patch-src-zarith.c b/print/ghostscript7-base/files/patch-src-zarith.c index 582f61e8f144..582f61e8f144 100644 --- a/print/ghostscript7/files/patch-src-zarith.c +++ b/print/ghostscript7-base/files/patch-src-zarith.c diff --git a/print/ghostscript7/files/patch-src-zcontrol.c b/print/ghostscript7-base/files/patch-src-zcontrol.c index d00a600c19ec..d00a600c19ec 100644 --- a/print/ghostscript7/files/patch-src-zcontrol.c +++ b/print/ghostscript7-base/files/patch-src-zcontrol.c diff --git a/print/ghostscript7/files/patch-src-zdict.c b/print/ghostscript7-base/files/patch-src-zdict.c index 050ecc841717..050ecc841717 100644 --- a/print/ghostscript7/files/patch-src-zdict.c +++ b/print/ghostscript7-base/files/patch-src-zdict.c diff --git a/print/ghostscript7/files/patch-src-zdps.c b/print/ghostscript7-base/files/patch-src-zdps.c index 414a296cd4ea..414a296cd4ea 100644 --- a/print/ghostscript7/files/patch-src-zdps.c +++ b/print/ghostscript7-base/files/patch-src-zdps.c diff --git a/print/ghostscript7/files/patch-src-zfunc4.c b/print/ghostscript7-base/files/patch-src-zfunc4.c index 0d8610978652..0d8610978652 100644 --- a/print/ghostscript7/files/patch-src-zfunc4.c +++ b/print/ghostscript7-base/files/patch-src-zfunc4.c diff --git a/print/ghostscript7/files/patch-src-zgeneric.c b/print/ghostscript7-base/files/patch-src-zgeneric.c index d99189a5e16a..d99189a5e16a 100644 --- a/print/ghostscript7/files/patch-src-zgeneric.c +++ b/print/ghostscript7-base/files/patch-src-zgeneric.c diff --git a/print/ghostscript7/files/patch-src-ziodev.c b/print/ghostscript7-base/files/patch-src-ziodev.c index 2cd6f0add7a9..2cd6f0add7a9 100644 --- a/print/ghostscript7/files/patch-src-ziodev.c +++ b/print/ghostscript7-base/files/patch-src-ziodev.c diff --git a/print/ghostscript7/files/patch-src-zmath.c b/print/ghostscript7-base/files/patch-src-zmath.c index 94576da80fdf..94576da80fdf 100644 --- a/print/ghostscript7/files/patch-src-zmath.c +++ b/print/ghostscript7-base/files/patch-src-zmath.c diff --git a/print/ghostscript7/files/patch-src-zstack.c b/print/ghostscript7-base/files/patch-src-zstack.c index f1359936e410..f1359936e410 100644 --- a/print/ghostscript7/files/patch-src-zstack.c +++ b/print/ghostscript7-base/files/patch-src-zstack.c diff --git a/print/ghostscript7/files/patch-src-ztype.c b/print/ghostscript7-base/files/patch-src-ztype.c index 98be203c6abe..98be203c6abe 100644 --- a/print/ghostscript7/files/patch-src-ztype.c +++ b/print/ghostscript7-base/files/patch-src-ztype.c diff --git a/print/ghostscript7/files/patch-src:dmp_site.ps b/print/ghostscript7-base/files/patch-src:dmp_site.ps index 174bef13f80f..174bef13f80f 100644 --- a/print/ghostscript7/files/patch-src:dmp_site.ps +++ b/print/ghostscript7-base/files/patch-src:dmp_site.ps diff --git a/print/ghostscript7/files/patch-src:dviprlib.c b/print/ghostscript7-base/files/patch-src:dviprlib.c index 67662665f273..67662665f273 100644 --- a/print/ghostscript7/files/patch-src:dviprlib.c +++ b/print/ghostscript7-base/files/patch-src:dviprlib.c diff --git a/print/ghostscript7/files/patch-src:gdevdmpr.c b/print/ghostscript7-base/files/patch-src:gdevdmpr.c index 05e3bb12dc13..05e3bb12dc13 100644 --- a/print/ghostscript7/files/patch-src:gdevdmpr.c +++ b/print/ghostscript7-base/files/patch-src:gdevdmpr.c diff --git a/print/ghostscript7/files/patch-src:gdevdmpr.mak b/print/ghostscript7-base/files/patch-src:gdevdmpr.mak index 4da2b096cc4f..4da2b096cc4f 100644 --- a/print/ghostscript7/files/patch-src:gdevdmpr.mak +++ b/print/ghostscript7-base/files/patch-src:gdevdmpr.mak diff --git a/print/ghostscript7/files/patch-src:gdevgdi.c b/print/ghostscript7-base/files/patch-src:gdevgdi.c index 996758e09685..996758e09685 100644 --- a/print/ghostscript7/files/patch-src:gdevgdi.c +++ b/print/ghostscript7-base/files/patch-src:gdevgdi.c diff --git a/print/ghostscript7/files/patch-src:gdevlbp8.c b/print/ghostscript7-base/files/patch-src:gdevlbp8.c index 052492c58f6a..052492c58f6a 100644 --- a/print/ghostscript7/files/patch-src:gdevlbp8.c +++ b/print/ghostscript7-base/files/patch-src:gdevlbp8.c diff --git a/print/ghostscript7/files/patch-src:gdevpdff.c b/print/ghostscript7-base/files/patch-src:gdevpdff.c index 8a292bd4cdec..8a292bd4cdec 100644 --- a/print/ghostscript7/files/patch-src:gdevpdff.c +++ b/print/ghostscript7-base/files/patch-src:gdevpdff.c diff --git a/print/ghostscript7/files/patch-src:gdevpdff.h b/print/ghostscript7-base/files/patch-src:gdevpdff.h index f64a4e02f6b8..f64a4e02f6b8 100644 --- a/print/ghostscript7/files/patch-src:gdevpdff.h +++ b/print/ghostscript7-base/files/patch-src:gdevpdff.h diff --git a/print/ghostscript7/files/patch-src:gdevpdfs.c b/print/ghostscript7-base/files/patch-src:gdevpdfs.c index 0378f15c88ab..0378f15c88ab 100644 --- a/print/ghostscript7/files/patch-src:gdevpdfs.c +++ b/print/ghostscript7-base/files/patch-src:gdevpdfs.c diff --git a/print/ghostscript7/files/patch-src:gdevpdfw.c b/print/ghostscript7-base/files/patch-src:gdevpdfw.c index a08b87d42724..a08b87d42724 100644 --- a/print/ghostscript7/files/patch-src:gdevpdfw.c +++ b/print/ghostscript7-base/files/patch-src:gdevpdfw.c diff --git a/print/ghostscript7/files/patch-src:genarch.c b/print/ghostscript7-base/files/patch-src:genarch.c index a015e69e758a..a015e69e758a 100644 --- a/print/ghostscript7/files/patch-src:genarch.c +++ b/print/ghostscript7-base/files/patch-src:genarch.c diff --git a/print/ghostscript7/files/patch-src:gxobj.h b/print/ghostscript7-base/files/patch-src:gxobj.h index f0df8565100c..f0df8565100c 100644 --- a/print/ghostscript7/files/patch-src:gxobj.h +++ b/print/ghostscript7-base/files/patch-src:gxobj.h diff --git a/print/ghostscript7/files/patch-src:smartgdi-contrib.mak b/print/ghostscript7-base/files/patch-src:smartgdi-contrib.mak index 3b832daff662..3b832daff662 100644 --- a/print/ghostscript7/files/patch-src:smartgdi-contrib.mak +++ b/print/ghostscript7-base/files/patch-src:smartgdi-contrib.mak diff --git a/print/ghostscript7/files/patch-src:unix-dll.mak b/print/ghostscript7-base/files/patch-src:unix-dll.mak index ed0e8f29d4cd..f6032f9f08ac 100644 --- a/print/ghostscript7/files/patch-src:unix-dll.mak +++ b/print/ghostscript7-base/files/patch-src:unix-dll.mak @@ -1,49 +1,50 @@ --- src/unix-dll.mak.orig 2003-01-17 09:49:05.000000000 +0900 -+++ src/unix-dll.mak 2014-11-23 14:43:44.000000000 +0900 -@@ -48,11 +48,9 @@ ++++ src/unix-dll.mak 2015-08-22 01:13:03.452736000 +0900 +@@ -47,12 +47,17 @@ + GSSOX=$(BINDIR)/$(SOBINRELDIR)/$(GSSOX_XENAME) # shared library - GS_SONAME=lib$(GS).so --GS_SONAME_MAJOR=$(GS_SONAME).$(GS_VERSION_MAJOR) +-GS_SONAME=lib$(GS).so ++GS_SONAME_BASE=lib$(GS) ++ ++GS_SOEXT=so ++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) -+GS_SONAME_MAJOR=$(GS_SONAME).$(GS_SHLIB_VER) ++GS_SONAME_MAJOR_MINOR=$(GS_SONAME).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR) ++LDFLAGS_SO=-shared -Wl,-soname=$(GS_SONAME_MAJOR) ++ GS_SO=$(BINDIR)/$(GS_SONAME) -GS_SO_MAJOR=$(GS_SO).$(GS_VERSION_MAJOR) -GS_SO_MAJOR_MINOR=$(GS_SO_MAJOR).$(GS_VERSION_MINOR) -+GS_SO_MAJOR=$(GS_SO).$(GS_SHLIB_VER) ++GS_SO_MAJOR=$(BINDIR)/$(GS_SONAME_MAJOR) ++GS_SO_MAJOR_MINOR=$(BINDIR)/$(GS_SONAME_MAJOR_MINOR) # Shared object is built by redefining GS_XE in a recursive make. -@@ -60,24 +58,20 @@ - - $(GS_SO): $(GS_SO_MAJOR) - $(RM_) $(GS_SO) -- ln -s $(GS_SONAME_MAJOR_MINOR) $(GS_SO) -- --$(GS_SO_MAJOR): $(GS_SO_MAJOR_MINOR) -- $(RM_) $(GS_SO_MAJOR) -- ln -s $(GS_SONAME_MAJOR_MINOR) $(GS_SO_MAJOR) -+ ln -s $(GS_SONAME_MAJOR) $(GS_SO) +@@ -68,15 +73,16 @@ # Build the small Ghostscript loaders, with Gtk+ and without - $(GSSOX_XE): $(GS_SO) $(GLSRC)dxmain.c +-$(GSSOX_XE): $(GS_SO) $(GLSRC)dxmain.c - $(GLCC) -g `gtk-config --cflags` -o $(GSSOX_XE) $(GLSRC)dxmain.c -L$(BINDIR) -l$(GS) `gtk-config --libs` -+ $(GLCC) `$(GTK_CONFIG) --cflags` -o $(GSSOX_XE) $(GLSRC)dxmain.c -L$(BINDIR) -l$(GS) `$(GTK_CONFIG) --libs` ++$(GSSOX_XE): $(GS_SO) $(GLSRC)$(SOC_LOADER) ++ $(GLCC) -g -o $(GSSOX_XE) $(GLSRC)dxmainc.c -L$(BINDIR) -l$(GS) - $(GSSOC_XE): $(GS_SO) $(GLSRC)dxmainc.c +-$(GSSOC_XE): $(GS_SO) $(GLSRC)dxmainc.c - $(GLCC) -g -o $(GSSOC_XE) $(GLSRC)dxmainc.c -L$(BINDIR) -l$(GS) -+ $(GLCC) -o $(GSSOC_XE) $(GLSRC)dxmainc.c -L$(BINDIR) -l$(GS) ++$(GSSOC_XE): $(GS_SO) $(GLSRC)$(SOC_LOADER) ++ $(GLCC) -g $(SOC_CFLAGS) -o $(GSSOC_XE) $(GLSRC)$(SOC_LOADER) \ ++ -L$(BINDIR) -l$(GS) $(SOC_LIBS) # ------------------------- Recursive make targets ------------------------- # - SODEFS=LDFLAGS='$(LDFLAGS) $(CFLAGS_SO) -shared -Wl,-soname,$(GS_SONAME_MAJOR)'\ -- GS_XE=$(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR)\ -+ GS_XE=$(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR)\ +-SODEFS=LDFLAGS='$(LDFLAGS) $(CFLAGS_SO) -shared -Wl,-soname,$(GS_SONAME_MAJOR)'\ ++SODEFS=LDFLAGS='$(LDFLAGS) $(LDFLAGS_SO)'\ + GS_XE=$(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR)\ STDIO_IMPLEMENTATION=c\ DISPLAY_DEV=$(DD)$(SOOBJRELDIR)/display.dev\ - BINDIR=$(BINDIR)/$(SOBINRELDIR)\ -@@ -98,19 +92,17 @@ +@@ -98,21 +104,26 @@ $(MAKE) $(SODEFS) GENOPT='-DDEBUG' CFLAGS='$(CFLAGS_DEBUG) $(CFLAGS_SO) $(GCFLAGS) $(XCFLAGS)' $(GSSOC) $(GSSOX) install-so: so @@ -66,11 +67,21 @@ + -mkdir -p $(DESTDIR)$(gsdatadir) + -mkdir -p $(DESTDIR)$(bindir) + -mkdir -p $(DESTDIR)$(libdir) ++ -mkdir -p $(DESTDIR)$(gsincludedir) + $(INSTALL_PROGRAM) $(GSSOC) $(DESTDIR)$(bindir)/$(GSSOC_XENAME) + $(INSTALL_PROGRAM) $(GSSOX) $(DESTDIR)$(bindir)/$(GSSOX_XENAME) -+ $(INSTALL_PROGRAM) $(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR) ++ $(INSTALL_PROGRAM) $(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR_MINOR) + $(RM_) $(DESTDIR)$(libdir)/$(GS_SONAME) -+ ln -s $(GS_SONAME_MAJOR) $(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) $(GLSRC)iapi.h $(DESTDIR)$(gsincludedir)iapi.h ++ $(INSTALL_DATA) $(GLSRC)errors.h $(DESTDIR)$(gsincludedir)ierrors.h ++ $(INSTALL_DATA) $(GLSRC)gdevdsp.h $(DESTDIR)$(gsincludedir)gdevdsp.h - soinstall: install-so install-scripts install-data +-soinstall: install-so install-scripts install-data ++ ++soinstall: install-so install-scripts install-data $(INSTALL_SHARED) $(INSTALL_CONTRIB) + # Make the build directories + SODIRS: STDDIRS diff --git a/print/ghostscript7/files/patch-src:unix-gcc.mak b/print/ghostscript7-base/files/patch-src:unix-gcc.mak index 41f387c4143e..41f387c4143e 100644 --- a/print/ghostscript7/files/patch-src:unix-gcc.mak +++ b/print/ghostscript7-base/files/patch-src:unix-gcc.mak diff --git a/print/ghostscript7/files/patch-src:zmedia2.c b/print/ghostscript7-base/files/patch-src:zmedia2.c index 9033a4388085..9033a4388085 100644 --- a/print/ghostscript7/files/patch-src:zmedia2.c +++ b/print/ghostscript7-base/files/patch-src:zmedia2.c diff --git a/print/ghostscript7/files/patch-src_cpca_mk_cmd.c b/print/ghostscript7-base/files/patch-src_cpca_mk_cmd.c index e7f1f9221946..e7f1f9221946 100644 --- a/print/ghostscript7/files/patch-src_cpca_mk_cmd.c +++ b/print/ghostscript7-base/files/patch-src_cpca_mk_cmd.c diff --git a/print/ghostscript7/files/patch-src_gdevhl12.c b/print/ghostscript7-base/files/patch-src_gdevhl12.c index 2976befa7cbe..2976befa7cbe 100644 --- a/print/ghostscript7/files/patch-src_gdevhl12.c +++ b/print/ghostscript7-base/files/patch-src_gdevhl12.c diff --git a/print/ghostscript7/files/stc740ih.upp b/print/ghostscript7-base/files/stc740ih.upp index bb9805f55fb8..bb9805f55fb8 100644 --- a/print/ghostscript7/files/stc740ih.upp +++ b/print/ghostscript7-base/files/stc740ih.upp diff --git a/print/ghostscript7/files/stc740p.upp b/print/ghostscript7-base/files/stc740p.upp index a4e7f5441793..a4e7f5441793 100644 --- a/print/ghostscript7/files/stc740p.upp +++ b/print/ghostscript7-base/files/stc740p.upp diff --git a/print/ghostscript7/files/stc740pl.upp b/print/ghostscript7-base/files/stc740pl.upp index b2fdb0dbbc06..b2fdb0dbbc06 100644 --- a/print/ghostscript7/files/stc740pl.upp +++ b/print/ghostscript7-base/files/stc740pl.upp diff --git a/print/ghostscript7/files/stp.contrib.mak b/print/ghostscript7-base/files/stp.contrib.mak index 862d329324ee..862d329324ee 100644 --- a/print/ghostscript7/files/stp.contrib.mak +++ b/print/ghostscript7-base/files/stp.contrib.mak diff --git a/print/ghostscript7/pkg-descr b/print/ghostscript7-base/pkg-descr index dac9b390920a..1454e6bb6b89 100644 --- a/print/ghostscript7/pkg-descr +++ b/print/ghostscript7-base/pkg-descr @@ -21,4 +21,4 @@ This port includes add-on packages (not part of the official gs release) - Epson Stylus Color 740 and Epson LQ-1170 WWW: http://www.cs.wisc.edu/~ghost/doc/gnu/index.htm - http://www.ghostscript.com/ +WWW: http://www.ghostscript.com/ diff --git a/print/ghostscript7/pkg-message b/print/ghostscript7-base/pkg-message index bfeb977fcb01..bfeb977fcb01 100644 --- a/print/ghostscript7/pkg-message +++ b/print/ghostscript7-base/pkg-message diff --git a/print/ghostscript7/pkg-plist b/print/ghostscript7-base/pkg-plist index 7656d5e71a7e..f1ec8b02a1e6 100644 --- a/print/ghostscript7/pkg-plist +++ b/print/ghostscript7-base/pkg-plist @@ -6,15 +6,15 @@ bin/fixmswrd.pl bin/font2c bin/gs bin/gsbj -%%SHLIB%%bin/gsc +bin/gsc bin/gsdj bin/gsdj500 bin/gslj bin/gslp bin/gsnd -%%SHLIB%%bin/gsx +bin/gsx bin/lprsetup.sh -%%X11%%%%GS_pcl3%%bin/pcl3opts +%%GS_pcl3%%bin/pcl3opts bin/pdf2dsc bin/pdf2ps bin/pdfopt @@ -34,6 +34,12 @@ bin/pv.sh bin/sysvlp.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.%%SHLIB_VER%% +lib/libgs.so.%%GS_VERSION%% man/man1/ansi2knr.1.gz man/man1/dvipdf.1.gz man/man1/eps2eps.1.gz @@ -59,8 +65,6 @@ man/man1/ps2pdf13.1.gz man/man1/ps2pdfwr.1.gz man/man1/ps2ps.1.gz man/man1/wftopfa.1.gz -%%SHLIB%%lib/libgs.so -%%SHLIB%%lib/libgs.so.%%SHLIB_VER%% %%DATADIR%%/%%GS_VERSION%%/doc/API.htm %%DATADIR%%/%%GS_VERSION%%/doc/C-style.htm %%DATADIR%%/%%GS_VERSION%%/doc/CJK.htm diff --git a/print/ghostscript7-commfont/Makefile b/print/ghostscript7-commfont/Makefile index 92d464c4d075..8600dd15a9ea 100644 --- a/print/ghostscript7-commfont/Makefile +++ b/print/ghostscript7-commfont/Makefile @@ -3,7 +3,7 @@ PORTNAME= ghostscript PORTVERSION= 7.07 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= print MASTER_SITES= # empty PKGNAMESUFFIX= 7-commfont @@ -21,15 +21,11 @@ SUB_FILES= pkg-message \ SUB_LIST= PORTVERSION="${PORTVERSION}" GS_RESDIR="${GS_RESDIR}" PLIST_SUB= GS_RESDIR="${GS_RESDIR}" PKGMESSAGE= ${WRKDIR}/pkg-message -DEPENDS_ARGS+= -DA4 -# set these forcibly USES= ghostscript:7,run CONFLICTS_INSTALL= \ - ghostscript8-[0-9]* \ - ghostscript8-nox11-[0-9]* \ - ghostscript9-[0-9]* \ - ghostscript9-nox11-[0-9]* \ + ghostscript[789]-[0-9]* \ + ghostscript[789]-nox11-[0-9]* \ ghostscript9-agpl-[0-9]* \ ghostscript9-agpl-nox11-[0-9]* diff --git a/print/ghostscript7-jpnfont/Makefile b/print/ghostscript7-jpnfont/Makefile index cc2fd0e5cecb..d5f37a03e2f1 100644 --- a/print/ghostscript7-jpnfont/Makefile +++ b/print/ghostscript7-jpnfont/Makefile @@ -3,11 +3,9 @@ PORTNAME= ghostscript PORTVERSION= 7.07 -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= print japanese -MASTER_SITES= # empty PKGNAMESUFFIX= 7-jpnfont -DISTFILES= # empty MAINTAINER= hrs@FreeBSD.org COMMENT= Japanese font support for Ghostscript 7.x @@ -15,12 +13,6 @@ COMMENT= Japanese font support for Ghostscript 7.x RUN_DEPENDS= ${LOCALBASE}/share/fonts/std.ja_JP/Ryumin-Light.gs7:${PORTSDIR}/japanese/font-std \ ${LOCALBASE}/share/ghostscript/Resource/CIDFont/Ryumin-Light:${PORTSDIR}/print/ghostscript7-commfont -# set these forcibly -USES= ghostscript:7,run -NO_BUILD= yes -DEPENDS_ARGS+= -DA4 - -do-install: - @${DO_NADA} +USES= metaport ghostscript:7,run .include <bsd.port.mk> diff --git a/print/ghostscript7-korfont/Makefile b/print/ghostscript7-korfont/Makefile index 739d0614c8d3..3cafc6e9086d 100644 --- a/print/ghostscript7-korfont/Makefile +++ b/print/ghostscript7-korfont/Makefile @@ -3,11 +3,9 @@ PORTNAME= ghostscript PORTVERSION= 7.07 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= print korean -MASTER_SITES= # empty PKGNAMESUFFIX= 7-korfont -DISTFILES= # empty MAINTAINER= hrs@FreeBSD.org COMMENT= Korean font support for Ghostscript 7.x @@ -15,12 +13,6 @@ COMMENT= Korean font support for Ghostscript 7.x RUN_DEPENDS= ${LOCALBASE}/share/fonts/CIDFont/Munhwa-Regular:${PORTSDIR}/korean/munhwafonts-cid \ ${LOCALBASE}/share/ghostscript/Resource/CIDFont/HYSMyeongJo-Medium:${PORTSDIR}/print/ghostscript7-commfont -# set these forcibly -USES= ghostscript:7,run -NO_BUILD= yes -DEPENDS_ARGS+= -DA4 - -do-install: - @${DO_NADA} +USES= ghostscript:7,run metaport .include <bsd.port.mk> diff --git a/print/ghostscript7-nox11/Makefile b/print/ghostscript7-nox11/Makefile deleted file mode 100644 index 95f002656f3f..000000000000 --- a/print/ghostscript7-nox11/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -# Created by: Nik Clayton <nik@FreeBSD.org> -# $FreeBSD$ - -print_ghostscript7-nox11_UNSET_FORCE+= X11 - -MASTERDIR= ${.CURDIR}/../ghostscript7 - -.include "${MASTERDIR}/Makefile" diff --git a/print/ghostscript7-x11/Makefile b/print/ghostscript7-x11/Makefile new file mode 100644 index 000000000000..a966ae101fec --- /dev/null +++ b/print/ghostscript7-x11/Makefile @@ -0,0 +1,50 @@ +# Created by: Andreas Klemm <andreas@klemm.gtn.com> +# $FreeBSD$ + +PORTNAME= ghostscript +PORTVERSION= 7.07 +PORTREVISION= 32 +CATEGORIES= print +MASTER_SITES= SF/ghostscript/gnu-gs/${PORTVERSION}/ +PKGNAMESUFFIX= 7-x11 +DIST_SUBDIR= ${PORTNAME} + +MAINTAINER= hrs@FreeBSD.org +COMMENT= Ghostscript 7.x PostScript interpreter, X11 support + +LICENSE= GPLv2 + +CONFLICTS_INSTALL= \ + gambc-[0-9]* \ + ghostscript[789]-[0-9]* \ + ghostscript[789]-nox11-[0-9]* \ + ghostscript9-agpl-[0-9]* \ + ghostscript9-agpl-nox11-[0-9]* + +USES= autoreconf ghostscript:7 gmake tar:bzip2 +USE_LDCONFIG= yes +USE_XORG= ice sm x11 xext xt +GNU_CONFIGURE= yes +CONFIGURE_ENV= ${MAKE_ENV} +CONFIGURE_ARGS= --disable-compile-inits \ + --enable-dynamic \ + --without-ijs \ + --with-x \ + --x-includes=${LOCALBASE}/include \ + --x-libraries=${LOCALBASE}/lib +MAKE_ENV= CFLAGS_STANDARD="${CFLAGS}" \ + XCFLAGS="${XCFLAGS}" XLDFLAGS="${XLDFLAGS}" \ + EXTRALIBS="${EXTRALIBS}" +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib +XLDFLAGS= -lpthread +ALL_TARGET= ./obj/X11.so +INSTALL_TARGET= install-shared +PLIST_FILES= ${GS_LIBDIR}/X11.so + +GS_LIBDIR= lib/${PORTNAME}/${PORTVERSION} + +pre-build: + ${MKDIR} ${WRKSRC}/obj + +.include <bsd.port.mk> diff --git a/print/ghostscript7-x11/distinfo b/print/ghostscript7-x11/distinfo new file mode 100644 index 000000000000..469d48f2381f --- /dev/null +++ b/print/ghostscript7-x11/distinfo @@ -0,0 +1,38 @@ +SHA256 (ghostscript/ghostscript-7.07.tar.bz2) = 6d87177a2fd2f08d75dde4b0c5bf45e2b0699d645faa382306f8edbb1531fd35 +SIZE (ghostscript/ghostscript-7.07.tar.bz2) = 4138372 +SHA256 (ghostscript/dmprt-2.01.tar.gz) = c3d8245ae48893856c6b63508262afbf54a3b16c3e606ab07797f46eb9e15ce7 +SIZE (ghostscript/dmprt-2.01.tar.gz) = 44232 +SHA256 (ghostscript/epag-3.09.tar.gz) = ad10eca44c781a5851d5a8993dcd95b2e2b99392cbf2c8372a5a658f3b991b3b +SIZE (ghostscript/epag-3.09.tar.gz) = 12858 +SHA256 (ghostscript/pcl3-3.3.tar.gz) = 20fc33c741096a88c2aa6f6a03c025cad9bb224729dfffb91673c65c367ac714 +SIZE (ghostscript/pcl3-3.3.tar.gz) = 301470 +SHA256 (ghostscript/gdevcd8.tar.gz) = f52656a951e402f3775fdf09087944dba6f7a58edff17ce350692cee101cccf9 +SIZE (ghostscript/gdevcd8.tar.gz) = 24803 +SHA256 (ghostscript/gdevdj9.c.gz) = 7657dece1c2d9af15b7599e92f3170b9aaf927d429d90e4e928d3d7052fb376f +SIZE (ghostscript/gdevdj9.c.gz) = 20139 +SHA256 (ghostscript/gimp-print-4.2.7.tar.gz) = a6cfcbb4bf32d12a553252b98e6a6fdb5d44fe37debad4480bbc9326e2c69489 +SIZE (ghostscript/gimp-print-4.2.7.tar.gz) = 5178122 +SHA256 (ghostscript/gdevmd2k-0.2a.tar.gz) = c99d6b4cc026c78729331c99a6d9ced24960c61b356c3a61162d2268274a7e7c +SIZE (ghostscript/gdevmd2k-0.2a.tar.gz) = 9955 +SHA256 (ghostscript/gdevalps-0.21.tar.gz) = 250f54084bc186237e24233aa3cbffcc192e14b19620876a518b38ffe9b14421 +SIZE (ghostscript/gdevalps-0.21.tar.gz) = 4452 +SHA256 (ghostscript/gdev10v.tar.gz) = 99f51fa42c9223e2c6b3658d82c790cffbf146bd8ef60c89ddba56128c7a40d3 +SIZE (ghostscript/gdev10v.tar.gz) = 6099 +SHA256 (ghostscript/gs7.05-bjc250-v0.756.diff.gz) = aeeaa041a04a3ca95b50c1c1ebc60b7a570668fd110671610c0f21dab07ddd64 +SIZE (ghostscript/gs7.05-bjc250-v0.756.diff.gz) = 16501 +SHA256 (ghostscript/canon-lips4-1.0.0-651.tgz) = e11d11fa9d8645e4102a36d293cdf42498b5fbecc966d0bd104c5aa951c08cae +SIZE (ghostscript/canon-lips4-1.0.0-651.tgz) = 38835 +SHA256 (ghostscript/gdevlips-2.4.0.tar.gz) = 24164cdc12cb0d03512c2f04ed82fa1e901625504367b8c53cc74134ee9c3047 +SIZE (ghostscript/gdevlips-2.4.0.tar.gz) = 67683 +SHA256 (ghostscript/eplaser-3.1.4-705.tgz) = ed1ccdf6ec613eb5e028786ad59cb3060f00c2ffa8ca5792bfd219514dc69f42 +SIZE (ghostscript/eplaser-3.1.4-705.tgz) = 44523 +SHA256 (ghostscript/gdevmjc-0.8.tar.gz) = cd922677798ce85b7e06d92694bb8b0012bc5d6ed66d6982f20eed471974f05b +SIZE (ghostscript/gdevmjc-0.8.tar.gz) = 102654 +SHA256 (ghostscript/Samsung-SmartGDI-all-GS.orig.tar.gz) = 2c8c43e2318dd8b143344235ad7ccc203a3a8c4c50419f3967f1a999a92ea430 +SIZE (ghostscript/Samsung-SmartGDI-all-GS.orig.tar.gz) = 10488 +SHA256 (ghostscript/lxm3200-tweaked-20030501.tar.gz) = 9156ca7948158102938b127b356dfcd778e79a271893f56efe7cb65a41f46380 +SIZE (ghostscript/lxm3200-tweaked-20030501.tar.gz) = 39000 +SHA256 (ghostscript/gdevlx50.c) = 668de62188819f5c27f00ab04f1b7b58ff9ff52ac16497429a0637f412112117 +SIZE (ghostscript/gdevlx50.c) = 99428 +SHA256 (ghostscript/gs6.0.lexmark7000.patch) = 509dfc02436639ce6b9f98465ec306dd2e7f9342feded043c78b0c9cf44021df +SIZE (ghostscript/gs6.0.lexmark7000.patch) = 27361 diff --git a/print/ghostscript7-x11/files/patch-src-Makefile.in b/print/ghostscript7-x11/files/patch-src-Makefile.in new file mode 100644 index 000000000000..c615c95a9e2a --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-Makefile.in @@ -0,0 +1,166 @@ +--- src/Makefile.in.orig 2003-04-30 03:33:31.000000000 +0900 ++++ src/Makefile.in 2015-08-22 02:16:40.606012000 +0900 +@@ -50,8 +50,10 @@ + # initialization files (gs_*.ps) and the fonts. + + INSTALL = $(GLSRCDIR)/instcopy -c +-INSTALL_PROGRAM = $(INSTALL) -m 755 +-INSTALL_DATA = $(INSTALL) -m 644 ++INSTALL_PROGRAM = ${BSD_INSTALL_PROGRAM} ++INSTALL_SCRIPT = ${BSD_INSTALL_SCRIPT} ++INSTALL_DATA = ${BSD_INSTALL_DATA} ++INSTALL_SHARED = @INSTALL_SHARED@ + + prefix = @prefix@ + exec_prefix = @exec_prefix@ +@@ -63,6 +65,8 @@ + datadir = @datadir@ + gsdir = $(datadir)/ghostscript + gsdatadir = $(gsdir)/$(GS_DOT_VERSION) ++gssharedir = @libdir@/ghostscript/$(GS_DOT_VERSION) ++gsincludedir = @includedir@/ghostscript/ + + docdir=$(gsdatadir)/doc + exdir=$(gsdatadir)/examples +@@ -142,7 +146,7 @@ + # some older JPEG streams that violate the standard. If the JPEG + # library built from local sources, the patch will be applied. + +-SHARE_JPEG=@SHARE_LIBJPEG@ ++SHARE_JPEG=1 + JPEG_NAME=jpeg + + # Define the directory where the PNG library sources are stored, +@@ -150,14 +154,14 @@ + # You may need to change this if the libpng version changes. + # See libpng.mak for more information. + +-SHARE_LIBPNG=@SHARE_LIBPNG@ ++SHARE_LIBPNG=1 + PSRCDIR=@LIBPNGDIR@ + LIBPNG_NAME=png + + # Define the directory where the zlib sources are stored. + # See zlib.mak for more information. + +-SHARE_ZLIB=@SHARE_ZLIB@ ++SHARE_ZLIB=1 + ZSRCDIR=@ZLIBDIR@ + #ZLIB_NAME=gz + ZLIB_NAME=z +@@ -197,15 +201,15 @@ + CCLD=$(CC) + + # Define the general cc flags, warnings and such. +-GCFLAGS=@GCFLAGS@ ++GCFLAGS=@CPPFLAGS@ @GCFLAGS@ @CFLAGS@ + + # Define the added flags for standard, debugging, profiling + # and shared object builds. + +-CFLAGS_STANDARD=@OPT_CFLAGS@ ++CFLAGS_STANDARD?=@OPT_CFLAGS@ + CFLAGS_DEBUG=-g -O + CFLAGS_PROFILE=-pg @OPT_CFLAGS@ +-CFLAGS_SO=-fPIC ++CFLAGS_SO=@DYNAMIC_CFLAGS@ + + # Define the other compilation flags. Add at most one of the following: + # -DBSD4_2 for 4.2bsd systems. +@@ -218,7 +222,7 @@ + # We don't include -ansi, because this gets in the way of the platform- + # specific stuff that <math.h> typically needs; nevertheless, we expect + # gcc to accept ANSI-style function prototypes and function definitions. +-XCFLAGS= ++XCFLAGS=@DYNAMIC_FLAGS@ + + # defines from autoconf; note that we don't use these at present. + ACDEFS=@DEFS@ +@@ -232,9 +236,9 @@ + # -R /usr/local/xxx/lib:/usr/local/lib + # giving the full path names of the shared library directories. + # XLDFLAGS can be set from the command line. +-XLDFLAGS= + +-LDFLAGS=$(XLDFLAGS) ++LDFLAGS=@LDFLAGS@ ++XLDFLAGS=$(LDFLAGS) + + # Define any extra libraries to link into the executable. + # ISC Unix 2.2 wants -linet. +@@ -243,7 +247,7 @@ + # Solaris may need -lnsl -lsocket -lposix4. + # (Libraries required by individual drivers are handled automatically.) + +-EXTRALIBS= ++EXTRALIBS=@LIBS@ @DYNAMIC_LIBS@ + + # Define the standard libraries to search at the end of linking. + # Most platforms require -lpthread for the POSIX threads library; +@@ -252,10 +256,7 @@ + # All reasonable platforms require -lm, but Rhapsody and perhaps one or + # two others fold libm into libc and don't require any additional library. + +-#STDLIBS=-lpthread -lm +- +-# Since the default build is for nosync, don't include pthread lib +-STDLIBS=-lm ++STDLIBS=@PTHREAD_LIBS@ -lm + + # Define the include switch(es) for the X11 header files. + # This can be null if handled in some other way (e.g., the files are +@@ -279,9 +280,10 @@ + # should be slotted into XLIBS below and X_PRE_LIBS which should go + # before -lX11. We do not handle these and should, but they are empty + # on most modern platforms. +-XLIBDIRS=@X_LIBS@ ++XLIBDIRS=@X_LDFLAGS@ + XLIBDIR= +-XLIBS=Xt Xext X11 ++#XLIBS=Xt Xext X11 ++XLIBS=@X_LIBS@ + + # Define whether this platform has floating point hardware: + # FPU_TYPE=2 means floating point is faster than fixed point. +@@ -301,15 +303,19 @@ + # primitives for this platform. + + # If POSIX sync primitives are used, also change the STDLIBS to include +-# the pthread library. ++# the pthread library. Otherwise use SYNC=nosync + #SYNC=posync +- +-# Default is No sync primitives since some platforms don't have it (HP-UX) +-SYNC=nosync ++#SYNC=nosync ++SYNC=@SYNC@ + + # programs we use + RM=rm -f + ++# ------ Dynamic loader options ------- # ++SOC_CFLAGS = @SOC_CFLAGS@ ++SOC_LIBS = @SOC_LIBS@ ++SOC_LOADER = @SOC_LOADER@ ++ + # ------ Devices and features ------ # + + # Choose the language feature(s) to include. See gs.mak for details. +@@ -385,6 +391,9 @@ + DEVICE_DEVS19= + DEVICE_DEVS20=$(DD)cljet5.dev $(DD)cljet5c.dev + ++# Shared library target to build. ++GS_SHARED_OBJS=@DYNAMIC_DEVS@ ++ + # ---------------------------- End of options --------------------------- # + + # Define the name of the partial makefile that specifies options -- +@@ -407,6 +416,7 @@ + # These are the specific warnings we have to turn off to compile those + # specific few files that need this. We may turn off others in the future. + CC_NO_WARN=$(CC_) ++CC_SHARED=$(CC_) @DYNAMIC_LDFLAGS@ + + # ---------------- End of platform-specific section ---------------- # + diff --git a/print/ghostscript7-x11/files/patch-src-configure.ac b/print/ghostscript7-x11/files/patch-src-configure.ac new file mode 100644 index 000000000000..f95ae6826b22 --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-configure.ac @@ -0,0 +1,199 @@ +--- src/configure.ac.orig 2003-04-16 22:59:56.000000000 +0900 ++++ src/configure.ac 2015-08-22 02:25:42.002266000 +0900 +@@ -8,6 +8,46 @@ + AC_PREREQ(2.52) + AC_CONFIG_SRCDIR(src/gs.c) + ++CFLAGS="${CFLAGS:=}" ++CPPFLAGS="${CPPFLAGS:=}" ++CXXFLAGS="${CXXFLAGS:=}" ++LDFLAGS="${LDFLAGS:=}" ++ ++dnl -------------------------------------------------- ++dnl Local utilities ++dnl -------------------------------------------------- ++ ++dnl GS_SPLIT_LIBS( LIBS, LINKLINE ) ++dnl Split a unix-style link line into a list of ++dnl bare library names. For example, the line ++dnl '-L/usr/X11R6/lib -lX11 -lXt' splits into ++dnl LIB='X11 Xt' ++dnl ++AC_DEFUN([GS_SPLIT_LIBS], [ ++# the makefile wants a list of just the library names ++for gs_item in $2; do ++ gs_stripped_item=`echo "$gs_item" | sed -e 's/^-l//'` ++ if test "x$gs_stripped_item" != "x$gs_item"; then ++ $1="$[$1] $gs_stripped_item" ++ fi ++done ++]) ++ ++dnl GS_SPLIT_LIBPATHS( LIBPATHS, LINKLINE ) ++dnl Split a unix-style link line into a list of ++dnl bare search path entries. For example, ++dnl '-L/usr/X11R6/lib -lX11 -L/opt/lib -lXt' ++dnl splits to LIBPATHS='/usr/X11R6/lib /opt/lib' ++dnl ++AC_DEFUN([GS_SPLIT_LIBPATHS], [ ++for gs_item in $2; do ++ gs_stripped_item=`echo "$gs_item" | sed -e 's/-L//'` ++ if test "x$gs_stripped_item" != "x$gs_item"; then ++ $1="$[$1] $gs_stripped_item" ++ fi ++done ++]) ++ + dnl -------------------------------------------------- + dnl Check for programs + dnl -------------------------------------------------- +@@ -94,33 +134,15 @@ + dnl -------------------------------------------------- + + AC_CHECK_LIB(m, cos) +-dnl AC_CHECK_LIB(pthread, pthread_create) ++SYNC="nosync" ++PTHREAD_LIBS="" ++AC_CHECK_LIB(pthread, pthread_create, [ ++ SYNC=posync; ++ PTHREAD_LIBS="-lpthread" ++]) ++AC_SUBST(SYNC) ++AC_SUBST(PTHREAD_LIBS) + +-AC_MSG_CHECKING([for local jpeg library source]) +-dnl At present, we give the local source priority over the shared +-dnl build, so that the D_MAX_BLOCKS_IN_MCU patch will be applied. +-dnl A more sophisticated approach would be to test the shared lib +-dnl to see whether it has already been patched. +-LIBJPEGDIR=src +-if test -d jpeg; then +- AC_MSG_RESULT([jpeg]) +- SHARE_LIBJPEG=0 +- LIBJPEGDIR=jpeg +-elif test -d jpeg-6b; then +- AC_MSG_RESULT([jpeg-6b]) +- SHARE_LIBJPEG=0 +- LIBJPEGDIR=jpeg-6b +-else +- AC_MSG_RESULT([no]) +- AC_CHECK_LIB(jpeg, jpeg_set_defaults, [SHARE_LIBJPEG=1], [ +- AC_MSG_ERROR([I wasn't able to find a copy +- of the jpeg library. This is required for compiling +- ghostscript. Please download a copy of the source, e.g. +- from http://www.ijg.org/, unpack it at the top level of +- the gs source tree, and rename the directory to 'jpeg'. +- ]) +- ]) +-fi + AC_SUBST(SHARE_LIBJPEG) + AC_SUBST(LIBJPEGDIR) + +@@ -211,15 +233,68 @@ + AC_SUBST(STPLIB) + AC_SUBST(STPDEVS) + ++SOC_CFLAGS="" ++SOC_LIBS="" ++SOC_LOADER="dxmainc.c" ++ ++AC_SUBST(SOC_CFLAGS) ++AC_SUBST(SOC_LIBS) ++AC_SUBST(SOC_LOADER) ++ + dnl optional X11 for display devices + AC_PATH_XTRA +-if test x"$no_x" = x"yes"; then +- AC_MSG_NOTICE([disabling X11 output devices]) +- X11DEVS='' +-else +- X11DEVS='$(DD)x11.dev $(DD)x11alpha.dev $(DD)x11cmyk.dev $(DD)x11gray2.dev $(DD)x11gray4.dev $(DD)x11mono.dev' ++ ++X_LDFLAGS="" ++X_CFLAGS="" ++X_DEVS="" ++X_LIBS="" ++ ++if test x$with_x != xno; then ++ if test "$x_libraries" = "/usr/lib"; then ++ echo "Ignoring X library directory \"$x_libraries\" requested by configure." ++ x_libraries="NONE" ++ fi ++ if test ! "$x_libraries" = "NONE" -a ! "$x_libraries" = ""; then ++ X_LDFLAGS="-L$x_libraries" ++ if test "$uname" = "SunOS"; then ++ X_LDFLAGS="$X_LDFLAGS -R$x_libraries" ++ fi ++ fi ++ ++ if test "$x_includes" = "/usr/include"; then ++ echo "Ignoring X include directory \"$x_includes\" requested by configure." ++ x_includes="NONE" ++ fi ++ if test ! "$x_includes" = "NONE" -a ! "$x_includes" = ""; then ++ X_CFLAGS="-I$x_includes" ++ fi ++ ++ SAVELIBS="$LIBS" ++ SAVELDFLAGS="$LDFLAGS" ++ LDFLAGS="$LDFLAGS $X_LDFLAGS" ++ ++ AC_CHECK_LIB(X11,XOpenDisplay) ++ AC_CHECK_LIB(Xext,XdbeQueryExtension) ++ AC_CHECK_LIB(Xt,XtAppCreateShell) ++ ++ LDFLAGS="$SAVELDFLAGS" ++ LIBS="$SAVELIBS" ++ ++ if test "$ac_cv_lib_Xt_XtAppCreateShell" = yes; then ++ X11DEVS="\$(DD)x11.dev \$(DD)x11alpha.dev \$(DD)x11cmyk.dev \$(DD)x11mono.dev \$(DD)x11_.dev \$(DD)x11alt_.dev \$(DD)x11cmyk2.dev \$(DD)x11cmyk4.dev \$(DD)x11cmyk8.dev \$(DD)x11rg16x.dev \$(DD)x11rg32x.dev \$(DD)x11gray2.dev \$(DD)x11gray4.dev" ++ X_DEVS=$X11DEVS ++ # the makefile wants a list of just the library names in X_LIBS ++ GS_SPLIT_LIBS([X_LIBS], ++ [-lXt $X_PRE_LIBS -lXext -lX11 $X_EXTRA_LIBS]) ++ fi + fi ++ ++AC_SUBST(X_LDFLAGS) ++AC_SUBST(X_CFLAGS) ++AC_SUBST(X_LIBS) ++AC_SUBST(X_DEVS) + AC_SUBST(X11DEVS) ++AC_SUBST(XLIBS) + + dnl executible name + AC_ARG_WITH(gs, AC_HELP_STRING([--with-gs=NAME], +@@ -236,6 +311,33 @@ + fi]) + AC_SUBST(COMPILE_INITS) + ++dnl Dynamic device support. ++DYNAMIC_CFLAGS="" ++DYNAMIC_DEVS="" ++DYNAMIC_FLAGS="" ++DYNAMIC_LDFLAGS="" ++DYNAMIC_LIBS="" ++INSTALL_SHARED="" ++ ++AC_ARG_ENABLE([dynamic], AC_HELP_STRING([--enable-dynamic], ++ [Enable dynamically loaded drivers]), ++[ ++ INSTALL_SHARED="install-shared" ++ DYNAMIC_CFLAGS="-fPIC" ++ DYNAMIC_DEVS="\$(GLOBJDIR)/X11.so" ++ DYNAMIC_FLAGS="-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\\\"\$(gssharedir)\\\"" ++ DYNAMIC_LDFLAGS="-fPIC -shared" ++ DYNAMIC_LIBS="" ++ X_DEVS="" ++]) ++ ++AC_SUBST(DYNAMIC_CFLAGS) ++AC_SUBST(DYNAMIC_DEVS) ++AC_SUBST(DYNAMIC_FLAGS) ++AC_SUBST(DYNAMIC_LDFLAGS) ++AC_SUBST(DYNAMIC_LIBS) ++AC_SUBST(INSTALL_SHARED) ++ + dnl -------------------------------------------------- + dnl Check for library functions + dnl -------------------------------------------------- diff --git a/print/ghostscript7-x11/files/patch-src-devs.mak b/print/ghostscript7-x11/files/patch-src-devs.mak new file mode 100644 index 000000000000..707b393b70dd --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-devs.mak @@ -0,0 +1,65 @@ +--- src/devs.mak.orig 2015-08-21 21:59:44.117097000 +0900 ++++ src/devs.mak 2015-08-21 22:02:19.960434000 +0900 +@@ -405,7 +405,7 @@ + $(ADDMOD) $(DD)lvga256 -lib vga vgagl + + $(GLOBJ)gdevl256.$(OBJ) : $(GLSRC)gdevl256.c $(GDEV) $(memory__h) +- $(GLCC) $(GLO_)gdevl256.$(OBJ) $(C_) $(GLSRC)gdevl256.c ++ $(GLCCSHARED) $(GLO_)gdevl256.$(OBJ) $(C_) $(GLSRC)gdevl256.c + + vgalib_=$(GLOBJ)gdevvglb.$(OBJ) $(GLOBJ)gdevpccm.$(OBJ) + $(DD)vgalib.dev : $(DEVS_MAK) $(vgalib_) +@@ -413,7 +413,7 @@ + $(ADDMOD) $(DD)vgalib -lib vga + + $(GLOBJ)gdevvglb.$(OBJ) : $(GLSRC)gdevvglb.c $(GDEV) $(gdevpccm_h) $(gsparam_h) +- $(GLCC) $(GLO_)gdevvglb.$(OBJ) $(C_) $(GLSRC)gdevvglb.c ++ $(GLCCSHARED) $(GLO_)gdevvglb.$(OBJ) $(C_) $(GLSRC)gdevvglb.c + + ### -------------------------- The X11 device -------------------------- ### + +@@ -443,24 +443,24 @@ + $(GLOBJ)gdevx.$(OBJ) : $(GLSRC)gdevx.c $(GDEVX) $(math__h) $(memory__h)\ + $(gscoord_h) $(gsdevice_h) $(gsiparm2_h) $(gsmatrix_h) $(gsparam_h)\ + $(gxdevmem_h) $(gxgetbit_h) $(gxiparam_h) $(gxpath_h) +- $(GLCC) $(XINCLUDE) $(GLO_)gdevx.$(OBJ) $(C_) $(GLSRC)gdevx.c ++ $(GLCCSHARED) $(XINCLUDE) $(GLO_)gdevx.$(OBJ) $(C_) $(GLSRC)gdevx.c + + $(GLOBJ)gdevxcmp.$(OBJ) : $(GLSRC)gdevxcmp.c $(GDEVX) $(math__h) +- $(GLCC) $(XINCLUDE) $(GLO_)gdevxcmp.$(OBJ) $(C_) $(GLSRC)gdevxcmp.c ++ $(GLCCSHARED) $(XINCLUDE) $(GLO_)gdevxcmp.$(OBJ) $(C_) $(GLSRC)gdevxcmp.c + + $(GLOBJ)gdevxini.$(OBJ) : $(GLSRC)gdevxini.c $(GDEVX) $(memory__h)\ + $(gserrors_h) $(gsparamx_h) $(gxdevmem_h) $(gdevbbox_h) +- $(GLCC) $(XINCLUDE) $(GLO_)gdevxini.$(OBJ) $(C_) $(GLSRC)gdevxini.c ++ $(GLCCSHARED) $(XINCLUDE) $(GLO_)gdevxini.$(OBJ) $(C_) $(GLSRC)gdevxini.c + + # We have to compile gdevxres without warnings, because there is a + # const/non-const cast required by the X headers that we can't work around. + $(GLOBJ)gdevxres.$(OBJ) : $(GLSRC)gdevxres.c $(std_h) $(x__h)\ + $(gsmemory_h) $(gstypes_h) $(gxdevice_h) $(gdevx_h) +- $(CC_NO_WARN) $(GLCCFLAGS) $(XINCLUDE) $(GLO_)gdevxres.$(OBJ) $(C_) $(GLSRC)gdevxres.c ++ $(GLCCSHARED) $(XINCLUDE) $(GLO_)gdevxres.$(OBJ) $(C_) $(GLSRC)gdevxres.c + + $(GLOBJ)gdevxxf.$(OBJ) : $(GLSRC)gdevxxf.c $(GDEVX) $(math__h) $(memory__h)\ + $(gsstruct_h) $(gsutil_h) $(gxxfont_h) +- $(GLCC) $(XINCLUDE) $(GLO_)gdevxxf.$(OBJ) $(C_) $(GLSRC)gdevxxf.c ++ $(GLCCSHARED) $(XINCLUDE) $(GLO_)gdevxxf.$(OBJ) $(C_) $(GLSRC)gdevxxf.c + + # Alternate X11-based devices to help debug other drivers. + # x11alpha pretends to have 4 bits of alpha channel. +@@ -510,7 +510,13 @@ + + $(GLOBJ)gdevxalt.$(OBJ) : $(GLSRC)gdevxalt.c $(GDEVX) $(math__h) $(memory__h)\ + $(gsdevice_h) $(gsparam_h) $(gsstruct_h) +- $(GLCC) $(XINCLUDE) $(GLO_)gdevxalt.$(OBJ) $(C_) $(GLSRC)gdevxalt.c ++ $(GLCCSHARED) $(XINCLUDE) $(GLO_)gdevxalt.$(OBJ) $(C_) $(GLSRC)gdevxalt.c ++ ++### Shared library object supporting X11. ++### NON PORTABLE, ONLY UNIX WITH GCC SUPPORT ++ ++$(GLOBJ)X11.so : $(x11alt_) $(x11_) ++ $(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)X11.so $(x11alt_) $(x11_) -L${LOCALBASE}/lib -lXt -lSM -lICE -lXext -lX11 $(XLIBDIRS) + + ###### --------------- Memory-buffered printer devices --------------- ###### + diff --git a/print/ghostscript7-x11/files/patch-src-gconf.c b/print/ghostscript7-x11/files/patch-src-gconf.c new file mode 100644 index 000000000000..4afa18c6e024 --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-gconf.c @@ -0,0 +1,43 @@ +--- src/gconf.c.orig 2003-01-17 09:49:00.000000000 +0900 ++++ src/gconf.c 2015-08-22 01:52:10.741824000 +0900 +@@ -81,7 +81,8 @@ + /* Set up the device table. */ + #define device_(dev) (const gx_device *)&dev, + #define device2_(dev) &dev, +-private const gx_device *const gx_device_list[] = { ++static const gx_device *gx_device_list[1024] = { ++ /* as shared library are adding drivers here, so removed constness */ + #include "gconf.h" + 0 + }; +@@ -149,9 +150,29 @@ + gs_lib_device_list(const gx_device * const **plist, + gs_memory_struct_type_t ** pst) + { ++ int i; ++ + if (plist != 0) + *plist = gx_device_list; + if (pst != 0) + *pst = NULL; +- return countof(gx_device_list) - 1; ++ ++ for (i = 0; i < countof(gx_device_list) - 1; ++i) ++ if (!gx_device_list[i]) ++ break; ++ return i; + } ++ ++#ifdef GS_DEVS_SHARED ++void ++gs_lib_register_device(const gx_device *dev) ++{ ++ int i; ++ ++ for (i = 0; i < countof(gx_device_list) - 1; ++i) ++ if (!gx_device_list[i]) { ++ gx_device_list[i] = dev; ++ return; ++ } ++} ++#endif diff --git a/print/ghostscript7-x11/files/patch-src-gdevijs.c b/print/ghostscript7-x11/files/patch-src-gdevijs.c new file mode 100644 index 000000000000..fed73ce2599f --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-gdevijs.c @@ -0,0 +1,659 @@ +--- src/gdevijs.c.orig Fri Jan 17 09:49:00 2003 ++++ src/gdevijs.c Thu May 26 01:00:57 2005 +@@ -29,15 +29,29 @@ + * which is a security risk, since any program can be run. + * You should use -dSAFER which sets .LockSafetyParams to true + * before opening this device. ++ * ++ * 11/26/03 David Suffield ++ * (c) 2003-2004 Copyright Hewlett-Packard Development Company, LP ++ * ++ * 1. Removed hpijs 1.0-1.0.2 workarounds, use hpijs 1.0.3 or higher. ++ * 2. Added krgb support. ++ * ++ * 02/21/05 David Suffield ++ * 1. Fixed segfault issue with 1-bit color space. ++ * 2. Fixed z-order issue with colored text on black rectangle. ++ * + */ + + #include "unistd_.h" /* for dup() */ + #include <stdlib.h> ++#include <fcntl.h> + #include "gdevprn.h" + #include "gp.h" + #include "ijs.h" + #include "ijs_client.h" + ++//#define KRGB_DEBUG ++ + /* This should go into gdevprn.h, or, better yet, gdevprn should + acquire an API for changing resolution. */ + int gdev_prn_maybe_realloc_memory(gx_device_printer *pdev, +@@ -53,6 +67,14 @@ + private dev_proc_get_params(gsijs_get_params); + private dev_proc_put_params(gsijs_put_params); + ++/* Following definitions are for krgb support. */ ++private dev_proc_create_buf_device(gsijs_create_buf_device); ++private dev_proc_fill_rectangle(gsijs_fill_rectangle); ++private dev_proc_copy_mono(gsijs_copy_mono); ++private dev_proc_fill_mask(gsijs_fill_mask); ++private dev_proc_fill_path(gsijs_fill_path); ++private dev_proc_stroke_path(gsijs_stroke_path); ++ + private const gx_device_procs gsijs_procs = + prn_color_params_procs(gsijs_open, gsijs_output_page, gsijs_close, + gx_default_rgb_map_rgb_color, gx_default_rgb_map_color_rgb, +@@ -85,6 +107,14 @@ + + IjsClientCtx *ctx; + int ijs_version; ++ ++ /* Additional parameters for krgb support. */ ++ int krgb_mode; /* 0=false, 1=true */ ++ int k_path; /* k plane path, 0=false, 1=true */ ++ int k_width; /* k plane width in pixels */ ++ int k_band_size; /* k plane buffer size in bytes, byte aligned */ ++ unsigned char *k_band; /* k plane buffer */ ++ gx_device_procs prn_procs; /* banding playback procedures */ + }; + + #define DEFAULT_DPI 74 /* See gsijs_set_resolution() below. */ +@@ -112,7 +142,12 @@ + FALSE, /* Tumble_set */ + + NULL, /* IjsClient *ctx */ +- 0 /* ijs_version */ ++ 0, /* ijs_version */ ++ 0, /* krgb_mode */ ++ 0, /* k_path */ ++ 0, /* k_width */ ++ 0, /* k_band_size */ ++ NULL /* k_band buffer */ + }; + + +@@ -128,12 +163,254 @@ + + /**************************************************************************/ + +-/* ------ Private definitions ------ */ ++/* ---------------- Low-level graphic procedures ---------------- */ ++ ++static unsigned char xmask[] = ++{ ++ 0x80, /* x=0 */ ++ 0x40, /* 1 */ ++ 0x20, /* 2 */ ++ 0x10, /* 3 */ ++ 0x08, /* 4 */ ++ 0x04, /* 5 */ ++ 0x02, /* 6 */ ++ 0x01 /* 7 */ ++}; ++ ++private int gsijs_fill_rectangle(gx_device * dev, int x, int y, int w, int h, ++ gx_color_index color) ++{ ++ gx_device_ijs *ijsdev = (gx_device_ijs *)((gx_device_forward *)dev)->target; ++ ++ if (ijsdev->krgb_mode && ijsdev->k_path && y >= 0 && x >= 0) ++ { ++ int raster = (ijsdev->k_width+7) >> 3; ++ register unsigned char *dest=ijsdev->k_band+(raster*y)+(x >> 3); ++ int dest_start_bit = x & 7; ++ int i,j,w1; ++ ++ if (h <= 0 || w <= 0) ++ return 0; ++ ++ if ((x+w) > ijsdev->k_width) ++ w1 = ijsdev->k_width - x; ++ else ++ w1 = w; ++ ++ /* Note x,y orgin 0,0 is stored first byte 0 left to right. */ ++ ++ if (color==0x0) ++ { ++ /* Color is black, store in k plane band instead of regular band. */ ++ for (j=0; j<h; j++) ++ { ++ for (i=0; i<w1; i++) ++ dest[(dest_start_bit+i)>>3] |= xmask[(dest_start_bit+i)&7]; ++ dest+=raster; ++ } ++ return 0; ++ } ++ else ++ { ++ /* Color is not black, remove any k plane bits for z-order dependencies, store in regular band. */ ++ for (j=0; j<h; j++) ++ { ++ for (i=0; i<w1; i++) ++ dest[(dest_start_bit+i)>>3] &= ~xmask[(dest_start_bit+i)&7]; ++ dest+=raster; ++ } ++ } ++ } ++ ++ return (*ijsdev->prn_procs.fill_rectangle)(dev, x, y, w, h, color); ++} ++ ++private int gsijs_copy_mono(gx_device * dev, const byte * data, ++ int dx, int draster, gx_bitmap_id id, ++ int x, int y, int w, int height, gx_color_index zero, gx_color_index one) ++{ ++ gx_device_ijs *ijsdev = (gx_device_ijs *)((gx_device_forward *)dev)->target; ++ ++ // if (ijsdev->krgb_mode && ijsdev->k_path && one==0x0) ++ if (ijsdev->krgb_mode && ijsdev->k_path) ++ { ++ /* Store in k plane band instead of regular band. */ ++ int raster = (ijsdev->k_width+7) >> 3; /* raster width in bytes, byte aligned */ ++ register unsigned char *dest=ijsdev->k_band+(raster*y)+(x >> 3); ++ register const unsigned char *scan=data+(dx >> 3); ++ int dest_start_bit = x & 7; ++ int scan_start_bit = dx & 7; ++ int i, h=height; ++ ++ if (h <= 0 || w <= 0) ++ return 0; ++ ++ if (one==0x0) ++ { ++ /* Color is black, store in k plane band instead of regular band. */ ++ while (h-- > 0) ++ { ++ for (i=0; i<w; i++) ++ { ++ if (scan[(scan_start_bit+i)>>3] & xmask[(scan_start_bit+i)&7]) ++ dest[(dest_start_bit+i)>>3] |= xmask[(dest_start_bit+i)&7]; ++ } ++ scan+=draster; ++ dest+=raster; ++ } ++ return 0; ++ } ++ else ++ { ++ /* Color is not black, remove any k plane bits for z-order dependencies, store in regular band. */ ++ while (h-- > 0) ++ { ++ for (i=0; i<w; i++) ++ { ++ if (scan[(scan_start_bit+i)>>3] & xmask[(scan_start_bit+i)&7]) ++ dest[(dest_start_bit+i)>>3] &= ~xmask[(dest_start_bit+i)&7]; ++ } ++ scan+=draster; ++ dest+=raster; ++ } ++ } ++ } ++ ++ return (*ijsdev->prn_procs.copy_mono)(dev, data, dx, draster, id, x, y, w, height, zero, one); ++} ++ ++/* ---------------- High-level graphic procedures ---------------- */ ++ ++private int gsijs_fill_mask(gx_device * dev, ++ const byte * data, int dx, int raster, gx_bitmap_id id, ++ int x, int y, int w, int h, ++ const gx_drawing_color * pdcolor, int depth, ++ gs_logical_operation_t lop, const gx_clip_path * pcpath) ++{ ++ gx_device_ijs *ijsdev = (gx_device_ijs *)((gx_device_forward *)dev)->target; ++ int code; ++ ++ ijsdev->k_path = 1; ++ ++ code = (*ijsdev->prn_procs.fill_mask)(dev, data, dx, raster, id, x, y, w, h, pdcolor, depth, lop, pcpath); ++ ++ ijsdev->k_path = 0; ++ ++ return code; ++} ++ ++private int gsijs_fill_path(gx_device * dev, const gs_imager_state * pis, ++ gx_path * ppath, const gx_fill_params * params, ++ const gx_drawing_color * pdcolor, ++ const gx_clip_path * pcpath) ++{ ++ gx_device_ijs *ijsdev = (gx_device_ijs *)((gx_device_forward *)dev)->target; ++ int code; ++ ++ ijsdev->k_path = 1; ++ ++ code = (*ijsdev->prn_procs.fill_path)(dev, pis, ppath, params, pdcolor, pcpath); ++ ++ ijsdev->k_path = 0; ++ ++ return 0; ++} ++ ++private int gsijs_stroke_path(gx_device * dev, const gs_imager_state * pis, ++ gx_path * ppath, const gx_stroke_params * params, ++ const gx_drawing_color * pdcolor, ++ const gx_clip_path * pcpath) ++{ ++ gx_device_ijs *ijsdev = (gx_device_ijs *)((gx_device_forward *)dev)->target; ++ int code; ++ ++ ijsdev->k_path = 1; + +-/* Versions 1.0 through 1.0.2 of hpijs report IJS version 0.29, and +- require some workarounds. When more up-to-date hpijs versions +- become ubiquitous, all these workarounds should be removed. */ +-#define HPIJS_1_0_VERSION 29 ++ code = (*ijsdev->prn_procs.stroke_path)(dev, pis, ppath, params, pdcolor, pcpath); ++ ++ ijsdev->k_path = 0; ++ ++ return code; ++} ++ ++/* ---------------- krgb banding playback procedures ---------------- */ ++ ++private int gsijs_get_bits(gx_device_printer * pdev, int y, byte * str, byte ** actual_data) ++{ ++ gx_device_ijs *ijsdev = (gx_device_ijs *)pdev; ++ gx_device_clist_common *cdev = (gx_device_clist_common *)pdev; ++ int band_height = cdev->page_info.band_params.BandHeight; ++ int band_number = y/band_height; ++ int raster = (ijsdev->k_width+7) >> 3; /* raster width in bytes, byte aligned */ ++ int y1=raster*(y-(band_height*band_number)); ++ ++ if (y1 == 0) ++ { ++ /* First raster for band, clear k_band. Banding playback occurs on first raster. */ ++ memset(ijsdev->k_band, 0, ijsdev->k_band_size); ++ } ++ ++ return gdev_prn_get_bits(pdev, y, str, actual_data); /* get raster from regular band */ ++} ++ ++private int gsijs_k_get_bits(gx_device_printer * pdev, int y, byte ** actual_data) ++{ ++ gx_device_ijs *ijsdev = (gx_device_ijs *)pdev; ++ gx_device_clist_common *cdev = (gx_device_clist_common *)pdev; ++ int band_height = cdev->page_info.band_params.BandHeight; ++ int band_number = y/band_height; ++ int raster = (ijsdev->k_width+7) >> 3; /* raster width in bytes, byte aligned */ ++ int y1=raster*(y-(band_height*band_number)); ++ ++ *actual_data = ijsdev->k_band+y1; ++ ++ return 0; ++} ++ ++private int gsijs_create_buf_device(gx_device **pbdev, gx_device *target, ++ const gx_render_plane_t *render_plane, gs_memory_t *mem, bool for_band) ++{ ++ gx_device_ijs *ijsdev = (gx_device_ijs *)target; ++ int n_chan = ijsdev->color_info.num_components; ++ int code = gx_default_create_buf_device(pbdev, target, render_plane, mem, for_band); ++ if (code < 0 || n_chan != 3) ++ return code; ++ ++ /* Save buffer (vector) procedures so that we can hook them during banding playback. */ ++ ijsdev->prn_procs = (*pbdev)->procs; ++ ++ /* Replace buffer procedures with krgb procedures. */ ++ set_dev_proc(*pbdev, fill_rectangle, gsijs_fill_rectangle); ++ set_dev_proc(*pbdev, copy_mono, gsijs_copy_mono); ++ set_dev_proc(*pbdev, fill_mask, gsijs_fill_mask); ++ set_dev_proc(*pbdev, fill_path, gsijs_fill_path); ++ set_dev_proc(*pbdev, stroke_path, gsijs_stroke_path); ++ ++ return code; ++} ++ ++/* See if IJS server supports krgb. Return value: 0=false, 1=true. */ ++private int ++gsijs_set_krgb_mode(gx_device_ijs *ijsdev) ++{ ++ char buf[256]; ++ int n_chan = ijsdev->color_info.num_components; ++ int code; ++ ++ if (n_chan != 3) ++ return 0; /* no krgb support, not RGB colorspace */ ++ ++ buf[0] = 0; ++ code = ijs_client_enum_param(ijsdev->ctx, 0, "ColorSpace", buf, sizeof(buf)-1); ++ if (code >= 0) ++ buf[code] = 0; ++ if (strstr(buf, "KRGB") == NULL) ++ return 0; /* no krgb support */ ++ ++ return 1; /* krgb is supported */ ++} ++ ++/* ------ Private definitions ------ */ + + private int + gsijs_parse_wxh (const char *val, int size, double *pw, double *ph) +@@ -171,34 +448,6 @@ + } + + /** +- * gsijs_set_generic_params_hpijs: Set generic IJS parameters. +- * +- * This version is specialized for hpijs 1.0 through 1.0.2, and +- * accommodates a number of quirks. +- **/ +-private int +-gsijs_set_generic_params_hpijs(gx_device_ijs *ijsdev) +-{ +- char buf[256]; +- int code = 0; +- +- /* IjsParams, Duplex, and Tumble get set at this point because +- they may affect margins. */ +- if (ijsdev->IjsParams) { +- code = gsijs_client_set_param(ijsdev, "IjsParams", ijsdev->IjsParams); +- } +- +- if (code == 0 && ijsdev->Duplex_set) { +- int duplex_val; +- +- duplex_val = ijsdev->Duplex ? (ijsdev->IjsTumble ? 1 : 2) : 0; +- sprintf (buf, "%d", duplex_val); +- code = gsijs_client_set_param(ijsdev, "Duplex", buf); +- } +- return code; +-} +- +-/** + * gsijs_set_generic_params: Set generic IJS parameters. + **/ + private int +@@ -209,9 +458,6 @@ + int i, j; + char *value; + +- if (ijsdev->ijs_version == HPIJS_1_0_VERSION) +- return gsijs_set_generic_params_hpijs(ijsdev); +- + /* Split IjsParams into separate parameters and send to ijs server */ + value = NULL; + for (i=0, j=0; (j < ijsdev->IjsParams_size) && (i < sizeof(buf)-1); j++) { +@@ -252,68 +498,6 @@ + } + + /** +- * gsijs_set_margin_params_hpijs: Do margin negotiation with IJS server. +- * +- * This version is specialized for hpijs 1.0 through 1.0.2, and +- * accommodates a number of quirks. +- **/ +-private int +-gsijs_set_margin_params_hpijs(gx_device_ijs *ijsdev) +-{ +- char buf[256]; +- int code = 0; +- +- if (code == 0) { +- sprintf(buf, "%d", ijsdev->width); +- code = gsijs_client_set_param(ijsdev, "Width", buf); +- } +- if (code == 0) { +- sprintf(buf, "%d", ijsdev->height); +- code = gsijs_client_set_param(ijsdev, "Height", buf); +- } +- +- if (code == 0) { +- double printable_width, printable_height; +- double printable_left, printable_top; +- float m[4]; +- +- code = ijs_client_get_param(ijsdev->ctx, 0, "PrintableArea", +- buf, sizeof(buf)); +- if (code == IJS_EUNKPARAM) +- /* IJS server doesn't support margin negotiations. +- That's ok. */ +- return 0; +- else if (code >= 0) { +- code = gsijs_parse_wxh(buf, code, +- &printable_width, &printable_height); +- } +- +- if (code == 0) { +- code = ijs_client_get_param(ijsdev->ctx, 0, "PrintableTopLeft", +- buf, sizeof(buf)); +- if (code == IJS_EUNKPARAM) +- return 0; +- else if (code >= 0) { +- code = gsijs_parse_wxh(buf, code, +- &printable_left, &printable_top); +- } +- } +- +- if (code == 0) { +- m[0] = printable_left; +- m[1] = ijsdev->MediaSize[1] * (1.0 / 72) - +- printable_top - printable_height; +- m[2] = ijsdev->MediaSize[0] * (1.0 / 72) - +- printable_left - printable_width; +- m[3] = printable_top; +- gx_device_set_margins((gx_device *)ijsdev, m, true); +- } +- } +- +- return code; +-} +- +-/** + * gsijs_set_margin_params: Do margin negotiation with IJS server. + **/ + private int +@@ -324,9 +508,6 @@ + int i, j; + char *value; + +- if (ijsdev->ijs_version == HPIJS_1_0_VERSION) +- return gsijs_set_margin_params_hpijs(ijsdev); +- + /* Split IjsParams into separate parameters and send to ijs server */ + value = NULL; + for (i=0, j=0; (j < ijsdev->IjsParams_size) && (i < sizeof(buf)-1); j++) { +@@ -493,12 +674,18 @@ + char buf[256]; + bool use_outputfd; + int fd = -1; ++ long max_bitmap = ijsdev->space_params.MaxBitmap; + + if (strlen(ijsdev->IjsServer) == 0) { + eprintf("ijs server not specified\n"); + return gs_note_error(gs_error_ioerror); + } + ++ ijsdev->space_params.MaxBitmap = 0; /* force banding */ ++ ++ /* Set create_buf_device in printer device, so that we can hook the banding playback procedures. */ ++ ijsdev->printer_procs.buf_procs.create_buf_device = gsijs_create_buf_device; ++ + /* Decide whether to use OutputFile or OutputFD. Note: how to + determine this is a tricky question, so we just allow the + user to set it. +@@ -513,6 +700,8 @@ + if (code < 0) + return code; + ++ ijsdev->space_params.MaxBitmap = max_bitmap; ++ + if (use_outputfd) { + /* Note: dup() may not be portable to all interesting IJS + platforms. In that case, this branch should be #ifdef'ed out. +@@ -572,6 +761,9 @@ + if (code >= 0) + code = gsijs_set_margin_params(ijsdev); + ++ if (code >= 0) ++ ijsdev->krgb_mode = gsijs_set_krgb_mode(ijsdev); ++ + return code; + }; + +@@ -631,21 +823,6 @@ + return min(width, end); + } + +-private int ijs_all_white(unsigned char *data, int size) +-{ +- int clean = 1; +- int i; +- for (i = 0; i < size; i++) +- { +- if (data[i] != 0xFF) +- { +- clean = 0; +- break; +- } +- } +- return clean; +-} +- + /* Print a page. Don't use normal printer gdev_prn_output_page + * because it opens the output file. + */ +@@ -656,8 +833,9 @@ + gx_device_printer *pdev = (gx_device_printer *)dev; + int raster = gdev_prn_raster(pdev); + int ijs_width, ijs_height; +- int row_bytes; ++ int row_bytes, k_row_bytes=0; + int n_chan = pdev->color_info.num_components; ++ int krgb_mode = ijsdev->krgb_mode; + unsigned char *data; + char buf[256]; + double xres = pdev->HWResolution[0]; +@@ -673,13 +851,23 @@ + + /* Determine bitmap width and height */ + ijs_height = gdev_prn_print_scan_lines(dev); +- if (ijsdev->ijs_version == HPIJS_1_0_VERSION) { +- ijs_width = pdev->width; +- } else { + ijs_width = gsijs_raster_width(dev); +- } ++ + row_bytes = (ijs_width * pdev->color_info.depth + 7) >> 3; + ++ if (krgb_mode) ++ { ++ gx_device_clist_common *cdev = (gx_device_clist_common *)dev; ++ int band_height = cdev->page_info.band_params.BandHeight; ++ k_row_bytes = (ijs_width + 7) >> 3; ++ ++ /* Create banding buffer for k plane. */ ++ ijsdev->k_width = ijs_width; ++ ijsdev->k_band_size = band_height * k_row_bytes; ++ if ((ijsdev->k_band = gs_malloc(ijsdev->k_band_size, 1, "gsijs_output_page")) == (unsigned char *)NULL) ++ return gs_note_error(gs_error_VMerror); ++ } ++ + /* Required page parameters */ + sprintf(buf, "%d", n_chan); + gsijs_client_set_param(ijsdev, "NumChan", buf); +@@ -688,44 +876,71 @@ + + /* This needs to become more sophisticated for DeviceN. */ + strcpy(buf, (n_chan == 4) ? "DeviceCMYK" : +- ((n_chan == 3) ? "DeviceRGB" : "DeviceGray")); ++ ((n_chan == 3) ? (krgb_mode ? "KRGB" : "DeviceRGB") : "DeviceGray")); + gsijs_client_set_param(ijsdev, "ColorSpace", buf); + +- /* If hpijs 1.0, don't set width and height here, because it +- expects them to be the paper size. */ +- if (ijsdev->ijs_version != HPIJS_1_0_VERSION) { +- sprintf(buf, "%d", ijs_width); +- gsijs_client_set_param(ijsdev, "Width", buf); +- sprintf(buf, "%d", ijs_height); +- gsijs_client_set_param(ijsdev, "Height", buf); +- } ++ sprintf(buf, "%d", ijs_width); ++ gsijs_client_set_param(ijsdev, "Width", buf); ++ sprintf(buf, "%d", ijs_height); ++ gsijs_client_set_param(ijsdev, "Height", buf); + + sprintf(buf, "%gx%g", xres, yres); + gsijs_client_set_param(ijsdev, "Dpi", buf); + ++#ifdef KRGB_DEBUG ++ int kfd, rgbfd; ++ char sz[128]; ++ kfd = open("/tmp/k.pbm", O_CREAT | O_TRUNC | O_RDWR, 0644); ++ rgbfd = open("/tmp/rgb.ppm", O_CREAT | O_TRUNC | O_RDWR, 0644); ++ snprintf(sz, sizeof(sz), "P4\n#gdevijs test\n%d\n%d\n", ijs_width, ijs_height); ++ write(kfd, sz, strlen(sz)); ++ snprintf(sz, sizeof(sz), "P6\n#gdevijs test\n%d\n%d\n255\n", ijs_width, ijs_height); ++ write(rgbfd, sz, strlen(sz)); ++#endif ++ + for (i=0; i<num_copies; i++) { + unsigned char *actual_data; + ijs_client_begin_cmd (ijsdev->ctx, IJS_CMD_BEGIN_PAGE); + status = ijs_client_send_cmd_wait(ijsdev->ctx); + + for (y = 0; y < ijs_height; y++) { +- code = gdev_prn_get_bits(pdev, y, data, &actual_data); +- if (code < 0) +- break; ++ if (krgb_mode) ++ code = gsijs_get_bits(pdev, y, data, &actual_data); ++ else ++ code = gdev_prn_get_bits(pdev, y, data, &actual_data); ++ if (code < 0) ++ break; ++#ifdef KRGB_DEBUG ++ write(rgbfd, actual_data, row_bytes); ++#endif ++ status = ijs_client_send_data_wait(ijsdev->ctx, 0, (char *)actual_data, row_bytes); ++ if (status) ++ break; + +- if (ijsdev->ijs_version == HPIJS_1_0_VERSION && +- ijs_all_white(actual_data, row_bytes)) +- status = ijs_client_send_data_wait(ijsdev->ctx, 0, NULL, 0); +- else +- status = ijs_client_send_data_wait(ijsdev->ctx, 0, +- (char *)actual_data, row_bytes); +- if (status) +- break; ++ if (krgb_mode) { ++ code = gsijs_k_get_bits(pdev, y, &actual_data); ++ if (code < 0) ++ break; ++#ifdef KRGB_DEBUG ++ write(kfd, actual_data, k_row_bytes); ++#endif ++ status = ijs_client_send_data_wait(ijsdev->ctx, 0, (char *)actual_data, k_row_bytes); ++ if (status) ++ break; ++ } + } + ijs_client_begin_cmd(ijsdev->ctx, IJS_CMD_END_PAGE); + status = ijs_client_send_cmd_wait(ijsdev->ctx); + } + ++#ifdef KRGB_DEBUG ++ close(kfd); ++ close(rgbfd); ++#endif ++ ++ if(krgb_mode) ++ gs_free(ijsdev->k_band, ijsdev->k_band_size, 1, "gsijs_output_page"); ++ + gs_free_object(pdev->memory, data, "gsijs_output_page"); + + endcode = (pdev->buffer_space && !pdev->is_async_renderer ? +@@ -1029,7 +1244,6 @@ + dprintf2("ijs: Can't set parameter %s=%s\n", key, value); + return code; + } +- + + private int + gsijs_set_color_format(gx_device_ijs *ijsdev) diff --git a/print/ghostscript7-x11/files/patch-src-gdevl256.c b/print/ghostscript7-x11/files/patch-src-gdevl256.c new file mode 100644 index 000000000000..e11d19f8c2d6 --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-gdevl256.c @@ -0,0 +1,15 @@ +--- src/gdevl256.c.orig 2015-08-22 01:40:41.895138000 +0900 ++++ src/gdevl256.c 2015-08-22 01:40:56.016022000 +0900 +@@ -307,3 +307,12 @@ + gl_line(x0, y0, x1, y1, color); + return 0; + } ++ ++#ifdef GS_DEVS_SHARED ++extern void gs_lib_register_device(const gx_device *dev); ++void ++gs_shared_init(void) ++{ ++ gs_lib_register_device(&gs_lvga256_device); ++} ++#endif diff --git a/print/ghostscript7-x11/files/patch-src-gdevpng.c b/print/ghostscript7-x11/files/patch-src-gdevpng.c new file mode 100644 index 000000000000..0bb66e2f046d --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-gdevpng.c @@ -0,0 +1,187 @@ +--- src/gdevpng.c.orig 2003-05-15 19:05:29.000000000 +0900 ++++ src/gdevpng.c 2015-02-19 01:59:24.000000000 +0900 +@@ -41,12 +41,6 @@ + #include "gdevpccm.h" + #include "gscdefs.h" + +-#define PNG_INTERNAL +-/* +- * libpng versions 1.0.3 and later allow disabling access to the stdxxx +- * files while retaining support for FILE * I/O. +- */ +-#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. +@@ -258,7 +252,7 @@ + goto done; + } + /* set error handling */ +- if (setjmp(png_ptr->jmpbuf)) { ++ if (setjmp(png_jmpbuf(png_ptr))) { + /* If we get here, we had a problem reading the file */ + code = gs_note_error(gs_error_VMerror); + goto done; +@@ -268,19 +262,12 @@ + png_init_io(png_ptr, file); + + /* set the file information here */ +- info_ptr->width = pdev->width; +- info_ptr->height = pdev->height; +- /* resolution is in pixels per meter vs. dpi */ +- info_ptr->x_pixels_per_unit = +- (png_uint_32) (pdev->HWResolution[0] * (100.0 / 2.54)); +- info_ptr->y_pixels_per_unit = +- (png_uint_32) (pdev->HWResolution[1] * (100.0 / 2.54)); +- info_ptr->phys_unit_type = PNG_RESOLUTION_METER; +- info_ptr->valid |= PNG_INFO_pHYs; + switch (depth) { + case 32: +- info_ptr->bit_depth = 8; +- info_ptr->color_type = PNG_COLOR_TYPE_RGB_ALPHA; ++ png_set_IHDR(png_ptr, info_ptr, pdev->width, pdev->height, ++ 8, PNG_COLOR_TYPE_RGB_ALPHA, ++ PNG_INTERLACE_NONE, PNG_COMPRESSION_TYPE_DEFAULT, ++ PNG_FILTER_TYPE_DEFAULT); + png_set_invert_alpha(png_ptr); + { gx_device_pngalpha *ppdev = (gx_device_pngalpha *)pdev; + png_color_16 background; +@@ -292,51 +279,68 @@ + png_set_bKGD(png_ptr, info_ptr, &background); + } + break; ++ case 48: ++ png_set_IHDR(png_ptr, info_ptr, pdev->width, pdev->height, ++ 16, PNG_COLOR_TYPE_RGB, ++ PNG_INTERLACE_NONE, PNG_COMPRESSION_TYPE_DEFAULT, ++ PNG_FILTER_TYPE_DEFAULT); ++#if defined(ARCH_IS_BIG_ENDIAN) && (!ARCH_IS_BIG_ENDIAN) ++ png_set_swap(png_ptr); ++#endif ++ break; + case 24: +- info_ptr->bit_depth = 8; +- info_ptr->color_type = PNG_COLOR_TYPE_RGB; ++ png_set_IHDR(png_ptr, info_ptr, pdev->width, pdev->height, ++ 8, PNG_COLOR_TYPE_RGB, ++ PNG_INTERLACE_NONE, PNG_COMPRESSION_TYPE_DEFAULT, ++ PNG_FILTER_TYPE_DEFAULT); + break; + case 8: +- info_ptr->bit_depth = 8; +- if (gx_device_has_color(pdev)) +- info_ptr->color_type = PNG_COLOR_TYPE_PALETTE; +- else +- info_ptr->color_type = PNG_COLOR_TYPE_GRAY; ++ png_set_IHDR(png_ptr, info_ptr, pdev->width, pdev->height, ++ 8, gx_device_has_color(pdev) ? ++ PNG_COLOR_TYPE_PALETTE : PNG_COLOR_TYPE_GRAY, ++ PNG_INTERLACE_NONE, PNG_COMPRESSION_TYPE_DEFAULT, ++ PNG_FILTER_TYPE_DEFAULT); + break; + case 4: +- info_ptr->bit_depth = 4; +- info_ptr->color_type = PNG_COLOR_TYPE_PALETTE; ++ png_set_IHDR(png_ptr, info_ptr, pdev->width, pdev->height, ++ 4, PNG_COLOR_TYPE_PALETTE, ++ PNG_INTERLACE_NONE, PNG_COMPRESSION_TYPE_DEFAULT, ++ PNG_FILTER_TYPE_DEFAULT); + break; + case 1: +- info_ptr->bit_depth = 1; +- info_ptr->color_type = PNG_COLOR_TYPE_GRAY; ++ png_set_IHDR(png_ptr, info_ptr, pdev->width, pdev->height, ++ 1, PNG_COLOR_TYPE_PALETTE, ++ PNG_INTERLACE_NONE, PNG_COMPRESSION_TYPE_DEFAULT, ++ PNG_FILTER_TYPE_DEFAULT); + /* invert monocrome pixels */ + png_set_invert_mono(png_ptr); + break; + } + ++ /* resolution is in pixels per meter vs. dpi */ ++ png_set_pHYs(png_ptr, info_ptr, ++ (png_uint_32) (pdev->HWResolution[0] * (100.0 / 2.54)), ++ (png_uint_32) (pdev->HWResolution[1] * (100.0 / 2.54)), ++ PNG_RESOLUTION_METER); ++ + /* set the palette if there is one */ +- if (info_ptr->color_type == PNG_COLOR_TYPE_PALETTE) { ++ if (png_get_color_type(png_ptr, info_ptr) == PNG_COLOR_TYPE_PALETTE) { + int i; + int num_colors = 1 << depth; + gx_color_value rgb[3]; ++ png_color palette[256]; ++ ++ if (num_colors > 256) ++ num_colors = 256; + +- info_ptr->palette = +- (void *)gs_alloc_bytes(mem, 256 * sizeof(png_color), +- "png palette"); +- if (info_ptr->palette == 0) { +- code = gs_note_error(gs_error_VMerror); +- goto done; +- } +- info_ptr->num_palette = num_colors; +- info_ptr->valid |= PNG_INFO_PLTE; + for (i = 0; i < num_colors; i++) { + (*dev_proc(pdev, map_color_rgb)) ((gx_device *) pdev, + (gx_color_index) i, rgb); +- info_ptr->palette[i].red = gx_color_value_to_byte(rgb[0]); +- info_ptr->palette[i].green = gx_color_value_to_byte(rgb[1]); +- info_ptr->palette[i].blue = gx_color_value_to_byte(rgb[2]); ++ palette[i].red = gx_color_value_to_byte(rgb[0]); ++ palette[i].green = gx_color_value_to_byte(rgb[1]); ++ palette[i].blue = gx_color_value_to_byte(rgb[2]); + } ++ png_set_PLTE(png_ptr, info_ptr, palette, num_colors); + } + /* add comment */ + strncpy(software_key, "Software", sizeof(software_key)); +@@ -346,15 +350,16 @@ + text_png.key = software_key; + text_png.text = software_text; + text_png.text_length = strlen(software_text); +- info_ptr->text = &text_png; +- info_ptr->num_text = 1; ++ png_set_text(png_ptr, info_ptr, &text_png, 1); + + /* write the file information */ + png_write_info(png_ptr, info_ptr); + + /* don't write the comments twice */ ++#if 0 + info_ptr->num_text = 0; + info_ptr->text = NULL; ++#endif + + /* Write the contents of the image. */ + for (y = 0; y < height; y++) { +@@ -365,8 +370,10 @@ + /* write the rest of the file */ + png_write_end(png_ptr, info_ptr); + ++#if 0 + /* if you alloced the palette, free it here */ + gs_free_object(mem, info_ptr->palette, "png palette"); ++#endif + + done: + /* free the structures */ +@@ -376,6 +383,7 @@ + return code; + } + ++#if 0 + /* + * Patch around a static reference to a never-used procedure. + * This could be avoided if we were willing to edit pngconf.h to +@@ -393,6 +401,7 @@ + { + } + #endif ++#endif + + private int + pngalpha_open(gx_device * pdev) diff --git a/print/ghostscript7-x11/files/patch-src-gdevvglb.c b/print/ghostscript7-x11/files/patch-src-gdevvglb.c new file mode 100644 index 000000000000..bdacbfbbfca0 --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-gdevvglb.c @@ -0,0 +1,15 @@ +--- src/gdevvglb.c.orig 2015-08-22 01:41:20.966252000 +0900 ++++ src/gdevvglb.c 2015-08-22 01:41:35.725091000 +0900 +@@ -373,3 +373,12 @@ + } + return 0; + } ++ ++#ifdef GS_DEVS_SHARED ++extern void gs_lib_register_device(const gx_device *dev); ++void ++gs_shared_init(void) ++{ ++ gs_lib_register_device(&gs_vgalib_device); ++} ++#endif diff --git a/print/ghostscript7-x11/files/patch-src-gdevxalt.c b/print/ghostscript7-x11/files/patch-src-gdevxalt.c new file mode 100644 index 000000000000..4d9a88b43fb4 --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-gdevxalt.c @@ -0,0 +1,31 @@ +--- src/gdevxalt.c.orig 2015-08-22 01:42:12.291619000 +0900 ++++ src/gdevxalt.c 2015-08-22 01:42:53.871222000 +0900 +@@ -30,6 +30,7 @@ + #include "gdevx.h" + + extern const gx_device_X gs_x11_device; ++extern const gx_device_X gs_x11alpha_device; + + /* + * Define a forwarding device with a cache for the first 16 colors, +@@ -957,3 +958,20 @@ + rgb[2] = ((color >> 11) & 0x3ff) * gx_max_color_value / 0x3ff; + return -1; + } ++ ++#ifdef GS_DEVS_SHARED ++extern void gs_lib_register_device(const gx_device *dev); ++void ++gs_shared_init(void) ++{ ++ gs_lib_register_device(&gs_x11_device); ++ gs_lib_register_device(&gs_x11alpha_device); ++ gs_lib_register_device(&gs_x11cmyk_device); ++ gs_lib_register_device(&gs_x11cmyk2_device); ++ gs_lib_register_device(&gs_x11cmyk4_device); ++ gs_lib_register_device(&gs_x11cmyk8_device); ++ gs_lib_register_device(&gs_x11gray2_device); ++ gs_lib_register_device(&gs_x11gray4_device); ++ gs_lib_register_device(&gs_x11mono_device); ++} ++#endif diff --git a/print/ghostscript7-x11/files/patch-src-gnudevs.mak b/print/ghostscript7-x11/files/patch-src-gnudevs.mak new file mode 100644 index 000000000000..d6e15432bf52 --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-gnudevs.mak @@ -0,0 +1,67 @@ +--- src/gnudevs.mak.orig 2003-02-10 03:12:48.000000000 +0900 ++++ src/gnudevs.mak 2015-08-22 00:20:45.754922000 +0900 +@@ -66,64 +66,6 @@ + $(DD)sxlcrt.dev : $(sxlcrt_) $(DD)page.dev + $(SETPDEV) $(DD)sxlcrt $(sxlcrt_) + +- +-### -------------------- Gimp-Print (stp) driver -------------------### +- +-# To include this driver add '$(DD)stp.dev' to your DEVICE_DEVS +-# line and define 'STPLIB=gimpprint' in your top-level makefile. +-# See http://gimp-print.sourceforge.net/ for more information. +- +-stp_=$(GLOBJ)gdevstp.$(OBJ) +- +-$(DD)stp.dev : $(stp_) $(DD)page.dev +- $(SETPDEV) $(DD)stp $(stp_) +- $(ADDMOD) $(DD)stp -lib $(STPLIB) +- +-$(GLOBJ)gdevstp.$(OBJ) : $(GLSRC)gdevstp.c \ +- $(gdevprn_h) $(gdevpccm_h) $(gsparam_h) +- $(GLCC) $(GLO_)gdevstp.$(OBJ) $(C_) $(GLSRC)gdevstp.c +- +- +-### -------------- cdj850 - HP 850c Driver under development ------------- ### +- +-cdeskjet8_=$(GLOBJ)gdevcd8.$(OBJ) $(HPPCL) +- +-# Author: Uli Wortmann (uliw@erdw.ethz.ch), Martin Gerbershagen (ger@ulm.temic.de) +-# Printer: HP 670 +-$(DD)cdj670.dev : $(cdeskjet8_) $(DD)page.dev +- $(SETPDEV2) $(DD)cdj670 $(cdeskjet8_) +- +-# Author: Uli Wortmann (uliw@erdw.ethz.ch) +-# Printer: HP 850 +-$(DD)cdj850.dev : $(cdeskjet8_) $(DD)page.dev +- $(SETPDEV2) $(DD)cdj850 $(cdeskjet8_) +- +-# Author: Uli Wortmann (uliw@erdw.ethz.ch), Martin Gerbershagen (ger@ulm.temic.de) +-# Printer: HP 890 +-$(DD)cdj890.dev : $(cdeskjet8_) $(DD)page.dev +- $(SETPDEV2) $(DD)cdj890 $(cdeskjet8_) +- +-# Author: Uli Wortmann (uliw@erdw.ethz.ch), Martin Gerbershagen (ger@ulm.temic.de) +-# Printer: HP 1600 +-$(DD)cdj1600.dev : $(cdeskjet8_) $(DD)page.dev +- $(SETPDEV2) $(DD)cdj1600 $(cdeskjet8_) +- +-$(GLOBJ)gdevcd8.$(OBJ) : $(GLSRC)gdevcd8.c $(PDEVH) $(math__h)\ +- $(gsparam_h) $(gxlum_h) $(gdevpcl_h) +- $(GLCC) $(GLO_)gdevcd8.$(OBJ) $(C_) $(GLSRC)gdevcd8.c +- +-### -------------- cdj880 - HP 880c Driver under development ------------- ### +-### Since this driver is in the development phase it is not distributed ### +-### with Ghostscript, but is available from ### +-### http://www.proaxis.com/~mgelhaus/linux/software/hp880c/hp880c.html ### +- +-### NOTE: Depends on the presence of the cdj850 section above. ### +- +-# Author: Matthew Gelhaus (mgelhaus@proaxis.com) +-# Printer: HP 880c +-$(DD)cdj880.dev : $(cdeskjet8_) $(DD)page.dev +- $(SETPDEV2) $(DD)cdj880 $(cdeskjet8_) +- + ### ------------- cdj970 - HP 970Cxi Driver under development ------------- ### + + cdeskjet9_=$(GLOBJ)gdevdj9.$(OBJ) $(HPPCL) diff --git a/print/ghostscript7-x11/files/patch-src-gp_unix.c b/print/ghostscript7-x11/files/patch-src-gp_unix.c new file mode 100644 index 000000000000..85f56e3cc021 --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-gp_unix.c @@ -0,0 +1,83 @@ +--- src/gp_unix.c.orig 2003-01-17 09:49:02.000000000 +0900 ++++ src/gp_unix.c 2015-08-22 01:54:32.507486000 +0900 +@@ -41,11 +41,60 @@ + + #endif + ++#ifdef GS_DEVS_SHARED ++#ifndef GS_DEVS_SHARED_DIR ++# define GS_DEVS_SHARED_DIR "/usr/lib/ghostscript/7.07" ++#endif ++ ++/* ++ * use shared library for drivers, always load them when starting, this ++ * avoid too many modifications, and since it is supported only under linux ++ * and applied as a patch (preferable). ++ */ ++#include <sys/types.h> ++#include <limits.h> ++#include <dirent.h> ++#include <dlfcn.h> ++#include <string.h> ++ ++void ++gp_init(void) ++{ ++ DIR* dir = NULL; ++ struct dirent* dirent; ++ char buff[PATH_MAX]; ++ char* pbuff; ++ void* handle; ++ void (*gs_shared_init)(void); ++ ++ dir = opendir(GS_DEVS_SHARED_DIR); ++ if (dir == 0) return; ++ ++ lprintf("DEBUG 2\n"); ++ ++ while ((dirent = readdir(dir)) != 0) { ++ snprintf(buff, sizeof(buff), "%s/%s", GS_DEVS_SHARED_DIR, dirent->d_name); ++ pbuff = buff + strlen(buff) - 3; ++ if (strcmp(pbuff, ".so") != 0) ++ continue; ++ handle = dlopen(buff, RTLD_NOW); ++ if (handle == NULL) ++ continue; ++ gs_shared_init = dlsym(handle, "gs_shared_init"); ++ if (gs_shared_init != NULL) ++ (*gs_shared_init)(); ++ } ++ lprintf("DEBUG 3\n"); ++ ++ closedir(dir); ++} ++#else + /* Do platform-dependent initialization. */ + void + gp_init(void) + { + } ++#endif + + /* Do platform-dependent cleanup. */ + void +@@ -57,6 +106,7 @@ + void + gp_do_exit(int exit_status) + { ++ exit(exit_status); + } + + /* ------ Miscellaneous ------ */ +@@ -67,7 +117,11 @@ + const char * + gp_strerror(int errnum) + { ++#ifdef HAVE_STRERROR ++ return strerror(errnum); ++#else + return NULL; ++#endif + } + + /* ------ Date and time ------ */ diff --git a/print/ghostscript7-x11/files/patch-src-gs.mak b/print/ghostscript7-x11/files/patch-src-gs.mak new file mode 100644 index 000000000000..a9ee54700595 --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-gs.mak @@ -0,0 +1,19 @@ +--- src/gs.mak.orig 2015-08-21 22:03:26.487964000 +0900 ++++ src/gs.mak 2015-08-21 22:04:09.624656000 +0900 +@@ -235,7 +235,7 @@ + gconfig_h=$(GLGENDIR)$(D)gconfxx.h + gconfigf_h=$(GLGENDIR)$(D)gconfxc.h + +-all default : $(GS_XE) ++all default : $(GS_XE) $(GS_SHARED_OBJS) + $(NO_OP) + + # the distclean and maintainer-clean targets (if any) +@@ -248,6 +248,7 @@ + clean : mostlyclean + $(RM_) $(GSGEN)arch.h + $(RM_) $(GS_XE) ++ $(RM_) $(GS_SHARED_OBJS) + + #****** FOLLOWING IS WRONG, NEEDS TO BE PER-SUBSYSTEM ****** + mostlyclean : config-clean diff --git a/print/ghostscript7-x11/files/patch-src-gsalloc.c b/print/ghostscript7-x11/files/patch-src-gsalloc.c new file mode 100644 index 000000000000..7c29a14eeada --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-gsalloc.c @@ -0,0 +1,11 @@ +--- src/gsalloc.c.orig 2013-04-30 11:14:17.000000000 +0900 ++++ src/gsalloc.c 2013-04-30 11:14:34.000000000 +0900 +@@ -195,7 +195,7 @@ + iimem->large_size = ((chunk_size / 4) & -obj_align_mod) + 1; + iimem->is_controlled = false; + iimem->gc_status.vm_threshold = chunk_size * 3L; +- iimem->gc_status.max_vm = max_long; ++ iimem->gc_status.max_vm = 0x7fffffff; + iimem->gc_status.psignal = NULL; + iimem->gc_status.signal_value = 0; + iimem->gc_status.enabled = false; diff --git a/print/ghostscript7-x11/files/patch-src-gsmalloc.c b/print/ghostscript7-x11/files/patch-src-gsmalloc.c new file mode 100644 index 000000000000..9b4d97da3844 --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-gsmalloc.c @@ -0,0 +1,11 @@ +--- src/gsmalloc.c.orig 2015-07-24 09:55:54.032137000 +0900 ++++ src/gsmalloc.c 2015-07-24 09:57:15.070246000 +0900 +@@ -170,7 +170,7 @@ + } 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 *) malloc(added)) == 0) + set_msg("failed"); diff --git a/print/ghostscript7-x11/files/patch-src-gxclrast.c b/print/ghostscript7-x11/files/patch-src-gxclrast.c new file mode 100644 index 000000000000..59d5053ad305 --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-gxclrast.c @@ -0,0 +1,15 @@ +--- src/gxclrast.c.orig 2013-04-30 09:13:13.000000000 +0900 ++++ src/gxclrast.c 2013-04-30 09:13:41.000000000 +0900 +@@ -87,10 +87,10 @@ + private long + cmd_get_w(const byte * p, const byte ** rp) + { +- long val = *p++ & 0x7f; ++ int val = *p++ & 0x7f; + int shift = 7; + +- for (; val += (long)(*p & 0x7f) << shift, *p++ > 0x7f; shift += 7); ++ for (; val += (int)(*p & 0x7f) << shift, *p++ > 0x7f; shift += 7); + *rp = p; + return val; + } diff --git a/print/ghostscript7-x11/files/patch-src-gxfixed.h b/print/ghostscript7-x11/files/patch-src-gxfixed.h new file mode 100644 index 000000000000..0988ca612c9b --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-gxfixed.h @@ -0,0 +1,46 @@ +--- src/gxfixed.h.orig 2013-04-30 11:29:39.000000000 +0900 ++++ src/gxfixed.h 2013-04-30 11:31:03.000000000 +0900 +@@ -27,12 +27,22 @@ + * quantities: integers lose accuracy in crucial places, + * and floating point arithmetic is slow. + */ +-typedef long fixed; +-typedef ulong ufixed; /* only used in a very few places */ +-#define ARCH_SIZEOF_FIXED ARCH_SIZEOF_LONG ++#if ARCH_SIZEOF_INT == 4 ++typedef int fixed; ++typedef uint ufixed; /* only used in a very few places */ ++# define ARCH_SIZEOF_FIXED ARCH_SIZEOF_INT ++# define max_fixed max_int ++# define min_fixed min_int ++#else ++# if ARCH_SIZEOF_LONG == 4 ++ typedef long fixed; ++ typedef ulong ufixed; /* only used in a very few places */ ++# define ARCH_SIZEOF_FIXED ARCH_SIZEOF_LONG ++# define max_fixed max_long ++# define min_fixed min_long ++# endif ++#endif + +-#define max_fixed max_long +-#define min_fixed min_long + #define fixed_0 0L + #define fixed_epsilon 1L + /* +@@ -120,13 +130,8 @@ + #define fixed_truncated(x) ((x) < 0 ? fixed_ceiling(x) : fixed_floor(x)) + + /* Define the largest and smallest integer values that fit in a fixed. */ +-#if arch_sizeof_int == arch_sizeof_long +-# define max_int_in_fixed fixed2int(max_fixed) +-# define min_int_in_fixed fixed2int(min_fixed) +-#else +-# define max_int_in_fixed max_int +-# define min_int_in_fixed min_int +-#endif ++#define max_int_in_fixed fixed2int(max_fixed) ++#define min_int_in_fixed fixed2int(min_fixed) + + #ifdef USE_FPU + # define USE_FPU_FIXED (USE_FPU < 0 && arch_floats_are_IEEE && arch_sizeof_long == 4) diff --git a/print/ghostscript7-x11/files/patch-src-ibnum.c b/print/ghostscript7-x11/files/patch-src-ibnum.c new file mode 100644 index 000000000000..2df0a7d138c7 --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-ibnum.c @@ -0,0 +1,49 @@ +--- src/ibnum.c.orig 2003-01-17 09:49:04.000000000 +0900 ++++ src/ibnum.c 2013-04-30 11:18:27.000000000 +0900 +@@ -124,11 +124,11 @@ + case num_int32: + case num_int32 + 16: + if ((format & 31) == 0) { +- np->value.intval = sdecodelong(str, format); ++ np->value.intval = sdecodeint32(str, format); + return t_integer; + } else { + np->value.realval = +- (double)sdecodelong(str, format) * ++ (double)sdecodeint32(str, format) * + binary_scale[format & 31]; + return t_real; + } +@@ -171,18 +171,14 @@ + } + + /* Decode a (32-bit, signed) long. */ +-long +-sdecodelong(const byte * p, int format) ++int ++sdecodeint32(const byte * p, int format) + { + int a = p[0], b = p[1], c = p[2], d = p[3]; +- long v = (num_is_lsb(format) ? +- ((long)d << 24) + ((long)c << 16) + (b << 8) + a : +- ((long)a << 24) + ((long)b << 16) + (c << 8) + d); ++ int v = (num_is_lsb(format) ? ++ ((int)d << 24) + ((int)c << 16) + (b << 8) + a : ++ ((int)a << 24) + ((int)b << 16) + (c << 8) + d); + +-#if arch_sizeof_long > 4 +- /* Propagate bit 31 as the sign. */ +- v = (v ^ 0x80000000L) - 0x80000000L; +-#endif + return v; + } + +@@ -190,7 +186,7 @@ + float + sdecodefloat(const byte * p, int format) + { +- bits32 lnum = (bits32) sdecodelong(p, format); ++ bits32 lnum = (bits32) sdecodeint32(p, format); + float fnum; + + #if !arch_floats_are_IEEE diff --git a/print/ghostscript7-x11/files/patch-src-ibnum.h b/print/ghostscript7-x11/files/patch-src-ibnum.h new file mode 100644 index 000000000000..ffec70cac2ae --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-ibnum.h @@ -0,0 +1,11 @@ +--- src/ibnum.h.orig 2013-04-30 10:50:12.000000000 +0900 ++++ src/ibnum.h 2013-04-30 10:50:29.000000000 +0900 +@@ -60,7 +60,7 @@ + int sdecode_number(P3(const byte *, int, ref *)); + int sdecodeshort(P2(const byte *, int)); + uint sdecodeushort(P2(const byte *, int)); +-long sdecodelong(P2(const byte *, int)); ++int sdecodeint32(P2(const byte *, int)); + float sdecodefloat(P2(const byte *, int)); + + #endif /* ibnum_INCLUDED */ diff --git a/print/ghostscript7-x11/files/patch-src-icclib.mak b/print/ghostscript7-x11/files/patch-src-icclib.mak new file mode 100644 index 000000000000..a60ef670dfa2 --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-icclib.mak @@ -0,0 +1,11 @@ +--- src/icclib.mak.orig 2013-04-30 02:10:16.000000000 +0900 ++++ src/icclib.mak 2013-04-30 02:10:26.000000000 +0900 +@@ -73,7 +73,7 @@ + + icc_h=$(ICCSRC)$(D)icc.h $(ICCSRC)$(D)icc$(ICCPROFVER).h + +-$(ICCOBJ)icc.$(OBJ) : $(ICCSRC)icc.c $(ICCDEP) $(icc_h) ++$(ICCOBJ)icc.$(OBJ) : ${ECHOGS_XE} $(ICCSRC)icc.c $(ICCDEP) $(icc_h) + # echo $(ICC_CCFLAGS) + $(EXP)$(ECHOGS_XE) $(ICC_CCFLAGS) + $(ICC_CC) $(ICCO_)icc.$(OBJ) $(C_) $(ICCSRC)icc.c diff --git a/print/ghostscript7-x11/files/patch-src-idebug.c b/print/ghostscript7-x11/files/patch-src-idebug.c new file mode 100644 index 000000000000..142926b4474b --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-idebug.c @@ -0,0 +1,11 @@ +--- src/idebug.c.orig 2013-04-30 11:06:57.000000000 +0900 ++++ src/idebug.c 2013-04-30 11:07:09.000000000 +0900 +@@ -90,7 +90,7 @@ + case t_fontID: + goto strct; + case t_integer: +- dprintf1("int %ld", pref->value.intval); ++ dprintf1("int %d", pref->value.intval); + break; + case t_mark: + dprintf("mark"); diff --git a/print/ghostscript7-x11/files/patch-src-idparam.c b/print/ghostscript7-x11/files/patch-src-idparam.c new file mode 100644 index 000000000000..636d7c16b510 --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-idparam.c @@ -0,0 +1,21 @@ +--- src/idparam.c.orig 2013-04-30 10:54:55.000000000 +0900 ++++ src/idparam.c 2013-04-30 10:55:23.000000000 +0900 +@@ -61,8 +61,7 @@ + int maxval, int defaultval, int *pvalue) + { + ref *pdval; +- int code; +- long ival; ++ int code, ival; + + if (pdict == 0 || dict_find_string(pdict, kstr, &pdval) <= 0) { + ival = defaultval; +@@ -349,7 +348,7 @@ + } else { + if (!r_has_type(puniqueid, t_integer) || + puniqueid->value.intval < 0 || +- puniqueid->value.intval > 0xffffffL ++ puniqueid->value.intval > 0xffffff + ) + return_error(e_rangecheck); + /* Apparently fonts created by Fontographer often have */ diff --git a/print/ghostscript7-x11/files/patch-src-ijs.mak b/print/ghostscript7-x11/files/patch-src-ijs.mak new file mode 100644 index 000000000000..be8ee7807ac5 --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-ijs.mak @@ -0,0 +1,20 @@ +--- src/ijs.mak.orig 2003-01-17 09:49:04.000000000 +0900 ++++ src/ijs.mak 2013-04-30 02:24:08.000000000 +0900 +@@ -66,7 +66,7 @@ + ijs_client_h=$(IJSSRC)$(D)ijs_client.h + ijs_server_h=$(IJSSRC)$(D)ijs_server.h + +-$(IJSOBJ)ijs.$(OBJ) : $(IJSSRC)ijs.c $(IJSDEP) $(ijs_h) ++$(IJSOBJ)ijs.$(OBJ) : ${ECHOGS_XE} $(IJSSRC)ijs.c $(IJSDEP) $(ijs_h) + # echo $(IJS_CCFLAGS) + $(EXP)$(ECHOGS_XE) $(IJS_CCFLAGS) + $(IJS_CC) $(IJSO_)ijs.$(OBJ) $(C_) $(IJSSRC)ijs.c +@@ -79,7 +79,7 @@ + $(IJSDEP) $(ijs_h) $(ijs_server_h) + $(IJS_CC) $(IJSO_)ijs_server.$(OBJ) $(C_) $(IJSSRC)ijs_server.c + +-$(IJSOBJ)ijs_exec_unix.$(OBJ) : $(IJSSRC)ijs_exec_unix.c \ ++$(IJSOBJ)ijs_exec_unix.$(OBJ) : $(arch_h) $(IJSSRC)ijs_exec_unix.c \ + $(IJSDEP) $(ijs_h) $(ijs_client_h) + $(IJS_CC) $(IJSO_)ijs_exec_unix.$(OBJ) $(C_) $(IJSSRC)ijs_exec_unix.c + diff --git a/print/ghostscript7-x11/files/patch-src-int.mak b/print/ghostscript7-x11/files/patch-src-int.mak new file mode 100644 index 000000000000..9e4c5a2c7663 --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-int.mak @@ -0,0 +1,24 @@ +--- src/int.mak.orig 2013-04-30 02:55:45.000000000 +0900 ++++ src/int.mak 2013-04-30 02:56:06.000000000 +0900 +@@ -953,10 +953,10 @@ + + # We select either iccinit0 or iccinit1 depending on COMPILE_INITS. + +-$(PSOBJ)iccinit0.$(OBJ) : $(PSSRC)iccinit0.c $(stdpre_h) ++$(PSOBJ)iccinit0.$(OBJ) : $(arch_h) $(PSSRC)iccinit0.c $(stdpre_h) + $(PSCC) $(PSO_)iccinit0.$(OBJ) $(C_) $(PSSRC)iccinit0.c + +-$(PSOBJ)iccinit1.$(OBJ) : $(PSOBJ)gs_init.$(OBJ) ++$(PSOBJ)iccinit1.$(OBJ) : $(arch_h) $(PSOBJ)gs_init.$(OBJ) + $(CP_) $(PSOBJ)gs_init.$(OBJ) $(PSOBJ)iccinit1.$(OBJ) + + # All the gs_*.ps files should be prerequisites of gs_init.c, +@@ -964,7 +964,7 @@ + $(PSGEN)gs_init.c : $(PSLIB)$(GS_INIT) $(GENINIT_XE) $(gconfig_h) + $(EXP)$(GENINIT_XE) -I $(PSLIB) $(GS_INIT) $(gconfig_h) -c $(PSGEN)gs_init.c + +-$(PSOBJ)gs_init.$(OBJ) : $(PSGEN)gs_init.c $(stdpre_h) ++$(PSOBJ)gs_init.$(OBJ) : $(arch_h) $(PSGEN)gs_init.c $(stdpre_h) + $(PSCC) $(PSO_)gs_init.$(OBJ) $(C_) $(PSGEN)gs_init.c + + # ---------------- Stochastic halftone ---------------- # diff --git a/print/ghostscript7-x11/files/patch-src-iparam.c b/print/ghostscript7-x11/files/patch-src-iparam.c new file mode 100644 index 000000000000..b0bb91a4d3ef --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-iparam.c @@ -0,0 +1,33 @@ +--- src/iparam.c.orig 2013-04-30 11:12:36.000000000 +0900 ++++ src/iparam.c 2013-04-30 11:13:07.000000000 +0900 +@@ -67,7 +67,7 @@ + int len; + byte *buf; + +- sprintf(istr, "%ld", pref->value.intval); ++ sprintf(istr, "%d", pref->value.intval); + len = strlen(istr); + /* GC will take care of freeing this: */ + buf = gs_alloc_string(plist->memory, len, "ref_to_key"); +@@ -394,7 +394,7 @@ + { + int code; + stack_param_list *const splist = (stack_param_list *) plist; +- long index = penum->intval; ++ int index = penum->intval; + ref *stack_element; + + do { +@@ -563,12 +563,6 @@ + code = gs_note_error(e_typecheck); + break; + } +-#if arch_sizeof_int < arch_sizeof_long +- if (elt.value.intval != (int)elt.value.intval) { +- code = gs_note_error(e_rangecheck); +- break; +- } +-#endif + piv[i] = (int)elt.value.intval; + } + if (code < 0) { diff --git a/print/ghostscript7-x11/files/patch-src-iref.h b/print/ghostscript7-x11/files/patch-src-iref.h new file mode 100644 index 000000000000..33313d38047b --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-iref.h @@ -0,0 +1,11 @@ +--- src/iref.h.orig 2013-04-30 11:13:29.000000000 +0900 ++++ src/iref.h 2013-04-30 11:13:41.000000000 +0900 +@@ -441,7 +441,7 @@ + #define r_set_ptr(rp,ptr) ((rp)->value.pstruct = (obj_header_t *)(ptr)) + + union v { /* name the union to keep gdb happy */ +- long intval; ++ int intval; + ushort boolval; + float realval; + ulong saveid; diff --git a/print/ghostscript7-x11/files/patch-src-iscan.c b/print/ghostscript7-x11/files/patch-src-iscan.c new file mode 100644 index 000000000000..cd8b03f6ab56 --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-iscan.c @@ -0,0 +1,11 @@ +--- src/iscan.c.orig 2013-04-30 10:47:49.000000000 +0900 ++++ src/iscan.c 2013-04-30 10:48:19.000000000 +0900 +@@ -635,7 +635,7 @@ + uint size = ref_stack_count_inline(&o_stack) - pstack; + ref arr; + +- if_debug4('S', "[S}]d=%d, s=%d->%ld, c=%d\n", ++ if_debug4('S', "[S}]d=%d, s=%d->%d, c=%d\n", + pdepth, pstack, + (pstack == pdepth ? 0 : + ref_stack_index(&o_stack, size)->value.intval), diff --git a/print/ghostscript7-x11/files/patch-src-iscanbin.c b/print/ghostscript7-x11/files/patch-src-iscanbin.c new file mode 100644 index 000000000000..1f39c88b7209 --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-iscanbin.c @@ -0,0 +1,83 @@ +--- src/iscanbin.c.orig 2013-04-30 10:51:53.000000000 +0900 ++++ src/iscanbin.c 2013-04-30 10:53:42.000000000 +0900 +@@ -173,7 +173,7 @@ + pbs->num_format = num_format; + if (top_size == 0) { + /* Extended header (2-byte array size, 4-byte length) */ +- ulong lsize; ++ uint lsize; + + if (rcnt < 7) { + s_end_inline(s, p - 1, rlimit); +@@ -183,7 +183,7 @@ + if (p[1] != 0) /* reserved, must be 0 */ + return_error(e_syntaxerror); + top_size = sdecodeushort(p + 2, num_format); +- lsize = sdecodelong(p + 4, num_format); ++ lsize = sdecodeint32(p + 4, num_format); + if ((size = lsize) != lsize) + return_error(e_limitcheck); + hsize = 8; +@@ -445,8 +445,7 @@ + for (; index < max_array_index; p += SIZEOF_BIN_SEQ_OBJ, index++) { + ref *op = abase + index; + uint osize; +- long value; +- uint atype, attrs; ++ int value, atype, attrs; + + s_end_inline(s, p, rlimit); /* in case of error */ + if (rlimit - p < SIZEOF_BIN_SEQ_OBJ) { +@@ -464,14 +463,14 @@ + make_null(op); + break; + case BS_TYPE_INTEGER: +- make_int(op, sdecodelong(p + 5, num_format)); ++ make_int(op, sdecodeint32(p + 5, num_format)); + break; + case BS_TYPE_REAL:{ + float vreal; + + osize = sdecodeushort(p + 3, num_format); + if (osize != 0) { /* fixed-point number */ +- value = sdecodelong(p + 5, num_format); ++ value = sdecodeint32(p + 5, num_format); + vreal = (float)ldexp((double)value, -osize); + } else { + vreal = sdecodefloat(p + 5, num_format); +@@ -480,7 +479,7 @@ + break; + } + case BS_TYPE_BOOLEAN: +- make_bool(op, sdecodelong(p + 5, num_format) != 0); ++ make_bool(op, sdecodeint32(p + 5, num_format) != 0); + break; + case BS_TYPE_STRING: + osize = sdecodeushort(p + 3, num_format); +@@ -492,7 +491,7 @@ + make_empty_string(op, attrs); + break; + } +- value = sdecodelong(p + 5, num_format); ++ value = sdecodeint32(p + 5, num_format); + if (value < max_array_index * SIZEOF_BIN_SEQ_OBJ || + value + osize > size + ) +@@ -524,7 +523,7 @@ + /* falls through */ + case BS_TYPE_NAME: + osize = sdecodeushort(p + 3, num_format); +- value = sdecodelong(p + 5, num_format); ++ value = sdecodeint32(p + 5, num_format); + switch (osize) { + case 0: + code = array_get(user_names_p, value, op); +@@ -546,7 +545,7 @@ + osize = sdecodeushort(p + 3, num_format); + atype = t_array; + arr: +- value = sdecodelong(p + 5, num_format); ++ value = sdecodeint32(p + 5, num_format); + if (value + osize > min_string_index || + value & (SIZEOF_BIN_SEQ_OBJ - 1) + ) diff --git a/print/ghostscript7-x11/files/patch-src-iscannum.c b/print/ghostscript7-x11/files/patch-src-iscannum.c new file mode 100644 index 000000000000..4a69664074a6 --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-iscannum.c @@ -0,0 +1,203 @@ +--- src/iscannum.c.orig 2003-01-17 09:49:04.000000000 +0900 ++++ src/iscannum.c 2013-04-30 11:17:14.000000000 +0900 +@@ -57,7 +57,6 @@ + }; + + int ival; +- long lval; + double dval; + int exp10; + int code = 0; +@@ -104,8 +103,26 @@ + GET_NEXT(c, sp, goto iret); + if (!IS_DIGIT(d, c)) + break; +- if (WOULD_OVERFLOW(ival, d, max_int)) +- goto i2l; ++ if (WOULD_OVERFLOW((unsigned)ival, d, max_int)) { ++ /* goto i2l; */ ++ if (ival == max_int / 10 && d == (max_int % 10) + 1 && sign < 0) { ++ GET_NEXT(c, sp, c= EOFC); ++ dval = -(double)min_int; ++ if (c == 'e' || c == 'E') { ++ exp10 = 0; ++ goto fs; ++ } else if (c == '.') { ++ GET_NEXT(c, sp, c = EOFC); ++ exp10 = 0; ++ goto fd; ++ } else if (!IS_DIGIT(d, c)) { ++ ival = min_int; ++ break; ++ } ++ } else ++ dval = ival; ++ goto l2d; ++ } + } + ind: /* We saw a non-digit while accumulating an integer in ival. */ + switch (c) { +@@ -116,6 +133,8 @@ + *psp = sp; + code = 1; + break; ++ case EOFC: ++ break; + case 'e': + case 'E': + if (sign < 0) +@@ -125,8 +144,8 @@ + goto fe; + case '#': + { +- const uint radix = (uint)ival; +- ulong uval = 0, lmax; ++ const int radix = ival; ++ uint uval = 0, imax; + + if (sign || radix < min_radix || radix > max_radix) + return_error(e_syntaxerror); +@@ -136,19 +155,19 @@ + + switch (radix) { + case 2: +- shift = 1, lmax = max_ulong >> 1; ++ shift = 1, imax = max_uint >> 1; + break; + case 4: +- shift = 2, lmax = max_ulong >> 2; ++ shift = 2, imax = max_uint >> 2; + break; + case 8: +- shift = 3, lmax = max_ulong >> 3; ++ shift = 3, imax = max_uint >> 3; + break; + case 16: +- shift = 4, lmax = max_ulong >> 4; ++ shift = 4, imax = max_uint >> 4; + break; + case 32: +- shift = 5, lmax = max_ulong >> 5; ++ shift = 5, imax = max_uint >> 5; + break; + default: /* can't happen */ + return_error(e_rangecheck); +@@ -161,13 +180,13 @@ + code = 1; + break; + } +- if (uval > lmax) ++ if (uval > imax) + return_error(e_limitcheck); + } + } else { +- int lrem = max_ulong % radix; ++ int irem = max_uint % radix; + +- lmax = max_ulong / radix; ++ imax = max_uint / radix; + for (;; uval = uval * radix + d) { + GET_NEXT(c, sp, break); + d = decoder[c]; +@@ -176,8 +195,8 @@ + code = 1; + break; + } +- if (uval >= lmax && +- (uval > lmax || d > lrem) ++ if (uval >= imax && ++ (uval > imax || d > irem) + ) + return_error(e_limitcheck); + } +@@ -190,55 +209,6 @@ + make_int(pref, (sign < 0 ? -ival : ival)); + return code; + +- /* Accumulate a long in lval. */ +-i2l: +- for (lval = ival;;) { +- if (WOULD_OVERFLOW(lval, d, max_long)) { +- /* Make a special check for entering the smallest */ +- /* (most negative) integer. */ +- if (lval == max_long / 10 && +- d == (int)(max_long % 10) + 1 && sign < 0 +- ) { +- GET_NEXT(c, sp, c = EOFC); +- dval = -(double)min_long; +- if (c == 'e' || c == 'E' || c == '.') { +- exp10 = 0; +- goto fs; +- } else if (!IS_DIGIT(d, c)) { +- lval = min_long; +- break; +- } +- } else +- dval = lval; +- goto l2d; +- } +- lval = lval * 10 + d; +- GET_NEXT(c, sp, goto lret); +- if (!IS_DIGIT(d, c)) +- break; +- } +- switch (c) { +- case '.': +- GET_NEXT(c, sp, c = EOFC); +- exp10 = 0; +- goto l2r; +- case EOFC: +- break; +- default: +- *psp = sp; +- code = 1; +- break; +- case 'e': +- case 'E': +- exp10 = 0; +- goto le; +- case '#': +- return_error(e_syntaxerror); +- } +-lret: +- make_int(pref, (sign < 0 ? -lval : lval)); +- return code; +- + /* Accumulate a double in dval. */ + l2d: + exp10 = 0; +@@ -274,8 +244,8 @@ + exp10 = 0; + while (IS_DIGIT(d, c)) { + if (WOULD_OVERFLOW(ival, d, max_int)) { +- lval = ival; +- goto l2r; ++ dval = ival; ++ goto fd; + } + ival = ival * 10 + d; + exp10--; +@@ -293,23 +263,6 @@ + dval = ival; + goto fe; + +- /* We saw a '.' while accumulating a long in lval. */ +-l2r: +- while (IS_DIGIT(d, c)) { +- if (WOULD_OVERFLOW(lval, d, max_long)) { +- dval = lval; +- goto fd; +- } +- lval = lval * 10 + d; +- exp10--; +- GET_NEXT(c, sp, c = EOFC); +- } +-le: +- if (sign < 0) +- lval = -lval; +- dval = lval; +- goto fe; +- + /* Now we are accumulating a double in dval. */ + fd: + while (IS_DIGIT(d, c)) { diff --git a/print/ghostscript7-x11/files/patch-src-iutil.c b/print/ghostscript7-x11/files/patch-src-iutil.c new file mode 100644 index 000000000000..c77cb19ddd84 --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-iutil.c @@ -0,0 +1,11 @@ +--- src/iutil.c.orig 2013-04-30 10:51:05.000000000 +0900 ++++ src/iutil.c 2013-04-30 10:51:20.000000000 +0900 +@@ -428,7 +428,7 @@ + data = (const byte *)(op->value.boolval ? "true" : "false"); + break; + case t_integer: +- sprintf(buf, "%ld", op->value.intval); ++ sprintf(buf, "%d", op->value.intval); + break; + case t_string: + check_read(*op); diff --git a/print/ghostscript7-x11/files/patch-src-lib.mak b/print/ghostscript7-x11/files/patch-src-lib.mak new file mode 100644 index 000000000000..6208eb8034a3 --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-lib.mak @@ -0,0 +1,46 @@ +--- src/lib.mak.orig 2003-01-17 09:49:05.000000000 +0900 ++++ src/lib.mak 2015-08-22 02:23:05.682462000 +0900 +@@ -35,6 +35,7 @@ + GLJCC=$(CC_) $(I_)$(GLI_) $(II)$(JI_)$(_I) $(JCF_) $(GLF_) + GLZCC=$(CC_) $(I_)$(GLI_) $(II)$(ZI_)$(_I) $(ZCF_) $(GLF_) + GLCCLEAF=$(CC_LEAF) $(I_)$(GLI_)$(_I) $(GLF_) ++GLCCSHARED=$(CC_SHARED) $(GLCCFLAGS) + # All top-level makefiles define GLD. + #GLD=$(GLGEN) + +@@ -187,22 +188,22 @@ + $(GLD)gsnogc.dev : $(LIB_MAK) $(ECHOGS_XE) $(gsnogc_) + $(SETMOD) $(GLD)gsnogc $(gsnogc_) + +-$(GLOBJ)gsnogc.$(OBJ) : $(GLSRC)gsnogc.c $(GX)\ ++$(GLOBJ)gsnogc.$(OBJ) : $(arch_h) $(GLSRC)gsnogc.c $(GX)\ + $(gsmdebug_h) $(gsnogc_h) $(gsstruct_h) $(gxalloc_h) + $(GLCC) $(GLO_)gsnogc.$(OBJ) $(C_) $(GLSRC)gsnogc.c + + ### Bitmap processing + +-$(GLOBJ)gsbitcom.$(OBJ) : $(GLSRC)gsbitcom.c $(AK) $(std_h)\ ++$(GLOBJ)gsbitcom.$(OBJ) : $(arch_h) $(GLSRC)gsbitcom.c $(AK) $(std_h)\ + $(gdebug_h) $(gsbitops_h) $(gstypes_h) + $(GLCC) $(GLO_)gsbitcom.$(OBJ) $(C_) $(GLSRC)gsbitcom.c + +-$(GLOBJ)gsbitops.$(OBJ) : $(GLSRC)gsbitops.c $(AK) $(memory__h) $(stdio__h)\ ++$(GLOBJ)gsbitops.$(OBJ) : $(arch_h) $(GLSRC)gsbitops.c $(AK) $(memory__h) $(stdio__h)\ + $(gdebug_h) $(gsbittab_h) $(gserror_h) $(gserrors_h) $(gstypes_h)\ + $(gxbitops_h) + $(GLCC) $(GLO_)gsbitops.$(OBJ) $(C_) $(GLSRC)gsbitops.c + +-$(GLOBJ)gsbittab.$(OBJ) : $(GLSRC)gsbittab.c $(AK) $(stdpre_h) $(gsbittab_h) ++$(GLOBJ)gsbittab.$(OBJ) : $(arch_h) $(GLSRC)gsbittab.c $(AK) $(stdpre_h) $(gsbittab_h) + $(GLCC) $(GLO_)gsbittab.$(OBJ) $(C_) $(GLSRC)gsbittab.c + + # gsflip is not part of the standard configuration: it's rather large, +@@ -765,7 +766,7 @@ + $(GLOBJ)gsparamx.$(OBJ) : $(GLSRC)gsparamx.c $(string__h)\ + $(gserror_h) $(gserrors_h) $(gsmemory_h) $(gsparam_h) $(gsparamx_h)\ + $(gstypes_h) +- $(GLCC) $(GLO_)gsparamx.$(OBJ) $(C_) $(GLSRC)gsparamx.c ++ $(GLCCSHARED) $(GLO_)gsparamx.$(OBJ) $(C_) $(GLSRC)gsparamx.c + + # Future replacement for gsparams.c + $(GLOBJ)gsparam2.$(OBJ) : $(GLSRC)gsparam2.c $(GXERR) $(memory__h)\ diff --git a/print/ghostscript7-x11/files/patch-src-unixinst.mak b/print/ghostscript7-x11/files/patch-src-unixinst.mak new file mode 100644 index 000000000000..1a8041d74861 --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-unixinst.mak @@ -0,0 +1,122 @@ +--- src/unixinst.mak.orig 2003-01-17 09:49:05.000000000 +0900 ++++ src/unixinst.mak 2015-08-22 00:31:09.540215000 +0900 +@@ -30,24 +30,24 @@ + # rules, just in case bindir or scriptdir is a subdirectory of any of these. + + install-exec: $(GS_XE) +- -mkdir -p $(datadir) +- -mkdir -p $(gsdir) +- -mkdir -p $(gsdatadir) +- -mkdir -p $(bindir) +- $(INSTALL_PROGRAM) $(GS_XE) $(bindir)/$(GS) ++ -mkdir -p $(DESTDIR)$(datadir) ++ -mkdir -p $(DESTDIR)$(gsdir) ++ -mkdir -p $(DESTDIR)$(gsdatadir) ++ -mkdir -p $(DESTDIR)$(bindir) ++ $(INSTALL_PROGRAM) $(GS_XE) $(DESTDIR)$(bindir)/$(GS) + + install-scripts: $(PSLIBDIR)/gsnd +- -mkdir -p $(datadir) +- -mkdir -p $(gsdir) +- -mkdir -p $(gsdatadir) +- -mkdir -p $(scriptdir) ++ -mkdir -p $(DESTDIR)$(datadir) ++ -mkdir -p $(DESTDIR)$(gsdir) ++ -mkdir -p $(DESTDIR)$(gsdatadir) ++ -mkdir -p $(DESTDIR)$(scriptdir) + $(SH) -c 'for f in \ + gsbj gsdj gsdj500 gslj gslp gsnd \ + bdftops dvipdf eps2eps font2c \ + pdf2dsc pdf2ps pdfopt pf2afm pfbtopfa printafm \ + ps2ascii ps2epsi ps2pdf ps2pdf12 ps2pdf13 ps2pdf14 ps2pdfwr ps2ps wftopfa \ + fixmswrd.pl lprsetup.sh pj-gs.sh pv.sh sysvlp.sh unix-lpr.sh ;\ +- do if ( test -f $(PSLIBDIR)/$$f ); then $(INSTALL_PROGRAM) $(PSLIBDIR)/$$f $(scriptdir); fi;\ ++ do if ( test -f $(PSLIBDIR)/$$f ); then $(INSTALL_SCRIPT) $(PSLIBDIR)/$$f $(DESTDIR)$(scriptdir); fi;\ + done' + + PSDOCDIR=$(PSLIBDIR)/../doc +@@ -60,10 +60,10 @@ + # one file from each subdirectory just as a sanity check. + + install-libdata: +- -mkdir -p $(datadir) +- -mkdir -p $(gsdir) +- -mkdir -p $(gsdatadir) +- -mkdir -p $(gsdatadir)/lib ++ -mkdir -p $(DESTDIR)$(datadir) ++ -mkdir -p $(DESTDIR)$(gsdir) ++ -mkdir -p $(DESTDIR)$(gsdatadir) ++ -mkdir -p $(DESTDIR)$(gsdatadir)/lib + $(SH) -c 'for f in \ + Fontmap Fontmap.GS \ + CIDFnmap CIDFnmap.Ore CIDFnmap.ARP CIDFnmap.Bae CIDFnmap.Koc \ +@@ -83,13 +83,13 @@ + viewpcx.ps viewpbm.ps viewps2a.ps \ + winmaps.ps wftopfa.ps wrfont.ps zeroline.ps \ + pdf2dsc.ps pdfopt.ps ;\ +- do if ( test -f $(PSLIBDIR)/$$f ); then $(INSTALL_DATA) $(PSLIBDIR)/$$f $(gsdatadir)/lib; fi;\ ++ do if ( test -f $(PSLIBDIR)/$$f ); then $(INSTALL_DATA) $(PSLIBDIR)/$$f $(DESTDIR)$(gsdatadir)/lib; fi;\ + done' + $(SH) -c 'for f in $(PSLIBDIR)/gs_*.ps $(PSLIBDIR)/pdf*.ps;\ +- do $(INSTALL_DATA) $$f $(gsdatadir)/lib ;\ ++ do $(INSTALL_DATA) $$f $(DESTDIR)$(gsdatadir)/lib ;\ + done' + $(SH) -c 'for f in $(PSLIBDIR)/*.ppd $(PSLIBDIR)/*.rpd $(PSLIBDIR)/*.upp $(PSLIBDIR)/*.xbm $(PSLIBDIR)/*.xpm;\ +- do $(INSTALL_DATA) $$f $(gsdatadir)/lib ;\ ++ do $(INSTALL_DATA) $$f $(DESTDIR)$(gsdatadir)/lib ;\ + done' + + # install html documentation +@@ -106,20 +106,20 @@ + Psfiles.htm Public.htm Readme.htm Release.htm \ + Source.htm Tester.htm Unix-lpr.htm Use.htm Xfonts.htm + install-doc: $(PSDOCDIR)/News.htm +- -mkdir -p $(docdir) ++ -mkdir -p $(DESTDIR)$(docdir) + $(SH) -c 'for f in $(DOC_PAGES) ;\ +- do if ( test -f $(PSDOCDIR)/$$f ); then $(INSTALL_DATA) $(PSDOCDIR)/$$f $(docdir); fi;\ ++ do if ( test -f $(PSDOCDIR)/$$f ); then $(INSTALL_DATA) $(PSDOCDIR)/$$f $(DESTDIR)$(docdir); fi;\ + done' + + # install the man pages for each locale +-MAN_LCDIRS=. de ++MAN_LCDIRS=. + MAN1_LINKS_PS2PS=eps2eps + MAN1_LINKS_PS2PDF=ps2pdf12 ps2pdf13 + MAN1_LINKS_GSLP=gsbj gsdj gsdj500 gslj + install-man: $(PSMANDIR)/gs.1 +- $(SH) -c 'test -d $(mandir) || mkdir -p $(mandir)' ++ $(SH) -c 'test -d $(DESTDIR)$(mandir) || mkdir -p $(DESTDIR)$(mandir)' + $(SH) -c 'for d in $(MAN_LCDIRS) ;\ +- do man1dir=$(mandir)/$$d/man$(man1ext) ;\ ++ do man1dir=$(DESTDIR)$(mandir)/$$d/man$(man1ext) ;\ + ( test -d $$man1dir || mkdir -p $$man1dir ) ;\ + for f in $(PSMANDIR)/$$d/*.1 ;\ + do $(INSTALL_DATA) $$f $$man1dir ;\ +@@ -146,17 +146,22 @@ + + # install the example files + install-examples: +- -mkdir -p $(exdir) ++ -mkdir -p $(DESTDIR)$(exdir) + for f in \ + alphabet.ps colorcir.ps doretree.ps escher.ps golfer.ps \ + grayalph.ps snowflak.ps tiger.ps vasarely.ps waterfal.ps \ + ridt91.eps ;\ +- do $(INSTALL_DATA) $(PSEXDIR)/$$f $(exdir) ;\ ++ do $(INSTALL_DATA) $(PSEXDIR)/$$f $(DESTDIR)$(exdir) ;\ + done +- -mkdir -p $(exdir)/cjk ++ -mkdir -p $(DESTDIR)$(exdir)/cjk + for f in \ + all_ac1.ps all_ag1.ps all_aj1.ps all_aj2.ps all_ak1.ps \ + gscjk_ac.ps gscjk_ag.ps gscjk_aj.ps gscjk_ak.ps \ + iso2022.ps;\ +- do $(INSTALL_DATA) $(PSEXDIR)/cjk/$$f $(exdir)/cjk ;\ ++ do $(INSTALL_DATA) $(PSEXDIR)/cjk/$$f $(DESTDIR)$(exdir)/cjk ;\ + done ++ ++install-shared: $(GS_SHARED_OBJS) ++ -mkdir -p $(DESTDIR)$(gssharedir) ++ $(SH) -c 'for obj in $(GS_SHARED_OBJS); do \ ++ $(INSTALL_PROGRAM) $$obj $(DESTDIR)$(gssharedir)/; done' diff --git a/print/ghostscript7-x11/files/patch-src-zarith.c b/print/ghostscript7-x11/files/patch-src-zarith.c new file mode 100644 index 000000000000..582f61e8f144 --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-zarith.c @@ -0,0 +1,48 @@ +--- src/zarith.c.orig 2013-04-30 11:07:41.000000000 +0900 ++++ src/zarith.c 2013-04-30 11:08:43.000000000 +0900 +@@ -32,9 +32,9 @@ + */ + + /* Define max and min values for what will fit in value.intval. */ +-#define MIN_INTVAL min_long +-#define MAX_INTVAL max_long +-#define MAX_HALF_INTVAL ((1L << (size_of(long) * 4 - 1)) - 1) ++#define MIN_INTVAL 0x80000000 ++#define MAX_INTVAL 0x7fffffff ++#define MAX_HALF_INTVAL 0x7fff + + /* <num1> <num2> add <sum> */ + /* We make this into a separate procedure because */ +@@ -64,7 +64,7 @@ + op[-1].value.realval += (double)op->value.intval; + break; + case t_integer: { +- long int2 = op->value.intval; ++ int int2 = op->value.intval; + + if (((op[-1].value.intval += int2) ^ int2) < 0 && + ((op[-1].value.intval - int2) ^ int2) >= 0 +@@ -158,10 +158,10 @@ + op[-1].value.realval *= (double)op->value.intval; + break; + case t_integer: { +- long int1 = op[-1].value.intval; +- long int2 = op->value.intval; +- long abs1 = (int1 >= 0 ? int1 : -int1); +- long abs2 = (int2 >= 0 ? int2 : -int2); ++ int int1 = op[-1].value.intval; ++ int int2 = op->value.intval; ++ uint abs1 = (uint)(int1 >= 0 ? int1 : -int1); ++ uint abs2 = (uint)(int2 >= 0 ? int2 : -int2); + float fprod; + + if ((abs1 > MAX_HALF_INTVAL || abs2 > MAX_HALF_INTVAL) && +@@ -212,7 +212,7 @@ + op[-1].value.realval -= (double)op->value.intval; + break; + case t_integer: { +- long int1 = op[-1].value.intval; ++ int int1 = op[-1].value.intval; + + if ((int1 ^ (op[-1].value.intval = int1 - op->value.intval)) < 0 && + (int1 ^ op->value.intval) < 0 diff --git a/print/ghostscript7-x11/files/patch-src-zcontrol.c b/print/ghostscript7-x11/files/patch-src-zcontrol.c new file mode 100644 index 000000000000..d00a600c19ec --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-zcontrol.c @@ -0,0 +1,20 @@ +--- src/zcontrol.c.orig 2013-04-30 11:09:59.000000000 +0900 ++++ src/zcontrol.c 2013-04-30 11:11:03.000000000 +0900 +@@ -356,7 +356,7 @@ + { + os_ptr op = osp; + register es_ptr ep = esp; +- long var = ep[-3].value.intval; ++ int var = ep[-3].value.intval; + + if (var > ep[-1].value.intval) { + esp -= 5; /* pop everything */ +@@ -375,7 +375,7 @@ + { + os_ptr op = osp; + register es_ptr ep = esp; +- long var = ep[-3].value.intval; ++ int var = ep[-3].value.intval; + + if (var < ep[-1].value.intval) { + esp -= 5; /* pop everything */ diff --git a/print/ghostscript7-x11/files/patch-src-zdict.c b/print/ghostscript7-x11/files/patch-src-zdict.c new file mode 100644 index 000000000000..050ecc841717 --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-zdict.c @@ -0,0 +1,29 @@ +--- src/zdict.c.orig 2013-04-30 11:04:05.000000000 +0900 ++++ src/zdict.c 2013-04-30 11:04:34.000000000 +0900 +@@ -35,12 +35,9 @@ + os_ptr op = osp; + + check_type(*op, t_integer); +-#if arch_sizeof_int < arch_sizeof_long +- check_int_leu(*op, max_uint); +-#else + if (op->value.intval < 0) + return_error(e_rangecheck); +-#endif ++ + return dict_create((uint) op->value.intval, op); + } + +@@ -458,12 +455,8 @@ + check_type(*op1, t_dictionary); + check_dict_write(*op1); + check_type(*op, t_integer); +-#if arch_sizeof_int < arch_sizeof_long +- check_int_leu(*op, max_uint); +-#else + if (op->value.intval < 0) + return_error(e_rangecheck); +-#endif + new_size = (uint) op->value.intval; + if (dict_length(op - 1) > new_size) + return_error(e_dictfull); diff --git a/print/ghostscript7-x11/files/patch-src-zdps.c b/print/ghostscript7-x11/files/patch-src-zdps.c new file mode 100644 index 000000000000..414a296cd4ea --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-zdps.c @@ -0,0 +1,25 @@ +--- src/zdps.c.orig 2013-04-30 11:05:10.000000000 +0900 ++++ src/zdps.c 2013-04-30 11:05:50.000000000 +0900 +@@ -46,19 +46,18 @@ + { + os_ptr op = osp; + int code; +- long x, y; ++ int x, y; + + check_type(op[-2], t_integer); + check_type(op[-1], t_integer); + check_type(*op, t_integer); + x = op[-1].value.intval; + y = op->value.intval; +- if (x != (int)x || y != (int)y || +- op[-2].value.intval < -1 || ++ if (op[-2].value.intval < -1 || + op[-2].value.intval >= gs_color_select_count + ) + return_error(e_rangecheck); +- code = gs_setscreenphase(igs, (int)x, (int)y, ++ code = gs_setscreenphase(igs, x, y, + (gs_color_select_t) op[-2].value.intval); + if (code >= 0) + pop(3); diff --git a/print/ghostscript7-x11/files/patch-src-zfunc4.c b/print/ghostscript7-x11/files/patch-src-zfunc4.c new file mode 100644 index 000000000000..0d8610978652 --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-zfunc4.c @@ -0,0 +1,13 @@ +--- src/zfunc4.c.orig 2013-04-30 10:45:00.000000000 +0900 ++++ src/zfunc4.c 2013-04-30 10:45:23.000000000 +0900 +@@ -150,10 +150,6 @@ + case t_integer: { + int i = elt.value.intval; + +-#if ARCH_SIZEOF_INT < ARCH_SIZEOF_LONG +- if (i != elt.value.intval) /* check for truncation */ +- return_error(e_rangecheck); +-#endif + if (i == (byte)i) { + *p = PtCr_byte; + p[1] = (byte)i; diff --git a/print/ghostscript7-x11/files/patch-src-zgeneric.c b/print/ghostscript7-x11/files/patch-src-zgeneric.c new file mode 100644 index 000000000000..d99189a5e16a --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-zgeneric.c @@ -0,0 +1,20 @@ +--- src/zgeneric.c.orig 2013-04-30 10:55:48.000000000 +0900 ++++ src/zgeneric.c 2013-04-30 10:56:40.000000000 +0900 +@@ -76,7 +76,7 @@ + int count, i; + int code; + +- if ((ulong) op->value.intval > op - osbot) { ++ if ((uint)op->value.intval > (uint)(op - osbot)) { + /* There might be enough elements in other blocks. */ + check_int_ltu(*op, ref_stack_count(&o_stack)); + count = op->value.intval; +@@ -471,7 +471,7 @@ + { + os_ptr op = osp; + es_ptr obj = esp - 2; +- int index = (int)esp->value.intval; ++ int index = esp->value.intval; + + push(2); /* make room for key and value */ + if ((index = dict_next(obj, index, op - 1)) >= 0) { /* continue */ diff --git a/print/ghostscript7-x11/files/patch-src-ziodev.c b/print/ghostscript7-x11/files/patch-src-ziodev.c new file mode 100644 index 000000000000..2cd6f0add7a9 --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-ziodev.c @@ -0,0 +1,11 @@ +--- src/ziodev.c.orig 2013-04-30 11:06:19.000000000 +0900 ++++ src/ziodev.c 2013-04-30 11:06:30.000000000 +0900 +@@ -79,8 +79,6 @@ + const byte *dname; + + check_type(*op, t_integer); +- if (op->value.intval != (int)op->value.intval) +- return_error(e_rangecheck); + iodev = gs_getiodevice((int)(op->value.intval)); + if (iodev == 0) /* index out of range */ + return_error(e_rangecheck); diff --git a/print/ghostscript7-x11/files/patch-src-zmath.c b/print/ghostscript7-x11/files/patch-src-zmath.c new file mode 100644 index 000000000000..94576da80fdf --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-zmath.c @@ -0,0 +1,18 @@ +--- src/zmath.c.orig 2013-04-30 10:43:55.000000000 +0900 ++++ src/zmath.c 2013-04-30 10:44:23.000000000 +0900 +@@ -229,14 +229,10 @@ + zsrand(i_ctx_t *i_ctx_p) + { + os_ptr op = osp; +- long state; ++ int state; + + check_type(*op, t_integer); + state = op->value.intval; +-#if arch_sizeof_long > 4 +- /* Trim the state back to 32 bits. */ +- state = (int)state; +-#endif + /* + * The following somewhat bizarre adjustments are according to + * public information from Adobe describing their implementation. diff --git a/print/ghostscript7-x11/files/patch-src-zstack.c b/print/ghostscript7-x11/files/patch-src-zstack.c new file mode 100644 index 000000000000..f1359936e410 --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-zstack.c @@ -0,0 +1,11 @@ +--- src/zstack.c.orig 2013-04-30 10:54:14.000000000 +0900 ++++ src/zstack.c 2013-04-30 10:54:26.000000000 +0900 +@@ -70,7 +70,7 @@ + register os_ptr opn; + + check_type(*op, t_integer); +- if ((ulong)op->value.intval >= op - osbot) { ++ if ((uint)op->value.intval >= op - osbot) { + /* Might be in an older stack block. */ + ref *elt; + diff --git a/print/ghostscript7-x11/files/patch-src-ztype.c b/print/ghostscript7-x11/files/patch-src-ztype.c new file mode 100644 index 000000000000..98be203c6abe --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src-ztype.c @@ -0,0 +1,34 @@ +--- src/ztype.c.orig 2013-04-30 10:46:12.000000000 +0900 ++++ src/ztype.c 2013-04-30 10:46:55.000000000 +0900 +@@ -53,10 +53,10 @@ + * constant expressions, so we can't use min_long and max_long. + * What a nuisance! + */ +-#define ALT_MIN_LONG (-1L << (arch_sizeof_long * 8 - 1)) +-#define ALT_MAX_LONG (~(ALT_MIN_LONG)) +-private const double min_int_real = (ALT_MIN_LONG * 1.0 - 1); +-private const double max_int_real = (ALT_MAX_LONG * 1.0 + 1); ++#define ALT_MIN_INT (-1 << 31) ++#define ALT_MAX_INT (~(ALT_MIN_INT)) ++static const double min_int_real = (ALT_MIN_INT * 1.0 - 1); ++static const double max_int_real = (ALT_MAX_INT * 1.0 + 1); + + #define REAL_CAN_BE_INT(v)\ + ((v) > min_int_real && (v) < max_int_real) +@@ -356,14 +356,14 @@ + return_op_typecheck(op - 2); + } + } else { +- ulong ival; ++ uint ival; + byte digits[sizeof(ulong) * 8]; + byte *endp = &digits[countof(digits)]; + byte *dp = endp; + + switch (r_type(op - 2)) { + case t_integer: +- ival = (ulong) op[-2].value.intval; ++ ival = (uint) op[-2].value.intval; + break; + case t_real: + { diff --git a/print/ghostscript7-x11/files/patch-src:gdevlbp8.c b/print/ghostscript7-x11/files/patch-src:gdevlbp8.c new file mode 100644 index 000000000000..052492c58f6a --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src:gdevlbp8.c @@ -0,0 +1,70 @@ +--- src/gdevlbp8.c.orig Wed Aug 1 09:48:23 2001 ++++ src/gdevlbp8.c Thu Mar 14 20:56:05 2002 +@@ -22,6 +22,8 @@ + + /* + Modifications: ++ 3.10.00 Johnny Lam ++ Removed LIPS III code, as it's obsoleted by gdevlips driver. + 2.2.97 Lauri Paatero + Changed CSI command into ESC [. DCS commands may still need to be changed + (to ESC P). +@@ -49,7 +51,6 @@ + + /* The device descriptors */ + private dev_proc_print_page(lbp8_print_page); +-private dev_proc_print_page(lips3_print_page); + + const gx_device_printer far_data gs_lbp8_device = + prn_device(prn_std_procs, "lbp8", +@@ -58,14 +59,6 @@ + 0.16, 0.2, 0.32, 0.21, /* margins: left, bottom, right, top */ + 1, lbp8_print_page); + +-const gx_device_printer far_data gs_lips3_device = +- prn_device(prn_std_procs, "lips3", +- 82, /* width_10ths, 8.3" */ +- 117, /* height_10ths, 11.7" */ +- X_DPI, Y_DPI, +- 0.16, 0.27, 0.23, 0.27, /* margins */ +- 1, lips3_print_page); +- + /* ------ Internal routines ------ */ + + #define ESC 0x1b +@@ -84,23 +77,6 @@ + + static const char *lbp8_end = NULL; + +-static const char lips3_init[] = { +- ESC, '<', /* soft reset */ +- DCS, '0', 'J', ST, /* JOB END */ +- DCS, '3', '1', ';', '3', '0', '0', ';', '2', 'J', ST, /* 300dpi, LIPS3 JOB START */ +- ESC, '<', /* soft reset */ +- DCS, '2', 'y', 'P', 'r', 'i', 'n', 't', 'i', 'n', 'g', '(', 'g', 's', ')', ST, /* Printing (gs) display */ +- ESC, '[', '?', '1', 'l', /* auto cr-lf disable */ +- ESC, '[', '?', '2', 'h', /* auto ff disable */ +- ESC, '[', '1', '1', 'h', /* set mode */ +- ESC, '[', '7', ' ', 'I', /* select unit size (300dpi)*/ +- ESC, '[', 'f' /* move to home position */ +-}; +- +-static const char lips3_end[] = { +- DCS, '0', 'J', ST /* JOB END */ +-}; +- + /* Send the page to the printer. */ + private int + can_print_page(gx_device_printer *pdev, FILE *prn_stream, +@@ -203,11 +179,4 @@ + lbp8_print_page(gx_device_printer *pdev, FILE *prn_stream) + { return can_print_page(pdev, prn_stream, lbp8_init, sizeof(lbp8_init), + lbp8_end, sizeof(lbp8_end)); +-} +- +-/* Print a LIPS III page. */ +-private int +-lips3_print_page(gx_device_printer *pdev, FILE *prn_stream) +-{ return can_print_page(pdev, prn_stream, lips3_init, sizeof(lips3_init), +- lips3_end, sizeof(lips3_end)); + } diff --git a/print/ghostscript7-x11/files/patch-src:gdevpdff.c b/print/ghostscript7-x11/files/patch-src:gdevpdff.c new file mode 100644 index 000000000000..8a292bd4cdec --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src:gdevpdff.c @@ -0,0 +1,59 @@ +--- src/gdevpdff.c.org 2003-01-17 09:49:02.000000000 +0900 ++++ src/gdevpdff.c 2003-09-21 05:08:36.000000000 +0900 +@@ -276,6 +276,11 @@ + const byte *chars = font->font_name.chars; + uint size = font->font_name.size; + ++ /* CIDFonts has null string in font_name, key_name is used */ ++ if (0 == size) { ++ chars = font->key_name.chars; ++ size = font->key_name.size; ++ } + /* + * The behavior of Acrobat Distiller changed between 3.0 (PDF 1.2), + * which will never embed the base 14 fonts, and 4.0 (PDF 1.3), which +@@ -720,19 +725,22 @@ + same &= ~FONT_SAME_METRICS; + break; + case FONT_EMBED_NO: +- /* +- * Per the PDF 1.3 documentation, there are only 3 BaseEncoding +- * values allowed for non-embedded fonts. Pick one here. +- */ +- BaseEncoding = +- ((const gs_font_base *)base_font)->nearest_encoding_index; +- switch (BaseEncoding) { +- default: +- BaseEncoding = ENCODING_INDEX_WINANSI; +- case ENCODING_INDEX_WINANSI: +- case ENCODING_INDEX_MACROMAN: +- case ENCODING_INDEX_MACEXPERT: +- break; ++ if (!(font->FontType == ft_CID_encrypted || ++ font->FontType == ft_CID_TrueType)) { ++ /* ++ * Per the PDF 1.3 documentation, there are only 3 BaseEncoding ++ * values allowed for non-embedded fonts. Pick one here. ++ */ ++ BaseEncoding = ++ ((const gs_font_base *)base_font)->nearest_encoding_index; ++ switch (BaseEncoding) { ++ default: ++ BaseEncoding = ENCODING_INDEX_WINANSI; ++ case ENCODING_INDEX_WINANSI: ++ case ENCODING_INDEX_MACROMAN: ++ case ENCODING_INDEX_MACEXPERT: ++ break; ++ } + } + code = pdf_compute_font_descriptor(pdev, &fdesc, font, NULL); + if (code < 0) +@@ -888,6 +896,7 @@ + memcpy(ppf->widths_known, ftemp_widths_known, + sizeof(ftemp_widths_known)); + } ++ ppf->embed = embed; + code = pdf_register_font(pdev, font, ppf); + + *pppf = ppf; + diff --git a/print/ghostscript7-x11/files/patch-src:gdevpdff.h b/print/ghostscript7-x11/files/patch-src:gdevpdff.h new file mode 100644 index 000000000000..f64a4e02f6b8 --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src:gdevpdff.h @@ -0,0 +1,37 @@ +--- src/gdevpdff.h.org 2003-01-17 09:49:02.000000000 +0900 ++++ src/gdevpdff.h 2003-09-18 23:42:38.000000000 +0900 +@@ -117,6 +117,12 @@ + FONT_SUBSET_NO + } pdf_font_do_subset_t; + ++typedef enum { ++ FONT_EMBED_STANDARD, /* 14 standard fonts */ ++ FONT_EMBED_NO, ++ FONT_EMBED_YES ++} pdf_font_embed_t; ++ + struct pdf_font_descriptor_s { + pdf_resource_common(pdf_font_descriptor_t); + pdf_font_name_t FontName; +@@ -198,6 +204,7 @@ + gs_font *font; /* non-0 iff font will notify us; */ + /* should be a weak pointer */ + int index; /* in pdf_standard_fonts, -1 if not base 14 */ ++ pdf_font_embed_t embed; /* status of pdf_font_embed_status() */ + gs_matrix orig_matrix; /* FontMatrix of unscaled font for embedding */ + bool is_MM_instance; /* for Type 1/2 fonts, true iff the font */ + /* is a Multiple Master instance */ +@@ -320,12 +327,6 @@ + + /* ---------------- Exported by gdevpdff.c ---------------- */ + +-typedef enum { +- FONT_EMBED_STANDARD, /* 14 standard fonts */ +- FONT_EMBED_NO, +- FONT_EMBED_YES +-} pdf_font_embed_t; +- + typedef struct pdf_standard_font_s { + const char *fname; + gs_encoding_index_t base_encoding; + diff --git a/print/ghostscript7-x11/files/patch-src:gdevpdfs.c b/print/ghostscript7-x11/files/patch-src:gdevpdfs.c new file mode 100644 index 000000000000..0378f15c88ab --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src:gdevpdfs.c @@ -0,0 +1,41 @@ +--- src/gdevpdfs.c.org 2003-09-20 00:11:16.000000000 +0900 ++++ src/gdevpdfs.c 2003-09-25 17:44:10.000000000 +0900 +@@ -481,15 +481,21 @@ + + if (cid < pfd->chars_count) { + int index = cid >> 3, mask = 0x80 >> (cid & 7); ++ int gid; ++ ++ if (!(pfd->chars_used.data[index] & mask) || ++ !(psubf->widths_known[index] & mask)) { + +- if (!(pfd->chars_used.data[index] & mask)) { +- pfd->chars_used.data[index] |= mask; + if (psubf->CIDToGIDMap) { + gs_font_cid2 *const subfont2 = + (gs_font_cid2 *)subfont; +- int gid = +- subfont2->cidata.CIDMap_proc(subfont2, glyph); + ++ gid = subfont2->cidata.CIDMap_proc(subfont2, glyph); ++ } ++ } ++ if (!(pfd->chars_used.data[index] & mask)) { ++ pfd->chars_used.data[index] |= mask; ++ if (psubf->CIDToGIDMap) { + if (gid >= 0) { + psubf->CIDToGIDMap[cid] = gid; + mark_glyphs_used(subfont, gid + gs_min_cid_glyph, +@@ -500,7 +506,11 @@ + if (!(psubf->widths_known[index] & mask)) { + int width; + +- code = pdf_glyph_width(psubf, glyph, subfont, &width); ++ if (psubf->CIDToGIDMap) ++ code = pdf_glyph_width(psubf, gid + gs_min_cid_glyph, ++ subfont, &width); ++ else ++ code = pdf_glyph_width(psubf, glyph, subfont, &width); + if (code == 0) { + psubf->Widths[cid] = width; + psubf->widths_known[index] |= mask; diff --git a/print/ghostscript7-x11/files/patch-src:gdevpdfw.c b/print/ghostscript7-x11/files/patch-src:gdevpdfw.c new file mode 100644 index 000000000000..a08b87d42724 --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src:gdevpdfw.c @@ -0,0 +1,60 @@ +--- src/gdevpdfw.c.org 2003-01-17 09:49:02.000000000 +0900 ++++ src/gdevpdfw.c 2003-09-25 17:50:54.000000000 +0900 +@@ -348,18 +348,19 @@ + /* Use the most common width as DW. */ + + { +- ushort counts[1001]; ++ ushort counts[1500*2]; /* histogram of (-1500..1500) */ + int dw_count = 0, i; + + memset(counts, 0, sizeof(counts)); + while (!psf_enumerate_glyphs_next(&genum, &glyph)) { +- int width = ppf->Widths[glyph - gs_min_cid_glyph]; ++ int cid = glyph - gs_min_cid_glyph; ++ int width = ppf->Widths[cid]; + +- counts[min(width, countof(counts) - 1)]++; ++ counts[max(0,min(width+countof(counts)/2,countof(counts)-1))]++; + } +- for (i = 0; i < countof(counts); ++i) ++ for (i = 0; i < countof(counts); i++) + if (counts[i] > dw_count) +- dw = i, dw_count = counts[i]; ++ dw = i - countof(counts)/2, dw_count = counts[i]; + if (dw != 0) + pprintd1(s, "/DW %d\n", dw); + } +@@ -496,14 +497,16 @@ + if (pdf_has_subset_prefix(chars, size)) + chars += SUBSET_PREFIX_SIZE, size -= SUBSET_PREFIX_SIZE; + pdf_put_name(pdev, chars, size); +- if (pef->sub_font_type == ft_CID_encrypted && ++ if ((pef->sub_font_type == ft_CID_encrypted || ++ pef->sub_font_type == ft_CID_TrueType) && + pef->cmapname[0] == '/' + ) { + stream_putc(s, '-'); + pdf_put_name_chars(pdev, (const byte*) (pef->cmapname + 1), + strlen(pef->cmapname + 1)); + } +- pprints1(s, "/Encoding %s", pef->cmapname); ++ pprints1(s, (pef->cmapname[0] == '/') ? "/Encoding%s" : "/Encoding %s", ++ pef->cmapname); + pprintld1(s, "/DescendantFonts[%ld 0 R]", + pdf_resource_id((const pdf_resource_t *)pef->DescendantFont)); + write_Widths = 0; +@@ -563,8 +566,10 @@ + break; + case -1: + pdf_write_CIDFont_widths(pdev, pef); +- if (pef->FontType == ft_CID_TrueType) +- pdf_write_CIDToGIDMap(pdev, pef, &cidmap_id); ++ if (pef->FontType == ft_CID_TrueType) { ++ if (pef->embed != FONT_EMBED_NO) ++ pdf_write_CIDToGIDMap(pdev, pef, &cidmap_id); ++ } + break; + } + if (pef->Differences) { + diff --git a/print/ghostscript7-x11/files/patch-src:genarch.c b/print/ghostscript7-x11/files/patch-src:genarch.c new file mode 100644 index 000000000000..a015e69e758a --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src:genarch.c @@ -0,0 +1,34 @@ +--- src/genarch.c.orig Tue Jun 5 15:38:57 2001 ++++ src/genarch.c Wed Jun 20 04:17:42 2001 +@@ -41,6 +41,7 @@ + fprintf(f, "\n\t /* ---------------- %s ---------------- */\n\n", str); + } + ++#ifndef __FreeBSD__ + private clock_t + time_clear(char *buf, int bsize, int nreps) + { +@@ -51,6 +52,7 @@ + memset(buf, 0, bsize); + return clock() - t; + } ++#endif /* __FreeBSD__ */ + + private void + define(FILE *f, const char *str) +@@ -181,6 +183,7 @@ + fprintf(f, "((unsigned long)~0L + (unsigned long)0)\n"); + #undef PRINT_MAX + ++#ifndef __FreeBSD__ + section(f, "Cache sizes"); + + /* +@@ -241,6 +244,7 @@ + } + define_int(f, "ARCH_CACHE2_SIZE", bsize >> 1); + } ++#endif /* __FreeBSD__ */ + + section(f, "Miscellaneous"); + diff --git a/print/ghostscript7-x11/files/patch-src:gxobj.h b/print/ghostscript7-x11/files/patch-src:gxobj.h new file mode 100644 index 000000000000..f0df8565100c --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src:gxobj.h @@ -0,0 +1,17 @@ +--- src/gxobj.h.orig Fri Feb 22 19:45:59 2002 ++++ src/gxobj.h Thu Dec 19 00:16:57 2002 +@@ -99,10 +99,14 @@ + * The final | is because back pointer values are divided by obj_back_scale, + * so objects must be aligned at least 0 mod obj_back_scale. + */ ++#if !defined(__ia64__) && !defined(__amd64__) + #define obj_align_mod\ + (((arch_align_long_mod - 1) | (arch_align_ptr_mod - 1) |\ + (arch_align_double_mod - 1) | (align_bitmap_mod - 1) |\ + (obj_back_scale - 1)) + 1) ++#else ++#define obj_align_mod 16 ++#endif + /* The only possible values for obj_align_mod are 4, 8, or 16.... */ + #if obj_align_mod == 4 + # define log2_obj_align_mod 2 diff --git a/print/ghostscript7-x11/files/patch-src:unix-dll.mak b/print/ghostscript7-x11/files/patch-src:unix-dll.mak new file mode 100644 index 000000000000..f6032f9f08ac --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src:unix-dll.mak @@ -0,0 +1,87 @@ +--- src/unix-dll.mak.orig 2003-01-17 09:49:05.000000000 +0900 ++++ src/unix-dll.mak 2015-08-22 01:13:03.452736000 +0900 +@@ -47,12 +47,17 @@ + GSSOX=$(BINDIR)/$(SOBINRELDIR)/$(GSSOX_XENAME) + + # shared library +-GS_SONAME=lib$(GS).so ++GS_SONAME_BASE=lib$(GS) ++ ++GS_SOEXT=so ++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) ++GS_SONAME_MAJOR_MINOR=$(GS_SONAME).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR) ++LDFLAGS_SO=-shared -Wl,-soname=$(GS_SONAME_MAJOR) ++ + GS_SO=$(BINDIR)/$(GS_SONAME) +-GS_SO_MAJOR=$(GS_SO).$(GS_VERSION_MAJOR) +-GS_SO_MAJOR_MINOR=$(GS_SO_MAJOR).$(GS_VERSION_MINOR) ++GS_SO_MAJOR=$(BINDIR)/$(GS_SONAME_MAJOR) ++GS_SO_MAJOR_MINOR=$(BINDIR)/$(GS_SONAME_MAJOR_MINOR) + + # Shared object is built by redefining GS_XE in a recursive make. + +@@ -68,15 +73,16 @@ + + # Build the small Ghostscript loaders, with Gtk+ and without + +-$(GSSOX_XE): $(GS_SO) $(GLSRC)dxmain.c +- $(GLCC) -g `gtk-config --cflags` -o $(GSSOX_XE) $(GLSRC)dxmain.c -L$(BINDIR) -l$(GS) `gtk-config --libs` ++$(GSSOX_XE): $(GS_SO) $(GLSRC)$(SOC_LOADER) ++ $(GLCC) -g -o $(GSSOX_XE) $(GLSRC)dxmainc.c -L$(BINDIR) -l$(GS) + +-$(GSSOC_XE): $(GS_SO) $(GLSRC)dxmainc.c +- $(GLCC) -g -o $(GSSOC_XE) $(GLSRC)dxmainc.c -L$(BINDIR) -l$(GS) ++$(GSSOC_XE): $(GS_SO) $(GLSRC)$(SOC_LOADER) ++ $(GLCC) -g $(SOC_CFLAGS) -o $(GSSOC_XE) $(GLSRC)$(SOC_LOADER) \ ++ -L$(BINDIR) -l$(GS) $(SOC_LIBS) + + # ------------------------- Recursive make targets ------------------------- # + +-SODEFS=LDFLAGS='$(LDFLAGS) $(CFLAGS_SO) -shared -Wl,-soname,$(GS_SONAME_MAJOR)'\ ++SODEFS=LDFLAGS='$(LDFLAGS) $(LDFLAGS_SO)'\ + GS_XE=$(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR)\ + STDIO_IMPLEMENTATION=c\ + DISPLAY_DEV=$(DD)$(SOOBJRELDIR)/display.dev\ +@@ -98,21 +104,26 @@ + $(MAKE) $(SODEFS) GENOPT='-DDEBUG' CFLAGS='$(CFLAGS_DEBUG) $(CFLAGS_SO) $(GCFLAGS) $(XCFLAGS)' $(GSSOC) $(GSSOX) + + install-so: so +- -mkdir -p $(prefix) +- -mkdir -p $(datadir) +- -mkdir -p $(gsdir) +- -mkdir -p $(gsdatadir) +- -mkdir -p $(bindir) +- -mkdir -p $(libdir) +- $(INSTALL_PROGRAM) $(GSSOC) $(bindir)/$(GSSOC_XENAME) +- $(INSTALL_PROGRAM) $(GSSOX) $(bindir)/$(GSSOX_XENAME) +- $(INSTALL_PROGRAM) $(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME_MAJOR_MINOR) +- $(RM_) $(libdir)/$(GS_SONAME) +- ln -s $(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME) +- $(RM_) $(libdir)/$(GS_SONAME_MAJOR) +- ln -s $(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME_MAJOR) ++ -mkdir -p $(DESTDIR)$(prefix) ++ -mkdir -p $(DESTDIR)$(datadir) ++ -mkdir -p $(DESTDIR)$(gsdir) ++ -mkdir -p $(DESTDIR)$(gsdatadir) ++ -mkdir -p $(DESTDIR)$(bindir) ++ -mkdir -p $(DESTDIR)$(libdir) ++ -mkdir -p $(DESTDIR)$(gsincludedir) ++ $(INSTALL_PROGRAM) $(GSSOC) $(DESTDIR)$(bindir)/$(GSSOC_XENAME) ++ $(INSTALL_PROGRAM) $(GSSOX) $(DESTDIR)$(bindir)/$(GSSOX_XENAME) ++ $(INSTALL_PROGRAM) $(BINDIR)/$(SOBINRELDIR)/$(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) $(GLSRC)iapi.h $(DESTDIR)$(gsincludedir)iapi.h ++ $(INSTALL_DATA) $(GLSRC)errors.h $(DESTDIR)$(gsincludedir)ierrors.h ++ $(INSTALL_DATA) $(GLSRC)gdevdsp.h $(DESTDIR)$(gsincludedir)gdevdsp.h + +-soinstall: install-so install-scripts install-data ++ ++soinstall: install-so install-scripts install-data $(INSTALL_SHARED) $(INSTALL_CONTRIB) + + # Make the build directories + SODIRS: STDDIRS diff --git a/print/ghostscript7-x11/files/patch-src:zmedia2.c b/print/ghostscript7-x11/files/patch-src:zmedia2.c new file mode 100644 index 000000000000..9033a4388085 --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src:zmedia2.c @@ -0,0 +1,25 @@ +--- src/zmedia2.c.orig Fri Apr 27 02:57:41 2001 ++++ src/zmedia2.c Fri Nov 2 04:08:16 2001 +@@ -429,11 +429,17 @@ + + rx = ry, ry = temp; + } +- /* Adjust the medium size if flexible. */ +- if (medium->p.x < MIN_MEDIA_SIZE && mx > rx) +- mx = rx; +- if (medium->p.y < MIN_MEDIA_SIZE && my > ry) +- my = ry; ++ /* If 'medium' is flexible, adjust 'mx' and 'my' towards 'rx' and 'ry', ++ respectively. Note that 'mx' and 'my' have just acquired the largest ++ permissible value, medium->q. */ ++ if (medium->p.x < mx) /* non-empty width range */ ++ if (rx < medium->p.x) mx = medium->p.x; /* minimum */ ++ else if (mx > rx) mx = rx; /* fits */ ++ /* else use medium->q.x, i.e., the maximum */ ++ if (medium->p.y < my) /* non-empty height range */ ++ if (ry < medium->p.y) my = medium->p.y; /* minimum */ ++ else if (my > ry) my = ry; /* fits */ ++ /* else use medium->q.y, i.e., the maximum */ + + /* Translate to align the centers. */ + gs_make_translation(mx / 2, my / 2, pmat); diff --git a/print/ghostscript7-x11/files/patch-src_gdevhl12.c b/print/ghostscript7-x11/files/patch-src_gdevhl12.c new file mode 100644 index 000000000000..2976befa7cbe --- /dev/null +++ b/print/ghostscript7-x11/files/patch-src_gdevhl12.c @@ -0,0 +1,11 @@ +--- src/gdevhl12.c.orig Sun Aug 1 13:39:19 2004 ++++ src/gdevhl12.c Sun Aug 1 13:40:07 2004 +@@ -640,7 +640,7 @@ + case TRAY_MANUAL: + tray_pcl = "\033&l2H"; + break; +- default: ++ default: ; + } + if (pdev->PageCount == 0) { + /* initialize printer */ diff --git a/print/ghostscript7-x11/pkg-descr b/print/ghostscript7-x11/pkg-descr new file mode 100644 index 000000000000..3f3e1c25cef1 --- /dev/null +++ b/print/ghostscript7-x11/pkg-descr @@ -0,0 +1,8 @@ +This package installs X11 support library which adds the following +devices to the installed Ghostscript: + + x11, x11alpha, x11cmyk, x11cmyk2, x11cmyk4, x11cmyk8, x11gray2, + x11gray4, and x11mono. + +WWW: http://www.cs.wisc.edu/~ghost/doc/GPL/index.htm +WWW: http://www.ghostscript.com/ diff --git a/print/ghostscript7/files/patch-src-Makefile.in b/print/ghostscript7/files/patch-src-Makefile.in deleted file mode 100644 index c14ed1451594..000000000000 --- a/print/ghostscript7/files/patch-src-Makefile.in +++ /dev/null @@ -1,97 +0,0 @@ ---- src/Makefile.in.orig 2003-04-30 03:33:31.000000000 +0900 -+++ src/Makefile.in 2014-11-23 15:06:07.000000000 +0900 -@@ -50,8 +50,9 @@ - # initialization files (gs_*.ps) and the fonts. - - INSTALL = $(GLSRCDIR)/instcopy -c --INSTALL_PROGRAM = $(INSTALL) -m 755 --INSTALL_DATA = $(INSTALL) -m 644 -+INSTALL_PROGRAM = ${BSD_INSTALL_PROGRAM} -+INSTALL_SCRIPT = ${BSD_INSTALL_SCRIPT} -+INSTALL_DATA = ${BSD_INSTALL_DATA} - - prefix = @prefix@ - exec_prefix = @exec_prefix@ -@@ -142,7 +143,7 @@ - # some older JPEG streams that violate the standard. If the JPEG - # library built from local sources, the patch will be applied. - --SHARE_JPEG=@SHARE_LIBJPEG@ -+SHARE_JPEG=1 - JPEG_NAME=jpeg - - # Define the directory where the PNG library sources are stored, -@@ -150,14 +151,14 @@ - # You may need to change this if the libpng version changes. - # See libpng.mak for more information. - --SHARE_LIBPNG=@SHARE_LIBPNG@ -+SHARE_LIBPNG=1 - PSRCDIR=@LIBPNGDIR@ - LIBPNG_NAME=png - - # Define the directory where the zlib sources are stored. - # See zlib.mak for more information. - --SHARE_ZLIB=@SHARE_ZLIB@ -+SHARE_ZLIB=1 - ZSRCDIR=@ZLIBDIR@ - #ZLIB_NAME=gz - ZLIB_NAME=z -@@ -197,12 +198,12 @@ - CCLD=$(CC) - - # Define the general cc flags, warnings and such. --GCFLAGS=@GCFLAGS@ -+GCFLAGS=@CPPFLAGS@ @GCFLAGS@ @CFLAGS@ - - # Define the added flags for standard, debugging, profiling - # and shared object builds. - --CFLAGS_STANDARD=@OPT_CFLAGS@ -+CFLAGS_STANDARD?=@OPT_CFLAGS@ - CFLAGS_DEBUG=-g -O - CFLAGS_PROFILE=-pg @OPT_CFLAGS@ - CFLAGS_SO=-fPIC -@@ -218,7 +219,7 @@ - # We don't include -ansi, because this gets in the way of the platform- - # specific stuff that <math.h> typically needs; nevertheless, we expect - # gcc to accept ANSI-style function prototypes and function definitions. --XCFLAGS= -+XCFLAGS?= - - # defines from autoconf; note that we don't use these at present. - ACDEFS=@DEFS@ -@@ -232,9 +233,9 @@ - # -R /usr/local/xxx/lib:/usr/local/lib - # giving the full path names of the shared library directories. - # XLDFLAGS can be set from the command line. --XLDFLAGS= - --LDFLAGS=$(XLDFLAGS) -+LDFLAGS=@LDFLAGS@ -+XLDFLAGS=$(LDFLAGS) - - # Define any extra libraries to link into the executable. - # ISC Unix 2.2 wants -linet. -@@ -302,10 +303,10 @@ - - # If POSIX sync primitives are used, also change the STDLIBS to include - # the pthread library. --#SYNC=posync -+SYNC=posync - - # Default is No sync primitives since some platforms don't have it (HP-UX) --SYNC=nosync -+#SYNC=nosync - - # programs we use - RM=rm -f -@@ -410,6 +411,7 @@ - - # ---------------- End of platform-specific section ---------------- # - -+include $(GLSRCDIR)/drivers.mak - include $(GLSRCDIR)/unixhead.mak - include $(GLSRCDIR)/gs.mak - include $(GLSRCDIR)/lib.mak diff --git a/print/ghostscript7/files/patch-src-contrib.mak b/print/ghostscript7/files/patch-src-contrib.mak deleted file mode 100644 index 95c9c32d747a..000000000000 --- a/print/ghostscript7/files/patch-src-contrib.mak +++ /dev/null @@ -1,7 +0,0 @@ ---- src/contrib.mak.orig 2008-06-21 01:20:36.000000000 +0900 -+++ src/contrib.mak 2008-06-21 01:21:28.000000000 +0900 -@@ -878,3 +878,4 @@ - $(GLOBJ)gdevsunr.$(OBJ) : $(GLSRC)gdevsunr.c $(PDEVH) - $(GLCC) $(GLO_)gdevsunr.$(OBJ) $(C_) $(GLSRC)gdevsunr.c - -+include $(GLSRCDIR)/contrib_extra.mak diff --git a/print/ghostscript8/Makefile b/print/ghostscript8-base/Makefile index 4554f87c07f0..c77b8709e1db 100644 --- a/print/ghostscript8/Makefile +++ b/print/ghostscript8-base/Makefile @@ -3,48 +3,47 @@ PORTNAME= ghostscript PORTVERSION= 8.71 -PORTREVISION= 18 +PORTREVISION= 19 CATEGORIES= print MASTER_SITES= http://downloads.ghostscript.com/public/:gs_srcs \ SF/ghostscript/GPL%20Ghostscript/${PORTVERSION}:gs_srcs \ - ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs${PORTVERSION:S/.//}/:gs_srcs \ http://www.humblesoft.com/pub/:epag -PKGNAMESUFFIX= 8 +PKGNAMESUFFIX= 8-base DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:gs_srcs ${EPAG_SRCS}:epag DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} -EXTRACT_AFTER_ARGS= ${EXCLUDE_DIRS:S/^/--exclude /} MAINTAINER= doceng@FreeBSD.org -COMMENT= Ghostscript 8.x PostScript interpreter +COMMENT= Ghostscript 8.x PostScript interpreter, base part LICENSE= GPLv3 LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2 \ + libfreetype.so:${PORTSDIR}/print/freetype2 \ libjasper.so:${PORTSDIR}/graphics/jasper \ libjbig2dec.so:${PORTSDIR}/graphics/jbig2dec \ - libpng.so:${PORTSDIR}/graphics/png \ libpaper.so:${PORTSDIR}/print/libpaper \ + libpng.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/fonts/a010013l.pfb:${PORTSDIR}/print/gsfonts CONFLICTS_INSTALL= \ gambc-[0-9]* \ - ghostscript[79]-[0-9]* \ - ghostscript[79]-nox11-[0-9]* \ + ghostscript[789]-[0-9]* \ + ghostscript[789]-nox11-[0-9]* \ ghostscript9-agpl-[0-9]* \ ghostscript9-agpl-nox11-[0-9]* -USES= gmake jpeg pkgconfig tar:xz shebangfix -SHEBANG_FILES= ${WRKSRC}/lib/fixmswrd.pl -WANT_GNOME= yes +USES= autoreconf gmake pkgconfig shebangfix tar:xz USE_LDCONFIG= yes -USE_AUTOTOOLS= autoconf +SHEBANG_FILES= ${WRKSRC}/lib/fixmswrd.pl +EXTRACT_AFTER_ARGS= ${EXCLUDE_DIRS:S/^/--exclude /} GNU_CONFIGURE= yes - +DATADIR= ${PREFIX}/share/${PORTNAME}/${PORTVERSION} MAKE_JOBS_UNSAFE= yes MAKE_ENV= CFLAGS_STANDARD="${CFLAGS}" \ XCFLAGS="${XCFLAGS}" XLDFLAGS="${XLDFLAGS}" \ + FT_BRIDGE=1 FT_ROOT="${WRKSRC}/freetype" FT_LIB_EXT=".so" \ SOC_LOADER="dxmainc.c" CONFIGURE_ENV= ${MAKE_ENV} CONFIGURE_ARGS= --disable-compile-inits \ @@ -53,47 +52,36 @@ CONFIGURE_ARGS= --disable-compile-inits \ --with-ijs \ --with-jasper \ --with-libpaper \ + --without-x \ + --disable-gtk \ --with-drivers="" CPPFLAGS+= -DUPD_SIGNAL=0 -I. \ -I${WRKSRC}/jasper/src/libjasper/include \ + -I${LOCALBASE}/include/freetype2 \ -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib XCFLAGS= -DA4 XLDFLAGS= -lpthread - -PLIST_SUB= GS_VERSION="${PORTVERSION}" \ - CIDFONTDIR="${CIDFONTDIR:S,^${PREFIX}/,,}" +ALL_TARGET= so +INSTALL_TARGET= soinstall +PLIST_SUB= SHLIB_VER="${PORTVERSION:R}" \ + GS_VERSION="${PORTVERSION}" SUB_FILES= pkg-message -SUB_LIST= DATADIR=${DATADIR} PORTVERSION=${PORTVERSION} PKGMESSAGE= ${WRKDIR}/pkg-message -OPTIONS_DEFINE= X11 DOCS CAIRO CUPS FONTCONFIG GTK2 ICONV -OPTIONS_DEFAULT=X11 DOCS CAIRO CUPS FONTCONFIG ICONV +OPTIONS_DEFINE= DOCS CAIRO CUPS FONTCONFIG ICONV +OPTIONS_DEFAULT=DOCS CAIRO CUPS FONTCONFIG ICONV OPTIONS_SUB= yes FONTCONFIG_DESC=Enable fontconfig support +FONTCONFIG_LIB_DEPENDS= libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig +FONTCONFIG_CONFIGURE_ENABLE= fontconfig NO_OPTIONS_SORT=yes -CIDFONTDIR= ${DATADIR}/${PORTVERSION}/Resource EXCLUDE_DIRS= jbig2dec jpeg expat jasper libpng tiff zlib .include "Makefile.drivers" .include <bsd.port.options.mk> - -MASTERDIR?= ${.CURDIR} -.include "${MASTERDIR}/files/Makefile.drivers_post" - -FONTCONFIG_LIB_DEPENDS= libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig -FONTCONFIG_CONFIGURE_ENABLE= fontconfig - -# FT_BRIDGE=1 by default -LIB_DEPENDS+= libfreetype.so:${PORTSDIR}/print/freetype2 -MAKE_ENV+= FT_BRIDGE=1 FT_ROOT="${WRKSRC}/freetype" FT_LIB_EXT=".so" -CPPFLAGS+= -I${LOCALBASE}/include/freetype2 - -ALL_TARGET= so -INSTALL_TARGET= soinstall -USE_LDCONFIG= yes -PLIST_SUB+= SHLIB_VER="${PORTVERSION:R}" +.include "files/Makefile.drivers_post" PORTDOCS= japanese chp2200 epson740 lxm3200-tweaked md2k_md5k PORTDOC_FILES= japanese/Gdevlips.htm japanese/README.gs550j \ @@ -111,8 +99,7 @@ PORTDOC_FILES= japanese/Gdevlips.htm japanese/README.gs550j \ lxm3200-tweaked/Z12-Z31-QuickSetup md2k_md5k/README.jis post-patch: - ${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g ; \ - s|%%GS_VERSION%%|${PORTVERSION}|g' \ + ${REINPLACE_CMD} -e 's,%%DATADIR%%,${DATADIR},' \ ${WRKSRC}/contrib/japanese/dmp_site.ps pre-build-drivers.mak: @@ -121,7 +108,6 @@ pre-build-drivers.mak: @${ECHO_CMD} 'DEVICE_${N}=' >> ${WRKSRC}/base/drivers.mak .endfor .for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} \ - ${OPTIONS_MULTI_X11:MGS_*:S/^GS_//} \ ${OPTIONS_GROUP_ICONV:MGS_*:S/^GS_//} \ ${OPTIONS_GROUP_SVGALIB:MGS_*:S/^GS_//} .for N in ${DEVS_LIST} @@ -145,10 +131,12 @@ pre-build: pre-build-drivers.mak ${LN} -s -f ${LOCALBASE}/lib/libfreetype.so \ ${WRKSRC}/freetype/objs/freetype214MT_D.so -pre-su-install: +pre-install: + cd ${WRKSRC}/Resource/Init && ${RM} -f \ + gs_statd.ps.orig gs_ttf.ps.orig pdf_font.ps.orig ${MKDIR} ${STAGEDIR}${DATADIR} -post-install-docs: +post-install-DOCS-on: post-install-docs ${MKDIR} ${WRKSRC}/contrib/japanese ${INSTALL_DATA} ${WRKSRC}/contrib/japanese/doc/* \ ${WRKSRC}/contrib/japanese @@ -160,13 +148,9 @@ post-install-docs: post-install: ${INSTALL_DATA} ${WRKSRC}/lib/FAPIcidfmap \ ${WRKSRC}/lib/FAPIconfig ${WRKSRC}/lib/FAPIfontmap \ - ${STAGEDIR}${DATADIR}/${PORTVERSION}/Resource/Init + ${STAGEDIR}${DATADIR}/Resource/Init ${LN} -sf gsc ${STAGEDIR}${PREFIX}/bin/gs ${LN} -s -f ${LOCALBASE}/share/fonts/CIDFont \ - ${STAGEDIR}${CIDFONTDIR}/CIDFont - -.if ${PORT_OPTIONS:MDOCS} -post-install: post-install-docs -.endif + ${STAGEDIR}${DATADIR}/Resource/CIDFont .include <bsd.port.mk> diff --git a/print/ghostscript8/Makefile.drivers b/print/ghostscript8-base/Makefile.drivers index 9b2b26b36554..cd0027278b5a 100644 --- a/print/ghostscript8/Makefile.drivers +++ b/print/ghostscript8-base/Makefile.drivers @@ -1,20 +1,5 @@ # $FreeBSD$ -OPTIONS_X11= \ - GS_x11 \ - GS_x11alpha \ - GS_x11cmyk \ - GS_x11cmyk2 \ - GS_x11cmyk4 \ - GS_x11cmyk8 \ - GS_x11gray2 \ - GS_x11gray4 \ - GS_x11mono \ - GS_x11rg16x \ - GS_x11rg32x -OPTIONS_MULTI= X11 -OPTIONS_MULTI_X11= ${OPTIONS_X11} - OPTIONS_SVGALIB= \ GS_lvga256 \ GS_vgalib @@ -323,7 +308,6 @@ OPTIONS_DEFINE+= \ GS_wtscmyk OPTIONS_DEFAULT+= \ - ${OPTIONS_X11} \ ${OPTIONS_SVGALIB} \ ${OPTIONS_ICONV} \ ${OPTIONS_CAIRO} \ @@ -614,17 +598,6 @@ OPTIONS_DEFAULT+= \ GS_wtsimdi \ GS_wtscmyk -GS_x11_DESC= D: X Window System version 11 -GS_x11alpha_DESC= D: X Window System masquer. alpha capability -GS_x11cmyk_DESC= D: X Window System masquer. 1bit/plane CMYK -GS_x11cmyk2_DESC= D: X Window System 2-bit-per-plane CMYK -GS_x11cmyk4_DESC= D: X Window System 4-bit-per-plane CMYK -GS_x11cmyk8_DESC= D: X Window System 8-bit-per-plane CMYK -GS_x11gray2_DESC= D: X Window System 2-bit gray-scale -GS_x11gray4_DESC= D: X Window System 4-bit gray-scale -GS_x11mono_DESC= D: X Window System masquer. black-and-white -GS_x11rg16x_DESC= D: X Window System G5/B5/R6 pixel layout -GS_x11rg32x_DESC= D: X Window System G11/B10/R11 pixel layout GS_lvga256_DESC= D: SVGAlib, 256-color VGA modes GS_vgalib_DESC= D: SVGAlib, 16-color VGA modes GS_oprp_DESC= D: OpenPrinting Raster driver interface diff --git a/print/ghostscript8/distinfo b/print/ghostscript8-base/distinfo index 1ca75e1e5231..1ca75e1e5231 100644 --- a/print/ghostscript8/distinfo +++ b/print/ghostscript8-base/distinfo diff --git a/print/ghostscript8-base/files/Makefile.dmprt b/print/ghostscript8-base/files/Makefile.dmprt new file mode 100644 index 000000000000..6cbc6957f6c3 --- /dev/null +++ b/print/ghostscript8-base/files/Makefile.dmprt @@ -0,0 +1,8 @@ +# $FreeBSD$ + +post-install-dmprt: + cd ${FILESDIR} && \ + ${INSTALL_DATA} lqx70ch.upp lqx70cl.upp lqx70cm.upp \ + ${STAGEDIR}${DATADIR}/lib + +post-install: post-install-dmprt diff --git a/print/ghostscript8/files/Makefile.drivers_post b/print/ghostscript8-base/files/Makefile.drivers_post index 75ffa4cde2f0..cdb8a6ccb31f 100644 --- a/print/ghostscript8/files/Makefile.drivers_post +++ b/print/ghostscript8-base/files/Makefile.drivers_post @@ -64,37 +64,6 @@ OPTIONS_UNSET+= ${PORT_OPTIONS:MGS_${D}} LIB_DEPENDS+= libvga.so:${PORTSDIR}/graphics/svgalib .endif -# x11 specific -X11_DEVS= x11 x11alpha x11cmyk x11cmyk2 x11cmyk4 x11cmyk8 x11gray2 \ - x11gray4 x11mono x11rg16x x11rg32x display -.undef _X11_DEVS - -.for D in ${X11_DEVS} -.if ${PORT_OPTIONS:MX11} && ${PORT_OPTIONS:MGS_${D}} -_X11_DEVS+= ${D} -.else -PORT_OPTIONS:= ${PORT_OPTIONS:NGS_${D}} -.endif -.endfor - -.if defined(_X11_DEVS) -USE_XORG= xt xext -CONFIGURE_ARGS+=--with-x \ - --x-includes=${LOCALBASE}/include \ - --x-libraries=${LOCALBASE}/lib -CONFLICTS_INSTALL+= ghostscript8-nox11-[0-9]* -.if ${PORT_OPTIONS:MGTK2} -USE_GNOME= atk gdkpixbuf2 glib20 gtk20 -CONFIGURE_ARGS+=--enable-gtk -.else -CONFIGURE_ARGS+=--disable-gtk -.endif -.else # defined(_X11_DEVS) -PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-nox11 -CONFIGURE_ARGS+=--without-x --disable-gtk -CONFLICTS_INSTALL+= ghostscript8-[0-9]* -.endif # defined(_X11_DEVS) - # iconv specific ICONV_DEVS= oprp opvp .undef _ICONV_DEVS diff --git a/print/ghostscript8/files/Makefile.epag b/print/ghostscript8-base/files/Makefile.epag index 96141325b372..96141325b372 100644 --- a/print/ghostscript8/files/Makefile.epag +++ b/print/ghostscript8-base/files/Makefile.epag diff --git a/print/ghostscript8-base/files/Makefile.pcl3 b/print/ghostscript8-base/files/Makefile.pcl3 new file mode 100644 index 000000000000..288624b34ab4 --- /dev/null +++ b/print/ghostscript8-base/files/Makefile.pcl3 @@ -0,0 +1,36 @@ +# $FreeBSD$ + +PORTDOCS+= pcl3 +PORTDOC_FILES+= pcl3/NEWS pcl3/BUGS pcl3/README pcl3/gs-pcl3.html \ + pcl3/how-to-report.txt pcl3/pcl3opts.html + +post-build-pcl3: + cd ${WRKSRC} && \ + ${CC} ${CFLAGS} -I./obj -I./soobj -I./base \ + -I./contrib/pcl3/eprn -o bin/pcl3opts \ + contrib/pcl3/src/pcl3opts.c contrib/pcl3/src/pclscan.c \ + contrib/pcl3/eprn/mediasize.c contrib/pcl3/src/pclsize.c + +post-install-pcl3: + ${INSTALL_PROGRAM} ${WRKSRC}/bin/pcl3opts ${STAGEDIR}${PREFIX}/bin + ${MKDIR} ${STAGEDIR}${DATADIR}/pcl3 + cd ${WRKSRC}/contrib/pcl3 && \ + ${INSTALL_DATA} lib/example.mcf lib/if-pcl3 \ + ps/calign.ps ps/dumppdd.ps ps/levels-test.ps \ + ps/margins-A4.ps ps/margins-A4Rotated.ps \ + ps/margins-Env10Rotated.ps \ + ps/margins-EnvDLRotated.ps \ + ps/margins-Letter.ps \ + ps/margins-LetterRotated.ps \ + ${STAGEDIR}${DATADIR}/pcl3 + cd ${WRKSRC}/contrib/pcl3/doc && \ + ${INSTALL_MAN} gs-pcl3.1 pcl3opts.1 \ + ${STAGEDIR}${MANPREFIX}/man/man1 + +post-install-docs-pcl3: + ${MKDIR} ${WRKSRC}/contrib/pcl3 + ${INSTALL_DATA} ${WRKSRC}/contrib/pcl3/doc/* ${WRKSRC}/contrib/pcl3 + +post-build: post-build-pcl3 +post-install: post-install-pcl3 +post-install-docs: post-install-docs-pcl3 diff --git a/print/ghostscript8/files/epag.contrib.mak b/print/ghostscript8-base/files/epag.contrib.mak index 2e6117ad4b51..2e6117ad4b51 100644 --- a/print/ghostscript8/files/epag.contrib.mak +++ b/print/ghostscript8-base/files/epag.contrib.mak diff --git a/print/ghostscript8/files/lqx70ch.upp b/print/ghostscript8-base/files/lqx70ch.upp index b5d3cd49e912..b5d3cd49e912 100644 --- a/print/ghostscript8/files/lqx70ch.upp +++ b/print/ghostscript8-base/files/lqx70ch.upp diff --git a/print/ghostscript8/files/lqx70cl.upp b/print/ghostscript8-base/files/lqx70cl.upp index 91fb1aa89906..91fb1aa89906 100644 --- a/print/ghostscript8/files/lqx70cl.upp +++ b/print/ghostscript8-base/files/lqx70cl.upp diff --git a/print/ghostscript8/files/lqx70cm.upp b/print/ghostscript8-base/files/lqx70cm.upp index 895af73aa8d8..895af73aa8d8 100644 --- a/print/ghostscript8/files/lqx70cm.upp +++ b/print/ghostscript8-base/files/lqx70cm.upp diff --git a/print/ghostscript8/files/patch-Resource-Init-cidfmap b/print/ghostscript8-base/files/patch-Resource-Init-cidfmap index 8ed71789f4fe..8ed71789f4fe 100644 --- a/print/ghostscript8/files/patch-Resource-Init-cidfmap +++ b/print/ghostscript8-base/files/patch-Resource-Init-cidfmap diff --git a/print/ghostscript8/files/patch-Resource-Init-gs_statd.ps b/print/ghostscript8-base/files/patch-Resource-Init-gs_statd.ps index ab50080daeb8..ab50080daeb8 100644 --- a/print/ghostscript8/files/patch-Resource-Init-gs_statd.ps +++ b/print/ghostscript8-base/files/patch-Resource-Init-gs_statd.ps diff --git a/print/ghostscript8/files/patch-Resource-Init-gs_ttf.ps b/print/ghostscript8-base/files/patch-Resource-Init-gs_ttf.ps index 0d5a025abe1c..0d5a025abe1c 100644 --- a/print/ghostscript8/files/patch-Resource-Init-gs_ttf.ps +++ b/print/ghostscript8-base/files/patch-Resource-Init-gs_ttf.ps diff --git a/print/ghostscript8/files/patch-Resource-Init-pdf_font.ps b/print/ghostscript8-base/files/patch-Resource-Init-pdf_font.ps index c966e57fba11..c966e57fba11 100644 --- a/print/ghostscript8/files/patch-Resource-Init-pdf_font.ps +++ b/print/ghostscript8-base/files/patch-Resource-Init-pdf_font.ps diff --git a/print/ghostscript8/files/patch-base-Makefile.in b/print/ghostscript8-base/files/patch-base-Makefile.in index fdfac547a986..fdfac547a986 100644 --- a/print/ghostscript8/files/patch-base-Makefile.in +++ b/print/ghostscript8-base/files/patch-base-Makefile.in diff --git a/print/ghostscript8-base/files/patch-base-configure.ac b/print/ghostscript8-base/files/patch-base-configure.ac new file mode 100644 index 000000000000..955405b1c8e7 --- /dev/null +++ b/print/ghostscript8-base/files/patch-base-configure.ac @@ -0,0 +1,57 @@ +--- base/configure.ac.orig 2009-11-24 17:36:27.000000000 +0900 ++++ base/configure.ac 2015-08-21 20:48:08.929511000 +0900 +@@ -402,7 +402,7 @@ + PNGDEVS="$PNGDEVS_ALL" + else + AC_MSG_RESULT([no]) +- AC_CHECK_LIB(png, png_check_sig, [ ++ AC_CHECK_LIB(png, png_sig_cmp, [ + AC_CHECK_HEADERS(png.h, [ + SHARE_LIBPNG=1 + PNGDEVS="$PNGDEVS_ALL" +@@ -434,7 +434,7 @@ + AC_CHECK_LIB(tiff, TIFFOpen, + [AC_CHECK_HEADERS(tiff.h, [HAVE_SYSTEM_LIBTIFF=1;SHARE_LIBTIFF=1])], + [], [-ljpeg]) +- 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 + AC_MSG_NOTICE([Could not find a copy of libtiff on your system. + Disabling tiff output devices.]) + else +@@ -758,7 +758,7 @@ + X_DEVS="" + X_LIBS="" + +-if test x$no_x != xyes; then ++if test x$with_x != xno; then + if test "$x_libraries" = "/usr/lib"; then + echo "Ignoring X library directory \"$x_libraries\" requested by configure." + x_libraries="NONE" +@@ -1063,7 +1063,11 @@ + ;; + *BSD) + DYNAMIC_CFLAGS="-fPIC" +- DYNAMIC_DEVS="\$(GLOBJDIR)/X11.so" ++ if test "x$X_DEVS" != x; then ++ INSTALL_SHARED="install-shared" ++ else ++ DYNAMIC_DEVS="" ++ fi + DYNAMIC_FLAGS="-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\\\"\$(gssharedir)\\\"" + DYNAMIC_LDFLAGS="-fPIC -shared" + DYNAMIC_LIBS="" +@@ -1119,11 +1123,11 @@ + fontpath="${fontpath}:$datadir/fonts/default/TrueType" + + # These font directories are used by IRIX... +- fontpath="${fontpath}:/usr/lib/DPS/outline/base" ++ # fontpath="${fontpath}:/usr/lib/DPS/outline/base" + + # These font directories are used by Solaris... +- fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/Type1" +- fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/TrueType" ++ # fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/Type1" ++ # fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/TrueType" + + # This font directory is used by CUPS... + if test "x$CUPSCONFIG" != x; then diff --git a/print/ghostscript8/files/patch-base-contrib.mak b/print/ghostscript8-base/files/patch-base-contrib.mak index 9f9406007bb4..9f9406007bb4 100644 --- a/print/ghostscript8/files/patch-base-contrib.mak +++ b/print/ghostscript8-base/files/patch-base-contrib.mak diff --git a/print/ghostscript8-base/files/patch-base-devs.mak b/print/ghostscript8-base/files/patch-base-devs.mak new file mode 100644 index 000000000000..8c7cc96f7620 --- /dev/null +++ b/print/ghostscript8-base/files/patch-base-devs.mak @@ -0,0 +1,42 @@ +--- base/devs.mak.orig 2009-11-12 00:50:28.000000000 +0900 ++++ base/devs.mak 2015-08-21 20:37:24.364436000 +0900 +@@ -421,10 +421,10 @@ + ### NON PORTABLE, ONLY UNIX WITH GCC SUPPORT + + $(GLOBJ)lvga256.so : $(lvga256_) +- $(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)lvga256.so $(lvga256_) -lvga -lvgagl ++ $(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)lvga256.so $(lvga256_) -lvga -lvgagl $(XLDFLAGS) + + $(GLOBJ)vgalib.so : $(vgalib_) +- $(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)vgalib.so $(vgalib_) -lvga -lvgagl ++ $(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)vgalib.so $(vgalib_) -lvga -lvgagl $(XLDFLAGS) + + ### -------------------------- The X11 device -------------------------- ### + +@@ -457,7 +457,7 @@ + $(GLCCSHARED) $(XINCLUDE) $(GLO_)gdevx.$(OBJ) $(C_) $(GLSRC)gdevx.c + + $(GLOBJ)gdevxcmp.$(OBJ) : $(GLSRC)gdevxcmp.c $(GDEVX) $(math__h) +- $(GLCC) $(XINCLUDE) $(GLO_)gdevxcmp.$(OBJ) $(C_) $(GLSRC)gdevxcmp.c ++ $(GLCCSHARED) $(XINCLUDE) $(GLO_)gdevxcmp.$(OBJ) $(C_) $(GLSRC)gdevxcmp.c + + $(GLOBJ)gdevxini.$(OBJ) : $(GLSRC)gdevxini.c $(GDEVX) $(memory__h)\ + $(gserrors_h) $(gsparamx_h) $(gxdevmem_h) $(gdevbbox_h) +@@ -467,7 +467,7 @@ + # const/non-const cast required by the X headers that we can't work around. + $(GLOBJ)gdevxres.$(OBJ) : $(GLSRC)gdevxres.c $(std_h) $(x__h)\ + $(gsmemory_h) $(gstypes_h) $(gxdevice_h) $(gdevx_h) +- $(CC_NO_WARN) $(GLCCFLAGS) $(XINCLUDE) $(GLO_)gdevxres.$(OBJ) $(C_) $(GLSRC)gdevxres.c ++ $(GLCCSHARED) $(XINCLUDE) $(GLO_)gdevxres.$(OBJ) $(C_) $(GLSRC)gdevxres.c + + $(GLOBJ)gdevxxf.$(OBJ) : $(GLSRC)gdevxxf.c $(GDEVX) $(math__h) $(memory__h)\ + $(gsstruct_h) $(gsutil_h) $(gxxfont_h) +@@ -527,7 +527,7 @@ + ### NON PORTABLE, ONLY UNIX WITH GCC SUPPORT + + $(GLOBJ)X11.so : $(x11alt_) $(x11_) +- $(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)X11.so $(x11alt_) $(x11_) -L/usr/X11R6/lib -lXt -lSM -lICE -lXext -lX11 $(XLIBDIRS) ++ $(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)X11.so $(x11alt_) $(x11_) -L$(LOCALBASE)/lib -lXt -lSM -lICE -lXext -lX11 $(XLIBDIRS) + + ###### --------------- Memory-buffered printer devices --------------- ###### + diff --git a/print/ghostscript8/files/patch-base-errors.h b/print/ghostscript8-base/files/patch-base-errors.h index 89a493c96120..89a493c96120 100644 --- a/print/ghostscript8/files/patch-base-errors.h +++ b/print/ghostscript8-base/files/patch-base-errors.h diff --git a/print/ghostscript8/files/patch-base-gdevl256.c b/print/ghostscript8-base/files/patch-base-gdevl256.c index 60be4a072b51..60be4a072b51 100644 --- a/print/ghostscript8/files/patch-base-gdevl256.c +++ b/print/ghostscript8-base/files/patch-base-gdevl256.c diff --git a/print/ghostscript8/files/patch-base-gdevperm.c b/print/ghostscript8-base/files/patch-base-gdevperm.c index 94b9020eb2c5..94b9020eb2c5 100644 --- a/print/ghostscript8/files/patch-base-gdevperm.c +++ b/print/ghostscript8-base/files/patch-base-gdevperm.c diff --git a/print/ghostscript8/files/patch-base-gdevvglb.c b/print/ghostscript8-base/files/patch-base-gdevvglb.c index b0f061ff3a66..b0f061ff3a66 100644 --- a/print/ghostscript8/files/patch-base-gdevvglb.c +++ b/print/ghostscript8-base/files/patch-base-gdevvglb.c diff --git a/print/ghostscript8/files/patch-base-gs.mak b/print/ghostscript8-base/files/patch-base-gs.mak index ecb6f57e0dd7..ecb6f57e0dd7 100644 --- a/print/ghostscript8/files/patch-base-gs.mak +++ b/print/ghostscript8-base/files/patch-base-gs.mak diff --git a/print/ghostscript8-base/files/patch-base-gsmalloc.c b/print/ghostscript8-base/files/patch-base-gsmalloc.c new file mode 100644 index 000000000000..c4982de93012 --- /dev/null +++ b/print/ghostscript8-base/files/patch-base-gsmalloc.c @@ -0,0 +1,11 @@ +--- base/gsmalloc.c.orig 2015-07-24 09:52:39.718916000 +0900 ++++ base/gsmalloc.c 2015-07-24 09:54:31.761202000 +0900 +@@ -174,7 +174,7 @@ + } 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 *) malloc(added)) == 0) + set_msg("failed"); diff --git a/print/ghostscript8/files/patch-base-gxobj.h b/print/ghostscript8-base/files/patch-base-gxobj.h index 529efe379df2..529efe379df2 100644 --- a/print/ghostscript8/files/patch-base-gxobj.h +++ b/print/ghostscript8-base/files/patch-base-gxobj.h diff --git a/print/ghostscript8/files/patch-base-ijs.mak b/print/ghostscript8-base/files/patch-base-ijs.mak index 26e407247ede..26e407247ede 100644 --- a/print/ghostscript8/files/patch-base-ijs.mak +++ b/print/ghostscript8-base/files/patch-base-ijs.mak diff --git a/print/ghostscript8/files/patch-base-lib.mak b/print/ghostscript8-base/files/patch-base-lib.mak index a378aa798ea1..037390f44f0d 100644 --- a/print/ghostscript8/files/patch-base-lib.mak +++ b/print/ghostscript8-base/files/patch-base-lib.mak @@ -1,5 +1,14 @@ ---- base/lib.mak.orig 2013-04-18 04:24:52.000000000 +0900 -+++ base/lib.mak 2013-04-18 04:25:13.000000000 +0900 +--- base/lib.mak.orig 2009-12-30 07:18:01.000000000 +0900 ++++ base/lib.mak 2015-08-21 20:39:55.003384000 +0900 +@@ -895,7 +895,7 @@ + $(GLOBJ)gsparamx.$(OBJ) : $(GLSRC)gsparamx.c $(string__h)\ + $(gserror_h) $(gserrors_h) $(gsmemory_h) $(gsparam_h) $(gsparamx_h)\ + $(gstypes_h) +- $(GLCC) $(GLO_)gsparamx.$(OBJ) $(C_) $(GLSRC)gsparamx.c ++ $(GLCCSHARED) $(GLO_)gsparamx.$(OBJ) $(C_) $(GLSRC)gsparamx.c + + # Future replacement for gsparams.c + $(GLOBJ)gsparam2.$(OBJ) : $(GLSRC)gsparam2.c $(GXERR) $(memory__h)\ @@ -2684,12 +2684,12 @@ # This is used to access compressed, compiled-in support files gsiorom_h=$(GLSRC)gsiorom.h diff --git a/print/ghostscript8/files/patch-base-sjpx.c b/print/ghostscript8-base/files/patch-base-sjpx.c index 761f1423b700..761f1423b700 100644 --- a/print/ghostscript8/files/patch-base-sjpx.c +++ b/print/ghostscript8-base/files/patch-base-sjpx.c diff --git a/print/ghostscript8/files/patch-base-unix-dll.mak b/print/ghostscript8-base/files/patch-base-unix-dll.mak index 96876e3bfb15..96876e3bfb15 100644 --- a/print/ghostscript8/files/patch-base-unix-dll.mak +++ b/print/ghostscript8-base/files/patch-base-unix-dll.mak diff --git a/print/ghostscript8/files/patch-base-unix-gcc.mak b/print/ghostscript8-base/files/patch-base-unix-gcc.mak index 4277ce7ed6c3..4277ce7ed6c3 100644 --- a/print/ghostscript8/files/patch-base-unix-gcc.mak +++ b/print/ghostscript8-base/files/patch-base-unix-gcc.mak diff --git a/print/ghostscript8/files/patch-base-unixinst.mak b/print/ghostscript8-base/files/patch-base-unixinst.mak index 4f6006f3a9a8..4f6006f3a9a8 100644 --- a/print/ghostscript8/files/patch-base-unixinst.mak +++ b/print/ghostscript8-base/files/patch-base-unixinst.mak diff --git a/print/ghostscript8/files/patch-contrib-contrib.mak b/print/ghostscript8-base/files/patch-contrib-contrib.mak index f255865761a5..f255865761a5 100644 --- a/print/ghostscript8/files/patch-contrib-contrib.mak +++ b/print/ghostscript8-base/files/patch-contrib-contrib.mak diff --git a/print/ghostscript8/files/patch-contrib__japanese__dmp_site.ps b/print/ghostscript8-base/files/patch-contrib__japanese__dmp_site.ps index 9f7ad073a58a..472e54c82318 100644 --- a/print/ghostscript8/files/patch-contrib__japanese__dmp_site.ps +++ b/print/ghostscript8-base/files/patch-contrib__japanese__dmp_site.ps @@ -1,11 +1,11 @@ ---- contrib/japanese/dmp_site.ps.orig Wed Nov 29 20:56:17 2006 -+++ contrib/japanese/dmp_site.ps Sun May 13 21:06:03 2007 +--- contrib/japanese/dmp_site.ps.orig 2007-05-09 07:00:10.000000000 +0900 ++++ contrib/japanese/dmp_site.ps 2015-08-21 19:15:38.311336000 +0900 @@ -1,7 +1,7 @@ %! BeginConfig %%%%%%%%%%%%%%%%%%%%%% Standard user cusomizations %%%%%%%%%%%%%%%%%%%%% -/printer (escp_24.src) -+/printer (%%DATADIR%%/%%GS_VERSION%%/lib/escp_24.src) ++/printer (%%DATADIR%%/lib/escp_24.src) % horizontal / vertical % /resolution [ 180.0 180.0 ] % horizontal / vertical diff --git a/print/ghostscript8/files/patch-contrib__japanese__gdevdmpr.c b/print/ghostscript8-base/files/patch-contrib__japanese__gdevdmpr.c index 1e6c3261d464..1e6c3261d464 100644 --- a/print/ghostscript8/files/patch-contrib__japanese__gdevdmpr.c +++ b/print/ghostscript8-base/files/patch-contrib__japanese__gdevdmpr.c diff --git a/print/ghostscript8/files/patch-epag-ert.c b/print/ghostscript8-base/files/patch-epag-ert.c index f063aeddabc2..f063aeddabc2 100644 --- a/print/ghostscript8/files/patch-epag-ert.c +++ b/print/ghostscript8-base/files/patch-epag-ert.c diff --git a/print/ghostscript8/files/patch-epag__gdevepag.c b/print/ghostscript8-base/files/patch-epag__gdevepag.c index 6012768b4d9c..6012768b4d9c 100644 --- a/print/ghostscript8/files/patch-epag__gdevepag.c +++ b/print/ghostscript8-base/files/patch-epag__gdevepag.c diff --git a/print/ghostscript8/files/patch-lib-FAPIcidfmap b/print/ghostscript8-base/files/patch-lib-FAPIcidfmap index 156c3e8458f2..156c3e8458f2 100644 --- a/print/ghostscript8/files/patch-lib-FAPIcidfmap +++ b/print/ghostscript8-base/files/patch-lib-FAPIcidfmap diff --git a/print/ghostscript8/files/patch-lib-FAPIconfig b/print/ghostscript8-base/files/patch-lib-FAPIconfig index f72f2fd9a6c0..f72f2fd9a6c0 100644 --- a/print/ghostscript8/files/patch-lib-FAPIconfig +++ b/print/ghostscript8-base/files/patch-lib-FAPIconfig diff --git a/print/ghostscript8/files/patch-lib-pdf2dsc.ps b/print/ghostscript8-base/files/patch-lib-pdf2dsc.ps index dab7f7a1b84c..dab7f7a1b84c 100644 --- a/print/ghostscript8/files/patch-lib-pdf2dsc.ps +++ b/print/ghostscript8-base/files/patch-lib-pdf2dsc.ps diff --git a/print/ghostscript8/files/patch-libpng15 b/print/ghostscript8-base/files/patch-libpng15 index dca4f07607f7..dca4f07607f7 100644 --- a/print/ghostscript8/files/patch-libpng15 +++ b/print/ghostscript8-base/files/patch-libpng15 diff --git a/print/ghostscript8/files/patch-lips:gdevlips.c b/print/ghostscript8-base/files/patch-lips:gdevlips.c index 95f8b06f4841..95f8b06f4841 100644 --- a/print/ghostscript8/files/patch-lips:gdevlips.c +++ b/print/ghostscript8-base/files/patch-lips:gdevlips.c diff --git a/print/ghostscript8/files/patch-lips:gdevlips.h b/print/ghostscript8-base/files/patch-lips:gdevlips.h index b3520ba1ac33..b3520ba1ac33 100644 --- a/print/ghostscript8/files/patch-lips:gdevlips.h +++ b/print/ghostscript8-base/files/patch-lips:gdevlips.h diff --git a/print/ghostscript8/files/patch-psi-zicc.c b/print/ghostscript8-base/files/patch-psi-zicc.c index 98c4eed85c37..98c4eed85c37 100644 --- a/print/ghostscript8/files/patch-psi-zicc.c +++ b/print/ghostscript8-base/files/patch-psi-zicc.c diff --git a/print/ghostscript9-agpl/files/pkg-message.in b/print/ghostscript8-base/files/pkg-message.in index ea0381cc7d91..ff7c18d05a86 100644 --- a/print/ghostscript9-agpl/files/pkg-message.in +++ b/print/ghostscript8-base/files/pkg-message.in @@ -1,5 +1,5 @@ Note: in order to use the script "dvipdf", dvips must be installed. This program is provided by another package print/tex-dvipsk. -FAPIfontmap and FAPIcidfmap in %%DATADIR%%/%%PORTVERSION%%/Resource/Init +FAPIfontmap and FAPIcidfmap in %%DATADIR%%/Resource/Init have to be configured if you want to use FAPI feature. diff --git a/print/ghostscript8/pkg-descr b/print/ghostscript8-base/pkg-descr index a7234ce47bc0..a7234ce47bc0 100644 --- a/print/ghostscript8/pkg-descr +++ b/print/ghostscript8-base/pkg-descr diff --git a/print/ghostscript8-base/pkg-plist b/print/ghostscript8-base/pkg-plist new file mode 100644 index 000000000000..815cdfe70c45 --- /dev/null +++ b/print/ghostscript8-base/pkg-plist @@ -0,0 +1,679 @@ +bin/bdftops +bin/dumphint +bin/dvipdf +bin/eps2eps +%%GS_epag%%bin/ert +bin/fixmswrd.pl +bin/font2c +bin/gs +bin/gsbj +bin/gsc +bin/gsdj +bin/gsdj500 +bin/gslj +bin/gslp +bin/gsnd +bin/gsx +bin/lprsetup.sh +%%GS_pcl3%%bin/pcl3opts +bin/pdf2dsc +bin/pdf2ps +bin/pdfopt +bin/pf2afm +bin/pfbtopfa +bin/printafm +bin/ps2ascii +bin/ps2epsi +bin/ps2pdf +bin/ps2pdf12 +bin/ps2pdf13 +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.%%SHLIB_VER%% +lib/libgs.so.%%GS_VERSION%% +man/man1/dvipdf.1.gz +man/man1/eps2eps.1.gz +man/man1/font2c.1.gz +%%GS_pcl3%%man/man1/gs-pcl3.1.gz +man/man1/gs.1.gz +man/man1/gslp.1.gz +man/man1/gsnd.1.gz +%%GS_pcl3%%man/man1/pcl3opts.1.gz +man/man1/pdf2dsc.1.gz +man/man1/pdf2ps.1.gz +man/man1/pdfopt.1.gz +man/man1/pf2afm.1.gz +man/man1/pfbtopfa.1.gz +man/man1/printafm.1.gz +man/man1/ps2ascii.1.gz +man/man1/ps2epsi.1.gz +man/man1/ps2pdf.1.gz +man/man1/ps2pdf12.1.gz +man/man1/ps2pdf13.1.gz +man/man1/ps2pdfwr.1.gz +man/man1/ps2ps.1.gz +man/man1/wftopfa.1.gz +%%DATADIR%%/Resource/CMap/78-EUC-H +%%DATADIR%%/Resource/CMap/78-EUC-V +%%DATADIR%%/Resource/CMap/78-H +%%DATADIR%%/Resource/CMap/78-RKSJ-H +%%DATADIR%%/Resource/CMap/78-RKSJ-V +%%DATADIR%%/Resource/CMap/78-V +%%DATADIR%%/Resource/CMap/78ms-RKSJ-H +%%DATADIR%%/Resource/CMap/78ms-RKSJ-V +%%DATADIR%%/Resource/CMap/83pv-RKSJ-H +%%DATADIR%%/Resource/CMap/90ms-RKSJ-H +%%DATADIR%%/Resource/CMap/90ms-RKSJ-UCS2 +%%DATADIR%%/Resource/CMap/90ms-RKSJ-V +%%DATADIR%%/Resource/CMap/90msp-RKSJ-H +%%DATADIR%%/Resource/CMap/90msp-RKSJ-V +%%DATADIR%%/Resource/CMap/90pv-RKSJ-H +%%DATADIR%%/Resource/CMap/90pv-RKSJ-UCS2 +%%DATADIR%%/Resource/CMap/90pv-RKSJ-UCS2C +%%DATADIR%%/Resource/CMap/90pv-RKSJ-V +%%DATADIR%%/Resource/CMap/Add-H +%%DATADIR%%/Resource/CMap/Add-RKSJ-H +%%DATADIR%%/Resource/CMap/Add-RKSJ-V +%%DATADIR%%/Resource/CMap/Add-V +%%DATADIR%%/Resource/CMap/Adobe-CNS1-0 +%%DATADIR%%/Resource/CMap/Adobe-CNS1-1 +%%DATADIR%%/Resource/CMap/Adobe-CNS1-2 +%%DATADIR%%/Resource/CMap/Adobe-CNS1-3 +%%DATADIR%%/Resource/CMap/Adobe-CNS1-4 +%%DATADIR%%/Resource/CMap/Adobe-CNS1-5 +%%DATADIR%%/Resource/CMap/Adobe-CNS1-6 +%%DATADIR%%/Resource/CMap/Adobe-CNS1-B5pc +%%DATADIR%%/Resource/CMap/Adobe-CNS1-ETenms-B5 +%%DATADIR%%/Resource/CMap/Adobe-CNS1-H-CID +%%DATADIR%%/Resource/CMap/Adobe-CNS1-H-Host +%%DATADIR%%/Resource/CMap/Adobe-CNS1-H-Mac +%%DATADIR%%/Resource/CMap/Adobe-CNS1-UCS2 +%%DATADIR%%/Resource/CMap/Adobe-GB1-0 +%%DATADIR%%/Resource/CMap/Adobe-GB1-1 +%%DATADIR%%/Resource/CMap/Adobe-GB1-2 +%%DATADIR%%/Resource/CMap/Adobe-GB1-3 +%%DATADIR%%/Resource/CMap/Adobe-GB1-4 +%%DATADIR%%/Resource/CMap/Adobe-GB1-5 +%%DATADIR%%/Resource/CMap/Adobe-GB1-GBK-EUC +%%DATADIR%%/Resource/CMap/Adobe-GB1-GBpc-EUC +%%DATADIR%%/Resource/CMap/Adobe-GB1-H-CID +%%DATADIR%%/Resource/CMap/Adobe-GB1-H-Host +%%DATADIR%%/Resource/CMap/Adobe-GB1-H-Mac +%%DATADIR%%/Resource/CMap/Adobe-GB1-UCS2 +%%DATADIR%%/Resource/CMap/Adobe-Japan1-0 +%%DATADIR%%/Resource/CMap/Adobe-Japan1-1 +%%DATADIR%%/Resource/CMap/Adobe-Japan1-2 +%%DATADIR%%/Resource/CMap/Adobe-Japan1-3 +%%DATADIR%%/Resource/CMap/Adobe-Japan1-4 +%%DATADIR%%/Resource/CMap/Adobe-Japan1-5 +%%DATADIR%%/Resource/CMap/Adobe-Japan1-6 +%%DATADIR%%/Resource/CMap/Adobe-Japan1-90ms-RKSJ +%%DATADIR%%/Resource/CMap/Adobe-Japan1-90pv-RKSJ +%%DATADIR%%/Resource/CMap/Adobe-Japan1-H-CID +%%DATADIR%%/Resource/CMap/Adobe-Japan1-H-Host +%%DATADIR%%/Resource/CMap/Adobe-Japan1-H-Mac +%%DATADIR%%/Resource/CMap/Adobe-Japan1-PS-H +%%DATADIR%%/Resource/CMap/Adobe-Japan1-PS-V +%%DATADIR%%/Resource/CMap/Adobe-Japan1-UCS2 +%%DATADIR%%/Resource/CMap/Adobe-Japan2-0 +%%DATADIR%%/Resource/CMap/Adobe-Korea1-0 +%%DATADIR%%/Resource/CMap/Adobe-Korea1-1 +%%DATADIR%%/Resource/CMap/Adobe-Korea1-2 +%%DATADIR%%/Resource/CMap/Adobe-Korea1-H-CID +%%DATADIR%%/Resource/CMap/Adobe-Korea1-H-Host +%%DATADIR%%/Resource/CMap/Adobe-Korea1-H-Mac +%%DATADIR%%/Resource/CMap/Adobe-Korea1-KSCms-UHC +%%DATADIR%%/Resource/CMap/Adobe-Korea1-KSCpc-EUC +%%DATADIR%%/Resource/CMap/Adobe-Korea1-UCS2 +%%DATADIR%%/Resource/CMap/B5-H +%%DATADIR%%/Resource/CMap/B5-V +%%DATADIR%%/Resource/CMap/B5pc-H +%%DATADIR%%/Resource/CMap/B5pc-UCS2 +%%DATADIR%%/Resource/CMap/B5pc-UCS2C +%%DATADIR%%/Resource/CMap/B5pc-V +%%DATADIR%%/Resource/CMap/CNS-EUC-H +%%DATADIR%%/Resource/CMap/CNS-EUC-V +%%DATADIR%%/Resource/CMap/CNS01-RKSJ-H +%%DATADIR%%/Resource/CMap/CNS02-RKSJ-H +%%DATADIR%%/Resource/CMap/CNS03-RKSJ-H +%%DATADIR%%/Resource/CMap/CNS04-RKSJ-H +%%DATADIR%%/Resource/CMap/CNS05-RKSJ-H +%%DATADIR%%/Resource/CMap/CNS06-RKSJ-H +%%DATADIR%%/Resource/CMap/CNS07-RKSJ-H +%%DATADIR%%/Resource/CMap/CNS1-H +%%DATADIR%%/Resource/CMap/CNS1-V +%%DATADIR%%/Resource/CMap/CNS15-RKSJ-H +%%DATADIR%%/Resource/CMap/CNS2-H +%%DATADIR%%/Resource/CMap/CNS2-V +%%DATADIR%%/Resource/CMap/ETHK-B5-H +%%DATADIR%%/Resource/CMap/ETHK-B5-V +%%DATADIR%%/Resource/CMap/ETen-B5-H +%%DATADIR%%/Resource/CMap/ETen-B5-UCS2 +%%DATADIR%%/Resource/CMap/ETen-B5-V +%%DATADIR%%/Resource/CMap/ETenms-B5-H +%%DATADIR%%/Resource/CMap/ETenms-B5-V +%%DATADIR%%/Resource/CMap/EUC-H +%%DATADIR%%/Resource/CMap/EUC-V +%%DATADIR%%/Resource/CMap/Ext-H +%%DATADIR%%/Resource/CMap/Ext-RKSJ-H +%%DATADIR%%/Resource/CMap/Ext-RKSJ-V +%%DATADIR%%/Resource/CMap/Ext-V +%%DATADIR%%/Resource/CMap/GB-EUC-H +%%DATADIR%%/Resource/CMap/GB-EUC-V +%%DATADIR%%/Resource/CMap/GB-H +%%DATADIR%%/Resource/CMap/GB-RKSJ-H +%%DATADIR%%/Resource/CMap/GB-V +%%DATADIR%%/Resource/CMap/GBK-EUC-H +%%DATADIR%%/Resource/CMap/GBK-EUC-UCS2 +%%DATADIR%%/Resource/CMap/GBK-EUC-V +%%DATADIR%%/Resource/CMap/GBK2K-H +%%DATADIR%%/Resource/CMap/GBK2K-V +%%DATADIR%%/Resource/CMap/GBKp-EUC-H +%%DATADIR%%/Resource/CMap/GBKp-EUC-V +%%DATADIR%%/Resource/CMap/GBT-EUC-H +%%DATADIR%%/Resource/CMap/GBT-EUC-V +%%DATADIR%%/Resource/CMap/GBT-H +%%DATADIR%%/Resource/CMap/GBT-RKSJ-H +%%DATADIR%%/Resource/CMap/GBT-V +%%DATADIR%%/Resource/CMap/GBTpc-EUC-H +%%DATADIR%%/Resource/CMap/GBTpc-EUC-V +%%DATADIR%%/Resource/CMap/GBpc-EUC-H +%%DATADIR%%/Resource/CMap/GBpc-EUC-UCS2 +%%DATADIR%%/Resource/CMap/GBpc-EUC-UCS2C +%%DATADIR%%/Resource/CMap/GBpc-EUC-V +%%DATADIR%%/Resource/CMap/H +%%DATADIR%%/Resource/CMap/HK-RKSJ-H +%%DATADIR%%/Resource/CMap/HKdla-B5-H +%%DATADIR%%/Resource/CMap/HKdla-B5-V +%%DATADIR%%/Resource/CMap/HKdlb-B5-H +%%DATADIR%%/Resource/CMap/HKdlb-B5-V +%%DATADIR%%/Resource/CMap/HKgccs-B5-H +%%DATADIR%%/Resource/CMap/HKgccs-B5-V +%%DATADIR%%/Resource/CMap/HKm314-B5-H +%%DATADIR%%/Resource/CMap/HKm314-B5-V +%%DATADIR%%/Resource/CMap/HKm471-B5-H +%%DATADIR%%/Resource/CMap/HKm471-B5-V +%%DATADIR%%/Resource/CMap/HKscs-B5-H +%%DATADIR%%/Resource/CMap/HKscs-B5-V +%%DATADIR%%/Resource/CMap/Hankaku +%%DATADIR%%/Resource/CMap/Hiragana +%%DATADIR%%/Resource/CMap/Hojo-EUC-H +%%DATADIR%%/Resource/CMap/Hojo-EUC-V +%%DATADIR%%/Resource/CMap/Hojo-H +%%DATADIR%%/Resource/CMap/Hojo-RKSJ-H +%%DATADIR%%/Resource/CMap/Hojo-V +%%DATADIR%%/Resource/CMap/Identity-H +%%DATADIR%%/Resource/CMap/Identity-UTF16-H +%%DATADIR%%/Resource/CMap/Identity-UTF16-V +%%DATADIR%%/Resource/CMap/Identity-V +%%DATADIR%%/Resource/CMap/KSC-EUC-H +%%DATADIR%%/Resource/CMap/KSC-EUC-V +%%DATADIR%%/Resource/CMap/KSC-H +%%DATADIR%%/Resource/CMap/KSC-Johab-H +%%DATADIR%%/Resource/CMap/KSC-Johab-V +%%DATADIR%%/Resource/CMap/KSC-RKSJ-H +%%DATADIR%%/Resource/CMap/KSC-V +%%DATADIR%%/Resource/CMap/KSC2-RKSJ-H +%%DATADIR%%/Resource/CMap/KSCms-UHC-H +%%DATADIR%%/Resource/CMap/KSCms-UHC-HW-H +%%DATADIR%%/Resource/CMap/KSCms-UHC-HW-V +%%DATADIR%%/Resource/CMap/KSCms-UHC-UCS2 +%%DATADIR%%/Resource/CMap/KSCms-UHC-V +%%DATADIR%%/Resource/CMap/KSCpc-EUC-H +%%DATADIR%%/Resource/CMap/KSCpc-EUC-UCS2 +%%DATADIR%%/Resource/CMap/KSCpc-EUC-UCS2C +%%DATADIR%%/Resource/CMap/KSCpc-EUC-V +%%DATADIR%%/Resource/CMap/Katakana +%%DATADIR%%/Resource/CMap/NWP-H +%%DATADIR%%/Resource/CMap/NWP-V +%%DATADIR%%/Resource/CMap/RKSJ-H +%%DATADIR%%/Resource/CMap/RKSJ-V +%%DATADIR%%/Resource/CMap/Roman +%%DATADIR%%/Resource/CMap/TCVN-RKSJ-H +%%DATADIR%%/Resource/CMap/UCS2-90ms-RKSJ +%%DATADIR%%/Resource/CMap/UCS2-90pv-RKSJ +%%DATADIR%%/Resource/CMap/UCS2-B5pc +%%DATADIR%%/Resource/CMap/UCS2-ETen-B5 +%%DATADIR%%/Resource/CMap/UCS2-GBK-EUC +%%DATADIR%%/Resource/CMap/UCS2-GBpc-EUC +%%DATADIR%%/Resource/CMap/UCS2-KSCms-UHC +%%DATADIR%%/Resource/CMap/UCS2-KSCpc-EUC +%%DATADIR%%/Resource/CMap/UniCNS-UCS2-H +%%DATADIR%%/Resource/CMap/UniCNS-UCS2-V +%%DATADIR%%/Resource/CMap/UniCNS-UTF16-H +%%DATADIR%%/Resource/CMap/UniCNS-UTF16-V +%%DATADIR%%/Resource/CMap/UniCNS-UTF32-H +%%DATADIR%%/Resource/CMap/UniCNS-UTF32-V +%%DATADIR%%/Resource/CMap/UniCNS-UTF8-H +%%DATADIR%%/Resource/CMap/UniCNS-UTF8-V +%%DATADIR%%/Resource/CMap/UniGB-UCS2-H +%%DATADIR%%/Resource/CMap/UniGB-UCS2-V +%%DATADIR%%/Resource/CMap/UniGB-UTF16-H +%%DATADIR%%/Resource/CMap/UniGB-UTF16-V +%%DATADIR%%/Resource/CMap/UniGB-UTF32-H +%%DATADIR%%/Resource/CMap/UniGB-UTF32-V +%%DATADIR%%/Resource/CMap/UniGB-UTF8-H +%%DATADIR%%/Resource/CMap/UniGB-UTF8-V +%%DATADIR%%/Resource/CMap/UniHojo-UCS2-H +%%DATADIR%%/Resource/CMap/UniHojo-UCS2-V +%%DATADIR%%/Resource/CMap/UniHojo-UTF16-H +%%DATADIR%%/Resource/CMap/UniHojo-UTF16-V +%%DATADIR%%/Resource/CMap/UniHojo-UTF32-H +%%DATADIR%%/Resource/CMap/UniHojo-UTF32-V +%%DATADIR%%/Resource/CMap/UniHojo-UTF8-H +%%DATADIR%%/Resource/CMap/UniHojo-UTF8-V +%%DATADIR%%/Resource/CMap/UniJIS-UCS2-H +%%DATADIR%%/Resource/CMap/UniJIS-UCS2-HW-H +%%DATADIR%%/Resource/CMap/UniJIS-UCS2-HW-V +%%DATADIR%%/Resource/CMap/UniJIS-UCS2-V +%%DATADIR%%/Resource/CMap/UniJIS-UTF16-H +%%DATADIR%%/Resource/CMap/UniJIS-UTF16-V +%%DATADIR%%/Resource/CMap/UniJIS-UTF32-H +%%DATADIR%%/Resource/CMap/UniJIS-UTF32-V +%%DATADIR%%/Resource/CMap/UniJIS-UTF8-H +%%DATADIR%%/Resource/CMap/UniJIS-UTF8-V +%%DATADIR%%/Resource/CMap/UniJIS2004-UTF16-H +%%DATADIR%%/Resource/CMap/UniJIS2004-UTF16-V +%%DATADIR%%/Resource/CMap/UniJIS2004-UTF32-H +%%DATADIR%%/Resource/CMap/UniJIS2004-UTF32-V +%%DATADIR%%/Resource/CMap/UniJIS2004-UTF8-H +%%DATADIR%%/Resource/CMap/UniJIS2004-UTF8-V +%%DATADIR%%/Resource/CMap/UniJISPro-UCS2-HW-V +%%DATADIR%%/Resource/CMap/UniJISPro-UCS2-V +%%DATADIR%%/Resource/CMap/UniJISPro-UTF8-V +%%DATADIR%%/Resource/CMap/UniJISX0213-UTF32-H +%%DATADIR%%/Resource/CMap/UniJISX0213-UTF32-V +%%DATADIR%%/Resource/CMap/UniJISX02132004-UTF32-H +%%DATADIR%%/Resource/CMap/UniJISX02132004-UTF32-V +%%DATADIR%%/Resource/CMap/UniKS-UCS2-H +%%DATADIR%%/Resource/CMap/UniKS-UCS2-V +%%DATADIR%%/Resource/CMap/UniKS-UTF16-H +%%DATADIR%%/Resource/CMap/UniKS-UTF16-V +%%DATADIR%%/Resource/CMap/UniKS-UTF32-H +%%DATADIR%%/Resource/CMap/UniKS-UTF32-V +%%DATADIR%%/Resource/CMap/UniKS-UTF8-H +%%DATADIR%%/Resource/CMap/UniKS-UTF8-V +%%DATADIR%%/Resource/CMap/V +%%DATADIR%%/Resource/CMap/WP-Symbol +%%DATADIR%%/Resource/ColorSpace/DefaultCMYK +%%DATADIR%%/Resource/ColorSpace/DefaultGray +%%DATADIR%%/Resource/ColorSpace/DefaultRGB +%%DATADIR%%/Resource/ColorSpace/TrivialCMYK +%%DATADIR%%/Resource/ColorSpace/sGray +%%DATADIR%%/Resource/ColorSpace/sRGB +%%DATADIR%%/Resource/Decoding/FCO_Dingbats +%%DATADIR%%/Resource/Decoding/FCO_Symbol +%%DATADIR%%/Resource/Decoding/FCO_Unicode +%%DATADIR%%/Resource/Decoding/FCO_Wingdings +%%DATADIR%%/Resource/Decoding/Latin1 +%%DATADIR%%/Resource/Decoding/StandardEncoding +%%DATADIR%%/Resource/Decoding/Unicode +%%DATADIR%%/Resource/Encoding/Wingdings +%%DATADIR%%/Resource/Font/CenturySchL-Bold +%%DATADIR%%/Resource/Font/CenturySchL-BoldItal +%%DATADIR%%/Resource/Font/CenturySchL-Ital +%%DATADIR%%/Resource/Font/CenturySchL-Roma +%%DATADIR%%/Resource/Font/Dingbats +%%DATADIR%%/Resource/Font/NimbusMonL-Bold +%%DATADIR%%/Resource/Font/NimbusMonL-BoldObli +%%DATADIR%%/Resource/Font/NimbusMonL-Regu +%%DATADIR%%/Resource/Font/NimbusMonL-ReguObli +%%DATADIR%%/Resource/Font/NimbusRomNo9L-Medi +%%DATADIR%%/Resource/Font/NimbusRomNo9L-MediItal +%%DATADIR%%/Resource/Font/NimbusRomNo9L-Regu +%%DATADIR%%/Resource/Font/NimbusRomNo9L-ReguItal +%%DATADIR%%/Resource/Font/NimbusSanL-Bold +%%DATADIR%%/Resource/Font/NimbusSanL-BoldCond +%%DATADIR%%/Resource/Font/NimbusSanL-BoldCondItal +%%DATADIR%%/Resource/Font/NimbusSanL-BoldItal +%%DATADIR%%/Resource/Font/NimbusSanL-Regu +%%DATADIR%%/Resource/Font/NimbusSanL-ReguCond +%%DATADIR%%/Resource/Font/NimbusSanL-ReguCondItal +%%DATADIR%%/Resource/Font/NimbusSanL-ReguItal +%%DATADIR%%/Resource/Font/StandardSymL +%%DATADIR%%/Resource/Font/URWBookmanL-DemiBold +%%DATADIR%%/Resource/Font/URWBookmanL-DemiBoldItal +%%DATADIR%%/Resource/Font/URWBookmanL-Ligh +%%DATADIR%%/Resource/Font/URWBookmanL-LighItal +%%DATADIR%%/Resource/Font/URWChanceryL-MediItal +%%DATADIR%%/Resource/Font/URWGothicL-Book +%%DATADIR%%/Resource/Font/URWGothicL-BookObli +%%DATADIR%%/Resource/Font/URWGothicL-Demi +%%DATADIR%%/Resource/Font/URWGothicL-DemiObli +%%DATADIR%%/Resource/Font/URWPalladioL-Bold +%%DATADIR%%/Resource/Font/URWPalladioL-BoldItal +%%DATADIR%%/Resource/Font/URWPalladioL-Ital +%%DATADIR%%/Resource/Font/URWPalladioL-Roma +%%DATADIR%%/doc/API.htm +%%DATADIR%%/doc/C-style.htm +%%DATADIR%%/doc/Changes.htm +%%DATADIR%%/doc/Commprod.htm +%%DATADIR%%/doc/DLL.htm +%%DATADIR%%/doc/Deprecated.htm +%%DATADIR%%/doc/Details.htm +%%DATADIR%%/doc/Details8.htm +%%DATADIR%%/doc/Develop.htm +%%DATADIR%%/doc/Devices.htm +%%DATADIR%%/doc/Drivers.htm +%%DATADIR%%/doc/Fonts.htm +%%DATADIR%%/doc/Helpers.htm +%%DATADIR%%/doc/Hershey.htm +%%DATADIR%%/doc/History1.htm +%%DATADIR%%/doc/History2.htm +%%DATADIR%%/doc/History3.htm +%%DATADIR%%/doc/History4.htm +%%DATADIR%%/doc/History5.htm +%%DATADIR%%/doc/History6.htm +%%DATADIR%%/doc/History7.htm +%%DATADIR%%/doc/History8.htm +%%DATADIR%%/doc/Install.htm +%%DATADIR%%/doc/Issues.htm +%%DATADIR%%/doc/Language.htm +%%DATADIR%%/doc/Lib.htm +%%DATADIR%%/doc/Make.htm +%%DATADIR%%/doc/News.htm +%%DATADIR%%/doc/Projects.htm +%%DATADIR%%/doc/Ps-style.htm +%%DATADIR%%/doc/Ps2epsi.htm +%%DATADIR%%/doc/Ps2pdf.htm +%%DATADIR%%/doc/Psfiles.htm +%%DATADIR%%/doc/README +%%DATADIR%%/doc/Readme.htm +%%DATADIR%%/doc/Release.htm +%%DATADIR%%/doc/Source.htm +%%DATADIR%%/doc/Unix-lpr.htm +%%DATADIR%%/doc/Use.htm +%%DATADIR%%/doc/Xfonts.htm +%%DATADIR%%/doc/gs.css +%%DATADIR%%/doc/index.html +%%DATADIR%%/examples/alphabet.ps +%%DATADIR%%/examples/annots.pdf +%%DATADIR%%/examples/chess.ps +%%DATADIR%%/examples/colorcir.ps +%%DATADIR%%/examples/doretree.ps +%%DATADIR%%/examples/escher.ps +%%DATADIR%%/examples/golfer.eps +%%DATADIR%%/examples/grayalph.ps +%%DATADIR%%/examples/ridt91.eps +%%DATADIR%%/examples/snowflak.ps +%%DATADIR%%/examples/tiger.eps +%%DATADIR%%/examples/vasarely.ps +%%DATADIR%%/examples/waterfal.ps +%%DATADIR%%/Resource/Init/FAPIcidfmap +%%DATADIR%%/Resource/Init/FAPIconfig +%%DATADIR%%/Resource/Init/FAPIfontmap +%%DATADIR%%/Resource/Init/FCOfontmap-PCLPS2 +%%DATADIR%%/Resource/Init/Fontmap +%%DATADIR%%/Resource/Init/Fontmap.GS +%%DATADIR%%/Resource/Init/cidfmap +%%DATADIR%%/Resource/Init/gs_agl.ps +%%DATADIR%%/Resource/Init/gs_btokn.ps +%%DATADIR%%/Resource/Init/gs_cet.ps +%%DATADIR%%/Resource/Init/gs_cff.ps +%%DATADIR%%/Resource/Init/gs_cidcm.ps +%%DATADIR%%/Resource/Init/gs_ciddc.ps +%%DATADIR%%/Resource/Init/gs_cidfm.ps +%%DATADIR%%/Resource/Init/gs_cidfn.ps +%%DATADIR%%/Resource/Init/gs_cidtt.ps +%%DATADIR%%/Resource/Init/gs_cmap.ps +%%DATADIR%%/Resource/Init/gs_cspace.ps +%%DATADIR%%/Resource/Init/gs_css_e.ps +%%DATADIR%%/Resource/Init/gs_dbt_e.ps +%%DATADIR%%/Resource/Init/gs_diskf.ps +%%DATADIR%%/Resource/Init/gs_diskn.ps +%%DATADIR%%/Resource/Init/gs_dpnxt.ps +%%DATADIR%%/Resource/Init/gs_dps.ps +%%DATADIR%%/Resource/Init/gs_dps1.ps +%%DATADIR%%/Resource/Init/gs_dps2.ps +%%DATADIR%%/Resource/Init/gs_dscp.ps +%%DATADIR%%/Resource/Init/gs_epsf.ps +%%DATADIR%%/Resource/Init/gs_fapi.ps +%%DATADIR%%/Resource/Init/gs_fntem.ps +%%DATADIR%%/Resource/Init/gs_fonts.ps +%%DATADIR%%/Resource/Init/gs_frsd.ps +%%DATADIR%%/Resource/Init/gs_icc.ps +%%DATADIR%%/Resource/Init/gs_il1_e.ps +%%DATADIR%%/Resource/Init/gs_img.ps +%%DATADIR%%/Resource/Init/gs_init.ps +%%DATADIR%%/Resource/Init/gs_l2img.ps +%%DATADIR%%/Resource/Init/gs_lev2.ps +%%DATADIR%%/Resource/Init/gs_ll3.ps +%%DATADIR%%/Resource/Init/gs_mex_e.ps +%%DATADIR%%/Resource/Init/gs_mgl_e.ps +%%DATADIR%%/Resource/Init/gs_mro_e.ps +%%DATADIR%%/Resource/Init/gs_pdf_e.ps +%%DATADIR%%/Resource/Init/gs_pdfwr.ps +%%DATADIR%%/Resource/Init/gs_res.ps +%%DATADIR%%/Resource/Init/gs_resmp.ps +%%DATADIR%%/Resource/Init/gs_setpd.ps +%%DATADIR%%/Resource/Init/gs_statd.ps +%%DATADIR%%/Resource/Init/gs_std_e.ps +%%DATADIR%%/Resource/Init/gs_sym_e.ps +%%DATADIR%%/Resource/Init/gs_trap.ps +%%DATADIR%%/Resource/Init/gs_ttf.ps +%%DATADIR%%/Resource/Init/gs_typ32.ps +%%DATADIR%%/Resource/Init/gs_typ42.ps +%%DATADIR%%/Resource/Init/gs_type1.ps +%%DATADIR%%/Resource/Init/gs_wan_e.ps +%%DATADIR%%/Resource/Init/opdfread.ps +%%DATADIR%%/Resource/Init/pdf_base.ps +%%DATADIR%%/Resource/Init/pdf_cslayer.ps +%%DATADIR%%/Resource/Init/pdf_draw.ps +%%DATADIR%%/Resource/Init/pdf_font.ps +%%DATADIR%%/Resource/Init/pdf_main.ps +%%DATADIR%%/Resource/Init/pdf_ops.ps +%%DATADIR%%/Resource/Init/pdf_rbld.ps +%%DATADIR%%/Resource/Init/pdf_sec.ps +%%DATADIR%%/Resource/Init/xlatmap +%%DATADIR%%/Resource/SubstCID/CNS1-WMode +%%DATADIR%%/Resource/SubstCID/GB1-WMode +%%DATADIR%%/Resource/SubstCID/Japan1-WMode +%%DATADIR%%/Resource/SubstCID/Korea1-WMode +%%DATADIR%%/Resource/CIDFont +%%DATADIR%%/lib/ht_ccsto.ps +%%DATADIR%%/lib/acctest.ps +%%DATADIR%%/lib/addxchar.ps +%%DATADIR%%/lib/align.ps +%%DATADIR%%/lib/bdftops.ps +%%DATADIR%%/lib/caption.ps +%%DATADIR%%/lib/cid2code.ps +%%DATADIR%%/lib/decrypt.ps +%%DATADIR%%/lib/docie.ps +%%DATADIR%%/lib/dumphint.ps +%%DATADIR%%/lib/font2c.ps +%%DATADIR%%/lib/font2pcl.ps +%%DATADIR%%/lib/gslp.ps +%%DATADIR%%/lib/gsnup.ps +%%DATADIR%%/lib/image-qa.ps +%%DATADIR%%/lib/impath.ps +%%DATADIR%%/lib/jispaper.ps +%%DATADIR%%/lib/landscap.ps +%%DATADIR%%/lib/level1.ps +%%DATADIR%%/lib/lines.ps +%%DATADIR%%/lib/markhint.ps +%%DATADIR%%/lib/markpath.ps +%%DATADIR%%/lib/mkcidfm.ps +%%DATADIR%%/lib/PDFA_def.ps +%%DATADIR%%/lib/PDFX_def.ps +%%DATADIR%%/lib/packfile.ps +%%DATADIR%%/lib/pcharstr.ps +%%DATADIR%%/lib/pf2afm.ps +%%DATADIR%%/lib/pfbtopfa.ps +%%DATADIR%%/lib/ppath.ps +%%DATADIR%%/lib/pphs +%%DATADIR%%/lib/pphs.ps +%%DATADIR%%/lib/prfont.ps +%%DATADIR%%/lib/printafm.ps +%%DATADIR%%/lib/ps2ai.ps +%%DATADIR%%/lib/ps2ascii.ps +%%DATADIR%%/lib/ps2epsi.ps +%%DATADIR%%/lib/quit.ps +%%DATADIR%%/lib/rollconv.ps +%%DATADIR%%/lib/showchar.ps +%%DATADIR%%/lib/showpage.ps +%%DATADIR%%/lib/stcinfo.ps +%%DATADIR%%/lib/stcolor.ps +%%DATADIR%%/lib/stocht.ps +%%DATADIR%%/lib/traceimg.ps +%%DATADIR%%/lib/traceop.ps +%%DATADIR%%/lib/type1enc.ps +%%DATADIR%%/lib/type1ops.ps +%%DATADIR%%/lib/uninfo.ps +%%DATADIR%%/lib/unprot.ps +%%DATADIR%%/lib/viewcmyk.ps +%%DATADIR%%/lib/viewgif.ps +%%DATADIR%%/lib/viewjpeg.ps +%%DATADIR%%/lib/viewmiff.ps +%%DATADIR%%/lib/viewpcx.ps +%%DATADIR%%/lib/viewpbm.ps +%%DATADIR%%/lib/viewps2a.ps +%%DATADIR%%/lib/winmaps.ps +%%DATADIR%%/lib/wftopfa.ps +%%DATADIR%%/lib/wrfont.ps +%%DATADIR%%/lib/zeroline.ps +%%DATADIR%%/lib/pdf2dsc.ps +%%DATADIR%%/lib/pdfopt.ps +%%DATADIR%%/lib/gs_ce_e.ps +%%DATADIR%%/lib/gs_cmdl.ps +%%DATADIR%%/lib/gs_fform.ps +%%DATADIR%%/lib/gs_il2_e.ps +%%DATADIR%%/lib/gs_kanji.ps +%%DATADIR%%/lib/gs_ksb_e.ps +%%DATADIR%%/lib/gs_lgo_e.ps +%%DATADIR%%/lib/gs_lgx_e.ps +%%DATADIR%%/lib/gs_pfile.ps +%%DATADIR%%/lib/gs_rdlin.ps +%%DATADIR%%/lib/gs_wl1_e.ps +%%DATADIR%%/lib/gs_wl2_e.ps +%%DATADIR%%/lib/gs_wl5_e.ps +%%DATADIR%%/lib/pdfwrite.ps +%%DATADIR%%/lib/cbjc600.ppd +%%DATADIR%%/lib/cbjc800.ppd +%%DATADIR%%/lib/ghostpdf.ppd +%%DATADIR%%/lib/bj8.rpd +%%DATADIR%%/lib/bj8gc12f.upp +%%DATADIR%%/lib/bj8hg12f.upp +%%DATADIR%%/lib/bj8oh06n.upp +%%DATADIR%%/lib/bj8pa06n.upp +%%DATADIR%%/lib/bj8pp12f.upp +%%DATADIR%%/lib/bj8ts06n.upp +%%DATADIR%%/lib/bjc610a0.upp +%%DATADIR%%/lib/bjc610a1.upp +%%DATADIR%%/lib/bjc610a2.upp +%%DATADIR%%/lib/bjc610a3.upp +%%DATADIR%%/lib/bjc610a4.upp +%%DATADIR%%/lib/bjc610a5.upp +%%DATADIR%%/lib/bjc610a6.upp +%%DATADIR%%/lib/bjc610a7.upp +%%DATADIR%%/lib/bjc610a8.upp +%%DATADIR%%/lib/bjc610b1.upp +%%DATADIR%%/lib/bjc610b2.upp +%%DATADIR%%/lib/bjc610b3.upp +%%DATADIR%%/lib/bjc610b4.upp +%%DATADIR%%/lib/bjc610b6.upp +%%DATADIR%%/lib/bjc610b7.upp +%%DATADIR%%/lib/bjc610b8.upp +%%DATADIR%%/lib/cdj550.upp +%%DATADIR%%/lib/cdj690.upp +%%DATADIR%%/lib/cdj690ec.upp +%%DATADIR%%/lib/dnj750c.upp +%%DATADIR%%/lib/dnj750m.upp +%%DATADIR%%/lib/necp2x.upp +%%DATADIR%%/lib/necp2x6.upp +%%DATADIR%%/lib/ras1.upp +%%DATADIR%%/lib/ras24.upp +%%DATADIR%%/lib/ras3.upp +%%DATADIR%%/lib/ras32.upp +%%DATADIR%%/lib/ras4.upp +%%DATADIR%%/lib/ras8m.upp +%%DATADIR%%/lib/st640ih.upp +%%DATADIR%%/lib/st640ihg.upp +%%DATADIR%%/lib/st640p.upp +%%DATADIR%%/lib/st640pg.upp +%%DATADIR%%/lib/st640pl.upp +%%DATADIR%%/lib/st640plg.upp +%%DATADIR%%/lib/stc.upp +%%DATADIR%%/lib/stc1520h.upp +%%DATADIR%%/lib/stc2.upp +%%DATADIR%%/lib/stc200_h.upp +%%DATADIR%%/lib/stc2_h.upp +%%DATADIR%%/lib/stc2s_h.upp +%%DATADIR%%/lib/stc300.upp +%%DATADIR%%/lib/stc300bl.upp +%%DATADIR%%/lib/stc300bm.upp +%%DATADIR%%/lib/stc500p.upp +%%DATADIR%%/lib/stc500ph.upp +%%DATADIR%%/lib/stc600ih.upp +%%DATADIR%%/lib/stc600p.upp +%%DATADIR%%/lib/stc600pl.upp +%%DATADIR%%/lib/stc640p.upp +%%DATADIR%%/lib/stc800ih.upp +%%DATADIR%%/lib/stc800p.upp +%%DATADIR%%/lib/stc800pl.upp +%%DATADIR%%/lib/stc_h.upp +%%DATADIR%%/lib/stc_l.upp +%%DATADIR%%/lib/stcany.upp +%%DATADIR%%/lib/stcany_h.upp +%%DATADIR%%/lib/gs_l.xbm +%%DATADIR%%/lib/gs_l_m.xbm +%%DATADIR%%/lib/gs_m.xbm +%%DATADIR%%/lib/gs_m_m.xbm +%%DATADIR%%/lib/gs_s.xbm +%%DATADIR%%/lib/gs_s_m.xbm +%%DATADIR%%/lib/gs_t.xbm +%%DATADIR%%/lib/gs_t_m.xbm +%%DATADIR%%/lib/gs_l.xpm +%%DATADIR%%/lib/gs_m.xpm +%%DATADIR%%/lib/gs_s.xpm +%%DATADIR%%/lib/gs_t.xpm +%%DATADIR%%/lib/dmp_init.ps +%%DATADIR%%/lib/dmp_site.ps +%%DATADIR%%/lib/escp_24.src +%%DATADIR%%/lib/PM760p.upp +%%DATADIR%%/lib/PM760pl.upp +%%DATADIR%%/lib/PM820p.upp +%%DATADIR%%/lib/PM820pl.upp +%%DATADIR%%/lib/Stc670p.upp +%%DATADIR%%/lib/Stc670pl.upp +%%DATADIR%%/lib/Stc680p.upp +%%DATADIR%%/lib/Stc680pl.upp +%%DATADIR%%/lib/Stc740p.upp +%%DATADIR%%/lib/Stc740pl.upp +%%DATADIR%%/lib/Stc760p.upp +%%DATADIR%%/lib/Stc760pl.upp +%%DATADIR%%/lib/Stc777p.upp +%%DATADIR%%/lib/Stc777pl.upp +%%DATADIR%%/lib/Stp720p.upp +%%DATADIR%%/lib/Stp720pl.upp +%%DATADIR%%/lib/Stp870p.upp +%%DATADIR%%/lib/Stp870pl.upp +%%DATADIR%%/lib/bjc6000a1.upp +%%DATADIR%%/lib/bjc6000b1.upp +%%DATADIR%%/lib/s400a1.upp +%%DATADIR%%/lib/s400b1.upp +%%DATADIR%%/lib/sharp.upp +%%DATADIR%%/lib/sipixa6.upp +%%DATADIR%%/lib/stc740ih.upp +%%GS_dmprt%%%%DATADIR%%/lib/lqx70ch.upp +%%GS_dmprt%%%%DATADIR%%/lib/lqx70cl.upp +%%GS_dmprt%%%%DATADIR%%/lib/lqx70cm.upp +%%GS_pcl3%%%%DATADIR%%/pcl3/calign.ps +%%GS_pcl3%%%%DATADIR%%/pcl3/dumppdd.ps +%%GS_pcl3%%%%DATADIR%%/pcl3/example.mcf +%%GS_pcl3%%%%DATADIR%%/pcl3/if-pcl3 +%%GS_pcl3%%%%DATADIR%%/pcl3/levels-test.ps +%%GS_pcl3%%%%DATADIR%%/pcl3/margins-A4.ps +%%GS_pcl3%%%%DATADIR%%/pcl3/margins-A4Rotated.ps +%%GS_pcl3%%%%DATADIR%%/pcl3/margins-Env10Rotated.ps +%%GS_pcl3%%%%DATADIR%%/pcl3/margins-EnvDLRotated.ps +%%GS_pcl3%%%%DATADIR%%/pcl3/margins-Letter.ps +%%GS_pcl3%%%%DATADIR%%/pcl3/margins-LetterRotated.ps diff --git a/print/ghostscript8-nox11/Makefile b/print/ghostscript8-nox11/Makefile deleted file mode 100644 index 73a8a030ae0d..000000000000 --- a/print/ghostscript8-nox11/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -# Created by: Nik Clayton <nik@FreeBSD.org> -# $FreeBSD$ - -print_ghostscript8-nox11_UNSET_FORCE+= X11 - -MASTERDIR= ${.CURDIR}/../ghostscript8 - -.include "${MASTERDIR}/Makefile" diff --git a/print/ghostscript8-x11/Makefile b/print/ghostscript8-x11/Makefile new file mode 100644 index 000000000000..2d234ced94cf --- /dev/null +++ b/print/ghostscript8-x11/Makefile @@ -0,0 +1,57 @@ +# Created by: Andreas Klemm <andreas@klemm.gtn.com> +# $FreeBSD$ + +PORTNAME= ghostscript +PORTVERSION= 8.71 +PORTREVISION= 19 +CATEGORIES= print +MASTER_SITES= http://downloads.ghostscript.com/public/ \ + SF/ghostscript/GPL%20Ghostscript/${PORTVERSION}/ \ + ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs${PORTVERSION:S/.//}/ +PKGNAMESUFFIX= 8-x11 +DIST_SUBDIR= ${PORTNAME} + +MAINTAINER= doceng@FreeBSD.org +COMMENT= Ghostscript 8.x PostScript interpreter, X11 support + +LICENSE= GPLv3 + +CONFLICTS_INSTALL= \ + gambc-[0-9]* \ + ghostscript[789]-[0-9]* \ + ghostscript[789]-nox11-[0-9]* \ + ghostscript9-agpl-[0-9]* \ + ghostscript9-agpl-nox11-[0-9]* + +USES= autoreconf ghostscript:8 gmake tar:xz +USE_LDCONFIG= yes +USE_XORG= ice sm x11 xext xt +GNU_CONFIGURE= yes +EXTRACT_AFTER_ARGS= ${EXCLUDE_DIRS:S/^/--exclude /} +MAKE_ENV= CFLAGS_STANDARD="${CFLAGS}" \ + XLDFLAGS="${XLDFLAGS}" +CONFIGURE_ENV= ${MAKE_ENV} +CONFIGURE_ARGS= --disable-compile-inits \ + --disable-contrib \ + --enable-dynamic \ + --without-ijs \ + --without-jasper \ + --without-libpaper \ + --with-x \ + --x-includes=${LOCALBASE}/include \ + --x-libraries=${LOCALBASE}/lib \ + --with-drivers="" +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib +XLDFLAGS= -lpthread +ALL_TARGET= ./obj/X11.so +INSTALL_TARGET= install-shared +PLIST_FILES= ${GS_LIBDIR}/X11.so + +GS_LIBDIR= lib/${PORTNAME}/${PORTVERSION} +EXCLUDE_DIRS= jbig2dec jpeg expat jasper libpng tiff zlib + +pre-build: + ${MKDIR} ${WRKSRC}/obj + +.include <bsd.port.mk> diff --git a/print/ghostscript8-x11/distinfo b/print/ghostscript8-x11/distinfo new file mode 100644 index 000000000000..1ca75e1e5231 --- /dev/null +++ b/print/ghostscript8-x11/distinfo @@ -0,0 +1,4 @@ +SHA256 (ghostscript/ghostscript-8.71.tar.xz) = f48f7370a00f24fce174b147074aca3f6bede82154dd2bf93d24430a62e4de73 +SIZE (ghostscript/ghostscript-8.71.tar.xz) = 15698644 +SHA256 (ghostscript/epag-3.09.tar.gz) = ad10eca44c781a5851d5a8993dcd95b2e2b99392cbf2c8372a5a658f3b991b3b +SIZE (ghostscript/epag-3.09.tar.gz) = 12858 diff --git a/print/ghostscript8-x11/files/patch-base-Makefile.in b/print/ghostscript8-x11/files/patch-base-Makefile.in new file mode 100644 index 000000000000..589acac05131 --- /dev/null +++ b/print/ghostscript8-x11/files/patch-base-Makefile.in @@ -0,0 +1,124 @@ +--- base/Makefile.in.orig 2009-12-18 16:04:10.000000000 +0900 ++++ base/Makefile.in 2015-08-21 20:58:35.641049000 +0900 +@@ -47,9 +47,9 @@ + # the directories also define the default search path for the + # initialization files (gs_*.ps) and the fonts. + +-INSTALL = $(GLSRCDIR)/instcopy -c +-INSTALL_PROGRAM = $(INSTALL) -m 755 +-INSTALL_DATA = $(INSTALL) -m 644 ++INSTALL_PROGRAM = ${BSD_INSTALL_PROGRAM} ++INSTALL_SCRIPT = ${BSD_INSTALL_SCRIPT} ++INSTALL_DATA = ${BSD_INSTALL_DATA} + INSTALL_SHARED = @INSTALL_SHARED@ + + prefix = @prefix@ +@@ -156,7 +156,7 @@ + # some older JPEG streams that violate the standard. If the JPEG + # library built from local sources, the patch will be applied. + +-SHARE_JPEG=@SHARE_LIBJPEG@ ++SHARE_JPEG=1 + JPEG_NAME=jpeg + + # Define the directory where the PNG library sources are stored, +@@ -164,12 +164,12 @@ + # You may need to change this if the libpng version changes. + # See libpng.mak for more information. + +-SHARE_LIBPNG=@SHARE_LIBPNG@ ++SHARE_LIBPNG=1 + PNGSRCDIR=@LIBPNGDIR@ + LIBPNG_NAME=png + + # libtiff +-SHARE_LIBTIFF=@SHARE_LIBTIFF@ ++SHARE_LIBTIFF=1 + TIFFSRCDIR=@LIBTIFFDIR@ + TIFFPLATFORM=unix + TIFFCONFIG_SUFFIX= +@@ -178,7 +178,7 @@ + # Define the directory where the zlib sources are stored. + # See zlib.mak for more information. + +-SHARE_ZLIB=@SHARE_ZLIB@ ++SHARE_ZLIB=1 + ZSRCDIR=@ZLIBDIR@ + #ZLIB_NAME=gz + ZLIB_NAME=z +@@ -254,7 +254,7 @@ + # Define the added flags for standard, debugging, profiling + # and shared object builds. + +-CFLAGS_STANDARD=@OPT_CFLAGS@ ++CFLAGS_STANDARD?=@OPT_CFLAGS@ + CFLAGS_DEBUG=-g -O0 + CFLAGS_PROFILE=-pg @OPT_CFLAGS@ + CFLAGS_SO=@DYNAMIC_CFLAGS@ +@@ -299,7 +299,7 @@ + # Solaris may need -lnsl -lsocket -lposix4. + # (Libraries required by individual drivers are handled automatically.) + +-EXTRALIBS=@LIBS@ @DYNAMIC_LIBS@ @FONTCONFIG_LIBS@ ++EXTRALIBS=@LIBS@ @DYNAMIC_LIBS@ @FONTCONFIG_LIBS@ -Wl,-export-dynamic + + # Define the standard libraries to search at the end of linking. + # Most platforms require -lpthread for the POSIX threads library; +@@ -343,7 +343,7 @@ + # the pthread library. Otherwise use SYNC=nosync + #SYNC=posync + #SYNC=nosync +-SYNC=@SYNC@ ++SYNC=nosync + + # programs we use + RM=rm -f +@@ -436,27 +436,27 @@ + #DEVICE_DEVS20=$(DD)cljet5.dev $(DD)cljet5c.dev + #DEVICE_DEVS21=$(DD)spotcmyk.dev $(DD)devicen.dev $(DD)xcf.dev $(DD)psdcmyk.dev $(DD)psdrgb.dev + DEVICE_DEVS=$(DISPLAY_DEV) @X_DEVS@ +-DEVICE_DEVS1=@FILES@ +-DEVICE_DEVS2=@PRINTERS@ +-DEVICE_DEVS3=@CUPSDEV@ +-DEVICE_DEVS4=@IJSDEVS@ +-DEVICE_DEVS5=@OMNIDEVS@ +-DEVICE_DEVS6=@PNGDEVS@ +-DEVICE_DEVS7=@JBIG2DEVS@ +-DEVICE_DEVS8=$(DD)svgwrite.dev +-DEVICE_DEVS9= +-DEVICE_DEVS10= +-DEVICE_DEVS11= +-DEVICE_DEVS12= +-DEVICE_DEVS13= +-DEVICE_DEVS14= +-DEVICE_DEVS15= +-DEVICE_DEVS16= +-DEVICE_DEVS17= +-DEVICE_DEVS18= +-DEVICE_DEVS19= +-DEVICE_DEVS20= +-DEVICE_DEVS21= ++#DEVICE_DEVS1=@FILES@ ++#DEVICE_DEVS2=@PRINTERS@ ++#DEVICE_DEVS3=@CUPSDEV@ ++#DEVICE_DEVS4=@IJSDEVS@ ++#DEVICE_DEVS5=@OMNIDEVS@ ++#DEVICE_DEVS6=@PNGDEVS@ ++#DEVICE_DEVS7=@JBIG2DEVS@ ++#DEVICE_DEVS8=$(DD)svgwrite.dev ++#DEVICE_DEVS9= ++#DEVICE_DEVS10= ++#DEVICE_DEVS11= ++#DEVICE_DEVS12= ++#DEVICE_DEVS13= ++#DEVICE_DEVS14= ++#DEVICE_DEVS15= ++#DEVICE_DEVS16= ++#DEVICE_DEVS17= ++#DEVICE_DEVS18= ++#DEVICE_DEVS19= ++#DEVICE_DEVS20= ++#DEVICE_DEVS21= + + + # Shared library target to build. diff --git a/print/ghostscript8-x11/files/patch-base-configure.ac b/print/ghostscript8-x11/files/patch-base-configure.ac new file mode 100644 index 000000000000..cf4085dfeebb --- /dev/null +++ b/print/ghostscript8-x11/files/patch-base-configure.ac @@ -0,0 +1,94 @@ +--- base/configure.ac.orig 2009-11-24 17:36:27.000000000 +0900 ++++ base/configure.ac 2015-08-21 20:57:47.140818000 +0900 +@@ -322,35 +322,6 @@ + + AC_CHECK_LIB(dl, dlopen) + +-AC_MSG_CHECKING([for local jpeg library source]) +-dnl At present, we give the local source priority over the shared +-dnl build, so that the D_MAX_BLOCKS_IN_MCU patch will be applied. +-dnl A more sophisticated approach would be to test the shared lib +-dnl to see whether it has already been patched. +-LIBJPEGDIR=src +-if test -f jpeg/jpeglib.h; then +- AC_MSG_RESULT([jpeg]) +- SHARE_LIBJPEG=0 +- LIBJPEGDIR=jpeg +-elif test -f jpeg-6b/jpeglib.h; then +- AC_MSG_RESULT([jpeg-6b]) +- SHARE_LIBJPEG=0 +- LIBJPEGDIR=jpeg-6b +-else +- AC_MSG_RESULT([no]) +- AC_CHECK_LIB(jpeg, jpeg_set_defaults, [ +- AC_CHECK_HEADERS([jpeglib.h], [SHARE_LIBJPEG=1]) +- ]) +-fi +-if test -z "$SHARE_LIBJPEG"; then +- AC_MSG_ERROR([I wasn't able to find a copy +- of the jpeg library. This is required for compiling +- ghostscript. Please download a copy of the source, +- e.g. from http://www.ijg.org/, unpack it at the +- top level of the gs source tree, and rename +- the directory to 'jpeg'. +- ]) +-fi + AC_SUBST(SHARE_LIBJPEG) + AC_SUBST(LIBJPEGDIR) + dnl check for the internal jpeg memory header +@@ -402,7 +373,7 @@ + PNGDEVS="$PNGDEVS_ALL" + else + AC_MSG_RESULT([no]) +- AC_CHECK_LIB(png, png_check_sig, [ ++ AC_CHECK_LIB(png, png_sig_cmp, [ + AC_CHECK_HEADERS(png.h, [ + SHARE_LIBPNG=1 + PNGDEVS="$PNGDEVS_ALL" +@@ -434,7 +405,7 @@ + AC_CHECK_LIB(tiff, TIFFOpen, + [AC_CHECK_HEADERS(tiff.h, [HAVE_SYSTEM_LIBTIFF=1;SHARE_LIBTIFF=1])], + [], [-ljpeg]) +- 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 + AC_MSG_NOTICE([Could not find a copy of libtiff on your system. + Disabling tiff output devices.]) + else +@@ -758,7 +729,7 @@ + X_DEVS="" + X_LIBS="" + +-if test x$no_x != xyes; then ++if test x$with_x != xno; then + if test "$x_libraries" = "/usr/lib"; then + echo "Ignoring X library directory \"$x_libraries\" requested by configure." + x_libraries="NONE" +@@ -1063,7 +1034,12 @@ + ;; + *BSD) + DYNAMIC_CFLAGS="-fPIC" +- DYNAMIC_DEVS="\$(GLOBJDIR)/X11.so" ++ if test "x$X_DEVS" != x; then ++ DYNAMIC_DEVS="\$(GLOBJDIR)/X11.so" ++ INSTALL_SHARED="install-shared" ++ else ++ DYNAMIC_DEVS="" ++ fi + DYNAMIC_FLAGS="-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\\\"\$(gssharedir)\\\"" + DYNAMIC_LDFLAGS="-fPIC -shared" + DYNAMIC_LIBS="" +@@ -1119,11 +1095,11 @@ + fontpath="${fontpath}:$datadir/fonts/default/TrueType" + + # These font directories are used by IRIX... +- fontpath="${fontpath}:/usr/lib/DPS/outline/base" ++ # fontpath="${fontpath}:/usr/lib/DPS/outline/base" + + # These font directories are used by Solaris... +- fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/Type1" +- fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/TrueType" ++ # fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/Type1" ++ # fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/TrueType" + + # This font directory is used by CUPS... + if test "x$CUPSCONFIG" != x; then diff --git a/print/ghostscript8-x11/files/patch-base-devs.mak b/print/ghostscript8-x11/files/patch-base-devs.mak new file mode 100644 index 000000000000..8c7cc96f7620 --- /dev/null +++ b/print/ghostscript8-x11/files/patch-base-devs.mak @@ -0,0 +1,42 @@ +--- base/devs.mak.orig 2009-11-12 00:50:28.000000000 +0900 ++++ base/devs.mak 2015-08-21 20:37:24.364436000 +0900 +@@ -421,10 +421,10 @@ + ### NON PORTABLE, ONLY UNIX WITH GCC SUPPORT + + $(GLOBJ)lvga256.so : $(lvga256_) +- $(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)lvga256.so $(lvga256_) -lvga -lvgagl ++ $(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)lvga256.so $(lvga256_) -lvga -lvgagl $(XLDFLAGS) + + $(GLOBJ)vgalib.so : $(vgalib_) +- $(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)vgalib.so $(vgalib_) -lvga -lvgagl ++ $(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)vgalib.so $(vgalib_) -lvga -lvgagl $(XLDFLAGS) + + ### -------------------------- The X11 device -------------------------- ### + +@@ -457,7 +457,7 @@ + $(GLCCSHARED) $(XINCLUDE) $(GLO_)gdevx.$(OBJ) $(C_) $(GLSRC)gdevx.c + + $(GLOBJ)gdevxcmp.$(OBJ) : $(GLSRC)gdevxcmp.c $(GDEVX) $(math__h) +- $(GLCC) $(XINCLUDE) $(GLO_)gdevxcmp.$(OBJ) $(C_) $(GLSRC)gdevxcmp.c ++ $(GLCCSHARED) $(XINCLUDE) $(GLO_)gdevxcmp.$(OBJ) $(C_) $(GLSRC)gdevxcmp.c + + $(GLOBJ)gdevxini.$(OBJ) : $(GLSRC)gdevxini.c $(GDEVX) $(memory__h)\ + $(gserrors_h) $(gsparamx_h) $(gxdevmem_h) $(gdevbbox_h) +@@ -467,7 +467,7 @@ + # const/non-const cast required by the X headers that we can't work around. + $(GLOBJ)gdevxres.$(OBJ) : $(GLSRC)gdevxres.c $(std_h) $(x__h)\ + $(gsmemory_h) $(gstypes_h) $(gxdevice_h) $(gdevx_h) +- $(CC_NO_WARN) $(GLCCFLAGS) $(XINCLUDE) $(GLO_)gdevxres.$(OBJ) $(C_) $(GLSRC)gdevxres.c ++ $(GLCCSHARED) $(XINCLUDE) $(GLO_)gdevxres.$(OBJ) $(C_) $(GLSRC)gdevxres.c + + $(GLOBJ)gdevxxf.$(OBJ) : $(GLSRC)gdevxxf.c $(GDEVX) $(math__h) $(memory__h)\ + $(gsstruct_h) $(gsutil_h) $(gxxfont_h) +@@ -527,7 +527,7 @@ + ### NON PORTABLE, ONLY UNIX WITH GCC SUPPORT + + $(GLOBJ)X11.so : $(x11alt_) $(x11_) +- $(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)X11.so $(x11alt_) $(x11_) -L/usr/X11R6/lib -lXt -lSM -lICE -lXext -lX11 $(XLIBDIRS) ++ $(CCLD) $(LDFLAGS) -shared -o $(GLOBJ)X11.so $(x11alt_) $(x11_) -L$(LOCALBASE)/lib -lXt -lSM -lICE -lXext -lX11 $(XLIBDIRS) + + ###### --------------- Memory-buffered printer devices --------------- ###### + diff --git a/print/ghostscript8-x11/files/patch-base-errors.h b/print/ghostscript8-x11/files/patch-base-errors.h new file mode 100644 index 000000000000..89a493c96120 --- /dev/null +++ b/print/ghostscript8-x11/files/patch-base-errors.h @@ -0,0 +1,10 @@ +--- base/errors.h.orig 2007-06-06 07:23:38.000000000 +0900 ++++ base/errors.h 2009-03-29 03:53:40.000000000 +0900 +@@ -21,6 +21,6 @@ + */ + + /* We include that file here to backward compatibility */ +-#include "ierrors.h" ++#include "../psi/ierrors.h" + + #endif /* errors_INCLUDED */ diff --git a/print/ghostscript8-x11/files/patch-base-gdevl256.c b/print/ghostscript8-x11/files/patch-base-gdevl256.c new file mode 100644 index 000000000000..60be4a072b51 --- /dev/null +++ b/print/ghostscript8-x11/files/patch-base-gdevl256.c @@ -0,0 +1,30 @@ +--- base/gdevl256.c.orig 2007-09-25 22:31:24.000000000 +0900 ++++ base/gdevl256.c 2010-08-01 23:05:56.000000000 +0900 +@@ -143,9 +143,12 @@ + /* for compatibility with the older display modes: */ + /* these are indexed as 0.0.R0.G0.B0.R1.G1.B1. */ + gx_color_index +-lvga256_map_rgb_color(gx_device * dev, gx_color_value r, gx_color_value g, +- gx_color_value b) ++lvga256_map_rgb_color(gx_device * dev, const gx_color_value cv[]) + { ++ gx_color_value r = cv[0]; ++ gx_color_value g = cv[1]; ++ gx_color_value b = cv[2]; ++ + #define cv_bits(v,n) (v >> (gx_color_value_bits - n)) + ushort r5 = cv_bits(r, 5), g5 = cv_bits(g, 5), b5 = cv_bits(b, 5); + static const byte cube_bits[32] = +@@ -301,12 +304,3 @@ + gl_line(x0, y0, x1, y1, color); + return 0; + } +- +-#ifdef GS_DEVS_SHARED +-extern void gs_lib_register_device(const gx_device *dev); +-void +-gs_shared_init(void) +-{ +- gs_lib_register_device(&gs_lvga256_device); +-} +-#endif diff --git a/print/ghostscript8-x11/files/patch-base-gdevperm.c b/print/ghostscript8-x11/files/patch-base-gdevperm.c new file mode 100644 index 000000000000..94b9020eb2c5 --- /dev/null +++ b/print/ghostscript8-x11/files/patch-base-gdevperm.c @@ -0,0 +1,11 @@ +--- base/gdevperm.c.orig Tue Sep 25 22:31:24 2007 ++++ base/gdevperm.c Sat Nov 24 15:11:12 2007 +@@ -286,7 +286,7 @@ + (strncmp((const char *)name, (const char *)str, name_size) == 0)) + + static int +-perm_get_color_comp_index(const gx_device *pdev, const char *pname, ++perm_get_color_comp_index(gx_device *pdev, const char *pname, + int name_size, int component_type) + { + const gx_device_perm_t * const dev = (const gx_device_perm_t *)pdev; diff --git a/print/ghostscript8-x11/files/patch-base-gdevvglb.c b/print/ghostscript8-x11/files/patch-base-gdevvglb.c new file mode 100644 index 000000000000..b0f061ff3a66 --- /dev/null +++ b/print/ghostscript8-x11/files/patch-base-gdevvglb.c @@ -0,0 +1,32 @@ +--- base/gdevvglb.c.orig 2007-09-25 22:31:24.000000000 +0900 ++++ base/gdevvglb.c 2010-08-01 23:08:53.000000000 +0900 +@@ -149,10 +149,13 @@ + } + + static gx_color_index +-vgalib_map_rgb_color(gx_device * dev, gx_color_value red, +- gx_color_value green, gx_color_value blue) ++vgalib_map_rgb_color(gx_device * dev, const gx_color_value cv[]) + { +- return pc_4bit_map_rgb_color(dev, red, green, blue); ++ gx_color_value r = cv[0]; ++ gx_color_value g = cv[1]; ++ gx_color_value b = cv[2]; ++ ++ return pc_4bit_map_rgb_color(dev, cv); + } + + static int +@@ -368,12 +371,3 @@ + } + return 0; + } +- +-#ifdef GS_DEVS_SHARED +-extern void gs_lib_register_device(const gx_device *dev); +-void +-gs_shared_init(void) +-{ +- gs_lib_register_device(&gs_vgalib_device); +-} +-#endif diff --git a/print/ghostscript8-x11/files/patch-base-gp_unix.c b/print/ghostscript8-x11/files/patch-base-gp_unix.c new file mode 100644 index 000000000000..c1dc7b830c9b --- /dev/null +++ b/print/ghostscript8-x11/files/patch-base-gp_unix.c @@ -0,0 +1,47 @@ +--- base/gp_unix.c.orig 2015-08-21 21:07:48.028144000 +0900 ++++ base/gp_unix.c 2015-08-21 21:10:17.913478000 +0900 +@@ -50,6 +50,7 @@ + * and applied as a patch (preferable). + */ + #include <sys/types.h> ++#include <limits.h> + #include <dirent.h> + #include <dlfcn.h> + #include <string.h> +@@ -59,26 +60,25 @@ + { + DIR* dir = NULL; + struct dirent* dirent; +- char buff[1024]; ++ char buff[PATH_MAX]; + char* pbuff; + void* handle; + void (*gs_shared_init)(void); + +- strncpy(buff, GS_DEVS_SHARED_DIR, sizeof(buff) - 2); +- pbuff = buff + strlen(buff); +- *pbuff++ = '/'; *pbuff = '\0'; +- + dir = opendir(GS_DEVS_SHARED_DIR); + if (dir == 0) return; + + while ((dirent = readdir(dir)) != 0) { +- strncpy(pbuff, dirent->d_name, sizeof(buff) - (pbuff - buff) - 1); +- if ((handle = dlopen(buff, RTLD_NOW)) != 0) { +- if ((gs_shared_init = dlsym(handle, "gs_shared_init")) != 0) { ++ snprintf(buff, sizeof(buff), "%s/%s", GS_DEVS_SHARED_DIR, dirent->d_name); ++ pbuff = buff + strlen(buff) - 3; ++ if (strcmp(pbuff, ".so") != 0) ++ continue; ++ handle = dlopen(buff, RTLD_NOW); ++ if (handle == NULL) ++ continue; ++ gs_shared_init = dlsym(handle, "gs_shared_init"); ++ if (gs_shared_init != NULL) + (*gs_shared_init)(); +- } else { +- } +- } + } + + closedir(dir); diff --git a/print/ghostscript8-x11/files/patch-base-gs.mak b/print/ghostscript8-x11/files/patch-base-gs.mak new file mode 100644 index 000000000000..ecb6f57e0dd7 --- /dev/null +++ b/print/ghostscript8-x11/files/patch-base-gs.mak @@ -0,0 +1,11 @@ +--- base/gs.mak.orig 2010-05-23 15:46:23.000000000 +0900 ++++ base/gs.mak 2010-05-23 15:57:37.000000000 +0900 +@@ -415,7 +415,7 @@ + ld_tr=$(GLGENDIR)$(D)ld.tr + $(ld_tr) : \ + $(GS_MAK) $(TOP_MAKEFILES) $(GLSRCDIR)$(D)version.mak $(GENCONF_XE) $(ECHOGS_XE) $(devs_tr) $(DEVS_ALL) $(GLGENDIR)$(D)libcore.dev +- $(EXP)$(GENCONF_XE) $(devs_tr) -h $(gconfig_h) $(CONFILES) $(CONFLDTR) $(ld_tr) ++ $(EXP)$(GENCONF_XE) $(devs_tr) -h /dev/stdout $(CONFILES) $(CONFLDTR) $(ld_tr) | awk 'BEGIN{j=0; p=1;} /jpeg_device/ {if(j++ > 0) p=0;} // {if(p==1) { print; } else { p=1 } }' > $(gconfig_h) + $(EXP)$(ECHOGS_XE) -a $(gconfig_h) $(GCONFIG_EXTRAS) + + $(gconfig_h) : $(ld_tr) diff --git a/print/ghostscript8-x11/files/patch-base-gsmalloc.c b/print/ghostscript8-x11/files/patch-base-gsmalloc.c new file mode 100644 index 000000000000..c4982de93012 --- /dev/null +++ b/print/ghostscript8-x11/files/patch-base-gsmalloc.c @@ -0,0 +1,11 @@ +--- base/gsmalloc.c.orig 2015-07-24 09:52:39.718916000 +0900 ++++ base/gsmalloc.c 2015-07-24 09:54:31.761202000 +0900 +@@ -174,7 +174,7 @@ + } 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 *) malloc(added)) == 0) + set_msg("failed"); diff --git a/print/ghostscript9-agpl/files/patch-base-gxobj.h b/print/ghostscript8-x11/files/patch-base-gxobj.h index 529efe379df2..529efe379df2 100644 --- a/print/ghostscript9-agpl/files/patch-base-gxobj.h +++ b/print/ghostscript8-x11/files/patch-base-gxobj.h diff --git a/print/ghostscript8-x11/files/patch-base-ijs.mak b/print/ghostscript8-x11/files/patch-base-ijs.mak new file mode 100644 index 000000000000..26e407247ede --- /dev/null +++ b/print/ghostscript8-x11/files/patch-base-ijs.mak @@ -0,0 +1,20 @@ +--- base/ijs.mak.orig 2012-06-13 02:06:36.000000000 +0900 ++++ base/ijs.mak 2012-06-13 02:07:44.000000000 +0900 +@@ -41,7 +41,7 @@ + ijs.clean : ijs.config-clean ijs.clean-not-config-clean + + ### WRONG. MUST DELETE OBJ AND GEN FILES SELECTIVELY. +-ijs.clean-not-config-clean : ++ijs.clean-not-config-clean : $(ECHOGS_XE) + # echo $(IJSSRC) $(IJSGEN) $(IJSOBJ) $(IJSO_) + $(EXP)$(ECHOGS_XE) $(IJSSRC) $(IJSGEN) $(IJSOBJ) $(IJSO_) + $(RM_) $(IJSOBJ)*.$(OBJ) +@@ -61,7 +61,7 @@ + ijs_client_h=$(IJSSRC)$(D)ijs_client.h + ijs_server_h=$(IJSSRC)$(D)ijs_server.h + +-$(IJSOBJ)ijs.$(OBJ) : $(IJSSRC)ijs.c $(IJSDEP) $(ijs_h) ++$(IJSOBJ)ijs.$(OBJ) : $(ECHOGS_XE) $(IJSSRC)ijs.c $(IJSDEP) $(ijs_h) + # echo $(IJS_CCFLAGS) + $(EXP)$(ECHOGS_XE) $(IJS_CCFLAGS) + $(IJS_CC) $(IJSO_)ijs.$(OBJ) $(C_) $(IJSSRC)ijs.c diff --git a/print/ghostscript8-x11/files/patch-base-lib.mak b/print/ghostscript8-x11/files/patch-base-lib.mak new file mode 100644 index 000000000000..037390f44f0d --- /dev/null +++ b/print/ghostscript8-x11/files/patch-base-lib.mak @@ -0,0 +1,26 @@ +--- base/lib.mak.orig 2009-12-30 07:18:01.000000000 +0900 ++++ base/lib.mak 2015-08-21 20:39:55.003384000 +0900 +@@ -895,7 +895,7 @@ + $(GLOBJ)gsparamx.$(OBJ) : $(GLSRC)gsparamx.c $(string__h)\ + $(gserror_h) $(gserrors_h) $(gsmemory_h) $(gsparam_h) $(gsparamx_h)\ + $(gstypes_h) +- $(GLCC) $(GLO_)gsparamx.$(OBJ) $(C_) $(GLSRC)gsparamx.c ++ $(GLCCSHARED) $(GLO_)gsparamx.$(OBJ) $(C_) $(GLSRC)gsparamx.c + + # Future replacement for gsparams.c + $(GLOBJ)gsparam2.$(OBJ) : $(GLSRC)gsparam2.c $(GXERR) $(memory__h)\ +@@ -2684,12 +2684,12 @@ + # This is used to access compressed, compiled-in support files + gsiorom_h=$(GLSRC)gsiorom.h + romfs_=$(GLOBJ)gsiorom.$(OBJ) +-$(GLD)romfs1.dev : $(LIB_MAK) $(ECHO_XE) $(romfs_) ++$(GLD)romfs1.dev : $(LIB_MAK) $(ECHOGS_XE) $(romfs_) + $(SETMOD) $(GLD)romfs1 $(romfs_) + $(ADDMOD) $(GLD)romfs1 -iodev rom + + # A dummy romfs when we aren't using COMPILE_INITS +-$(GLD)romfs0.dev : $(LIB_MAK) $(ECHO_XE) ++$(GLD)romfs0.dev : $(LIB_MAK) $(ECHOGS_XE) + $(SETMOD) $(GLD)romfs0 + + $(GLGEN)gsromfs1.c : $(MKROMFS_XE) $(PS_ROMFS_DEPS) diff --git a/print/ghostscript8-x11/files/patch-base-sjpx.c b/print/ghostscript8-x11/files/patch-base-sjpx.c new file mode 100644 index 000000000000..761f1423b700 --- /dev/null +++ b/print/ghostscript8-x11/files/patch-base-sjpx.c @@ -0,0 +1,36 @@ +Submitted By: Ken Moffat <ken at linuxfromscratch dot org> +Date: 2009-02-11 +Initial Package Version: 8.63 (well, it's needed for 8.63, obviously ex 8.61) +Upstream Status: unknown +Origin: fedora +Description: Allows gnu-ghostscript to compile against external libjasper. + To do that, you need to remove the jasper/ directory. The included version +is 1.701 which is somewhat old. Forward-ported to 8.64 (the structure of +the file source tree has changed) by km. + +diff -Naur ghostscript-8.64.orig/base/sjpx.c ghostscript-8.64/base/sjpx.c +--- base/sjpx.c 2008-08-21 00:22:49.000000000 +0100 ++++ base/sjpx.c 2009-02-10 21:59:41.000000000 +0000 +@@ -34,14 +34,6 @@ + private_st_jpxd_state(); /* creates a gc object for our state, + defined in sjpx.h */ + +-/* error reporting callback for the jpx library */ +-static void +-s_jpx_jas_error_cb(jas_error_t err, char *msg) +-{ +- dprintf2("jasper (code %d) %s", (int)err, msg); +-} +- +- + /* initialize the steam. + this involves allocating the stream and image structures, and + initializing the decoder. +@@ -59,7 +51,6 @@ + } + + status = jas_init(); +- jas_set_error_cb(s_jpx_jas_error_cb); + #ifdef JPX_DEBUG + /* raise the error reporting threshold from the default (0) */ + jas_setdbglevel(1); diff --git a/print/ghostscript8-x11/files/patch-base-unix-dll.mak b/print/ghostscript8-x11/files/patch-base-unix-dll.mak new file mode 100644 index 000000000000..96876e3bfb15 --- /dev/null +++ b/print/ghostscript8-x11/files/patch-base-unix-dll.mak @@ -0,0 +1,17 @@ +--- base/unix-dll.mak.orig 2009-10-20 05:24:53.000000000 +0900 ++++ base/unix-dll.mak 2010-04-03 12:22:35.000000000 +0900 +@@ -79,12 +79,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) ++ $(GLCC) -g -o $(GSSOC_XE) $(PSSRC)dxmainc.c -L$(BINDIR) -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) ++ -L$(BINDIR) -l$(GS) $(SOC_LIBS) + + # ------------------------- Recursive make targets ------------------------- # + diff --git a/print/ghostscript8-x11/files/patch-base-unix-gcc.mak b/print/ghostscript8-x11/files/patch-base-unix-gcc.mak new file mode 100644 index 000000000000..4277ce7ed6c3 --- /dev/null +++ b/print/ghostscript8-x11/files/patch-base-unix-gcc.mak @@ -0,0 +1,216 @@ +--- base/unix-gcc.mak.orig 2008-10-03 04:33:22.000000000 +0900 ++++ base/unix-gcc.mak 2009-03-29 03:33:35.000000000 +0900 +@@ -21,15 +21,18 @@ + # source, generated intermediate file, and object directories + # for the graphics library (GL) and the PostScript/PDF interpreter (PS). + ++.CURDIR?=. + BINDIR=./bin +-GLSRCDIR=./base +-GLGENDIR=./obj +-GLOBJDIR=./obj +-PSSRCDIR=./psi +-PSLIBDIR=./lib +-PSRESDIR=./Resource +-PSGENDIR=./obj +-PSOBJDIR=./obj ++BINDIR=${.CURDIR}/bin ++GLSRCDIR=${.CURDIR}/base ++GLGENDIR=${.CURDIR}/obj ++GLOBJDIR=${.CURDIR}/obj ++PSSRCDIR=${.CURDIR}/psi ++PSLIBDIR=${.CURDIR}/lib ++PSRESDIR=${.CURDIR}/Resource ++PSGENDIR=${.CURDIR}/obj ++PSOBJDIR=${.CURDIR}/obj ++CONTRIBDIR=${.CURDIR}/contrib + + # Do not edit the next group of lines. + +@@ -48,11 +51,10 @@ + # the directories also define the default search path for the + # initialization files (gs_*.ps) and the fonts. + +-INSTALL = $(GLSRCDIR)/instcopy -c +-INSTALL_PROGRAM = $(INSTALL) -m 755 +-INSTALL_DATA = $(INSTALL) -m 644 ++INSTALL_PROGRAM = ${BSD_INSTALL_SCRIPT} ++INSTALL_DATA = ${BSD_INSTALL_DATA} + +-prefix = /usr/local ++prefix = ${PREFIX} + exec_prefix = $(prefix) + bindir = $(exec_prefix)/bin + scriptdir = $(bindir) +@@ -107,7 +109,7 @@ + # -DHAVE_HYPOT + # use the system hypot() call + +-CAPOPT= -DHAVE_MKSTEMP ++CAPOPT= -DHAVE_MKSTEMP -DHAVE_HYPOT + + # Define the name of the executable file. + +@@ -131,7 +133,7 @@ + # some older JPEG streams that violate the standard. If the JPEG + # library built from local sources, the patch will be applied. + +-SHARE_JPEG=0 ++SHARE_JPEG=1 + JPEG_NAME=jpeg + + # Define the directory where the PNG library sources are stored, +@@ -145,7 +147,7 @@ + # what its name is. + # See gs.mak and Make.htm for more information. + +-SHARE_LIBPNG=0 ++SHARE_LIBPNG=1 + LIBPNG_NAME=png + + # Define the directory where the zlib sources are stored. +@@ -157,7 +159,7 @@ + # what its name is (usually libz, but sometimes libgz). + # See gs.mak and Make.htm for more information. + +-SHARE_ZLIB=0 ++SHARE_ZLIB=1 + #ZLIB_NAME=gz + ZLIB_NAME=z + +@@ -166,6 +168,14 @@ + JBIG2_LIB=jbig2dec + JBIG2SRCDIR=jbig2dec + ++# Choose the library to use for (JPXDecode support) ++# whether to link to an external build or compile in from source ++# and source location and configuration flags for compiling in ++JPX_LIB=jasper ++SHARE_JPX=0 ++JPXSRCDIR=jasper ++JPX_CFLAGS=-DJAS_CONFIGURE ++ + # Define the directory where the icclib source are stored. + # See icclib.mak for more information + +@@ -194,7 +204,7 @@ + + # Define the name of the C compiler. + +-CC=gcc ++CC?=cc + + # Define the name of the linker for the final link step. + # Normally this is the same as the C compiler. +@@ -211,10 +221,10 @@ + # Define the added flags for standard, debugging, profiling + # and shared object builds. + +-CFLAGS_STANDARD=-O2 ++CFLAGS_STANDARD?=-O2 + CFLAGS_DEBUG=-g -O0 + CFLAGS_PROFILE=-pg -O2 +-CFLAGS_SO=-fPIC -shared ++CFLAGS_SO=-fPIC + + # Define the other compilation flags. Add at most one of the following: + # -DBSD4_2 for 4.2bsd systems. +@@ -227,7 +237,8 @@ + # We don't include -ansi, because this gets in the way of the platform- + # specific stuff that <math.h> typically needs; nevertheless, we expect + # gcc to accept ANSI-style function prototypes and function definitions. +-XCFLAGS=-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"$(gssharedir)\" ++#XCFLAGS+=-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"$(gssharedir)\" ++XCFLAGS+=-DUPD_SIGNAL=0 -I${JPXSRCDIR}/src/libjasper/include -I${LOCALBASE}/include/libpng -I${LOCALBASE}/include + + CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(XCFLAGS) + +@@ -238,7 +249,7 @@ + # -R /usr/local/xxx/lib:/usr/local/lib + # giving the full path names of the shared library directories. + # XLDFLAGS can be set from the command line. +-XLDFLAGS= ++XLDFLAGS+=-L${LOCALBASE}/lib + + LDFLAGS=$(XLDFLAGS) + +@@ -249,7 +260,7 @@ + # Solaris may need -lnsl -lsocket -lposix4. + # (Libraries required by individual drivers are handled automatically.) + +-EXTRALIBS=-rdynamic -ldl ++EXTRALIBS+=-Wl,-export-dynamic + + # Define the standard libraries to search at the end of linking. + # Most platforms require -lpthread for the POSIX threads library; +@@ -271,7 +282,7 @@ + # Note that x_.h expects to find the header files in $(XINCLUDE)/X11, + # not in $(XINCLUDE). + +-XINCLUDE=-I/usr/X11R6/include ++XINCLUDE=-I${LOCALBASE}/include + + # Define the directory/ies and library names for the X11 library files. + # XLIBDIRS is for ld and should include -L; XLIBDIR is for LD_RUN_PATH +@@ -283,28 +294,28 @@ + # Solaris and other SVR4 systems with dynamic linking probably want + #XLIBDIRS=-L/usr/openwin/lib -R/usr/openwin/lib + # X11R6 (on any platform) may need +-#XLIBS=Xt SM ICE Xext X11 ++XLIBS=Xt SM ICE Xext X11 + + #XLIBDIRS=-L/usr/local/X/lib +-XLIBDIRS=-L/usr/X11R6/lib ++XLIBDIRS=-L${LOCALBASE}/lib + XLIBDIR= +-XLIBS=Xt Xext X11 ++#XLIBS=Xt Xext X11 + + # Define the .dev module that implements thread and synchronization + # primitives for this platform. + + # If POSIX sync primitives are used, also change the STDLIBS to include + # the pthread library. +-#SYNC=posync ++SYNC=posync + + # Default is No sync primitives since some platforms don't have it (HP-UX) +-SYNC=nosync ++#SYNC=nosync + + # ------ Devices and features ------ # + + # 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 $(PSD)fapi.dev $(PSD)jbig2.dev $(PSD)jpx.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 +@@ -389,7 +400,7 @@ + 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 $(DD)pamcmyk32.dev + + # Shared library target to build. +-GS_SHARED_OBJS=$(GLOBJDIR)/X11.so $(GLOBJDIR)/lvga256.so $(GLOBJDIR)/vgalib.so ++#GS_SHARED_OBJS=$(GLOBJDIR)/X11.so $(GLOBJDIR)/lvga256.so $(GLOBJDIR)/vgalib.so + #GS_SHARED_OBJS=$(GLOBJDIR)/X11.so + + # ---------------------------- End of options --------------------------- # +@@ -429,6 +440,9 @@ + include $(GLSRCDIR)/zlib.mak + include $(GLSRCDIR)/libpng.mak + include $(GLSRCDIR)/jbig2.mak ++include $(GLSRCDIR)/jasper.mak ++include $(GLSRCDIR)/ldf_jb2.mak ++include $(GLSRCDIR)/lwf_jp2.mak + include $(GLSRCDIR)/icclib.mak + include $(GLSRCDIR)/ijs.mak + include $(GLSRCDIR)/devs.mak +@@ -438,6 +452,7 @@ + include $(GLSRCDIR)/unix-dll.mak + include $(GLSRCDIR)/unix-end.mak + include $(GLSRCDIR)/unixinst.mak ++include $(CONTRIBDIR)/contrib.mak + + # This has to come last so it won't be taken as the default target. + $(AK): diff --git a/print/ghostscript8-x11/files/patch-base-unixinst.mak b/print/ghostscript8-x11/files/patch-base-unixinst.mak new file mode 100644 index 000000000000..4f6006f3a9a8 --- /dev/null +++ b/print/ghostscript8-x11/files/patch-base-unixinst.mak @@ -0,0 +1,20 @@ +--- base/unixinst.mak.orig 2009-11-19 09:09:15.000000000 +0900 ++++ base/unixinst.mak 2014-11-23 17:40:46.000000000 +0900 +@@ -44,7 +44,7 @@ + wftopfa fixmswrd.pl lprsetup.sh pj-gs.sh pv.sh sysvlp.sh unix-lpr.sh ;\ + do if ( test -f $(PSLIBDIR)/$$f ); then \ + (cat $(PSLIBDIR)/$$f | sed -e "s/GS_EXECUTABLE=gs/GS_EXECUTABLE=$(GS)/" > $(PSOBJDIR)/$$f); \ +- $(INSTALL_PROGRAM) $(PSOBJDIR)/$$f $(DESTDIR)$(scriptdir)/$$f; \ ++ $(INSTALL_SCRIPT) $(PSOBJDIR)/$$f $(DESTDIR)$(scriptdir)/$$f; \ + fi;\ + done' + +@@ -128,7 +128,7 @@ + done' + + # install the man pages for each locale +-MAN_LCDIRS=. de ++MAN_LCDIRS=. + MAN1_LINKS_PS2PS=eps2eps + MAN1_LINKS_PS2PDF=ps2pdf12 ps2pdf13 + MAN1_LINKS_GSLP=gsbj gsdj gsdj500 gslj diff --git a/print/ghostscript8-x11/pkg-descr b/print/ghostscript8-x11/pkg-descr new file mode 100644 index 000000000000..716d1ee60082 --- /dev/null +++ b/print/ghostscript8-x11/pkg-descr @@ -0,0 +1,8 @@ +This package installs X11 support library which adds the following +devices to the installed Ghostscript: + + x11, x11alpha, x11cmyk, x11cmyk2, x11cmyk4, x11cmyk8, x11gray2, + x11gray4, and x11mono. + +WWW: http://www.cs.wisc.edu/~ghost/doc/GPL/index.htm + http://www.ghostscript.com/ diff --git a/print/ghostscript8/files/Makefile.dmprt b/print/ghostscript8/files/Makefile.dmprt deleted file mode 100644 index cdc04a23af07..000000000000 --- a/print/ghostscript8/files/Makefile.dmprt +++ /dev/null @@ -1,8 +0,0 @@ -# $FreeBSD$ - -post-install-dmprt: - cd ${FILESDIR} && \ - ${INSTALL_DATA} lqx70ch.upp lqx70cl.upp lqx70cm.upp \ - ${STAGEDIR}${DATADIR}/${PORTVERSION}/lib - -post-install: post-install-dmprt diff --git a/print/ghostscript8/files/Makefile.pcl3 b/print/ghostscript8/files/Makefile.pcl3 deleted file mode 100644 index b36b4d60e85a..000000000000 --- a/print/ghostscript8/files/Makefile.pcl3 +++ /dev/null @@ -1,36 +0,0 @@ -# $FreeBSD$ - -PORTDOCS+= pcl3 -PORTDOC_FILES+= pcl3/NEWS pcl3/BUGS pcl3/README pcl3/gs-pcl3.html \ - pcl3/how-to-report.txt pcl3/pcl3opts.html - -post-build-pcl3: - cd ${WRKSRC} && \ - ${CC} ${CFLAGS} -I./obj -I./soobj -I./base \ - -I./contrib/pcl3/eprn -o bin/pcl3opts \ - contrib/pcl3/src/pcl3opts.c contrib/pcl3/src/pclscan.c \ - contrib/pcl3/eprn/mediasize.c contrib/pcl3/src/pclsize.c - -post-install-pcl3: - ${INSTALL_PROGRAM} ${WRKSRC}/bin/pcl3opts ${STAGEDIR}${PREFIX}/bin - ${MKDIR} ${STAGEDIR}${DATADIR}/${PORTVERSION}/pcl3 - cd ${WRKSRC}/contrib/pcl3 && \ - ${INSTALL_DATA} lib/example.mcf lib/if-pcl3 \ - ps/calign.ps ps/dumppdd.ps ps/levels-test.ps \ - ps/margins-A4.ps ps/margins-A4Rotated.ps \ - ps/margins-Env10Rotated.ps \ - ps/margins-EnvDLRotated.ps \ - ps/margins-Letter.ps \ - ps/margins-LetterRotated.ps \ - ${STAGEDIR}${DATADIR}/${PORTVERSION}/pcl3 - cd ${WRKSRC}/contrib/pcl3/doc && \ - ${INSTALL_MAN} gs-pcl3.1 pcl3opts.1 \ - ${STAGEDIR}${MANPREFIX}/man/man1 - -post-install-docs-pcl3: - ${MKDIR} ${WRKSRC}/contrib/pcl3 - ${INSTALL_DATA} ${WRKSRC}/contrib/pcl3/doc/* ${WRKSRC}/contrib/pcl3 - -post-build: post-build-pcl3 -post-install: post-install-pcl3 -post-install-docs: post-install-docs-pcl3 diff --git a/print/ghostscript8/files/patch-base-configure.ac b/print/ghostscript8/files/patch-base-configure.ac deleted file mode 100644 index 07bc58242f70..000000000000 --- a/print/ghostscript8/files/patch-base-configure.ac +++ /dev/null @@ -1,20 +0,0 @@ ---- base/configure.ac.orig 2010-08-01 22:37:05.000000000 +0900 -+++ base/configure.ac 2010-08-01 22:41:12.000000000 +0900 -@@ -402,7 +402,7 @@ - PNGDEVS="$PNGDEVS_ALL" - else - AC_MSG_RESULT([no]) -- AC_CHECK_LIB(png, png_check_sig, [ -+ AC_CHECK_LIB(png, png_sig_cmp, [ - AC_CHECK_HEADERS(png.h, [ - SHARE_LIBPNG=1 - PNGDEVS="$PNGDEVS_ALL" -@@ -434,7 +434,7 @@ - AC_CHECK_LIB(tiff, TIFFOpen, - [AC_CHECK_HEADERS(tiff.h, [HAVE_SYSTEM_LIBTIFF=1;SHARE_LIBTIFF=1])], - [], [-ljpeg]) -- 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 - AC_MSG_NOTICE([Could not find a copy of libtiff on your system. - Disabling tiff output devices.]) - else diff --git a/print/ghostscript8/pkg-plist b/print/ghostscript8/pkg-plist deleted file mode 100644 index 7cced581e5fc..000000000000 --- a/print/ghostscript8/pkg-plist +++ /dev/null @@ -1,683 +0,0 @@ -bin/bdftops -bin/dumphint -bin/dvipdf -bin/eps2eps -%%GS_epag%%bin/ert -bin/fixmswrd.pl -bin/font2c -bin/gs -bin/gsbj -bin/gsc -bin/gsdj -bin/gsdj500 -bin/gslj -bin/gslp -bin/gsnd -bin/gsx -bin/lprsetup.sh -%%GS_pcl3%%bin/pcl3opts -bin/pdf2dsc -bin/pdf2ps -bin/pdfopt -bin/pf2afm -bin/pfbtopfa -bin/printafm -bin/ps2ascii -bin/ps2epsi -bin/ps2pdf -bin/ps2pdf12 -bin/ps2pdf13 -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.%%SHLIB_VER%% -lib/libgs.so.%%GS_VERSION%% -man/man1/dvipdf.1.gz -man/man1/eps2eps.1.gz -man/man1/font2c.1.gz -%%GS_pcl3%%man/man1/gs-pcl3.1.gz -man/man1/gs.1.gz -man/man1/gslp.1.gz -man/man1/gsnd.1.gz -%%GS_pcl3%%man/man1/pcl3opts.1.gz -man/man1/pdf2dsc.1.gz -man/man1/pdf2ps.1.gz -man/man1/pdfopt.1.gz -man/man1/pf2afm.1.gz -man/man1/pfbtopfa.1.gz -man/man1/printafm.1.gz -man/man1/ps2ascii.1.gz -man/man1/ps2epsi.1.gz -man/man1/ps2pdf.1.gz -man/man1/ps2pdf12.1.gz -man/man1/ps2pdf13.1.gz -man/man1/ps2pdfwr.1.gz -man/man1/ps2ps.1.gz -man/man1/wftopfa.1.gz -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78-EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78-EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78-RKSJ-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78ms-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78ms-RKSJ-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/83pv-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/90ms-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/90ms-RKSJ-UCS2 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/90ms-RKSJ-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/90msp-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/90msp-RKSJ-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/90pv-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/90pv-RKSJ-UCS2 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/90pv-RKSJ-UCS2C -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/90pv-RKSJ-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Add-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Add-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Add-RKSJ-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Add-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-0 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-1 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-2 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-3 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-4 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-5 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-6 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-B5pc -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-ETenms-B5 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-H-CID -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-H-Host -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-H-Mac -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-UCS2 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-0 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-1 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-2 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-3 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-4 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-5 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-GBK-EUC -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-GBpc-EUC -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-H-CID -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-H-Host -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-H-Mac -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-UCS2 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-0 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-1 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-2 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-3 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-4 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-5 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-6 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-90ms-RKSJ -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-90pv-RKSJ -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-H-CID -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-H-Host -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-H-Mac -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-PS-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-PS-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-UCS2 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan2-0 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Korea1-0 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Korea1-1 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Korea1-2 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Korea1-H-CID -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Korea1-H-Host -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Korea1-H-Mac -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Korea1-KSCms-UHC -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Korea1-KSCpc-EUC -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Korea1-UCS2 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/B5-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/B5-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/B5pc-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/B5pc-UCS2 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/B5pc-UCS2C -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/B5pc-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS-EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS-EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS01-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS02-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS03-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS04-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS05-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS06-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS07-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS1-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS1-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS15-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS2-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS2-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/ETHK-B5-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/ETHK-B5-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/ETen-B5-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/ETen-B5-UCS2 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/ETen-B5-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/ETenms-B5-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/ETenms-B5-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Ext-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Ext-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Ext-RKSJ-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Ext-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GB-EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GB-EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GB-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GB-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GB-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBK-EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBK-EUC-UCS2 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBK-EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBK2K-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBK2K-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBKp-EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBKp-EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBT-EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBT-EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBT-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBT-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBT-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBTpc-EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBTpc-EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBpc-EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBpc-EUC-UCS2 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBpc-EUC-UCS2C -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBpc-EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HK-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKdla-B5-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKdla-B5-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKdlb-B5-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKdlb-B5-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKgccs-B5-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKgccs-B5-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKm314-B5-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKm314-B5-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKm471-B5-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKm471-B5-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKscs-B5-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKscs-B5-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Hankaku -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Hiragana -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Hojo-EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Hojo-EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Hojo-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Hojo-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Hojo-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Identity-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Identity-UTF16-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Identity-UTF16-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Identity-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSC-EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSC-EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSC-Johab-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSC-Johab-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSC-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSC2-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSCms-UHC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSCms-UHC-HW-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSCms-UHC-HW-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSCms-UHC-UCS2 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSCms-UHC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSCpc-EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSCpc-EUC-UCS2 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSCpc-EUC-UCS2C -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSCpc-EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Katakana -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/NWP-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/NWP-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/RKSJ-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Roman -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/TCVN-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UCS2-90ms-RKSJ -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UCS2-90pv-RKSJ -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UCS2-B5pc -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UCS2-ETen-B5 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UCS2-GBK-EUC -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UCS2-GBpc-EUC -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UCS2-KSCms-UHC -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UCS2-KSCpc-EUC -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniCNS-UCS2-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniCNS-UCS2-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniCNS-UTF16-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniCNS-UTF16-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniCNS-UTF32-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniCNS-UTF32-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniCNS-UTF8-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniCNS-UTF8-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniGB-UCS2-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniGB-UCS2-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniGB-UTF16-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniGB-UTF16-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniGB-UTF32-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniGB-UTF32-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniGB-UTF8-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniGB-UTF8-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniHojo-UCS2-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniHojo-UCS2-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniHojo-UTF16-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniHojo-UTF16-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniHojo-UTF32-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniHojo-UTF32-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniHojo-UTF8-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniHojo-UTF8-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UCS2-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UCS2-HW-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UCS2-HW-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UCS2-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UTF16-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UTF16-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UTF32-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UTF32-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UTF8-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UTF8-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS2004-UTF16-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS2004-UTF16-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS2004-UTF32-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS2004-UTF32-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS2004-UTF8-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS2004-UTF8-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJISPro-UCS2-HW-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJISPro-UCS2-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJISPro-UTF8-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJISX0213-UTF32-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJISX0213-UTF32-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJISX02132004-UTF32-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJISX02132004-UTF32-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniKS-UCS2-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniKS-UCS2-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniKS-UTF16-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniKS-UTF16-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniKS-UTF32-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniKS-UTF32-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniKS-UTF8-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniKS-UTF8-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/WP-Symbol -%%DATADIR%%/%%GS_VERSION%%/Resource/ColorSpace/DefaultCMYK -%%DATADIR%%/%%GS_VERSION%%/Resource/ColorSpace/DefaultGray -%%DATADIR%%/%%GS_VERSION%%/Resource/ColorSpace/DefaultRGB -%%DATADIR%%/%%GS_VERSION%%/Resource/ColorSpace/TrivialCMYK -%%DATADIR%%/%%GS_VERSION%%/Resource/ColorSpace/sGray -%%DATADIR%%/%%GS_VERSION%%/Resource/ColorSpace/sRGB -%%DATADIR%%/%%GS_VERSION%%/Resource/Decoding/FCO_Dingbats -%%DATADIR%%/%%GS_VERSION%%/Resource/Decoding/FCO_Symbol -%%DATADIR%%/%%GS_VERSION%%/Resource/Decoding/FCO_Unicode -%%DATADIR%%/%%GS_VERSION%%/Resource/Decoding/FCO_Wingdings -%%DATADIR%%/%%GS_VERSION%%/Resource/Decoding/Latin1 -%%DATADIR%%/%%GS_VERSION%%/Resource/Decoding/StandardEncoding -%%DATADIR%%/%%GS_VERSION%%/Resource/Decoding/Unicode -%%DATADIR%%/%%GS_VERSION%%/Resource/Encoding/Wingdings -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/CenturySchL-Bold -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/CenturySchL-BoldItal -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/CenturySchL-Ital -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/CenturySchL-Roma -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Dingbats -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusMonL-Bold -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusMonL-BoldObli -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusMonL-Regu -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusMonL-ReguObli -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusRomNo9L-Medi -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusRomNo9L-MediItal -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusRomNo9L-Regu -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusRomNo9L-ReguItal -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusSanL-Bold -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusSanL-BoldCond -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusSanL-BoldCondItal -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusSanL-BoldItal -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusSanL-Regu -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusSanL-ReguCond -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusSanL-ReguCondItal -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusSanL-ReguItal -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/StandardSymL -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWBookmanL-DemiBold -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWBookmanL-DemiBoldItal -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWBookmanL-Ligh -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWBookmanL-LighItal -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWChanceryL-MediItal -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWGothicL-Book -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWGothicL-BookObli -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWGothicL-Demi -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWGothicL-DemiObli -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWPalladioL-Bold -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWPalladioL-BoldItal -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWPalladioL-Ital -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWPalladioL-Roma -%%DATADIR%%/%%GS_VERSION%%/doc/API.htm -%%DATADIR%%/%%GS_VERSION%%/doc/C-style.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Changes.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Commprod.htm -%%DATADIR%%/%%GS_VERSION%%/doc/DLL.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Deprecated.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Details.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Details8.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Develop.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Devices.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Drivers.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Fonts.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Helpers.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Hershey.htm -%%DATADIR%%/%%GS_VERSION%%/doc/History1.htm -%%DATADIR%%/%%GS_VERSION%%/doc/History2.htm -%%DATADIR%%/%%GS_VERSION%%/doc/History3.htm -%%DATADIR%%/%%GS_VERSION%%/doc/History4.htm -%%DATADIR%%/%%GS_VERSION%%/doc/History5.htm -%%DATADIR%%/%%GS_VERSION%%/doc/History6.htm -%%DATADIR%%/%%GS_VERSION%%/doc/History7.htm -%%DATADIR%%/%%GS_VERSION%%/doc/History8.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Install.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Issues.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Language.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Lib.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Make.htm -%%DATADIR%%/%%GS_VERSION%%/doc/News.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Projects.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Ps-style.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Ps2epsi.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Ps2pdf.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Psfiles.htm -%%DATADIR%%/%%GS_VERSION%%/doc/README -%%DATADIR%%/%%GS_VERSION%%/doc/Readme.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Release.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Source.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Unix-lpr.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Use.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Xfonts.htm -%%DATADIR%%/%%GS_VERSION%%/doc/gs.css -%%DATADIR%%/%%GS_VERSION%%/doc/index.html -%%DATADIR%%/%%GS_VERSION%%/examples/alphabet.ps -%%DATADIR%%/%%GS_VERSION%%/examples/annots.pdf -%%DATADIR%%/%%GS_VERSION%%/examples/chess.ps -%%DATADIR%%/%%GS_VERSION%%/examples/colorcir.ps -%%DATADIR%%/%%GS_VERSION%%/examples/doretree.ps -%%DATADIR%%/%%GS_VERSION%%/examples/escher.ps -%%DATADIR%%/%%GS_VERSION%%/examples/golfer.eps -%%DATADIR%%/%%GS_VERSION%%/examples/grayalph.ps -%%DATADIR%%/%%GS_VERSION%%/examples/ridt91.eps -%%DATADIR%%/%%GS_VERSION%%/examples/snowflak.ps -%%DATADIR%%/%%GS_VERSION%%/examples/tiger.eps -%%DATADIR%%/%%GS_VERSION%%/examples/vasarely.ps -%%DATADIR%%/%%GS_VERSION%%/examples/waterfal.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/FAPIcidfmap -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/FAPIconfig -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/FAPIfontmap -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/FCOfontmap-PCLPS2 -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/Fontmap -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/Fontmap.GS -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/cidfmap -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/cidfmap.orig -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_agl.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_btokn.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_cet.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_cff.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_cidcm.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_ciddc.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_cidfm.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_cidfn.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_cidtt.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_cmap.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_cspace.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_css_e.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_dbt_e.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_diskf.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_diskn.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_dpnxt.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_dps.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_dps1.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_dps2.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_dscp.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_epsf.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_fapi.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_fntem.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_fonts.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_frsd.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_icc.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_il1_e.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_img.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_init.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_l2img.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_lev2.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_ll3.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_mex_e.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_mgl_e.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_mro_e.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_pdf_e.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_pdfwr.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_res.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_resmp.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_setpd.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_statd.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_statd.ps.orig -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_std_e.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_sym_e.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_trap.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_ttf.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_ttf.ps.orig -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_typ32.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_typ42.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_type1.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_wan_e.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/opdfread.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_base.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_cslayer.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_draw.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_font.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_font.ps.orig -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_main.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_ops.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_rbld.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_sec.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/xlatmap -%%DATADIR%%/%%GS_VERSION%%/Resource/SubstCID/CNS1-WMode -%%DATADIR%%/%%GS_VERSION%%/Resource/SubstCID/GB1-WMode -%%DATADIR%%/%%GS_VERSION%%/Resource/SubstCID/Japan1-WMode -%%DATADIR%%/%%GS_VERSION%%/Resource/SubstCID/Korea1-WMode -%%DATADIR%%/%%GS_VERSION%%/lib/ht_ccsto.ps -%%DATADIR%%/%%GS_VERSION%%/lib/acctest.ps -%%DATADIR%%/%%GS_VERSION%%/lib/addxchar.ps -%%DATADIR%%/%%GS_VERSION%%/lib/align.ps -%%DATADIR%%/%%GS_VERSION%%/lib/bdftops.ps -%%DATADIR%%/%%GS_VERSION%%/lib/caption.ps -%%DATADIR%%/%%GS_VERSION%%/lib/cid2code.ps -%%DATADIR%%/%%GS_VERSION%%/lib/decrypt.ps -%%DATADIR%%/%%GS_VERSION%%/lib/docie.ps -%%DATADIR%%/%%GS_VERSION%%/lib/dumphint.ps -%%DATADIR%%/%%GS_VERSION%%/lib/font2c.ps -%%DATADIR%%/%%GS_VERSION%%/lib/font2pcl.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gslp.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gsnup.ps -%%DATADIR%%/%%GS_VERSION%%/lib/image-qa.ps -%%DATADIR%%/%%GS_VERSION%%/lib/impath.ps -%%DATADIR%%/%%GS_VERSION%%/lib/jispaper.ps -%%DATADIR%%/%%GS_VERSION%%/lib/landscap.ps -%%DATADIR%%/%%GS_VERSION%%/lib/level1.ps -%%DATADIR%%/%%GS_VERSION%%/lib/lines.ps -%%DATADIR%%/%%GS_VERSION%%/lib/markhint.ps -%%DATADIR%%/%%GS_VERSION%%/lib/markpath.ps -%%DATADIR%%/%%GS_VERSION%%/lib/mkcidfm.ps -%%DATADIR%%/%%GS_VERSION%%/lib/PDFA_def.ps -%%DATADIR%%/%%GS_VERSION%%/lib/PDFX_def.ps -%%DATADIR%%/%%GS_VERSION%%/lib/packfile.ps -%%DATADIR%%/%%GS_VERSION%%/lib/pcharstr.ps -%%DATADIR%%/%%GS_VERSION%%/lib/pf2afm.ps -%%DATADIR%%/%%GS_VERSION%%/lib/pfbtopfa.ps -%%DATADIR%%/%%GS_VERSION%%/lib/ppath.ps -%%DATADIR%%/%%GS_VERSION%%/lib/pphs -%%DATADIR%%/%%GS_VERSION%%/lib/pphs.ps -%%DATADIR%%/%%GS_VERSION%%/lib/prfont.ps -%%DATADIR%%/%%GS_VERSION%%/lib/printafm.ps -%%DATADIR%%/%%GS_VERSION%%/lib/ps2ai.ps -%%DATADIR%%/%%GS_VERSION%%/lib/ps2ascii.ps -%%DATADIR%%/%%GS_VERSION%%/lib/ps2epsi.ps -%%DATADIR%%/%%GS_VERSION%%/lib/quit.ps -%%DATADIR%%/%%GS_VERSION%%/lib/rollconv.ps -%%DATADIR%%/%%GS_VERSION%%/lib/showchar.ps -%%DATADIR%%/%%GS_VERSION%%/lib/showpage.ps -%%DATADIR%%/%%GS_VERSION%%/lib/stcinfo.ps -%%DATADIR%%/%%GS_VERSION%%/lib/stcolor.ps -%%DATADIR%%/%%GS_VERSION%%/lib/stocht.ps -%%DATADIR%%/%%GS_VERSION%%/lib/traceimg.ps -%%DATADIR%%/%%GS_VERSION%%/lib/traceop.ps -%%DATADIR%%/%%GS_VERSION%%/lib/type1enc.ps -%%DATADIR%%/%%GS_VERSION%%/lib/type1ops.ps -%%DATADIR%%/%%GS_VERSION%%/lib/uninfo.ps -%%DATADIR%%/%%GS_VERSION%%/lib/unprot.ps -%%DATADIR%%/%%GS_VERSION%%/lib/viewcmyk.ps -%%DATADIR%%/%%GS_VERSION%%/lib/viewgif.ps -%%DATADIR%%/%%GS_VERSION%%/lib/viewjpeg.ps -%%DATADIR%%/%%GS_VERSION%%/lib/viewmiff.ps -%%DATADIR%%/%%GS_VERSION%%/lib/viewpcx.ps -%%DATADIR%%/%%GS_VERSION%%/lib/viewpbm.ps -%%DATADIR%%/%%GS_VERSION%%/lib/viewps2a.ps -%%DATADIR%%/%%GS_VERSION%%/lib/winmaps.ps -%%DATADIR%%/%%GS_VERSION%%/lib/wftopfa.ps -%%DATADIR%%/%%GS_VERSION%%/lib/wrfont.ps -%%DATADIR%%/%%GS_VERSION%%/lib/zeroline.ps -%%DATADIR%%/%%GS_VERSION%%/lib/pdf2dsc.ps -%%DATADIR%%/%%GS_VERSION%%/lib/pdfopt.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_ce_e.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_cmdl.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_fform.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_il2_e.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_kanji.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_ksb_e.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_lgo_e.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_lgx_e.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_pfile.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_rdlin.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_wl1_e.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_wl2_e.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_wl5_e.ps -%%DATADIR%%/%%GS_VERSION%%/lib/pdfwrite.ps -%%DATADIR%%/%%GS_VERSION%%/lib/cbjc600.ppd -%%DATADIR%%/%%GS_VERSION%%/lib/cbjc800.ppd -%%DATADIR%%/%%GS_VERSION%%/lib/ghostpdf.ppd -%%DATADIR%%/%%GS_VERSION%%/lib/bj8.rpd -%%DATADIR%%/%%GS_VERSION%%/lib/bj8gc12f.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bj8hg12f.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bj8oh06n.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bj8pa06n.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bj8pp12f.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bj8ts06n.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a0.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a1.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a2.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a3.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a4.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a5.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a6.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a7.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a8.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610b1.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610b2.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610b3.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610b4.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610b6.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610b7.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610b8.upp -%%DATADIR%%/%%GS_VERSION%%/lib/cdj550.upp -%%DATADIR%%/%%GS_VERSION%%/lib/cdj690.upp -%%DATADIR%%/%%GS_VERSION%%/lib/cdj690ec.upp -%%DATADIR%%/%%GS_VERSION%%/lib/dnj750c.upp -%%DATADIR%%/%%GS_VERSION%%/lib/dnj750m.upp -%%DATADIR%%/%%GS_VERSION%%/lib/necp2x.upp -%%DATADIR%%/%%GS_VERSION%%/lib/necp2x6.upp -%%DATADIR%%/%%GS_VERSION%%/lib/ras1.upp -%%DATADIR%%/%%GS_VERSION%%/lib/ras24.upp -%%DATADIR%%/%%GS_VERSION%%/lib/ras3.upp -%%DATADIR%%/%%GS_VERSION%%/lib/ras32.upp -%%DATADIR%%/%%GS_VERSION%%/lib/ras4.upp -%%DATADIR%%/%%GS_VERSION%%/lib/ras8m.upp -%%DATADIR%%/%%GS_VERSION%%/lib/st640ih.upp -%%DATADIR%%/%%GS_VERSION%%/lib/st640ihg.upp -%%DATADIR%%/%%GS_VERSION%%/lib/st640p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/st640pg.upp -%%DATADIR%%/%%GS_VERSION%%/lib/st640pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/st640plg.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc1520h.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc2.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc200_h.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc2_h.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc2s_h.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc300.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc300bl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc300bm.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc500p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc500ph.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc600ih.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc600p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc600pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc640p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc800ih.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc800p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc800pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc_h.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc_l.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stcany.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stcany_h.upp -%%DATADIR%%/%%GS_VERSION%%/lib/gs_l.xbm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_l_m.xbm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_m.xbm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_m_m.xbm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_s.xbm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_s_m.xbm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_t.xbm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_t_m.xbm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_l.xpm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_m.xpm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_s.xpm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_t.xpm -%%DATADIR%%/%%GS_VERSION%%/lib/dmp_init.ps -%%DATADIR%%/%%GS_VERSION%%/lib/dmp_site.ps -%%DATADIR%%/%%GS_VERSION%%/lib/escp_24.src -%%DATADIR%%/%%GS_VERSION%%/lib/PM760p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/PM760pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/PM820p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/PM820pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stc670p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stc670pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stc680p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stc680pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stc740p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stc740pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stc760p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stc760pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stc777p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stc777pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stp720p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stp720pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stp870p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stp870pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc6000a1.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc6000b1.upp -%%DATADIR%%/%%GS_VERSION%%/lib/s400a1.upp -%%DATADIR%%/%%GS_VERSION%%/lib/s400b1.upp -%%DATADIR%%/%%GS_VERSION%%/lib/sharp.upp -%%DATADIR%%/%%GS_VERSION%%/lib/sipixa6.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc740ih.upp -%%GS_dmprt%%%%DATADIR%%/%%GS_VERSION%%/lib/lqx70ch.upp -%%GS_dmprt%%%%DATADIR%%/%%GS_VERSION%%/lib/lqx70cl.upp -%%GS_dmprt%%%%DATADIR%%/%%GS_VERSION%%/lib/lqx70cm.upp -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/calign.ps -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/dumppdd.ps -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/example.mcf -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/if-pcl3 -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/levels-test.ps -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/margins-A4.ps -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/margins-A4Rotated.ps -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/margins-Env10Rotated.ps -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/margins-EnvDLRotated.ps -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/margins-Letter.ps -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/margins-LetterRotated.ps -%%CIDFONTDIR%%/CIDFont diff --git a/print/ghostscript9-agpl/Makefile b/print/ghostscript9-agpl-base/Makefile index df5e01c46a64..d84902739732 100644 --- a/print/ghostscript9-agpl/Makefile +++ b/print/ghostscript9-agpl-base/Makefile @@ -2,42 +2,44 @@ PORTNAME= ghostscript PORTVERSION= 9.16 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= print MASTER_SITES= http://downloads.ghostscript.com/public/:gs_srcs \ SF/ghostscript/GPL%20Ghostscript/${PORTVERSION}:gs_srcs \ ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs${PORTVERSION:S/.//}/:gs_srcs \ http://www.humblesoft.com/pub/:epag -PKGNAMESUFFIX= 9-agpl +PKGNAMESUFFIX= 9-agpl-base DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:gs_srcs ${EPAG_SRCS}:epag DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} -EXTRACT_AFTER_ARGS= ${EXCLUDE_DIRS:S/^/--exclude /} MAINTAINER= doceng@FreeBSD.org -COMMENT= Ghostscript 9.x PostScript interpreter +COMMENT= Ghostscript 9.x PostScript interpreter, base part LICENSE= AGPLv3 LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2 \ + libfreetype.so:${PORTSDIR}/print/freetype2 \ libidn.so:${PORTSDIR}/dns/libidn \ libjbig2dec.so:${PORTSDIR}/graphics/jbig2dec \ - libpng.so:${PORTSDIR}/graphics/png \ - libtiff.so:${PORTSDIR}/graphics/tiff \ liblcms2.so:${PORTSDIR}/graphics/lcms2 \ - libpaper.so:${PORTSDIR}/print/libpaper + libpaper.so:${PORTSDIR}/print/libpaper \ + libpng.so:${PORTSDIR}/graphics/png \ + libtiff.so:${PORTSDIR}/graphics/tiff RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/fonts/a010013l.pfb:${PORTSDIR}/print/gsfonts CONFLICTS_INSTALL= \ gambc-[0-9]* \ ghostscript[789]-[0-9]* \ - ghostscript[789]-nox11-[0-9]* + ghostscript[789]-nox11-[0-9]* \ + ghostscript9-agpl-[0-9]* \ + ghostscript9-agpl-nox11-[0-9]* -USES= gmake jpeg pkgconfig:build autoreconf tar:bzip2 iconv -WANT_GNOME= yes +USES= autoreconf gmake iconv jpeg pkgconfig:build tar:bzip2 USE_LDCONFIG= yes +EXTRACT_AFTER_ARGS= ${EXCLUDE_DIRS:S/^/--exclude /} +DATADIR= ${PREFIX}/share/${PORTNAME}/${PORTVERSION} GNU_CONFIGURE= yes - MAKE_ENV= CFLAGS_STANDARD="${CFLAGS}" \ XCFLAGS="${XCFLAGS}" XLDFLAGS="${XLDFLAGS}" \ SOC_LOADER="dxmainc.c" @@ -45,11 +47,14 @@ CONFIGURE_ENV= ${MAKE_ENV} CONFIGURE_ARGS= --disable-compile-inits \ --enable-contrib \ --enable-dynamic \ + --enable-freetype \ --with-libiconv=native \ --with-system-libtiff \ --with-ijs \ --with-libidn \ --with-libpaper \ + --without-x \ + --disable-gtk \ --with-drivers="" CPPFLAGS+= -DUPD_SIGNAL=0 -I. \ -I${LOCALBASE}/include/libpng \ @@ -58,38 +63,27 @@ CPPFLAGS+= -DUPD_SIGNAL=0 -I. \ LDFLAGS+= -L${LOCALBASE}/lib XCFLAGS= -DA4 XLDFLAGS= -lpthread - -PLIST_SUB= GS_VERSION="${PORTVERSION}" \ - X11BITS=${X11BITS} +ALL_TARGET= so +INSTALL_TARGET= soinstall +PLIST_SUB= SHLIB_VER="${PORTVERSION:R}" \ + GS_VERSION="${PORTVERSION}" SUB_FILES= pkg-message -SUB_LIST= DATADIR=${DATADIR} PORTVERSION=${PORTVERSION} +SUB_LIST= DATADIR="${DATADIR}" PKGMESSAGE= ${WRKDIR}/pkg-message -OPTIONS_DEFINE= X11 DOCS CUPS FONTCONFIG ICONV GTK2 -OPTIONS_DEFAULT=X11 DOCS CUPS FONTCONFIG ICONV +OPTIONS_DEFINE= DOCS CUPS FONTCONFIG ICONV +OPTIONS_DEFAULT=DOCS CUPS FONTCONFIG ICONV OPTIONS_SUB= yes FONTCONFIG_DESC=Enable fontconfig support +FONTCONFIG_LIB_DEPENDS= libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig +FONTCONFIG_CONFIGURE_ENABLE= fontconfig NO_OPTIONS_SORT=yes EXCLUDE_DIRS= freetype jbig2dec jpeg expat lcms2 libpng tiff zlib .include "Makefile.drivers" .include <bsd.port.options.mk> - -MASTERDIR?= ${.CURDIR} -.include "${MASTERDIR}/files/Makefile.drivers_post" - -FONTCONFIG_LIB_DEPENDS= libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig -FONTCONFIG_CONFIGURE_ENABLE= fontconfig - -# FT_BRIDGE=1 by default -LIB_DEPENDS+= libfreetype.so:${PORTSDIR}/print/freetype2 -MAKE_ENV+= FT_BRIDGE=1 - -ALL_TARGET= so -INSTALL_TARGET= soinstall -USE_LDCONFIG= yes -PLIST_SUB+= SHLIB_VER="${PORTVERSION:R}" +.include "files/Makefile.drivers_post" PORTDOCS= japanese chp2200 epson740 lxm3200-tweaked md2k_md5k PORTDOC_FILES= japanese/Gdevlips.htm japanese/README.gs550j \ @@ -107,8 +101,7 @@ PORTDOC_FILES= japanese/Gdevlips.htm japanese/README.gs550j \ lxm3200-tweaked/Z12-Z31-QuickSetup md2k_md5k/README.jis post-patch: - ${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g ; \ - s|%%GS_VERSION%%|${PORTVERSION}|g' \ + ${REINPLACE_CMD} -e 's,%%DATADIR%%,${DATADIR},' \ ${WRKSRC}/contrib/japanese/dmp_site.ps pre-build-drivers.mak: @@ -118,7 +111,6 @@ pre-build-drivers.mak: @${ECHO_CMD} '${N:S/^/DEVICE_/:S/^DEVICE_DISPLAY_DEV/DISPLAY_DEV/}=' >> ${WRKSRC}/base/drivers.mak .endfor .for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} \ - ${OPTIONS_MULTI_X11:MGS_*:S/^GS_//} \ ${OPTIONS_GROUP_ICONV:MGS_*:S/^GS_//} \ ${OPTIONS_GROUP_SVGALIB:MGS_*:S/^GS_//} .for N in ${DEVS_LIST} @@ -138,26 +130,21 @@ pre-build: pre-build-drivers.mak pre-install: cd ${WRKSRC}/Resource/Init && ${RM} -f \ - gs_statd.ps.orig gs_ttf.ps.orig pdf_font.ps.orig - -pre-su-install: + gs_statd.ps.orig gs_ttf.ps.orig pdf_font.ps.orig ${MKDIR} ${STAGEDIR}${DATADIR} -post-install-docs: +post-install-DOCS-on: post-install-docs ${MKDIR} ${WRKSRC}/contrib/japanese - ${INSTALL_DATA} ${WRKSRC}/contrib/japanese/doc/* ${WRKSRC}/contrib/japanese + ${INSTALL_DATA} ${WRKSRC}/contrib/japanese/doc/* \ + ${WRKSRC}/contrib/japanese ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/contrib && \ - ${TAR} -cf - ${PORTDOC_FILES} | \ - ( cd ${STAGEDIR}${DOCSDIR} && ${TAR} -xof - ) + ${TAR} -cf - ${PORTDOC_FILES} | \ + (cd ${STAGEDIR}${DOCSDIR} && ${TAR} -xof -) post-install: ${LN} -sf gsc ${STAGEDIR}${PREFIX}/bin/gs ${LN} -s -f ${LOCALBASE}/share/fonts/CIDFont \ - ${STAGEDIR}${DATADIR}/${PORTVERSION}/Resource/CIDFont/fonts - -.if ${PORT_OPTIONS:MDOCS} -post-install: post-install-docs -.endif + ${STAGEDIR}${DATADIR}/Resource/CIDFont/fonts .include <bsd.port.mk> diff --git a/print/ghostscript9-agpl/Makefile.drivers b/print/ghostscript9-agpl-base/Makefile.drivers index c9329fffd281..e52ff80eb122 100644 --- a/print/ghostscript9-agpl/Makefile.drivers +++ b/print/ghostscript9-agpl-base/Makefile.drivers @@ -1,20 +1,5 @@ # $FreeBSD: /tmp/pcvs/ports/print/ghostscript9/Makefile.drivers,v 1.4 2012-06-12 12:22:25 hrs Exp $ -OPTIONS_X11= \ - GS_x11 \ - GS_x11alpha \ - GS_x11cmyk \ - GS_x11cmyk2 \ - GS_x11cmyk4 \ - GS_x11cmyk8 \ - GS_x11gray2 \ - GS_x11gray4 \ - GS_x11mono \ - GS_x11rg16x \ - GS_x11rg32x -OPTIONS_MULTI= X11 -OPTIONS_MULTI_X11= ${OPTIONS_X11} - OPTIONS_SVGALIB= \ GS_lvga256 \ GS_vgalib @@ -318,7 +303,6 @@ OPTIONS_DEFINE+= \ GS_inkcov OPTIONS_DEFAULT+= \ - ${OPTIONS_X11} \ ${OPTIONS_SVGALIB} \ ${OPTIONS_ICONV} \ ${OPTIONS_CUPS} \ @@ -610,17 +594,6 @@ OPTIONS_DEFAULT+= \ GS_spotcmyk \ GS_inkcov -GS_x11_DESC= D: X Window System version 11 -GS_x11alpha_DESC= D: X Window System masquer. alpha capability -GS_x11cmyk_DESC= D: X Window System masquer. 1bit/plane CMYK -GS_x11cmyk2_DESC= D: X Window System 2-bit-per-plane CMYK -GS_x11cmyk4_DESC= D: X Window System 4-bit-per-plane CMYK -GS_x11cmyk8_DESC= D: X Window System 8-bit-per-plane CMYK -GS_x11gray2_DESC= D: X Window System 2-bit gray-scale -GS_x11gray4_DESC= D: X Window System 4-bit gray-scale -GS_x11mono_DESC= D: X Window System masquer. black-and-white -GS_x11rg16x_DESC= D: X Window System G5/B5/R6 pixel layout -GS_x11rg32x_DESC= D: X Window System G11/B10/R11 pixel layout GS_lvga256_DESC= D: SVGAlib, 256-color VGA modes GS_vgalib_DESC= D: SVGAlib, 16-color VGA modes GS_oprp_DESC= D: OpenPrinting Raster driver interface diff --git a/print/ghostscript9-agpl/distinfo b/print/ghostscript9-agpl-base/distinfo index b7eb565b3b3f..b7eb565b3b3f 100644 --- a/print/ghostscript9-agpl/distinfo +++ b/print/ghostscript9-agpl-base/distinfo diff --git a/print/ghostscript9/files/Makefile.dmprt b/print/ghostscript9-agpl-base/files/Makefile.dmprt index cdc04a23af07..f396e6cb094f 100644 --- a/print/ghostscript9/files/Makefile.dmprt +++ b/print/ghostscript9-agpl-base/files/Makefile.dmprt @@ -3,6 +3,6 @@ post-install-dmprt: cd ${FILESDIR} && \ ${INSTALL_DATA} lqx70ch.upp lqx70cl.upp lqx70cm.upp \ - ${STAGEDIR}${DATADIR}/${PORTVERSION}/lib + ${STAGEDIR}${DATADIR}/lib post-install: post-install-dmprt diff --git a/print/ghostscript9-agpl/files/Makefile.drivers_post b/print/ghostscript9-agpl-base/files/Makefile.drivers_post index e5aa01a39687..ee552b7dff31 100644 --- a/print/ghostscript9-agpl/files/Makefile.drivers_post +++ b/print/ghostscript9-agpl-base/files/Makefile.drivers_post @@ -65,39 +65,6 @@ OPTIONS_UNSET+= ${PORT_OPTIONS:MGS_${D}} LIB_DEPENDS+= libvga.so:${PORTSDIR}/graphics/svgalib .endif -# x11 specific -X11_DEVS= x11 x11alpha x11cmyk x11cmyk2 x11cmyk4 x11cmyk8 x11gray2 x11gray4 \ - x11mono x11rg16x x11rg32x display -.undef _X11_DEVS - -.for D in ${X11_DEVS} -.if ${PORT_OPTIONS:MX11} && ${PORT_OPTIONS:MGS_${D}} -_X11_DEVS+= ${D} -.else -PORT_OPTIONS:= ${PORT_OPTIONS:NGS_${D}} -.endif -.endfor - -.if defined(_X11_DEVS) -USE_XORG= xt xext -X11BITS= "" -CONFIGURE_ARGS+=--with-x \ - --x-includes=${LOCALBASE}/include \ - --x-libraries=${LOCALBASE}/lib -CONFLICTS_INSTALL+= ghostscript9-nox11-[0-9]* -.if ${PORT_OPTIONS:MGTK2} -USE_GNOME= atk gdkpixbuf2 glib20 gtk20 -CONFIGURE_ARGS+=--enable-gtk -.else -CONFIGURE_ARGS+=--disable-gtk -.endif -.else # defined(_X11_DEVS) -PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-nox11 -CONFIGURE_ARGS+=--without-x --disable-gtk -CONFLICTS_INSTALL+= ghostscript9-[0-9]* -X11BITS= "@comment " -.endif # defined(_X11_DEVS) - # iconv specific ICONV_DEVS= oprp opvp .undef _ICONV_DEVS diff --git a/print/ghostscript9-agpl/files/Makefile.epag b/print/ghostscript9-agpl-base/files/Makefile.epag index 96141325b372..96141325b372 100644 --- a/print/ghostscript9-agpl/files/Makefile.epag +++ b/print/ghostscript9-agpl-base/files/Makefile.epag diff --git a/print/ghostscript9-agpl-base/files/Makefile.pcl3 b/print/ghostscript9-agpl-base/files/Makefile.pcl3 new file mode 100644 index 000000000000..6d3fc3bde62f --- /dev/null +++ b/print/ghostscript9-agpl-base/files/Makefile.pcl3 @@ -0,0 +1,35 @@ +# $FreeBSD$ + +PORTDOCS+= pcl3 +PORTDOC_FILES+= pcl3/NEWS pcl3/BUGS pcl3/README pcl3/gs-pcl3.html \ + pcl3/how-to-report.txt pcl3/pcl3opts.html + +post-build-pcl3: + cd ${WRKSRC} && \ + ${CC} ${CFLAGS} -I./obj -I./soobj -I./base \ + -I./contrib/pcl3/eprn -o bin/pcl3opts \ + contrib/pcl3/src/pcl3opts.c contrib/pcl3/src/pclscan.c \ + contrib/pcl3/eprn/mediasize.c contrib/pcl3/src/pclsize.c + +post-install-pcl3: + ${INSTALL_PROGRAM} ${WRKSRC}/bin/pcl3opts ${STAGEDIR}${PREFIX}/bin + ${MKDIR} ${STAGEDIR}${DATADIR}/pcl3 + cd ${WRKSRC}/contrib/pcl3 && \ + ${INSTALL_DATA} lib/example.mcf lib/if-pcl3 \ + ps/calign.ps ps/dumppdd.ps ps/levels-test.ps \ + ps/margins-A4.ps ps/margins-A4Rotated.ps \ + ps/margins-Env10Rotated.ps \ + ps/margins-EnvDLRotated.ps \ + ps/margins-Letter.ps \ + ps/margins-LetterRotated.ps \ + ${STAGEDIR}${DATADIR}/pcl3 + cd ${WRKSRC}/contrib/pcl3/doc && \ + ${INSTALL_MAN} gs-pcl3.1 pcl3opts.1 ${STAGEDIR}${MANPREFIX}/man/man1 + +post-install-docs-pcl3: + ${MKDIR} ${WRKSRC}/contrib/pcl3 + ${INSTALL_DATA} ${WRKSRC}/contrib/pcl3/doc/* ${WRKSRC}/contrib/pcl3 + +post-build: post-build-pcl3 +post-install: post-install-pcl3 +post-install-docs: post-install-docs-pcl3 diff --git a/print/ghostscript9-agpl/files/epag.contrib.mak b/print/ghostscript9-agpl-base/files/epag.contrib.mak index 2e6117ad4b51..2e6117ad4b51 100644 --- a/print/ghostscript9-agpl/files/epag.contrib.mak +++ b/print/ghostscript9-agpl-base/files/epag.contrib.mak diff --git a/print/ghostscript9-agpl/files/lqx70ch.upp b/print/ghostscript9-agpl-base/files/lqx70ch.upp index b5d3cd49e912..b5d3cd49e912 100644 --- a/print/ghostscript9-agpl/files/lqx70ch.upp +++ b/print/ghostscript9-agpl-base/files/lqx70ch.upp diff --git a/print/ghostscript9-agpl/files/lqx70cl.upp b/print/ghostscript9-agpl-base/files/lqx70cl.upp index 91fb1aa89906..91fb1aa89906 100644 --- a/print/ghostscript9-agpl/files/lqx70cl.upp +++ b/print/ghostscript9-agpl-base/files/lqx70cl.upp diff --git a/print/ghostscript9-agpl/files/lqx70cm.upp b/print/ghostscript9-agpl-base/files/lqx70cm.upp index 895af73aa8d8..895af73aa8d8 100644 --- a/print/ghostscript9-agpl/files/lqx70cm.upp +++ b/print/ghostscript9-agpl-base/files/lqx70cm.upp diff --git a/print/ghostscript9-agpl/files/patch-Makefile.in b/print/ghostscript9-agpl-base/files/patch-Makefile.in index 0f905cb84fa6..0f905cb84fa6 100644 --- a/print/ghostscript9-agpl/files/patch-Makefile.in +++ b/print/ghostscript9-agpl-base/files/patch-Makefile.in diff --git a/print/ghostscript9-agpl/files/patch-Resource-Init-FAPIcidfmap b/print/ghostscript9-agpl-base/files/patch-Resource-Init-FAPIcidfmap index 2c6bf45839b2..2c6bf45839b2 100644 --- a/print/ghostscript9-agpl/files/patch-Resource-Init-FAPIcidfmap +++ b/print/ghostscript9-agpl-base/files/patch-Resource-Init-FAPIcidfmap diff --git a/print/ghostscript9-agpl/files/patch-Resource-Init-FAPIconfig b/print/ghostscript9-agpl-base/files/patch-Resource-Init-FAPIconfig index e2ff81b58276..e2ff81b58276 100644 --- a/print/ghostscript9-agpl/files/patch-Resource-Init-FAPIconfig +++ b/print/ghostscript9-agpl-base/files/patch-Resource-Init-FAPIconfig diff --git a/print/ghostscript9-agpl/files/patch-Resource-Init-cidfmap b/print/ghostscript9-agpl-base/files/patch-Resource-Init-cidfmap index 8ed71789f4fe..8ed71789f4fe 100644 --- a/print/ghostscript9-agpl/files/patch-Resource-Init-cidfmap +++ b/print/ghostscript9-agpl-base/files/patch-Resource-Init-cidfmap diff --git a/print/ghostscript9-agpl/files/patch-Resource-Init-gs_statd.ps b/print/ghostscript9-agpl-base/files/patch-Resource-Init-gs_statd.ps index a9996b623de8..a9996b623de8 100644 --- a/print/ghostscript9-agpl/files/patch-Resource-Init-gs_statd.ps +++ b/print/ghostscript9-agpl-base/files/patch-Resource-Init-gs_statd.ps diff --git a/print/ghostscript9-agpl/files/patch-Resource-Init-gs_ttf.ps b/print/ghostscript9-agpl-base/files/patch-Resource-Init-gs_ttf.ps index 19fc072bd4e2..19fc072bd4e2 100644 --- a/print/ghostscript9-agpl/files/patch-Resource-Init-gs_ttf.ps +++ b/print/ghostscript9-agpl-base/files/patch-Resource-Init-gs_ttf.ps diff --git a/print/ghostscript9-agpl/files/patch-Resource-Init-pdf_font.ps b/print/ghostscript9-agpl-base/files/patch-Resource-Init-pdf_font.ps index c966e57fba11..c966e57fba11 100644 --- a/print/ghostscript9-agpl/files/patch-Resource-Init-pdf_font.ps +++ b/print/ghostscript9-agpl-base/files/patch-Resource-Init-pdf_font.ps diff --git a/print/ghostscript9-agpl-base/files/patch-base-gp_unix.c b/print/ghostscript9-agpl-base/files/patch-base-gp_unix.c new file mode 100644 index 000000000000..5e89d3b811a4 --- /dev/null +++ b/print/ghostscript9-agpl-base/files/patch-base-gp_unix.c @@ -0,0 +1,47 @@ +--- base/gp_unix.c.orig 2015-08-22 03:07:24.257409000 +0900 ++++ base/gp_unix.c 2015-08-22 03:08:15.753173000 +0900 +@@ -52,6 +52,7 @@ + * and applied as a patch (preferable). + */ + #include <sys/types.h> ++#include <limits.h> + #include <dirent.h> + #include <dlfcn.h> + #include <string.h> +@@ -61,26 +62,25 @@ + { + DIR* dir = NULL; + struct dirent* dirent; +- char buff[1024]; ++ char buff[PATH_MAX]; + char* pbuff; + void* handle; + void (*gs_shared_init)(void); + +- strncpy(buff, GS_DEVS_SHARED_DIR, sizeof(buff) - 2); +- pbuff = buff + strlen(buff); +- *pbuff++ = '/'; *pbuff = '\0'; +- + dir = opendir(GS_DEVS_SHARED_DIR); + if (dir == 0) return; + + while ((dirent = readdir(dir)) != 0) { +- strncpy(pbuff, dirent->d_name, sizeof(buff) - (pbuff - buff) - 1); +- if ((handle = dlopen(buff, RTLD_NOW)) != 0) { +- if ((gs_shared_init = dlsym(handle, "gs_shared_init")) != 0) { ++ snprintf(buff, sizeof(buff), "%s/%s", GS_DEVS_SHARED_DIR, dirent->d_name); ++ pbuff = buff + strlen(buff) - 3; ++ if (strcmp(pbuff, ".so") != 0) ++ continue; ++ handle = dlopen(buff, RTLD_NOW); ++ if (handle == NULL) ++ continue; ++ gs_shared_init = dlsym(handle, "gs_shared_init"); ++ if (gs_shared_init != NULL) + (*gs_shared_init)(); +- } else { +- } +- } + } + + closedir(dir); diff --git a/print/ghostscript9-agpl/files/patch-base-gs.mak b/print/ghostscript9-agpl-base/files/patch-base-gs.mak index 50d31a63a2d2..50d31a63a2d2 100644 --- a/print/ghostscript9-agpl/files/patch-base-gs.mak +++ b/print/ghostscript9-agpl-base/files/patch-base-gs.mak diff --git a/print/ghostscript9-agpl/files/patch-base-gsicc_create.c b/print/ghostscript9-agpl-base/files/patch-base-gsicc_create.c index 82bfee6c37ef..82bfee6c37ef 100644 --- a/print/ghostscript9-agpl/files/patch-base-gsicc_create.c +++ b/print/ghostscript9-agpl-base/files/patch-base-gsicc_create.c diff --git a/print/ghostscript9-agpl-base/files/patch-base-gsmalloc.c b/print/ghostscript9-agpl-base/files/patch-base-gsmalloc.c new file mode 100644 index 000000000000..030f702d9415 --- /dev/null +++ b/print/ghostscript9-agpl-base/files/patch-base-gsmalloc.c @@ -0,0 +1,11 @@ +--- base/gsmalloc.c.orig 2015-08-22 03:09:16.838614000 +0900 ++++ base/gsmalloc.c 2015-08-22 03:09:34.776354000 +0900 +@@ -178,7 +178,7 @@ + } 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"); diff --git a/print/ghostscript9/files/patch-base-gxobj.h b/print/ghostscript9-agpl-base/files/patch-base-gxobj.h index 529efe379df2..529efe379df2 100644 --- a/print/ghostscript9/files/patch-base-gxobj.h +++ b/print/ghostscript9-agpl-base/files/patch-base-gxobj.h diff --git a/print/ghostscript9-agpl/files/patch-base-openjpeg.mak b/print/ghostscript9-agpl-base/files/patch-base-openjpeg.mak index 3d85cb70abf1..3d85cb70abf1 100644 --- a/print/ghostscript9-agpl/files/patch-base-openjpeg.mak +++ b/print/ghostscript9-agpl-base/files/patch-base-openjpeg.mak diff --git a/print/ghostscript9-agpl/files/patch-base-unix-gcc.mak b/print/ghostscript9-agpl-base/files/patch-base-unix-gcc.mak index 2fd1d5ad7885..2fd1d5ad7885 100644 --- a/print/ghostscript9-agpl/files/patch-base-unix-gcc.mak +++ b/print/ghostscript9-agpl-base/files/patch-base-unix-gcc.mak diff --git a/print/ghostscript9-agpl/files/patch-base-unixinst.mak b/print/ghostscript9-agpl-base/files/patch-base-unixinst.mak index 0c67aa7c058b..0c67aa7c058b 100644 --- a/print/ghostscript9-agpl/files/patch-base-unixinst.mak +++ b/print/ghostscript9-agpl-base/files/patch-base-unixinst.mak diff --git a/print/ghostscript9-agpl-base/files/patch-configure.ac b/print/ghostscript9-agpl-base/files/patch-configure.ac new file mode 100644 index 000000000000..9b68cce459f5 --- /dev/null +++ b/print/ghostscript9-agpl-base/files/patch-configure.ac @@ -0,0 +1,38 @@ +--- configure.ac.orig 2015-03-30 17:21:24.000000000 +0900 ++++ configure.ac 2015-08-22 03:22:12.231575000 +0900 +@@ -1607,7 +1607,7 @@ + X_DEVS="" + X_LIBS="" + +-if test x$no_x != xyes; then ++if test x$with_x != xno; then + if test "$x_libraries" = "/usr/lib"; then + echo "Ignoring X library directory \"$x_libraries\" requested by configure." + x_libraries="NONE" +@@ -2074,7 +2074,10 @@ + DBG_CFLAGS="$DYNAMIC_CFLAGS $DBG_CFLAGS" + ;; + *BSD) +- DYNAMIC_DEVS="\$(GLOBJDIR)/X11.so" ++ if test "x$X_DEVS" != x; then ++ INSTALL_SHARED="install-shared" ++ DYNAMIC_DEVS="\$(GLOBJDIR)/X11.so" ++ fi + DYNAMIC_FLAGS="-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\\\"\$(gssharedir)\\\"" + X11_DEVS="" + OPT_CFLAGS="$DYNAMIC_CFLAGS $OPT_CFLAGS" +@@ -2133,11 +2136,11 @@ + fontpath="${fontpath}:$datadir/fonts/default/TrueType" + + # These font directories are used by IRIX... +- fontpath="${fontpath}:/usr/lib/DPS/outline/base" ++ # fontpath="${fontpath}:/usr/lib/DPS/outline/base" + + # These font directories are used by Solaris... +- fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/Type1" +- fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/TrueType" ++ # fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/Type1" ++ # fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/TrueType" + + # This font directory is used by CUPS... + if test "x$CUPSCONFIG" != x; then diff --git a/print/ghostscript9-agpl/files/patch-contrib-contrib.mak b/print/ghostscript9-agpl-base/files/patch-contrib-contrib.mak index a9263619fd93..a9263619fd93 100644 --- a/print/ghostscript9-agpl/files/patch-contrib-contrib.mak +++ b/print/ghostscript9-agpl-base/files/patch-contrib-contrib.mak diff --git a/print/ghostscript9-agpl/files/patch-contrib__gomni.c b/print/ghostscript9-agpl-base/files/patch-contrib__gomni.c index 4129fdebbf74..4129fdebbf74 100644 --- a/print/ghostscript9-agpl/files/patch-contrib__gomni.c +++ b/print/ghostscript9-agpl-base/files/patch-contrib__gomni.c diff --git a/print/ghostscript9-agpl/files/patch-contrib__japanese__dmp_site.ps b/print/ghostscript9-agpl-base/files/patch-contrib__japanese__dmp_site.ps index 9f7ad073a58a..f24d26c6d2b7 100644 --- a/print/ghostscript9-agpl/files/patch-contrib__japanese__dmp_site.ps +++ b/print/ghostscript9-agpl-base/files/patch-contrib__japanese__dmp_site.ps @@ -1,11 +1,11 @@ ---- contrib/japanese/dmp_site.ps.orig Wed Nov 29 20:56:17 2006 -+++ contrib/japanese/dmp_site.ps Sun May 13 21:06:03 2007 +--- contrib/japanese/dmp_site.ps.orig 2015-03-30 17:21:24.000000000 +0900 ++++ contrib/japanese/dmp_site.ps 2015-08-22 03:10:27.500014000 +0900 @@ -1,7 +1,7 @@ %! BeginConfig %%%%%%%%%%%%%%%%%%%%%% Standard user cusomizations %%%%%%%%%%%%%%%%%%%%% -/printer (escp_24.src) -+/printer (%%DATADIR%%/%%GS_VERSION%%/lib/escp_24.src) ++/printer (%%DATADIR%%/lib/escp_24.src) % horizontal / vertical % /resolution [ 180.0 180.0 ] % horizontal / vertical diff --git a/print/ghostscript9-agpl/files/patch-contrib__japanese__gdevdmpr.c b/print/ghostscript9-agpl-base/files/patch-contrib__japanese__gdevdmpr.c index e4ed6582cf78..e4ed6582cf78 100644 --- a/print/ghostscript9-agpl/files/patch-contrib__japanese__gdevdmpr.c +++ b/print/ghostscript9-agpl-base/files/patch-contrib__japanese__gdevdmpr.c diff --git a/print/ghostscript9-agpl/files/patch-devices-devs.mak b/print/ghostscript9-agpl-base/files/patch-devices-devs.mak index a1c1d134dd66..a1c1d134dd66 100644 --- a/print/ghostscript9-agpl/files/patch-devices-devs.mak +++ b/print/ghostscript9-agpl-base/files/patch-devices-devs.mak diff --git a/print/ghostscript9-agpl/files/patch-devices-gdevl256.c b/print/ghostscript9-agpl-base/files/patch-devices-gdevl256.c index ed7d36002a62..ed7d36002a62 100644 --- a/print/ghostscript9-agpl/files/patch-devices-gdevl256.c +++ b/print/ghostscript9-agpl-base/files/patch-devices-gdevl256.c diff --git a/print/ghostscript9-agpl/files/patch-devices-gdevperm.c b/print/ghostscript9-agpl-base/files/patch-devices-gdevperm.c index ed420367dc22..ed420367dc22 100644 --- a/print/ghostscript9-agpl/files/patch-devices-gdevperm.c +++ b/print/ghostscript9-agpl-base/files/patch-devices-gdevperm.c diff --git a/print/ghostscript9-agpl/files/patch-devices-gdevplib.c b/print/ghostscript9-agpl-base/files/patch-devices-gdevplib.c index b14a47184e50..b14a47184e50 100644 --- a/print/ghostscript9-agpl/files/patch-devices-gdevplib.c +++ b/print/ghostscript9-agpl-base/files/patch-devices-gdevplib.c diff --git a/print/ghostscript9-agpl/files/patch-devices-gdevvglb.c b/print/ghostscript9-agpl-base/files/patch-devices-gdevvglb.c index ca8dcf130c2c..ca8dcf130c2c 100644 --- a/print/ghostscript9-agpl/files/patch-devices-gdevvglb.c +++ b/print/ghostscript9-agpl-base/files/patch-devices-gdevvglb.c diff --git a/print/ghostscript9-agpl/files/patch-epag-ert.c b/print/ghostscript9-agpl-base/files/patch-epag-ert.c index 6a6dd2540b8a..6a6dd2540b8a 100644 --- a/print/ghostscript9-agpl/files/patch-epag-ert.c +++ b/print/ghostscript9-agpl-base/files/patch-epag-ert.c diff --git a/print/ghostscript9-agpl/files/patch-epag__gdevepag.c b/print/ghostscript9-agpl-base/files/patch-epag__gdevepag.c index 6012768b4d9c..6012768b4d9c 100644 --- a/print/ghostscript9-agpl/files/patch-epag__gdevepag.c +++ b/print/ghostscript9-agpl-base/files/patch-epag__gdevepag.c diff --git a/print/ghostscript9-agpl/files/patch-lips:gdevlips.c b/print/ghostscript9-agpl-base/files/patch-lips:gdevlips.c index 0917be89e49a..0917be89e49a 100644 --- a/print/ghostscript9-agpl/files/patch-lips:gdevlips.c +++ b/print/ghostscript9-agpl-base/files/patch-lips:gdevlips.c diff --git a/print/ghostscript9-agpl/files/patch-lips:gdevlips.h b/print/ghostscript9-agpl-base/files/patch-lips:gdevlips.h index b3520ba1ac33..b3520ba1ac33 100644 --- a/print/ghostscript9-agpl/files/patch-lips:gdevlips.h +++ b/print/ghostscript9-agpl-base/files/patch-lips:gdevlips.h diff --git a/print/ghostscript9-agpl/files/patch-openjpeg-src-lib-openjp2-opj_includes.h b/print/ghostscript9-agpl-base/files/patch-openjpeg-src-lib-openjp2-opj_includes.h index c76c46f4ad48..c76c46f4ad48 100644 --- a/print/ghostscript9-agpl/files/patch-openjpeg-src-lib-openjp2-opj_includes.h +++ b/print/ghostscript9-agpl-base/files/patch-openjpeg-src-lib-openjp2-opj_includes.h diff --git a/print/ghostscript9-agpl/files/patch-psi-zicc.c b/print/ghostscript9-agpl-base/files/patch-psi-zicc.c index 98c4eed85c37..98c4eed85c37 100644 --- a/print/ghostscript9-agpl/files/patch-psi-zicc.c +++ b/print/ghostscript9-agpl-base/files/patch-psi-zicc.c diff --git a/print/ghostscript9-agpl/files/patch-trio-triodef.h b/print/ghostscript9-agpl-base/files/patch-trio-triodef.h index 8428c0fedc98..8428c0fedc98 100644 --- a/print/ghostscript9-agpl/files/patch-trio-triodef.h +++ b/print/ghostscript9-agpl-base/files/patch-trio-triodef.h diff --git a/print/ghostscript9-agpl/files/patch-trio-triop.h b/print/ghostscript9-agpl-base/files/patch-trio-triop.h index 795b3299e564..795b3299e564 100644 --- a/print/ghostscript9-agpl/files/patch-trio-triop.h +++ b/print/ghostscript9-agpl-base/files/patch-trio-triop.h diff --git a/print/ghostscript9/files/pkg-message.in b/print/ghostscript9-agpl-base/files/pkg-message.in index ea0381cc7d91..ff7c18d05a86 100644 --- a/print/ghostscript9/files/pkg-message.in +++ b/print/ghostscript9-agpl-base/files/pkg-message.in @@ -1,5 +1,5 @@ Note: in order to use the script "dvipdf", dvips must be installed. This program is provided by another package print/tex-dvipsk. -FAPIfontmap and FAPIcidfmap in %%DATADIR%%/%%PORTVERSION%%/Resource/Init +FAPIfontmap and FAPIcidfmap in %%DATADIR%%/Resource/Init have to be configured if you want to use FAPI feature. diff --git a/print/ghostscript9/pkg-descr b/print/ghostscript9-agpl-base/pkg-descr index a7234ce47bc0..265a49bfad78 100644 --- a/print/ghostscript9/pkg-descr +++ b/print/ghostscript9-agpl-base/pkg-descr @@ -19,4 +19,4 @@ This port includes add-on packages (not part of the official gs release) - Epson Stylus Color 740 and Epson LQ-1170 WWW: http://www.cs.wisc.edu/~ghost/doc/GPL/index.htm - http://www.ghostscript.com/ +WWW: http://www.ghostscript.com/ diff --git a/print/ghostscript9-agpl-base/pkg-plist b/print/ghostscript9-agpl-base/pkg-plist new file mode 100644 index 000000000000..7001cccc95d6 --- /dev/null +++ b/print/ghostscript9-agpl-base/pkg-plist @@ -0,0 +1,645 @@ +bin/dvipdf +bin/eps2eps +%%GS_epag%%bin/ert +bin/font2c +bin/gs +bin/gsbj +bin/gsc +bin/gsdj +bin/gsdj500 +bin/gslj +bin/gslp +bin/gsnd +bin/gsx +bin/lprsetup.sh +%%GS_pcl3%%bin/pcl3opts +bin/pdf2dsc +bin/pdf2ps +bin/pf2afm +bin/pfbtopfa +bin/pphs +bin/printafm +bin/ps2ascii +bin/ps2epsi +bin/ps2pdf +bin/ps2pdf12 +bin/ps2pdf13 +bin/ps2pdf14 +bin/ps2pdfwr +bin/ps2ps +bin/ps2ps2 +bin/unix-lpr.sh +bin/wftopfa +include/ghostscript/gdevdsp.h +include/ghostscript/iapi.h +include/ghostscript/ierrors.h +lib/libgs.so +lib/libgs.so.%%SHLIB_VER%% +lib/libgs.so.%%GS_VERSION%% +man/man1/dvipdf.1.gz +man/man1/eps2eps.1.gz +man/man1/font2c.1.gz +%%GS_pcl3%%man/man1/gs-pcl3.1.gz +man/man1/gs.1.gz +man/man1/gsbj.1.gz +man/man1/gsdj.1.gz +man/man1/gsdj500.1.gz +man/man1/gslj.1.gz +man/man1/gslp.1.gz +man/man1/gsnd.1.gz +%%GS_pcl3%%man/man1/pcl3opts.1.gz +man/man1/pdf2dsc.1.gz +man/man1/pdf2ps.1.gz +man/man1/pf2afm.1.gz +man/man1/pfbtopfa.1.gz +man/man1/printafm.1.gz +man/man1/ps2ascii.1.gz +man/man1/ps2epsi.1.gz +man/man1/ps2pdf.1.gz +man/man1/ps2pdf12.1.gz +man/man1/ps2pdf13.1.gz +man/man1/ps2pdf14.1.gz +man/man1/ps2pdfwr.1.gz +man/man1/ps2ps.1.gz +man/man1/wftopfa.1.gz +%%DATADIR%%/Resource/CMap/78-EUC-H +%%DATADIR%%/Resource/CMap/78-EUC-V +%%DATADIR%%/Resource/CMap/78-H +%%DATADIR%%/Resource/CMap/78-RKSJ-H +%%DATADIR%%/Resource/CMap/78-RKSJ-V +%%DATADIR%%/Resource/CMap/78-V +%%DATADIR%%/Resource/CMap/78ms-RKSJ-H +%%DATADIR%%/Resource/CMap/78ms-RKSJ-V +%%DATADIR%%/Resource/CMap/83pv-RKSJ-H +%%DATADIR%%/Resource/CMap/90ms-RKSJ-H +%%DATADIR%%/Resource/CMap/90ms-RKSJ-V +%%DATADIR%%/Resource/CMap/90msp-RKSJ-H +%%DATADIR%%/Resource/CMap/90msp-RKSJ-V +%%DATADIR%%/Resource/CMap/90pv-RKSJ-H +%%DATADIR%%/Resource/CMap/90pv-RKSJ-V +%%DATADIR%%/Resource/CMap/Add-H +%%DATADIR%%/Resource/CMap/Add-RKSJ-H +%%DATADIR%%/Resource/CMap/Add-RKSJ-V +%%DATADIR%%/Resource/CMap/Add-V +%%DATADIR%%/Resource/CMap/Adobe-CNS1-0 +%%DATADIR%%/Resource/CMap/Adobe-CNS1-1 +%%DATADIR%%/Resource/CMap/Adobe-CNS1-2 +%%DATADIR%%/Resource/CMap/Adobe-CNS1-3 +%%DATADIR%%/Resource/CMap/Adobe-CNS1-4 +%%DATADIR%%/Resource/CMap/Adobe-CNS1-5 +%%DATADIR%%/Resource/CMap/Adobe-CNS1-6 +%%DATADIR%%/Resource/CMap/Adobe-GB1-0 +%%DATADIR%%/Resource/CMap/Adobe-GB1-1 +%%DATADIR%%/Resource/CMap/Adobe-GB1-2 +%%DATADIR%%/Resource/CMap/Adobe-GB1-3 +%%DATADIR%%/Resource/CMap/Adobe-GB1-4 +%%DATADIR%%/Resource/CMap/Adobe-GB1-5 +%%DATADIR%%/Resource/CMap/Adobe-Japan1-0 +%%DATADIR%%/Resource/CMap/Adobe-Japan1-1 +%%DATADIR%%/Resource/CMap/Adobe-Japan1-2 +%%DATADIR%%/Resource/CMap/Adobe-Japan1-3 +%%DATADIR%%/Resource/CMap/Adobe-Japan1-4 +%%DATADIR%%/Resource/CMap/Adobe-Japan1-5 +%%DATADIR%%/Resource/CMap/Adobe-Japan1-6 +%%DATADIR%%/Resource/CMap/Adobe-Korea1-0 +%%DATADIR%%/Resource/CMap/Adobe-Korea1-1 +%%DATADIR%%/Resource/CMap/Adobe-Korea1-2 +%%DATADIR%%/Resource/CMap/B5-H +%%DATADIR%%/Resource/CMap/B5-V +%%DATADIR%%/Resource/CMap/B5pc-H +%%DATADIR%%/Resource/CMap/B5pc-V +%%DATADIR%%/Resource/CMap/CNS-EUC-H +%%DATADIR%%/Resource/CMap/CNS-EUC-V +%%DATADIR%%/Resource/CMap/CNS1-H +%%DATADIR%%/Resource/CMap/CNS1-V +%%DATADIR%%/Resource/CMap/CNS2-H +%%DATADIR%%/Resource/CMap/CNS2-V +%%DATADIR%%/Resource/CMap/ETHK-B5-H +%%DATADIR%%/Resource/CMap/ETHK-B5-V +%%DATADIR%%/Resource/CMap/ETen-B5-H +%%DATADIR%%/Resource/CMap/ETen-B5-V +%%DATADIR%%/Resource/CMap/ETenms-B5-H +%%DATADIR%%/Resource/CMap/ETenms-B5-V +%%DATADIR%%/Resource/CMap/EUC-H +%%DATADIR%%/Resource/CMap/EUC-V +%%DATADIR%%/Resource/CMap/Ext-H +%%DATADIR%%/Resource/CMap/Ext-RKSJ-H +%%DATADIR%%/Resource/CMap/Ext-RKSJ-V +%%DATADIR%%/Resource/CMap/Ext-V +%%DATADIR%%/Resource/CMap/GB-EUC-H +%%DATADIR%%/Resource/CMap/GB-EUC-V +%%DATADIR%%/Resource/CMap/GB-H +%%DATADIR%%/Resource/CMap/GB-V +%%DATADIR%%/Resource/CMap/GBK-EUC-H +%%DATADIR%%/Resource/CMap/GBK-EUC-V +%%DATADIR%%/Resource/CMap/GBK2K-H +%%DATADIR%%/Resource/CMap/GBK2K-V +%%DATADIR%%/Resource/CMap/GBKp-EUC-H +%%DATADIR%%/Resource/CMap/GBKp-EUC-V +%%DATADIR%%/Resource/CMap/GBT-EUC-H +%%DATADIR%%/Resource/CMap/GBT-EUC-V +%%DATADIR%%/Resource/CMap/GBT-H +%%DATADIR%%/Resource/CMap/GBT-V +%%DATADIR%%/Resource/CMap/GBTpc-EUC-H +%%DATADIR%%/Resource/CMap/GBTpc-EUC-V +%%DATADIR%%/Resource/CMap/GBpc-EUC-H +%%DATADIR%%/Resource/CMap/GBpc-EUC-V +%%DATADIR%%/Resource/CMap/H +%%DATADIR%%/Resource/CMap/HKdla-B5-H +%%DATADIR%%/Resource/CMap/HKdla-B5-V +%%DATADIR%%/Resource/CMap/HKdlb-B5-H +%%DATADIR%%/Resource/CMap/HKdlb-B5-V +%%DATADIR%%/Resource/CMap/HKgccs-B5-H +%%DATADIR%%/Resource/CMap/HKgccs-B5-V +%%DATADIR%%/Resource/CMap/HKm314-B5-H +%%DATADIR%%/Resource/CMap/HKm314-B5-V +%%DATADIR%%/Resource/CMap/HKm471-B5-H +%%DATADIR%%/Resource/CMap/HKm471-B5-V +%%DATADIR%%/Resource/CMap/HKscs-B5-H +%%DATADIR%%/Resource/CMap/HKscs-B5-V +%%DATADIR%%/Resource/CMap/Hankaku +%%DATADIR%%/Resource/CMap/Hiragana +%%DATADIR%%/Resource/CMap/Identity-H +%%DATADIR%%/Resource/CMap/Identity-UTF16-H +%%DATADIR%%/Resource/CMap/Identity-V +%%DATADIR%%/Resource/CMap/KSC-EUC-H +%%DATADIR%%/Resource/CMap/KSC-EUC-V +%%DATADIR%%/Resource/CMap/KSC-H +%%DATADIR%%/Resource/CMap/KSC-Johab-H +%%DATADIR%%/Resource/CMap/KSC-Johab-V +%%DATADIR%%/Resource/CMap/KSC-V +%%DATADIR%%/Resource/CMap/KSCms-UHC-H +%%DATADIR%%/Resource/CMap/KSCms-UHC-HW-H +%%DATADIR%%/Resource/CMap/KSCms-UHC-HW-V +%%DATADIR%%/Resource/CMap/KSCms-UHC-V +%%DATADIR%%/Resource/CMap/KSCpc-EUC-H +%%DATADIR%%/Resource/CMap/KSCpc-EUC-V +%%DATADIR%%/Resource/CMap/Katakana +%%DATADIR%%/Resource/CMap/NWP-H +%%DATADIR%%/Resource/CMap/NWP-V +%%DATADIR%%/Resource/CMap/RKSJ-H +%%DATADIR%%/Resource/CMap/RKSJ-V +%%DATADIR%%/Resource/CMap/Roman +%%DATADIR%%/Resource/CMap/UniCNS-UCS2-H +%%DATADIR%%/Resource/CMap/UniCNS-UCS2-V +%%DATADIR%%/Resource/CMap/UniCNS-UTF16-H +%%DATADIR%%/Resource/CMap/UniCNS-UTF16-V +%%DATADIR%%/Resource/CMap/UniCNS-UTF32-H +%%DATADIR%%/Resource/CMap/UniCNS-UTF32-V +%%DATADIR%%/Resource/CMap/UniCNS-UTF8-H +%%DATADIR%%/Resource/CMap/UniCNS-UTF8-V +%%DATADIR%%/Resource/CMap/UniGB-UCS2-H +%%DATADIR%%/Resource/CMap/UniGB-UCS2-V +%%DATADIR%%/Resource/CMap/UniGB-UTF16-H +%%DATADIR%%/Resource/CMap/UniGB-UTF16-V +%%DATADIR%%/Resource/CMap/UniGB-UTF32-H +%%DATADIR%%/Resource/CMap/UniGB-UTF32-V +%%DATADIR%%/Resource/CMap/UniGB-UTF8-H +%%DATADIR%%/Resource/CMap/UniGB-UTF8-V +%%DATADIR%%/Resource/CMap/UniHojo-UCS2-H +%%DATADIR%%/Resource/CMap/UniJIS-UCS2-H +%%DATADIR%%/Resource/CMap/UniJIS-UCS2-HW-H +%%DATADIR%%/Resource/CMap/UniJIS-UCS2-HW-V +%%DATADIR%%/Resource/CMap/UniJIS-UCS2-V +%%DATADIR%%/Resource/CMap/UniJIS-UTF16-H +%%DATADIR%%/Resource/CMap/UniJIS-UTF16-V +%%DATADIR%%/Resource/CMap/UniJIS-UTF32-H +%%DATADIR%%/Resource/CMap/UniJIS-UTF32-V +%%DATADIR%%/Resource/CMap/UniJIS-UTF8-H +%%DATADIR%%/Resource/CMap/UniJIS-UTF8-V +%%DATADIR%%/Resource/CMap/UniJIS2004-UTF16-H +%%DATADIR%%/Resource/CMap/UniJIS2004-UTF16-V +%%DATADIR%%/Resource/CMap/UniJIS2004-UTF32-H +%%DATADIR%%/Resource/CMap/UniJIS2004-UTF32-V +%%DATADIR%%/Resource/CMap/UniJIS2004-UTF8-H +%%DATADIR%%/Resource/CMap/UniJIS2004-UTF8-V +%%DATADIR%%/Resource/CMap/UniJISPro-UCS2-HW-V +%%DATADIR%%/Resource/CMap/UniJISPro-UCS2-V +%%DATADIR%%/Resource/CMap/UniJISPro-UTF8-V +%%DATADIR%%/Resource/CMap/UniJISX0213-UTF32-H +%%DATADIR%%/Resource/CMap/UniJISX0213-UTF32-V +%%DATADIR%%/Resource/CMap/UniJISX02132004-UTF32-H +%%DATADIR%%/Resource/CMap/UniJISX02132004-UTF32-V +%%DATADIR%%/Resource/CMap/UniKS-UCS2-H +%%DATADIR%%/Resource/CMap/UniKS-UCS2-V +%%DATADIR%%/Resource/CMap/UniKS-UTF16-H +%%DATADIR%%/Resource/CMap/UniKS-UTF16-V +%%DATADIR%%/Resource/CMap/UniKS-UTF32-H +%%DATADIR%%/Resource/CMap/UniKS-UTF32-V +%%DATADIR%%/Resource/CMap/UniKS-UTF8-H +%%DATADIR%%/Resource/CMap/UniKS-UTF8-V +%%DATADIR%%/Resource/CMap/V +%%DATADIR%%/Resource/CMap/WP-Symbol +%%DATADIR%%/Resource/ColorSpace/DefaultCMYK +%%DATADIR%%/Resource/ColorSpace/DefaultGray +%%DATADIR%%/Resource/ColorSpace/DefaultRGB +%%DATADIR%%/Resource/ColorSpace/TrivialCMYK +%%DATADIR%%/Resource/ColorSpace/sGray +%%DATADIR%%/Resource/ColorSpace/sRGB +%%DATADIR%%/Resource/Decoding/FCO_Dingbats +%%DATADIR%%/Resource/Decoding/FCO_Symbol +%%DATADIR%%/Resource/Decoding/FCO_Unicode +%%DATADIR%%/Resource/Decoding/FCO_Wingdings +%%DATADIR%%/Resource/Decoding/Latin1 +%%DATADIR%%/Resource/Decoding/StandardEncoding +%%DATADIR%%/Resource/Decoding/Unicode +%%DATADIR%%/Resource/Encoding/CEEncoding +%%DATADIR%%/Resource/Encoding/ExpertEncoding +%%DATADIR%%/Resource/Encoding/ExpertSubsetEncoding +%%DATADIR%%/Resource/Encoding/NotDefEncoding +%%DATADIR%%/Resource/Encoding/Wingdings +%%DATADIR%%/Resource/Font/Dingbats +%%DATADIR%%/Resource/Font/StandardSymL +%%DATADIR%%/Resource/Font/BookmanURW-DemBol +%%DATADIR%%/Resource/Font/BookmanURW-DemBolIta +%%DATADIR%%/Resource/Font/BookmanURW-Lig +%%DATADIR%%/Resource/Font/BookmanURW-LigIta +%%DATADIR%%/Resource/Font/CenturySchURW-Bol +%%DATADIR%%/Resource/Font/CenturySchURW-BolIta +%%DATADIR%%/Resource/Font/CenturySchURW-Ita +%%DATADIR%%/Resource/Font/CenturySchURW-Rom +%%DATADIR%%/Resource/Font/ChanceryURW-MedIta +%%DATADIR%%/Resource/Font/NimbusMon-Bol +%%DATADIR%%/Resource/Font/NimbusMon-BolObl +%%DATADIR%%/Resource/Font/NimbusMon-Obl +%%DATADIR%%/Resource/Font/NimbusMon-Reg +%%DATADIR%%/Resource/Font/NimbusRom-Ita +%%DATADIR%%/Resource/Font/NimbusRom-Med +%%DATADIR%%/Resource/Font/NimbusRom-MedIta +%%DATADIR%%/Resource/Font/NimbusRom-Reg +%%DATADIR%%/Resource/Font/NimbusSan-Bol +%%DATADIR%%/Resource/Font/NimbusSan-BolIta +%%DATADIR%%/Resource/Font/NimbusSan-Ita +%%DATADIR%%/Resource/Font/NimbusSan-Reg +%%DATADIR%%/Resource/Font/NimbusSanNar-Bol +%%DATADIR%%/Resource/Font/NimbusSanNar-BolIta +%%DATADIR%%/Resource/Font/NimbusSanNar-Ita +%%DATADIR%%/Resource/Font/NimbusSanNar-Reg +%%DATADIR%%/Resource/Font/PalladioURW-Bol +%%DATADIR%%/Resource/Font/PalladioURW-BolIta +%%DATADIR%%/Resource/Font/PalladioURW-Ita +%%DATADIR%%/Resource/Font/PalladioURW-Rom +%%DATADIR%%/Resource/Font/URWGothic-Boo +%%DATADIR%%/Resource/Font/URWGothic-BooObl +%%DATADIR%%/Resource/Font/URWGothic-Dem +%%DATADIR%%/Resource/Font/URWGothic-DemObl +%%DATADIR%%/Resource/IdiomSet/Pscript5Idiom +%%DATADIR%%/iccprofiles/default_cmyk.icc +%%DATADIR%%/iccprofiles/default_gray.icc +%%DATADIR%%/iccprofiles/default_rgb.icc +%%DATADIR%%/iccprofiles/lab.icc +%%DATADIR%%/iccprofiles/gray_to_k.icc +%%DATADIR%%/iccprofiles/ps_cmyk.icc +%%DATADIR%%/iccprofiles/ps_gray.icc +%%DATADIR%%/iccprofiles/ps_rgb.icc +%%DATADIR%%/iccprofiles/sgray.icc +%%DATADIR%%/iccprofiles/srgb.icc +%%DATADIR%%/doc/API.htm +%%DATADIR%%/doc/AUTHORS +%%DATADIR%%/doc/C-style.htm +%%DATADIR%%/doc/Changes.htm +%%DATADIR%%/doc/COPYING +%%DATADIR%%/doc/Commprod.htm +%%DATADIR%%/doc/DLL.htm +%%DATADIR%%/doc/Deprecated.htm +%%DATADIR%%/doc/Details.htm +%%DATADIR%%/doc/Details8.htm +%%DATADIR%%/doc/Details9.htm +%%DATADIR%%/doc/Develop.htm +%%DATADIR%%/doc/Devices.htm +%%DATADIR%%/doc/Drivers.htm +%%DATADIR%%/doc/Fonts.htm +%%DATADIR%%/doc/GS9_Color_Management.pdf +%%DATADIR%%/doc/GS9_Color_Management.tex +%%DATADIR%%/doc/Helpers.htm +%%DATADIR%%/doc/Hershey.htm +%%DATADIR%%/doc/History1.htm +%%DATADIR%%/doc/History2.htm +%%DATADIR%%/doc/History3.htm +%%DATADIR%%/doc/History4.htm +%%DATADIR%%/doc/History5.htm +%%DATADIR%%/doc/History6.htm +%%DATADIR%%/doc/History7.htm +%%DATADIR%%/doc/History8.htm +%%DATADIR%%/doc/History9.htm +%%DATADIR%%/doc/Install.htm +%%DATADIR%%/doc/Issues.htm +%%DATADIR%%/doc/Language.htm +%%DATADIR%%/doc/Lib.htm +%%DATADIR%%/doc/Make.htm +%%DATADIR%%/doc/News.htm +%%DATADIR%%/doc/Projects.htm +%%DATADIR%%/doc/Ps-style.htm +%%DATADIR%%/doc/Ps2epsi.htm +%%DATADIR%%/doc/Ps2pdf.htm +%%DATADIR%%/doc/Ps2ps2.htm +%%DATADIR%%/doc/Psfiles.htm +%%DATADIR%%/doc/Readme.htm +%%DATADIR%%/doc/Release.htm +%%DATADIR%%/doc/Source.htm +%%DATADIR%%/doc/Unix-lpr.htm +%%DATADIR%%/doc/Use.htm +%%DATADIR%%/doc/WhatIsGS.htm +%%DATADIR%%/doc/Xfonts.htm +%%DATADIR%%/doc/gs.css +%%DATADIR%%/doc/gs-vms.hlp +%%DATADIR%%/doc/gsdoc.el +%%DATADIR%%/doc/index.html +%%DATADIR%%/doc/pscet_status.txt +%%DATADIR%%/doc/thirdparty.htm +%%DATADIR%%/examples/cjk/all_ac1.ps +%%DATADIR%%/examples/cjk/all_aj1.ps +%%DATADIR%%/examples/cjk/all_ak1.ps +%%DATADIR%%/examples/cjk/gscjk_ac.ps +%%DATADIR%%/examples/cjk/gscjk_aj.ps +%%DATADIR%%/examples/cjk/iso2022.ps +%%DATADIR%%/examples/cjk/all_ag1.ps +%%DATADIR%%/examples/cjk/all_aj2.ps +%%DATADIR%%/examples/cjk/article9.ps +%%DATADIR%%/examples/cjk/gscjk_ag.ps +%%DATADIR%%/examples/cjk/gscjk_ak.ps +%%DATADIR%%/examples/cjk/iso2022v.ps +%%DATADIR%%/examples/alphabet.ps +%%DATADIR%%/examples/annots.pdf +%%DATADIR%%/examples/chess.ps +%%DATADIR%%/examples/colorcir.ps +%%DATADIR%%/examples/doretree.ps +%%DATADIR%%/examples/escher.ps +%%DATADIR%%/examples/golfer.eps +%%DATADIR%%/examples/grayalph.ps +%%DATADIR%%/examples/ridt91.eps +%%DATADIR%%/examples/snowflak.ps +%%DATADIR%%/examples/text_graph_image_cmyk_rgb.pdf +%%DATADIR%%/examples/text_graphic_image.pdf +%%DATADIR%%/examples/tiger.eps +%%DATADIR%%/examples/transparency_example.ps +%%DATADIR%%/examples/vasarely.ps +%%DATADIR%%/examples/waterfal.ps +%%DATADIR%%/Resource/Init/FAPIcidfmap +%%DATADIR%%/Resource/Init/FAPIcidfmap.orig +%%DATADIR%%/Resource/Init/FAPIconfig +%%DATADIR%%/Resource/Init/FAPIconfig.orig +%%DATADIR%%/Resource/Init/FAPIfontmap +%%DATADIR%%/Resource/Init/FCOfontmap-PCLPS2 +%%DATADIR%%/Resource/Init/Fontmap +%%DATADIR%%/Resource/Init/Fontmap.GS +%%DATADIR%%/Resource/Init/cidfmap +%%DATADIR%%/Resource/Init/cidfmap.orig +%%DATADIR%%/Resource/Init/gs_agl.ps +%%DATADIR%%/Resource/Init/gs_btokn.ps +%%DATADIR%%/Resource/Init/gs_cet.ps +%%DATADIR%%/Resource/Init/gs_cff.ps +%%DATADIR%%/Resource/Init/gs_cidcm.ps +%%DATADIR%%/Resource/Init/gs_ciddc.ps +%%DATADIR%%/Resource/Init/gs_cidfm.ps +%%DATADIR%%/Resource/Init/gs_cidfn.ps +%%DATADIR%%/Resource/Init/gs_cidtt.ps +%%DATADIR%%/Resource/Init/gs_cmap.ps +%%DATADIR%%/Resource/Init/gs_cspace.ps +%%DATADIR%%/Resource/Init/gs_css_e.ps +%%DATADIR%%/Resource/Init/gs_dbt_e.ps +%%DATADIR%%/Resource/Init/gs_diskf.ps +%%DATADIR%%/Resource/Init/gs_diskn.ps +%%DATADIR%%/Resource/Init/gs_dpnxt.ps +%%DATADIR%%/Resource/Init/gs_dps.ps +%%DATADIR%%/Resource/Init/gs_dps1.ps +%%DATADIR%%/Resource/Init/gs_dps2.ps +%%DATADIR%%/Resource/Init/gs_dscp.ps +%%DATADIR%%/Resource/Init/gs_epsf.ps +%%DATADIR%%/Resource/Init/gs_fapi.ps +%%DATADIR%%/Resource/Init/gs_fntem.ps +%%DATADIR%%/Resource/Init/gs_fonts.ps +%%DATADIR%%/Resource/Init/gs_frsd.ps +%%DATADIR%%/Resource/Init/gs_icc.ps +%%DATADIR%%/Resource/Init/gs_il1_e.ps +%%DATADIR%%/Resource/Init/gs_img.ps +%%DATADIR%%/Resource/Init/gs_init.ps +%%DATADIR%%/Resource/Init/gs_l2img.ps +%%DATADIR%%/Resource/Init/gs_lev2.ps +%%DATADIR%%/Resource/Init/gs_ll3.ps +%%DATADIR%%/Resource/Init/gs_mex_e.ps +%%DATADIR%%/Resource/Init/gs_mgl_e.ps +%%DATADIR%%/Resource/Init/gs_mro_e.ps +%%DATADIR%%/Resource/Init/gs_pdf_e.ps +%%DATADIR%%/Resource/Init/gs_pdfwr.ps +%%DATADIR%%/Resource/Init/gs_res.ps +%%DATADIR%%/Resource/Init/gs_resmp.ps +%%DATADIR%%/Resource/Init/gs_setpd.ps +%%DATADIR%%/Resource/Init/gs_statd.ps +%%DATADIR%%/Resource/Init/gs_std_e.ps +%%DATADIR%%/Resource/Init/gs_sym_e.ps +%%DATADIR%%/Resource/Init/gs_trap.ps +%%DATADIR%%/Resource/Init/gs_ttf.ps +%%DATADIR%%/Resource/Init/gs_typ32.ps +%%DATADIR%%/Resource/Init/gs_typ42.ps +%%DATADIR%%/Resource/Init/gs_type1.ps +%%DATADIR%%/Resource/Init/gs_wan_e.ps +%%DATADIR%%/Resource/Init/pdf_base.ps +%%DATADIR%%/Resource/Init/pdf_cslayer.ps +%%DATADIR%%/Resource/Init/pdf_draw.ps +%%DATADIR%%/Resource/Init/pdf_font.ps +%%DATADIR%%/Resource/Init/pdf_main.ps +%%DATADIR%%/Resource/Init/pdf_ops.ps +%%DATADIR%%/Resource/Init/pdf_rbld.ps +%%DATADIR%%/Resource/Init/pdf_sec.ps +%%DATADIR%%/Resource/Init/xlatmap +%%DATADIR%%/Resource/SubstCID/CNS1-WMode +%%DATADIR%%/Resource/SubstCID/GB1-WMode +%%DATADIR%%/Resource/SubstCID/Japan1-WMode +%%DATADIR%%/Resource/SubstCID/Korea1-WMode +%%DATADIR%%/lib/ht_ccsto.ps +%%DATADIR%%/lib/acctest.ps +%%DATADIR%%/lib/addxchar.ps +%%DATADIR%%/lib/align.ps +%%DATADIR%%/lib/caption.ps +%%DATADIR%%/lib/cid2code.ps +%%DATADIR%%/lib/decrypt.ps +%%DATADIR%%/lib/docie.ps +%%DATADIR%%/lib/font2c.ps +%%DATADIR%%/lib/font2pcl.ps +%%DATADIR%%/lib/gslp.ps +%%DATADIR%%/lib/gsnup.ps +%%DATADIR%%/lib/image-qa.ps +%%DATADIR%%/lib/impath.ps +%%DATADIR%%/lib/jispaper.ps +%%DATADIR%%/lib/landscap.ps +%%DATADIR%%/lib/level1.ps +%%DATADIR%%/lib/lines.ps +%%DATADIR%%/lib/markhint.ps +%%DATADIR%%/lib/markpath.ps +%%DATADIR%%/lib/mkcidfm.ps +%%DATADIR%%/lib/PDFA_def.ps +%%DATADIR%%/lib/PDFX_def.ps +%%DATADIR%%/lib/packfile.ps +%%DATADIR%%/lib/pcharstr.ps +%%DATADIR%%/lib/pf2afm.ps +%%DATADIR%%/lib/pfbtopfa.ps +%%DATADIR%%/lib/ppath.ps +%%DATADIR%%/lib/pphs.ps +%%DATADIR%%/lib/prfont.ps +%%DATADIR%%/lib/printafm.ps +%%DATADIR%%/lib/ps2ai.ps +%%DATADIR%%/lib/ps2ascii.ps +%%DATADIR%%/lib/ps2epsi.ps +%%DATADIR%%/lib/quit.ps +%%DATADIR%%/lib/rollconv.ps +%%DATADIR%%/lib/showchar.ps +%%DATADIR%%/lib/showpage.ps +%%DATADIR%%/lib/stcinfo.ps +%%DATADIR%%/lib/stcolor.ps +%%DATADIR%%/lib/stocht.ps +%%DATADIR%%/lib/traceimg.ps +%%DATADIR%%/lib/traceop.ps +%%DATADIR%%/lib/type1enc.ps +%%DATADIR%%/lib/type1ops.ps +%%DATADIR%%/lib/uninfo.ps +%%DATADIR%%/lib/unprot.ps +%%DATADIR%%/lib/viewcmyk.ps +%%DATADIR%%/lib/viewgif.ps +%%DATADIR%%/lib/viewjpeg.ps +%%DATADIR%%/lib/viewmiff.ps +%%DATADIR%%/lib/viewpcx.ps +%%DATADIR%%/lib/viewpbm.ps +%%DATADIR%%/lib/viewps2a.ps +%%DATADIR%%/lib/winmaps.ps +%%DATADIR%%/lib/wftopfa.ps +%%DATADIR%%/lib/wrfont.ps +%%DATADIR%%/lib/zeroline.ps +%%DATADIR%%/lib/pdf2dsc.ps +%%DATADIR%%/lib/gs_ce_e.ps +%%DATADIR%%/lib/gs_cmdl.ps +%%DATADIR%%/lib/gs_il2_e.ps +%%DATADIR%%/lib/gs_kanji.ps +%%DATADIR%%/lib/gs_ksb_e.ps +%%DATADIR%%/lib/gs_lgo_e.ps +%%DATADIR%%/lib/gs_lgx_e.ps +%%DATADIR%%/lib/gs_pfile.ps +%%DATADIR%%/lib/gs_rdlin.ps +%%DATADIR%%/lib/gs_wl1_e.ps +%%DATADIR%%/lib/gs_wl2_e.ps +%%DATADIR%%/lib/gs_wl5_e.ps +%%DATADIR%%/lib/pdfwrite.ps +%%DATADIR%%/lib/cbjc600.ppd +%%DATADIR%%/lib/cbjc800.ppd +%%DATADIR%%/lib/ghostpdf.ppd +%%DATADIR%%/lib/bj8.rpd +%%DATADIR%%/lib/bj8gc12f.upp +%%DATADIR%%/lib/bj8hg12f.upp +%%DATADIR%%/lib/bj8oh06n.upp +%%DATADIR%%/lib/bj8pa06n.upp +%%DATADIR%%/lib/bj8pp12f.upp +%%DATADIR%%/lib/bj8ts06n.upp +%%DATADIR%%/lib/bjc610a0.upp +%%DATADIR%%/lib/bjc610a1.upp +%%DATADIR%%/lib/bjc610a2.upp +%%DATADIR%%/lib/bjc610a3.upp +%%DATADIR%%/lib/bjc610a4.upp +%%DATADIR%%/lib/bjc610a5.upp +%%DATADIR%%/lib/bjc610a6.upp +%%DATADIR%%/lib/bjc610a7.upp +%%DATADIR%%/lib/bjc610a8.upp +%%DATADIR%%/lib/bjc610b1.upp +%%DATADIR%%/lib/bjc610b2.upp +%%DATADIR%%/lib/bjc610b3.upp +%%DATADIR%%/lib/bjc610b4.upp +%%DATADIR%%/lib/bjc610b6.upp +%%DATADIR%%/lib/bjc610b7.upp +%%DATADIR%%/lib/bjc610b8.upp +%%DATADIR%%/lib/cdj550.upp +%%DATADIR%%/lib/cdj690.upp +%%DATADIR%%/lib/cdj690ec.upp +%%DATADIR%%/lib/dnj750c.upp +%%DATADIR%%/lib/dnj750m.upp +%%DATADIR%%/lib/necp2x.upp +%%DATADIR%%/lib/necp2x6.upp +%%DATADIR%%/lib/ras1.upp +%%DATADIR%%/lib/ras24.upp +%%DATADIR%%/lib/ras3.upp +%%DATADIR%%/lib/ras32.upp +%%DATADIR%%/lib/ras4.upp +%%DATADIR%%/lib/ras8m.upp +%%DATADIR%%/lib/st640ih.upp +%%DATADIR%%/lib/st640ihg.upp +%%DATADIR%%/lib/st640p.upp +%%DATADIR%%/lib/st640pg.upp +%%DATADIR%%/lib/st640pl.upp +%%DATADIR%%/lib/st640plg.upp +%%DATADIR%%/lib/stc.upp +%%DATADIR%%/lib/stc1520h.upp +%%DATADIR%%/lib/stc2.upp +%%DATADIR%%/lib/stc200_h.upp +%%DATADIR%%/lib/stc2_h.upp +%%DATADIR%%/lib/stc2s_h.upp +%%DATADIR%%/lib/stc300.upp +%%DATADIR%%/lib/stc300bl.upp +%%DATADIR%%/lib/stc300bm.upp +%%DATADIR%%/lib/stc500p.upp +%%DATADIR%%/lib/stc500ph.upp +%%DATADIR%%/lib/stc600ih.upp +%%DATADIR%%/lib/stc600p.upp +%%DATADIR%%/lib/stc600pl.upp +%%DATADIR%%/lib/stc640p.upp +%%DATADIR%%/lib/stc800ih.upp +%%DATADIR%%/lib/stc800p.upp +%%DATADIR%%/lib/stc800pl.upp +%%DATADIR%%/lib/stc_h.upp +%%DATADIR%%/lib/stc_l.upp +%%DATADIR%%/lib/stcany.upp +%%DATADIR%%/lib/stcany_h.upp +%%DATADIR%%/lib/gs_l.xbm +%%DATADIR%%/lib/gs_l_m.xbm +%%DATADIR%%/lib/gs_m.xbm +%%DATADIR%%/lib/gs_m_m.xbm +%%DATADIR%%/lib/gs_s.xbm +%%DATADIR%%/lib/gs_s_m.xbm +%%DATADIR%%/lib/gs_t.xbm +%%DATADIR%%/lib/gs_t_m.xbm +%%DATADIR%%/lib/gs_l.xpm +%%DATADIR%%/lib/gs_m.xpm +%%DATADIR%%/lib/gs_s.xpm +%%DATADIR%%/lib/gs_t.xpm +%%DATADIR%%/lib/dmp_init.ps +%%DATADIR%%/lib/dmp_site.ps +%%DATADIR%%/lib/escp_24.src +%%DATADIR%%/lib/PM760p.upp +%%DATADIR%%/lib/PM760pl.upp +%%DATADIR%%/lib/PM820p.upp +%%DATADIR%%/lib/PM820pl.upp +%%DATADIR%%/lib/Stc670p.upp +%%DATADIR%%/lib/Stc670pl.upp +%%DATADIR%%/lib/Stc680p.upp +%%DATADIR%%/lib/Stc680pl.upp +%%DATADIR%%/lib/Stc740p.upp +%%DATADIR%%/lib/Stc740pl.upp +%%DATADIR%%/lib/Stc760p.upp +%%DATADIR%%/lib/Stc760pl.upp +%%DATADIR%%/lib/Stc777p.upp +%%DATADIR%%/lib/Stc777pl.upp +%%DATADIR%%/lib/Stp720p.upp +%%DATADIR%%/lib/Stp720pl.upp +%%DATADIR%%/lib/Stp870p.upp +%%DATADIR%%/lib/Stp870pl.upp +%%DATADIR%%/lib/bjc6000a1.upp +%%DATADIR%%/lib/bjc6000b1.upp +%%DATADIR%%/lib/s400a1.upp +%%DATADIR%%/lib/s400b1.upp +%%DATADIR%%/lib/sharp.upp +%%DATADIR%%/lib/sipixa6.upp +%%DATADIR%%/lib/stc740ih.upp +%%GS_dmprt%%%%DATADIR%%/lib/lqx70ch.upp +%%GS_dmprt%%%%DATADIR%%/lib/lqx70cl.upp +%%GS_dmprt%%%%DATADIR%%/lib/lqx70cm.upp +%%GS_pcl3%%%%DATADIR%%/pcl3/calign.ps +%%GS_pcl3%%%%DATADIR%%/pcl3/dumppdd.ps +%%GS_pcl3%%%%DATADIR%%/pcl3/example.mcf +%%GS_pcl3%%%%DATADIR%%/pcl3/if-pcl3 +%%GS_pcl3%%%%DATADIR%%/pcl3/levels-test.ps +%%GS_pcl3%%%%DATADIR%%/pcl3/margins-A4.ps +%%GS_pcl3%%%%DATADIR%%/pcl3/margins-A4Rotated.ps +%%GS_pcl3%%%%DATADIR%%/pcl3/margins-Env10Rotated.ps +%%GS_pcl3%%%%DATADIR%%/pcl3/margins-EnvDLRotated.ps +%%GS_pcl3%%%%DATADIR%%/pcl3/margins-Letter.ps +%%GS_pcl3%%%%DATADIR%%/pcl3/margins-LetterRotated.ps +%%DATADIR%%/Resource/CIDFSubst/DroidSansFallback.ttf +%%DATADIR%%/Resource/CIDFont/fonts +%%DATADIR%%/Resource/CIDFont/ArtifexBullet diff --git a/print/ghostscript9-agpl-nox11/Makefile b/print/ghostscript9-agpl-nox11/Makefile deleted file mode 100644 index db1b592f036b..000000000000 --- a/print/ghostscript9-agpl-nox11/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -# $FreeBSD$ - -print_ghostscript9-agpl-nox11_UNSET_FORCE+= X11 - -MASTERDIR= ${.CURDIR}/../ghostscript9-agpl - -.include "${MASTERDIR}/Makefile" diff --git a/print/ghostscript9-agpl-x11/Makefile b/print/ghostscript9-agpl-x11/Makefile new file mode 100644 index 000000000000..15ad0c619374 --- /dev/null +++ b/print/ghostscript9-agpl-x11/Makefile @@ -0,0 +1,58 @@ +# $FreeBSD$ + +PORTNAME= ghostscript +PORTVERSION= 9.16 +PORTREVISION= 2 +CATEGORIES= print +MASTER_SITES= http://downloads.ghostscript.com/public/ \ + SF/ghostscript/GPL%20Ghostscript/${PORTVERSION}/ +PKGNAMESUFFIX= 9-agpl-x11 +DIST_SUBDIR= ${PORTNAME} + +MAINTAINER= doceng@FreeBSD.org +COMMENT= Ghostscript 9.x PostScript interpreter, X11 support + +LICENSE= AGPLv3 + +CONFLICTS_INSTALL= \ + gambc-[0-9]* \ + ghostscript[789]-[0-9]* \ + ghostscript[789]-nox11-[0-9]* \ + ghostscript9-agpl-[0-9]* \ + ghostscript9-agpl-nox11-[0-9]* + +USES= autoreconf ghostscript:9,agpl gmake tar:bzip2 +USE_LDCONFIG= yes +USE_XORG= ice sm x11 xext xt +EXTRACT_AFTER_ARGS= ${EXCLUDE_DIRS:S/^/--exclude /} +GNU_CONFIGURE= yes +MAKE_ENV= CFLAGS_STANDARD="${CFLAGS}" \ + XLDFLAGS="${XLDFLAGS}" +CONFIGURE_ENV= ${MAKE_ENV} +CONFIGURE_ARGS= --disable-compile-inits \ + --disable-contrib \ + --enable-dynamic \ + --disable-freetype \ + --without-libiconv \ + --without-system-libtiff \ + --without-ijs \ + --without-libidn \ + --without-libpaper \ + --with-x \ + --x-includes=${LOCALBASE}/include \ + --x-libraries=${LOCALBASE}/lib \ + --with-drivers="" +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib +XLDFLAGS= -lpthread +ALL_TARGET= ./obj/X11.so +INSTALL_TARGET= install-shared +PLIST_FILES= ${GS_LIBDIR}/X11.so + +GS_LIBDIR= lib/${PORTNAME}/${PORTVERSION} +EXCLUDE_DIRS= freetype jbig2dec jpeg expat lcms2 libpng tiff zlib + +pre-build: + ${MKDIR} ${WRKSRC}/obj + +.include <bsd.port.mk> diff --git a/print/ghostscript9-agpl-x11/distinfo b/print/ghostscript9-agpl-x11/distinfo new file mode 100644 index 000000000000..b7eb565b3b3f --- /dev/null +++ b/print/ghostscript9-agpl-x11/distinfo @@ -0,0 +1,4 @@ +SHA256 (ghostscript/ghostscript-9.16.tar.bz2) = 3e2d44f925aabb4764b985a966880eafca2fd63a6998491308604d16a75cb86d +SIZE (ghostscript/ghostscript-9.16.tar.bz2) = 29163348 +SHA256 (ghostscript/epag-3.09.tar.gz) = ad10eca44c781a5851d5a8993dcd95b2e2b99392cbf2c8372a5a658f3b991b3b +SIZE (ghostscript/epag-3.09.tar.gz) = 12858 diff --git a/print/ghostscript9-agpl-x11/files/patch-Makefile.in b/print/ghostscript9-agpl-x11/files/patch-Makefile.in new file mode 100644 index 000000000000..59e1221d2405 --- /dev/null +++ b/print/ghostscript9-agpl-x11/files/patch-Makefile.in @@ -0,0 +1,144 @@ +--- Makefile.in.orig 2015-03-30 17:21:24.000000000 +0900 ++++ Makefile.in 2015-08-22 03:35:53.805008000 +0900 +@@ -52,9 +52,9 @@ + # the directories also define the default search path for the + # initialization files (gs_*.ps) and the fonts. + +-INSTALL = $(GLSRCDIR)/instcopy -c +-INSTALL_PROGRAM = $(INSTALL) -m 755 +-INSTALL_DATA = $(INSTALL) -m 644 ++INSTALL_PROGRAM = ${BSD_INSTALL_PROGRAM} ++INSTALL_SCRIPT = ${BSD_INSTALL_SCRIPT} ++INSTALL_DATA = ${BSD_INSTALL_DATA} + INSTALL_SHARED = @INSTALL_SHARED@ + + prefix = @prefix@ +@@ -199,7 +199,7 @@ + # some older JPEG streams that violate the standard. If the JPEG + # library built from local sources, the patch will be applied. + +-SHARE_JPEG=@SHARE_LIBJPEG@ ++SHARE_JPEG=1 + JPEG_NAME=jpeg + + # Define the directory where the PNG library sources are stored, +@@ -207,12 +207,12 @@ + # You may need to change this if the libpng version changes. + # See png.mak for more information. + +-SHARE_LIBPNG=@SHARE_LIBPNG@ ++SHARE_LIBPNG=1 + PNGSRCDIR=@LIBPNGDIR@ + LIBPNG_NAME=png + + # libtiff +-SHARE_LIBTIFF=@SHARE_LIBTIFF@ ++SHARE_LIBTIFF=1 + TIFFSRCDIR=@LIBTIFFDIR@ + TIFFCONFDIR=@LIBTIFFCONFDIR@ + TIFFPLATFORM=unix +@@ -222,7 +222,7 @@ + # Define the directory where the zlib sources are stored. + # See zlib.mak for more information. + +-SHARE_ZLIB=@SHARE_ZLIB@ ++SHARE_ZLIB=1 + ZSRCDIR=@ZLIBDIR@ + #ZLIB_NAME=gz + ZLIB_NAME=z +@@ -249,7 +249,7 @@ + JPX_LIB=@JPX_DECODER@ + SHARE_JPX=@SHARE_JPX@ + JPXSRCDIR=@JPXDIR@ +-JPX_CFLAGS=@JPX_AUTOCONF_CFLAGS@ ++JPX_CFLAGS=@JPX_AUTOCONF_CFLAGS@ -ffast-math -DOPJ_STATIC -std=c99 + + # uncomment the following three lines and one of the last two to + # compile in the Luratech lwf_jp2 codec +@@ -335,7 +335,7 @@ + # Define the added flags for standard, debugging, profiling + # and shared object builds. + +-CFLAGS_STANDARD=@OPT_CFLAGS@ ++CFLAGS_STANDARD?=@OPT_CFLAGS@ + CFLAGS_DEBUG=@DBG_CFLAGS@ + CFLAGS_PROFILE=-pg @OPT_CFLAGS@ + CFLAGS_SO=@DYNAMIC_CFLAGS@ +@@ -388,8 +388,8 @@ + # Solaris may need -lnsl -lsocket -lposix4. + # (Libraries required by individual drivers are handled automatically.) + +-EXTRALIBS=$(XTRALIBS) @LIBS@ @DYNAMIC_LIBS@ @FONTCONFIG_LIBS@ @FT_LIBS@ +-AUXEXTRALIBS=$(XTRALIBS) @LIBS@ @DYNAMIC_LIBS@ @FONTCONFIG_LIBS@ @FT_LIBS@ @AUX_SHARED_ZLIB@ ++EXTRALIBS=$(XTRALIBS) @LIBS@ @DYNAMIC_LIBS@ @FONTCONFIG_LIBS@ @FT_LIBS@ -Wl,-export-dynamic ++AUXEXTRALIBS=$(XTRALIBS) @LIBS@ @DYNAMIC_LIBS@ @FONTCONFIG_LIBS@ @FT_LIBS@ @AUX_SHARED_ZLIB@ -Wl,-export-dynamic + + # Define the standard libraries to search at the end of linking. + # Most platforms require -lpthread for the POSIX threads library; +@@ -433,7 +433,7 @@ + # the pthread library. Otherwise use SYNC=nosync + #SYNC=posync + #SYNC=nosync +-SYNC=@SYNC@ ++SYNC=nosync + + # programs we use + RM=rm -f +@@ -527,28 +527,27 @@ + #DEVICE_DEVS20=$(DD)cljet5.dev $(DD)cljet5c.dev + #DEVICE_DEVS21=$(DD)spotcmyk.dev $(DD)devicen.dev $(DD)xcf.dev $(DD)psdcmyk.dev $(DD)psdrgb.dev $(DD)psdcmykog.dev $(DD)fpng.dev + DEVICE_DEVS=$(DISPLAY_DEV) @X11_DEVS@ +-DEVICE_DEVS1=@F_DEVS@ +-DEVICE_DEVS2=@P_DEVS@ +-DEVICE_DEVS3=@CUPS_DEVS@ +-DEVICE_DEVS4=@IJS_DEVS@ +-DEVICE_DEVS5=@OMNIDEVS@ +-DEVICE_DEVS6=@PNG_DEVS@ +-DEVICE_DEVS7=@JBIG2_DEVS@ +-DEVICE_DEVS8= +-DEVICE_DEVS9=@XPS_DEVS@ +-DEVICE_DEVS10= +-DEVICE_DEVS11= +-DEVICE_DEVS12= +-DEVICE_DEVS13= +-DEVICE_DEVS14= +-DEVICE_DEVS15= +-DEVICE_DEVS16= +-DEVICE_DEVS17= +-DEVICE_DEVS18= +-DEVICE_DEVS19= +-DEVICE_DEVS20= +-DEVICE_DEVS21= +- ++#DEVICE_DEVS1=@F_DEVS@ ++#DEVICE_DEVS2=@P_DEVS@ ++#DEVICE_DEVS3=@CUPS_DEVS@ ++#DEVICE_DEVS4=@IJS_DEVS@ ++#DEVICE_DEVS5=@OMNIDEVS@ ++#DEVICE_DEVS6=@PNG_DEVS@ ++#DEVICE_DEVS7=@JBIG2_DEVS@ ++#DEVICE_DEVS8= ++#DEVICE_DEVS9=@XPS_DEVS@ ++#DEVICE_DEVS10= ++#DEVICE_DEVS11= ++#DEVICE_DEVS12= ++#DEVICE_DEVS13= ++#DEVICE_DEVS14= ++#DEVICE_DEVS15= ++#DEVICE_DEVS16= ++#DEVICE_DEVS17= ++#DEVICE_DEVS18= ++#DEVICE_DEVS19= ++#DEVICE_DEVS20= ++#DEVICE_DEVS21= + + # Shared library target to build. + GS_SHARED_OBJS=@DYNAMIC_DEVS@ +@@ -609,7 +608,6 @@ + include $(GLSRCDIR)/ldf_jb2.mak + include $(GLSRCDIR)/lwf_jp2.mak + include $(GLSRCDIR)/openjpeg.mak +-include $(GLSRCDIR)/$(WHICH_CMS).mak + include $(GLSRCDIR)/ijs.mak + @LCUPSINCLUDE@ + @LCUPSIINCLUDE@ diff --git a/print/ghostscript9-agpl-x11/files/patch-base-gp_unix.c b/print/ghostscript9-agpl-x11/files/patch-base-gp_unix.c new file mode 100644 index 000000000000..5e89d3b811a4 --- /dev/null +++ b/print/ghostscript9-agpl-x11/files/patch-base-gp_unix.c @@ -0,0 +1,47 @@ +--- base/gp_unix.c.orig 2015-08-22 03:07:24.257409000 +0900 ++++ base/gp_unix.c 2015-08-22 03:08:15.753173000 +0900 +@@ -52,6 +52,7 @@ + * and applied as a patch (preferable). + */ + #include <sys/types.h> ++#include <limits.h> + #include <dirent.h> + #include <dlfcn.h> + #include <string.h> +@@ -61,26 +62,25 @@ + { + DIR* dir = NULL; + struct dirent* dirent; +- char buff[1024]; ++ char buff[PATH_MAX]; + char* pbuff; + void* handle; + void (*gs_shared_init)(void); + +- strncpy(buff, GS_DEVS_SHARED_DIR, sizeof(buff) - 2); +- pbuff = buff + strlen(buff); +- *pbuff++ = '/'; *pbuff = '\0'; +- + dir = opendir(GS_DEVS_SHARED_DIR); + if (dir == 0) return; + + while ((dirent = readdir(dir)) != 0) { +- strncpy(pbuff, dirent->d_name, sizeof(buff) - (pbuff - buff) - 1); +- if ((handle = dlopen(buff, RTLD_NOW)) != 0) { +- if ((gs_shared_init = dlsym(handle, "gs_shared_init")) != 0) { ++ snprintf(buff, sizeof(buff), "%s/%s", GS_DEVS_SHARED_DIR, dirent->d_name); ++ pbuff = buff + strlen(buff) - 3; ++ if (strcmp(pbuff, ".so") != 0) ++ continue; ++ handle = dlopen(buff, RTLD_NOW); ++ if (handle == NULL) ++ continue; ++ gs_shared_init = dlsym(handle, "gs_shared_init"); ++ if (gs_shared_init != NULL) + (*gs_shared_init)(); +- } else { +- } +- } + } + + closedir(dir); diff --git a/print/ghostscript9/files/patch-base-gs.mak b/print/ghostscript9-agpl-x11/files/patch-base-gs.mak index 50d31a63a2d2..50d31a63a2d2 100644 --- a/print/ghostscript9/files/patch-base-gs.mak +++ b/print/ghostscript9-agpl-x11/files/patch-base-gs.mak diff --git a/print/ghostscript9/files/patch-base-gsicc_create.c b/print/ghostscript9-agpl-x11/files/patch-base-gsicc_create.c index 82bfee6c37ef..82bfee6c37ef 100644 --- a/print/ghostscript9/files/patch-base-gsicc_create.c +++ b/print/ghostscript9-agpl-x11/files/patch-base-gsicc_create.c diff --git a/print/ghostscript9-agpl-x11/files/patch-base-gsmalloc.c b/print/ghostscript9-agpl-x11/files/patch-base-gsmalloc.c new file mode 100644 index 000000000000..030f702d9415 --- /dev/null +++ b/print/ghostscript9-agpl-x11/files/patch-base-gsmalloc.c @@ -0,0 +1,11 @@ +--- base/gsmalloc.c.orig 2015-08-22 03:09:16.838614000 +0900 ++++ base/gsmalloc.c 2015-08-22 03:09:34.776354000 +0900 +@@ -178,7 +178,7 @@ + } 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"); diff --git a/print/ghostscript9-agpl-x11/files/patch-base-gxobj.h b/print/ghostscript9-agpl-x11/files/patch-base-gxobj.h new file mode 100644 index 000000000000..529efe379df2 --- /dev/null +++ b/print/ghostscript9-agpl-x11/files/patch-base-gxobj.h @@ -0,0 +1,18 @@ +--- base/gxobj.h.orig Tue Mar 14 01:18:19 2006 ++++ base/gxobj.h Fri Mar 23 14:41:44 2007 +@@ -109,11 +109,15 @@ + * required by the hardware, regardless of the value of obj_align_mod. + * See gsmemraw.h for more information about this. + */ ++#if !defined(__ia64__) && !defined(__amd64__) + #define obj_align_mod\ + (((ARCH_ALIGN_MEMORY_MOD - 1) |\ + (align_bitmap_mod - 1) |\ + (obj_back_scale - 1)) + 1) + /* The only possible values for obj_align_mod are 4, 8, or 16.... */ ++#else ++#define obj_align_mod 16 ++#endif + #if obj_align_mod == 4 + # define log2_obj_align_mod 2 + #else diff --git a/print/ghostscript9-agpl-x11/files/patch-base-lib.mak b/print/ghostscript9-agpl-x11/files/patch-base-lib.mak new file mode 100644 index 000000000000..c0008e2eb361 --- /dev/null +++ b/print/ghostscript9-agpl-x11/files/patch-base-lib.mak @@ -0,0 +1,11 @@ +--- base/lib.mak.orig 2015-08-22 03:38:11.784264000 +0900 ++++ base/lib.mak 2015-08-22 03:38:19.947660000 +0900 +@@ -1025,7 +1025,7 @@ + $(GLOBJ)gsparamx.$(OBJ) : $(AK) $(GLSRC)gsparamx.c $(string__h)\ + $(gserrors_h) $(gsmemory_h) $(gsparam_h) $(gsparamx_h)\ + $(gstypes_h) $(MAKEDIRS) +- $(GLCC) $(GLO_)gsparamx.$(OBJ) $(C_) $(GLSRC)gsparamx.c ++ $(GLCCSHARED) $(GLO_)gsparamx.$(OBJ) $(C_) $(GLSRC)gsparamx.c + + # Future replacement for gsparams.c + $(GLOBJ)gsparam2.$(OBJ) : $(GLSRC)gsparam2.c $(AK) $(gx_h)\ diff --git a/print/ghostscript9/files/patch-base-openjpeg.mak b/print/ghostscript9-agpl-x11/files/patch-base-openjpeg.mak index 3d85cb70abf1..3d85cb70abf1 100644 --- a/print/ghostscript9/files/patch-base-openjpeg.mak +++ b/print/ghostscript9-agpl-x11/files/patch-base-openjpeg.mak diff --git a/print/ghostscript9-agpl-x11/files/patch-base-unix-gcc.mak b/print/ghostscript9-agpl-x11/files/patch-base-unix-gcc.mak new file mode 100644 index 000000000000..2fd1d5ad7885 --- /dev/null +++ b/print/ghostscript9-agpl-x11/files/patch-base-unix-gcc.mak @@ -0,0 +1,196 @@ +--- base/unix-gcc.mak.orig 2014-03-26 21:53:47.000000000 +0900 ++++ base/unix-gcc.mak 2014-08-25 00:19:13.000000000 +0900 +@@ -22,19 +22,19 @@ + # source, generated intermediate file, and object directories + # for the graphics library (GL) and the PostScript/PDF interpreter (PS). + +-BINDIR=./$(BUILDDIRPREFIX)bin +-GLSRCDIR=./base +-DEVSRCDIR=./devices +-GLGENDIR=./$(BUILDDIRPREFIX)obj +-GLOBJDIR=./$(BUILDDIRPREFIX)obj +-DEVGENDIR=./$(BUILDDIRPREFIX)obj +-DEVOBJDIR=./$(BUILDDIRPREFIX)obj ++BINDIR=${.CURDIR}/$(BUILDDIRPREFIX)bin ++GLSRCDIR=${.CURDIR}/base ++DEVSRCDIR=${.CURDIR}/devices ++GLGENDIR=${.CURDIR}/$(BUILDDIRPREFIX)obj ++GLOBJDIR=${.CURDIR}/$(BUILDDIRPREFIX)obj ++DEVGENDIR=${.CURDIR}/$(BUILDDIRPREFIX)obj ++DEVOBJDIR=${.CURDIR}/$(BUILDDIRPREFIX)obj + AUXDIR=$(GLGENDIR)/aux +-PSSRCDIR=./psi +-PSLIBDIR=./lib +-PSRESDIR=./Resource +-PSGENDIR=./$(BUILDDIRPREFIX)obj +-PSOBJDIR=./$(BUILDDIRPREFIX)obj ++PSSRCDIR=${.CURDIR}/psi ++PSLIBDIR=${.CURDIR}/lib ++PSRESDIR=${.CURDIR}/Resource ++PSGENDIR=${.CURDIR}/$(BUILDDIRPREFIX)obj ++PSOBJDIR=${.CURDIR}/$(BUILDDIRPREFIX)obj + + # Do not edit the next group of lines. + +@@ -53,11 +53,10 @@ + # the directories also define the default search path for the + # initialization files (gs_*.ps) and the fonts. + +-INSTALL = $(GLSRCDIR)/instcopy -c +-INSTALL_PROGRAM = $(INSTALL) -m 755 +-INSTALL_DATA = $(INSTALL) -m 644 ++INSTALL_PROGRAM = ${BSD_INSTALL_SCRIPT} ++INSTALL_DATA = ${BSD_INSTALL_DATA} + +-prefix = /usr/local ++prefix = ${PREFIX} + exec_prefix = $(prefix) + bindir = $(exec_prefix)/bin + scriptdir = $(bindir) +@@ -107,7 +106,7 @@ + # This uses the more secure temporary file creation call + # Enable this if it is available on your platform. + +-CAPOPT= -DHAVE_MKSTEMP ++CAPOPT= -DHAVE_MKSTEMP -DHAVE_HYPOT + + # Define the name of the executable file. + +@@ -142,7 +141,7 @@ + # some older JPEG streams that violate the standard. If the JPEG + # library built from local sources, the patch will be applied. + +-SHARE_JPEG=0 ++SHARE_JPEG=1 + JPEG_NAME=jpeg + + # Define the directory where the PNG library sources are stored, +@@ -156,13 +155,13 @@ + # what its name is. + # See gs.mak and Make.htm for more information. + +-SHARE_LIBPNG=0 ++SHARE_LIBPNG=1 + LIBPNG_NAME=png + + # Define whether to use a shared version of libtiff and where + # it is stored and what its name is. + +-SHARE_LIBTIFF=0 ++SHARE_LIBTIFF=1 + TIFFSRCDIR=tiff + TIFFCONFDIR=tiff + TIFFPLATFORM=unix +@@ -180,12 +179,12 @@ + # what its name is (usually libz, but sometimes libgz). + # See gs.mak and Make.htm for more information. + +-SHARE_ZLIB=0 ++SHARE_ZLIB=1 + #ZLIB_NAME=gz + ZLIB_NAME=z + + # Choose shared or compiled in libjbig2dec and source location +-SHARE_JBIG2=0 ++SHARE_JBIG2=1 + JBIG2_LIB=jbig2dec + JBIG2SRCDIR=jbig2dec + +@@ -225,7 +224,7 @@ + + # Define the name of the C compiler. + +-CC=gcc ++CC?=cc + + # Define the name of the linker for the final link step. + # Normally this is the same as the C compiler. +@@ -242,7 +241,7 @@ + # Define the added flags for standard, debugging, profiling + # and shared object builds. + +-CFLAGS_STANDARD=-O2 ++CFLAGS_STANDARD?=-O2 + CFLAGS_DEBUG=-g -O0 + CFLAGS_PROFILE=-pg -O2 + CFLAGS_SO=-fPIC +@@ -258,7 +257,8 @@ + # We don't include -ansi, because this gets in the way of the platform- + # specific stuff that <math.h> typically needs; nevertheless, we expect + # gcc to accept ANSI-style function prototypes and function definitions. +-XCFLAGS=-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"$(gssharedir)\" ++#XCFLAGS+=-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"$(gssharedir)\" ++XCFLAGS+=-DUPD_SIGNAL=0 -I${JPXSRCDIR}/src/libjasper/include -I${LOCALBASE}/include/libpng -I${LOCALBASE}/include + + CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(XCFLAGS) + +@@ -269,7 +269,7 @@ + # -R /usr/local/xxx/lib:/usr/local/lib + # giving the full path names of the shared library directories. + # XLDFLAGS can be set from the command line. +-XLDFLAGS= ++XLDFLAGS+=-L${LOCALBASE}/lib + + LDFLAGS=$(XLDFLAGS) + +@@ -280,7 +280,7 @@ + # Solaris may need -lnsl -lsocket -lposix4. + # (Libraries required by individual drivers are handled automatically.) + +-EXTRALIBS=-rdynamic -ldl ++EXTRALIBS+=-Wl,-export-dynamic + + # Define the standard libraries to search at the end of linking. + # Most platforms require -lpthread for the POSIX threads library; +@@ -302,7 +302,7 @@ + # Note that x_.h expects to find the header files in $(XINCLUDE)/X11, + # not in $(XINCLUDE). + +-XINCLUDE=-I/usr/X11R6/include ++XINCLUDE=-I${LOCALBASE}/include + + # Define the directory/ies and library names for the X11 library files. + # XLIBDIRS is for ld and should include -L; XLIBDIR is for LD_RUN_PATH +@@ -317,29 +317,29 @@ + #XLIBS=Xt SM ICE Xext X11 + + #XLIBDIRS=-L/usr/local/X/lib +-XLIBDIRS=-L/usr/X11R6/lib ++XLIBDIRS=-L${LOCALBASE}/lib + XLIBDIR= +-XLIBS=Xt Xext X11 ++XLIBS=Xt SM ICE Xext X11 + + # Define the .dev module that implements thread and synchronization + # primitives for this platform. + + # If POSIX sync primitives are used, also change the STDLIBS to include + # the pthread library. +-#SYNC=posync ++SYNC=posync + + # define the file name extension for a shared lib + DYNANIC_LIB_EXT=so + + # Default is No sync primitives since some platforms don't have it (HP-UX) +-SYNC=nosync ++#SYNC=nosync + + SOC_LOADER=dxmainc.c + # ------ Devices and features ------ # + + # 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 $(PSD)fapi.dev $(PSD)jbig2.dev $(PSD)jpx.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 +@@ -488,6 +488,7 @@ + include $(GLSRCDIR)/unix-dll.mak + include $(GLSRCDIR)/unix-end.mak + include $(GLSRCDIR)/unixinst.mak ++include $(CONTRIBDIR)/contrib.mak + + # This has to come last so it won't be taken as the default target. + $(AK): diff --git a/print/ghostscript9-agpl-x11/files/patch-base-unixinst.mak b/print/ghostscript9-agpl-x11/files/patch-base-unixinst.mak new file mode 100644 index 000000000000..0c67aa7c058b --- /dev/null +++ b/print/ghostscript9-agpl-x11/files/patch-base-unixinst.mak @@ -0,0 +1,20 @@ +--- base/unixinst.mak.orig 2014-03-26 21:53:47.000000000 +0900 ++++ base/unixinst.mak 2014-11-23 17:01:40.000000000 +0900 +@@ -45,7 +45,7 @@ + wftopfa fixmswrd.pl lprsetup.sh pj-gs.sh pv.sh sysvlp.sh unix-lpr.sh ;\ + do if ( test -f $(PSLIBDIR)/$$f ); then \ + (cat $(PSLIBDIR)/$$f | sed -e "s/GS_EXECUTABLE=gs/GS_EXECUTABLE=$(GS)/" > $(PSOBJDIR)/$$f); \ +- $(INSTALL_PROGRAM) $(PSOBJDIR)/$$f $(DESTDIR)$(scriptdir)/$$f; \ ++ $(INSTALL_SCRIPT) $(PSOBJDIR)/$$f $(DESTDIR)$(scriptdir)/$$f; \ + fi;\ + done' + +@@ -142,7 +142,7 @@ + done' + + # install the man pages for each locale +-MAN_LCDIRS=. de ++MAN_LCDIRS=. + MAN1_LINKS_PS2PS=eps2eps + MAN1_LINKS_PS2PDF=ps2pdf12 ps2pdf13 ps2pdf14 + MAN1_LINKS_GSLP=gsbj gsdj gsdj500 gslj diff --git a/print/ghostscript9-agpl-x11/files/patch-configure.ac b/print/ghostscript9-agpl-x11/files/patch-configure.ac new file mode 100644 index 000000000000..dc8baba689f2 --- /dev/null +++ b/print/ghostscript9-agpl-x11/files/patch-configure.ac @@ -0,0 +1,74 @@ +--- configure.ac.orig 2015-03-30 17:21:24.000000000 +0900 ++++ configure.ac 2015-08-22 03:37:13.515866000 +0900 +@@ -892,35 +892,6 @@ + AC_SUBST(FT_CFLAGS) + AC_SUBST(FT_LIBS) + +-AC_MSG_CHECKING([for local jpeg library source]) +-dnl At present, we give the local source priority over the shared +-dnl build, so that the D_MAX_BLOCKS_IN_MCU patch will be applied. +-dnl A more sophisticated approach would be to test the shared lib +-dnl to see whether it has already been patched. +-LIBJPEGDIR=src +-if test -f $srcdir/jpeg/jpeglib.h; then +- AC_MSG_RESULT([jpeg]) +- SHARE_LIBJPEG=0 +- LIBJPEGDIR=$srcdir/jpeg +-elif test -f $srcdir/jpeg-6b/jpeglib.h; then +- AC_MSG_RESULT([jpeg-6b]) +- SHARE_LIBJPEG=0 +- LIBJPEGDIR=$srcdir/jpeg-6b +-else +- AC_MSG_RESULT([no]) +- AC_CHECK_LIB(jpeg, jpeg_set_defaults, [ +- AC_CHECK_HEADERS([jpeglib.h], [SHARE_LIBJPEG=1]) +- ]) +-fi +-if test -z "$SHARE_LIBJPEG"; then +- AC_MSG_ERROR([I wasn't able to find a copy +- of the jpeg library. This is required for compiling +- ghostscript. Please download a copy of the source, +- e.g. from http://www.ijg.org/, unpack it at the +- top level of the gs source tree, and rename +- the directory to 'jpeg'. +- ]) +-fi + AC_SUBST(SHARE_LIBJPEG) + AC_SUBST(LIBJPEGDIR) + dnl check for the internal jpeg memory header +@@ -1607,7 +1578,7 @@ + X_DEVS="" + X_LIBS="" + +-if test x$no_x != xyes; then ++if test x$with_x != xno; then + if test "$x_libraries" = "/usr/lib"; then + echo "Ignoring X library directory \"$x_libraries\" requested by configure." + x_libraries="NONE" +@@ -2074,7 +2045,10 @@ + DBG_CFLAGS="$DYNAMIC_CFLAGS $DBG_CFLAGS" + ;; + *BSD) +- DYNAMIC_DEVS="\$(GLOBJDIR)/X11.so" ++ if test "x$X_DEVS" != x; then ++ INSTALL_SHARED="install-shared" ++ DYNAMIC_DEVS="\$(GLOBJDIR)/X11.so" ++ fi + DYNAMIC_FLAGS="-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\\\"\$(gssharedir)\\\"" + X11_DEVS="" + OPT_CFLAGS="$DYNAMIC_CFLAGS $OPT_CFLAGS" +@@ -2133,11 +2107,11 @@ + fontpath="${fontpath}:$datadir/fonts/default/TrueType" + + # These font directories are used by IRIX... +- fontpath="${fontpath}:/usr/lib/DPS/outline/base" ++ # fontpath="${fontpath}:/usr/lib/DPS/outline/base" + + # These font directories are used by Solaris... +- fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/Type1" +- fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/TrueType" ++ # fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/Type1" ++ # fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/TrueType" + + # This font directory is used by CUPS... + if test "x$CUPSCONFIG" != x; then diff --git a/print/ghostscript9-agpl-x11/files/patch-devices-devs.mak b/print/ghostscript9-agpl-x11/files/patch-devices-devs.mak new file mode 100644 index 000000000000..a1c1d134dd66 --- /dev/null +++ b/print/ghostscript9-agpl-x11/files/patch-devices-devs.mak @@ -0,0 +1,11 @@ +--- devices/devs.mak.orig 2015-03-30 17:21:24.000000000 +0900 ++++ devices/devs.mak 2015-07-14 08:48:48.795797000 +0900 +@@ -546,7 +546,7 @@ + ### NON PORTABLE, ONLY UNIX WITH GCC SUPPORT + + $(DEVOBJ)X11.so : $(x11alt_) $(x11_) $(MAKEDIRS) +- $(CCLD) $(LDFLAGS) -shared -o $(DEVOBJ)X11.so $(x11alt_) $(x11_) -L/usr/X11R6/lib -lXt -lSM -lICE -lXext -lX11 $(XLIBDIRS) ++ $(CCLD) $(LDFLAGS) -shared -o $(DEVOBJ)X11.so $(x11alt_) $(x11_) -L$(LOCALBASE)/lib -lXt -lSM -lICE -lXext -lX11 $(XLIBDIRS) + + ###### --------------- Memory-buffered printer devices --------------- ###### + diff --git a/print/ghostscript9-agpl-x11/files/patch-devices-gdevl256.c b/print/ghostscript9-agpl-x11/files/patch-devices-gdevl256.c new file mode 100644 index 000000000000..ed7d36002a62 --- /dev/null +++ b/print/ghostscript9-agpl-x11/files/patch-devices-gdevl256.c @@ -0,0 +1,15 @@ +--- devices/gdevl256.c.orig 2011-07-17 19:57:32.000000000 +0900 ++++ devices/gdevl256.c 2011-07-17 19:57:39.000000000 +0900 +@@ -302,12 +302,3 @@ + gl_line(x0, y0, x1, y1, color); + return 0; + } +- +-#ifdef GS_DEVS_SHARED +-extern void gs_lib_register_device(const gx_device *dev); +-void +-gs_shared_init(void) +-{ +- gs_lib_register_device(&gs_lvga256_device); +-} +-#endif diff --git a/print/ghostscript9-agpl-x11/files/patch-devices-gdevperm.c b/print/ghostscript9-agpl-x11/files/patch-devices-gdevperm.c new file mode 100644 index 000000000000..ed420367dc22 --- /dev/null +++ b/print/ghostscript9-agpl-x11/files/patch-devices-gdevperm.c @@ -0,0 +1,19 @@ +--- devices/gdevperm.c.orig 2012-02-08 17:48:48.000000000 +0900 ++++ devices/gdevperm.c 2012-02-13 00:44:23.000000000 +0900 +@@ -285,7 +285,7 @@ + (strncmp((const char *)name, (const char *)str, name_size) == 0)) + + static int +-perm_get_color_comp_index(const gx_device *pdev, const char *pname, ++perm_get_color_comp_index(gx_device *pdev, const char *pname, + int name_size, int component_type) + { + const gx_device_perm_t * const dev = (const gx_device_perm_t *)pdev; +@@ -332,7 +332,6 @@ + perm_decode_color(gx_device *dev, gx_color_index color, gx_color_value *out) + { + int bpc = 8; +- int drop = sizeof(gx_color_value) * 8 - bpc; + int mask = (1 << bpc) - 1; + int i = 0; + int ncomp = dev->color_info.num_components; diff --git a/print/ghostscript9-agpl-x11/files/patch-devices-gdevplib.c b/print/ghostscript9-agpl-x11/files/patch-devices-gdevplib.c new file mode 100644 index 000000000000..b14a47184e50 --- /dev/null +++ b/print/ghostscript9-agpl-x11/files/patch-devices-gdevplib.c @@ -0,0 +1,14 @@ +--- devices/gdevplib.c.orig 2015-03-30 17:21:24.000000000 +0900 ++++ devices/gdevplib.c 2015-07-14 08:51:50.711673000 +0900 +@@ -156,7 +156,11 @@ + + #ifdef TESTING_WITH_NO_BAND_DONOR + ++#if !defined(__FreeBSD__) + #include <malloc_.h> ++#else ++#include <stdlib.h> ++#endif + + static void *my_buffer; + diff --git a/print/ghostscript9-agpl-x11/files/patch-devices-gdevvglb.c b/print/ghostscript9-agpl-x11/files/patch-devices-gdevvglb.c new file mode 100644 index 000000000000..ca8dcf130c2c --- /dev/null +++ b/print/ghostscript9-agpl-x11/files/patch-devices-gdevvglb.c @@ -0,0 +1,15 @@ +--- devices/gdevvglb.c.orig 2011-07-17 19:56:33.000000000 +0900 ++++ devices/gdevvglb.c 2011-07-17 19:57:10.000000000 +0900 +@@ -367,12 +367,3 @@ + } + return 0; + } +- +-#ifdef GS_DEVS_SHARED +-extern void gs_lib_register_device(const gx_device *dev); +-void +-gs_shared_init(void) +-{ +- gs_lib_register_device(&gs_vgalib_device); +-} +-#endif diff --git a/print/ghostscript9-agpl-x11/pkg-descr b/print/ghostscript9-agpl-x11/pkg-descr new file mode 100644 index 000000000000..265a49bfad78 --- /dev/null +++ b/print/ghostscript9-agpl-x11/pkg-descr @@ -0,0 +1,22 @@ +Ghostscript is the well-known PostScript interpreter which is available for +all common and most esoteric platforms and supports many different printers +and some displays. + +This is distributed with the GNU General Public License, which allows +free use, and free copying and redistribution under certain conditions +(including, in some cases, commercial distribution). + +This port includes add-on packages (not part of the official gs release) + o HP8XX driver for HP DeskJet 880C/882C/895C + - http://www.gelhaus.net/hp880c/ + o PCL3 driver for HP DeskJet series + - http://home.vrweb.de/martin.lottermoser/pcl3.html + o DJ970 driver for HP DeskJet 970CXi + - http://www.harsch.net/Ghostscript/ghostscript.html + o Special drivers for verious printer models + - Alps, Canon, Epson, NEC, Lexmark, Ricoh,... + o Additional contributed uniprint driver profiles for + - Epson Stylus Color 740 and Epson LQ-1170 + +WWW: http://www.cs.wisc.edu/~ghost/doc/GPL/index.htm +WWW: http://www.ghostscript.com/ diff --git a/print/ghostscript9-agpl/files/Makefile.pcl3 b/print/ghostscript9-agpl/files/Makefile.pcl3 deleted file mode 100644 index 3227ef6138ea..000000000000 --- a/print/ghostscript9-agpl/files/Makefile.pcl3 +++ /dev/null @@ -1,35 +0,0 @@ -# $FreeBSD$ - -PORTDOCS+= pcl3 -PORTDOC_FILES+= pcl3/NEWS pcl3/BUGS pcl3/README pcl3/gs-pcl3.html \ - pcl3/how-to-report.txt pcl3/pcl3opts.html - -post-build-pcl3: - cd ${WRKSRC} && \ - ${CC} ${CFLAGS} -I./obj -I./soobj -I./base \ - -I./contrib/pcl3/eprn -o bin/pcl3opts \ - contrib/pcl3/src/pcl3opts.c contrib/pcl3/src/pclscan.c \ - contrib/pcl3/eprn/mediasize.c contrib/pcl3/src/pclsize.c - -post-install-pcl3: - ${INSTALL_PROGRAM} ${WRKSRC}/bin/pcl3opts ${STAGEDIR}${PREFIX}/bin - ${MKDIR} ${STAGEDIR}${DATADIR}/${PORTVERSION}/pcl3 - cd ${WRKSRC}/contrib/pcl3 && \ - ${INSTALL_DATA} lib/example.mcf lib/if-pcl3 \ - ps/calign.ps ps/dumppdd.ps ps/levels-test.ps \ - ps/margins-A4.ps ps/margins-A4Rotated.ps \ - ps/margins-Env10Rotated.ps \ - ps/margins-EnvDLRotated.ps \ - ps/margins-Letter.ps \ - ps/margins-LetterRotated.ps \ - ${STAGEDIR}${DATADIR}/${PORTVERSION}/pcl3 - cd ${WRKSRC}/contrib/pcl3/doc && \ - ${INSTALL_MAN} gs-pcl3.1 pcl3opts.1 ${STAGEDIR}${MANPREFIX}/man/man1 - -post-install-docs-pcl3: - ${MKDIR} ${WRKSRC}/contrib/pcl3 - ${INSTALL_DATA} ${WRKSRC}/contrib/pcl3/doc/* ${WRKSRC}/contrib/pcl3 - -post-build: post-build-pcl3 -post-install: post-install-pcl3 -post-install-docs: post-install-docs-pcl3 diff --git a/print/ghostscript9-agpl/files/patch-configure.ac b/print/ghostscript9-agpl/files/patch-configure.ac deleted file mode 100644 index 5810adc6c13f..000000000000 --- a/print/ghostscript9-agpl/files/patch-configure.ac +++ /dev/null @@ -1,25 +0,0 @@ ---- configure.ac.orig 2012-02-08 17:48:48.000000000 +0900 -+++ configure.ac 2012-02-13 00:31:19.000000000 +0900 -@@ -1244,7 +1244,7 @@ - X_DEVS="" - X_LIBS="" - --if test x$no_x != xyes; then -+if test x$with_x != xno; then - if test "$x_libraries" = "/usr/lib"; then - echo "Ignoring X library directory \"$x_libraries\" requested by configure." - x_libraries="NONE" -@@ -1637,7 +1637,12 @@ - DBG_CFLAGS="$DYNAMIC_CFLAGS $DBG_CFLAGS" - ;; - *BSD) -- DYNAMIC_DEVS="\$(GLOBJDIR)/X11.so" -+ if test "x$X_DEVS" != x; then -+ DYNAMIC_DEVS="\$(GLOBJDIR)/X11.so" -+ INSTALL_SHARED="install-shared" -+ else -+ DYNAMIC_DEVS="" -+ fi - DYNAMIC_FLAGS="-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\\\"\$(gssharedir)\\\"" - X11_DEVS="" - OPT_CFLAGS="$DYNAMIC_CFLAGS $OPT_CFLAGS" diff --git a/print/ghostscript9-agpl/pkg-plist b/print/ghostscript9-agpl/pkg-plist deleted file mode 100644 index 0728c2d6a6d5..000000000000 --- a/print/ghostscript9-agpl/pkg-plist +++ /dev/null @@ -1,646 +0,0 @@ -bin/dvipdf -bin/eps2eps -%%GS_epag%%bin/ert -bin/font2c -bin/gs -bin/gsbj -bin/gsc -bin/gsdj -bin/gsdj500 -bin/gslj -bin/gslp -bin/gsnd -bin/gsx -bin/lprsetup.sh -%%GS_pcl3%%bin/pcl3opts -bin/pdf2dsc -bin/pdf2ps -bin/pf2afm -bin/pfbtopfa -bin/pphs -bin/printafm -bin/ps2ascii -bin/ps2epsi -bin/ps2pdf -bin/ps2pdf12 -bin/ps2pdf13 -bin/ps2pdf14 -bin/ps2pdfwr -bin/ps2ps -bin/ps2ps2 -bin/unix-lpr.sh -bin/wftopfa -include/ghostscript/gdevdsp.h -include/ghostscript/iapi.h -include/ghostscript/ierrors.h -lib/libgs.so -lib/libgs.so.%%SHLIB_VER%% -lib/libgs.so.%%GS_VERSION%% -%%X11BITS%%lib/ghostscript/%%GS_VERSION%%/X11.so -man/man1/dvipdf.1.gz -man/man1/eps2eps.1.gz -man/man1/font2c.1.gz -%%GS_pcl3%%man/man1/gs-pcl3.1.gz -man/man1/gs.1.gz -man/man1/gsbj.1.gz -man/man1/gsdj.1.gz -man/man1/gsdj500.1.gz -man/man1/gslj.1.gz -man/man1/gslp.1.gz -man/man1/gsnd.1.gz -%%GS_pcl3%%man/man1/pcl3opts.1.gz -man/man1/pdf2dsc.1.gz -man/man1/pdf2ps.1.gz -man/man1/pf2afm.1.gz -man/man1/pfbtopfa.1.gz -man/man1/printafm.1.gz -man/man1/ps2ascii.1.gz -man/man1/ps2epsi.1.gz -man/man1/ps2pdf.1.gz -man/man1/ps2pdf12.1.gz -man/man1/ps2pdf13.1.gz -man/man1/ps2pdf14.1.gz -man/man1/ps2pdfwr.1.gz -man/man1/ps2ps.1.gz -man/man1/wftopfa.1.gz -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78-EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78-EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78-RKSJ-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78ms-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78ms-RKSJ-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/83pv-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/90ms-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/90ms-RKSJ-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/90msp-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/90msp-RKSJ-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/90pv-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/90pv-RKSJ-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Add-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Add-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Add-RKSJ-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Add-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-0 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-1 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-2 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-3 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-4 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-5 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-6 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-0 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-1 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-2 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-3 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-4 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-5 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-0 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-1 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-2 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-3 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-4 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-5 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-6 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Korea1-0 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Korea1-1 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Korea1-2 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/B5-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/B5-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/B5pc-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/B5pc-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS-EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS-EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS1-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS1-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS2-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS2-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/ETHK-B5-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/ETHK-B5-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/ETen-B5-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/ETen-B5-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/ETenms-B5-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/ETenms-B5-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Ext-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Ext-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Ext-RKSJ-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Ext-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GB-EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GB-EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GB-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GB-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBK-EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBK-EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBK2K-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBK2K-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBKp-EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBKp-EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBT-EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBT-EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBT-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBT-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBTpc-EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBTpc-EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBpc-EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBpc-EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKdla-B5-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKdla-B5-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKdlb-B5-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKdlb-B5-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKgccs-B5-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKgccs-B5-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKm314-B5-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKm314-B5-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKm471-B5-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKm471-B5-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKscs-B5-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKscs-B5-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Hankaku -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Hiragana -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Identity-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Identity-UTF16-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Identity-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSC-EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSC-EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSC-Johab-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSC-Johab-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSCms-UHC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSCms-UHC-HW-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSCms-UHC-HW-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSCms-UHC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSCpc-EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSCpc-EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Katakana -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/NWP-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/NWP-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/RKSJ-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Roman -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniCNS-UCS2-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniCNS-UCS2-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniCNS-UTF16-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniCNS-UTF16-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniCNS-UTF32-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniCNS-UTF32-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniCNS-UTF8-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniCNS-UTF8-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniGB-UCS2-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniGB-UCS2-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniGB-UTF16-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniGB-UTF16-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniGB-UTF32-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniGB-UTF32-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniGB-UTF8-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniGB-UTF8-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniHojo-UCS2-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UCS2-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UCS2-HW-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UCS2-HW-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UCS2-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UTF16-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UTF16-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UTF32-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UTF32-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UTF8-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UTF8-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS2004-UTF16-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS2004-UTF16-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS2004-UTF32-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS2004-UTF32-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS2004-UTF8-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS2004-UTF8-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJISPro-UCS2-HW-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJISPro-UCS2-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJISPro-UTF8-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJISX0213-UTF32-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJISX0213-UTF32-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJISX02132004-UTF32-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJISX02132004-UTF32-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniKS-UCS2-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniKS-UCS2-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniKS-UTF16-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniKS-UTF16-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniKS-UTF32-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniKS-UTF32-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniKS-UTF8-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniKS-UTF8-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/WP-Symbol -%%DATADIR%%/%%GS_VERSION%%/Resource/ColorSpace/DefaultCMYK -%%DATADIR%%/%%GS_VERSION%%/Resource/ColorSpace/DefaultGray -%%DATADIR%%/%%GS_VERSION%%/Resource/ColorSpace/DefaultRGB -%%DATADIR%%/%%GS_VERSION%%/Resource/ColorSpace/TrivialCMYK -%%DATADIR%%/%%GS_VERSION%%/Resource/ColorSpace/sGray -%%DATADIR%%/%%GS_VERSION%%/Resource/ColorSpace/sRGB -%%DATADIR%%/%%GS_VERSION%%/Resource/Decoding/FCO_Dingbats -%%DATADIR%%/%%GS_VERSION%%/Resource/Decoding/FCO_Symbol -%%DATADIR%%/%%GS_VERSION%%/Resource/Decoding/FCO_Unicode -%%DATADIR%%/%%GS_VERSION%%/Resource/Decoding/FCO_Wingdings -%%DATADIR%%/%%GS_VERSION%%/Resource/Decoding/Latin1 -%%DATADIR%%/%%GS_VERSION%%/Resource/Decoding/StandardEncoding -%%DATADIR%%/%%GS_VERSION%%/Resource/Decoding/Unicode -%%DATADIR%%/%%GS_VERSION%%/Resource/Encoding/CEEncoding -%%DATADIR%%/%%GS_VERSION%%/Resource/Encoding/ExpertEncoding -%%DATADIR%%/%%GS_VERSION%%/Resource/Encoding/ExpertSubsetEncoding -%%DATADIR%%/%%GS_VERSION%%/Resource/Encoding/NotDefEncoding -%%DATADIR%%/%%GS_VERSION%%/Resource/Encoding/Wingdings -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Dingbats -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/StandardSymL -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/BookmanURW-DemBol -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/BookmanURW-DemBolIta -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/BookmanURW-Lig -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/BookmanURW-LigIta -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/CenturySchURW-Bol -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/CenturySchURW-BolIta -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/CenturySchURW-Ita -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/CenturySchURW-Rom -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/ChanceryURW-MedIta -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusMon-Bol -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusMon-BolObl -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusMon-Obl -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusMon-Reg -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusRom-Ita -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusRom-Med -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusRom-MedIta -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusRom-Reg -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusSan-Bol -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusSan-BolIta -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusSan-Ita -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusSan-Reg -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusSanNar-Bol -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusSanNar-BolIta -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusSanNar-Ita -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusSanNar-Reg -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/PalladioURW-Bol -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/PalladioURW-BolIta -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/PalladioURW-Ita -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/PalladioURW-Rom -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWGothic-Boo -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWGothic-BooObl -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWGothic-Dem -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWGothic-DemObl -%%DATADIR%%/%%GS_VERSION%%/Resource/IdiomSet/Pscript5Idiom -%%DATADIR%%/%%GS_VERSION%%/iccprofiles/default_cmyk.icc -%%DATADIR%%/%%GS_VERSION%%/iccprofiles/default_gray.icc -%%DATADIR%%/%%GS_VERSION%%/iccprofiles/default_rgb.icc -%%DATADIR%%/%%GS_VERSION%%/iccprofiles/lab.icc -%%DATADIR%%/%%GS_VERSION%%/iccprofiles/gray_to_k.icc -%%DATADIR%%/%%GS_VERSION%%/iccprofiles/ps_cmyk.icc -%%DATADIR%%/%%GS_VERSION%%/iccprofiles/ps_gray.icc -%%DATADIR%%/%%GS_VERSION%%/iccprofiles/ps_rgb.icc -%%DATADIR%%/%%GS_VERSION%%/iccprofiles/sgray.icc -%%DATADIR%%/%%GS_VERSION%%/iccprofiles/srgb.icc -%%DATADIR%%/%%GS_VERSION%%/doc/API.htm -%%DATADIR%%/%%GS_VERSION%%/doc/AUTHORS -%%DATADIR%%/%%GS_VERSION%%/doc/C-style.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Changes.htm -%%DATADIR%%/%%GS_VERSION%%/doc/COPYING -%%DATADIR%%/%%GS_VERSION%%/doc/Commprod.htm -%%DATADIR%%/%%GS_VERSION%%/doc/DLL.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Deprecated.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Details.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Details8.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Details9.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Develop.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Devices.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Drivers.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Fonts.htm -%%DATADIR%%/%%GS_VERSION%%/doc/GS9_Color_Management.pdf -%%DATADIR%%/%%GS_VERSION%%/doc/GS9_Color_Management.tex -%%DATADIR%%/%%GS_VERSION%%/doc/Helpers.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Hershey.htm -%%DATADIR%%/%%GS_VERSION%%/doc/History1.htm -%%DATADIR%%/%%GS_VERSION%%/doc/History2.htm -%%DATADIR%%/%%GS_VERSION%%/doc/History3.htm -%%DATADIR%%/%%GS_VERSION%%/doc/History4.htm -%%DATADIR%%/%%GS_VERSION%%/doc/History5.htm -%%DATADIR%%/%%GS_VERSION%%/doc/History6.htm -%%DATADIR%%/%%GS_VERSION%%/doc/History7.htm -%%DATADIR%%/%%GS_VERSION%%/doc/History8.htm -%%DATADIR%%/%%GS_VERSION%%/doc/History9.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Install.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Issues.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Language.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Lib.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Make.htm -%%DATADIR%%/%%GS_VERSION%%/doc/News.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Projects.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Ps-style.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Ps2epsi.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Ps2pdf.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Ps2ps2.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Psfiles.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Readme.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Release.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Source.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Unix-lpr.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Use.htm -%%DATADIR%%/%%GS_VERSION%%/doc/WhatIsGS.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Xfonts.htm -%%DATADIR%%/%%GS_VERSION%%/doc/gs.css -%%DATADIR%%/%%GS_VERSION%%/doc/gs-vms.hlp -%%DATADIR%%/%%GS_VERSION%%/doc/gsdoc.el -%%DATADIR%%/%%GS_VERSION%%/doc/index.html -%%DATADIR%%/%%GS_VERSION%%/doc/pscet_status.txt -%%DATADIR%%/%%GS_VERSION%%/doc/thirdparty.htm -%%DATADIR%%/%%GS_VERSION%%/examples/cjk/all_ac1.ps -%%DATADIR%%/%%GS_VERSION%%/examples/cjk/all_aj1.ps -%%DATADIR%%/%%GS_VERSION%%/examples/cjk/all_ak1.ps -%%DATADIR%%/%%GS_VERSION%%/examples/cjk/gscjk_ac.ps -%%DATADIR%%/%%GS_VERSION%%/examples/cjk/gscjk_aj.ps -%%DATADIR%%/%%GS_VERSION%%/examples/cjk/iso2022.ps -%%DATADIR%%/%%GS_VERSION%%/examples/cjk/all_ag1.ps -%%DATADIR%%/%%GS_VERSION%%/examples/cjk/all_aj2.ps -%%DATADIR%%/%%GS_VERSION%%/examples/cjk/article9.ps -%%DATADIR%%/%%GS_VERSION%%/examples/cjk/gscjk_ag.ps -%%DATADIR%%/%%GS_VERSION%%/examples/cjk/gscjk_ak.ps -%%DATADIR%%/%%GS_VERSION%%/examples/cjk/iso2022v.ps -%%DATADIR%%/%%GS_VERSION%%/examples/alphabet.ps -%%DATADIR%%/%%GS_VERSION%%/examples/annots.pdf -%%DATADIR%%/%%GS_VERSION%%/examples/chess.ps -%%DATADIR%%/%%GS_VERSION%%/examples/colorcir.ps -%%DATADIR%%/%%GS_VERSION%%/examples/doretree.ps -%%DATADIR%%/%%GS_VERSION%%/examples/escher.ps -%%DATADIR%%/%%GS_VERSION%%/examples/golfer.eps -%%DATADIR%%/%%GS_VERSION%%/examples/grayalph.ps -%%DATADIR%%/%%GS_VERSION%%/examples/ridt91.eps -%%DATADIR%%/%%GS_VERSION%%/examples/snowflak.ps -%%DATADIR%%/%%GS_VERSION%%/examples/text_graph_image_cmyk_rgb.pdf -%%DATADIR%%/%%GS_VERSION%%/examples/text_graphic_image.pdf -%%DATADIR%%/%%GS_VERSION%%/examples/tiger.eps -%%DATADIR%%/%%GS_VERSION%%/examples/transparency_example.ps -%%DATADIR%%/%%GS_VERSION%%/examples/vasarely.ps -%%DATADIR%%/%%GS_VERSION%%/examples/waterfal.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/FAPIcidfmap -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/FAPIcidfmap.orig -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/FAPIconfig -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/FAPIconfig.orig -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/FAPIfontmap -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/FCOfontmap-PCLPS2 -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/Fontmap -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/Fontmap.GS -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/cidfmap -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/cidfmap.orig -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_agl.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_btokn.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_cet.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_cff.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_cidcm.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_ciddc.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_cidfm.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_cidfn.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_cidtt.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_cmap.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_cspace.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_css_e.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_dbt_e.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_diskf.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_diskn.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_dpnxt.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_dps.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_dps1.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_dps2.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_dscp.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_epsf.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_fapi.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_fntem.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_fonts.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_frsd.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_icc.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_il1_e.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_img.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_init.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_l2img.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_lev2.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_ll3.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_mex_e.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_mgl_e.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_mro_e.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_pdf_e.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_pdfwr.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_res.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_resmp.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_setpd.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_statd.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_std_e.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_sym_e.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_trap.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_ttf.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_typ32.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_typ42.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_type1.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_wan_e.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_base.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_cslayer.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_draw.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_font.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_main.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_ops.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_rbld.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_sec.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/xlatmap -%%DATADIR%%/%%GS_VERSION%%/Resource/SubstCID/CNS1-WMode -%%DATADIR%%/%%GS_VERSION%%/Resource/SubstCID/GB1-WMode -%%DATADIR%%/%%GS_VERSION%%/Resource/SubstCID/Japan1-WMode -%%DATADIR%%/%%GS_VERSION%%/Resource/SubstCID/Korea1-WMode -%%DATADIR%%/%%GS_VERSION%%/lib/ht_ccsto.ps -%%DATADIR%%/%%GS_VERSION%%/lib/acctest.ps -%%DATADIR%%/%%GS_VERSION%%/lib/addxchar.ps -%%DATADIR%%/%%GS_VERSION%%/lib/align.ps -%%DATADIR%%/%%GS_VERSION%%/lib/caption.ps -%%DATADIR%%/%%GS_VERSION%%/lib/cid2code.ps -%%DATADIR%%/%%GS_VERSION%%/lib/decrypt.ps -%%DATADIR%%/%%GS_VERSION%%/lib/docie.ps -%%DATADIR%%/%%GS_VERSION%%/lib/font2c.ps -%%DATADIR%%/%%GS_VERSION%%/lib/font2pcl.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gslp.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gsnup.ps -%%DATADIR%%/%%GS_VERSION%%/lib/image-qa.ps -%%DATADIR%%/%%GS_VERSION%%/lib/impath.ps -%%DATADIR%%/%%GS_VERSION%%/lib/jispaper.ps -%%DATADIR%%/%%GS_VERSION%%/lib/landscap.ps -%%DATADIR%%/%%GS_VERSION%%/lib/level1.ps -%%DATADIR%%/%%GS_VERSION%%/lib/lines.ps -%%DATADIR%%/%%GS_VERSION%%/lib/markhint.ps -%%DATADIR%%/%%GS_VERSION%%/lib/markpath.ps -%%DATADIR%%/%%GS_VERSION%%/lib/mkcidfm.ps -%%DATADIR%%/%%GS_VERSION%%/lib/PDFA_def.ps -%%DATADIR%%/%%GS_VERSION%%/lib/PDFX_def.ps -%%DATADIR%%/%%GS_VERSION%%/lib/packfile.ps -%%DATADIR%%/%%GS_VERSION%%/lib/pcharstr.ps -%%DATADIR%%/%%GS_VERSION%%/lib/pf2afm.ps -%%DATADIR%%/%%GS_VERSION%%/lib/pfbtopfa.ps -%%DATADIR%%/%%GS_VERSION%%/lib/ppath.ps -%%DATADIR%%/%%GS_VERSION%%/lib/pphs.ps -%%DATADIR%%/%%GS_VERSION%%/lib/prfont.ps -%%DATADIR%%/%%GS_VERSION%%/lib/printafm.ps -%%DATADIR%%/%%GS_VERSION%%/lib/ps2ai.ps -%%DATADIR%%/%%GS_VERSION%%/lib/ps2ascii.ps -%%DATADIR%%/%%GS_VERSION%%/lib/ps2epsi.ps -%%DATADIR%%/%%GS_VERSION%%/lib/quit.ps -%%DATADIR%%/%%GS_VERSION%%/lib/rollconv.ps -%%DATADIR%%/%%GS_VERSION%%/lib/showchar.ps -%%DATADIR%%/%%GS_VERSION%%/lib/showpage.ps -%%DATADIR%%/%%GS_VERSION%%/lib/stcinfo.ps -%%DATADIR%%/%%GS_VERSION%%/lib/stcolor.ps -%%DATADIR%%/%%GS_VERSION%%/lib/stocht.ps -%%DATADIR%%/%%GS_VERSION%%/lib/traceimg.ps -%%DATADIR%%/%%GS_VERSION%%/lib/traceop.ps -%%DATADIR%%/%%GS_VERSION%%/lib/type1enc.ps -%%DATADIR%%/%%GS_VERSION%%/lib/type1ops.ps -%%DATADIR%%/%%GS_VERSION%%/lib/uninfo.ps -%%DATADIR%%/%%GS_VERSION%%/lib/unprot.ps -%%DATADIR%%/%%GS_VERSION%%/lib/viewcmyk.ps -%%DATADIR%%/%%GS_VERSION%%/lib/viewgif.ps -%%DATADIR%%/%%GS_VERSION%%/lib/viewjpeg.ps -%%DATADIR%%/%%GS_VERSION%%/lib/viewmiff.ps -%%DATADIR%%/%%GS_VERSION%%/lib/viewpcx.ps -%%DATADIR%%/%%GS_VERSION%%/lib/viewpbm.ps -%%DATADIR%%/%%GS_VERSION%%/lib/viewps2a.ps -%%DATADIR%%/%%GS_VERSION%%/lib/winmaps.ps -%%DATADIR%%/%%GS_VERSION%%/lib/wftopfa.ps -%%DATADIR%%/%%GS_VERSION%%/lib/wrfont.ps -%%DATADIR%%/%%GS_VERSION%%/lib/zeroline.ps -%%DATADIR%%/%%GS_VERSION%%/lib/pdf2dsc.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_ce_e.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_cmdl.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_il2_e.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_kanji.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_ksb_e.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_lgo_e.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_lgx_e.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_pfile.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_rdlin.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_wl1_e.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_wl2_e.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_wl5_e.ps -%%DATADIR%%/%%GS_VERSION%%/lib/pdfwrite.ps -%%DATADIR%%/%%GS_VERSION%%/lib/cbjc600.ppd -%%DATADIR%%/%%GS_VERSION%%/lib/cbjc800.ppd -%%DATADIR%%/%%GS_VERSION%%/lib/ghostpdf.ppd -%%DATADIR%%/%%GS_VERSION%%/lib/bj8.rpd -%%DATADIR%%/%%GS_VERSION%%/lib/bj8gc12f.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bj8hg12f.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bj8oh06n.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bj8pa06n.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bj8pp12f.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bj8ts06n.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a0.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a1.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a2.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a3.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a4.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a5.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a6.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a7.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a8.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610b1.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610b2.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610b3.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610b4.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610b6.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610b7.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610b8.upp -%%DATADIR%%/%%GS_VERSION%%/lib/cdj550.upp -%%DATADIR%%/%%GS_VERSION%%/lib/cdj690.upp -%%DATADIR%%/%%GS_VERSION%%/lib/cdj690ec.upp -%%DATADIR%%/%%GS_VERSION%%/lib/dnj750c.upp -%%DATADIR%%/%%GS_VERSION%%/lib/dnj750m.upp -%%DATADIR%%/%%GS_VERSION%%/lib/necp2x.upp -%%DATADIR%%/%%GS_VERSION%%/lib/necp2x6.upp -%%DATADIR%%/%%GS_VERSION%%/lib/ras1.upp -%%DATADIR%%/%%GS_VERSION%%/lib/ras24.upp -%%DATADIR%%/%%GS_VERSION%%/lib/ras3.upp -%%DATADIR%%/%%GS_VERSION%%/lib/ras32.upp -%%DATADIR%%/%%GS_VERSION%%/lib/ras4.upp -%%DATADIR%%/%%GS_VERSION%%/lib/ras8m.upp -%%DATADIR%%/%%GS_VERSION%%/lib/st640ih.upp -%%DATADIR%%/%%GS_VERSION%%/lib/st640ihg.upp -%%DATADIR%%/%%GS_VERSION%%/lib/st640p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/st640pg.upp -%%DATADIR%%/%%GS_VERSION%%/lib/st640pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/st640plg.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc1520h.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc2.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc200_h.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc2_h.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc2s_h.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc300.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc300bl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc300bm.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc500p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc500ph.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc600ih.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc600p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc600pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc640p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc800ih.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc800p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc800pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc_h.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc_l.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stcany.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stcany_h.upp -%%DATADIR%%/%%GS_VERSION%%/lib/gs_l.xbm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_l_m.xbm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_m.xbm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_m_m.xbm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_s.xbm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_s_m.xbm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_t.xbm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_t_m.xbm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_l.xpm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_m.xpm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_s.xpm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_t.xpm -%%DATADIR%%/%%GS_VERSION%%/lib/dmp_init.ps -%%DATADIR%%/%%GS_VERSION%%/lib/dmp_site.ps -%%DATADIR%%/%%GS_VERSION%%/lib/escp_24.src -%%DATADIR%%/%%GS_VERSION%%/lib/PM760p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/PM760pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/PM820p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/PM820pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stc670p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stc670pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stc680p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stc680pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stc740p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stc740pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stc760p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stc760pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stc777p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stc777pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stp720p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stp720pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stp870p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stp870pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc6000a1.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc6000b1.upp -%%DATADIR%%/%%GS_VERSION%%/lib/s400a1.upp -%%DATADIR%%/%%GS_VERSION%%/lib/s400b1.upp -%%DATADIR%%/%%GS_VERSION%%/lib/sharp.upp -%%DATADIR%%/%%GS_VERSION%%/lib/sipixa6.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc740ih.upp -%%GS_dmprt%%%%DATADIR%%/%%GS_VERSION%%/lib/lqx70ch.upp -%%GS_dmprt%%%%DATADIR%%/%%GS_VERSION%%/lib/lqx70cl.upp -%%GS_dmprt%%%%DATADIR%%/%%GS_VERSION%%/lib/lqx70cm.upp -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/calign.ps -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/dumppdd.ps -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/example.mcf -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/if-pcl3 -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/levels-test.ps -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/margins-A4.ps -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/margins-A4Rotated.ps -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/margins-Env10Rotated.ps -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/margins-EnvDLRotated.ps -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/margins-Letter.ps -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/margins-LetterRotated.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/CIDFSubst/DroidSansFallback.ttf -%%DATADIR%%/%%GS_VERSION%%/Resource/CIDFont/fonts -%%DATADIR%%/%%GS_VERSION%%/Resource/CIDFont/ArtifexBullet diff --git a/print/ghostscript9/Makefile b/print/ghostscript9-base/Makefile index 88d4db4b6113..0a2e046f75e3 100644 --- a/print/ghostscript9/Makefile +++ b/print/ghostscript9-base/Makefile @@ -2,45 +2,43 @@ PORTNAME= ghostscript PORTVERSION= 9.06 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= print MASTER_SITES= http://downloads.ghostscript.com/public/:gs_srcs \ SF/ghostscript/GPL%20Ghostscript/${PORTVERSION}:gs_srcs \ - ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs${PORTVERSION:S/.//}/:gs_srcs \ http://www.humblesoft.com/pub/:epag -PKGNAMESUFFIX= 9 +PKGNAMESUFFIX= 9-base DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:gs_srcs ${EPAG_SRCS}:epag DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} -EXTRACT_AFTER_ARGS= ${EXCLUDE_DIRS:S/^/--exclude /} MAINTAINER= doceng@FreeBSD.org -COMMENT= Ghostscript 9.x PostScript interpreter +COMMENT= Ghostscript 9.x PostScript interpreter, base part LICENSE= GPLv3 LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2 \ + libfreetype.so:${PORTSDIR}/print/freetype2 \ libidn.so:${PORTSDIR}/dns/libidn \ libjbig2dec.so:${PORTSDIR}/graphics/jbig2dec \ - libpng.so:${PORTSDIR}/graphics/png \ - libtiff.so:${PORTSDIR}/graphics/tiff \ liblcms2.so:${PORTSDIR}/graphics/lcms2 \ - libpaper.so:${PORTSDIR}/print/libpaper + libpaper.so:${PORTSDIR}/print/libpaper \ + libpng.so:${PORTSDIR}/graphics/png \ + libtiff.so:${PORTSDIR}/graphics/tiff RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/fonts/a010013l.pfb:${PORTSDIR}/print/gsfonts CONFLICTS_INSTALL= \ gambc-[0-9]* \ - ghostscript[78]-[0-9]* \ - ghostscript[78]-nox11-[0-9]* \ + ghostscript[789]-[0-9]* \ + ghostscript[789]-nox11-[0-9]* \ ghostscript9-agpl-[0-9]* \ ghostscript9-agpl-nox11-[0-9]* -USES= gmake jpeg pkgconfig:build tar:bzip2 -WANT_GNOME= yes +USES= autoreconf gmake jpeg pkgconfig:build tar:bzip2 USE_LDCONFIG= yes -USE_AUTOTOOLS= autoconf +EXTRACT_AFTER_ARGS= ${EXCLUDE_DIRS:S/^/--exclude /} +DATADIR= ${PREFIX}/share/${PORTNAME}/${PORTVERSION} GNU_CONFIGURE= yes - MAKE_JOBS_UNSAFE= yes MAKE_ENV= CFLAGS_STANDARD="${CFLAGS}" \ XCFLAGS="${XCFLAGS}" XLDFLAGS="${XLDFLAGS}" \ @@ -49,14 +47,16 @@ CONFIGURE_ENV= ${MAKE_ENV} CONFIGURE_ARGS= --disable-compile-inits \ --enable-contrib \ --enable-dynamic \ + --enable-freetype \ --with-system-libtiff \ --with-ijs \ --with-libidn \ --without-jasper \ --with-libpaper \ + --without-x \ + --disable-gtk \ --with-drivers="" CPPFLAGS+= -DUPD_SIGNAL=0 -I. \ - -I${WRKSRC}/lcms/include \ -I${LOCALBASE}/include/libpng \ -I${WRKSRC}/openjpeg/libopenjpeg \ -I${WRKSRC}/openjpeg \ @@ -64,38 +64,27 @@ CPPFLAGS+= -DUPD_SIGNAL=0 -I. \ LDFLAGS+= -L${LOCALBASE}/lib XCFLAGS= -DA4 XLDFLAGS= -lpthread - -PLIST_SUB= GS_VERSION="${PORTVERSION}" \ - X11BITS=${X11BITS} +ALL_TARGET= so +INSTALL_TARGET= soinstall +PLIST_SUB= SHLIB_VER="${PORTVERSION:R}" \ + GS_VERSION="${PORTVERSION}" SUB_FILES= pkg-message -SUB_LIST= DATADIR=${DATADIR} PORTVERSION=${PORTVERSION} +SUB_LIST= DATADIR="${DATADIR}" PKGMESSAGE= ${WRKDIR}/pkg-message -OPTIONS_DEFINE= X11 DOCS CUPS FONTCONFIG ICONV GTK2 -OPTIONS_DEFAULT=X11 DOCS CUPS FONTCONFIG ICONV +OPTIONS_DEFINE= DOCS CUPS FONTCONFIG ICONV +OPTIONS_DEFAULT=DOCS CUPS FONTCONFIG ICONV OPTIONS_SUB= yes FONTCONFIG_DESC=Enable fontconfig support +FONTCONFIG_LIB_DEPENDS= libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig +FONTCONFIG_CONFIGURE_ENABLE= fontconfig NO_OPTIONS_SORT=yes EXCLUDE_DIRS= freetype jbig2dec jpeg expat jasper lcms lcms2 libpng tiff zlib .include "Makefile.drivers" .include <bsd.port.options.mk> - -MASTERDIR?= ${.CURDIR} -.include "${MASTERDIR}/files/Makefile.drivers_post" - -FONTCONFIG_LIB_DEPENDS= libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig -FONTCONFIG_CONFIGURE_ENABLE= fontconfig - -# FT_BRIDGE=1 by default -LIB_DEPENDS+= libfreetype.so:${PORTSDIR}/print/freetype2 -MAKE_ENV+= FT_BRIDGE=1 - -ALL_TARGET= so -INSTALL_TARGET= soinstall -USE_LDCONFIG= yes -PLIST_SUB+= SHLIB_VER="${PORTVERSION:R}" +.include "files/Makefile.drivers_post" PORTDOCS= japanese chp2200 epson740 lxm3200-tweaked md2k_md5k PORTDOC_FILES= japanese/Gdevlips.htm japanese/README.gs550j \ @@ -113,8 +102,7 @@ PORTDOC_FILES= japanese/Gdevlips.htm japanese/README.gs550j \ lxm3200-tweaked/Z12-Z31-QuickSetup md2k_md5k/README.jis post-patch: - ${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g ; \ - s|%%GS_VERSION%%|${PORTVERSION}|g' \ + ${REINPLACE_CMD} -e 's,%%DATADIR%%,${DATADIR},' \ ${WRKSRC}/contrib/japanese/dmp_site.ps pre-build-drivers.mak: @@ -124,7 +112,6 @@ pre-build-drivers.mak: @${ECHO_CMD} '${N:S/^/DEVICE_/:S/^DEVICE_DISPLAY_DEV/DISPLAY_DEV/}=' >> ${WRKSRC}/base/drivers.mak .endfor .for D in ${OPTIONS_DEFINE:MGS_*:S/^GS_//} \ - ${OPTIONS_MULTI_X11:MGS_*:S/^GS_//} \ ${OPTIONS_GROUP_ICONV:MGS_*:S/^GS_//} \ ${OPTIONS_GROUP_SVGALIB:MGS_*:S/^GS_//} .for N in ${DEVS_LIST} @@ -144,26 +131,21 @@ pre-build: pre-build-drivers.mak pre-install: cd ${WRKSRC}/Resource/Init && ${RM} -f \ - gs_statd.ps.orig gs_ttf.ps.orig pdf_font.ps.orig - -pre-su-install: + gs_statd.ps.orig gs_ttf.ps.orig pdf_font.ps.orig ${MKDIR} ${STAGEDIR}${DATADIR} -post-install-docs: +post-install-DOCS-on: post-install-docs ${MKDIR} ${WRKSRC}/contrib/japanese - ${INSTALL_DATA} ${WRKSRC}/contrib/japanese/doc/* ${WRKSRC}/contrib/japanese + ${INSTALL_DATA} ${WRKSRC}/contrib/japanese/doc/* \ + ${WRKSRC}/contrib/japanese ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/contrib && \ - ${TAR} -cf - ${PORTDOC_FILES} | \ - ( cd ${STAGEDIR}${DOCSDIR} && ${TAR} -xof - ) + ${TAR} -cf - ${PORTDOC_FILES} | \ + (cd ${STAGEDIR}${DOCSDIR} && ${TAR} -xof -) post-install: ${LN} -sf gsc ${STAGEDIR}${PREFIX}/bin/gs ${LN} -s -f ${LOCALBASE}/share/fonts/CIDFont \ - ${STAGEDIR}${DATADIR}/${PORTVERSION}/Resource/CIDFont/fonts - -.if ${PORT_OPTIONS:MDOCS} -post-install: post-install-docs -.endif + ${STAGEDIR}${DATADIR}/Resource/CIDFont/fonts .include <bsd.port.mk> diff --git a/print/ghostscript9/Makefile.drivers b/print/ghostscript9-base/Makefile.drivers index f55bac72beab..0ea6669fcb01 100644 --- a/print/ghostscript9/Makefile.drivers +++ b/print/ghostscript9-base/Makefile.drivers @@ -1,20 +1,5 @@ # $FreeBSD: /tmp/pcvs/ports/print/ghostscript9/Makefile.drivers,v 1.4 2012-06-12 12:22:25 hrs Exp $ -OPTIONS_X11= \ - GS_x11 \ - GS_x11alpha \ - GS_x11cmyk \ - GS_x11cmyk2 \ - GS_x11cmyk4 \ - GS_x11cmyk8 \ - GS_x11gray2 \ - GS_x11gray4 \ - GS_x11mono \ - GS_x11rg16x \ - GS_x11rg32x -OPTIONS_MULTI= X11 -OPTIONS_MULTI_X11= ${OPTIONS_X11} - OPTIONS_SVGALIB= \ GS_lvga256 \ GS_vgalib @@ -323,7 +308,6 @@ OPTIONS_DEFINE+= \ GS_inkcov OPTIONS_DEFAULT+= \ - ${OPTIONS_X11} \ ${OPTIONS_SVGALIB} \ ${OPTIONS_ICONV} \ ${OPTIONS_CUPS} \ @@ -617,17 +601,6 @@ OPTIONS_DEFAULT+= \ GS_spotcmyk \ GS_inkcov -GS_x11_DESC= D: X Window System version 11 -GS_x11alpha_DESC= D: X Window System masquer. alpha capability -GS_x11cmyk_DESC= D: X Window System masquer. 1bit/plane CMYK -GS_x11cmyk2_DESC= D: X Window System 2-bit-per-plane CMYK -GS_x11cmyk4_DESC= D: X Window System 4-bit-per-plane CMYK -GS_x11cmyk8_DESC= D: X Window System 8-bit-per-plane CMYK -GS_x11gray2_DESC= D: X Window System 2-bit gray-scale -GS_x11gray4_DESC= D: X Window System 4-bit gray-scale -GS_x11mono_DESC= D: X Window System masquer. black-and-white -GS_x11rg16x_DESC= D: X Window System G5/B5/R6 pixel layout -GS_x11rg32x_DESC= D: X Window System G11/B10/R11 pixel layout GS_lvga256_DESC= D: SVGAlib, 256-color VGA modes GS_vgalib_DESC= D: SVGAlib, 16-color VGA modes GS_oprp_DESC= D: OpenPrinting Raster driver interface diff --git a/print/ghostscript9/distinfo b/print/ghostscript9-base/distinfo index 9fc6dde08cfd..9fc6dde08cfd 100644 --- a/print/ghostscript9/distinfo +++ b/print/ghostscript9-base/distinfo diff --git a/print/ghostscript9-agpl/files/Makefile.dmprt b/print/ghostscript9-base/files/Makefile.dmprt index cdc04a23af07..f396e6cb094f 100644 --- a/print/ghostscript9-agpl/files/Makefile.dmprt +++ b/print/ghostscript9-base/files/Makefile.dmprt @@ -3,6 +3,6 @@ post-install-dmprt: cd ${FILESDIR} && \ ${INSTALL_DATA} lqx70ch.upp lqx70cl.upp lqx70cm.upp \ - ${STAGEDIR}${DATADIR}/${PORTVERSION}/lib + ${STAGEDIR}${DATADIR}/lib post-install: post-install-dmprt diff --git a/print/ghostscript9/files/Makefile.drivers_post b/print/ghostscript9-base/files/Makefile.drivers_post index af7b8686183a..182a14fa9cfd 100644 --- a/print/ghostscript9/files/Makefile.drivers_post +++ b/print/ghostscript9-base/files/Makefile.drivers_post @@ -64,39 +64,6 @@ OPTIONS_UNSET+= ${PORT_OPTIONS:MGS_${D}} LIB_DEPENDS+= libvga.so:${PORTSDIR}/graphics/svgalib .endif -# x11 specific -X11_DEVS= x11 x11alpha x11cmyk x11cmyk2 x11cmyk4 x11cmyk8 x11gray2 x11gray4 \ - x11mono x11rg16x x11rg32x display -.undef _X11_DEVS - -.for D in ${X11_DEVS} -.if ${PORT_OPTIONS:MX11} && ${PORT_OPTIONS:MGS_${D}} -_X11_DEVS+= ${D} -.else -PORT_OPTIONS:= ${PORT_OPTIONS:NGS_${D}} -.endif -.endfor - -.if defined(_X11_DEVS) -USE_XORG= xt xext -X11BITS= "" -CONFIGURE_ARGS+=--with-x \ - --x-includes=${LOCALBASE}/include \ - --x-libraries=${LOCALBASE}/lib -CONFLICTS_INSTALL+= ghostscript9-nox11-[0-9]* -.if ${PORT_OPTIONS:MGTK2} -USE_GNOME= atk gdkpixbuf2 glib20 gtk20 -CONFIGURE_ARGS+=--enable-gtk -.else -CONFIGURE_ARGS+=--disable-gtk -.endif -.else # defined(_X11_DEVS) -PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-nox11 -CONFIGURE_ARGS+=--without-x --disable-gtk -CONFLICTS_INSTALL+= ghostscript9-[0-9]* -X11BITS= "@comment " -.endif # defined(_X11_DEVS) - # iconv specific ICONV_DEVS= oprp opvp .undef _ICONV_DEVS diff --git a/print/ghostscript9/files/Makefile.epag b/print/ghostscript9-base/files/Makefile.epag index 96141325b372..96141325b372 100644 --- a/print/ghostscript9/files/Makefile.epag +++ b/print/ghostscript9-base/files/Makefile.epag diff --git a/print/ghostscript9/files/Makefile.pcl3 b/print/ghostscript9-base/files/Makefile.pcl3 index 5e8698644d4a..0e961d2fb966 100644 --- a/print/ghostscript9/files/Makefile.pcl3 +++ b/print/ghostscript9-base/files/Makefile.pcl3 @@ -13,7 +13,7 @@ post-build-pcl3: post-install-pcl3: ${INSTALL_PROGRAM} ${WRKSRC}/bin/pcl3opts ${STAGEDIR}${PREFIX}/bin - ${MKDIR} ${STAGEDIR}${DATADIR}/${PORTVERSION}/pcl3 + ${MKDIR} ${STAGEDIR}${DATADIR}/pcl3 cd ${WRKSRC}/contrib/pcl3 && \ ${INSTALL_DATA} lib/example.mcf lib/if-pcl3 \ ps/calign.ps ps/dumppdd.ps ps/levels-test.ps \ @@ -22,7 +22,7 @@ post-install-pcl3: ps/margins-EnvDLRotated.ps \ ps/margins-Letter.ps \ ps/margins-LetterRotated.ps \ - ${STAGEDIR}${DATADIR}/${PORTVERSION}/pcl3 + ${STAGEDIR}${DATADIR}/pcl3 cd ${WRKSRC}/contrib/pcl3/doc && \ ${INSTALL_MAN} gs-pcl3.1 pcl3opts.1 ${STAGEDIR}${MANPREFIX}/man/man1 diff --git a/print/ghostscript9/files/epag.contrib.mak b/print/ghostscript9-base/files/epag.contrib.mak index 2e6117ad4b51..2e6117ad4b51 100644 --- a/print/ghostscript9/files/epag.contrib.mak +++ b/print/ghostscript9-base/files/epag.contrib.mak diff --git a/print/ghostscript9/files/lqx70ch.upp b/print/ghostscript9-base/files/lqx70ch.upp index b5d3cd49e912..b5d3cd49e912 100644 --- a/print/ghostscript9/files/lqx70ch.upp +++ b/print/ghostscript9-base/files/lqx70ch.upp diff --git a/print/ghostscript9/files/lqx70cl.upp b/print/ghostscript9-base/files/lqx70cl.upp index 91fb1aa89906..91fb1aa89906 100644 --- a/print/ghostscript9/files/lqx70cl.upp +++ b/print/ghostscript9-base/files/lqx70cl.upp diff --git a/print/ghostscript9/files/lqx70cm.upp b/print/ghostscript9-base/files/lqx70cm.upp index 895af73aa8d8..895af73aa8d8 100644 --- a/print/ghostscript9/files/lqx70cm.upp +++ b/print/ghostscript9-base/files/lqx70cm.upp diff --git a/print/ghostscript9/files/patch-Resource-Init-FAPIcidfmap b/print/ghostscript9-base/files/patch-Resource-Init-FAPIcidfmap index 2c6bf45839b2..2c6bf45839b2 100644 --- a/print/ghostscript9/files/patch-Resource-Init-FAPIcidfmap +++ b/print/ghostscript9-base/files/patch-Resource-Init-FAPIcidfmap diff --git a/print/ghostscript9/files/patch-Resource-Init-FAPIconfig b/print/ghostscript9-base/files/patch-Resource-Init-FAPIconfig index e2ff81b58276..e2ff81b58276 100644 --- a/print/ghostscript9/files/patch-Resource-Init-FAPIconfig +++ b/print/ghostscript9-base/files/patch-Resource-Init-FAPIconfig diff --git a/print/ghostscript9/files/patch-Resource-Init-cidfmap b/print/ghostscript9-base/files/patch-Resource-Init-cidfmap index 8ed71789f4fe..8ed71789f4fe 100644 --- a/print/ghostscript9/files/patch-Resource-Init-cidfmap +++ b/print/ghostscript9-base/files/patch-Resource-Init-cidfmap diff --git a/print/ghostscript9/files/patch-Resource-Init-gs_statd.ps b/print/ghostscript9-base/files/patch-Resource-Init-gs_statd.ps index a9996b623de8..a9996b623de8 100644 --- a/print/ghostscript9/files/patch-Resource-Init-gs_statd.ps +++ b/print/ghostscript9-base/files/patch-Resource-Init-gs_statd.ps diff --git a/print/ghostscript9/files/patch-Resource-Init-gs_ttf.ps b/print/ghostscript9-base/files/patch-Resource-Init-gs_ttf.ps index 19fc072bd4e2..19fc072bd4e2 100644 --- a/print/ghostscript9/files/patch-Resource-Init-gs_ttf.ps +++ b/print/ghostscript9-base/files/patch-Resource-Init-gs_ttf.ps diff --git a/print/ghostscript9/files/patch-Resource-Init-pdf_font.ps b/print/ghostscript9-base/files/patch-Resource-Init-pdf_font.ps index c966e57fba11..c966e57fba11 100644 --- a/print/ghostscript9/files/patch-Resource-Init-pdf_font.ps +++ b/print/ghostscript9-base/files/patch-Resource-Init-pdf_font.ps diff --git a/print/ghostscript9/files/patch-base-Makefile.in b/print/ghostscript9-base/files/patch-base-Makefile.in index 93eddf3d998f..93eddf3d998f 100644 --- a/print/ghostscript9/files/patch-base-Makefile.in +++ b/print/ghostscript9-base/files/patch-base-Makefile.in diff --git a/print/ghostscript9-base/files/patch-base-configure.ac b/print/ghostscript9-base/files/patch-base-configure.ac new file mode 100644 index 000000000000..12bce9cb55b7 --- /dev/null +++ b/print/ghostscript9-base/files/patch-base-configure.ac @@ -0,0 +1,38 @@ +--- base/configure.ac.orig 2012-08-08 17:01:36.000000000 +0900 ++++ base/configure.ac 2015-08-21 12:58:10.287279000 +0900 +@@ -1303,7 +1303,7 @@ + X_DEVS="" + X_LIBS="" + +-if test x$no_x != xyes; then ++if test x$with_x != xno; then + if test "$x_libraries" = "/usr/lib"; then + echo "Ignoring X library directory \"$x_libraries\" requested by configure." + x_libraries="NONE" +@@ -1701,7 +1701,10 @@ + DBG_CFLAGS="$DYNAMIC_CFLAGS $DBG_CFLAGS" + ;; + *BSD) +- DYNAMIC_DEVS="\$(GLOBJDIR)/X11.so" ++ if test "x$X_DEVS" != x; then ++ INSTALL_SHARED="install-shared" ++ fi ++ DYNAMIC_DEVS="" + DYNAMIC_FLAGS="-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\\\"\$(gssharedir)\\\"" + X11_DEVS="" + OPT_CFLAGS="$DYNAMIC_CFLAGS $OPT_CFLAGS" +@@ -1758,11 +1761,11 @@ + fontpath="${fontpath}:$datadir/fonts/default/TrueType" + + # These font directories are used by IRIX... +- fontpath="${fontpath}:/usr/lib/DPS/outline/base" ++ # fontpath="${fontpath}:/usr/lib/DPS/outline/base" + + # These font directories are used by Solaris... +- fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/Type1" +- fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/TrueType" ++ # fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/Type1" ++ # fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/TrueType" + + # This font directory is used by CUPS... + if test "x$CUPSCONFIG" != x; then diff --git a/print/ghostscript9/files/patch-base-contrib.mak b/print/ghostscript9-base/files/patch-base-contrib.mak index 9f9406007bb4..9f9406007bb4 100644 --- a/print/ghostscript9/files/patch-base-contrib.mak +++ b/print/ghostscript9-base/files/patch-base-contrib.mak diff --git a/print/ghostscript8/files/patch-base-devs.mak b/print/ghostscript9-base/files/patch-base-devs.mak index 706e86737cbe..706e86737cbe 100644 --- a/print/ghostscript8/files/patch-base-devs.mak +++ b/print/ghostscript9-base/files/patch-base-devs.mak diff --git a/print/ghostscript9/files/patch-base-gdevl256.c b/print/ghostscript9-base/files/patch-base-gdevl256.c index d2fcd1b42baa..d2fcd1b42baa 100644 --- a/print/ghostscript9/files/patch-base-gdevl256.c +++ b/print/ghostscript9-base/files/patch-base-gdevl256.c diff --git a/print/ghostscript9/files/patch-base-gdevperm.c b/print/ghostscript9-base/files/patch-base-gdevperm.c index 07870f314ac4..07870f314ac4 100644 --- a/print/ghostscript9/files/patch-base-gdevperm.c +++ b/print/ghostscript9-base/files/patch-base-gdevperm.c diff --git a/print/ghostscript9/files/patch-base-gdevplib.c b/print/ghostscript9-base/files/patch-base-gdevplib.c index 96a096337dd3..96a096337dd3 100644 --- a/print/ghostscript9/files/patch-base-gdevplib.c +++ b/print/ghostscript9-base/files/patch-base-gdevplib.c diff --git a/print/ghostscript9/files/patch-base-gdevvglb.c b/print/ghostscript9-base/files/patch-base-gdevvglb.c index 8f7d239726ff..8f7d239726ff 100644 --- a/print/ghostscript9/files/patch-base-gdevvglb.c +++ b/print/ghostscript9-base/files/patch-base-gdevvglb.c diff --git a/print/ghostscript9-base/files/patch-base-gp_unix.c b/print/ghostscript9-base/files/patch-base-gp_unix.c new file mode 100644 index 000000000000..277ef51a22ab --- /dev/null +++ b/print/ghostscript9-base/files/patch-base-gp_unix.c @@ -0,0 +1,47 @@ +--- base/gp_unix.c.orig 2012-08-08 17:01:36.000000000 +0900 ++++ base/gp_unix.c 2015-08-20 15:15:51.166042000 +0900 +@@ -52,6 +52,7 @@ + * and applied as a patch (preferable). + */ + #include <sys/types.h> ++#include <limits.h> + #include <dirent.h> + #include <dlfcn.h> + #include <string.h> +@@ -61,26 +62,25 @@ + { + DIR* dir = NULL; + struct dirent* dirent; +- char buff[1024]; ++ char buff[PATH_MAX]; + char* pbuff; + void* handle; + void (*gs_shared_init)(void); + +- strncpy(buff, GS_DEVS_SHARED_DIR, sizeof(buff) - 2); +- pbuff = buff + strlen(buff); +- *pbuff++ = '/'; *pbuff = '\0'; +- + dir = opendir(GS_DEVS_SHARED_DIR); + if (dir == 0) return; + + while ((dirent = readdir(dir)) != 0) { +- strncpy(pbuff, dirent->d_name, sizeof(buff) - (pbuff - buff) - 1); +- if ((handle = dlopen(buff, RTLD_NOW)) != 0) { +- if ((gs_shared_init = dlsym(handle, "gs_shared_init")) != 0) { ++ snprintf(buff, sizeof(buff), "%s/%s", GS_DEVS_SHARED_DIR, dirent->d_name); ++ pbuff = buff + strlen(buff) - 3; ++ if (strcmp(pbuff, ".so") != 0) ++ continue; ++ handle = dlopen(buff, RTLD_NOW); ++ if (handle == NULL) ++ continue; ++ gs_shared_init = dlsym(handle, "gs_shared_init"); ++ if (gs_shared_init != NULL) + (*gs_shared_init)(); +- } else { +- } +- } + } + + closedir(dir); diff --git a/print/ghostscript9-base/files/patch-base-gs.mak b/print/ghostscript9-base/files/patch-base-gs.mak new file mode 100644 index 000000000000..50d31a63a2d2 --- /dev/null +++ b/print/ghostscript9-base/files/patch-base-gs.mak @@ -0,0 +1,11 @@ +--- base/gs.mak.orig 2012-08-08 17:01:36.000000000 +0900 ++++ base/gs.mak 2012-10-14 02:29:03.000000000 +0900 +@@ -437,7 +437,7 @@ + ld_tr=$(GLGENDIR)$(D)ld.tr + $(ld_tr) : \ + $(GS_MAK) $(TOP_MAKEFILES) $(GLSRCDIR)$(D)version.mak $(GENCONF_XE) $(ECHOGS_XE) $(devs_tr) $(DEVS_ALL) $(GLGENDIR)$(D)libcore.dev +- $(EXP)$(GENCONF_XE) $(devs_tr) -h $(gconfxx_h) $(CONFILES) $(CONFLDTR) $(ld_tr) ++ $(EXP)$(GENCONF_XE) $(devs_tr) -h /dev/stdout $(CONFILES) $(CONFLDTR) $(ld_tr) | awk 'BEGIN{j=0; p=1;} /jpeg_device/ {if(j++ > 0) p=0;} // { if(p==1) { print; } else { p=1 } }' > $(gconfxx_h) + $(EXP)$(ECHOGS_XE) -a $(gconfxx_h) $(GCONFIG_EXTRAS) + + $(gconfxx_h) : $(ld_tr) diff --git a/print/ghostscript9-base/files/patch-base-gsicc_create.c b/print/ghostscript9-base/files/patch-base-gsicc_create.c new file mode 100644 index 000000000000..82bfee6c37ef --- /dev/null +++ b/print/ghostscript9-base/files/patch-base-gsicc_create.c @@ -0,0 +1,10 @@ +--- base/gsicc_create.c.orig 2011-08-05 20:12:20.000000000 +0900 ++++ base/gsicc_create.c 2011-12-06 15:23:14.000000000 +0900 +@@ -113,6 +113,7 @@ + + */ + ++#include <sys/types.h> + #include "icc34.h" /* Note this header is needed even if lcms is not + compiled as default CMS */ + #include "string_.h" diff --git a/print/ghostscript9-base/files/patch-base-gsmalloc.c b/print/ghostscript9-base/files/patch-base-gsmalloc.c new file mode 100644 index 000000000000..93bb2a449788 --- /dev/null +++ b/print/ghostscript9-base/files/patch-base-gsmalloc.c @@ -0,0 +1,11 @@ +--- base/gsmalloc.c.orig 2015-07-24 09:41:05.295969000 +0900 ++++ base/gsmalloc.c 2015-07-24 09:41:15.146305000 +0900 +@@ -178,7 +178,7 @@ + } 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"); diff --git a/print/ghostscript9-base/files/patch-base-gxobj.h b/print/ghostscript9-base/files/patch-base-gxobj.h new file mode 100644 index 000000000000..529efe379df2 --- /dev/null +++ b/print/ghostscript9-base/files/patch-base-gxobj.h @@ -0,0 +1,18 @@ +--- base/gxobj.h.orig Tue Mar 14 01:18:19 2006 ++++ base/gxobj.h Fri Mar 23 14:41:44 2007 +@@ -109,11 +109,15 @@ + * required by the hardware, regardless of the value of obj_align_mod. + * See gsmemraw.h for more information about this. + */ ++#if !defined(__ia64__) && !defined(__amd64__) + #define obj_align_mod\ + (((ARCH_ALIGN_MEMORY_MOD - 1) |\ + (align_bitmap_mod - 1) |\ + (obj_back_scale - 1)) + 1) + /* The only possible values for obj_align_mod are 4, 8, or 16.... */ ++#else ++#define obj_align_mod 16 ++#endif + #if obj_align_mod == 4 + # define log2_obj_align_mod 2 + #else diff --git a/print/ghostscript9-base/files/patch-base-openjpeg.mak b/print/ghostscript9-base/files/patch-base-openjpeg.mak new file mode 100644 index 000000000000..3d85cb70abf1 --- /dev/null +++ b/print/ghostscript9-base/files/patch-base-openjpeg.mak @@ -0,0 +1,11 @@ +--- base/openjpeg.mak.orig 2012-02-08 17:48:48.000000000 +0900 ++++ base/openjpeg.mak 2012-02-14 06:40:56.000000000 +0900 +@@ -101,7 +101,7 @@ + $(SETMOD) $(OPEN_JPEG_GEN)openjpeg_0 $(open_jpeg_OBJS) + + # define our specific compiler +-OPEN_JPEG_CC=$(CC) $(CFLAGS) $(D_)OPJ_STATIC$(_D) $(I_)$(OPEN_JPEG_GEN)$(_I) $(I_)$(JPX_OPENJPEG_I_)$(_I) $(I_)$(JPX_OPENJPEG_I_)$(D)..$(_I) $(JPXCF_) ++OPEN_JPEG_CC=$(CC) $(JPX_CFLAGS) $(I_)$(JPX_OPENJPEG_I_)$(_I) $(I_)$(JPX_OPENJPEG_I_)$(D)..$(_I) $(CFLAGS) $(D_)OPJ_STATIC$(_D) $(I_)$(OPEN_JPEG_GEN)$(_I) $(I_)$(JPX_OPENJPEG_I_)$(_I) $(I_)$(JPX_OPENJPEG_I_)$(D)..$(_I) $(JPXCF_) + OPEN_JPEG_O=$(O_)$(OPEN_JPEG_OBJ)$(OPEN_JPEG_PREFIX) + + OPEN_JPEG_DEP=$(AK) $(OPEN_JPEG_MAK) diff --git a/print/ghostscript9/files/patch-base-unix-dll.mak b/print/ghostscript9-base/files/patch-base-unix-dll.mak index 58a428806c59..58a428806c59 100644 --- a/print/ghostscript9/files/patch-base-unix-dll.mak +++ b/print/ghostscript9-base/files/patch-base-unix-dll.mak diff --git a/print/ghostscript9/files/patch-base-unix-gcc.mak b/print/ghostscript9-base/files/patch-base-unix-gcc.mak index 8aea189c6f90..8aea189c6f90 100644 --- a/print/ghostscript9/files/patch-base-unix-gcc.mak +++ b/print/ghostscript9-base/files/patch-base-unix-gcc.mak diff --git a/print/ghostscript9/files/patch-base-unixinst.mak b/print/ghostscript9-base/files/patch-base-unixinst.mak index 51d6baa31dad..51d6baa31dad 100644 --- a/print/ghostscript9/files/patch-base-unixinst.mak +++ b/print/ghostscript9-base/files/patch-base-unixinst.mak diff --git a/print/ghostscript9/files/patch-contrib-contrib.mak b/print/ghostscript9-base/files/patch-contrib-contrib.mak index 5c00766b680a..5c00766b680a 100644 --- a/print/ghostscript9/files/patch-contrib-contrib.mak +++ b/print/ghostscript9-base/files/patch-contrib-contrib.mak diff --git a/print/ghostscript9/files/patch-contrib__japanese__dmp_site.ps b/print/ghostscript9-base/files/patch-contrib__japanese__dmp_site.ps index 9f7ad073a58a..db09592c5704 100644 --- a/print/ghostscript9/files/patch-contrib__japanese__dmp_site.ps +++ b/print/ghostscript9-base/files/patch-contrib__japanese__dmp_site.ps @@ -1,11 +1,11 @@ ---- contrib/japanese/dmp_site.ps.orig Wed Nov 29 20:56:17 2006 -+++ contrib/japanese/dmp_site.ps Sun May 13 21:06:03 2007 +--- contrib/japanese/dmp_site.ps.orig 2012-08-08 17:01:36.000000000 +0900 ++++ contrib/japanese/dmp_site.ps 2015-08-20 15:32:53.920571000 +0900 @@ -1,7 +1,7 @@ %! BeginConfig %%%%%%%%%%%%%%%%%%%%%% Standard user cusomizations %%%%%%%%%%%%%%%%%%%%% -/printer (escp_24.src) -+/printer (%%DATADIR%%/%%GS_VERSION%%/lib/escp_24.src) ++/printer (%%DATADIR%%/lib/escp_24.src) % horizontal / vertical % /resolution [ 180.0 180.0 ] % horizontal / vertical diff --git a/print/ghostscript9/files/patch-contrib__japanese__gdevdmpr.c b/print/ghostscript9-base/files/patch-contrib__japanese__gdevdmpr.c index 2f85bc67e060..2f85bc67e060 100644 --- a/print/ghostscript9/files/patch-contrib__japanese__gdevdmpr.c +++ b/print/ghostscript9-base/files/patch-contrib__japanese__gdevdmpr.c diff --git a/print/ghostscript9/files/patch-epag-ert.c b/print/ghostscript9-base/files/patch-epag-ert.c index 6a6dd2540b8a..6a6dd2540b8a 100644 --- a/print/ghostscript9/files/patch-epag-ert.c +++ b/print/ghostscript9-base/files/patch-epag-ert.c diff --git a/print/ghostscript9/files/patch-epag__gdevepag.c b/print/ghostscript9-base/files/patch-epag__gdevepag.c index 6012768b4d9c..6012768b4d9c 100644 --- a/print/ghostscript9/files/patch-epag__gdevepag.c +++ b/print/ghostscript9-base/files/patch-epag__gdevepag.c diff --git a/print/ghostscript9/files/patch-lips:gdevlips.c b/print/ghostscript9-base/files/patch-lips:gdevlips.c index 0917be89e49a..0917be89e49a 100644 --- a/print/ghostscript9/files/patch-lips:gdevlips.c +++ b/print/ghostscript9-base/files/patch-lips:gdevlips.c diff --git a/print/ghostscript9/files/patch-lips:gdevlips.h b/print/ghostscript9-base/files/patch-lips:gdevlips.h index b3520ba1ac33..b3520ba1ac33 100644 --- a/print/ghostscript9/files/patch-lips:gdevlips.h +++ b/print/ghostscript9-base/files/patch-lips:gdevlips.h diff --git a/print/ghostscript9/files/patch-openjpeg-libopenjpeg-opj_includes.h b/print/ghostscript9-base/files/patch-openjpeg-libopenjpeg-opj_includes.h index 67591744852e..67591744852e 100644 --- a/print/ghostscript9/files/patch-openjpeg-libopenjpeg-opj_includes.h +++ b/print/ghostscript9-base/files/patch-openjpeg-libopenjpeg-opj_includes.h diff --git a/print/ghostscript9/files/patch-openjpeg-libopenjpeg-opj_malloc.h b/print/ghostscript9-base/files/patch-openjpeg-libopenjpeg-opj_malloc.h index a2c27a03a799..a2c27a03a799 100644 --- a/print/ghostscript9/files/patch-openjpeg-libopenjpeg-opj_malloc.h +++ b/print/ghostscript9-base/files/patch-openjpeg-libopenjpeg-opj_malloc.h diff --git a/print/ghostscript9/files/patch-psi-zicc.c b/print/ghostscript9-base/files/patch-psi-zicc.c index 98c4eed85c37..98c4eed85c37 100644 --- a/print/ghostscript9/files/patch-psi-zicc.c +++ b/print/ghostscript9-base/files/patch-psi-zicc.c diff --git a/print/ghostscript8/files/pkg-message.in b/print/ghostscript9-base/files/pkg-message.in index ea0381cc7d91..ff7c18d05a86 100644 --- a/print/ghostscript8/files/pkg-message.in +++ b/print/ghostscript9-base/files/pkg-message.in @@ -1,5 +1,5 @@ Note: in order to use the script "dvipdf", dvips must be installed. This program is provided by another package print/tex-dvipsk. -FAPIfontmap and FAPIcidfmap in %%DATADIR%%/%%PORTVERSION%%/Resource/Init +FAPIfontmap and FAPIcidfmap in %%DATADIR%%/Resource/Init have to be configured if you want to use FAPI feature. diff --git a/print/ghostscript9-agpl/pkg-descr b/print/ghostscript9-base/pkg-descr index a7234ce47bc0..a7234ce47bc0 100644 --- a/print/ghostscript9-agpl/pkg-descr +++ b/print/ghostscript9-base/pkg-descr diff --git a/print/ghostscript9-base/pkg-plist b/print/ghostscript9-base/pkg-plist new file mode 100644 index 000000000000..125ddfeddf60 --- /dev/null +++ b/print/ghostscript9-base/pkg-plist @@ -0,0 +1,644 @@ +bin/dvipdf +bin/eps2eps +%%GS_epag%%bin/ert +bin/font2c +bin/gs +bin/gsbj +bin/gsc +bin/gsdj +bin/gsdj500 +bin/gslj +bin/gslp +bin/gsnd +bin/gsx +bin/lprsetup.sh +%%GS_pcl3%%bin/pcl3opts +bin/pdf2dsc +bin/pdf2ps +bin/pdfopt +bin/pf2afm +bin/pfbtopfa +bin/pphs +bin/printafm +bin/ps2ascii +bin/ps2epsi +bin/ps2pdf +bin/ps2pdf12 +bin/ps2pdf13 +bin/ps2pdf14 +bin/ps2pdfwr +bin/ps2ps +bin/ps2ps2 +bin/unix-lpr.sh +bin/wftopfa +include/ghostscript/gdevdsp.h +include/ghostscript/iapi.h +include/ghostscript/ierrors.h +lib/libgs.so +lib/libgs.so.%%SHLIB_VER%% +lib/libgs.so.%%GS_VERSION%% +man/man1/dvipdf.1.gz +man/man1/eps2eps.1.gz +man/man1/font2c.1.gz +%%GS_pcl3%%man/man1/gs-pcl3.1.gz +man/man1/gs.1.gz +man/man1/gsbj.1.gz +man/man1/gsdj.1.gz +man/man1/gsdj500.1.gz +man/man1/gslj.1.gz +man/man1/gslp.1.gz +man/man1/gsnd.1.gz +%%GS_pcl3%%man/man1/pcl3opts.1.gz +man/man1/pdf2dsc.1.gz +man/man1/pdf2ps.1.gz +man/man1/pdfopt.1.gz +man/man1/pf2afm.1.gz +man/man1/pfbtopfa.1.gz +man/man1/printafm.1.gz +man/man1/ps2ascii.1.gz +man/man1/ps2epsi.1.gz +man/man1/ps2pdf.1.gz +man/man1/ps2pdf12.1.gz +man/man1/ps2pdf13.1.gz +man/man1/ps2pdf14.1.gz +man/man1/ps2pdfwr.1.gz +man/man1/ps2ps.1.gz +man/man1/wftopfa.1.gz +%%DATADIR%%/Resource/CMap/78-EUC-H +%%DATADIR%%/Resource/CMap/78-EUC-V +%%DATADIR%%/Resource/CMap/78-H +%%DATADIR%%/Resource/CMap/78-RKSJ-H +%%DATADIR%%/Resource/CMap/78-RKSJ-V +%%DATADIR%%/Resource/CMap/78-V +%%DATADIR%%/Resource/CMap/78ms-RKSJ-H +%%DATADIR%%/Resource/CMap/78ms-RKSJ-V +%%DATADIR%%/Resource/CMap/83pv-RKSJ-H +%%DATADIR%%/Resource/CMap/90ms-RKSJ-H +%%DATADIR%%/Resource/CMap/90ms-RKSJ-V +%%DATADIR%%/Resource/CMap/90msp-RKSJ-H +%%DATADIR%%/Resource/CMap/90msp-RKSJ-V +%%DATADIR%%/Resource/CMap/90pv-RKSJ-H +%%DATADIR%%/Resource/CMap/90pv-RKSJ-V +%%DATADIR%%/Resource/CMap/Add-H +%%DATADIR%%/Resource/CMap/Add-RKSJ-H +%%DATADIR%%/Resource/CMap/Add-RKSJ-V +%%DATADIR%%/Resource/CMap/Add-V +%%DATADIR%%/Resource/CMap/Adobe-CNS1-0 +%%DATADIR%%/Resource/CMap/Adobe-CNS1-1 +%%DATADIR%%/Resource/CMap/Adobe-CNS1-2 +%%DATADIR%%/Resource/CMap/Adobe-CNS1-3 +%%DATADIR%%/Resource/CMap/Adobe-CNS1-4 +%%DATADIR%%/Resource/CMap/Adobe-CNS1-5 +%%DATADIR%%/Resource/CMap/Adobe-CNS1-6 +%%DATADIR%%/Resource/CMap/Adobe-GB1-0 +%%DATADIR%%/Resource/CMap/Adobe-GB1-1 +%%DATADIR%%/Resource/CMap/Adobe-GB1-2 +%%DATADIR%%/Resource/CMap/Adobe-GB1-3 +%%DATADIR%%/Resource/CMap/Adobe-GB1-4 +%%DATADIR%%/Resource/CMap/Adobe-GB1-5 +%%DATADIR%%/Resource/CMap/Adobe-Japan1-0 +%%DATADIR%%/Resource/CMap/Adobe-Japan1-1 +%%DATADIR%%/Resource/CMap/Adobe-Japan1-2 +%%DATADIR%%/Resource/CMap/Adobe-Japan1-3 +%%DATADIR%%/Resource/CMap/Adobe-Japan1-4 +%%DATADIR%%/Resource/CMap/Adobe-Japan1-5 +%%DATADIR%%/Resource/CMap/Adobe-Japan1-6 +%%DATADIR%%/Resource/CMap/Adobe-Korea1-0 +%%DATADIR%%/Resource/CMap/Adobe-Korea1-1 +%%DATADIR%%/Resource/CMap/Adobe-Korea1-2 +%%DATADIR%%/Resource/CMap/B5-H +%%DATADIR%%/Resource/CMap/B5-V +%%DATADIR%%/Resource/CMap/B5pc-H +%%DATADIR%%/Resource/CMap/B5pc-V +%%DATADIR%%/Resource/CMap/CNS-EUC-H +%%DATADIR%%/Resource/CMap/CNS-EUC-V +%%DATADIR%%/Resource/CMap/CNS1-H +%%DATADIR%%/Resource/CMap/CNS1-V +%%DATADIR%%/Resource/CMap/CNS2-H +%%DATADIR%%/Resource/CMap/CNS2-V +%%DATADIR%%/Resource/CMap/ETHK-B5-H +%%DATADIR%%/Resource/CMap/ETHK-B5-V +%%DATADIR%%/Resource/CMap/ETen-B5-H +%%DATADIR%%/Resource/CMap/ETen-B5-V +%%DATADIR%%/Resource/CMap/ETenms-B5-H +%%DATADIR%%/Resource/CMap/ETenms-B5-V +%%DATADIR%%/Resource/CMap/EUC-H +%%DATADIR%%/Resource/CMap/EUC-V +%%DATADIR%%/Resource/CMap/Ext-H +%%DATADIR%%/Resource/CMap/Ext-RKSJ-H +%%DATADIR%%/Resource/CMap/Ext-RKSJ-V +%%DATADIR%%/Resource/CMap/Ext-V +%%DATADIR%%/Resource/CMap/GB-EUC-H +%%DATADIR%%/Resource/CMap/GB-EUC-V +%%DATADIR%%/Resource/CMap/GB-H +%%DATADIR%%/Resource/CMap/GB-V +%%DATADIR%%/Resource/CMap/GBK-EUC-H +%%DATADIR%%/Resource/CMap/GBK-EUC-V +%%DATADIR%%/Resource/CMap/GBK2K-H +%%DATADIR%%/Resource/CMap/GBK2K-V +%%DATADIR%%/Resource/CMap/GBKp-EUC-H +%%DATADIR%%/Resource/CMap/GBKp-EUC-V +%%DATADIR%%/Resource/CMap/GBT-EUC-H +%%DATADIR%%/Resource/CMap/GBT-EUC-V +%%DATADIR%%/Resource/CMap/GBT-H +%%DATADIR%%/Resource/CMap/GBT-V +%%DATADIR%%/Resource/CMap/GBTpc-EUC-H +%%DATADIR%%/Resource/CMap/GBTpc-EUC-V +%%DATADIR%%/Resource/CMap/GBpc-EUC-H +%%DATADIR%%/Resource/CMap/GBpc-EUC-V +%%DATADIR%%/Resource/CMap/H +%%DATADIR%%/Resource/CMap/HKdla-B5-H +%%DATADIR%%/Resource/CMap/HKdla-B5-V +%%DATADIR%%/Resource/CMap/HKdlb-B5-H +%%DATADIR%%/Resource/CMap/HKdlb-B5-V +%%DATADIR%%/Resource/CMap/HKgccs-B5-H +%%DATADIR%%/Resource/CMap/HKgccs-B5-V +%%DATADIR%%/Resource/CMap/HKm314-B5-H +%%DATADIR%%/Resource/CMap/HKm314-B5-V +%%DATADIR%%/Resource/CMap/HKm471-B5-H +%%DATADIR%%/Resource/CMap/HKm471-B5-V +%%DATADIR%%/Resource/CMap/HKscs-B5-H +%%DATADIR%%/Resource/CMap/HKscs-B5-V +%%DATADIR%%/Resource/CMap/Hankaku +%%DATADIR%%/Resource/CMap/Hiragana +%%DATADIR%%/Resource/CMap/Identity-H +%%DATADIR%%/Resource/CMap/Identity-UTF16-H +%%DATADIR%%/Resource/CMap/Identity-V +%%DATADIR%%/Resource/CMap/KSC-EUC-H +%%DATADIR%%/Resource/CMap/KSC-EUC-V +%%DATADIR%%/Resource/CMap/KSC-H +%%DATADIR%%/Resource/CMap/KSC-Johab-H +%%DATADIR%%/Resource/CMap/KSC-Johab-V +%%DATADIR%%/Resource/CMap/KSC-V +%%DATADIR%%/Resource/CMap/KSCms-UHC-H +%%DATADIR%%/Resource/CMap/KSCms-UHC-HW-H +%%DATADIR%%/Resource/CMap/KSCms-UHC-HW-V +%%DATADIR%%/Resource/CMap/KSCms-UHC-V +%%DATADIR%%/Resource/CMap/KSCpc-EUC-H +%%DATADIR%%/Resource/CMap/KSCpc-EUC-V +%%DATADIR%%/Resource/CMap/Katakana +%%DATADIR%%/Resource/CMap/NWP-H +%%DATADIR%%/Resource/CMap/NWP-V +%%DATADIR%%/Resource/CMap/RKSJ-H +%%DATADIR%%/Resource/CMap/RKSJ-V +%%DATADIR%%/Resource/CMap/Roman +%%DATADIR%%/Resource/CMap/UniCNS-UCS2-H +%%DATADIR%%/Resource/CMap/UniCNS-UCS2-V +%%DATADIR%%/Resource/CMap/UniCNS-UTF16-H +%%DATADIR%%/Resource/CMap/UniCNS-UTF16-V +%%DATADIR%%/Resource/CMap/UniCNS-UTF32-H +%%DATADIR%%/Resource/CMap/UniCNS-UTF32-V +%%DATADIR%%/Resource/CMap/UniCNS-UTF8-H +%%DATADIR%%/Resource/CMap/UniCNS-UTF8-V +%%DATADIR%%/Resource/CMap/UniGB-UCS2-H +%%DATADIR%%/Resource/CMap/UniGB-UCS2-V +%%DATADIR%%/Resource/CMap/UniGB-UTF16-H +%%DATADIR%%/Resource/CMap/UniGB-UTF16-V +%%DATADIR%%/Resource/CMap/UniGB-UTF32-H +%%DATADIR%%/Resource/CMap/UniGB-UTF32-V +%%DATADIR%%/Resource/CMap/UniGB-UTF8-H +%%DATADIR%%/Resource/CMap/UniGB-UTF8-V +%%DATADIR%%/Resource/CMap/UniHojo-UCS2-H +%%DATADIR%%/Resource/CMap/UniJIS-UCS2-H +%%DATADIR%%/Resource/CMap/UniJIS-UCS2-HW-H +%%DATADIR%%/Resource/CMap/UniJIS-UCS2-HW-V +%%DATADIR%%/Resource/CMap/UniJIS-UCS2-V +%%DATADIR%%/Resource/CMap/UniJIS-UTF16-H +%%DATADIR%%/Resource/CMap/UniJIS-UTF16-V +%%DATADIR%%/Resource/CMap/UniJIS-UTF32-H +%%DATADIR%%/Resource/CMap/UniJIS-UTF32-V +%%DATADIR%%/Resource/CMap/UniJIS-UTF8-H +%%DATADIR%%/Resource/CMap/UniJIS-UTF8-V +%%DATADIR%%/Resource/CMap/UniJIS2004-UTF16-H +%%DATADIR%%/Resource/CMap/UniJIS2004-UTF16-V +%%DATADIR%%/Resource/CMap/UniJIS2004-UTF32-H +%%DATADIR%%/Resource/CMap/UniJIS2004-UTF32-V +%%DATADIR%%/Resource/CMap/UniJIS2004-UTF8-H +%%DATADIR%%/Resource/CMap/UniJIS2004-UTF8-V +%%DATADIR%%/Resource/CMap/UniJISPro-UCS2-HW-V +%%DATADIR%%/Resource/CMap/UniJISPro-UCS2-V +%%DATADIR%%/Resource/CMap/UniJISPro-UTF8-V +%%DATADIR%%/Resource/CMap/UniJISX0213-UTF32-H +%%DATADIR%%/Resource/CMap/UniJISX0213-UTF32-V +%%DATADIR%%/Resource/CMap/UniJISX02132004-UTF32-H +%%DATADIR%%/Resource/CMap/UniJISX02132004-UTF32-V +%%DATADIR%%/Resource/CMap/UniKS-UCS2-H +%%DATADIR%%/Resource/CMap/UniKS-UCS2-V +%%DATADIR%%/Resource/CMap/UniKS-UTF16-H +%%DATADIR%%/Resource/CMap/UniKS-UTF16-V +%%DATADIR%%/Resource/CMap/UniKS-UTF32-H +%%DATADIR%%/Resource/CMap/UniKS-UTF32-V +%%DATADIR%%/Resource/CMap/UniKS-UTF8-H +%%DATADIR%%/Resource/CMap/UniKS-UTF8-V +%%DATADIR%%/Resource/CMap/V +%%DATADIR%%/Resource/CMap/WP-Symbol +%%DATADIR%%/Resource/ColorSpace/DefaultCMYK +%%DATADIR%%/Resource/ColorSpace/DefaultGray +%%DATADIR%%/Resource/ColorSpace/DefaultRGB +%%DATADIR%%/Resource/ColorSpace/TrivialCMYK +%%DATADIR%%/Resource/ColorSpace/sGray +%%DATADIR%%/Resource/ColorSpace/sRGB +%%DATADIR%%/Resource/Decoding/FCO_Dingbats +%%DATADIR%%/Resource/Decoding/FCO_Symbol +%%DATADIR%%/Resource/Decoding/FCO_Unicode +%%DATADIR%%/Resource/Decoding/FCO_Wingdings +%%DATADIR%%/Resource/Decoding/Latin1 +%%DATADIR%%/Resource/Decoding/StandardEncoding +%%DATADIR%%/Resource/Decoding/Unicode +%%DATADIR%%/Resource/Encoding/Wingdings +%%DATADIR%%/Resource/Font/CenturySchL-Bold +%%DATADIR%%/Resource/Font/CenturySchL-BoldItal +%%DATADIR%%/Resource/Font/CenturySchL-Ital +%%DATADIR%%/Resource/Font/CenturySchL-Roma +%%DATADIR%%/Resource/Font/Dingbats +%%DATADIR%%/Resource/Font/NimbusMonL-Bold +%%DATADIR%%/Resource/Font/NimbusMonL-BoldObli +%%DATADIR%%/Resource/Font/NimbusMonL-Regu +%%DATADIR%%/Resource/Font/NimbusMonL-ReguObli +%%DATADIR%%/Resource/Font/NimbusRomNo9L-Medi +%%DATADIR%%/Resource/Font/NimbusRomNo9L-MediItal +%%DATADIR%%/Resource/Font/NimbusRomNo9L-Regu +%%DATADIR%%/Resource/Font/NimbusRomNo9L-ReguItal +%%DATADIR%%/Resource/Font/NimbusSanL-Bold +%%DATADIR%%/Resource/Font/NimbusSanL-BoldCond +%%DATADIR%%/Resource/Font/NimbusSanL-BoldCondItal +%%DATADIR%%/Resource/Font/NimbusSanL-BoldItal +%%DATADIR%%/Resource/Font/NimbusSanL-Regu +%%DATADIR%%/Resource/Font/NimbusSanL-ReguCond +%%DATADIR%%/Resource/Font/NimbusSanL-ReguCondItal +%%DATADIR%%/Resource/Font/NimbusSanL-ReguItal +%%DATADIR%%/Resource/Font/StandardSymL +%%DATADIR%%/Resource/Font/URWBookmanL-DemiBold +%%DATADIR%%/Resource/Font/URWBookmanL-DemiBoldItal +%%DATADIR%%/Resource/Font/URWBookmanL-Ligh +%%DATADIR%%/Resource/Font/URWBookmanL-LighItal +%%DATADIR%%/Resource/Font/URWChanceryL-MediItal +%%DATADIR%%/Resource/Font/URWGothicL-Book +%%DATADIR%%/Resource/Font/URWGothicL-BookObli +%%DATADIR%%/Resource/Font/URWGothicL-Demi +%%DATADIR%%/Resource/Font/URWGothicL-DemiObli +%%DATADIR%%/Resource/Font/URWPalladioL-Bold +%%DATADIR%%/Resource/Font/URWPalladioL-BoldItal +%%DATADIR%%/Resource/Font/URWPalladioL-Ital +%%DATADIR%%/Resource/Font/URWPalladioL-Roma +%%DATADIR%%/iccprofiles/default_cmyk.icc +%%DATADIR%%/iccprofiles/default_gray.icc +%%DATADIR%%/iccprofiles/default_rgb.icc +%%DATADIR%%/iccprofiles/lab.icc +%%DATADIR%%/iccprofiles/gray_to_k.icc +%%DATADIR%%/iccprofiles/ps_cmyk.icc +%%DATADIR%%/iccprofiles/ps_gray.icc +%%DATADIR%%/iccprofiles/ps_rgb.icc +%%DATADIR%%/iccprofiles/sgray.icc +%%DATADIR%%/iccprofiles/srgb.icc +%%DATADIR%%/doc/API.htm +%%DATADIR%%/doc/AUTHORS +%%DATADIR%%/doc/C-style.htm +%%DATADIR%%/doc/Changes.htm +%%DATADIR%%/doc/COPYING +%%DATADIR%%/doc/Commprod.htm +%%DATADIR%%/doc/DLL.htm +%%DATADIR%%/doc/Deprecated.htm +%%DATADIR%%/doc/Details.htm +%%DATADIR%%/doc/Details8.htm +%%DATADIR%%/doc/Details9.htm +%%DATADIR%%/doc/Develop.htm +%%DATADIR%%/doc/Devices.htm +%%DATADIR%%/doc/Drivers.htm +%%DATADIR%%/doc/Fonts.htm +%%DATADIR%%/doc/GS9_Color_Management.pdf +%%DATADIR%%/doc/GS9_Color_Management.tex +%%DATADIR%%/doc/Helpers.htm +%%DATADIR%%/doc/Hershey.htm +%%DATADIR%%/doc/History1.htm +%%DATADIR%%/doc/History2.htm +%%DATADIR%%/doc/History3.htm +%%DATADIR%%/doc/History4.htm +%%DATADIR%%/doc/History5.htm +%%DATADIR%%/doc/History6.htm +%%DATADIR%%/doc/History7.htm +%%DATADIR%%/doc/History8.htm +%%DATADIR%%/doc/History9.htm +%%DATADIR%%/doc/Install.htm +%%DATADIR%%/doc/Issues.htm +%%DATADIR%%/doc/Language.htm +%%DATADIR%%/doc/Lib.htm +%%DATADIR%%/doc/Make.htm +%%DATADIR%%/doc/News.htm +%%DATADIR%%/doc/Projects.htm +%%DATADIR%%/doc/Ps-style.htm +%%DATADIR%%/doc/Ps2epsi.htm +%%DATADIR%%/doc/Ps2pdf.htm +%%DATADIR%%/doc/Ps2ps2.htm +%%DATADIR%%/doc/Psfiles.htm +%%DATADIR%%/doc/Readme.htm +%%DATADIR%%/doc/Release.htm +%%DATADIR%%/doc/Source.htm +%%DATADIR%%/doc/Unix-lpr.htm +%%DATADIR%%/doc/Use.htm +%%DATADIR%%/doc/WhatIsGS.htm +%%DATADIR%%/doc/Xfonts.htm +%%DATADIR%%/doc/gs.css +%%DATADIR%%/doc/gs-vms.hlp +%%DATADIR%%/doc/gsdoc.el +%%DATADIR%%/doc/index.html +%%DATADIR%%/doc/pscet_status.txt +%%DATADIR%%/doc/thirdparty.htm +%%DATADIR%%/examples/cjk/all_ac1.ps +%%DATADIR%%/examples/cjk/all_aj1.ps +%%DATADIR%%/examples/cjk/all_ak1.ps +%%DATADIR%%/examples/cjk/gscjk_ac.ps +%%DATADIR%%/examples/cjk/gscjk_aj.ps +%%DATADIR%%/examples/cjk/iso2022.ps +%%DATADIR%%/examples/cjk/all_ag1.ps +%%DATADIR%%/examples/cjk/all_aj2.ps +%%DATADIR%%/examples/cjk/article9.ps +%%DATADIR%%/examples/cjk/gscjk_ag.ps +%%DATADIR%%/examples/cjk/gscjk_ak.ps +%%DATADIR%%/examples/cjk/iso2022v.ps +%%DATADIR%%/examples/alphabet.ps +%%DATADIR%%/examples/annots.pdf +%%DATADIR%%/examples/chess.ps +%%DATADIR%%/examples/colorcir.ps +%%DATADIR%%/examples/doretree.ps +%%DATADIR%%/examples/escher.ps +%%DATADIR%%/examples/golfer.eps +%%DATADIR%%/examples/grayalph.ps +%%DATADIR%%/examples/ridt91.eps +%%DATADIR%%/examples/snowflak.ps +%%DATADIR%%/examples/text_graph_image_cmyk_rgb.pdf +%%DATADIR%%/examples/text_graphic_image.pdf +%%DATADIR%%/examples/tiger.eps +%%DATADIR%%/examples/transparency_example.ps +%%DATADIR%%/examples/vasarely.ps +%%DATADIR%%/examples/waterfal.ps +%%DATADIR%%/Resource/Init/FAPIcidfmap +%%DATADIR%%/Resource/Init/FAPIcidfmap.orig +%%DATADIR%%/Resource/Init/FAPIconfig +%%DATADIR%%/Resource/Init/FAPIconfig.orig +%%DATADIR%%/Resource/Init/FAPIfontmap +%%DATADIR%%/Resource/Init/FCOfontmap-PCLPS2 +%%DATADIR%%/Resource/Init/Fontmap +%%DATADIR%%/Resource/Init/Fontmap.GS +%%DATADIR%%/Resource/Init/cidfmap +%%DATADIR%%/Resource/Init/cidfmap.orig +%%DATADIR%%/Resource/Init/gs_agl.ps +%%DATADIR%%/Resource/Init/gs_btokn.ps +%%DATADIR%%/Resource/Init/gs_cet.ps +%%DATADIR%%/Resource/Init/gs_cff.ps +%%DATADIR%%/Resource/Init/gs_cidcm.ps +%%DATADIR%%/Resource/Init/gs_ciddc.ps +%%DATADIR%%/Resource/Init/gs_cidfm.ps +%%DATADIR%%/Resource/Init/gs_cidfn.ps +%%DATADIR%%/Resource/Init/gs_cidtt.ps +%%DATADIR%%/Resource/Init/gs_cmap.ps +%%DATADIR%%/Resource/Init/gs_cspace.ps +%%DATADIR%%/Resource/Init/gs_css_e.ps +%%DATADIR%%/Resource/Init/gs_dbt_e.ps +%%DATADIR%%/Resource/Init/gs_diskf.ps +%%DATADIR%%/Resource/Init/gs_diskn.ps +%%DATADIR%%/Resource/Init/gs_dpnxt.ps +%%DATADIR%%/Resource/Init/gs_dps.ps +%%DATADIR%%/Resource/Init/gs_dps1.ps +%%DATADIR%%/Resource/Init/gs_dps2.ps +%%DATADIR%%/Resource/Init/gs_dscp.ps +%%DATADIR%%/Resource/Init/gs_epsf.ps +%%DATADIR%%/Resource/Init/gs_fapi.ps +%%DATADIR%%/Resource/Init/gs_fntem.ps +%%DATADIR%%/Resource/Init/gs_fonts.ps +%%DATADIR%%/Resource/Init/gs_frsd.ps +%%DATADIR%%/Resource/Init/gs_icc.ps +%%DATADIR%%/Resource/Init/gs_il1_e.ps +%%DATADIR%%/Resource/Init/gs_img.ps +%%DATADIR%%/Resource/Init/gs_init.ps +%%DATADIR%%/Resource/Init/gs_l2img.ps +%%DATADIR%%/Resource/Init/gs_lev2.ps +%%DATADIR%%/Resource/Init/gs_ll3.ps +%%DATADIR%%/Resource/Init/gs_mex_e.ps +%%DATADIR%%/Resource/Init/gs_mgl_e.ps +%%DATADIR%%/Resource/Init/gs_mro_e.ps +%%DATADIR%%/Resource/Init/gs_pdf_e.ps +%%DATADIR%%/Resource/Init/gs_pdfwr.ps +%%DATADIR%%/Resource/Init/gs_res.ps +%%DATADIR%%/Resource/Init/gs_resmp.ps +%%DATADIR%%/Resource/Init/gs_setpd.ps +%%DATADIR%%/Resource/Init/gs_statd.ps +%%DATADIR%%/Resource/Init/gs_std_e.ps +%%DATADIR%%/Resource/Init/gs_sym_e.ps +%%DATADIR%%/Resource/Init/gs_trap.ps +%%DATADIR%%/Resource/Init/gs_ttf.ps +%%DATADIR%%/Resource/Init/gs_typ32.ps +%%DATADIR%%/Resource/Init/gs_typ42.ps +%%DATADIR%%/Resource/Init/gs_type1.ps +%%DATADIR%%/Resource/Init/gs_wan_e.ps +%%DATADIR%%/Resource/Init/pdf_base.ps +%%DATADIR%%/Resource/Init/pdf_cslayer.ps +%%DATADIR%%/Resource/Init/pdf_draw.ps +%%DATADIR%%/Resource/Init/pdf_font.ps +%%DATADIR%%/Resource/Init/pdf_main.ps +%%DATADIR%%/Resource/Init/pdf_ops.ps +%%DATADIR%%/Resource/Init/pdf_rbld.ps +%%DATADIR%%/Resource/Init/pdf_sec.ps +%%DATADIR%%/Resource/Init/xlatmap +%%DATADIR%%/Resource/SubstCID/CNS1-WMode +%%DATADIR%%/Resource/SubstCID/GB1-WMode +%%DATADIR%%/Resource/SubstCID/Japan1-WMode +%%DATADIR%%/Resource/SubstCID/Korea1-WMode +%%DATADIR%%/lib/ht_ccsto.ps +%%DATADIR%%/lib/acctest.ps +%%DATADIR%%/lib/addxchar.ps +%%DATADIR%%/lib/align.ps +%%DATADIR%%/lib/caption.ps +%%DATADIR%%/lib/cid2code.ps +%%DATADIR%%/lib/decrypt.ps +%%DATADIR%%/lib/docie.ps +%%DATADIR%%/lib/font2c.ps +%%DATADIR%%/lib/font2pcl.ps +%%DATADIR%%/lib/gslp.ps +%%DATADIR%%/lib/gsnup.ps +%%DATADIR%%/lib/image-qa.ps +%%DATADIR%%/lib/impath.ps +%%DATADIR%%/lib/jispaper.ps +%%DATADIR%%/lib/landscap.ps +%%DATADIR%%/lib/level1.ps +%%DATADIR%%/lib/lines.ps +%%DATADIR%%/lib/markhint.ps +%%DATADIR%%/lib/markpath.ps +%%DATADIR%%/lib/mkcidfm.ps +%%DATADIR%%/lib/PDFA_def.ps +%%DATADIR%%/lib/PDFX_def.ps +%%DATADIR%%/lib/packfile.ps +%%DATADIR%%/lib/pcharstr.ps +%%DATADIR%%/lib/pf2afm.ps +%%DATADIR%%/lib/pfbtopfa.ps +%%DATADIR%%/lib/ppath.ps +%%DATADIR%%/lib/pphs.ps +%%DATADIR%%/lib/prfont.ps +%%DATADIR%%/lib/printafm.ps +%%DATADIR%%/lib/ps2ai.ps +%%DATADIR%%/lib/ps2ascii.ps +%%DATADIR%%/lib/ps2epsi.ps +%%DATADIR%%/lib/quit.ps +%%DATADIR%%/lib/rollconv.ps +%%DATADIR%%/lib/showchar.ps +%%DATADIR%%/lib/showpage.ps +%%DATADIR%%/lib/stcinfo.ps +%%DATADIR%%/lib/stcolor.ps +%%DATADIR%%/lib/stocht.ps +%%DATADIR%%/lib/traceimg.ps +%%DATADIR%%/lib/traceop.ps +%%DATADIR%%/lib/type1enc.ps +%%DATADIR%%/lib/type1ops.ps +%%DATADIR%%/lib/uninfo.ps +%%DATADIR%%/lib/unprot.ps +%%DATADIR%%/lib/viewcmyk.ps +%%DATADIR%%/lib/viewgif.ps +%%DATADIR%%/lib/viewjpeg.ps +%%DATADIR%%/lib/viewmiff.ps +%%DATADIR%%/lib/viewpcx.ps +%%DATADIR%%/lib/viewpbm.ps +%%DATADIR%%/lib/viewps2a.ps +%%DATADIR%%/lib/winmaps.ps +%%DATADIR%%/lib/wftopfa.ps +%%DATADIR%%/lib/wrfont.ps +%%DATADIR%%/lib/zeroline.ps +%%DATADIR%%/lib/pdf2dsc.ps +%%DATADIR%%/lib/pdfopt.ps +%%DATADIR%%/lib/gs_ce_e.ps +%%DATADIR%%/lib/gs_cmdl.ps +%%DATADIR%%/lib/gs_fform.ps +%%DATADIR%%/lib/gs_il2_e.ps +%%DATADIR%%/lib/gs_kanji.ps +%%DATADIR%%/lib/gs_ksb_e.ps +%%DATADIR%%/lib/gs_lgo_e.ps +%%DATADIR%%/lib/gs_lgx_e.ps +%%DATADIR%%/lib/gs_pfile.ps +%%DATADIR%%/lib/gs_rdlin.ps +%%DATADIR%%/lib/gs_wl1_e.ps +%%DATADIR%%/lib/gs_wl2_e.ps +%%DATADIR%%/lib/gs_wl5_e.ps +%%DATADIR%%/lib/pdfwrite.ps +%%DATADIR%%/lib/cbjc600.ppd +%%DATADIR%%/lib/cbjc800.ppd +%%DATADIR%%/lib/ghostpdf.ppd +%%DATADIR%%/lib/bj8.rpd +%%DATADIR%%/lib/bj8gc12f.upp +%%DATADIR%%/lib/bj8hg12f.upp +%%DATADIR%%/lib/bj8oh06n.upp +%%DATADIR%%/lib/bj8pa06n.upp +%%DATADIR%%/lib/bj8pp12f.upp +%%DATADIR%%/lib/bj8ts06n.upp +%%DATADIR%%/lib/bjc610a0.upp +%%DATADIR%%/lib/bjc610a1.upp +%%DATADIR%%/lib/bjc610a2.upp +%%DATADIR%%/lib/bjc610a3.upp +%%DATADIR%%/lib/bjc610a4.upp +%%DATADIR%%/lib/bjc610a5.upp +%%DATADIR%%/lib/bjc610a6.upp +%%DATADIR%%/lib/bjc610a7.upp +%%DATADIR%%/lib/bjc610a8.upp +%%DATADIR%%/lib/bjc610b1.upp +%%DATADIR%%/lib/bjc610b2.upp +%%DATADIR%%/lib/bjc610b3.upp +%%DATADIR%%/lib/bjc610b4.upp +%%DATADIR%%/lib/bjc610b6.upp +%%DATADIR%%/lib/bjc610b7.upp +%%DATADIR%%/lib/bjc610b8.upp +%%DATADIR%%/lib/cdj550.upp +%%DATADIR%%/lib/cdj690.upp +%%DATADIR%%/lib/cdj690ec.upp +%%DATADIR%%/lib/dnj750c.upp +%%DATADIR%%/lib/dnj750m.upp +%%DATADIR%%/lib/necp2x.upp +%%DATADIR%%/lib/necp2x6.upp +%%DATADIR%%/lib/ras1.upp +%%DATADIR%%/lib/ras24.upp +%%DATADIR%%/lib/ras3.upp +%%DATADIR%%/lib/ras32.upp +%%DATADIR%%/lib/ras4.upp +%%DATADIR%%/lib/ras8m.upp +%%DATADIR%%/lib/st640ih.upp +%%DATADIR%%/lib/st640ihg.upp +%%DATADIR%%/lib/st640p.upp +%%DATADIR%%/lib/st640pg.upp +%%DATADIR%%/lib/st640pl.upp +%%DATADIR%%/lib/st640plg.upp +%%DATADIR%%/lib/stc.upp +%%DATADIR%%/lib/stc1520h.upp +%%DATADIR%%/lib/stc2.upp +%%DATADIR%%/lib/stc200_h.upp +%%DATADIR%%/lib/stc2_h.upp +%%DATADIR%%/lib/stc2s_h.upp +%%DATADIR%%/lib/stc300.upp +%%DATADIR%%/lib/stc300bl.upp +%%DATADIR%%/lib/stc300bm.upp +%%DATADIR%%/lib/stc500p.upp +%%DATADIR%%/lib/stc500ph.upp +%%DATADIR%%/lib/stc600ih.upp +%%DATADIR%%/lib/stc600p.upp +%%DATADIR%%/lib/stc600pl.upp +%%DATADIR%%/lib/stc640p.upp +%%DATADIR%%/lib/stc800ih.upp +%%DATADIR%%/lib/stc800p.upp +%%DATADIR%%/lib/stc800pl.upp +%%DATADIR%%/lib/stc_h.upp +%%DATADIR%%/lib/stc_l.upp +%%DATADIR%%/lib/stcany.upp +%%DATADIR%%/lib/stcany_h.upp +%%DATADIR%%/lib/gs_l.xbm +%%DATADIR%%/lib/gs_l_m.xbm +%%DATADIR%%/lib/gs_m.xbm +%%DATADIR%%/lib/gs_m_m.xbm +%%DATADIR%%/lib/gs_s.xbm +%%DATADIR%%/lib/gs_s_m.xbm +%%DATADIR%%/lib/gs_t.xbm +%%DATADIR%%/lib/gs_t_m.xbm +%%DATADIR%%/lib/gs_l.xpm +%%DATADIR%%/lib/gs_m.xpm +%%DATADIR%%/lib/gs_s.xpm +%%DATADIR%%/lib/gs_t.xpm +%%DATADIR%%/lib/dmp_init.ps +%%DATADIR%%/lib/dmp_site.ps +%%DATADIR%%/lib/escp_24.src +%%DATADIR%%/lib/PM760p.upp +%%DATADIR%%/lib/PM760pl.upp +%%DATADIR%%/lib/PM820p.upp +%%DATADIR%%/lib/PM820pl.upp +%%DATADIR%%/lib/Stc670p.upp +%%DATADIR%%/lib/Stc670pl.upp +%%DATADIR%%/lib/Stc680p.upp +%%DATADIR%%/lib/Stc680pl.upp +%%DATADIR%%/lib/Stc740p.upp +%%DATADIR%%/lib/Stc740pl.upp +%%DATADIR%%/lib/Stc760p.upp +%%DATADIR%%/lib/Stc760pl.upp +%%DATADIR%%/lib/Stc777p.upp +%%DATADIR%%/lib/Stc777pl.upp +%%DATADIR%%/lib/Stp720p.upp +%%DATADIR%%/lib/Stp720pl.upp +%%DATADIR%%/lib/Stp870p.upp +%%DATADIR%%/lib/Stp870pl.upp +%%DATADIR%%/lib/bjc6000a1.upp +%%DATADIR%%/lib/bjc6000b1.upp +%%DATADIR%%/lib/s400a1.upp +%%DATADIR%%/lib/s400b1.upp +%%DATADIR%%/lib/sharp.upp +%%DATADIR%%/lib/sipixa6.upp +%%DATADIR%%/lib/stc740ih.upp +%%GS_dmprt%%%%DATADIR%%/lib/lqx70ch.upp +%%GS_dmprt%%%%DATADIR%%/lib/lqx70cl.upp +%%GS_dmprt%%%%DATADIR%%/lib/lqx70cm.upp +%%GS_pcl3%%%%DATADIR%%/pcl3/calign.ps +%%GS_pcl3%%%%DATADIR%%/pcl3/dumppdd.ps +%%GS_pcl3%%%%DATADIR%%/pcl3/example.mcf +%%GS_pcl3%%%%DATADIR%%/pcl3/if-pcl3 +%%GS_pcl3%%%%DATADIR%%/pcl3/levels-test.ps +%%GS_pcl3%%%%DATADIR%%/pcl3/margins-A4.ps +%%GS_pcl3%%%%DATADIR%%/pcl3/margins-A4Rotated.ps +%%GS_pcl3%%%%DATADIR%%/pcl3/margins-Env10Rotated.ps +%%GS_pcl3%%%%DATADIR%%/pcl3/margins-EnvDLRotated.ps +%%GS_pcl3%%%%DATADIR%%/pcl3/margins-Letter.ps +%%GS_pcl3%%%%DATADIR%%/pcl3/margins-LetterRotated.ps +%%DATADIR%%/Resource/CIDFSubst/DroidSansFallback.ttf +%%DATADIR%%/Resource/CIDFont/fonts +%%DATADIR%%/Resource/CIDFont/ArtifexBullet diff --git a/print/ghostscript9-nox11/Makefile b/print/ghostscript9-nox11/Makefile deleted file mode 100644 index bd6690cb0143..000000000000 --- a/print/ghostscript9-nox11/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -# $FreeBSD$ - -print_ghostscript9-nox11_UNSET_FORCE+= X11 - -MASTERDIR= ${.CURDIR}/../ghostscript9 - -.include "${MASTERDIR}/Makefile" diff --git a/print/ghostscript9-x11/Makefile b/print/ghostscript9-x11/Makefile new file mode 100644 index 000000000000..67d427aa4a4f --- /dev/null +++ b/print/ghostscript9-x11/Makefile @@ -0,0 +1,58 @@ +# $FreeBSD$ + +PORTNAME= ghostscript +PORTVERSION= 9.06 +PORTREVISION= 11 +CATEGORIES= print +MASTER_SITES= http://downloads.ghostscript.com/public/ \ + SF/ghostscript/GPL%20Ghostscript/${PORTVERSION}/ +PKGNAMESUFFIX= 9-x11 +DIST_SUBDIR= ${PORTNAME} + +MAINTAINER= doceng@FreeBSD.org +COMMENT= Ghostscript 9.x PostScript interpreter, X11 support + +LICENSE= GPLv3 + +CONFLICTS_INSTALL= \ + gambc-[0-9]* \ + ghostscript[789]-[0-9]* \ + ghostscript[789]-nox11-[0-9]* \ + ghostscript9-agpl-[0-9]* \ + ghostscript9-agpl-nox11-[0-9]* + +USES= autoreconf ghostscript:9 gmake tar:bzip2 +USE_LDCONFIG= yes +USE_XORG= ice sm x11 xext xt +EXTRACT_AFTER_ARGS= ${EXCLUDE_DIRS:S/^/--exclude /} +GNU_CONFIGURE= yes +MAKE_ENV= CFLAGS_STANDARD="${CFLAGS}" \ + XLDFLAGS="${XLDFLAGS}" +CONFIGURE_ENV= ${MAKE_ENV} +CONFIGURE_ARGS= --disable-compile-inits \ + --disable-contrib \ + --enable-dynamic \ + --disable-freetype \ + --without-system-libtiff \ + --without-ijs \ + --without-libidn \ + --without-jasper \ + --without-libpaper \ + --with-x \ + --x-includes=${LOCALBASE}/include \ + --x-libraries=${LOCALBASE}/lib \ + --with-drivers="" +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib +XLDFLAGS= -lpthread +ALL_TARGET= ./obj/X11.so +INSTALL_TARGET= install-shared +PLIST_FILES= ${GS_LIBDIR}/X11.so + +GS_LIBDIR= lib/${PORTNAME}/${PORTVERSION} +EXCLUDE_DIRS= freetype jbig2dec jpeg expat jasper lcms lcms2 libpng tiff zlib + +pre-build: + ${MKDIR} ${WRKSRC}/obj + +.include <bsd.port.mk> diff --git a/print/ghostscript9-x11/distinfo b/print/ghostscript9-x11/distinfo new file mode 100644 index 000000000000..9fc6dde08cfd --- /dev/null +++ b/print/ghostscript9-x11/distinfo @@ -0,0 +1,4 @@ +SHA256 (ghostscript/ghostscript-9.06.tar.bz2) = 05acd1b576899572ef8ecbc25637cf73cbd0be267e651732db3012db33088e04 +SIZE (ghostscript/ghostscript-9.06.tar.bz2) = 29246039 +SHA256 (ghostscript/epag-3.09.tar.gz) = ad10eca44c781a5851d5a8993dcd95b2e2b99392cbf2c8372a5a658f3b991b3b +SIZE (ghostscript/epag-3.09.tar.gz) = 12858 diff --git a/print/ghostscript9-x11/files/patch-base-Makefile.in b/print/ghostscript9-x11/files/patch-base-Makefile.in new file mode 100644 index 000000000000..8d8299fcb21d --- /dev/null +++ b/print/ghostscript9-x11/files/patch-base-Makefile.in @@ -0,0 +1,141 @@ +--- base/Makefile.in.orig 2012-08-08 17:01:36.000000000 +0900 ++++ base/Makefile.in 2015-08-21 12:42:47.554688000 +0900 +@@ -49,9 +49,9 @@ + # the directories also define the default search path for the + # initialization files (gs_*.ps) and the fonts. + +-INSTALL = $(GLSRCDIR)/instcopy -c +-INSTALL_PROGRAM = $(INSTALL) -m 755 +-INSTALL_DATA = $(INSTALL) -m 644 ++INSTALL_PROGRAM = ${BSD_INSTALL_PROGRAM} ++INSTALL_SCRIPT = ${BSD_INSTALL_SCRIPT} ++INSTALL_DATA = ${BSD_INSTALL_DATA} + INSTALL_SHARED = @INSTALL_SHARED@ + + prefix = @prefix@ +@@ -202,7 +202,7 @@ + # some older JPEG streams that violate the standard. If the JPEG + # library built from local sources, the patch will be applied. + +-SHARE_JPEG=@SHARE_LIBJPEG@ ++SHARE_JPEG=1 + JPEG_NAME=jpeg + + # Define the directory where the PNG library sources are stored, +@@ -210,12 +210,12 @@ + # You may need to change this if the libpng version changes. + # See png.mak for more information. + +-SHARE_LIBPNG=@SHARE_LIBPNG@ ++SHARE_LIBPNG=1 + PNGSRCDIR=@LIBPNGDIR@ + LIBPNG_NAME=png + + # libtiff +-SHARE_LIBTIFF=@SHARE_LIBTIFF@ ++SHARE_LIBTIFF=1 + TIFFSRCDIR=@LIBTIFFDIR@ + TIFFPLATFORM=unix + TIFFCONFIG_SUFFIX= +@@ -224,7 +224,7 @@ + # Define the directory where the zlib sources are stored. + # See zlib.mak for more information. + +-SHARE_ZLIB=@SHARE_ZLIB@ ++SHARE_ZLIB=1 + ZSRCDIR=@ZLIBDIR@ + #ZLIB_NAME=gz + ZLIB_NAME=z +@@ -251,7 +251,7 @@ + JPX_LIB=@JPX_DECODER@ + SHARE_JPX=@SHARE_JPX@ + JPXSRCDIR=@JPXDIR@ +-JPX_CFLAGS=@JPX_AUTOCONF_CFLAGS@ ++JPX_CFLAGS=@JPX_AUTOCONF_CFLAGS@ -ffast-math -DOPJ_STATIC -std=c99 + + # uncomment the following three lines and one of the last two to + # compile in the Luratech lwf_jp2 codec +@@ -331,7 +331,7 @@ + # Define the added flags for standard, debugging, profiling + # and shared object builds. + +-CFLAGS_STANDARD=@OPT_CFLAGS@ ++CFLAGS_STANDARD?=@OPT_CFLAGS@ + CFLAGS_DEBUG=@DBG_CFLAGS@ + CFLAGS_PROFILE=-pg @OPT_CFLAGS@ + CFLAGS_SO=@DYNAMIC_CFLAGS@ +@@ -382,7 +382,7 @@ + # Solaris may need -lnsl -lsocket -lposix4. + # (Libraries required by individual drivers are handled automatically.) + +-EXTRALIBS=$(XTRALIBS) @LIBS@ @DYNAMIC_LIBS@ @FONTCONFIG_LIBS@ @FT_LIBS@ ++EXTRALIBS=$(XTRALIBS) @LIBS@ @DYNAMIC_LIBS@ @FONTCONFIG_LIBS@ @FT_LIBS@ -Wl,-export-dynamic + + # Define the standard libraries to search at the end of linking. + # Most platforms require -lpthread for the POSIX threads library; +@@ -426,7 +426,7 @@ + # the pthread library. Otherwise use SYNC=nosync + #SYNC=posync + #SYNC=nosync +-SYNC=@SYNC@ ++SYNC=nosync + + # programs we use + RM=rm -f +@@ -518,27 +518,27 @@ + #DEVICE_DEVS20=$(DD)cljet5.dev $(DD)cljet5c.dev + #DEVICE_DEVS21=$(DD)spotcmyk.dev $(DD)devicen.dev $(DD)xcf.dev $(DD)psdcmyk.dev $(DD)psdrgb.dev + DEVICE_DEVS=$(DISPLAY_DEV) @X11_DEVS@ +-DEVICE_DEVS1=@F_DEVS@ +-DEVICE_DEVS2=@P_DEVS@ +-DEVICE_DEVS3=@CUPS_DEVS@ +-DEVICE_DEVS4=@IJS_DEVS@ +-DEVICE_DEVS5=@OMNIDEVS@ +-DEVICE_DEVS6=@PNG_DEVS@ +-DEVICE_DEVS7=@JBIG2_DEVS@ +-DEVICE_DEVS8=@SVG_DEVS@ +-DEVICE_DEVS9= +-DEVICE_DEVS10= +-DEVICE_DEVS11= +-DEVICE_DEVS12= +-DEVICE_DEVS13= +-DEVICE_DEVS14= +-DEVICE_DEVS15= +-DEVICE_DEVS16= +-DEVICE_DEVS17= +-DEVICE_DEVS18= +-DEVICE_DEVS19= +-DEVICE_DEVS20= +-DEVICE_DEVS21= ++#DEVICE_DEVS1=@F_DEVS@ ++#DEVICE_DEVS2=@P_DEVS@ ++#DEVICE_DEVS3=@CUPS_DEVS@ ++#DEVICE_DEVS4=@IJS_DEVS@ ++#DEVICE_DEVS5=@OMNIDEVS@ ++#DEVICE_DEVS6=@PNG_DEVS@ ++#DEVICE_DEVS7=@JBIG2_DEVS@ ++#DEVICE_DEVS8=@SVG_DEVS@ ++#DEVICE_DEVS9= ++#DEVICE_DEVS10= ++#DEVICE_DEVS11= ++#DEVICE_DEVS12= ++#DEVICE_DEVS13= ++#DEVICE_DEVS14= ++#DEVICE_DEVS15= ++#DEVICE_DEVS16= ++#DEVICE_DEVS17= ++#DEVICE_DEVS18= ++#DEVICE_DEVS19= ++#DEVICE_DEVS20= ++#DEVICE_DEVS21= + + + # Shared library target to build. +@@ -601,7 +601,6 @@ + include $(GLSRCDIR)/lwf_jp2.mak + include $(GLSRCDIR)/openjpeg.mak + include $(GLSRCDIR)/icclib.mak +-include $(GLSRCDIR)/$(WHICH_CMS).mak + include $(GLSRCDIR)/ijs.mak + @LCUPSINCLUDE@ + @LCUPSIINCLUDE@ diff --git a/print/ghostscript9-x11/files/patch-base-configure.ac b/print/ghostscript9-x11/files/patch-base-configure.ac new file mode 100644 index 000000000000..10d21bc83a3a --- /dev/null +++ b/print/ghostscript9-x11/files/patch-base-configure.ac @@ -0,0 +1,121 @@ +--- base/configure.ac.orig 2012-08-08 17:01:36.000000000 +0900 ++++ base/configure.ac 2015-08-21 12:40:57.576690000 +0900 +@@ -623,35 +623,6 @@ + AC_SUBST(FT_CFLAGS) + AC_SUBST(FT_LIBS) + +-AC_MSG_CHECKING([for local jpeg library source]) +-dnl At present, we give the local source priority over the shared +-dnl build, so that the D_MAX_BLOCKS_IN_MCU patch will be applied. +-dnl A more sophisticated approach would be to test the shared lib +-dnl to see whether it has already been patched. +-LIBJPEGDIR=src +-if test -f jpeg/jpeglib.h; then +- AC_MSG_RESULT([jpeg]) +- SHARE_LIBJPEG=0 +- LIBJPEGDIR=jpeg +-elif test -f jpeg-6b/jpeglib.h; then +- AC_MSG_RESULT([jpeg-6b]) +- SHARE_LIBJPEG=0 +- LIBJPEGDIR=jpeg-6b +-else +- AC_MSG_RESULT([no]) +- AC_CHECK_LIB(jpeg, jpeg_set_defaults, [ +- AC_CHECK_HEADERS([jpeglib.h], [SHARE_LIBJPEG=1]) +- ]) +-fi +-if test -z "$SHARE_LIBJPEG"; then +- AC_MSG_ERROR([I wasn't able to find a copy +- of the jpeg library. This is required for compiling +- ghostscript. Please download a copy of the source, +- e.g. from http://www.ijg.org/, unpack it at the +- top level of the gs source tree, and rename +- the directory to 'jpeg'. +- ]) +-fi + AC_SUBST(SHARE_LIBJPEG) + AC_SUBST(LIBJPEGDIR) + dnl check for the internal jpeg memory header +@@ -731,44 +702,6 @@ + AC_SUBST(LIBPNGDIR) + #AC_SUBST(PNGDEVS) + +-WHICHLCMS= +- +-AC_ARG_WITH([lcms], AC_HELP_STRING([--with-lcms], +- [try to use LittleCMS 1.x instead of the default of LittleCMS 2.x])) +- +-if test x$with_lcms != xyes; then +- AC_MSG_CHECKING([for local lcms2 library source]) +- LCMS2DIR=lcms2 +- if test -f $LCMS2DIR/include/lcms2.h; then +- AC_MSG_RESULT([yes]) +- SHARELCMS=0 +- WHICHLCMS=lcms2 +- else +- AC_MSG_RESULT([no]) +- AC_MSG_CHECKING([for system lcms2 library]) +- AC_CHECK_LIB(lcms2, cmsCreateXYZProfile, [ +- AC_CHECK_HEADERS([lcms2.h], [LCMS2DIR="";SHARELCMS=1;WHICHLCMS=lcms2]) +- ]) +- fi +-fi +- +-if test x$WHICHLCMS = x; then +- AC_MSG_CHECKING([for local lcms library source]) +- LCMSDIR=lcms +- SHARELCMS=0 +- if test -f $LCMSDIR/include/lcms.h; then +- AC_MSG_RESULT([yes]) +- SHARELCMS=0 +- WHICHLCMS=lcms +- else +- +- AC_MSG_ERROR([LittleCMS source not found!]) +- #AC_CHECK_LIB(lcms, cmsCreateXYZProfile, [ +- # AC_CHECK_HEADERS([lcms.h], [SHARELCMS=1;LCMSDIR=""]) +- # ]) +- fi +-fi +- + AC_SUBST(SHARELCMS) + AC_SUBST(WHICHLCMS) + AC_SUBST(LCMSDIR) +@@ -1303,7 +1236,7 @@ + X_DEVS="" + X_LIBS="" + +-if test x$no_x != xyes; then ++if test x$with_x != xno; then + if test "$x_libraries" = "/usr/lib"; then + echo "Ignoring X library directory \"$x_libraries\" requested by configure." + x_libraries="NONE" +@@ -1701,7 +1634,12 @@ + DBG_CFLAGS="$DYNAMIC_CFLAGS $DBG_CFLAGS" + ;; + *BSD) +- DYNAMIC_DEVS="\$(GLOBJDIR)/X11.so" ++ if test "x$X_DEVS" != x; then ++ DYNAMIC_DEVS="\$(GLOBJDIR)/X11.so" ++ INSTALL_SHARED="install-shared" ++ else ++ DYNAMIC_DEVS="" ++ fi + DYNAMIC_FLAGS="-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\\\"\$(gssharedir)\\\"" + X11_DEVS="" + OPT_CFLAGS="$DYNAMIC_CFLAGS $OPT_CFLAGS" +@@ -1758,11 +1696,11 @@ + fontpath="${fontpath}:$datadir/fonts/default/TrueType" + + # These font directories are used by IRIX... +- fontpath="${fontpath}:/usr/lib/DPS/outline/base" ++ # fontpath="${fontpath}:/usr/lib/DPS/outline/base" + + # These font directories are used by Solaris... +- fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/Type1" +- fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/TrueType" ++ # fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/Type1" ++ # fontpath="${fontpath}:/usr/openwin/lib/X11/fonts/TrueType" + + # This font directory is used by CUPS... + if test "x$CUPSCONFIG" != x; then diff --git a/print/ghostscript9/files/patch-base-devs.mak b/print/ghostscript9-x11/files/patch-base-devs.mak index 706e86737cbe..8a606f1e9588 100644 --- a/print/ghostscript9/files/patch-base-devs.mak +++ b/print/ghostscript9-x11/files/patch-base-devs.mak @@ -1,6 +1,6 @@ ---- base/devs.mak.orig 2009-02-14 09:46:58.000000000 +0900 -+++ base/devs.mak 2009-12-20 01:39:02.000000000 +0900 -@@ -418,10 +418,10 @@ +--- base/devs.mak.orig 2012-08-08 17:01:36.000000000 +0900 ++++ base/devs.mak 2015-08-21 12:18:59.546901000 +0900 +@@ -434,10 +434,10 @@ ### NON PORTABLE, ONLY UNIX WITH GCC SUPPORT $(GLOBJ)lvga256.so : $(lvga256_) @@ -13,7 +13,16 @@ ### -------------------------- The X11 device -------------------------- ### -@@ -524,7 +524,7 @@ +@@ -479,7 +479,7 @@ + # const/non-const cast required by the X headers that we can't work around. + $(GLOBJ)gdevxres.$(OBJ) : $(GLSRC)gdevxres.c $(std_h) $(x__h)\ + $(gsmemory_h) $(gstypes_h) $(gxdevice_h) $(gdevx_h) +- $(CC_NO_WARN) $(GLCCFLAGS) $(XINCLUDE) $(GLO_)gdevxres.$(OBJ) $(C_) $(GLSRC)gdevxres.c ++ $(GLCCSHARED) $(XINCLUDE) $(GLO_)gdevxres.$(OBJ) $(C_) $(GLSRC)gdevxres.c + + # Alternate X11-based devices to help debug other drivers. + # x11alpha pretends to have 4 bits of alpha channel. +@@ -535,7 +535,7 @@ ### NON PORTABLE, ONLY UNIX WITH GCC SUPPORT $(GLOBJ)X11.so : $(x11alt_) $(x11_) diff --git a/print/ghostscript9-x11/files/patch-base-gdevl256.c b/print/ghostscript9-x11/files/patch-base-gdevl256.c new file mode 100644 index 000000000000..d2fcd1b42baa --- /dev/null +++ b/print/ghostscript9-x11/files/patch-base-gdevl256.c @@ -0,0 +1,15 @@ +--- base/gdevl256.c.orig 2011-07-17 19:57:32.000000000 +0900 ++++ base/gdevl256.c 2011-07-17 19:57:39.000000000 +0900 +@@ -302,12 +302,3 @@ + gl_line(x0, y0, x1, y1, color); + return 0; + } +- +-#ifdef GS_DEVS_SHARED +-extern void gs_lib_register_device(const gx_device *dev); +-void +-gs_shared_init(void) +-{ +- gs_lib_register_device(&gs_lvga256_device); +-} +-#endif diff --git a/print/ghostscript9-x11/files/patch-base-gdevperm.c b/print/ghostscript9-x11/files/patch-base-gdevperm.c new file mode 100644 index 000000000000..07870f314ac4 --- /dev/null +++ b/print/ghostscript9-x11/files/patch-base-gdevperm.c @@ -0,0 +1,19 @@ +--- base/gdevperm.c.orig 2012-02-08 17:48:48.000000000 +0900 ++++ base/gdevperm.c 2012-02-13 00:44:23.000000000 +0900 +@@ -285,7 +285,7 @@ + (strncmp((const char *)name, (const char *)str, name_size) == 0)) + + static int +-perm_get_color_comp_index(const gx_device *pdev, const char *pname, ++perm_get_color_comp_index(gx_device *pdev, const char *pname, + int name_size, int component_type) + { + const gx_device_perm_t * const dev = (const gx_device_perm_t *)pdev; +@@ -332,7 +332,6 @@ + perm_decode_color(gx_device *dev, gx_color_index color, gx_color_value *out) + { + int bpc = 8; +- int drop = sizeof(gx_color_value) * 8 - bpc; + int mask = (1 << bpc) - 1; + int i = 0; + int ncomp = dev->color_info.num_components; diff --git a/print/ghostscript9-x11/files/patch-base-gdevplib.c b/print/ghostscript9-x11/files/patch-base-gdevplib.c new file mode 100644 index 000000000000..96a096337dd3 --- /dev/null +++ b/print/ghostscript9-x11/files/patch-base-gdevplib.c @@ -0,0 +1,14 @@ +--- base/gdevplib.c.orig 2012-02-08 17:48:47.000000000 +0900 ++++ base/gdevplib.c 2012-02-13 01:23:46.000000000 +0900 +@@ -151,7 +151,11 @@ + + #ifdef TESTING_WITH_NO_BAND_DONOR + ++#if !defined(__FreeBSD__) + #include <malloc.h> ++#else ++#include <stdlib.h> ++#endif + + static void *my_buffer; + diff --git a/print/ghostscript9-x11/files/patch-base-gp_unix.c b/print/ghostscript9-x11/files/patch-base-gp_unix.c new file mode 100644 index 000000000000..277ef51a22ab --- /dev/null +++ b/print/ghostscript9-x11/files/patch-base-gp_unix.c @@ -0,0 +1,47 @@ +--- base/gp_unix.c.orig 2012-08-08 17:01:36.000000000 +0900 ++++ base/gp_unix.c 2015-08-20 15:15:51.166042000 +0900 +@@ -52,6 +52,7 @@ + * and applied as a patch (preferable). + */ + #include <sys/types.h> ++#include <limits.h> + #include <dirent.h> + #include <dlfcn.h> + #include <string.h> +@@ -61,26 +62,25 @@ + { + DIR* dir = NULL; + struct dirent* dirent; +- char buff[1024]; ++ char buff[PATH_MAX]; + char* pbuff; + void* handle; + void (*gs_shared_init)(void); + +- strncpy(buff, GS_DEVS_SHARED_DIR, sizeof(buff) - 2); +- pbuff = buff + strlen(buff); +- *pbuff++ = '/'; *pbuff = '\0'; +- + dir = opendir(GS_DEVS_SHARED_DIR); + if (dir == 0) return; + + while ((dirent = readdir(dir)) != 0) { +- strncpy(pbuff, dirent->d_name, sizeof(buff) - (pbuff - buff) - 1); +- if ((handle = dlopen(buff, RTLD_NOW)) != 0) { +- if ((gs_shared_init = dlsym(handle, "gs_shared_init")) != 0) { ++ snprintf(buff, sizeof(buff), "%s/%s", GS_DEVS_SHARED_DIR, dirent->d_name); ++ pbuff = buff + strlen(buff) - 3; ++ if (strcmp(pbuff, ".so") != 0) ++ continue; ++ handle = dlopen(buff, RTLD_NOW); ++ if (handle == NULL) ++ continue; ++ gs_shared_init = dlsym(handle, "gs_shared_init"); ++ if (gs_shared_init != NULL) + (*gs_shared_init)(); +- } else { +- } +- } + } + + closedir(dir); diff --git a/print/ghostscript9-x11/files/patch-base-gs.mak b/print/ghostscript9-x11/files/patch-base-gs.mak new file mode 100644 index 000000000000..50d31a63a2d2 --- /dev/null +++ b/print/ghostscript9-x11/files/patch-base-gs.mak @@ -0,0 +1,11 @@ +--- base/gs.mak.orig 2012-08-08 17:01:36.000000000 +0900 ++++ base/gs.mak 2012-10-14 02:29:03.000000000 +0900 +@@ -437,7 +437,7 @@ + ld_tr=$(GLGENDIR)$(D)ld.tr + $(ld_tr) : \ + $(GS_MAK) $(TOP_MAKEFILES) $(GLSRCDIR)$(D)version.mak $(GENCONF_XE) $(ECHOGS_XE) $(devs_tr) $(DEVS_ALL) $(GLGENDIR)$(D)libcore.dev +- $(EXP)$(GENCONF_XE) $(devs_tr) -h $(gconfxx_h) $(CONFILES) $(CONFLDTR) $(ld_tr) ++ $(EXP)$(GENCONF_XE) $(devs_tr) -h /dev/stdout $(CONFILES) $(CONFLDTR) $(ld_tr) | awk 'BEGIN{j=0; p=1;} /jpeg_device/ {if(j++ > 0) p=0;} // { if(p==1) { print; } else { p=1 } }' > $(gconfxx_h) + $(EXP)$(ECHOGS_XE) -a $(gconfxx_h) $(GCONFIG_EXTRAS) + + $(gconfxx_h) : $(ld_tr) diff --git a/print/ghostscript9-x11/files/patch-base-gsicc_create.c b/print/ghostscript9-x11/files/patch-base-gsicc_create.c new file mode 100644 index 000000000000..82bfee6c37ef --- /dev/null +++ b/print/ghostscript9-x11/files/patch-base-gsicc_create.c @@ -0,0 +1,10 @@ +--- base/gsicc_create.c.orig 2011-08-05 20:12:20.000000000 +0900 ++++ base/gsicc_create.c 2011-12-06 15:23:14.000000000 +0900 +@@ -113,6 +113,7 @@ + + */ + ++#include <sys/types.h> + #include "icc34.h" /* Note this header is needed even if lcms is not + compiled as default CMS */ + #include "string_.h" diff --git a/print/ghostscript9-x11/files/patch-base-gsmalloc.c b/print/ghostscript9-x11/files/patch-base-gsmalloc.c new file mode 100644 index 000000000000..93bb2a449788 --- /dev/null +++ b/print/ghostscript9-x11/files/patch-base-gsmalloc.c @@ -0,0 +1,11 @@ +--- base/gsmalloc.c.orig 2015-07-24 09:41:05.295969000 +0900 ++++ base/gsmalloc.c 2015-07-24 09:41:15.146305000 +0900 +@@ -178,7 +178,7 @@ + } 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"); diff --git a/print/ghostscript9-x11/files/patch-base-gxobj.h b/print/ghostscript9-x11/files/patch-base-gxobj.h new file mode 100644 index 000000000000..529efe379df2 --- /dev/null +++ b/print/ghostscript9-x11/files/patch-base-gxobj.h @@ -0,0 +1,18 @@ +--- base/gxobj.h.orig Tue Mar 14 01:18:19 2006 ++++ base/gxobj.h Fri Mar 23 14:41:44 2007 +@@ -109,11 +109,15 @@ + * required by the hardware, regardless of the value of obj_align_mod. + * See gsmemraw.h for more information about this. + */ ++#if !defined(__ia64__) && !defined(__amd64__) + #define obj_align_mod\ + (((ARCH_ALIGN_MEMORY_MOD - 1) |\ + (align_bitmap_mod - 1) |\ + (obj_back_scale - 1)) + 1) + /* The only possible values for obj_align_mod are 4, 8, or 16.... */ ++#else ++#define obj_align_mod 16 ++#endif + #if obj_align_mod == 4 + # define log2_obj_align_mod 2 + #else diff --git a/print/ghostscript9-x11/files/patch-base-lib.mak b/print/ghostscript9-x11/files/patch-base-lib.mak new file mode 100644 index 000000000000..033be0a928e3 --- /dev/null +++ b/print/ghostscript9-x11/files/patch-base-lib.mak @@ -0,0 +1,11 @@ +--- base/lib.mak.orig 2015-08-21 12:20:36.687050000 +0900 ++++ base/lib.mak 2015-08-21 12:20:57.497755000 +0900 +@@ -990,7 +990,7 @@ + $(GLOBJ)gsparamx.$(OBJ) : $(AK) $(GLSRC)gsparamx.c $(string__h)\ + $(gserrors_h) $(gsmemory_h) $(gsparam_h) $(gsparamx_h)\ + $(gstypes_h) $(MAKEDIRS) +- $(GLCC) $(GLO_)gsparamx.$(OBJ) $(C_) $(GLSRC)gsparamx.c ++ $(GLCCSHARED) $(GLO_)gsparamx.$(OBJ) $(C_) $(GLSRC)gsparamx.c + + # Future replacement for gsparams.c + $(GLOBJ)gsparam2.$(OBJ) : $(GLSRC)gsparam2.c $(AK) $(gx_h)\ diff --git a/print/ghostscript9-x11/files/patch-base-unix-dll.mak b/print/ghostscript9-x11/files/patch-base-unix-dll.mak new file mode 100644 index 000000000000..58a428806c59 --- /dev/null +++ b/print/ghostscript9-x11/files/patch-base-unix-dll.mak @@ -0,0 +1,13 @@ +--- base/unix-dll.mak.orig 2012-08-08 02:01:36.000000000 -0600 ++++ base/unix-dll.mak 2014-04-18 12:12:34.000000000 -0600 +@@ -162,8 +162,8 @@ + -mkdir -p $(DESTDIR)$(bindir) + -mkdir -p $(DESTDIR)$(libdir) + -mkdir -p $(DESTDIR)$(gsincludedir) +- $(INSTALL_PROGRAM) $(GSSOC) $(DESTDIR)$(bindir)/$(GSSOC_XENAME) +- $(INSTALL_PROGRAM) $(GSSOX) $(DESTDIR)$(bindir)/$(GSSOX_XENAME) ++ $(INSTALL_PROGRAM) -s $(GSSOC) $(DESTDIR)$(bindir)/$(GSSOC_XENAME) ++ $(INSTALL_PROGRAM) -s $(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) diff --git a/print/ghostscript9-x11/files/patch-base-unixinst.mak b/print/ghostscript9-x11/files/patch-base-unixinst.mak new file mode 100644 index 000000000000..51d6baa31dad --- /dev/null +++ b/print/ghostscript9-x11/files/patch-base-unixinst.mak @@ -0,0 +1,20 @@ +--- base/unixinst.mak.orig 2012-08-08 17:01:36.000000000 +0900 ++++ base/unixinst.mak 2014-11-23 17:29:15.000000000 +0900 +@@ -45,7 +45,7 @@ + wftopfa fixmswrd.pl lprsetup.sh pj-gs.sh pv.sh sysvlp.sh unix-lpr.sh ;\ + do if ( test -f $(PSLIBDIR)/$$f ); then \ + (cat $(PSLIBDIR)/$$f | sed -e "s/GS_EXECUTABLE=gs/GS_EXECUTABLE=$(GS)/" > $(PSOBJDIR)/$$f); \ +- $(INSTALL_PROGRAM) $(PSOBJDIR)/$$f $(DESTDIR)$(scriptdir)/$$f; \ ++ $(INSTALL_SCRIPT) $(PSOBJDIR)/$$f $(DESTDIR)$(scriptdir)/$$f; \ + fi;\ + done' + +@@ -142,7 +142,7 @@ + done' + + # install the man pages for each locale +-MAN_LCDIRS=. de ++MAN_LCDIRS=. + MAN1_LINKS_PS2PS=eps2eps + MAN1_LINKS_PS2PDF=ps2pdf12 ps2pdf13 ps2pdf14 + MAN1_LINKS_GSLP=gsbj gsdj gsdj500 gslj diff --git a/print/ghostscript9-x11/pkg-descr b/print/ghostscript9-x11/pkg-descr new file mode 100644 index 000000000000..8f9b84cf413c --- /dev/null +++ b/print/ghostscript9-x11/pkg-descr @@ -0,0 +1,8 @@ +This package installs X11 support library which adds the following +devices to the installed Ghostscript: + + x11, x11alpha. x11cmyk, x11mono, x11_, x11alt_, x11cmyk2, x11cmyk4, + x11cmyk8, x11rg16x, x11rg32x, x11gray2, and x11gray4. + +WWW: http://www.cs.wisc.edu/~ghost/doc/GPL/index.htm + http://www.ghostscript.com/ diff --git a/print/ghostscript9/files/patch-base-configure.ac b/print/ghostscript9/files/patch-base-configure.ac deleted file mode 100644 index 1d3d25083f83..000000000000 --- a/print/ghostscript9/files/patch-base-configure.ac +++ /dev/null @@ -1,25 +0,0 @@ ---- base/configure.ac.orig 2012-02-08 17:48:48.000000000 +0900 -+++ base/configure.ac 2012-02-13 00:31:19.000000000 +0900 -@@ -1244,7 +1244,7 @@ - X_DEVS="" - X_LIBS="" - --if test x$no_x != xyes; then -+if test x$with_x != xno; then - if test "$x_libraries" = "/usr/lib"; then - echo "Ignoring X library directory \"$x_libraries\" requested by configure." - x_libraries="NONE" -@@ -1637,7 +1637,12 @@ - DBG_CFLAGS="$DYNAMIC_CFLAGS $DBG_CFLAGS" - ;; - *BSD) -- DYNAMIC_DEVS="\$(GLOBJDIR)/X11.so" -+ if test "x$X_DEVS" != x; then -+ DYNAMIC_DEVS="\$(GLOBJDIR)/X11.so" -+ INSTALL_SHARED="install-shared" -+ else -+ DYNAMIC_DEVS="" -+ fi - DYNAMIC_FLAGS="-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\\\"\$(gssharedir)\\\"" - X11_DEVS="" - OPT_CFLAGS="$DYNAMIC_CFLAGS $OPT_CFLAGS" diff --git a/print/ghostscript9/pkg-plist b/print/ghostscript9/pkg-plist deleted file mode 100644 index c972db0dba17..000000000000 --- a/print/ghostscript9/pkg-plist +++ /dev/null @@ -1,645 +0,0 @@ -bin/dvipdf -bin/eps2eps -%%GS_epag%%bin/ert -bin/font2c -bin/gs -bin/gsbj -bin/gsc -bin/gsdj -bin/gsdj500 -bin/gslj -bin/gslp -bin/gsnd -bin/gsx -bin/lprsetup.sh -%%GS_pcl3%%bin/pcl3opts -bin/pdf2dsc -bin/pdf2ps -bin/pdfopt -bin/pf2afm -bin/pfbtopfa -bin/pphs -bin/printafm -bin/ps2ascii -bin/ps2epsi -bin/ps2pdf -bin/ps2pdf12 -bin/ps2pdf13 -bin/ps2pdf14 -bin/ps2pdfwr -bin/ps2ps -bin/ps2ps2 -bin/unix-lpr.sh -bin/wftopfa -include/ghostscript/gdevdsp.h -include/ghostscript/iapi.h -include/ghostscript/ierrors.h -lib/libgs.so -lib/libgs.so.%%SHLIB_VER%% -lib/libgs.so.%%GS_VERSION%% -%%X11BITS%%lib/ghostscript/%%GS_VERSION%%/X11.so -man/man1/dvipdf.1.gz -man/man1/eps2eps.1.gz -man/man1/font2c.1.gz -%%GS_pcl3%%man/man1/gs-pcl3.1.gz -man/man1/gs.1.gz -man/man1/gsbj.1.gz -man/man1/gsdj.1.gz -man/man1/gsdj500.1.gz -man/man1/gslj.1.gz -man/man1/gslp.1.gz -man/man1/gsnd.1.gz -%%GS_pcl3%%man/man1/pcl3opts.1.gz -man/man1/pdf2dsc.1.gz -man/man1/pdf2ps.1.gz -man/man1/pdfopt.1.gz -man/man1/pf2afm.1.gz -man/man1/pfbtopfa.1.gz -man/man1/printafm.1.gz -man/man1/ps2ascii.1.gz -man/man1/ps2epsi.1.gz -man/man1/ps2pdf.1.gz -man/man1/ps2pdf12.1.gz -man/man1/ps2pdf13.1.gz -man/man1/ps2pdf14.1.gz -man/man1/ps2pdfwr.1.gz -man/man1/ps2ps.1.gz -man/man1/wftopfa.1.gz -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78-EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78-EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78-RKSJ-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78ms-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/78ms-RKSJ-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/83pv-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/90ms-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/90ms-RKSJ-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/90msp-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/90msp-RKSJ-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/90pv-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/90pv-RKSJ-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Add-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Add-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Add-RKSJ-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Add-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-0 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-1 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-2 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-3 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-4 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-5 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-CNS1-6 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-0 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-1 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-2 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-3 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-4 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-GB1-5 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-0 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-1 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-2 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-3 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-4 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-5 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Japan1-6 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Korea1-0 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Korea1-1 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Adobe-Korea1-2 -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/B5-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/B5-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/B5pc-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/B5pc-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS-EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS-EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS1-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS1-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS2-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/CNS2-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/ETHK-B5-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/ETHK-B5-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/ETen-B5-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/ETen-B5-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/ETenms-B5-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/ETenms-B5-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Ext-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Ext-RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Ext-RKSJ-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Ext-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GB-EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GB-EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GB-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GB-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBK-EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBK-EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBK2K-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBK2K-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBKp-EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBKp-EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBT-EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBT-EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBT-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBT-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBTpc-EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBTpc-EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBpc-EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/GBpc-EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKdla-B5-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKdla-B5-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKdlb-B5-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKdlb-B5-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKgccs-B5-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKgccs-B5-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKm314-B5-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKm314-B5-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKm471-B5-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKm471-B5-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKscs-B5-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/HKscs-B5-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Hankaku -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Hiragana -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Identity-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Identity-UTF16-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Identity-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSC-EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSC-EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSC-Johab-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSC-Johab-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSCms-UHC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSCms-UHC-HW-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSCms-UHC-HW-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSCms-UHC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSCpc-EUC-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/KSCpc-EUC-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Katakana -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/NWP-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/NWP-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/RKSJ-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/RKSJ-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/Roman -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniCNS-UCS2-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniCNS-UCS2-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniCNS-UTF16-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniCNS-UTF16-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniCNS-UTF32-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniCNS-UTF32-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniCNS-UTF8-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniCNS-UTF8-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniGB-UCS2-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniGB-UCS2-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniGB-UTF16-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniGB-UTF16-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniGB-UTF32-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniGB-UTF32-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniGB-UTF8-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniGB-UTF8-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniHojo-UCS2-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UCS2-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UCS2-HW-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UCS2-HW-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UCS2-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UTF16-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UTF16-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UTF32-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UTF32-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UTF8-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS-UTF8-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS2004-UTF16-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS2004-UTF16-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS2004-UTF32-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS2004-UTF32-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS2004-UTF8-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJIS2004-UTF8-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJISPro-UCS2-HW-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJISPro-UCS2-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJISPro-UTF8-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJISX0213-UTF32-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJISX0213-UTF32-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJISX02132004-UTF32-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniJISX02132004-UTF32-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniKS-UCS2-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniKS-UCS2-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniKS-UTF16-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniKS-UTF16-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniKS-UTF32-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniKS-UTF32-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniKS-UTF8-H -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/UniKS-UTF8-V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/V -%%DATADIR%%/%%GS_VERSION%%/Resource/CMap/WP-Symbol -%%DATADIR%%/%%GS_VERSION%%/Resource/ColorSpace/DefaultCMYK -%%DATADIR%%/%%GS_VERSION%%/Resource/ColorSpace/DefaultGray -%%DATADIR%%/%%GS_VERSION%%/Resource/ColorSpace/DefaultRGB -%%DATADIR%%/%%GS_VERSION%%/Resource/ColorSpace/TrivialCMYK -%%DATADIR%%/%%GS_VERSION%%/Resource/ColorSpace/sGray -%%DATADIR%%/%%GS_VERSION%%/Resource/ColorSpace/sRGB -%%DATADIR%%/%%GS_VERSION%%/Resource/Decoding/FCO_Dingbats -%%DATADIR%%/%%GS_VERSION%%/Resource/Decoding/FCO_Symbol -%%DATADIR%%/%%GS_VERSION%%/Resource/Decoding/FCO_Unicode -%%DATADIR%%/%%GS_VERSION%%/Resource/Decoding/FCO_Wingdings -%%DATADIR%%/%%GS_VERSION%%/Resource/Decoding/Latin1 -%%DATADIR%%/%%GS_VERSION%%/Resource/Decoding/StandardEncoding -%%DATADIR%%/%%GS_VERSION%%/Resource/Decoding/Unicode -%%DATADIR%%/%%GS_VERSION%%/Resource/Encoding/Wingdings -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/CenturySchL-Bold -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/CenturySchL-BoldItal -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/CenturySchL-Ital -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/CenturySchL-Roma -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/Dingbats -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusMonL-Bold -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusMonL-BoldObli -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusMonL-Regu -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusMonL-ReguObli -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusRomNo9L-Medi -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusRomNo9L-MediItal -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusRomNo9L-Regu -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusRomNo9L-ReguItal -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusSanL-Bold -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusSanL-BoldCond -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusSanL-BoldCondItal -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusSanL-BoldItal -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusSanL-Regu -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusSanL-ReguCond -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusSanL-ReguCondItal -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/NimbusSanL-ReguItal -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/StandardSymL -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWBookmanL-DemiBold -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWBookmanL-DemiBoldItal -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWBookmanL-Ligh -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWBookmanL-LighItal -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWChanceryL-MediItal -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWGothicL-Book -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWGothicL-BookObli -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWGothicL-Demi -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWGothicL-DemiObli -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWPalladioL-Bold -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWPalladioL-BoldItal -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWPalladioL-Ital -%%DATADIR%%/%%GS_VERSION%%/Resource/Font/URWPalladioL-Roma -%%DATADIR%%/%%GS_VERSION%%/iccprofiles/default_cmyk.icc -%%DATADIR%%/%%GS_VERSION%%/iccprofiles/default_gray.icc -%%DATADIR%%/%%GS_VERSION%%/iccprofiles/default_rgb.icc -%%DATADIR%%/%%GS_VERSION%%/iccprofiles/lab.icc -%%DATADIR%%/%%GS_VERSION%%/iccprofiles/gray_to_k.icc -%%DATADIR%%/%%GS_VERSION%%/iccprofiles/ps_cmyk.icc -%%DATADIR%%/%%GS_VERSION%%/iccprofiles/ps_gray.icc -%%DATADIR%%/%%GS_VERSION%%/iccprofiles/ps_rgb.icc -%%DATADIR%%/%%GS_VERSION%%/iccprofiles/sgray.icc -%%DATADIR%%/%%GS_VERSION%%/iccprofiles/srgb.icc -%%DATADIR%%/%%GS_VERSION%%/doc/API.htm -%%DATADIR%%/%%GS_VERSION%%/doc/AUTHORS -%%DATADIR%%/%%GS_VERSION%%/doc/C-style.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Changes.htm -%%DATADIR%%/%%GS_VERSION%%/doc/COPYING -%%DATADIR%%/%%GS_VERSION%%/doc/Commprod.htm -%%DATADIR%%/%%GS_VERSION%%/doc/DLL.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Deprecated.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Details.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Details8.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Details9.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Develop.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Devices.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Drivers.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Fonts.htm -%%DATADIR%%/%%GS_VERSION%%/doc/GS9_Color_Management.pdf -%%DATADIR%%/%%GS_VERSION%%/doc/GS9_Color_Management.tex -%%DATADIR%%/%%GS_VERSION%%/doc/Helpers.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Hershey.htm -%%DATADIR%%/%%GS_VERSION%%/doc/History1.htm -%%DATADIR%%/%%GS_VERSION%%/doc/History2.htm -%%DATADIR%%/%%GS_VERSION%%/doc/History3.htm -%%DATADIR%%/%%GS_VERSION%%/doc/History4.htm -%%DATADIR%%/%%GS_VERSION%%/doc/History5.htm -%%DATADIR%%/%%GS_VERSION%%/doc/History6.htm -%%DATADIR%%/%%GS_VERSION%%/doc/History7.htm -%%DATADIR%%/%%GS_VERSION%%/doc/History8.htm -%%DATADIR%%/%%GS_VERSION%%/doc/History9.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Install.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Issues.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Language.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Lib.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Make.htm -%%DATADIR%%/%%GS_VERSION%%/doc/News.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Projects.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Ps-style.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Ps2epsi.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Ps2pdf.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Ps2ps2.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Psfiles.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Readme.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Release.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Source.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Unix-lpr.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Use.htm -%%DATADIR%%/%%GS_VERSION%%/doc/WhatIsGS.htm -%%DATADIR%%/%%GS_VERSION%%/doc/Xfonts.htm -%%DATADIR%%/%%GS_VERSION%%/doc/gs.css -%%DATADIR%%/%%GS_VERSION%%/doc/gs-vms.hlp -%%DATADIR%%/%%GS_VERSION%%/doc/gsdoc.el -%%DATADIR%%/%%GS_VERSION%%/doc/index.html -%%DATADIR%%/%%GS_VERSION%%/doc/pscet_status.txt -%%DATADIR%%/%%GS_VERSION%%/doc/thirdparty.htm -%%DATADIR%%/%%GS_VERSION%%/examples/cjk/all_ac1.ps -%%DATADIR%%/%%GS_VERSION%%/examples/cjk/all_aj1.ps -%%DATADIR%%/%%GS_VERSION%%/examples/cjk/all_ak1.ps -%%DATADIR%%/%%GS_VERSION%%/examples/cjk/gscjk_ac.ps -%%DATADIR%%/%%GS_VERSION%%/examples/cjk/gscjk_aj.ps -%%DATADIR%%/%%GS_VERSION%%/examples/cjk/iso2022.ps -%%DATADIR%%/%%GS_VERSION%%/examples/cjk/all_ag1.ps -%%DATADIR%%/%%GS_VERSION%%/examples/cjk/all_aj2.ps -%%DATADIR%%/%%GS_VERSION%%/examples/cjk/article9.ps -%%DATADIR%%/%%GS_VERSION%%/examples/cjk/gscjk_ag.ps -%%DATADIR%%/%%GS_VERSION%%/examples/cjk/gscjk_ak.ps -%%DATADIR%%/%%GS_VERSION%%/examples/cjk/iso2022v.ps -%%DATADIR%%/%%GS_VERSION%%/examples/alphabet.ps -%%DATADIR%%/%%GS_VERSION%%/examples/annots.pdf -%%DATADIR%%/%%GS_VERSION%%/examples/chess.ps -%%DATADIR%%/%%GS_VERSION%%/examples/colorcir.ps -%%DATADIR%%/%%GS_VERSION%%/examples/doretree.ps -%%DATADIR%%/%%GS_VERSION%%/examples/escher.ps -%%DATADIR%%/%%GS_VERSION%%/examples/golfer.eps -%%DATADIR%%/%%GS_VERSION%%/examples/grayalph.ps -%%DATADIR%%/%%GS_VERSION%%/examples/ridt91.eps -%%DATADIR%%/%%GS_VERSION%%/examples/snowflak.ps -%%DATADIR%%/%%GS_VERSION%%/examples/text_graph_image_cmyk_rgb.pdf -%%DATADIR%%/%%GS_VERSION%%/examples/text_graphic_image.pdf -%%DATADIR%%/%%GS_VERSION%%/examples/tiger.eps -%%DATADIR%%/%%GS_VERSION%%/examples/transparency_example.ps -%%DATADIR%%/%%GS_VERSION%%/examples/vasarely.ps -%%DATADIR%%/%%GS_VERSION%%/examples/waterfal.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/FAPIcidfmap -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/FAPIcidfmap.orig -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/FAPIconfig -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/FAPIconfig.orig -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/FAPIfontmap -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/FCOfontmap-PCLPS2 -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/Fontmap -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/Fontmap.GS -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/cidfmap -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/cidfmap.orig -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_agl.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_btokn.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_cet.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_cff.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_cidcm.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_ciddc.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_cidfm.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_cidfn.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_cidtt.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_cmap.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_cspace.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_css_e.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_dbt_e.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_diskf.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_diskn.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_dpnxt.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_dps.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_dps1.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_dps2.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_dscp.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_epsf.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_fapi.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_fntem.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_fonts.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_frsd.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_icc.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_il1_e.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_img.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_init.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_l2img.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_lev2.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_ll3.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_mex_e.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_mgl_e.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_mro_e.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_pdf_e.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_pdfwr.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_res.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_resmp.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_setpd.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_statd.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_std_e.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_sym_e.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_trap.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_ttf.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_typ32.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_typ42.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_type1.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/gs_wan_e.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_base.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_cslayer.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_draw.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_font.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_main.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_ops.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_rbld.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/pdf_sec.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/Init/xlatmap -%%DATADIR%%/%%GS_VERSION%%/Resource/SubstCID/CNS1-WMode -%%DATADIR%%/%%GS_VERSION%%/Resource/SubstCID/GB1-WMode -%%DATADIR%%/%%GS_VERSION%%/Resource/SubstCID/Japan1-WMode -%%DATADIR%%/%%GS_VERSION%%/Resource/SubstCID/Korea1-WMode -%%DATADIR%%/%%GS_VERSION%%/lib/ht_ccsto.ps -%%DATADIR%%/%%GS_VERSION%%/lib/acctest.ps -%%DATADIR%%/%%GS_VERSION%%/lib/addxchar.ps -%%DATADIR%%/%%GS_VERSION%%/lib/align.ps -%%DATADIR%%/%%GS_VERSION%%/lib/caption.ps -%%DATADIR%%/%%GS_VERSION%%/lib/cid2code.ps -%%DATADIR%%/%%GS_VERSION%%/lib/decrypt.ps -%%DATADIR%%/%%GS_VERSION%%/lib/docie.ps -%%DATADIR%%/%%GS_VERSION%%/lib/font2c.ps -%%DATADIR%%/%%GS_VERSION%%/lib/font2pcl.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gslp.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gsnup.ps -%%DATADIR%%/%%GS_VERSION%%/lib/image-qa.ps -%%DATADIR%%/%%GS_VERSION%%/lib/impath.ps -%%DATADIR%%/%%GS_VERSION%%/lib/jispaper.ps -%%DATADIR%%/%%GS_VERSION%%/lib/landscap.ps -%%DATADIR%%/%%GS_VERSION%%/lib/level1.ps -%%DATADIR%%/%%GS_VERSION%%/lib/lines.ps -%%DATADIR%%/%%GS_VERSION%%/lib/markhint.ps -%%DATADIR%%/%%GS_VERSION%%/lib/markpath.ps -%%DATADIR%%/%%GS_VERSION%%/lib/mkcidfm.ps -%%DATADIR%%/%%GS_VERSION%%/lib/PDFA_def.ps -%%DATADIR%%/%%GS_VERSION%%/lib/PDFX_def.ps -%%DATADIR%%/%%GS_VERSION%%/lib/packfile.ps -%%DATADIR%%/%%GS_VERSION%%/lib/pcharstr.ps -%%DATADIR%%/%%GS_VERSION%%/lib/pf2afm.ps -%%DATADIR%%/%%GS_VERSION%%/lib/pfbtopfa.ps -%%DATADIR%%/%%GS_VERSION%%/lib/ppath.ps -%%DATADIR%%/%%GS_VERSION%%/lib/pphs.ps -%%DATADIR%%/%%GS_VERSION%%/lib/prfont.ps -%%DATADIR%%/%%GS_VERSION%%/lib/printafm.ps -%%DATADIR%%/%%GS_VERSION%%/lib/ps2ai.ps -%%DATADIR%%/%%GS_VERSION%%/lib/ps2ascii.ps -%%DATADIR%%/%%GS_VERSION%%/lib/ps2epsi.ps -%%DATADIR%%/%%GS_VERSION%%/lib/quit.ps -%%DATADIR%%/%%GS_VERSION%%/lib/rollconv.ps -%%DATADIR%%/%%GS_VERSION%%/lib/showchar.ps -%%DATADIR%%/%%GS_VERSION%%/lib/showpage.ps -%%DATADIR%%/%%GS_VERSION%%/lib/stcinfo.ps -%%DATADIR%%/%%GS_VERSION%%/lib/stcolor.ps -%%DATADIR%%/%%GS_VERSION%%/lib/stocht.ps -%%DATADIR%%/%%GS_VERSION%%/lib/traceimg.ps -%%DATADIR%%/%%GS_VERSION%%/lib/traceop.ps -%%DATADIR%%/%%GS_VERSION%%/lib/type1enc.ps -%%DATADIR%%/%%GS_VERSION%%/lib/type1ops.ps -%%DATADIR%%/%%GS_VERSION%%/lib/uninfo.ps -%%DATADIR%%/%%GS_VERSION%%/lib/unprot.ps -%%DATADIR%%/%%GS_VERSION%%/lib/viewcmyk.ps -%%DATADIR%%/%%GS_VERSION%%/lib/viewgif.ps -%%DATADIR%%/%%GS_VERSION%%/lib/viewjpeg.ps -%%DATADIR%%/%%GS_VERSION%%/lib/viewmiff.ps -%%DATADIR%%/%%GS_VERSION%%/lib/viewpcx.ps -%%DATADIR%%/%%GS_VERSION%%/lib/viewpbm.ps -%%DATADIR%%/%%GS_VERSION%%/lib/viewps2a.ps -%%DATADIR%%/%%GS_VERSION%%/lib/winmaps.ps -%%DATADIR%%/%%GS_VERSION%%/lib/wftopfa.ps -%%DATADIR%%/%%GS_VERSION%%/lib/wrfont.ps -%%DATADIR%%/%%GS_VERSION%%/lib/zeroline.ps -%%DATADIR%%/%%GS_VERSION%%/lib/pdf2dsc.ps -%%DATADIR%%/%%GS_VERSION%%/lib/pdfopt.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_ce_e.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_cmdl.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_fform.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_il2_e.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_kanji.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_ksb_e.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_lgo_e.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_lgx_e.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_pfile.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_rdlin.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_wl1_e.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_wl2_e.ps -%%DATADIR%%/%%GS_VERSION%%/lib/gs_wl5_e.ps -%%DATADIR%%/%%GS_VERSION%%/lib/pdfwrite.ps -%%DATADIR%%/%%GS_VERSION%%/lib/cbjc600.ppd -%%DATADIR%%/%%GS_VERSION%%/lib/cbjc800.ppd -%%DATADIR%%/%%GS_VERSION%%/lib/ghostpdf.ppd -%%DATADIR%%/%%GS_VERSION%%/lib/bj8.rpd -%%DATADIR%%/%%GS_VERSION%%/lib/bj8gc12f.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bj8hg12f.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bj8oh06n.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bj8pa06n.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bj8pp12f.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bj8ts06n.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a0.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a1.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a2.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a3.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a4.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a5.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a6.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a7.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610a8.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610b1.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610b2.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610b3.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610b4.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610b6.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610b7.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc610b8.upp -%%DATADIR%%/%%GS_VERSION%%/lib/cdj550.upp -%%DATADIR%%/%%GS_VERSION%%/lib/cdj690.upp -%%DATADIR%%/%%GS_VERSION%%/lib/cdj690ec.upp -%%DATADIR%%/%%GS_VERSION%%/lib/dnj750c.upp -%%DATADIR%%/%%GS_VERSION%%/lib/dnj750m.upp -%%DATADIR%%/%%GS_VERSION%%/lib/necp2x.upp -%%DATADIR%%/%%GS_VERSION%%/lib/necp2x6.upp -%%DATADIR%%/%%GS_VERSION%%/lib/ras1.upp -%%DATADIR%%/%%GS_VERSION%%/lib/ras24.upp -%%DATADIR%%/%%GS_VERSION%%/lib/ras3.upp -%%DATADIR%%/%%GS_VERSION%%/lib/ras32.upp -%%DATADIR%%/%%GS_VERSION%%/lib/ras4.upp -%%DATADIR%%/%%GS_VERSION%%/lib/ras8m.upp -%%DATADIR%%/%%GS_VERSION%%/lib/st640ih.upp -%%DATADIR%%/%%GS_VERSION%%/lib/st640ihg.upp -%%DATADIR%%/%%GS_VERSION%%/lib/st640p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/st640pg.upp -%%DATADIR%%/%%GS_VERSION%%/lib/st640pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/st640plg.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc1520h.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc2.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc200_h.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc2_h.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc2s_h.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc300.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc300bl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc300bm.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc500p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc500ph.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc600ih.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc600p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc600pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc640p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc800ih.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc800p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc800pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc_h.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc_l.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stcany.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stcany_h.upp -%%DATADIR%%/%%GS_VERSION%%/lib/gs_l.xbm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_l_m.xbm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_m.xbm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_m_m.xbm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_s.xbm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_s_m.xbm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_t.xbm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_t_m.xbm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_l.xpm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_m.xpm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_s.xpm -%%DATADIR%%/%%GS_VERSION%%/lib/gs_t.xpm -%%DATADIR%%/%%GS_VERSION%%/lib/dmp_init.ps -%%DATADIR%%/%%GS_VERSION%%/lib/dmp_site.ps -%%DATADIR%%/%%GS_VERSION%%/lib/escp_24.src -%%DATADIR%%/%%GS_VERSION%%/lib/PM760p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/PM760pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/PM820p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/PM820pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stc670p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stc670pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stc680p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stc680pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stc740p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stc740pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stc760p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stc760pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stc777p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stc777pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stp720p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stp720pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stp870p.upp -%%DATADIR%%/%%GS_VERSION%%/lib/Stp870pl.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc6000a1.upp -%%DATADIR%%/%%GS_VERSION%%/lib/bjc6000b1.upp -%%DATADIR%%/%%GS_VERSION%%/lib/s400a1.upp -%%DATADIR%%/%%GS_VERSION%%/lib/s400b1.upp -%%DATADIR%%/%%GS_VERSION%%/lib/sharp.upp -%%DATADIR%%/%%GS_VERSION%%/lib/sipixa6.upp -%%DATADIR%%/%%GS_VERSION%%/lib/stc740ih.upp -%%GS_dmprt%%%%DATADIR%%/%%GS_VERSION%%/lib/lqx70ch.upp -%%GS_dmprt%%%%DATADIR%%/%%GS_VERSION%%/lib/lqx70cl.upp -%%GS_dmprt%%%%DATADIR%%/%%GS_VERSION%%/lib/lqx70cm.upp -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/calign.ps -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/dumppdd.ps -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/example.mcf -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/if-pcl3 -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/levels-test.ps -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/margins-A4.ps -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/margins-A4Rotated.ps -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/margins-Env10Rotated.ps -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/margins-EnvDLRotated.ps -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/margins-Letter.ps -%%GS_pcl3%%%%DATADIR%%/%%GS_VERSION%%/pcl3/margins-LetterRotated.ps -%%DATADIR%%/%%GS_VERSION%%/Resource/CIDFSubst/DroidSansFallback.ttf -%%DATADIR%%/%%GS_VERSION%%/Resource/CIDFont/fonts -%%DATADIR%%/%%GS_VERSION%%/Resource/CIDFont/ArtifexBullet diff --git a/print/gspdf/Makefile b/print/gspdf/Makefile index 86ab8bd9c50b..0b77e4701e42 100644 --- a/print/gspdf/Makefile +++ b/print/gspdf/Makefile @@ -2,7 +2,7 @@ PORTNAME= gspdf PORTVERSION= 0.5 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= print gnustep MASTER_SITES= SAVANNAH/gap DISTNAME= GSPdf-${PORTVERSION} diff --git a/print/gsview/Makefile b/print/gsview/Makefile index 5d2e8582209d..850bca13f0d6 100644 --- a/print/gsview/Makefile +++ b/print/gsview/Makefile @@ -3,11 +3,11 @@ PORTNAME= gsview PORTVERSION= 4.9 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= print MASTER_SITES= LOCAL/bf -MAINTAINER= ports@FreeBSD.org +MAINTAINER= hrs@FreeBSD.org COMMENT= GUI to view, search, print, and convert PostScript and PDF documents LICENSE= AFPL @@ -20,9 +20,7 @@ RUN_DEPENDS+= epstool:${PORTSDIR}/graphics/epstool \ USES= cpe ghostscript USE_GNOME= gtk12 - MAKE_JOBS_UNSAFE= yes - PLIST_FILES= bin/gsview \ bin/gsview-help \ etc/gsview/printer.ini \ @@ -37,20 +35,22 @@ OPTIONS_DEFINE= DOCS post-patch: ${CP} ${WRKSRC}/srcunx/unx.mak ${WRKSRC}/Makefile ${REINPLACE_CMD} -e 's;malloc\.h;stdlib\.h;g' \ - ${WRKSRC}/src/doc2html.c ${WRKSRC}/src/doc2ipf.c \ - ${WRKSRC}/src/doc2xml.c + ${WRKSRC}/src/doc2html.c ${WRKSRC}/src/doc2ipf.c \ + ${WRKSRC}/src/doc2xml.c ${REINPLACE_CMD} -e 's;mozilla;firefox3;g' \ - ${WRKSRC}/srcunx/gvxhelp.txt + ${WRKSRC}/srcunx/gvxhelp.txt do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/gsview ${STAGEDIR}${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/srcunx/gvxhelp.txt ${STAGEDIR}${PREFIX}/bin/gsview-help + ${INSTALL_SCRIPT} ${WRKSRC}/srcunx/gvxhelp.txt \ + ${STAGEDIR}${PREFIX}/bin/gsview-help ${INSTALL_MAN} ${WRKSRC}/srcunx/gsview.1 ${STAGEDIR}${PREFIX}/man/man1 ${MKDIR} ${STAGEDIR}${PREFIX}/etc/gsview/ - ${INSTALL_DATA} ${WRKSRC}/src/printer.ini ${STAGEDIR}${PREFIX}/etc/gsview/ + ${INSTALL_DATA} ${WRKSRC}/src/printer.ini \ + ${STAGEDIR}${PREFIX}/etc/gsview/ ${MKDIR} ${STAGEDIR}${DOCSDIR} - (cd ${WRKSRC} && ${INSTALL_MAN} gsview.css cdorder.txt regorder.txt \ - Readme.htm LICENCE ${STAGEDIR}${DOCSDIR} ) + cd ${WRKSRC} && ${INSTALL_MAN} gsview.css cdorder.txt regorder.txt \ + Readme.htm LICENCE ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/bin/*.htm ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/print/gv/Makefile b/print/gv/Makefile index 45685cbdd37f..4b977bead410 100644 --- a/print/gv/Makefile +++ b/print/gv/Makefile @@ -3,7 +3,7 @@ PORTNAME= gv PORTVERSION= 3.7.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= print MASTER_SITES= GNU/${PORTNAME} @@ -13,7 +13,7 @@ COMMENT= PostScript and PDF previewer LIB_DEPENDS= libXaw3d.so:${PORTSDIR}/x11-toolkits/Xaw3d USE_XORG= xpm ice sm xext xmu x11 -USES= cpe ghostscript iconv gmake perl5 shebangfix +USES= cpe ghostscript:x11 iconv gmake perl5 shebangfix USE_PERL5= build GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include diff --git a/print/hpijs/Makefile b/print/hpijs/Makefile index 21e65e8206d0..fb693cba3a35 100644 --- a/print/hpijs/Makefile +++ b/print/hpijs/Makefile @@ -2,7 +2,7 @@ PORTNAME= hpijs PORTVERSION= 2.1.4 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= print MASTER_SITES= SF/hpinkjet/${PORTNAME}/${PORTVERSION} diff --git a/print/hplip/Makefile b/print/hplip/Makefile index 792ee66265ad..0238a6a5f8d4 100644 --- a/print/hplip/Makefile +++ b/print/hplip/Makefile @@ -3,6 +3,7 @@ PORTNAME= hplip PORTVERSION= 3.14.10 +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= SF diff --git a/print/html2ps/Makefile b/print/html2ps/Makefile index b602bd562344..da17623d7531 100644 --- a/print/html2ps/Makefile +++ b/print/html2ps/Makefile @@ -3,7 +3,7 @@ PORTNAME= html2ps DISTVERSION= 1.0b7 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= print www perl5 MASTER_SITES= http://user.it.uu.se/~jan/ \ diff --git a/print/kpdftool/Makefile b/print/kpdftool/Makefile index 1795a8a50e31..b9852ceca07d 100644 --- a/print/kpdftool/Makefile +++ b/print/kpdftool/Makefile @@ -3,7 +3,7 @@ PORTNAME= kpdftool PORTVERSION= 0.23.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= print MASTER_SITES= http://www.kde-apps.org/CONTENT/content-files/ DISTFILES= 33194-${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} diff --git a/print/libijs/Makefile b/print/libijs/Makefile index 082348a74370..ad7dd1b5f4a3 100644 --- a/print/libijs/Makefile +++ b/print/libijs/Makefile @@ -2,7 +2,7 @@ PORTNAME= libijs PORTVERSION= 0.35 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= print MASTER_SITES= http://www.openprinting.org/download/ijs/download/ DISTNAME= ijs-${PORTVERSION} diff --git a/print/libspectre/Makefile b/print/libspectre/Makefile index c4c8bb82c3c9..3a795bab1030 100644 --- a/print/libspectre/Makefile +++ b/print/libspectre/Makefile @@ -4,6 +4,7 @@ PORTNAME= libspectre PORTVERSION= 0.2.7 +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= http://libspectre.freedesktop.org/releases/ diff --git a/print/lilypond-devel/Makefile b/print/lilypond-devel/Makefile index 0ced1df48b23..bb5180701520 100644 --- a/print/lilypond-devel/Makefile +++ b/print/lilypond-devel/Makefile @@ -3,7 +3,7 @@ PORTNAME= lilypond PORTVERSION= 2.19.11 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= print audio MASTER_SITES= http://download.linuxaudio.org/lilypond/sources/v${PORTVERSION:R}/ PKGNAMESUFFIX= -devel diff --git a/print/lilypond/Makefile b/print/lilypond/Makefile index 184086fb0a38..278c2a3401f9 100644 --- a/print/lilypond/Makefile +++ b/print/lilypond/Makefile @@ -3,7 +3,7 @@ PORTNAME= lilypond PORTVERSION= 2.18.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= print audio MASTER_SITES= http://download.linuxaudio.org/lilypond/sources/v${PORTVERSION:R}/ diff --git a/print/lpr-wrapper/Makefile b/print/lpr-wrapper/Makefile index 04c1ee5c4c75..8b019bdcba26 100644 --- a/print/lpr-wrapper/Makefile +++ b/print/lpr-wrapper/Makefile @@ -3,7 +3,7 @@ PORTNAME= lpr-wrapper PORTVERSION= 0.7 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= print MASTER_SITES= http://www.mathstat.dal.ca/~selinger/lpr-wrapper/download/ diff --git a/print/magicfilter/Makefile b/print/magicfilter/Makefile index 4eed4f18bc19..f0c6169fab62 100644 --- a/print/magicfilter/Makefile +++ b/print/magicfilter/Makefile @@ -3,7 +3,7 @@ PORTNAME= magicfilter PORTVERSION= 2.3.h -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= print MASTER_SITES= http://www.pell.portland.or.us/~orc/Code/magicfilter/ diff --git a/print/ps2eps/Makefile b/print/ps2eps/Makefile index cf437a00480c..41d029759a76 100644 --- a/print/ps2eps/Makefile +++ b/print/ps2eps/Makefile @@ -3,7 +3,7 @@ PORTNAME= ps2eps PORTVERSION= 1.64 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= print MASTER_SITES= http://www.tm.uka.de/~bless/ \ http://www.ipv6.tm.uka.de/~bless/ diff --git a/print/psdim/Makefile b/print/psdim/Makefile index 0777c6989a35..29b827771042 100644 --- a/print/psdim/Makefile +++ b/print/psdim/Makefile @@ -3,7 +3,7 @@ PORTNAME= psdim PORTVERSION= 1.4 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= print MASTER_SITES= http://www.mathstat.dal.ca/~selinger/psdim/download/ diff --git a/print/pstotext/Makefile b/print/pstotext/Makefile index eb3a70c95c1e..3010034aca6e 100644 --- a/print/pstotext/Makefile +++ b/print/pstotext/Makefile @@ -3,7 +3,7 @@ PORTNAME= pstotext PORTVERSION= 1.9 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= print MASTER_SITES= http://ftp.gwdg.de/pub/ghostscript/contrib/ \ http://ftp.sunet.se/pub/text-processing/postscript/interpreters/ghostscript/contrib/ \ diff --git a/print/scribus/Makefile b/print/scribus/Makefile index 4ddf4ea1311d..8a9205bb6aa0 100644 --- a/print/scribus/Makefile +++ b/print/scribus/Makefile @@ -3,6 +3,7 @@ PORTNAME= scribus PORTVERSION= 1.4.5 +PORTREVISION= 1 CATEGORIES= print editors MASTER_SITES= SF \ http://www.scribus.net/downloads/${PORTVERSION}/ diff --git a/print/texlive-base/Makefile b/print/texlive-base/Makefile index 7c11dc05582d..04ef7fb762a7 100644 --- a/print/texlive-base/Makefile +++ b/print/texlive-base/Makefile @@ -2,7 +2,7 @@ PORTNAME= texlive PORTVERSION= 20150521 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= print MASTER_SITES= TEX_CTAN/systems/texlive/Source/ PKGNAMESUFFIX= -base @@ -17,7 +17,6 @@ LIB_DEPENDS= libicuio.so:${PORTSDIR}/devel/icu \ libt1.so:${PORTSDIR}/devel/t1lib \ libTECkit.so:${PORTSDIR}/textproc/teckit \ libgraphite2.so:${PORTSDIR}/graphics/graphite2 \ - libgd.so:${PORTSDIR}/graphics/gd \ libfreetype.so:${PORTSDIR}/print/freetype2 \ libharfbuzz.so:${PORTSDIR}/print/harfbuzz \ libttf.so:${PORTSDIR}/print/freetype \ @@ -31,10 +30,8 @@ CONFLICTS_INSTALL= texlive-texmf-201[234]* USE_TEX= web2c kpathsea ptexenc tlmgr texhash-bootstrap USES= ghostscript pkgconfig perl5 shebangfix tar:xz USE_PERL5= run -USE_LDCONFIG= yes # during build phase gnu configure is run a lot MAKE_ENV+= CONFIG_SITE=${CONFIG_SITE} -USE_XORG= x11 xmu xaw pixman EXCLUDE_FILES= ${DISTNAME}/texk/web2c \ ${DISTNAME}/texk/kpathsea \ ${DISTNAME}/texk/ptexenc \ @@ -63,7 +60,6 @@ CONFIGURE_ARGS= --disable-native-texlive-build \ --with-freetype2-libdir=${LOCALBASE}/lib \ --with-system-cairo \ --with-system-harfbuzz \ - --with-system-gd \ --with-system-graphite2 \ --with-system-pixman \ --with-system-poppler \ diff --git a/print/texvc/Makefile b/print/texvc/Makefile index 60c87ff30ad4..d205282aad47 100644 --- a/print/texvc/Makefile +++ b/print/texvc/Makefile @@ -2,7 +2,7 @@ PORTNAME= texvc PORTVERSION= 20050202 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= print MASTER_SITES= SF/wikipedia/Support%20files/${PORTNAME}%20Linux-x86%20source%20%2B%20binary DISTNAME= ${PORTNAME}-linux-x86-${PORTVERSION} diff --git a/sysutils/LPRngTool/Makefile b/sysutils/LPRngTool/Makefile index ba147fba5647..9b8fd191be76 100644 --- a/sysutils/LPRngTool/Makefile +++ b/sysutils/LPRngTool/Makefile @@ -3,7 +3,7 @@ PORTNAME= LPRngTool PORTVERSION= 1.3.2 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= sysutils print MASTER_SITES= SF/lprng/lprngtool/LRPngTool-${PORTVERSION} diff --git a/textproc/docproj/Makefile b/textproc/docproj/Makefile index b7e9b35c7408..8093cca6be16 100644 --- a/textproc/docproj/Makefile +++ b/textproc/docproj/Makefile @@ -3,17 +3,12 @@ PORTNAME= docproj PORTVERSION= 2.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= textproc -MASTER_SITES= # empty -DISTFILES= # empty -EXTRACT_ONLY= # empty MAINTAINER= doceng@FreeBSD.org COMMENT= The "meta-port" for the FreeBSD Documentation Project -# This dependency list should be kept in sync with the list of -# required ports in src/release/Makefile.inc.docports. RUN_DEPENDS= links:${PORTSDIR}/www/links1 \ pngtopnm:${PORTSDIR}/graphics/netpbm \ scr2png:${PORTSDIR}/graphics/scr2png \ @@ -28,13 +23,11 @@ RUN_DEPENDS= links:${PORTSDIR}/www/links1 \ p5-XML-Parser>=2.41:${PORTSDIR}/textproc/p5-XML-Parser \ zip:${PORTSDIR}/archivers/zip -USES= ghostscript:run perl5 +USES= ghostscript:run metaport perl5 USE_PERL5= run -DEPENDS_ARGS+= BATCH=yes -NO_BUILD= yes -OPTIONS_DEFINE= X11 CJK SVN IGOR FOP JING DBLATEX -OPTIONS_DEFAULT= X11 CJK IGOR +OPTIONS_DEFINE= CJK SVN IGOR FOP JING DBLATEX +OPTIONS_DEFAULT= CJK IGOR .if !exists(/usr/bin/svnlite) OPTIONS_DEFAULT+= SVN .endif @@ -70,16 +63,10 @@ RUN_DEPENDS+= ${FONTS_CJK} .endif .endif -.if !${PORT_OPTIONS:MX11} -DEPENDS_ARGS+= OPTIONS_UNSET_FORCE+=X11 -.endif - # generate MINIMALDOCPORTS for src/release/Makefile.inc.docports. # (XXX: incomplete yet) minimaldocports: @${ECHO_CMD} "MINIMALDOCPORTS= \\" @${MAKE} all-depends-list | ${SED} -e 's,^${PORTSDIR}/, ,' -e 's,$$, \\,' -do-install: # empty - .include <bsd.port.mk> diff --git a/textproc/groff/Makefile b/textproc/groff/Makefile index ed086f755237..544bef037cde 100644 --- a/textproc/groff/Makefile +++ b/textproc/groff/Makefile @@ -3,7 +3,7 @@ PORTNAME= groff PORTVERSION= 1.22.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= GNU diff --git a/textproc/latex2html/Makefile b/textproc/latex2html/Makefile index 47e462995dc0..681434f19566 100644 --- a/textproc/latex2html/Makefile +++ b/textproc/latex2html/Makefile @@ -3,7 +3,7 @@ PORTNAME= latex2html PORTVERSION= 2008 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= textproc MASTER_SITES= TEX_CTAN/support/${PORTNAME} @@ -30,13 +30,11 @@ PORTDOCS= FAQ INSTALL LICENSE README OPTIONS_DEFINE= DOCS -.include <bsd.port.options.mk> - post-install: ${INSTALL_MAN} ${FILESDIR}/latex2html.1 ${STAGEDIR}${MANPREFIX}/man/man1 -.if ${PORT_OPTIONS:MDOCS} + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} -.endif .include <bsd.port.mk> diff --git a/textproc/pdftohtml/Makefile b/textproc/pdftohtml/Makefile index 4c988cf19e94..8fb859114485 100644 --- a/textproc/pdftohtml/Makefile +++ b/textproc/pdftohtml/Makefile @@ -3,6 +3,7 @@ PORTNAME= pdftohtml PORTVERSION= 0.40a +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= SF/${PORTNAME}/Experimental%20Versions/${PORTNAME}%20${PORTVERSION:S|a||} \ http://fossies.org/linux/www/ diff --git a/textproc/tth/Makefile b/textproc/tth/Makefile index 9c358abdd13f..5be8115fffab 100644 --- a/textproc/tth/Makefile +++ b/textproc/tth/Makefile @@ -3,7 +3,7 @@ PORTNAME= tth PORTVERSION= 4.03 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= http://hutchinson.belmont.ma.us/tth/tth-noncom/ \ http://redundancy.redundancy.org/mirror/ diff --git a/x11/dgs/Makefile b/x11/dgs/Makefile index 6c4eb7400843..4c9218226433 100644 --- a/x11/dgs/Makefile +++ b/x11/dgs/Makefile @@ -3,7 +3,7 @@ PORTNAME= dgs PORTVERSION= 0.5.9.1 -PORTREVISION= 16 +PORTREVISION= 17 CATEGORIES= x11 MASTER_SITES= GNU/../old-gnu/dgs |