diff options
Diffstat (limited to 'print/ghostscript8')
54 files changed, 0 insertions, 4058 deletions
diff --git a/print/ghostscript8/Makefile b/print/ghostscript8/Makefile deleted file mode 100644 index fe25669f2a38..000000000000 --- a/print/ghostscript8/Makefile +++ /dev/null @@ -1,525 +0,0 @@ -# New ports collection makefile for: ghostscript -# Date created: Tue Jun 10 21:58:54 CEST 1997 -# Whom: Andreas Klemm <andreas@klemm.gtn.com> -# -# $FreeBSD$ -# - -PORTNAME= ghostscript -PORTVERSION= ${GS_VERSION} -PORTREVISION= 2 -CATEGORIES= print -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:gs_srcs,gs_fonts,bjc250/} \ - http://hp.sourceforge.net/:hp2200 \ - http://www.harsch.net/Download/:dj970 \ - http://plaza26.mbn.or.jp/~higamasa/gdevmd2k/:md2k \ - ${MASTER_SITE_PORTS_JP:S/$/:ports_jp,ports_jp_gs/} \ - ftp://download.canon-sales.co.jp/pub/driver/lasershot/linux/:cpca \ - http://www.ucatv.ne.jp/~taeko/software/gs/:lips \ - http://www.humblesoft.com/pub/:epag \ - http://www.epkowa.on.arena.ne.jp/pips/data/V306/:eplaser \ - http://www.hi.is.uec.ac.jp/~osamuw/gdevnpdl/:npdl \ - http://www.linuxprinting.org/download/printing/samsung-gdi/:gdi \ - ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/fonts/:fonts \ - ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/gs${GS_VERSION:S/.//}/:gs_srcs -MASTER_SITE_SUBDIR= ghostscript/:gs_srcs,gs_fonts,ports_jp_gs \ - bjc250gs/:bjc250 \ - ./:ports_jp -PKGNAMESUFFIX= -afpl -DISTFILES= ${GS_SRCS}:gs_srcs \ - ${GS_FONTS_STD}:gs_fonts \ - ${GS_FONTS_OTHER}:gs_fonts \ - ${HP2200_SRCS}:hp2200 \ - ${DJ970_SRCS}:dj970 \ - ${MD2K_SRCS}:md2k \ - ${ALPS_SRCS}:ports_jp_gs \ - ${BJ10V_SRCS}:ports_jp_gs \ - ${BJC250_SRCS}:bjc250 \ - ${CPCA_SRCS}:cpca \ - ${LIPS_SRCS}:lips \ - ${DMPRT_SRCS}:ports_jp_gs \ - ${EPAG_SRCS}:epag \ - ${EPLASER_SRCS}:eplaser \ - ${MJC_SRCS}:ports_jp \ - ${NPDL_SRCS}:npdl \ - ${GDI_SRCS}:gdi -DIST_SUBDIR= ghostscript -EXTRACT_ONLY= ${GS_SRCS} - -MAINTAINER= ports@FreeBSD.org -COMMENT= AFPL Postscript interpreter version 7 - -LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ - png.5:${PORTSDIR}/graphics/png - -NO_CDROM= "Can only be distributed for free" - -CONFLICTS= ghostscript-gnu* -USE_BZIP2= yes -USE_REINPLACE= yes -USE_GMAKE= yes -MAKE_ENV= CC="${CC}" CXX="${CXX}" CFLAGS_STANDARD="${CFLAGS}" \ - XCFLAGS="${XCFLAGS}" WITHOUT_X11="${WITHOUT_X11}" -PLIST_SUB= GS_VERSION=${GS_VERSION} - -SCRIPTS_ENV= GS_OPTIONS="${GS_OPTIONS}" WITHOUT_X11="${WITHOUT_X11}" - -MAN1= dvipdf.1 font2c.1 gs.1 gslp.1 gsnd.1 pdf2dsc.1 pdf2ps.1 \ - pdfopt.1 pf2afm.1 pfbtopfa.1 printafm.1 ps2ascii.1 \ - ps2epsi.1 ps2pdf.1 ps2pdfwr.1 ps2ps.1 wftopfa.1 -MLINKS= gslp.1 gsbj.1 \ - gslp.1 gsdj.1 \ - gslp.1 gsdj500.1 \ - gslp.1 gslj.1 \ - ps2pdf.1 ps2pdf12.1 \ - ps2pdf.1 ps2pdf13.1 \ - ps2ps.1 eps2eps.1 - -XCFLAGS= -DUPD_SIGNAL=0 - -.if defined(A4) -XCFLAGS+= -DA4 -.endif - -.if defined(WITHOUT_X11) -PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-nox11 -.else -USE_XLIB= yes -.endif - -.if defined(WITH_SHLIB) -.undef WITHOUT_X11 -USE_GNOME= gtk12 -MAKE_ENV+= GS_SHLIB_VER="${SHLIB_VER}" -ALL_TARGET= so -INSTALL_TARGET= soinstall -INSTALLS_SHLIB= yes -SHLIB_VER= 1 -PLIST_SUB+= SHLIB="" SHLIB_VER="${SHLIB_VER}" -.else -PLIST_SUB+= SHLIB="@comment " -.endif - -GS_SRCS= ${DISTNAME}${EXTRACT_SUFX} -# Note: the following two are real files that have symlinks with -# later version numbers pointing to them. To avoid unnecessarily -# downloading distfiles, do not change these when upgrading the port -# unless the files really change. -GS_FONTS_STD= ghostscript-fonts-std-6.0.tar.gz -GS_FONTS_OTHER= ghostscript-fonts-other-6.0.tar.gz - -# Additional Drivers: - -# HP2200 - additional driver for HP DeskJet 8xx and Business Inkjet 2200 -# http://hp.sourceforge.net/gs-hp2200.php -HP2200= hp2200 -HP2200_SRCS= gs-hp2200.tar.gz - -# DJ970 - additional driver for HP DeskJet 970, supports duplex printing -# http://www.harsch.net/Ghostscript/ghostscript.html -DJ970= gdevdj9 -DJ970_SRCS= ${DJ970}.c.gz - -# MD2K - additional driver for Alps MD-2000/2010/4000/1300/1500/5000 -# http://plaza26.mbn.or.jp/~higamasa/gdevmd2k/ -MD2K= md2k -MD2K_VERS= 0.2a -MD2K_NAME= gdevmd2k-${MD2K_VERS} -MD2K_SRCS= ${MD2K_NAME}.tar.gz - -# ALPS - additional driver for Alps MD-5000 -ALPS= alps -ALPS_VERS= 0.2 -ALPS_NAME= gdevalps-${ALPS_VERS} -ALPS_SRCS= gdevalps-0.21.tar.gz - -# BJ10V - additional driver for Canon BJ-10V -BJ10V= bj10v -BJ10V_NAME= gdev10v -BJ10V_SRCS= ${BJ10V_NAME}.tar.gz - -# BJC250 - additional driver for Canon BJC-210/240/250/265/1000 -# http://bjc250gs.sourceforge.net/ -BJC250= bjc250 -BJC250_VERS= 0.756 -BJC250_NAME= ${BJC250}-v${BJC250_VERS} -BJC250_SRCS= gs7.05-${BJC250_NAME}.diff.gz - -# CPCA - additional driver for Canon CPCA printers -# http://cweb.canon.jp/open-mie/technical/index-j.html -CPCA= cpca -CPCA_VERS= 1.0.0 -CPCA_NAME= canon-lips4-${CPCA_VERS} -CPCA_SRCS= ${CPCA_NAME}-651.tgz - -# LIPS - additional driver for Canon LIPS II+/III/IVc/IV printers -# http://www.ucatv.ne.jp/~taeko/software/gs/ -LIPS= lips -LIPS_VERS= 2.4.0 -LIPS_NAME= gdevlips-${LIPS_VERS} -LIPS_SRCS= ${LIPS_NAME}.tar.gz - -# DMPRT - additional driver for generic dot matrix printers -DMPRT= dmprt -DMPRT_VERS= 2.01 -DMPRT_NAME= ${DMPRT}-${DMPRT_VERS} -DMPRT_SRCS= ${DMPRT_NAME}.tar.gz - -# EPAG - additional driver for Epson ESC/Page printers -# http://www.humblesoft.com/gdevepag.html -EPAG= epag -EPAG_VERS= 3.09 -EPAG_NAME= ${EPAG}-${EPAG_VERS} -EPAG_SRCS= ${EPAG_NAME}.tar.gz - -# EPLASER - additional driver for ESC/Page printers (Epson Kowa developed) -# http://www.epkowa.co.jp/linux/lpd.html -EPLASER= eplaser -EPLASER_VERS= 3.0.6 -EPLASER_NAME= ${EPLASER}-${EPLASER_VERS} -EPLASER_SRCS= ${EPLASER_NAME}-652.tgz - -# MJC - additional driver for Epson MachJet series -MJC= mjc -MJC_VERS= 0.8 -MJC_NAME= gdevmjc-${MJC_VERS} -MJC_SRCS= ${MJC_NAME}.tar.gz - -# NPDL - additional driver for NEC Printer Description Language printers -NPDL= npdl -NPDL_VERS= 1.6.3 -NPDL_NAME= gdevnpdl-${NPDL_VERS} -NPDL_SRCS= ${NPDL_NAME}.tar.gz - -# GDI - additional driver for Samsung SmartGDI laser printers -GDI= gdi -GDI_NAME= Samsung-SmartGDI-all-GS -GDI_SRCS= ${GDI_NAME}.tar.gz - -# contributed uniprint profiles -CONTRIB_UPP= lqx70ch.upp lqx70cl.upp lqx70cm.upp \ - stc740ih.upp stc740p.upp stc740pl.upp - -.SILENT: - -pre-everything:: -.if !defined(A4) - ${ECHO_MSG} "Type \"make A4=yes\" if you want -DA4 for compilation." -.else - ${ECHO_MSG} "Using -DA4 for compilation." -.endif - -post-extract: - ${ECHO_MSG} ">>> in post-extract ..." -# ** 3rd party driver ** -# Note: don't forget to add those devices in scripts/configure and -# configure.batch, which update unix-gcc.mak to build gs with these -# new devices ! -# -# for HP2200 driver - ${ECHO_MSG} ">>> extracting ${HP2200_SRCS} ..." - ${MKDIR} ${WRKSRC}/${HP2200} - ${TAR} -C ${WRKSRC}/${HP2200} -xzf ${DISTDIR}/${DIST_SUBDIR}/${HP2200_SRCS} -# for DJ970 driver - ${ECHO_MSG} ">>> extracting ${DJ970_SRCS} ..." - ${CP} ${DISTDIR}/${DIST_SUBDIR}/${DJ970_SRCS} ${WRKSRC}/src - ${GUNZIP_CMD} ${WRKSRC}/src/${DJ970_SRCS} -# for MD2K driver - ${ECHO_MSG} ">>> extracting ${MD2K_SRCS} ..." - ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${MD2K_SRCS} - ${LN} -sf ${MD2K_NAME} ${WRKSRC}/${MD2K} -# for ALPS driver - ${ECHO_MSG} ">>> extracting ${ALPS_SRCS} ..." - ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${ALPS_SRCS} - ${LN} -sf ${ALPS_NAME} ${WRKSRC}/${ALPS} -# for BJ10V driver - ${ECHO_MSG} ">>> extracting ${BJ10V_SRCS} ..." - ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${BJ10V_SRCS} -# for BJC250 driver - ${ECHO_MSG} ">>> extracting ${BJC250_SRCS} ..." - ${MKDIR} ${WRKSRC}/${BJC250_NAME}/src - ${GZCAT} ${DISTDIR}/${DIST_SUBDIR}/${BJC250_SRCS} | \ - ${PATCH} -d ${WRKSRC}/${BJC250_NAME} -f -s -N -E -p1 \ - 2>/dev/null || ${TRUE} - ${LN} -sf ${BJC250_NAME} ${WRKSRC}/${BJC250} -# for CPCA driver - ${ECHO_MSG} ">>> extracting ${CPCA_SRCS} ..." - ${TAR} -C ${WRKSRC}/src -xzf ${DISTDIR}/${DIST_SUBDIR}/${CPCA_SRCS} -# for LIPS driver - ${ECHO_MSG} ">>> extracting ${LIPS_SRCS} ..." - ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${LIPS_SRCS} - ${LN} -sf ${LIPS_NAME} ${WRKSRC}/${LIPS} -# for DMPRT driver - ${ECHO_MSG} ">>> extracting ${DMPRT_SRCS} ..." - ${TAR} -C ${WRKSRC}/src -xzf ${DISTDIR}/${DIST_SUBDIR}/${DMPRT_SRCS} -# for EPAG driver - ${ECHO_MSG} ">>> extracting ${EPAG_SRCS} ..." - ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${EPAG_SRCS} -# for EPLASER driver - ${ECHO_MSG} ">>> extracting ${EPLASER_SRCS} ..." - ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${EPLASER_SRCS} - ${LN} -sf ${EPLASER_NAME} ${WRKSRC}/${EPLASER} -# for MJC driver - ${ECHO_MSG} ">>> extracting ${MJC_SRCS} ..." - ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${MJC_SRCS} - ${LN} -sf ${MJC_NAME} ${WRKSRC}/${MJC} -# for NPDL driver - ${ECHO_MSG} ">>> extracting ${NPDL_SRCS} ..." - ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${NPDL_SRCS} -# for GDI driver - ${ECHO_MSG} ">>> extracting ${GDI_SRCS} ..." - ${TAR} -C ${WRKSRC}/src -xzf ${DISTDIR}/${DIST_SUBDIR}/${GDI_SRCS} - -post-patch: - ${REINPLACE_CMD} -e 's|^DEVICE_DEVS|#DEVICE_DEVS|g' \ - ${WRKSRC}/src/unix-gcc.mak - ${REINPLACE_CMD} -e 's|\. de|\.|g' \ - ${WRKSRC}/src/unixinst.mak - ${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g' \ - ${WRKSRC}/lib/gs_res.ps -# for DMPRT driver - ${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g ; \ - s|%%GS_VERSION%%|${GS_VERSION}|g' \ - ${WRKSRC}/src/dmp_site.ps - -# here we apply the modifications necessary to build the 3rd party drivers -# advantage: you see unmodified makefiles after a pure make extract -pre-configure: - ${ECHO_MSG} ">>> in pre-configure ..." -# for HP2200 driver - ${ECHO_MSG} ">>> adding ${HP2200} driver to contrib.mak ..." - ${CAT} ${FILESDIR}/chp2200.contrib.mak \ - >> ${WRKSRC}/src/contrib.mak -# for DJ970 driver - ${ECHO_MSG} ">>> adding ${DJ970} driver to contrib.mak ..." - ${CAT} ${FILESDIR}/dj970.contrib.mak \ - >> ${WRKSRC}/src/contrib.mak -# for MD2K driver - ${ECHO_MSG} ">>> adding ${MD2K} driver to contrib.mak ..." - ${CAT} ${WRKSRC}/${MD2K_NAME}/gdevmd2k.mak-5.50 \ - >> ${WRKSRC}/src/contrib.mak -# for ALPS driver - ${ECHO_MSG} ">>> adding ${ALPS} driver to contrib.mak ..." - ${CAT} ${WRKSRC}/${ALPS_NAME}/gdevalps.mak-5.50 \ - >> ${WRKSRC}/src/contrib.mak -# for BJ10V driver - ${ECHO_MSG} ">>> adding ${BJ10V} driver to contrib.mak ..." - ${CAT} ${WRKSRC}/${BJ10V_NAME}/gdev10v.mak \ - >> ${WRKSRC}/src/contrib.mak -# for BJC250 driver - ${ECHO_MSG} ">>> adding ${BJC250} driver to contrib.mak ..." - ${CAT} ${FILESDIR}/bjc250.contrib.mak \ - >> ${WRKSRC}/src/contrib.mak -# for CPCA driver - ${ECHO_MSG} ">>> adding ${CPCA} driver to contrib.mak ..." - ${CAT} ${WRKSRC}/src/cpca_gdev.mak \ - >> ${WRKSRC}/src/contrib.mak -# for LIPS driver - ${ECHO_MSG} ">>> adding ${LIPS} driver to contrib.mak ..." - ${CAT} ${WRKSRC}/${LIPS_NAME}/gdevlips.mak \ - >> ${WRKSRC}/src/contrib.mak -# for DMPRT driver - ${ECHO_MSG} ">>> adding ${DMPRT} driver to contrib.mak ..." - ${CAT} ${WRKSRC}/src/gdevdmpr.mak \ - >> ${WRKSRC}/src/contrib.mak -# for EPAG driver - ${ECHO_MSG} ">>> adding ${EPAG} driver to contrib.mak ..." - ${SED} -e 's:npdl:epag:g' ${WRKSRC}/${NPDL_NAME}/gdevnpdl.mak \ - >> ${WRKSRC}/src/contrib.mak -# for EPLASER driver - ${ECHO_MSG} ">>> adding ${EPLASER} driver to contrib.mak ..." - ${CAT} ${WRKSRC}/${EPLASER_NAME}/gdevescv6.mak \ - >> ${WRKSRC}/src/contrib.mak - ${CAT} ${WRKSRC}/${EPLASER_NAME}/gdevesmv6.mak \ - >> ${WRKSRC}/src/contrib.mak -# for MJC driver - ${ECHO_MSG} ">>> adding ${MJC} driver to contrib.mak ..." - ${CAT} ${WRKSRC}/${MJC_NAME}/gdevmjc.mak \ - >> ${WRKSRC}/src/contrib.mak -# for NPDL driver - ${ECHO_MSG} ">>> adding ${NPDL} driver to contrib.mak ..." - ${CAT} ${WRKSRC}/${NPDL_NAME}/gdevnpdl.mak \ - >> ${WRKSRC}/src/contrib.mak -# for GDI driver - ${ECHO_MSG} ">>> adding ${GDI} driver to contrib.mak ..." - ${CAT} ${WRKSRC}/src/smartgdi-contrib.mak \ - >> ${WRKSRC}/src/contrib.mak - -pre-build: - ${ECHO_MSG} ">>> in pre-build ..." - ${ECHO_MSG} ">>> creating directories for compilation ..." - ${MKDIR} ${WRKSRC}/obj - ${MKDIR} ${WRKSRC}/bin -# for HP2200 driver - ${ECHO_MSG} ">>> creating symlinks for ${HP2200} ..." -.for i in gdevcd8.c - ${LN} -sf ${WRKSRC}/${HP2200}/${i} ${WRKSRC}/src -.endfor -# for MD2K driver - ${ECHO_MSG} ">>> creating symlinks for ${MD2K} ..." -.for i in gdevmd2k.c - ${LN} -sf ${WRKSRC}/${MD2K_NAME}/${i} ${WRKSRC}/src -.endfor -# for ALPS driver - ${ECHO_MSG} ">>> creating symlinks for ${ALPS} ..." -.for i in gdevalps.c - ${LN} -sf ${WRKSRC}/${ALPS_NAME}/${i} ${WRKSRC}/src -.endfor -# for BJ10V driver - ${ECHO_MSG} ">>> creating symlinks for ${BJ10V} ..." -.for i in gdev10v.c - ${LN} -sf ${WRKSRC}/${BJ10V_NAME}/${i} ${WRKSRC}/src -.endfor -# for BJC250 driver - ${ECHO_MSG} ">>> creating symlinks for ${BJC250} ..." -.for i in gdevbjc_.[ch] gdevbjca.c - ${LN} -sf ${WRKSRC}/${BJC250_NAME}/src/${i} ${WRKSRC}/src -.endfor -# for LIPS driver - ${ECHO_MSG} ">>> creating symlinks for ${LIPS} ..." -.for i in gdevlips.[ch] gdevlprn.[ch] gdevl4r.c gdevl4v.c gdevespg.c gdevrpdl.c - ${LN} -sf ${WRKSRC}/${LIPS_NAME}/${i} ${WRKSRC}/src -.endfor -# for EPAG driver - ${ECHO_MSG} ">>> building ${EPAG} utility ..." - cd ${WRKSRC}/${EPAG_NAME} ; \ - ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} Makefile - ${ECHO_MSG} ">>> creating symlinks for ${EPAG} ..." -.for i in gdevepag.c - ${LN} -sf ${WRKSRC}/${EPAG_NAME}/${i} ${WRKSRC}/src -.endfor -# for EPLASER driver - ${ECHO_MSG} ">>> creating symlinks for ${EPLASER} ..." -.for i in gdevescv.[ch] gdevesmv.c - ${LN} -sf ${WRKSRC}/${EPLASER_NAME}/${i} ${WRKSRC}/src -.endfor -# for MJC driver - ${ECHO_MSG} ">>> creating symlinks for ${MJC} ..." -.for i in gdevmjc.c mjbarrie.c mjbksep.c mjespdtc.c mjespdtm.c mjespdty.c \ - mjgrnsp.c mjgrnsp2.c mjhtocmy.c mjmtx2.c mjvtbl.c - ${LN} -sf ${WRKSRC}/${MJC_NAME}/${i} ${WRKSRC}/src -.endfor -# for NPDL driver - ${ECHO_MSG} ">>> creating symlinks for ${NPDL} ..." -.for i in gdevnpdl.c - ${LN} -sf ${WRKSRC}/${NPDL_NAME}/${i} ${WRKSRC}/src -.endfor - -pre-install: - ${ECHO_MSG} ">>> in pre-install ..." - ${ECHO_MSG} ">>> creating ghostscript destdir ..." - ${MKDIR} ${DATADIR} - ${ECHO_MSG} ">>> extracting ghostscript fonts ..." - ${TAR} -C ${DATADIR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${GS_FONTS_STD} - ${TAR} -C ${DATADIR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${GS_FONTS_OTHER} - ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR} - -post-install: - ${ECHO_MSG} ">>> in post-install ..." - ${ECHO_MSG} ">>> stripping gs ..." -.if defined(WITH_SHLIB) - ${STRIP_CMD} ${PREFIX}/bin/gsc ${PREFIX}/bin/gsx - ${LN} -sf gsc ${PREFIX}/bin/gs -.else - ${STRIP_CMD} ${PREFIX}/bin/gs -.endif -# for DMPRT driver - ${ECHO_MSG} ">>> installing ${DMPRT} resources ..." -.for i in dmp_init.ps dmp_site.ps escp_24.src - ${INSTALL_DATA} ${WRKSRC}/src/${i} \ - ${DATADIR}/${GS_VERSION}/lib -.endfor -# for EPAG driver - ${ECHO_MSG} ">>> installing ${EPAG} utility in bindir ..." - ${INSTALL_PROGRAM} ${WRKSRC}/${EPAG_NAME}/ert ${PREFIX}/bin -# contributed UPP driver - ${ECHO_MSG} ">>> installing contributed UPP profiles ..." -.for i in ${CONTRIB_UPP} - ${INSTALL_DATA} ${FILESDIR}/${i} \ - ${DATADIR}/${GS_VERSION}/lib -.endfor -# -# now NOPORTDOCS dependend stuff -# -.if !defined(NOPORTDOCS) - ${ECHO_MSG} ">>> installing PORTDOC stuff ..." - ${MKDIR} ${DOCSDIR}/${GS_VERSION} -# for MD2K driver - ${ECHO_MSG} ">>> installing ${MD2K} docs ..." - ${MKDIR} ${DOCSDIR}/${GS_VERSION}/${MD2K} -.for i in README.jis - ${INSTALL_DATA} ${WRKSRC}/${MD2K_NAME}/${i} \ - ${DOCSDIR}/${GS_VERSION}/${MD2K} -.endfor -# for ALPS driver - ${ECHO_MSG} ">>> installing ${ALPS} docs ..." - ${MKDIR} ${DOCSDIR}/${GS_VERSION}/${ALPS} -.for i in README.gdevalps - ${INSTALL_DATA} ${WRKSRC}/${ALPS_NAME}/${i} \ - ${DOCSDIR}/${GS_VERSION}/${ALPS} -.endfor -# for BJ10V driver - ${ECHO_MSG} ">>> installing ${BJ10V} docs ..." - ${MKDIR} ${DOCSDIR}/${GS_VERSION}/${BJ10V} -.for i in gdev10v.jis - ${INSTALL_DATA} ${WRKSRC}/${BJ10V_NAME}/${i} \ - ${DOCSDIR}/${GS_VERSION}/${BJ10V} -.endfor -# for LIPS driver - ${ECHO_MSG} ">>> installing ${LIPS} docs ..." - ${MKDIR} ${DOCSDIR}/${GS_VERSION}/${LIPS} -.for i in Gdevlips.htm - ${INSTALL_DATA} ${WRKSRC}/${LIPS_NAME}/${i} \ - ${DOCSDIR}/${GS_VERSION}/${LIPS} -.endfor -# for DMPRT driver - ${ECHO_MSG} ">>> installing ${DMPRT} docs ..." - ${MKDIR} ${DOCSDIR}/${GS_VERSION}/${DMPRT} -.for i in gdevdmpr.sj - ${INSTALL_DATA} ${WRKSRC}/src/${i} \ - ${DOCSDIR}/${GS_VERSION}/${DMPRT} -.endfor -# for EPAG driver - ${ECHO_MSG} ">>> installing ${EPAG} docs ..." - ${MKDIR} ${DOCSDIR}/${GS_VERSION}/${EPAG} -.for i in ert.txt gdevepag.txt ChangeLog - ${INSTALL_DATA} ${WRKSRC}/${EPAG_NAME}/${i} \ - ${DOCSDIR}/${GS_VERSION}/${EPAG} -.endfor -.for i in psprint gsepagif.sh - ${INSTALL_SCRIPT} ${WRKSRC}/${EPAG_NAME}/${i} \ - ${DOCSDIR}/${GS_VERSION}/${EPAG} -.endfor -# for EPLASER driver - ${ECHO_MSG} ">>> installing ${EPLASER} docs ..." - ${MKDIR} ${DOCSDIR}/${GS_VERSION}/${EPLASER} -.for i in readme-eplaser-652.euc readme-eplaser-652-jp.euc - ${INSTALL_DATA} ${WRKSRC}/${EPLASER_NAME}/${i} \ - ${DOCSDIR}/${GS_VERSION}/${EPLASER} -.endfor -# for MJC driver - ${ECHO_MSG} ">>> installing ${MJC} docs ..." - ${MKDIR} ${DOCSDIR}/${GS_VERSION}/${MJC} -.for i in MJ700V2C.FAQ README.mjc README.mje README.noz cpem.doc - ${INSTALL_DATA} ${WRKSRC}/${MJC_NAME}/${i} \ - ${DOCSDIR}/${GS_VERSION}/${MJC} -.endfor -# for NPDL driver - ${ECHO_MSG} ">>> installing ${NPDL} docs ..." - ${MKDIR} ${DOCSDIR}/${GS_VERSION}/${NPDL} -.for i in gdevnpdl.jis - ${INSTALL_DATA} ${WRKSRC}/${NPDL_NAME}/${i} \ - ${DOCSDIR}/${GS_VERSION}/${NPDL} -.endfor -# for GDI driver - ${ECHO_MSG} ">>> installing ${GDI} docs ..." - ${MKDIR} ${DOCSDIR}/${GS_VERSION}/${GDI} -.for i in README - ${INSTALL_DATA} ${WRKSRC}/src/${i} \ - ${DOCSDIR}/${GS_VERSION}/${GDI} -.endfor -.endif - ${ECHO_MSG} "> post-installation tasks completed." - -.include "Makefile.inc" -.include <bsd.port.mk> diff --git a/print/ghostscript8/Makefile.inc b/print/ghostscript8/Makefile.inc deleted file mode 100644 index cf63422dcf01..000000000000 --- a/print/ghostscript8/Makefile.inc +++ /dev/null @@ -1,4 +0,0 @@ -# $FreeBSD$ - -GS_VERSION= 8.00 - diff --git a/print/ghostscript8/distinfo b/print/ghostscript8/distinfo deleted file mode 100644 index 9cf385b82519..000000000000 --- a/print/ghostscript8/distinfo +++ /dev/null @@ -1,17 +0,0 @@ -MD5 (ghostscript/ghostscript-8.00.tar.bz2) = f87b74758f8e73f899f0b3654e5887b1 -MD5 (ghostscript/ghostscript-fonts-std-6.0.tar.gz) = 8250132d6fcc6eb1419f505f06c7690b -MD5 (ghostscript/ghostscript-fonts-other-6.0.tar.gz) = 1a643ae62ef166562e4d422b1a601272 -MD5 (ghostscript/gs-hp2200.tar.gz) = cafe60c0003abe370579f9bfb1d27caa -MD5 (ghostscript/gdevdj9.c.gz) = 3a9c20c34b79ffab434abfbcc31d1c27 -MD5 (ghostscript/gdevmd2k-0.2a.tar.gz) = 5ed2b4218b8f77cb411f3d2e4509ed24 -MD5 (ghostscript/gdevalps-0.21.tar.gz) = 553bee251b96105eb7d1d7f4027ac0e9 -MD5 (ghostscript/gdev10v.tar.gz) = 1486bb54c214ce215044a6c606280d73 -MD5 (ghostscript/gs7.05-bjc250-v0.756.diff.gz) = 1a12eddad0c5989811edcfd01a20621d -MD5 (ghostscript/canon-lips4-1.0.0-651.tgz) = 3105272a9351ea632416b53367e2f38a -MD5 (ghostscript/gdevlips-2.4.0.tar.gz) = 89327cac37665f3fdbae0da5f2c8a89f -MD5 (ghostscript/dmprt-2.01.tar.gz) = c7a9fb127fde5d888a798bf5e1822b88 -MD5 (ghostscript/epag-3.09.tar.gz) = 63304a6afe44842124d2d880bf24dbe3 -MD5 (ghostscript/eplaser-3.0.6-652.tgz) = a575b9f3424d0a9ab6fbb5619429a8fd -MD5 (ghostscript/gdevmjc-0.8.tar.gz) = 228f41c3cccce22c8f477c7a9407527c -MD5 (ghostscript/gdevnpdl-1.6.3.tar.gz) = 6c8dad13d07bbaf6e951d6d2d6b8a9f2 -MD5 (ghostscript/Samsung-SmartGDI-all-GS.tar.gz) = e6963f6c9460a964fe57d38479bbdd41 diff --git a/print/ghostscript8/files/bjc250.contrib.mak b/print/ghostscript8/files/bjc250.contrib.mak deleted file mode 100644 index 5c1ce77e98dc..000000000000 --- a/print/ghostscript8/files/bjc250.contrib.mak +++ /dev/null @@ -1,31 +0,0 @@ -### ----------------- The BJC-210/240/250/250ex/265/1000 ---------------- ### - -### -### For questions about the driver, mailto://szaszg@hu.inter.net -### http://bjc250gs.sourceforge.net -### - -bjc_h=$(GLSRC)gdevbjc_.h - -bjc_=$(GLOBJ)gdevbjc_.$(OBJ) $(GLOBJ)gdevbjca.$(OBJ) - -$(GLOBJ)gdevbjc_.$(OBJ) : $(GLSRC)gdevbjc_.c $(PDEVH) $(bjc_h) - $(GLCC) $(GLO_)gdevbjc_.$(OBJ) $(C_) $(GLSRC)gdevbjc_.c - -$(GLOBJ)gdevbjca.$(OBJ) : $(GLSRC)gdevbjca.c $(PDEVH) $(bjc_h) - $(GLCC) $(GLO_)gdevbjca.$(OBJ) $(C_) $(GLSRC)gdevbjca.c - -$(DD)bjcmono.dev : $(bjc_) $(DD)page.dev - $(SETPDEV) $(DD)bjcmono $(bjc_) - -$(DD)bjcgray.dev : $(bjc_) $(DD)page.dev - $(SETPDEV) $(DD)bjcgray $(bjc_) - -$(DD)bjccmyk.dev : $(bjc_) $(DD)page.dev - $(SETPDEV) $(DD)bjccmyk $(bjc_) - -$(DD)bjccolor.dev : $(bjc_) $(DD)page.dev - $(SETPDEV) $(DD)bjccolor $(bjc_) - -### -------------------- The H-P Color LaserJet 5/5M -------------------- ### - diff --git a/print/ghostscript8/files/chp2200.contrib.mak b/print/ghostscript8/files/chp2200.contrib.mak deleted file mode 100644 index c71ea8ac3512..000000000000 --- a/print/ghostscript8/files/chp2200.contrib.mak +++ /dev/null @@ -1,25 +0,0 @@ -### --------------- The H-P Buisiness Inkjet 2200 devices --------------- ### - -cdeskjet8_=$(GLOBJ)gdevcd8.$(OBJ) $(HPPCL) - -$(DD)cdj670.dev : $(cdeskjet8_) $(DD)page.dev - $(SETPDEV2) $(DD)cdj670 $(cdeskjet8_) - -$(DD)cdj850.dev : $(cdeskjet8_) $(DD)page.dev - $(SETPDEV2) $(DD)cdj850 $(cdeskjet8_) - -$(DD)cdj880.dev : $(cdeskjet8_) $(DD)page.dev - $(SETPDEV2) $(DD)cdj880 $(cdeskjet8_) - -$(DD)cdj890.dev : $(cdeskjet8_) $(DD)page.dev - $(SETPDEV2) $(DD)cdj890 $(cdeskjet8_) - -$(DD)cdj1600.dev : $(cdeskjet8_) $(DD)page.dev - $(SETPDEV2) $(DD)cdj1600 $(cdeskjet8_) - -$(DD)chp2200.dev : $(cdeskjet8_) $(DD)page.dev - $(SETPDEV2) $(DD)chp2200 $(cdeskjet8_) - -$(GLOBJ)gdevcd8.$(OBJ) : $(GLSRC)gdevcd8.c $(PDEVH) $(math__h)\ - $(gsparam_h) $(gxlum_h) $(gdevpcl_h) - $(GLCC) $(GLO_)gdevcd8.$(OBJ) $(C_) $(GLSRC)gdevcd8.c diff --git a/print/ghostscript8/files/dj970.contrib.mak b/print/ghostscript8/files/dj970.contrib.mak deleted file mode 100644 index 8227012da41a..000000000000 --- a/print/ghostscript8/files/dj970.contrib.mak +++ /dev/null @@ -1,9 +0,0 @@ -###- cdj970 - HP 970Cxi Driver under development -------- ### -cdeskjet9_=$(GLOBJ)gdevdj9.$(OBJ) $(HPPCL) - -$(DD)cdj970.dev : $(cdeskjet9_) $(DD)page.dev - $(SETPDEV2) $(DD)cdj970 $(cdeskjet9_) - -$(GLOBJ)gdevdj9.$(OBJ) : $(GLSRC)gdevdj9.c $(PDEVH) $(math__h) \ - $(gsparam_h) $(gxlum_h) $(gdevpcl_h) - $(GLCC) $(GLO_)gdevdj9.$(OBJ) $(C_) $(GLSRC)gdevdj9.c diff --git a/print/ghostscript8/files/lqx70ch.upp b/print/ghostscript8/files/lqx70ch.upp deleted file mode 100644 index b5d3cd49e912..000000000000 --- a/print/ghostscript8/files/lqx70ch.upp +++ /dev/null @@ -1,26 +0,0 @@ -# $ApsCVS: src/apsfilter/uniprint/lqx70ch.upp,v 1.2 2000/04/21 18:48:00 andreas Exp $ -# --supModel="Epson LQ-1170 ESC/P2 Dot Matrix, 360x360DpI, Plain Paper" --sDEVICE=uniprint --dNOPAUSE --dSAFER --dupColorModel=/DeviceCMYKgenerate --dupRendering=/ErrorDiffusion --dupOutputFormat=/EscP2 --r360x360 --dupMargins="{ 9.0 0.0 9.0 24.0}" --dupOutputPins=24 --dupBeginPageCommand="< - 1b40 1b40 - 1b2847 0100 01 - 1b2869 0100 01 - 1b2855 0100 0A - 1b5501 - 1b2865 0200 0002 - 1b2843 0200 0000 - 1b2863 0400 0000 0000 ->" --dupAdjustPageLengthCommand --dupEndPageCommand="(\014)" --dupAbortCommand="(\033@\15\12\12\12\12 Printout-Aborted\15\014)" - diff --git a/print/ghostscript8/files/lqx70cl.upp b/print/ghostscript8/files/lqx70cl.upp deleted file mode 100644 index 91fb1aa89906..000000000000 --- a/print/ghostscript8/files/lqx70cl.upp +++ /dev/null @@ -1,26 +0,0 @@ -# $ApsCVS: src/apsfilter/uniprint/lqx70cl.upp,v 1.2 2000/04/21 18:48:00 andreas Exp $ -# --supModel="Epson LQ-1170 ESC/P2 Dot Matrix, 180x180DpI, Plain Paper" --sDEVICE=uniprint --dNOPAUSE --dSAFER --dupColorModel=/DeviceCMYKgenerate --dupRendering=/ErrorDiffusion --dupOutputFormat=/EscP2 --r180x180 --dupMargins="{ 9.0 0.0 9.0 24.0}" --dupOutputPins=24 --dupBeginPageCommand="< - 1b40 1b40 - 1b2847 0100 01 - 1b2869 0100 01 - 1b2855 0100 14 - 1b5500 - 1b2865 0200 0002 - 1b2843 0200 0000 - 1b2863 0400 0000 0000 ->" --dupAdjustPageLengthCommand --dupEndPageCommand="(\014)" --dupAbortCommand="(\033@\15\12\12\12\12 Printout-Aborted\15\014)" - diff --git a/print/ghostscript8/files/lqx70cm.upp b/print/ghostscript8/files/lqx70cm.upp deleted file mode 100644 index 895af73aa8d8..000000000000 --- a/print/ghostscript8/files/lqx70cm.upp +++ /dev/null @@ -1,25 +0,0 @@ -# $ApsCVS: src/apsfilter/uniprint/lqx70cm.upp,v 1.2 2000/04/21 18:48:00 andreas Exp $ -# --supModel="Epson LQ-1170 ESC/P2 Dot Matrix, 360x180DpI, Plain Paper" --sDEVICE=uniprint --dNOPAUSE --dSAFER --dupColorModel=/DeviceCMYKgenerate --dupRendering=/ErrorDiffusion --dupOutputFormat=/EscP2 --r360x180 --dupMargins="{ 9.0 24.0 9.0 24.0}" --dupOutputPins=24 --dupBeginPageCommand="< - 1b40 1b40 - 1b2847 0100 01 - 1b2869 0100 01 - 1b2855 0100 14 - 1b5501 - 1b2843 0200 0000 - 1b2863 0400 0000 0000 ->" --dupAdjustPageLengthCommand --dupEndPageCommand="(\014)" --dupAbortCommand="(\033@\15\12\12\12\12 Printout-Aborted\15\014)" - diff --git a/print/ghostscript8/files/patch-alps:gdevalps.mak b/print/ghostscript8/files/patch-alps:gdevalps.mak deleted file mode 100644 index 45144eaadcfd..000000000000 --- a/print/ghostscript8/files/patch-alps:gdevalps.mak +++ /dev/null @@ -1,25 +0,0 @@ ---- alps/gdevalps.mak-5.50.orig Sat Jan 12 13:21:12 2002 -+++ alps/gdevalps.mak-5.50 Sat Jan 12 13:23:45 2002 -@@ -2,15 +2,15 @@ - - alps_=$(GLOBJ)gdevalps.$(OBJ) - --md50Mono.dev: $(alps_) page.dev -- $(SETPDEV) md50Mono $(alps_) -+$(DD)md50Mono.dev: $(alps_) $(DD)page.dev -+ $(SETPDEV) $(DD)md50Mono $(alps_) - --md50Eco.dev: $(alps_) page.dev -- $(SETPDEV) md50Eco $(alps_) -+$(DD)md50Eco.dev: $(alps_) $(DD)page.dev -+ $(SETPDEV) $(DD)md50Eco $(alps_) - --md1xMono.dev: $(alps_) page.dev -- $(SETPDEV) md1xMono $(alps_) -+$(DD)md1xMono.dev: $(alps_) $(DD)page.dev -+ $(SETPDEV) $(DD)md1xMono $(alps_) - --$(GLOBJ)gdevalps.$(OBJ): $(GLSRC)gdevalps.c $(PDEVH) -+$(GLOBJ)gdevalps.$(OBJ): $(GLSRC)gdevalps.c $(gdevprn_h) $(PDEVH) - $(GLCC) $(GLO_)gdevalps.$(OBJ) $(C_) $(GLSRC)gdevalps.c - diff --git a/print/ghostscript8/files/patch-bjc250:src:gdevbjc_.c b/print/ghostscript8/files/patch-bjc250:src:gdevbjc_.c deleted file mode 100644 index 8eaf44e181c0..000000000000 --- a/print/ghostscript8/files/patch-bjc250:src:gdevbjc_.c +++ /dev/null @@ -1,14 +0,0 @@ ---- bjc250/src/gdevbjc_.c.orig Fri Nov 8 06:15:15 2002 -+++ bjc250/src/gdevbjc_.c Fri Nov 8 07:43:31 2002 -@@ -54,9 +54,9 @@ - private dev_proc_put_params(gdev_bjc_put_params); - private dev_proc_get_params(gdev_bjc_get_params); - const stringParamDescription * -- paramValueToParam(P2(const stringParamDescription *, int)); -+ paramValueToParam(const stringParamDescription *, int); - const stringParamDescription * -- paramStringToParam(P3(const stringParamDescription *, const char *, uint)); -+ paramStringToParam(const stringParamDescription *, const char *, uint); - - BJL_command BJL_command_set[] = { - { "@Cleaning=1", BJC_BJL_CLEANING, 11}, diff --git a/print/ghostscript8/files/patch-bjc250:src:gdevbjc_.h b/print/ghostscript8/files/patch-bjc250:src:gdevbjc_.h deleted file mode 100644 index 26af2028cebc..000000000000 --- a/print/ghostscript8/files/patch-bjc250:src:gdevbjc_.h +++ /dev/null @@ -1,93 +0,0 @@ ---- bjc250/src/gdevbjc_.h.orig Fri Nov 8 06:15:15 2002 -+++ bjc250/src/gdevbjc_.h Fri Nov 8 07:44:18 2002 -@@ -183,48 +183,48 @@ - - /* Put a BJL command to stream */ - --void bjc_put_bjl_command(P2(FILE * file, int bjl_command)); -+void bjc_put_bjl_command(FILE * file, int bjl_command); - --void bjc_put_LF(P1(FILE *file)); --void bjc_put_FF(P1(FILE *file)); --void bjc_put_CR(P1(FILE *file)); --void bjc_put_initialize(P1(FILE *file)); --void bjc_put_set_initial(P1(FILE *file)); --void bjc_put_set_compression(P2(FILE *file, char compression)); --void bjc_put_print_method_short(P2(FILE *file, char color)); --void bjc_put_print_method(P5(FILE *file, char color, char media, char quality, char density)); --void bjc_put_raster_resolution(P3(FILE *file, int x_resolution, int y_resolution)); --void bjc_put_raster_skip(P2(FILE *file, int skip)); --void bjc_put_page_margins(P5(FILE *file, int length, int lm, int rm, int top)); --void bjc_put_media_supply(P3(FILE *file, char supply, char type)); --void bjc_put_cmyk_image(P4(FILE *file, char component, const char *data, int count)); --void bjc_put_move_lines(P2(FILE *file, int lines)); --void bjc_put_move_lines_unit(P2(FILE *file, int unit)); --void bjc_put_extended_margins(P5(FILE *file, int length, int lm, int rm, int top)); --void bjc_put_image_format(P4(FILE *file, char depth, char format, char ink)); --void bjc_put_page_id(P2(FILE *file, int id)); --void bjc_put_continue_image(P3(FILE *file, const char *data, int count)); --void bjc_put_indexed_image(P4(FILE *file, int dot_rows, int dot_cols, int layers)); -- --bool bjc_invert_bytes(P4(byte *row, uint raster, bool inverse, byte lastmask)); --bool bjc_invert_cmyk_bytes(P8(byte *rowC,byte *rowM, byte *rowY, byte *rowK, uint raster, -- bool inverse, byte lastmask, skip_t *skip)); --uint bjc_compress(P3(const byte *row, uint raster, byte *compressed)); -- --int FloydSteinbergInitG(P1(gx_device_printer * pdev)); --void FloydSteinbergDitheringG(P5(byte *row, byte *dithered, uint width, uint raster, bool limit_extr)); --void FloydSteinbergCloseG(P1(gx_device_printer *pdev)); -- --int FloydSteinbergForwardCut(P5(int error, int *Errors, int i, byte *dithered, byte bitmask)); --int FloydSteinbergBckwardCut(P5(int error, int *Errors, int i, byte *dithered, byte bitmask)); --int FloydSteinbergInitC(P1(gx_device_printer * pdev)); --void FloydSteinbergDitheringC(P6(byte *row, byte *dithered, uint width, uint raster, -- bool limit_extr, bool composeK)); --void FloydSteinbergCloseC(P1(gx_device_printer *pdev)); -- --void bjc_build_gamma_table(P2(float gamma, char color)); --void bjc_rgb_to_cmy (P6(byte r, byte g, byte b, int *c, int *m, int *y)); --void bjc_rgb_to_gray(P4(byte r, byte g, byte b, int *k)); -+void bjc_put_LF(FILE *file); -+void bjc_put_FF(FILE *file); -+void bjc_put_CR(FILE *file); -+void bjc_put_initialize(FILE *file); -+void bjc_put_set_initial(FILE *file); -+void bjc_put_set_compression(FILE *file, char compression); -+void bjc_put_print_method_short(FILE *file, char color); -+void bjc_put_print_method(FILE *file, char color, char media, char quality, char density); -+void bjc_put_raster_resolution(FILE *file, int x_resolution, int y_resolution); -+void bjc_put_raster_skip(FILE *file, int skip); -+void bjc_put_page_margins(FILE *file, int length, int lm, int rm, int top); -+void bjc_put_media_supply(FILE *file, char supply, char type); -+void bjc_put_cmyk_image(FILE *file, char component, const char *data, int count); -+void bjc_put_move_lines(FILE *file, int lines); -+void bjc_put_move_lines_unit(FILE *file, int unit); -+void bjc_put_extended_margins(FILE *file, int length, int lm, int rm, int top); -+void bjc_put_image_format(FILE *file, char depth, char format, char ink); -+void bjc_put_page_id(FILE *file, int id); -+void bjc_put_continue_image(FILE *file, const char *data, int count); -+void bjc_put_indexed_image(FILE *file, int dot_rows, int dot_cols, int layers); -+ -+bool bjc_invert_bytes(byte *row, uint raster, bool inverse, byte lastmask); -+bool bjc_invert_cmyk_bytes(byte *rowC,byte *rowM, byte *rowY, byte *rowK, uint raster, -+ bool inverse, byte lastmask, skip_t *skip); -+uint bjc_compress(const byte *row, uint raster, byte *compressed); -+ -+int FloydSteinbergInitG(gx_device_printer * pdev); -+void FloydSteinbergDitheringG(byte *row, byte *dithered, uint width, uint raster, bool limit_extr); -+void FloydSteinbergCloseG(gx_device_printer *pdev); -+ -+int FloydSteinbergForwardCut(int error, int *Errors, int i, byte *dithered, byte bitmask); -+int FloydSteinbergBckwardCut(int error, int *Errors, int i, byte *dithered, byte bitmask); -+int FloydSteinbergInitC(gx_device_printer * pdev); -+void FloydSteinbergDitheringC(byte *row, byte *dithered, uint width, uint raster, -+ bool limit_extr, bool composeK); -+void FloydSteinbergCloseC(gx_device_printer *pdev); -+ -+void bjc_build_gamma_table(float gamma, char color); -+void bjc_rgb_to_cmy (byte r, byte g, byte b, int *c, int *m, int *y); -+void bjc_rgb_to_gray(byte r, byte g, byte b, int *k); - uint bjc_rand(void); --void bjc_init_tresh(P1(int rnd)); -+void bjc_init_tresh(int rnd); - #endif /* gdevbjc_INCLUDED */ diff --git a/print/ghostscript8/files/patch-bjc250:src:gdevbjca.c b/print/ghostscript8/files/patch-bjc250:src:gdevbjca.c deleted file mode 100644 index 37f525bfeb42..000000000000 --- a/print/ghostscript8/files/patch-bjc250:src:gdevbjca.c +++ /dev/null @@ -1,17 +0,0 @@ ---- bjc250/src/gdevbjca.c.orig Fri Nov 8 06:15:15 2002 -+++ bjc250/src/gdevbjca.c Fri Nov 8 07:47:41 2002 -@@ -46,10 +46,10 @@ - #include <math.h> - #include <time.h> - --private void bjc_put_bytes(P3(FILE *file, const char *data, int count)); --private void bjc_put_hi_lo(P2(FILE *file, int value)); --private void bjc_put_lo_hi(P2(FILE *file, int value)); --private void bjc_put_command(P3(FILE *file, char command, int count)); -+private void bjc_put_bytes(FILE *file, const char *data, int count); -+private void bjc_put_hi_lo(FILE *file, int value); -+private void bjc_put_lo_hi(FILE *file, int value); -+private void bjc_put_command(FILE *file, char command, int count); - - /* ---------------- Utilities ---------------- */ - diff --git a/print/ghostscript8/files/patch-eplaser:gdevescv.c b/print/ghostscript8/files/patch-eplaser:gdevescv.c deleted file mode 100644 index be2792ffee44..000000000000 --- a/print/ghostscript8/files/patch-eplaser:gdevescv.c +++ /dev/null @@ -1,101 +0,0 @@ ---- eplaser/gdevescv.c.orig Fri Jan 24 13:35:28 2003 -+++ eplaser/gdevescv.c Tue Mar 25 18:03:39 2003 -@@ -37,8 +37,6 @@ - - */ - --#include <stdlib.h> --#include <unistd.h> - #include <string.h> - - #include "math_.h" -@@ -321,30 +319,30 @@ - }; - - /* Vector device implementation */ --private int escv_beginpage(P1(gx_device_vector * vdev)); --private int escv_setfillcolor(P2(gx_device_vector * vdev, const gx_drawing_color * pdc)); --private int escv_setstrokecolor(P2(gx_device_vector * vdev, const gx_drawing_color * pdc)); --private int escv_setdash(P4(gx_device_vector * vdev, const float *pattern, -- uint count, floatp offset)); --private int escv_setflat(P2(gx_device_vector * vdev, floatp flatness)); --private int escv_setlogop(P3(gx_device_vector * vdev, gs_logical_operation_t lop, -- gs_logical_operation_t diff)); -+private int escv_beginpage(gx_device_vector * vdev); -+private int escv_setfillcolor(gx_device_vector * vdev, const gx_drawing_color * pdc); -+private int escv_setstrokecolor(gx_device_vector * vdev, const gx_drawing_color * pdc); -+private int escv_setdash(gx_device_vector * vdev, const float *pattern, -+ uint count, floatp offset); -+private int escv_setflat(gx_device_vector * vdev, floatp flatness); -+private int escv_setlogop(gx_device_vector * vdev, gs_logical_operation_t lop, -+ gs_logical_operation_t diff); - private int escv_vector_dorect(gx_device_vector * vdev, fixed x0, fixed y0, fixed x1, - fixed y1, gx_path_type_t type); - private int escv_vector_dopath(gx_device_vector * vdev, const gx_path * ppath, - gx_path_type_t type); --private int escv_beginpath(P2(gx_device_vector * vdev, gx_path_type_t type)); --private int escv_moveto(P6(gx_device_vector * vdev, floatp x0, floatp y0, -- floatp x, floatp y, gx_path_type_t type)); --private int escv_lineto(P6(gx_device_vector * vdev, floatp x0, floatp y0, -- floatp x, floatp y, gx_path_type_t type)); --private int escv_curveto(P10(gx_device_vector * vdev, floatp x0, floatp y0, -+private int escv_beginpath(gx_device_vector * vdev, gx_path_type_t type); -+private int escv_moveto(gx_device_vector * vdev, floatp x0, floatp y0, -+ floatp x, floatp y, gx_path_type_t type); -+private int escv_lineto(gx_device_vector * vdev, floatp x0, floatp y0, -+ floatp x, floatp y, gx_path_type_t type); -+private int escv_curveto(gx_device_vector * vdev, floatp x0, floatp y0, - floatp x1, floatp y1, floatp x2, floatp y2, -- floatp x3, floatp y3, gx_path_type_t type)); --private int escv_closepath(P6(gx_device_vector * vdev, floatp x, floatp y, -- floatp x_start, floatp y_start, gx_path_type_t type)); -+ floatp x3, floatp y3, gx_path_type_t type); -+private int escv_closepath(gx_device_vector * vdev, floatp x, floatp y, -+ floatp x_start, floatp y_start, gx_path_type_t type); - --private int escv_endpath(P2(gx_device_vector * vdev, gx_path_type_t type)); -+private int escv_endpath(gx_device_vector * vdev, gx_path_type_t type); - private int escv_setlinewidth(gx_device_vector * vdev, floatp width); - private int escv_setlinecap(gx_device_vector * vdev, gs_line_cap cap); - private int escv_setlinejoin(gx_device_vector * vdev, gs_line_join join); -@@ -1879,13 +1877,13 @@ - - /* Process the next piece of an image. */ - private int --#if GS_VERSION_MAJOR == 6 -+#if GS_VERSION_MAJOR >= 6 - escv_image_plane_data(gx_image_enum_common_t *info, const gx_image_plane_t *planes, int height, int *rows_used) - #else - escv_image_plane_data(gx_device *dev, gx_image_enum_common_t *info, const gx_image_plane_t *planes, int height) - #endif - { --#if GS_VERSION_MAJOR == 6 -+#if GS_VERSION_MAJOR >= 6 - gx_device *dev = info->dev; - #endif - gx_device_vector *const vdev = (gx_device_vector *) dev; -@@ -1903,7 +1901,7 @@ - - { - --#if GS_VERSION_MAJOR == 6 -+#if GS_VERSION_MAJOR >= 6 - if (height == 260) - height = 1; - #endif -@@ -2041,13 +2039,13 @@ - - - private int --#if GS_VERSION_MAJOR == 6 -+#if GS_VERSION_MAJOR >= 6 - escv_image_end_image(gx_image_enum_common_t * info, bool draw_last) - #else - escv_image_end_image(gx_device *dev, gx_image_enum_common_t * info, bool draw_last) - #endif - { --#if GS_VERSION_MAJOR == 6 -+#if GS_VERSION_MAJOR >= 6 - gx_device *dev = info->dev; - #endif - gx_device_vector *const vdev = (gx_device_vector *) dev; diff --git a/print/ghostscript8/files/patch-eplaser:gdevesmv.c b/print/ghostscript8/files/patch-eplaser:gdevesmv.c deleted file mode 100644 index bc6f85a0b807..000000000000 --- a/print/ghostscript8/files/patch-eplaser:gdevesmv.c +++ /dev/null @@ -1,101 +0,0 @@ ---- eplaser/gdevesmv.c.orig Fri Jan 24 13:34:55 2003 -+++ eplaser/gdevesmv.c Tue Mar 25 18:13:37 2003 -@@ -34,8 +34,6 @@ - - */ - --#include <stdlib.h> --#include <unistd.h> - #include <string.h> - - #include "math_.h" -@@ -393,30 +391,30 @@ - - - /* Vector device implementation */ --private int esmv_beginpage(P1(gx_device_vector * vdev)); --private int esmv_setfillcolor(P2(gx_device_vector * vdev, const gx_drawing_color * pdc)); --private int esmv_setstrokecolor(P2(gx_device_vector * vdev, const gx_drawing_color * pdc)); --private int esmv_setdash(P4(gx_device_vector * vdev, const float *pattern, -- uint count, floatp offset)); --private int esmv_setflat(P2(gx_device_vector * vdev, floatp flatness)); --private int esmv_setlogop(P3(gx_device_vector * vdev, gs_logical_operation_t lop, -- gs_logical_operation_t diff)); -+private int esmv_beginpage(gx_device_vector * vdev); -+private int esmv_setfillcolor(gx_device_vector * vdev, const gx_drawing_color * pdc); -+private int esmv_setstrokecolor(gx_device_vector * vdev, const gx_drawing_color * pdc); -+private int esmv_setdash(gx_device_vector * vdev, const float *pattern, -+ uint count, floatp offset); -+private int esmv_setflat(gx_device_vector * vdev, floatp flatness); -+private int esmv_setlogop(gx_device_vector * vdev, gs_logical_operation_t lop, -+ gs_logical_operation_t diff); - private int esmv_vector_dorect(gx_device_vector * vdev, fixed x0, fixed y0, fixed x1, - fixed y1, gx_path_type_t type); - private int esmv_vector_dopath(gx_device_vector * vdev, const gx_path * ppath, - gx_path_type_t type); --private int esmv_beginpath(P2(gx_device_vector * vdev, gx_path_type_t type)); --private int esmv_moveto(P6(gx_device_vector * vdev, floatp x0, floatp y0, -- floatp x, floatp y, gx_path_type_t type)); --private int esmv_lineto(P6(gx_device_vector * vdev, floatp x0, floatp y0, -- floatp x, floatp y, gx_path_type_t type)); --private int esmv_curveto(P10(gx_device_vector * vdev, floatp x0, floatp y0, -+private int esmv_beginpath(gx_device_vector * vdev, gx_path_type_t type); -+private int esmv_moveto(gx_device_vector * vdev, floatp x0, floatp y0, -+ floatp x, floatp y, gx_path_type_t type); -+private int esmv_lineto(gx_device_vector * vdev, floatp x0, floatp y0, -+ floatp x, floatp y, gx_path_type_t type); -+private int esmv_curveto(gx_device_vector * vdev, floatp x0, floatp y0, - floatp x1, floatp y1, floatp x2, floatp y2, -- floatp x3, floatp y3, gx_path_type_t type)); --private int esmv_closepath(P6(gx_device_vector * vdev, floatp x, floatp y, -- floatp x_start, floatp y_start, gx_path_type_t type)); -+ floatp x3, floatp y3, gx_path_type_t type); -+private int esmv_closepath(gx_device_vector * vdev, floatp x, floatp y, -+ floatp x_start, floatp y_start, gx_path_type_t type); - --private int esmv_endpath(P2(gx_device_vector * vdev, gx_path_type_t type)); -+private int esmv_endpath(gx_device_vector * vdev, gx_path_type_t type); - private int esmv_setlinewidth(gx_device_vector * vdev, floatp width); - private int esmv_setlinecap(gx_device_vector * vdev, gs_line_cap cap); - private int esmv_setlinejoin(gx_device_vector * vdev, gs_line_join join); -@@ -1958,13 +1956,13 @@ - - /* Process the next piece of an image. */ - private int --#if GS_VERSION_MAJOR == 6 -+#if GS_VERSION_MAJOR >= 6 - esmv_image_plane_data(gx_image_enum_common_t *info, const gx_image_plane_t *planes, int height, int *rows_used) - #else - esmv_image_plane_data(gx_device *dev, gx_image_enum_common_t *info, const gx_image_plane_t *planes, int height) - #endif - { --#if GS_VERSION_MAJOR == 6 -+#if GS_VERSION_MAJOR >= 6 - gx_device *dev = info->dev; - #endif - gx_device_vector *const vdev = (gx_device_vector *) dev; -@@ -1982,7 +1980,7 @@ - - { - --#if GS_VERSION_MAJOR == 6 -+#if GS_VERSION_MAJOR >= 6 - if (height == 260) - height = 1; - #endif -@@ -2139,13 +2137,13 @@ - - - private int --#if GS_VERSION_MAJOR == 6 -+#if GS_VERSION_MAJOR >= 6 - esmv_image_end_image(gx_image_enum_common_t * info, bool draw_last) - #else - esmv_image_end_image(gx_device * dev, gx_image_enum_common_t * info, bool draw_last) - #endif - { --#if GS_VERSION_MAJOR == 6 -+#if GS_VERSION_MAJOR >= 6 - gx_device *dev = info->dev; - #endif - gx_device_vector *const vdev = (gx_device_vector *) dev; diff --git a/print/ghostscript8/files/patch-gdev10v:gdev10v.mak b/print/ghostscript8/files/patch-gdev10v:gdev10v.mak deleted file mode 100644 index 25a8317379b8..000000000000 --- a/print/ghostscript8/files/patch-gdev10v:gdev10v.mak +++ /dev/null @@ -1,22 +0,0 @@ ---- gdev10v/gdev10v.mak.orig Thu Oct 12 11:17:50 2000 -+++ gdev10v/gdev10v.mak Thu Oct 12 11:21:12 2000 -@@ -1,12 +1,13 @@ - ### ----------------- The Canon BubbleJet BJ10v device ----------------- ### - --bj10v_=gdev10v.$(OBJ) gdevprn.$(OBJ) --bj10v.dev: $(bj10v_) -- $(SHP)gssetdev bj10v $(bj10v_) --bj10vh.dev: $(bj10v_) -- $(SHP)gssetdev bj10vh $(bj10v_) -+bj10v_=$(GLOBJ)gdev10v.$(OBJ) $(GLOBJ)gdevprn.$(OBJ) -+$(DD)bj10v.dev: $(bj10v_) $(DD)page.dev -+ $(SETPDEV) $(DD)bj10v $(bj10v_) -+$(DD)bj10vh.dev: $(bj10v_) $(DD)page.dev -+ $(SETPDEV) $(DD)bj10vh $(bj10v_) - - # Uncomment the following line if you are using MS-DOS on PC9801 series. - --gdev10v.$(OBJ): gdevbj10.c $(PDEVH) -+$(GLOBJ)gdev10v.$(OBJ): $(GLSRC)gdevbj10.c $(PDEVH) -+ $(GLCC) $(GLO_)gdev10v.$(OBJ) $(C_) $(GLSRC)gdev10v.c - # $(CCC) -DPC9801 gdev10v.c diff --git a/print/ghostscript8/files/patch-hp2200:gdevcd8.c b/print/ghostscript8/files/patch-hp2200:gdevcd8.c deleted file mode 100644 index 497acc7d3b65..000000000000 --- a/print/ghostscript8/files/patch-hp2200:gdevcd8.c +++ /dev/null @@ -1,296 +0,0 @@ ---- hp2200/gdevcd8.c.orig Wed Jun 21 20:39:33 2000 -+++ hp2200/gdevcd8.c Sat Nov 23 03:03:58 2002 -@@ -409,19 +409,19 @@ - }; - - private int -- rescale_byte_wise1x1(P4(int bytecount, const byte * inbytea, -- const byte * inbyteb, byte * outbyte)); -+ rescale_byte_wise1x1(int bytecount, const byte * inbytea, -+ const byte * inbyteb, byte * outbyte); - private int -- rescale_byte_wise2x1(P4(int bytecount, const byte * inbytea, -- const byte * inbyteb, byte * outbyte)); -+ rescale_byte_wise2x1(int bytecount, const byte * inbytea, -+ const byte * inbyteb, byte * outbyte); - private int -- rescale_byte_wise1x2(P4(int bytecount, const byte * inbytea, -- const byte * inbyteb, byte * outbyte)); -+ rescale_byte_wise1x2(int bytecount, const byte * inbytea, -+ const byte * inbyteb, byte * outbyte); - private int -- rescale_byte_wise2x2(P4(int bytecount, const byte * inbytea, -- const byte * inbyteb, byte * outbyte)); -+ rescale_byte_wise2x2(int bytecount, const byte * inbytea, -+ const byte * inbyteb, byte * outbyte); - --private int (* const rescale_color_plane[2][2]) (P4(int, const byte *, const byte *, byte *)) = { -+private int (* const rescale_color_plane[2][2]) (int, const byte *, const byte *, byte *) = { - { - rescale_byte_wise1x1, rescale_byte_wise1x2 - }, -@@ -574,16 +574,16 @@ - }; - - /* function pointer typedefs for device driver struct */ --typedef void (*StartRasterMode) (P3(gx_device_printer * pdev, int paper_size, -- FILE * prn_stream)); --typedef void (*PrintNonBlankLines) (P6(gx_device_printer * pdev, -+typedef void (*StartRasterMode) (gx_device_printer * pdev, int paper_size, -+ FILE * prn_stream); -+typedef void (*PrintNonBlankLines) (gx_device_printer * pdev, - struct ptr_arrays *data_ptrs, - struct misc_struct *misc_vars, - struct error_val_field *error_values, - const Gamma *gamma, -- FILE * prn_stream)); -+ FILE * prn_stream); - --typedef void (*TerminatePage) (P2(gx_device_printer * pdev, FILE * prn_stream)); -+typedef void (*TerminatePage) (gx_device_printer * pdev, FILE * prn_stream); - - typedef struct gx_device_cdj850_s { - gx_device_common; -@@ -729,60 +729,60 @@ - * functions. - */ - private void -- cdj850_start_raster_mode(P3(gx_device_printer * pdev, -- int papersize, FILE * prn_stream)); -+ cdj850_start_raster_mode(gx_device_printer * pdev, -+ int papersize, FILE * prn_stream); - - private void -- cdj850_print_non_blank_lines(P6(gx_device_printer * pdev, -+ cdj850_print_non_blank_lines(gx_device_printer * pdev, - struct ptr_arrays *data_ptrs, - struct misc_struct *misc_vars, - struct error_val_field *error_values, - const Gamma *gamma, -- FILE * prn_stream)); -+ FILE * prn_stream); - - private void -- cdj850_terminate_page(P2(gx_device_printer * pdev, FILE * prn_stream)); -+ cdj850_terminate_page(gx_device_printer * pdev, FILE * prn_stream); - - /* The 880C and siblings need a separate set of functions because they seem - * to require a somewhat different version of PCL3+. - */ - private void -- cdj880_start_raster_mode(P3(gx_device_printer * pdev, -- int papersize, FILE * prn_stream)); -+ cdj880_start_raster_mode(gx_device_printer * pdev, -+ int papersize, FILE * prn_stream); - - private void -- cdj880_print_non_blank_lines(P6(gx_device_printer * pdev, -+ cdj880_print_non_blank_lines(gx_device_printer * pdev, - struct ptr_arrays *data_ptrs, - struct misc_struct *misc_vars, - struct error_val_field *error_values, - const Gamma *gamma, -- FILE * prn_stream)); -+ FILE * prn_stream); - - private void -- cdj880_terminate_page(P2(gx_device_printer * pdev, FILE * prn_stream)); -+ cdj880_terminate_page(gx_device_printer * pdev, FILE * prn_stream); - - /* Functions for the 1600C. - */ - private void -- cdj1600_start_raster_mode(P3(gx_device_printer * pdev, -- int papersize, FILE * prn_stream)); -+ cdj1600_start_raster_mode(gx_device_printer * pdev, -+ int papersize, FILE * prn_stream); - private void -- cdj1600_print_non_blank_lines(P6(gx_device_printer * pdev, -+ cdj1600_print_non_blank_lines(gx_device_printer * pdev, - struct ptr_arrays *data_ptrs, - struct misc_struct *misc_vars, - struct error_val_field *error_values, - const Gamma *gamma, -- FILE * prn_stream)); -+ FILE * prn_stream); - private void -- cdj1600_terminate_page(P2(gx_device_printer * pdev, FILE * prn_stream)); -+ cdj1600_terminate_page(gx_device_printer * pdev, FILE * prn_stream); - - /* Functions for the HP2200C */ - private void -- chp2200_start_raster_mode(P3(gx_device_printer * pdev, -- int papersize, FILE * prn_stream)); -+ chp2200_start_raster_mode(gx_device_printer * pdev, -+ int papersize, FILE * prn_stream); - - private void -- chp2200_terminate_page(P2(gx_device_printer * pdev, FILE * prn_stream)); -+ chp2200_terminate_page(gx_device_printer * pdev, FILE * prn_stream); - - - private const gx_device_procs cdj670_procs = -@@ -855,12 +855,12 @@ - chp2200_terminate_page); - - /* Forward references */ --private int cdj_put_param_int(P6(gs_param_list *, gs_param_name, -- int *, int, int, int)); --private int cdj_put_param_float(P6(gs_param_list *, gs_param_name, float -- *, float, float, int)); --private int cdj_put_param_bpp(P5(gx_device *, gs_param_list *, int, int, int)); --private int cdj_set_bpp(P3(gx_device *, int, int)); -+private int cdj_put_param_int(gs_param_list *, gs_param_name, -+ int *, int, int, int); -+private int cdj_put_param_float(gs_param_list *, gs_param_name, float -+ *, float, float, int); -+private int cdj_put_param_bpp(gx_device *, gs_param_list *, int, int, int); -+private int cdj_set_bpp(gx_device *, int, int); - - - /* hp_colour_open() -@@ -1102,73 +1102,73 @@ - - /* internal functions */ - private void -- FSDlinebw(P7(int scan, int plane_size, -+ FSDlinebw(int scan, int plane_size, - struct error_val_field *error_values, - byte * kP, -- int n, int *ep, byte * dp)); -+ int n, int *ep, byte * dp); - private void -- FSDlinec2(P9(int scan, int plane_size, -+ FSDlinec2(int scan, int plane_size, - struct error_val_field *error_values, - byte * cPa, byte * mPa, byte * yPa, int n, -- byte * dp, int *ep)); -+ byte * dp, int *ep); - private void -- FSDlinec3(P12(int scan, int plane_size, -+ FSDlinec3(int scan, int plane_size, - struct error_val_field *error_values, - byte * cPa, byte * mPa, byte * yPa, - byte * cPb, byte * mPb, byte * yPb, -- int n, byte * dp, int *ep)); -+ int n, byte * dp, int *ep); - private void -- FSDlinec4(P12(int scan, int plane_size, -+ FSDlinec4(int scan, int plane_size, - struct error_val_field *error_values, - byte * cPa, byte * mPa, byte * yPa, - byte * cPb, byte * mPb, byte * yPb, -- int n, byte * dp, int *ep)); -+ int n, byte * dp, int *ep); - private void - init_error_buffer(struct misc_struct *misc_vars, - struct ptr_arrays *data_ptrs); - private void -- do_floyd_steinberg(P8(int scan, int cscan, int plane_size, -+ do_floyd_steinberg(int scan, int cscan, int plane_size, - int plane_size_c, int n, - struct ptr_arrays *data_ptrs, - gx_device_printer * pdev, -- struct error_val_field *error_values)); -+ struct error_val_field *error_values); - private int -- do_gcr(P8(int bytecount, byte * inbyte, const byte * kvalues, -+ do_gcr(int bytecount, byte * inbyte, const byte * kvalues, - const byte * cvalues, const byte * mvalues, - const byte * yvalues, const int *kcorrect, -- word * inword)); -+ word * inword); - - /* UNUSED - *private int -- *test_scan (P4(int size, -+ *test_scan (int size, - * byte * current, - * byte * last, -- * byte * control)); -+ * byte * control); - *private void -- *save_color_data(P3(int size, -+ *save_color_data(int size, - * byte * current, -- * byte * saved)); -+ * byte * saved); - * - */ - private void -- send_scan_lines(P6(gx_device_printer * pdev, -+ send_scan_lines(gx_device_printer * pdev, - struct ptr_arrays *data_ptrs, - struct misc_struct *misc_vars, - struct error_val_field *error_values, - const Gamma *gamma, -- FILE * prn_stream)); -+ FILE * prn_stream); - private void -- do_gamma(P3(float mastergamma, float gammaval, byte * values)); -+ do_gamma(float mastergamma, float gammaval, byte * values); - private void -- do_black_correction(P2(float kvalue, int *kcorrect)); -+ do_black_correction(float kvalue, int *kcorrect); - - private void -- init_data_structure(P3(gx_device_printer * pdev, -+ init_data_structure(gx_device_printer * pdev, - struct ptr_arrays *data_ptrs, -- struct misc_struct *misc_vars)); -+ struct misc_struct *misc_vars); - private void -- calculate_memory_size(P2(gx_device_printer * pdev, -- struct misc_struct *misc_vars)); -+ calculate_memory_size(gx_device_printer * pdev, -+ struct misc_struct *misc_vars); - - - private void -@@ -3393,13 +3393,14 @@ - (y) = gx_bits_to_color_value((v) & ((1 << (b)) - 1), (b)) - - private gx_color_index --gdev_cmyk_map_cmyk_color(gx_device * pdev, -- gx_color_value cyan, gx_color_value magenta, -- gx_color_value yellow, -- gx_color_value black) -+gdev_cmyk_map_cmyk_color(gx_device * pdev, const gx_color_value cv[]) - { - - gx_color_index color; -+ gx_color_value cyan = cv[0]; -+ gx_color_value magenta = cv[1]; -+ gx_color_value yellow = cv[2]; -+ gx_color_value black = cv[3]; - - switch (pdev->color_info.depth) { - case 1: -@@ -3432,9 +3433,11 @@ - /* Mapping of RGB colors to gray values. */ - - private gx_color_index --gdev_cmyk_map_rgb_color(gx_device * pdev, gx_color_value r, gx_color_value -- g, gx_color_value b) -+gdev_cmyk_map_rgb_color(gx_device * pdev, const gx_color_value cv[]) - { -+ gx_color_value r = cv[0]; -+ gx_color_value g = cv[1]; -+ gx_color_value b = cv[2]; - if (gx_color_value_to_byte(r & g & b) == 0xff) { - return (gx_color_index) 0; /* White */ - } else { -@@ -3522,9 +3525,11 @@ - } - - private gx_color_index --gdev_pcl_map_rgb_color(gx_device * pdev, gx_color_value r, -- gx_color_value g, gx_color_value b) -+gdev_pcl_map_rgb_color(gx_device * pdev, const gx_color_value cv[]) - { -+ gx_color_value r = cv[0]; -+ gx_color_value g = cv[1]; -+ gx_color_value b = cv[2]; - if (gx_color_value_to_byte(r & g & b) == 0xff) - return (gx_color_index) 0; /* white */ - else { diff --git a/print/ghostscript8/files/patch-lib:gs_init.ps b/print/ghostscript8/files/patch-lib:gs_init.ps deleted file mode 100644 index 70de88245ddc..000000000000 --- a/print/ghostscript8/files/patch-lib:gs_init.ps +++ /dev/null @@ -1,19 +0,0 @@ ---- lib/gs_init.ps.orig Fri Feb 1 12:25:45 2002 -+++ lib/gs_init.ps Sat Feb 9 01:42:10 2002 -@@ -1274,7 +1274,7 @@ - % Set the default screen and BG/UCR. - /.setdefaultbgucr { - systemdict /setblackgeneration known { -- { pop 0 } dup setblackgeneration setundercolorremoval -+ {} dup setblackgeneration setundercolorremoval - } if - } bind def - /.useloresscreen { % - .useloresscreen <bool> -@@ -1874,3 +1874,7 @@ - userdict /AGM_preserve_spots false put - - % The interpreter will run the initial procedure (start). -+ -+% unofficial patch: -+% make it possible to print from within acroread pdf viewer -+/Default currenthalftone /Halftone defineresource pop diff --git a/print/ghostscript8/files/patch-lib:gs_res.ps b/print/ghostscript8/files/patch-lib:gs_res.ps deleted file mode 100644 index 2e5169720649..000000000000 --- a/print/ghostscript8/files/patch-lib:gs_res.ps +++ /dev/null @@ -1,13 +0,0 @@ ---- lib/gs_res.ps.orig Mon Jul 16 01:09:41 2001 -+++ lib/gs_res.ps Fri Feb 8 07:12:09 2002 -@@ -248,8 +248,8 @@ - /pssystemparams 10 dict readonly def - } if - pssystemparams begin -- /FontResourceDir (/Resource/Font/) readonly .forcedef % pssys'params is r-o -- /GenericResourceDir (/Resource/) readonly .forcedef % pssys'params is r-o -+ /FontResourceDir (%%DATADIR%%/Resource/Font/) readonly .forcedef % pssys'params is r-o -+ /GenericResourceDir (%%DATADIR%%/Resource/) readonly .forcedef % pssys'params is r-o - /GenericResourcePathSep (/) readonly .forcedef % pssys'params is r-o - end - end diff --git a/print/ghostscript8/files/patch-lib:gs_statd.ps b/print/ghostscript8/files/patch-lib:gs_statd.ps deleted file mode 100644 index d78c6e16bfc0..000000000000 --- a/print/ghostscript8/files/patch-lib:gs_statd.ps +++ /dev/null @@ -1,23 +0,0 @@ ---- lib/gs_statd.ps.orig Fri Oct 11 02:29:39 2002 -+++ lib/gs_statd.ps Fri Dec 6 04:53:01 2002 -@@ -105,6 +105,12 @@ - /flsa {612 936 //.setpagesize exec} bind def % U.S. foolscap - /flse {612 936 //.setpagesize exec} bind def % European foolscap - /halfletter {396 612 //.setpagesize exec} bind def -+ /postcard {284 419 //.setpagesize exec} bind def -+ /dbl_postcard {419 568 //.setpagesize exec} bind def -+ /Executive {522 756 //.setpagesize exec} bind def -+ /jenv_you4 {298 666 //.setpagesize exec} bind def -+ /jenv_you2 {324 460 //.setpagesize exec} bind def -+ /jenv_kaku2 {682 942 //.setpagesize exec} bind def - % /tabloid {792 1224 //.setpagesize exec} bind def % 11x17 portrait - % /csheet {1224 1584 //.setpagesize exec} bind def % ANSI C 17x22 - % /dsheet {1584 2448 //.setpagesize exec} bind def % ANSI D 22x34 -@@ -121,6 +127,7 @@ - [ /letter /note %do not change this line, needed by 'setpagetype' - /legal /lettersmall - /11x17 /ledger -+ /postcard /dbl_postcard /Executive /jenv_you4 /jenv_you2 /jenv_kaku2 - /a4small /a3 /a4 - STRICT { (%END SIZES) .skipeof } if - /a0 /a1 /a2 /a5 /a6 /a7 /a8 /a9 /a10 diff --git a/print/ghostscript8/files/patch-lips:gdevl4r.c b/print/ghostscript8/files/patch-lips:gdevl4r.c deleted file mode 100644 index 018f0f93c495..000000000000 --- a/print/ghostscript8/files/patch-lips:gdevl4r.c +++ /dev/null @@ -1,13 +0,0 @@ ---- lips/gdevl4r.c.orig Thu Nov 2 12:09:18 2000 -+++ lips/gdevl4r.c Sun Nov 10 21:12:14 2002 -@@ -178,8 +178,8 @@ - private int lips4c_output_page(gx_device_printer * pdev, FILE * prn_stream); - private int lips_delta_encode(byte * inBuff, byte * prevBuff, byte * outBuff, byte * diffBuff, int Length); - private int lips_byte_cat(byte * TotalBuff, byte * Buff, int TotalLen, int Len); --private int lips_print_page_copies(P4(gx_device_printer * pdev, FILE * prn_stream, lips_printer_type ptype, int numcopies)); --private int lips_print_page_copies(P4(gx_device_printer * pdev, FILE * prn_stream, lips_printer_type ptype, int numcopies)); -+private int lips_print_page_copies(gx_device_printer * pdev, FILE * prn_stream, lips_printer_type ptype, int numcopies); -+private int lips_print_page_copies(gx_device_printer * pdev, FILE * prn_stream, lips_printer_type ptype, int numcopies); - private int lips4type_print_page_copies(gx_device_printer * pdev, FILE * prn_stream, int num_copies, int ptype); - - private int diff --git a/print/ghostscript8/files/patch-lips:gdevl4v.c b/print/ghostscript8/files/patch-lips:gdevl4v.c deleted file mode 100644 index c4b3bfb38e76..000000000000 --- a/print/ghostscript8/files/patch-lips:gdevl4v.c +++ /dev/null @@ -1,65 +0,0 @@ ---- lips/gdevl4v.c.orig Thu Nov 2 12:09:18 2000 -+++ lips/gdevl4v.c Sun Nov 10 21:17:34 2002 -@@ -230,41 +230,35 @@ - }; - - /* Vector device implementation */ --private int lips4v_beginpage(P1(gx_device_vector * vdev)); --private int lips4v_setfillcolor(P2(gx_device_vector * vdev, -- const gx_drawing_color * pdc)); --private int lips4v_setstrokecolor(P2(gx_device_vector * vdev, -- const gx_drawing_color * pdc)); --private int lips4v_setdash(P4(gx_device_vector * vdev, const float *pattern, -- uint count, floatp offset)); --private int lips4v_setflat(P2(gx_device_vector * vdev, floatp flatness)); -+private int lips4v_beginpage(gx_device_vector * vdev); -+private int lips4v_setfillcolor(gx_device_vector * vdev, -+ const gx_drawing_color * pdc); -+private int lips4v_setstrokecolor(gx_device_vector * vdev, -+ const gx_drawing_color * pdc); -+private int lips4v_setdash(gx_device_vector * vdev, const float *pattern, -+ uint count, floatp offset); -+private int lips4v_setflat(gx_device_vector * vdev, floatp flatness); - private int --lips4v_setlogop(P3 -- -- (gx_device_vector * vdev, gs_logical_operation_t lop, -- gs_logical_operation_t diff)); -+lips4v_setlogop(gx_device_vector * vdev, gs_logical_operation_t lop, -+ gs_logical_operation_t diff); - private int - --lips4v_beginpath(P2(gx_device_vector * vdev, gx_path_type_t type)); -+lips4v_beginpath(gx_device_vector * vdev, gx_path_type_t type); -+private int -+lips4v_moveto(gx_device_vector * vdev, floatp x0, floatp y0, floatp x, -+ floatp y, gx_path_type_t type); - private int --lips4v_moveto(P6 -- (gx_device_vector * vdev, floatp x0, floatp y0, floatp x, -- floatp y, gx_path_type_t type)); --private int --lips4v_lineto(P6 -- (gx_device_vector * vdev, floatp x0, floatp y0, floatp x, -- floatp y, gx_path_type_t type)); -+lips4v_lineto(gx_device_vector * vdev, floatp x0, floatp y0, floatp x, -+ floatp y, gx_path_type_t type); - private int --lips4v_curveto(P10 -- (gx_device_vector * vdev, floatp x0, floatp y0, floatp x1, -+lips4v_curveto(gx_device_vector * vdev, floatp x0, floatp y0, floatp x1, - floatp y1, floatp x2, floatp y2, floatp x3, floatp y3, -- gx_path_type_t type)); -+ gx_path_type_t type); - private int --lips4v_closepath(P6 -- (gx_device_vector * vdev, floatp x, floatp y, floatp x_start, -- floatp y_start, gx_path_type_t type)); -+lips4v_closepath(gx_device_vector * vdev, floatp x, floatp y, floatp x_start, -+ floatp y_start, gx_path_type_t type); - --private int lips4v_endpath(P2(gx_device_vector * vdev, gx_path_type_t type)); -+private int lips4v_endpath(gx_device_vector * vdev, gx_path_type_t type); - private int lips4v_setlinewidth(gx_device_vector * vdev, floatp width); - private int lips4v_setlinecap(gx_device_vector * vdev, gs_line_cap cap); - private int lips4v_setlinejoin(gx_device_vector * vdev, gs_line_join join); diff --git a/print/ghostscript8/files/patch-lips:gdevlips.mak b/print/ghostscript8/files/patch-lips:gdevlips.mak deleted file mode 100644 index 06630057330c..000000000000 --- a/print/ghostscript8/files/patch-lips:gdevlips.mak +++ /dev/null @@ -1,18 +0,0 @@ ---- lips/gdevlips.mak.orig Thu Nov 2 12:12:13 2000 -+++ lips/gdevlips.mak Wed Feb 13 07:29:36 2002 -@@ -43,15 +43,6 @@ - $(GLOBJ)lp2000.dev: $(escpage_) $(DD)page.dev - $(SETPDEV) $(DD)lp2000 $(escpage_) - --### --- The NEC NPDL language printer device ------ ### -- --npdl_=$(GLOBJ)gdevnpdl.$(OBJ) $(GLOBJ)gdevlprn.$(OBJ) --$(GLOBJ)gdevnpdl.$(OBJ): $(GLSRC)gdevnpdl.c $(GLSRC)gdevlprn.h $(PDEVH) -- $(GLCC) -DA4 $(GLO_)gdevnpdl.$(OBJ) $(C_) $(GLSRC)gdevnpdl.c -- --$(GLOBJ)npdl.dev: $(npdl_) $(DD)page.dev -- $(SETPDEV) $(DD)npdl $(npdl_) -- - ### --- The RICOH RPDL language printer device ------ ### - - rpdl_=$(GLOBJ)gdevrpdl.$(OBJ) $(GLOBJ)gdevlprn.$(OBJ) diff --git a/print/ghostscript8/files/patch-lips:gdevlprn.h b/print/ghostscript8/files/patch-lips:gdevlprn.h deleted file mode 100644 index f8169e113db7..000000000000 --- a/print/ghostscript8/files/patch-lips:gdevlprn.h +++ /dev/null @@ -1,11 +0,0 @@ ---- lips/gdevlprn.h.orig Thu Nov 2 12:09:18 2000 -+++ lips/gdevlprn.h Sun Nov 10 21:11:22 2002 -@@ -29,7 +29,7 @@ - #include "gdevprn.h" - - #define lprn_dev_proc_image_out(proc)\ -- void proc(P6(gx_device_printer *, FILE *, int, int, int, int)) -+ void proc(gx_device_printer *, FILE *, int, int, int, int) - - #define dev_proc_image_out(proc) lprn_dev_proc_image_out(proc) - diff --git a/print/ghostscript8/files/patch-md2k:gdevmd2k.c b/print/ghostscript8/files/patch-md2k:gdevmd2k.c deleted file mode 100644 index 4b1049db015c..000000000000 --- a/print/ghostscript8/files/patch-md2k:gdevmd2k.c +++ /dev/null @@ -1,50 +0,0 @@ ---- md2k/gdevmd2k.c.orig Sun May 2 14:07:57 1999 -+++ md2k/gdevmd2k.c Fri Nov 8 07:29:13 2002 -@@ -638,11 +638,13 @@ - (k) = gx_bits_to_color_value((v) & ((1 << (b)) - 1), (b)) - - private gx_color_index --alps_map_cmyk_color(gx_device* pdev, -- gx_color_value c, gx_color_value m, -- gx_color_value y, gx_color_value k) -+alps_map_cmyk_color(gx_device* pdev, const gx_color_value cv[]) - { - gx_color_index color; -+ gx_color_value c = cv[0]; -+ gx_color_value m = cv[1]; -+ gx_color_value y = cv[2]; -+ gx_color_value k = cv[3]; - - switch (pdev->color_info.depth) { - case 1: -@@ -675,10 +677,12 @@ - } - - private gx_color_index --alps_map_cmy_color(gx_device* pdev, -- gx_color_value c, gx_color_value m, -- gx_color_value y, gx_color_value k) -+alps_map_cmy_color(gx_device* pdev, const gx_color_value cv[]) - { -+ gx_color_value c = cv[0]; -+ gx_color_value m = cv[1]; -+ gx_color_value y = cv[2]; -+ gx_color_value k = cv[3]; - int nbits = pdev->color_info.depth; - ulong weight = ((gx_max_color_value - k) << 10) / gx_max_color_value; - c = ((c * weight) >> 10) + k; -@@ -694,10 +698,12 @@ - /* Mapping of RGB colors to gray values. */ - - private gx_color_index --alps_map_rgb_color(gx_device *pdev, -- gx_color_value r, gx_color_value g, gx_color_value b) -+alps_map_rgb_color(gx_device *pdev, const gx_color_value cv[]) - { - -+ gx_color_value r = cv[0]; -+ gx_color_value g = cv[1]; -+ gx_color_value b = cv[2]; - if (gx_color_value_to_byte(r & g & b) == 0xff) { - return (gx_color_index) 0; /* White */ - } else { diff --git a/print/ghostscript8/files/patch-md2k:gdevmd2k.mak b/print/ghostscript8/files/patch-md2k:gdevmd2k.mak deleted file mode 100644 index b003efb81f7f..000000000000 --- a/print/ghostscript8/files/patch-md2k:gdevmd2k.mak +++ /dev/null @@ -1,19 +0,0 @@ ---- md2k/gdevmd2k.mak-5.50.orig Sun Nov 19 18:42:20 2000 -+++ md2k/gdevmd2k.mak-5.50 Sun Nov 19 18:52:14 2000 -@@ -3,11 +3,11 @@ - - md2k_=$(GLOBJ)gdevmd2k.$(OBJ) - --md2k.dev: $(md2k_) page.dev -- $(SETPDEV) md2k $(md2k_) -+$(DD)md2k.dev: $(md2k_) $(DD)page.dev -+ $(SETPDEV) $(DD)md2k $(md2k_) - --md5k.dev: $(md2k_) page.dev -- $(SETPDEV) md5k $(md2k_) -+$(DD)md5k.dev: $(md2k_) $(DD)page.dev -+ $(SETPDEV) $(DD)md5k $(md2k_) - --$(GLOBJ)gdevmd2k.$(OBJ): gdevmd2k.c $(PDEVH) $(gsparam_h) -+$(GLOBJ)gdevmd2k.$(OBJ): $(GLSRC)gdevmd2k.c $(PDEVH) $(gsparam_h) - $(GLCC) $(GLO_)gdevmd2k.$(OBJ) $(C_) $(GLSRC)gdevmd2k.c diff --git a/print/ghostscript8/files/patch-mjc:gdevmjc.c b/print/ghostscript8/files/patch-mjc:gdevmjc.c deleted file mode 100644 index ffdae781ffa1..000000000000 --- a/print/ghostscript8/files/patch-mjc:gdevmjc.c +++ /dev/null @@ -1,377 +0,0 @@ ---- mjc/gdevmjc.c.orig Sat Nov 2 17:58:50 1996 -+++ mjc/gdevmjc.c Sun Nov 10 21:37:22 2002 -@@ -43,7 +43,8 @@ - #include <limits.h> - #include "gdevprn.h" - #include "gdevpcl.h" --#include "gsprops.h" -+#include "gsparam.h" -+#include "gsstate.h" - - #include "mjmtx2.c" - #include "mjbksep.c" -@@ -150,7 +151,9 @@ - - /* Undefined macros expected to be defined in gdevpcl.h */ - #define PAPER_SIZE_A3_NOBI 28 -+#ifndef PAPER_SIZE_A2 - #define PAPER_SIZE_A2 29 -+#endif - #define PAPER_SIZE_B4 30 - #define PAPER_SIZE_B5 31 - -@@ -190,18 +193,16 @@ - private dev_proc_print_page(mjc720_print_page); - private dev_proc_print_page(mj500c_print_page); - --private dev_proc_get_props(mj_get_props); --private dev_proc_put_props(mj_put_props); -- --private void expand_line(P4(word*, int, int, int)); --private int put_prop_float(P5(gs_prop_item *, float *, float, float, int)); --private int put_prop_int(P5(gs_prop_item *, int *, int, int, int)); -+private dev_proc_get_params(mj_get_params); -+private dev_proc_put_params(mj_put_params); - --private void set_bpp(P2(gx_device *, int)); -+private void expand_line(word*, int, int, int); -+private int mj_put_param_int(gs_param_list *, gs_param_name, int *, int, int, int); -+private void mj_set_bpp(gx_device *, int); - --private uint gdev_prn_rasterwidth(P2(const gx_device_printer *, int )); -+private uint gdev_prn_rasterwidth(const gx_device_printer *, int ); - --private gx_color_index mjc_correct_color(P2(gx_device_printer *, gx_color_index)); -+private gx_color_index mjc_correct_color(gx_device_printer *, gx_color_index); - - /* The device descriptors */ - struct gx_device_mj_s { -@@ -224,7 +225,7 @@ - #define mj ((gx_device_mj *) pdev) - - #define prn_hp_colour_device(procs, dev_name, x_dpi, y_dpi, bpp, print_page)\ -- prn_device_body(gx_device_printer, procs, dev_name,\ -+ prn_device_body(gx_device_mj, procs, dev_name,\ - WIDTH_10THS, HEIGHT_10THS, x_dpi, y_dpi, 0, 0, 0, 0, 0,\ - bpp, 0, 0, 0, 0, print_page) - -@@ -235,9 +236,9 @@ - } - - --#define mj_colour_procs(proc_colour_open, proc_get_props, proc_put_props) {\ -+#define mj_colour_procs(proc_colour_open, proc_get_params, proc_put_params) {\ - proc_colour_open,\ -- gdev_pcl_get_initial_matrix,\ -+ gx_default_get_initial_matrix,\ - gx_default_sync_output,\ - gdev_prn_output_page,\ - gdev_prn_close,\ -@@ -249,15 +250,15 @@ - NULL, /* copy_color */\ - NULL, /* draw_line */\ - gx_default_get_bits,\ -- proc_get_props,\ -- proc_put_props\ -+ proc_get_params,\ -+ proc_put_params\ - } - --private int mjc_open(P1(gx_device *)); --private int mj_colour_open(P1(gx_device *)); -+private int mjc_open(gx_device *); -+private int mj_colour_open(gx_device *); - - private gx_device_procs mj_procs = --mj_colour_procs(mjc_open, mj_get_props, mj_put_props); -+mj_colour_procs(mjc_open, mj_get_params, mj_put_params); - - gx_device_mj far_data gs_mjc180_device = - mj_device(mj_procs, "mjc180", 180, 180, BITSPERPIXEL, -@@ -306,14 +307,14 @@ - static const float mj_b4[4] = { MJ700V2C_MARGINS_B4 }; - static const float mj_b5[4] = { MJ700V2C_MARGINS_B5 }; - static const float mj_letter[4] = { MJ700V2C_MARGINS_LETTER }; -- const float _ds *m; -+ const float *m; - int psize; - - int paper_size; - - /* Set up colour params if put_props has not already done so */ - if (pdev->color_info.num_components == 0) -- set_bpp(pdev, pdev->color_info.depth); -+ mj_set_bpp(pdev, pdev->color_info.depth); - - paper_size = gdev_mjc_paper_size(pdev); - if (paper_size == PAPER_SIZE_A2 ) { -@@ -332,10 +333,7 @@ - m = mj_letter; - } - -- pdev->l_margin = m[0]; -- pdev->b_margin = m[1]; -- pdev->r_margin = m[2]; -- pdev->t_margin = m[3]; -+ gx_device_set_margins(pdev, m, true); - - switch (mj->colorcomp) { - case 1: -@@ -360,84 +358,78 @@ - * and control over the bits-per-pixel used in output rendering */ - /* Added properties for DeskJet 5xxC */ - --private const gs_prop_item props_mj[] = { -- /* Read-write properties. */ -- prop_def("Density", prt_int), -- prop_def("Cyan", prt_int), -- prop_def("Magenta", prt_int), -- prop_def("Yellow", prt_int), -- prop_def("Black", prt_int), -- prop_def("Dither", prt_int), -- prop_def("ColorComponent", prt_int), -- prop_def("Direction", prt_int), -- prop_def("MicroWeave", prt_int), -- prop_def("DotSize", prt_int), --}; -- - private int --mj_get_props(gx_device *pdev, gs_prop_item *plist) --{ int start = gdev_prn_get_props(pdev, plist); -- if ( plist != 0 ) { -- register gs_prop_item *pi = plist + start; -- memcpy(pi, props_mj, sizeof(props_mj)); -- pi[0].value.i = mj->density; -- pi[1].value.i = mj->cyan; -- pi[2].value.i = mj->magenta; -- pi[3].value.i = mj->yellow; -- pi[4].value.i = mj->black; -- pi[5].value.i = mj->dither; -- pi[6].value.i = mj->colorcomp; -- pi[7].value.i = mj->direction; -- pi[8].value.i = mj->microweave; -- pi[9].value.i = mj->dotsize; -- } -- return start + sizeof(props_mj) / sizeof(gs_prop_item); -+mj_get_params(gx_device *pdev, gs_param_list *plist) -+{ int code = gdev_prn_get_params(pdev, plist); -+ if ( code < 0 || -+ (code = param_write_int(plist, "Density", &mj->density)) < 0 || -+ (code = param_write_int(plist, "Cyan", &mj->cyan)) < 0 || -+ (code = param_write_int(plist, "Magenta", &mj->magenta)) < 0 || -+ (code = param_write_int(plist, "Yellow", &mj->yellow)) < 0 || -+ (code = param_write_int(plist, "Black", &mj->black)) < 0 || -+ (code = param_write_int(plist, "Dither", &mj->dither)) < 0 || -+ (code = param_write_int(plist, "ColorComponent", &mj->colorcomp)) < 0 || -+ (code = param_write_int(plist, "Direction", &mj->direction)) < 0 || -+ (code = param_write_int(plist, "MicroWeave", &mj->microweave)) < 0 || -+ (code = param_write_int(plist, "DotSize", &mj->dotsize)) < 0 -+ ) -+ return code; -+ return code; - } - - /* Put properties. */ - private int --mj_put_props(gx_device *pdev, gs_prop_item *plist, int count) -+mj_put_params(gx_device *pdev, gs_param_list *plist) - { -- static const argn = 10; --/* gs_prop_item *known[argn]; */ -- gs_prop_item *known[10]; - int old_bpp = mj->color_info.depth; - int bpp = 0; - int code = 0; -- -- props_extract(plist, count, props_mj, argn, known, 0); -- code = gdev_prn_put_props(pdev, plist, count); -- if ( code < 0 ) return code; -- -- code = put_prop_int(known[0], &mj->density, 0, INT_MAX, code); -- code = put_prop_int(known[1], &mj->cyan, 0, INT_MAX, code); -- code = put_prop_int(known[2], &mj->magenta, 0, INT_MAX, code); -- code = put_prop_int(known[3], &mj->yellow, 0, INT_MAX, code); -- code = put_prop_int(known[4], &mj->black, 0, INT_MAX, code); -- code = put_prop_int(known[5], &mj->dither, 0, 1, code); -- code = put_prop_int(known[6], &mj->colorcomp, 1, 4, code); -- code = put_prop_int(known[7], &mj->direction, 1, 2, code); -- code = put_prop_int(known[8], &mj->microweave, 0, 1, code); -- code = put_prop_int(known[9], &mj->dotsize, 0, 1, code); -- -+ int density = mj->density; -+ int cyan = mj->cyan; -+ int magenta = mj->magenta; -+ int yellow = mj->yellow; -+ int black = mj->black; -+ int dither = mj->dither; -+ int colorcomp = mj->colorcomp; -+ int direction = mj->direction; -+ int microweave = mj->microweave; -+ int dotsize = mj->dotsize; -+ code = mj_put_param_int(plist, "Density", &density, 0, INT_MAX, code); -+ code = mj_put_param_int(plist, "Cyan", &cyan, 0, INT_MAX, code); -+ code = mj_put_param_int(plist, "Magenta", &magenta, 0, INT_MAX, code); -+ code = mj_put_param_int(plist, "Yellow", &yellow, 0, INT_MAX, code); -+ code = mj_put_param_int(plist, "Black", &black, 0, INT_MAX, code); -+ code = mj_put_param_int(plist, "Dither", &dither, 0, 1, code); -+ code = mj_put_param_int(plist, "ColorComponent", &colorcomp, 1, 4, code); -+ code = mj_put_param_int(plist, "Direction", &direction, 1, 2, code); -+ code = mj_put_param_int(plist, "MicroWeave", µweave, 0, 1, code); -+ code = mj_put_param_int(plist, "DotSize", &dotsize, 0, 1, code); -+ code = mj_put_param_int(plist, "BitsPerPixel", &bpp, 1, 32, code); - if ( code < 0 ) -- return_error(code); -- -- if (bpp != 0) { -- set_bpp(pdev, bpp); -- -- /* Close the device; gs_putdeviceprops will reopen it. */ -+ return code; -+ mj->density = density; -+ mj->cyan = cyan; -+ mj->magenta = magenta; -+ mj->yellow = yellow; -+ mj->black = black; -+ mj->dither = dither; -+ mj->colorcomp = colorcomp; -+ mj->direction = direction; -+ mj->microweave = microweave; -+ mj->dotsize = dotsize; -+ if ( bpp != 0 ) { -+ mj_set_bpp(pdev, bpp); -+ gdev_prn_put_params(pdev, plist); - if ( bpp != old_bpp && pdev->is_open ) -- { int ccode = gs_closedevice(pdev); -- if ( ccode < 0 ) return ccode; -- } -+ return gs_closedevice(pdev); -+ return 0; - } -- -- return code; -+ else -+ return gdev_prn_put_params(pdev, plist); - } - - /* ------ Internal routines ------ */ --private int mj_colour_print_page(P3(gx_device_printer *, FILE *, int)); -+private int mj_colour_print_page(gx_device_printer *, FILE *, int); - - - private int -@@ -1163,7 +1155,8 @@ - - /* Send each scan line in turn */ - { -- long int lend = pdev->height - (pdev->t_margin + pdev->b_margin) * y_dpi; -+ long int lend = pdev->height - -+ (dev_t_margin_points(pdev) + dev_b_margin_points(pdev)); - int cErr, mErr, yErr, kErr; - int this_pass, i; - long int lnum; -@@ -1412,10 +1405,10 @@ - - void - mj_color_correct(gx_color_value *Rptr ,gx_color_value *Gptr , gx_color_value *Bptr ) -- /* R,G,B : 0`255 */ -+ /* R,G,B : 0)B`255 */ - { -- short R,G,B; /* R,G,B : 0`255 */ -- short C,M,Y; /* C,M,Y : 0`1023 */ -+ short R,G,B; /* R,G,B : 0)B`255 */ -+ short C,M,Y; /* C,M,Y : 0)B`1023 */ - short H,D,Wa; /* ese-HSV */ - long S; /* HSV */ - -@@ -1517,9 +1510,11 @@ - * c, m, y, inks by reducing the cyan component to give a truer black. - */ - private gx_color_index --gdev_mjc_map_rgb_color(gx_device *pdev, gx_color_value r, -- gx_color_value g, gx_color_value b) -+gdev_mjc_map_rgb_color(gx_device *pdev, const gx_color_value cv[]) - { -+ gx_color_value r = cv[0]; -+ gx_color_value g = cv[1]; -+ gx_color_value b = cv[2]; - if (gx_color_value_to_byte(r & g & b) == 0xff) - return (gx_color_index)0; /* white */ - else { -@@ -1685,39 +1680,25 @@ - } - - private int --put_prop_int(gs_prop_item *pi, int *property, int minval, int maxval, int code) --{ -- if ( pi == 0 ) -- return (code); -- -- if ( pi->value.i < minval || pi->value.i > maxval ) -- { pi->status = pv_rangecheck; -- return (gs_error_rangecheck); -- } -- else -- { *property = pi->value.i; -- return (code ? code : 1); -- } --} -- --private int --put_prop_float(gs_prop_item *pi, float *property, float minval, float maxval, int code) --{ -- if ( pi == 0 ) -- return (code); -- -- if ( pi->value.f < minval || pi->value.f > maxval ) -- { pi->status = pv_rangecheck; -- return (gs_error_rangecheck); -- } -- else -- { *property = pi->value.f; -- return (code ? code : 1); -- } -+mj_put_param_int(gs_param_list *plist, gs_param_name pname, int *pvalue, -+ int minval, int maxval, int ecode) -+{ int code, value; -+ switch ( code = param_read_int(plist, pname, &value) ) -+ { -+ default: -+ return code; -+ case 1: -+ return ecode; -+ case 0: -+ if ( value < minval || value > maxval ) -+ param_signal_error(plist, pname, gs_error_rangecheck); -+ *pvalue = value; -+ return (ecode < 0 ? ecode : 1); -+ } - } - - private void --set_bpp(gx_device *pdev, int bits_per_pixel) -+mj_set_bpp(gx_device *pdev, int bits_per_pixel) - { gx_device_color_info *ci = &pdev->color_info; - /* Only valid bits-per-pixel are 1, 3, 8, 16, 24, 32 */ - int bpp = bits_per_pixel < 3 ? 1 : bits_per_pixel < 8 ? 3 : -@@ -1725,9 +1706,9 @@ - ci->num_components = ((bpp == 1) || (bpp == 8) ? 1 : 3); - ci->depth = ((bpp > 1) && (bpp < 8) ? 8 : bpp); - ci->max_gray = (bpp >= 8 ? 255 : 1); -- ci->max_rgb = (bpp >= 8 ? 255 : bpp > 1 ? 1 : 0); -- ci->dither_gray = (bpp >= 8 ? 5 : 2); -- ci->dither_rgb = (bpp >= 8 ? 5 : bpp > 1 ? 2 : 0); -+ ci->max_color = (bpp >= 8 ? 255 : bpp > 1 ? 1 : 0); -+ ci->dither_grays = (bpp >= 8 ? 5 : 2); -+ ci->dither_colors = (bpp >= 8 ? 5 : bpp > 1 ? 2 : 0); - } - - /* This returns either the number of pixels in a scan line, or the number -@@ -1736,7 +1717,7 @@ - gdev_prn_rasterwidth(const gx_device_printer *pdev, int pixelcount) - { - word raster_width = -- pdev->width - pdev->x_pixels_per_inch * (pdev->l_margin + pdev->r_margin); -+ pdev->width - (pdev->HWMargins[0] + pdev->HWMargins[2]); - return (pixelcount ? - (uint)raster_width : - (uint)((raster_width * pdev->color_info.depth + 7) >> 3)); diff --git a/print/ghostscript8/files/patch-mjc:gdevmjc.mak b/print/ghostscript8/files/patch-mjc:gdevmjc.mak deleted file mode 100644 index a094ea08812f..000000000000 --- a/print/ghostscript8/files/patch-mjc:gdevmjc.mak +++ /dev/null @@ -1,43 +0,0 @@ ---- mjc/gdevmjc.mak.orig Tue May 23 19:19:13 2000 -+++ mjc/gdevmjc.mak Tue May 23 19:19:40 2000 -@@ -4,25 +4,22 @@ - # Supports MJ-700V2C, MJ-5000C, MJ-900C, MJ-800C, MJ-500C - # - ## --# --# Append this file to Makefile --# --## --MJCSRC = gdevmjc.c mjmtx2.c mjbksep.c mjhtocmy.c mjvtbl.c \ -- mjgrnsp.c mjgrnsp2.c mjespdtc.c mjespdtm.c mjespdty.c mjbarrie.c -+MJCSRC = $(GLSRC)gdevmjc.c $(GLSRC)mjmtx2.c $(GLSRC)mjbksep.c \ -+ $(GLSRC)mjhtocmy.c $(GLSRC)mjvtbl.c $(GLSRC)mjgrnsp.c \ -+ $(GLSRC)mjgrnsp2.c $(GLSRC)mjespdtc.c $(GLSRC)mjespdtm.c \ -+ $(GLSRC)mjespdty.c $(GLSRC)mjbarrie.c - --mj700v2c_=gdevmjc.$(OBJ) $(HPPCL) -+mj700v2c_=$(GLOBJ)gdevmjc.$(OBJ) $(HPPCL) - - # To make A4 paper the default, change the second line below this to --gdevmjc.$(OBJ): $(MJCSRC) $(PDEVH) $(gdevpcl_h) -- $(CCC) -DA4 gdevmjc.c -- --mjc180.dev: $(mj700v2c_) -- $(SHP)gssetdev mjc180 $(mj700v2c_) --mjc360.dev: $(mj700v2c_) -- $(SHP)gssetdev mjc360 $(mj700v2c_) --mjc720.dev: $(mj700v2c_) -- $(SHP)gssetdev mjc720 $(mj700v2c_) --mj500c.dev: $(mj700v2c_) -- $(SHP)gssetdev mj500c $(mj700v2c_) -+$(GLOBJ)gdevmjc.$(OBJ): $(MJCSRC) $(PDEVH) $(gdevpcl_h) -+ $(GLCC) -DA4 $(GLO_)gdevmjc.$(OBJ) $(C_) $(GLSRC)gdevmjc.c - -+$(GLOBJ)mjc180.dev: $(mj700v2c_) $(DD)page.dev -+ $(SETPDEV) $(DD)mjc180 $(mj700v2c_) -+$(GLOBJ)mjc360.dev: $(mj700v2c_) $(DD)page.dev -+ $(SETPDEV) $(DD)mjc360 $(mj700v2c_) -+$(GLOBJ)mjc720.dev: $(mj700v2c_) $(DD)page.dev -+ $(SETPDEV) $(DD)mjc720 $(mj700v2c_) -+$(GLOBJ)mj500c.dev: $(mj700v2c_) $(DD)page.dev -+ $(SETPDEV) $(DD)mj500c $(mj700v2c_) diff --git a/print/ghostscript8/files/patch-src:cpca_gdevl4v.c b/print/ghostscript8/files/patch-src:cpca_gdevl4v.c deleted file mode 100644 index 005f7cdf39dc..000000000000 --- a/print/ghostscript8/files/patch-src:cpca_gdevl4v.c +++ /dev/null @@ -1,65 +0,0 @@ ---- src/cpca_gdevl4v.c.orig Tue May 7 00:30:00 2002 -+++ src/cpca_gdevl4v.c Fri Dec 6 04:59:34 2002 -@@ -316,41 +316,35 @@ - }; - - /* Vector device implementation */ --private int lips4v_beginpage(P1(gx_device_vector * vdev)); --private int lips4v_setfillcolor(P2(gx_device_vector * vdev, -- const gx_drawing_color * pdc)); --private int lips4v_setstrokecolor(P2(gx_device_vector * vdev, -- const gx_drawing_color * pdc)); --private int lips4v_setdash(P4(gx_device_vector * vdev, const float *pattern, -- uint count, floatp offset)); --private int lips4v_setflat(P2(gx_device_vector * vdev, floatp flatness)); -+private int lips4v_beginpage(gx_device_vector * vdev); -+private int lips4v_setfillcolor(gx_device_vector * vdev, -+ const gx_drawing_color * pdc); -+private int lips4v_setstrokecolor(gx_device_vector * vdev, -+ const gx_drawing_color * pdc); -+private int lips4v_setdash(gx_device_vector * vdev, const float *pattern, -+ uint count, floatp offset); -+private int lips4v_setflat(gx_device_vector * vdev, floatp flatness); - private int --lips4v_setlogop(P3 -- -- (gx_device_vector * vdev, gs_logical_operation_t lop, -- gs_logical_operation_t diff)); -+lips4v_setlogop(gx_device_vector * vdev, gs_logical_operation_t lop, -+ gs_logical_operation_t diff); - private int - --lips4v_beginpath(P2(gx_device_vector * vdev, gx_path_type_t type)); -+lips4v_beginpath(gx_device_vector * vdev, gx_path_type_t type); -+private int -+lips4v_moveto(gx_device_vector * vdev, floatp x0, floatp y0, floatp x, -+ floatp y, gx_path_type_t type); - private int --lips4v_moveto(P6 -- (gx_device_vector * vdev, floatp x0, floatp y0, floatp x, -- floatp y, gx_path_type_t type)); --private int --lips4v_lineto(P6 -- (gx_device_vector * vdev, floatp x0, floatp y0, floatp x, -- floatp y, gx_path_type_t type)); -+lips4v_lineto(gx_device_vector * vdev, floatp x0, floatp y0, floatp x, -+ floatp y, gx_path_type_t type); - private int --lips4v_curveto(P10 -- (gx_device_vector * vdev, floatp x0, floatp y0, floatp x1, -+lips4v_curveto(gx_device_vector * vdev, floatp x0, floatp y0, floatp x1, - floatp y1, floatp x2, floatp y2, floatp x3, floatp y3, -- gx_path_type_t type)); -+ gx_path_type_t type); - private int --lips4v_closepath(P6 -- (gx_device_vector * vdev, floatp x, floatp y, floatp x_start, -- floatp y_start, gx_path_type_t type)); -+lips4v_closepath(gx_device_vector * vdev, floatp x, floatp y, floatp x_start, -+ floatp y_start, gx_path_type_t type); - --private int lips4v_endpath(P2(gx_device_vector * vdev, gx_path_type_t type)); -+private int lips4v_endpath(gx_device_vector * vdev, gx_path_type_t type); - private int lips4v_setlinewidth(gx_device_vector * vdev, floatp width); - private int lips4v_setlinecap(gx_device_vector * vdev, gs_line_cap cap); - private int lips4v_setlinejoin(gx_device_vector * vdev, gs_line_join join); diff --git a/print/ghostscript8/files/patch-src:dmp_site.ps b/print/ghostscript8/files/patch-src:dmp_site.ps deleted file mode 100644 index ee1a5717d641..000000000000 --- a/print/ghostscript8/files/patch-src:dmp_site.ps +++ /dev/null @@ -1,10 +0,0 @@ ---- src/dmp_site.ps.orig Tue May 27 09:57:00 1997 -+++ src/dmp_site.ps Tue Apr 2 23:05:45 2002 -@@ -1,6 +1,6 @@ - BeginConfig - %%%%%%%%%%%%%%%%%%%%%% Standard user cusomizations %%%%%%%%%%%%%%%%%%%%% --/printer (epsimage.src) -+/printer (%%DATADIR%%/%%GS_VERSION%%/lib/escp_24.src) - % horizontal / vertical - % /resolution [ 160.0 180.0 ] - % horizontal / vertical diff --git a/print/ghostscript8/files/patch-src:dviprlib.c b/print/ghostscript8/files/patch-src:dviprlib.c deleted file mode 100644 index c61ca748cbc2..000000000000 --- a/print/ghostscript8/files/patch-src:dviprlib.c +++ /dev/null @@ -1,134 +0,0 @@ ---- src/dviprlib.c.orig Tue May 13 16:14:09 1997 -+++ src/dviprlib.c Sun Nov 10 23:26:06 2002 -@@ -39,8 +39,8 @@ - - - /*--- forward declarations ---*/ --private int dviprt_read_S_cfg(P2(dviprt_cfg_t *,dviprt_cfg_i *)); --private int dviprt_read_QR_cfg(P2(dviprt_cfg_t *,dviprt_cfg_i *)); -+private int dviprt_read_S_cfg(dviprt_cfg_t *,dviprt_cfg_i *); -+private int dviprt_read_QR_cfg(dviprt_cfg_t *,dviprt_cfg_i *); - - /*--- library functions ---*/ - int -@@ -429,21 +429,21 @@ - - /*--- forward declarations ---*/ - private int dviprt_set_select -- (P4(dviprt_cfg_item_t *,uchar **,dviprt_cfg_t *,dviprt_cfg_i *)); -+ (dviprt_cfg_item_t *,uchar **,dviprt_cfg_t *,dviprt_cfg_i *); - private int dviprt_set_integer -- (P4(dviprt_cfg_item_t *, uchar *, dviprt_cfg_t *,dviprt_cfg_i *)); -+ (dviprt_cfg_item_t *, uchar *, dviprt_cfg_t *,dviprt_cfg_i *); - private int dviprt_set_strings -- (P4(dviprt_cfg_item_t *,uchar *,dviprt_cfg_t *,dviprt_cfg_i *)); -+ (dviprt_cfg_item_t *,uchar *,dviprt_cfg_t *,dviprt_cfg_i *); - private int dviprt_set_rpexpr -- (P6(dviprt_cfg_item_t *,uchar *,int , dviprt_cfg_t *,dviprt_cfg_i *,int)); -+ (dviprt_cfg_item_t *,uchar *,int , dviprt_cfg_t *,dviprt_cfg_i *,int); - private int dviprt_set_code -- (P4(dviprt_cfg_item_t *,uchar *,dviprt_cfg_t *,dviprt_cfg_i *)); -+ (dviprt_cfg_item_t *,uchar *,dviprt_cfg_t *,dviprt_cfg_i *); - --private long dviprt_oct2long(P3(uchar *,uchar *,uchar **)); --private long dviprt_dec2long(P3(uchar *,uchar *,uchar **)); --private long dviprt_hex2long(P3(uchar *,uchar *,uchar **)); -+private long dviprt_oct2long(uchar *,uchar *,uchar **); -+private long dviprt_dec2long(uchar *,uchar *,uchar **); -+private long dviprt_hex2long(uchar *,uchar *,uchar **); - --private int dviprt_printtokenerror(P4(dviprt_cfg_i *,char *,int ,int)); -+private int dviprt_printtokenerror(dviprt_cfg_i *,char *,int ,int); - - /*--- macros ---*/ - #define strlcmp(tmplt,str,len) \ -@@ -1433,7 +1433,9 @@ - char *dviprt_prtcodename[] = { CFG_PRTCODE_NAME, NULL }; - char *dviprt_encodename[] = { CFG_ENCODE_NAME, NULL }; - --private FILE *dviprt_messagestream = stderr; -+private FILE *dviprt_messagestream; -+private void dviprt_messagestream_construct (void) __attribute__((constructor)); -+private void dviprt_messagestream_construct (void) { dviprt_messagestream = stderr; } - - /*--- library functions ---*/ - int -@@ -1568,16 +1570,16 @@ - - - /*--- forward declarations ---*/ --private int dviprt_getmaximalwidth(P1(dviprt_print *)); --private int dviprt_flush_buffer(P2(dviprt_print *,uchar far *)); --private int dviprt_output_transpose(P3(dviprt_print *,uchar far *,uint )); --private int dviprt_output_nontranspose(P3(dviprt_print *,uchar far *,uint )); --private int dviprt_output_nontranspose_reverse(P3(dviprt_print *,uchar far *,uint )); --private int dviprt_reverse_bits(P2(uchar far *,uint)); --private int dviprt_transpose8x8(P4(uchar far *,uint, uchar far *,uint)); --private int dviprt_output_expr(P4(dviprt_print *,int,uint,uint)); --private int dviprt_default_outputproc(P3(uchar far *,long ,void *)); --private long dviprt_getbuffersize(P1(dviprt_print *)); -+private int dviprt_getmaximalwidth(dviprt_print *); -+private int dviprt_flush_buffer(dviprt_print *,uchar far *); -+private int dviprt_output_transpose(dviprt_print *,uchar far *,uint ); -+private int dviprt_output_nontranspose(dviprt_print *,uchar far *,uint ); -+private int dviprt_output_nontranspose_reverse(dviprt_print *,uchar far *,uint ); -+private int dviprt_reverse_bits(uchar far *,uint); -+private int dviprt_transpose8x8(uchar far *,uint, uchar far *,uint); -+private int dviprt_output_expr(dviprt_print *,int,uint,uint); -+private int dviprt_default_outputproc(uchar far *,long ,void *); -+private long dviprt_getbuffersize(dviprt_print *); - - /*--- library functions ---*/ - long -@@ -1618,7 +1620,7 @@ - int - dviprt_setstream - #ifdef __PROTOTYPES__ -- (dviprt_print *pprint,int (*func)(P3(uchar far *,long ,void*)),void *pstream) -+ (dviprt_print *pprint,int (*func)(uchar far *,long ,void*),void *pstream) - #else - (pprint,func,pstream) - dviprt_print *pprint; -@@ -2264,19 +2266,19 @@ - #define DVIPRT_SUPPORT_PCL 1 - - /*--- forward declarations ---*/ --private long dviprt_null_getworksize(P2(dviprt_print *,long )); --private long dviprt_null_encode(P3(dviprt_print *,long ,int )); --private long dviprt_hex_getworksize(P2(dviprt_print *,long )); --private long dviprt_hex_encode(P3(dviprt_print *,long ,int )); -+private long dviprt_null_getworksize(dviprt_print *,long ); -+private long dviprt_null_encode(dviprt_print *,long ,int ); -+private long dviprt_hex_getworksize(dviprt_print *,long ); -+private long dviprt_hex_encode(dviprt_print *,long ,int ); - #if DVIPRT_SUPPORT_FAX --private long dviprt_fax_getworksize(P2(dviprt_print *,long )); --private long dviprt_fax_encode(P3(dviprt_print *,long ,int )); -+private long dviprt_fax_getworksize(dviprt_print *,long ); -+private long dviprt_fax_encode(dviprt_print *,long ,int ); - #endif - #if DVIPRT_SUPPORT_PCL --private long dviprt_pcl1_getworksize(P2(dviprt_print *,long )); --private long dviprt_pcl1_encode(P3(dviprt_print *,long ,int )); --private long dviprt_pcl2_getworksize(P2(dviprt_print *,long )); --private long dviprt_pcl2_encode(P3(dviprt_print *,long ,int )); -+private long dviprt_pcl1_getworksize(dviprt_print *,long ); -+private long dviprt_pcl1_encode(dviprt_print *,long ,int ); -+private long dviprt_pcl2_getworksize(dviprt_print *,long ); -+private long dviprt_pcl2_encode(dviprt_print *,long ,int ); - #endif - - private dviprt_encoder dviprt_encoder_list[] = { -@@ -2468,9 +2470,9 @@ - int o_count; - int o_bufcount; - } FaxEncodeInfo; --private int dviprt_fax_set_white(P2(int,FaxEncodeInfo *)); --private int dviprt_fax_set_black(P2(int,FaxEncodeInfo *)); --private int dviprt_fax_set_bitcount(P2(FaxEncode_t *,FaxEncodeInfo *)); -+private int dviprt_fax_set_white(int,FaxEncodeInfo *); -+private int dviprt_fax_set_black(int,FaxEncodeInfo *); -+private int dviprt_fax_set_bitcount(FaxEncode_t *,FaxEncodeInfo *); - - private long - dviprt_fax_encode(dviprt_print *pprint,long s,int f) diff --git a/print/ghostscript8/files/patch-src:dviprlib.h b/print/ghostscript8/files/patch-src:dviprlib.h deleted file mode 100644 index 2a671205b46d..000000000000 --- a/print/ghostscript8/files/patch-src:dviprlib.h +++ /dev/null @@ -1,38 +0,0 @@ ---- src/dviprlib.h.orig Tue May 13 16:10:34 1997 -+++ src/dviprlib.h Sun Nov 10 23:32:53 2002 -@@ -337,23 +337,23 @@ - #ifdef dviprlib_implementation - typedef struct { - int no; -- long (*getworksize)(P2(dviprt_print *,long )); -- long (*encode)(P3(dviprt_print *,long,int)); -+ long (*getworksize)(dviprt_print *,long ); -+ long (*encode)(dviprt_print *,long,int); - } dviprt_encoder; - - #define liblocal private - --liblocal dviprt_encoder *dviprt_getencoder_(P1(int )); --liblocal int dviprt_setcfgbuffer_(P3(dviprt_cfg_i *,int ,int )); --liblocal int dviprt_resetcfgbuffer_(P1(dviprt_cfg_i *)); --liblocal int dviprt_initcfg_(P2(dviprt_cfg_t *,dviprt_cfg_i *)); --liblocal int dviprt_printmessage(P2(char *,int )); --liblocal int dviprt_printerror(P2(char *,int )); --liblocal int dviprt_printwarning(P2(char *,int )); --liblocal int dviprt_printcfgerror(P3(dviprt_cfg_i *,char *,int )); --liblocal int dviprt_printcfgwarning(P3(dviprt_cfg_i *,char *,int )); -+liblocal dviprt_encoder *dviprt_getencoder_(int ); -+liblocal int dviprt_setcfgbuffer_(dviprt_cfg_i *,int ,int ); -+liblocal int dviprt_resetcfgbuffer_(dviprt_cfg_i *); -+liblocal int dviprt_initcfg_(dviprt_cfg_t *,dviprt_cfg_i *); -+liblocal int dviprt_printmessage(char *,int ); -+liblocal int dviprt_printerror(char *,int ); -+liblocal int dviprt_printwarning(char *,int ); -+liblocal int dviprt_printcfgerror(dviprt_cfg_i *,char *,int ); -+liblocal int dviprt_printcfgwarning(dviprt_cfg_i *,char *,int ); - --extern int dviprt_print_headercomment_(P4(char *,char *,char *,FILE *)); -+extern int dviprt_print_headercomment_(char *,char *,char *,FILE *); - extern char dviprt_message_buffer[]; - #endif dviprlib_implementation - diff --git a/print/ghostscript8/files/patch-src:gdevccr.c b/print/ghostscript8/files/patch-src:gdevccr.c deleted file mode 100644 index 56bb760b8ac8..000000000000 --- a/print/ghostscript8/files/patch-src:gdevccr.c +++ /dev/null @@ -1,15 +0,0 @@ ---- src/gdevccr.c.orig Fri Feb 22 07:24:51 2002 -+++ src/gdevccr.c Sun Nov 10 22:38:51 2002 -@@ -112,8 +112,11 @@ - /* ------ Color mapping routines ------ */ - /* map an rgb color to a ccr cmy bitmap */ - private gx_color_index --ccr_map_rgb_color(gx_device *pdev, ushort r, ushort g, ushort b) -+ccr_map_rgb_color(gx_device *pdev, const ushort cv[]) - { -+ ushort r = cv[0]; -+ ushort g = cv[1]; -+ ushort b = cv[2]; - register int shift = gx_color_value_bits - 1; - r>>=shift; - g>>=shift; diff --git a/print/ghostscript8/files/patch-src:gdevcp50.c b/print/ghostscript8/files/patch-src:gdevcp50.c deleted file mode 100644 index ffc8308ec35d..000000000000 --- a/print/ghostscript8/files/patch-src:gdevcp50.c +++ /dev/null @@ -1,18 +0,0 @@ ---- src/gdevcp50.c.orig Fri Feb 22 07:24:51 2002 -+++ src/gdevcp50.c Sun Nov 10 22:35:13 2002 -@@ -204,9 +204,12 @@ - - /* Map a r-g-b color to a color index. */ - private gx_color_index --cp50_rgb_color(gx_device *dev, gx_color_value r, gx_color_value g, -- gx_color_value b) --{ return ((ulong)gx_color_value_to_byte(r) << 16)+ -+cp50_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]; -+ return ((ulong)gx_color_value_to_byte(r) << 16)+ - ((uint)gx_color_value_to_byte(g) << 8) + - gx_color_value_to_byte(b); - } diff --git a/print/ghostscript8/files/patch-src:gdevdj9.c b/print/ghostscript8/files/patch-src:gdevdj9.c deleted file mode 100644 index f58a6c7de792..000000000000 --- a/print/ghostscript8/files/patch-src:gdevdj9.c +++ /dev/null @@ -1,255 +0,0 @@ ---- src/gdevdj9.c.orig Fri Nov 8 06:15:08 2002 -+++ src/gdevdj9.c Sun Nov 10 22:00:45 2002 -@@ -243,19 +243,19 @@ - }; - - private int -- rescale_byte_wise1x1(P4(int bytecount, const byte * inbytea, -- const byte * inbyteb, byte * outbyte)); -+ rescale_byte_wise1x1(int bytecount, const byte * inbytea, -+ const byte * inbyteb, byte * outbyte); - private int -- rescale_byte_wise2x1(P4(int bytecount, const byte * inbytea, -- const byte * inbyteb, byte * outbyte)); -+ rescale_byte_wise2x1(int bytecount, const byte * inbytea, -+ const byte * inbyteb, byte * outbyte); - private int -- rescale_byte_wise1x2(P4(int bytecount, const byte * inbytea, -- const byte * inbyteb, byte * outbyte)); -+ rescale_byte_wise1x2(int bytecount, const byte * inbytea, -+ const byte * inbyteb, byte * outbyte); - private int -- rescale_byte_wise2x2(P4(int bytecount, const byte * inbytea, -- const byte * inbyteb, byte * outbyte)); -+ rescale_byte_wise2x2(int bytecount, const byte * inbytea, -+ const byte * inbyteb, byte * outbyte); - --private int (* const rescale_color_plane[2][2]) (P4(int, const byte *, const byte *, byte *)) = { -+private int (* const rescale_color_plane[2][2]) (int, const byte *, const byte *, byte *) = { - { - rescale_byte_wise1x1, rescale_byte_wise1x2 - }, -@@ -264,7 +264,7 @@ - } - }; - /* --private int (* const rescale_color_plane[2][2]) (P4(int, const byte *, const byte *, byte *)) = { -+private int (* const rescale_color_plane[2][2]) (int, const byte *, const byte *, byte *) = { - { - rescale_byte_wise1x1, rescale_byte_wise1x1 - }, -@@ -273,8 +273,8 @@ - } - }; - */ --private int cdj970_write_header(P2(gx_device *, FILE *)); --private int cdj970_write_trailer(P2(gx_device *, FILE *)); -+private int cdj970_write_header(gx_device *, FILE *); -+private int cdj970_write_trailer(gx_device *, FILE *); - - /* - * Drivers stuff. -@@ -422,16 +422,16 @@ - }; - - /* function pointer typedefs for device driver struct */ --typedef void (*StartRasterMode) (P3(gx_device_printer * pdev, int paper_size, -- FILE * prn_stream)); --typedef void (*PrintNonBlankLines) (P6(gx_device_printer * pdev, -+typedef void (*StartRasterMode) (gx_device_printer * pdev, int paper_size, -+ FILE * prn_stream); -+typedef void (*PrintNonBlankLines) (gx_device_printer * pdev, - struct ptr_arrays *data_ptrs, - struct misc_struct *misc_vars, - struct error_val_field *error_values, - const Gamma *gamma, -- FILE * prn_stream)); -+ FILE * prn_stream); - --typedef void (*TerminatePage) (P2(gx_device_printer * pdev, FILE * prn_stream)); -+typedef void (*TerminatePage) (gx_device_printer * pdev, FILE * prn_stream); - - typedef struct gx_device_cdj970_s { - gx_device_common; -@@ -529,18 +529,18 @@ - } - - private void -- cdj970_start_raster_mode(P3(gx_device_printer * pdev, -- int papersize, FILE * prn_stream)); -+ cdj970_start_raster_mode(gx_device_printer * pdev, -+ int papersize, FILE * prn_stream); - - private void -- cdj970_print_non_blank_lines(P6(gx_device_printer * pdev, -+ cdj970_print_non_blank_lines(gx_device_printer * pdev, - struct ptr_arrays *data_ptrs, - struct misc_struct *misc_vars, - struct error_val_field *error_values, - const Gamma *gamma, -- FILE * prn_stream)); -+ FILE * prn_stream); - private void -- cdj970_terminate_page(P2(gx_device_printer * pdev, FILE * prn_stream)); -+ cdj970_terminate_page(gx_device_printer * pdev, FILE * prn_stream); - - - private const gx_device_procs cdj970_procs = -@@ -555,12 +555,12 @@ - cdj970_terminate_page); - - /* Forward references */ --private int cdj_put_param_int(P6(gs_param_list *, gs_param_name, -- int *, int, int, int)); --private int cdj_put_param_float(P6(gs_param_list *, gs_param_name, float -- *, float, float, int)); --private int cdj_put_param_bpp(P5(gx_device *, gs_param_list *, int, int, int)); --private int cdj_set_bpp(P3(gx_device *, int, int)); -+private int cdj_put_param_int(gs_param_list *, gs_param_name, -+ int *, int, int, int); -+private int cdj_put_param_float(gs_param_list *, gs_param_name, float -+ *, float, float, int); -+private int cdj_put_param_bpp(gx_device *, gs_param_list *, int, int, int); -+private int cdj_set_bpp(gx_device *, int, int); - - static int PageCtr = 0; - -@@ -692,70 +692,70 @@ - - /* internal functions */ - private void -- FSDlinebw(P7(int scan, int plane_size, -+ FSDlinebw(int scan, int plane_size, - struct error_val_field *error_values, - byte * kP, -- int n, int *ep, byte * dp)); -+ int n, int *ep, byte * dp); - - private void -- FSDlinec2(P9(int scan, int plane_size, -+ FSDlinec2(int scan, int plane_size, - struct error_val_field *error_values, - byte * cPa, byte * mPa, byte * yPa, int n, -- byte * dp, int *ep)); -+ byte * dp, int *ep); - - private void -- FSDlinec3(P12(int scan, int plane_size, -+ FSDlinec3(int scan, int plane_size, - struct error_val_field *error_values, - byte * cPa, byte * mPa, byte * yPa, - byte * cPb, byte * mPb, byte * yPb, -- int n, byte * dp, int *ep)); -+ int n, byte * dp, int *ep); - - private void -- FSDlinec4(P12(int scan, int plane_size, -+ FSDlinec4(int scan, int plane_size, - struct error_val_field *error_values, - byte * cPa, byte * mPa, byte * yPa, - byte * cPb, byte * mPb, byte * yPb, -- int n, byte * dp, int *ep)); -+ int n, byte * dp, int *ep); - - private void - init_error_buffer(struct misc_struct *misc_vars, - struct ptr_arrays *data_ptrs); - - private void -- do_floyd_steinberg(P8(int scan, int cscan, int plane_size, -+ do_floyd_steinberg(int scan, int cscan, int plane_size, - int plane_size_c, int n, - struct ptr_arrays *data_ptrs, - gx_device_printer * pdev, -- struct error_val_field *error_values)); -+ struct error_val_field *error_values); - - - private int -- do_gcr(P7(int bytecount, byte * inbyte, const byte * kvalues, -+ do_gcr(int bytecount, byte * inbyte, const byte * kvalues, - const byte * cvalues, const byte * mvalues, -- const byte * yvalues, const int *kcorrect)); -+ const byte * yvalues, const int *kcorrect); - - private void -- send_scan_lines(P6(gx_device_printer * pdev, -+ send_scan_lines(gx_device_printer * pdev, - struct ptr_arrays *data_ptrs, - struct misc_struct *misc_vars, - struct error_val_field *error_values, - const Gamma *gamma, -- FILE * prn_stream)); -+ FILE * prn_stream); - - private void -- do_gamma(P3(float mastergamma, float gammaval, byte * values)); -+ do_gamma(float mastergamma, float gammaval, byte * values); - - private void -- do_black_correction(P2(float kvalue, int *kcorrect)); -+ do_black_correction(float kvalue, int *kcorrect); - - private void -- init_data_structure(P3(gx_device_printer * pdev, -+ init_data_structure(gx_device_printer * pdev, - struct ptr_arrays *data_ptrs, -- struct misc_struct *misc_vars)); -+ struct misc_struct *misc_vars); - - private void -- calculate_memory_size(P2(gx_device_printer * pdev, -- struct misc_struct *misc_vars)); -+ calculate_memory_size(gx_device_printer * pdev, -+ struct misc_struct *misc_vars); - - - /* assign_dpi: -@@ -2292,12 +2292,13 @@ - /* gdev_cmyk_map_cmyk_color: - ----------------------------------------------------------------------------------*/ - private gx_color_index gdev_cmyk_map_cmyk_color(gx_device *pdev, -- gx_color_value cyan, -- gx_color_value magenta, -- gx_color_value yellow, -- gx_color_value black) -+ const gx_color_value cv[]) - { - gx_color_index color; -+ gx_color_value cyan = cv[0]; -+ gx_color_value magenta = cv[1]; -+ gx_color_value yellow = cv[2]; -+ gx_color_value black = cv[3]; - - switch (pdev->color_info.depth) { - case 1: -@@ -2331,10 +2332,11 @@ - /* gdev_cmyk_map_rgb_color: Mapping of RGB colors to gray values. - ----------------------------------------------------------------------------------*/ - private gx_color_index gdev_cmyk_map_rgb_color( gx_device *pdev, -- gx_color_value r, -- gx_color_value g, -- gx_color_value b) -+ const gx_color_value cv[]) - { -+ gx_color_value r = cv[0]; -+ gx_color_value g = cv[1]; -+ gx_color_value b = cv[2]; - if (gx_color_value_to_byte(r & g & b) == 0xff) { - return (gx_color_index) 0; /* White */ - } else { -@@ -2427,10 +2429,11 @@ - /* gdev_pcl_map_rgb_color: - ----------------------------------------------------------------------------------*/ - private gx_color_index gdev_pcl_map_rgb_color( gx_device *pdev, -- gx_color_value r, -- gx_color_value g, -- gx_color_value b) -+ const gx_color_value cv[]) - { -+ gx_color_value r = cv[0]; -+ gx_color_value g = cv[1]; -+ gx_color_value b = cv[2]; - if (gx_color_value_to_byte(r & g & b) == 0xff) - return (gx_color_index) 0; /* white */ - else { diff --git a/print/ghostscript8/files/patch-src:gdevdmpr.c b/print/ghostscript8/files/patch-src:gdevdmpr.c deleted file mode 100644 index 47e980154ccd..000000000000 --- a/print/ghostscript8/files/patch-src:gdevdmpr.c +++ /dev/null @@ -1,38 +0,0 @@ ---- src/gdevdmpr.c.orig Tue May 13 20:43:37 1997 -+++ src/gdevdmpr.c Sun Nov 10 21:19:41 2002 -@@ -41,7 +41,7 @@ - /* include library header. */ - #include "dviprlib.h" - --extern FILE *lib_fopen(P1(const char *)); -+extern FILE *lib_fopen(const char *); - - #define LOCAL_DEBUG 0 - -@@ -87,12 +87,12 @@ - private dev_proc_close_device(gdev_dmprt_close); - - /* declarations of sub functions to get printer properties. */ --private void gdev_dmprt_init_printer_props(P1(gx_device_dmprt *)); --private int gdev_dmprt_get_printer_props(P2(gx_device_dmprt *,char *)); --private int gdev_dmprt_check_code_props(P2(byte * ,int )); --private FILE *gdev_dmprt_dviprt_lib_fopen(P2(const char *,char *)); -+private void gdev_dmprt_init_printer_props(gx_device_dmprt *); -+private int gdev_dmprt_get_printer_props(gx_device_dmprt *,char *); -+private int gdev_dmprt_check_code_props(byte * ,int ); -+private FILE *gdev_dmprt_dviprt_lib_fopen(const char *,char *); - --private int gdev_dmprt_error_no_dviprt_to_gs(P1(int )); -+private int gdev_dmprt_error_no_dviprt_to_gs(int ); - - /* The device descriptor */ - gx_device_procs prn_dmprt_procs = { -@@ -846,7 +846,7 @@ - if (env) { - strcpy(fname,env); - strcat(fname, -- gp_file_name_concat_string(env,strlen(env),fname,strlen(fnamebase))); -+ gp_file_name_concat_string(env,strlen(env))); - strcat(fname,fnamebase); - fp = fopen(fname,gp_fmode_rb); - } diff --git a/print/ghostscript8/files/patch-src:gdevdmpr.mak b/print/ghostscript8/files/patch-src:gdevdmpr.mak deleted file mode 100644 index 9136172873fa..000000000000 --- a/print/ghostscript8/files/patch-src:gdevdmpr.mak +++ /dev/null @@ -1,21 +0,0 @@ ---- src/gdevdmpr.mak.orig Mon May 1 20:24:43 2000 -+++ src/gdevdmpr.mak Mon May 1 20:26:23 2000 -@@ -1,8 +1,12 @@ - ### ---------------- Dot matrix printer device ---------------- ### --dmprt_=gdevdmpr.$(OBJ) dviprlib.$(OBJ) gdevprn.$(OBJ) -+dmprt_=$(GLOBJ)gdevdmpr.$(OBJ) $(GLOBJ)dviprlib.$(OBJ) $(GLOBJ)gdevprn.$(OBJ) - --dmprt.dev: $(dmprt_) -- $(SETDEV) dmprt $(dmprt_) -- $(ADDMOD) dmprt -ps dmp_init --gdevdmpr.$(OBJ): gdevdmpr.c dviprlib.h $(PDEVH) --dviprlib.$(OBJ): dviprlib.c dviprlib.h -+$(DD)dmprt.dev: $(dmprt_) -+ $(SETDEV) $(DD)dmprt $(dmprt_) -+ $(ADDMOD) $(DD)dmprt -ps dmp_init -+ -+$(GLOBJ)gdevdmpr.$(OBJ): $(GLSRC)gdevdmpr.c $(GLSRC)dviprlib.h $(PDEVH) -+ $(GLCC) $(GLO_)gdevdmpr.$(OBJ) $(C_) $(GLSRC)gdevdmpr.c -+ -+$(GLOBJ)dviprlib.$(OBJ): $(GLSRC)dviprlib.c $(GLSRC)dviprlib.h -+ $(GLCC) $(GLO_)dviprlib.$(OBJ) $(C_) $(GLSRC)dviprlib.c diff --git a/print/ghostscript8/files/patch-src:gdevgdi.c b/print/ghostscript8/files/patch-src:gdevgdi.c deleted file mode 100644 index f59111ee2591..000000000000 --- a/print/ghostscript8/files/patch-src:gdevgdi.c +++ /dev/null @@ -1,15 +0,0 @@ ---- src/gdevgdi.c.orig Wed Jun 19 19:32:49 2002 -+++ src/gdevgdi.c Sun Nov 10 22:37:00 2002 -@@ -86,9 +86,9 @@ - - int GDI_BAND_WIDTH[] = {4768, 4928}; - --private int gdi_print_page(P2(gx_device_printer *pdev, FILE *prn_stream)); --private int gdi_open(P1(gx_device *pdev)); --private int gdi_close(P1(gx_device *pdev)); -+private int gdi_print_page(gx_device_printer *pdev, FILE *prn_stream); -+private int gdi_open(gx_device *pdev); -+private int gdi_close(gx_device *pdev); - - /* The device descriptors */ - private dev_proc_open_device(gdi_open); diff --git a/print/ghostscript8/files/patch-src:gdevifno.c b/print/ghostscript8/files/patch-src:gdevifno.c deleted file mode 100644 index b3bc447dd27a..000000000000 --- a/print/ghostscript8/files/patch-src:gdevifno.c +++ /dev/null @@ -1,15 +0,0 @@ ---- src/gdevifno.c.orig Sun Jun 16 14:48:55 2002 -+++ src/gdevifno.c Sun Nov 10 22:49:32 2002 -@@ -99,8 +99,10 @@ - * rgb and color map entries - */ - private gx_color_index --inferno_rgb2cmap(gx_device *dev, gx_color_value red, -- gx_color_value green, gx_color_value blue) { -+inferno_rgb2cmap(gx_device *dev, const gx_color_value cv[]) { -+ gx_color_value red = cv[0]; -+ gx_color_value green = cv[1]; -+ gx_color_value blue = cv[2]; - int shift; - inferno_device *bdev = (inferno_device*) dev; - int nbits = bdev->nbits; diff --git a/print/ghostscript8/files/patch-src:gdevlbp8.c b/print/ghostscript8/files/patch-src:gdevlbp8.c deleted file mode 100644 index 052492c58f6a..000000000000 --- a/print/ghostscript8/files/patch-src:gdevlbp8.c +++ /dev/null @@ -1,70 +0,0 @@ ---- 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/ghostscript8/files/patch-src:gdevmgr.c b/print/ghostscript8/files/patch-src:gdevmgr.c deleted file mode 100644 index 8f2dc4028c34..000000000000 --- a/print/ghostscript8/files/patch-src:gdevmgr.c +++ /dev/null @@ -1,17 +0,0 @@ ---- src/gdevmgr.c.orig Sun Jun 16 14:48:55 2002 -+++ src/gdevmgr.c Sun Nov 10 22:52:19 2002 -@@ -364,9 +364,11 @@ - /* (1/6, 1/2, and 5/6), instead of the obvious 8x8x4. */ - - gx_color_index --mgr_8bit_map_rgb_color(gx_device *dev, gx_color_value r, gx_color_value g, -- gx_color_value b) --{ uint rv = r / (gx_max_color_value / 7 + 1); -+mgr_8bit_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]; -+ uint rv = r / (gx_max_color_value / 7 + 1); - uint gv = g / (gx_max_color_value / 7 + 1); - uint bv = b / (gx_max_color_value / 7 + 1); - return (gx_color_index) diff --git a/print/ghostscript8/files/patch-src:gdevsgi.c b/print/ghostscript8/files/patch-src:gdevsgi.c deleted file mode 100644 index 96d3891fc9e5..000000000000 --- a/print/ghostscript8/files/patch-src:gdevsgi.c +++ /dev/null @@ -1,16 +0,0 @@ ---- src/gdevsgi.c.orig Fri Feb 22 07:24:52 2002 -+++ src/gdevsgi.c Sun Nov 10 22:55:30 2002 -@@ -32,8 +32,11 @@ - sgi_prn_device(sgi_procs, "sgirgb", 3, 24, 255, 255, sgi_print_page); - - private gx_color_index --sgi_map_rgb_color(gx_device *dev, ushort r, ushort g, ushort b) --{ ushort bitspercolor = dev->color_info.depth / 3; -+sgi_map_rgb_color(gx_device *dev, const ushort cv[]) -+{ ushort r = cv[0]; -+ ushort g = cv[1]; -+ ushort b = cv[2]; -+ ushort bitspercolor = dev->color_info.depth / 3; - ulong max_value = (1 << bitspercolor) - 1; - return ((r*max_value / gx_max_color_value) << (bitspercolor * 2)) + - ((g*max_value / gx_max_color_value) << bitspercolor) + diff --git a/print/ghostscript8/files/patch-src:genarch.c b/print/ghostscript8/files/patch-src:genarch.c deleted file mode 100644 index 3b74ac7e6145..000000000000 --- a/print/ghostscript8/files/patch-src:genarch.c +++ /dev/null @@ -1,34 +0,0 @@ ---- src/genarch.c.orig Wed Sep 20 04:00:23 2000 -+++ src/genarch.c Wed Jun 20 04:05:36 2001 -@@ -40,6 +40,7 @@ - fprintf(f, "\n\t /* ---------------- %s ---------------- */\n\n", str); - } - -+#ifndef __FreeBSD__ - private clock_t - time_clear(char *buf, int bsize, int nreps) - { -@@ -50,6 +51,7 @@ - memset(buf, 0, bsize); - return clock() - t; - } -+#endif /* __FreeBSD__ */ - - private void - define(FILE *f, const char *str) -@@ -180,6 +182,7 @@ - fprintf(f, "((unsigned long)~0L + (unsigned long)0)\n"); - #undef PRINT_MAX - -+#ifndef __FreeBSD__ - section(f, "Cache sizes"); - - /* -@@ -240,6 +243,7 @@ - } - define_int(f, "ARCH_CACHE2_SIZE", bsize >> 1); - } -+#endif /* __FreeBSD__ */ - - section(f, "Miscellaneous"); - diff --git a/print/ghostscript8/files/patch-src:gxobj.h b/print/ghostscript8/files/patch-src:gxobj.h deleted file mode 100644 index e3dca6b573f6..000000000000 --- a/print/ghostscript8/files/patch-src:gxobj.h +++ /dev/null @@ -1,17 +0,0 @@ ---- src/gxobj.h.orig Fri Feb 22 07:24:53 2002 -+++ src/gxobj.h Fri Dec 20 22:56:03 2002 -@@ -103,10 +103,14 @@ - * required by the hardware, regardless of the value of obj_align_mod. - * See gsmemraw.h for more information about this. - */ -+#if !defined(__ia64__) - #define obj_align_mod\ - (((arch_align_memory_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/ghostscript8/files/patch-src:unix-dll.mak b/print/ghostscript8/files/patch-src:unix-dll.mak deleted file mode 100644 index 2ee0a5c3a0d1..000000000000 --- a/print/ghostscript8/files/patch-src:unix-dll.mak +++ /dev/null @@ -1,59 +0,0 @@ ---- src/unix-dll.mak.orig Wed Oct 17 19:11:23 2001 -+++ src/unix-dll.mak Sat Feb 9 04:53:18 2002 -@@ -48,11 +48,9 @@ - - # shared library - GS_SONAME=lib$(GS).so --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_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) - - # 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) - - # 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` -+ $(GLCC) `$(GTK_CONFIG) --cflags` -o $(GSSOX_XE) $(GLSRC)dxmain.c -L$(BINDIR) -l$(GS) `$(GTK_CONFIG) --libs` - - $(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) - - # ------------------------- 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)\ - STDIO_IMPLEMENTATION=c\ - DISPLAY_DEV=$(DD)$(SOOBJRELDIR)/display.dev\ - BINDIR=$(BINDIR)/$(SOBINRELDIR)\ -@@ -106,11 +100,9 @@ - -mkdir $(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) -+ $(INSTALL_PROGRAM) $(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR) $(libdir)/$(GS_SONAME_MAJOR) - $(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) -+ ln -s $(GS_SONAME_MAJOR) $(libdir)/$(GS_SONAME) - - soinstall: install-so install-scripts install-data - diff --git a/print/ghostscript8/files/patch-src:unix-gcc.mak b/print/ghostscript8/files/patch-src:unix-gcc.mak deleted file mode 100644 index 0ef8d446ab00..000000000000 --- a/print/ghostscript8/files/patch-src:unix-gcc.mak +++ /dev/null @@ -1,133 +0,0 @@ ---- src/unix-gcc.mak.orig Thu Oct 24 21:57:57 2002 -+++ src/unix-gcc.mak Sun Nov 17 22:01:58 2002 -@@ -24,14 +24,15 @@ - # source, generated intermediate file, and object directories - # for the graphics library (GL) and the PostScript/PDF interpreter (PS). - --BINDIR=./bin --GLSRCDIR=./src --GLGENDIR=./obj --GLOBJDIR=./obj --PSSRCDIR=./src --PSLIBDIR=./lib --PSGENDIR=./obj --PSOBJDIR=./obj -+.CURDIR?=. -+BINDIR=${.CURDIR}/bin -+GLSRCDIR=${.CURDIR}/src -+GLGENDIR=${.CURDIR}/obj -+GLOBJDIR=${.CURDIR}/obj -+PSSRCDIR=${.CURDIR}/src -+PSLIBDIR=${.CURDIR}/lib -+PSGENDIR=${.CURDIR}/obj -+PSOBJDIR=${.CURDIR}/obj - - # Do not edit the next group of lines. - -@@ -50,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) -@@ -143,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=0 -+SHARE_JPEG=1 - JPEG_NAME=jpeg - - # Define the directory where the PNG library sources are stored, -@@ -158,7 +158,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. -@@ -170,7 +170,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 - -@@ -197,7 +197,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. -@@ -214,9 +214,9 @@ - # Define the added flags for standard, debugging, profiling - # and shared object builds. - --CFLAGS_STANDARD=-O2 --CFLAGS_DEBUG=-g -O0 --CFLAGS_PROFILE=-pg -O2 -+CFLAGS_STANDARD?=-O2 -+CFLAGS_DEBUG=-g -+CFLAGS_PROFILE=-pg - CFLAGS_SO=-fPIC - - # Define the other compilation flags. Add at most one of the following: -@@ -230,7 +230,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+=-I${LOCALBASE}/include - - CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(XCFLAGS) - -@@ -241,7 +241,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) - -@@ -274,7 +274,7 @@ - # Note that x_.h expects to find the header files in $(XINCLUDE)/X11, - # not in $(XINCLUDE). - --XINCLUDE=-I/usr/X11R6/include -+XINCLUDE=-I${X11BASE}/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 -@@ -286,12 +286,12 @@ - # 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${X11BASE}/lib - XLIBDIR= --XLIBS=Xt Xext X11 -+#XLIBS=Xt Xext X11 - - # Define whether this platform has floating point hardware: - # FPU_TYPE=2 means floating point is faster than fixed point. diff --git a/print/ghostscript8/files/patch-src:zmedia2.c b/print/ghostscript8/files/patch-src:zmedia2.c deleted file mode 100644 index 9033a4388085..000000000000 --- a/print/ghostscript8/files/patch-src:zmedia2.c +++ /dev/null @@ -1,25 +0,0 @@ ---- 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/ghostscript8/files/stc740ih.upp b/print/ghostscript8/files/stc740ih.upp deleted file mode 100644 index bb9805f55fb8..000000000000 --- a/print/ghostscript8/files/stc740ih.upp +++ /dev/null @@ -1,60 +0,0 @@ -# $ApsCVS: src/apsfilter/uniprint/stc740ih.upp,v 1.2 2000/04/21 18:48:00 andreas Exp $ -# --supModel="Epson Stylus Color 740, 1440x720DpI, Inkjet Paper" --sDEVICE=uniprint --dNOPAUSE --dSAFER --dupColorModel=/DeviceCMYKgenerate --dupRendering=/FSCMYK32 --dupOutputFormat=/EscP2XY --r1440x720 --dupMargins="{ 9.0 39.96 9.0 9.0}" --dupBlackTransfer="{ - 0.00000000 0.00627451 0.01254902 0.02196078 0.02980392 0.03764706 0.04549020 - 0.05490196 0.06431373 0.07215686 0.08156863 0.09098039 0.10196078 0.11450980 - 0.12862745 0.14588235 0.16313725 0.18509804 0.20862745 0.25411765 0.40000000 -}" --dupCyanTransfer="{ - 0.00000000 0.00627451 0.01254902 0.02196078 0.02980392 0.03764706 0.04549020 - 0.05490196 0.06431373 0.07215686 0.08156863 0.09098039 0.10196078 0.11450980 - 0.12862745 0.14588235 0.16313725 0.18509804 0.20862745 0.25411765 0.40000000 -}" --dupMagentaTransfer="{ - 0.00000000 0.00627451 0.01254902 0.02196078 0.02980392 0.03764706 0.04549020 - 0.05490196 0.06431373 0.07215686 0.08156863 0.09098039 0.10196078 0.11450980 - 0.12862745 0.14588235 0.16313725 0.18509804 0.20862745 0.25411765 0.40000000 -}" --dupYellowTransfer="{ - 0.00000000 0.00627451 0.01254902 0.02196078 0.02980392 0.03764706 0.04549020 - 0.05490196 0.06431373 0.07215686 0.08156863 0.09098039 0.10196078 0.11450980 - 0.12862745 0.14588235 0.16313725 0.18509804 0.20862745 0.25411765 0.40000000 -}" --dupOutputComponentOrder="{ 1 2 3 0 }" --dupWeaveXPasses=2 --dupOutputXStep=2 --dupWeaveYPasses=6 --dupOutputPins=46 --dupWeaveYFeeds="{23 23 23 23 23 23 23 23 23 23 23 23}" --dupWeaveXStarts="{0 1 0 1 0 1 1 0 1 0 1 0}" --dupWeaveYOffset=50 --dupWeaveInitialYFeeds="{ 5 5 5 5 5 5 5 5 5 5 5 23}" --dupWeaveInitialXStarts="{0 1 0 1 0 1 1 0 1 0 1 0}" --dupWeaveInitialPins="{ 13 16 19 22 25 28 31 34 37 40 43 46}" --dupFormatYabsolute --dupBeginPageCommand="< - 1b40 1b40 - 1b2847 0100 01 - 1b2855 0100 05 - 1b2873 0100 02 - 1b5501 - 1b2865 0200 0001 - 1b2843 0200 0000 - 1b2863 0400 0000 0000 ->" --dupAdjustPageLengthCommand --dupAdjustTopMarginCommand --dupAdjustBottomMarginCommand --dupXStepCommand="<1b285c 0400 a005 0100 0000>" --dupEndPageCommand="(\033@\014)" --dupAbortCommand="(\033@\15\12\12\12\12 Printout-Aborted\15\014)" - diff --git a/print/ghostscript8/files/stc740p.upp b/print/ghostscript8/files/stc740p.upp deleted file mode 100644 index a4e7f5441793..000000000000 --- a/print/ghostscript8/files/stc740p.upp +++ /dev/null @@ -1,36 +0,0 @@ -# $ApsCVS: src/apsfilter/uniprint/stc740p.upp,v 1.2 2000/04/21 18:48:00 andreas Exp $ -# --supModel="Epson Stylus Color 740, 720x720DpI, Plain Paper" --sDEVICE=uniprint --dNOPAUSE --dSAFER --dupColorModel=/DeviceCMYKgenerate --dupRendering=/FSCMYK32 --dupOutputFormat=/EscP2 --r720x720 --dupMargins="{ 9.0 39.96 9.0 9.0}" --dupBlackTransfer="{ 0.0000 0.0453 0.1058 0.1898 0.4321 1.0000 }" --dupCyanTransfer="{ 0.0000 0.0453 0.1058 0.1898 0.4321 1.0000 }" --dupMagentaTransfer="{ 0.0000 0.0453 0.1058 0.1898 0.4321 1.0000 }" --dupYellowTransfer="{ 0.0000 0.0453 0.1058 0.1898 0.4321 1.0000 }" --dupOutputComponentOrder="{ 1 2 3 0 }" --dupWeaveYPasses=6 --dupOutputPins=48 --dupWeaveYFeeds="{47 47 47 53 47 47}" --dupWeaveInitialYFeeds="{1 1 1 1 1 43}" --dupWeaveInitialPins="{ 8 48 40 31 23 15}" --dupBeginPageCommand="< - 1b40 1b40 - 1b2847 0100 01 - 1b2855 0100 05 - 1b5500 - 1b2865 0200 0002 - 1b2843 0200 0000 - 1b2863 0400 0000 0000 ->" --dupAdjustPageLengthCommand --dupAdjustTopMarginCommand --dupAdjustBottomMarginCommand --dupEndPageCommand="(\033@\014)" --dupAbortCommand="(\033@\15\12\12\12\12 Printout-Aborted\15\014)" - diff --git a/print/ghostscript8/files/stc740pl.upp b/print/ghostscript8/files/stc740pl.upp deleted file mode 100644 index b2fdb0dbbc06..000000000000 --- a/print/ghostscript8/files/stc740pl.upp +++ /dev/null @@ -1,32 +0,0 @@ -# $ApsCVS: src/apsfilter/uniprint/stc740pl.upp,v 1.2 2000/04/21 18:48:01 andreas Exp $ -# --supModel="Epson Stylus Color 740, 360x360DpI, Plain Paper" --sDEVICE=uniprint --dNOPAUSE --dSAFER --dupColorModel=/DeviceCMYKgenerate --dupRendering=/FSCMYK32 --dupOutputFormat=/EscP2 --r360x360 --dupMargins="{ 9.0 39.96 9.0 9.0}" --dupOutputComponentOrder="{ 1 2 3 0 }" --dupWeaveYPasses=3 --dupOutputPins=48 --dupWeaveYFeeds="{47 50 47}" --dupWeaveInitialYFeeds="{1 1 46}" --dupWeaveInitialPins="{ 16 48 32}" --dupBeginPageCommand="< - 1b40 1b40 - 1b2847 0100 01 - 1b2855 0100 0A - 1b5500 - 1b2865 0200 0002 - 1b2843 0200 0000 - 1b2863 0400 0000 0000 ->" --dupAdjustPageLengthCommand --dupAdjustTopMarginCommand --dupAdjustBottomMarginCommand --dupEndPageCommand="(\033@\014)" --dupAbortCommand="(\033@\15\12\12\12\12 Printout-Aborted\15\014)" - diff --git a/print/ghostscript8/files/stp.contrib.mak b/print/ghostscript8/files/stp.contrib.mak deleted file mode 100644 index 862d329324ee..000000000000 --- a/print/ghostscript8/files/stp.contrib.mak +++ /dev/null @@ -1,14 +0,0 @@ -### --------------- Gimp-Print/stp Driver ---------------------------- ### -### Be careful to add the exact contents of this file; cut and paste ### -### may corrupt the file and cause mysterious make errors ### - -stp_=$(GLOBJ)gdevstp.$(OBJ) - -STPLIB=gimpprint - -$(DD)stp.dev: $(stp_) $(DD)page.dev - $(SETPDEV) $(DD)stp $(stp_) - $(ADDMOD) $(DD)stp -lib $(STPLIB) - -$(GLOBJ)gdevstp.$(OBJ) : $(GLSRC)gdevstp.c $(PDEVH) - $(GLCC) $(GLO_)gdevstp.$(OBJ) $(C_) $(GLSRC)gdevstp.c diff --git a/print/ghostscript8/pkg-descr b/print/ghostscript8/pkg-descr deleted file mode 100644 index 122e09a3a7b7..000000000000 --- a/print/ghostscript8/pkg-descr +++ /dev/null @@ -1,19 +0,0 @@ -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. - -Versions entitled "AFPL Ghostscript" are distributed with a licence different -from the GPL. Read the file PUBLIC in the work/gsX.Y directory or in -${PREFIX}/share/ghostscript/X.Y/doc/PUBLIC after installation for details ! - -This port includes add-on packages (not part of the official gs release) - o HP2200 driver for HP DeskJet 8xx and Business Inkjet 2200 - - http://hp.sourceforge.net/gs-hp2200.php - o DJ970 driver for HP DeskJet 970CXi - - http://www.harsch.net/Ghostscript/ghostscript.html - o Spacial drivers for verious printer models mainly sold in Japan - - Alps, Canon, Epson, NEC, Ricoh,... - o Additional contributed uniprint driver profiles for - - Epson Stylus Color 740 and Epson LQ-1170 - -WWW: http://www.cs.wisc.edu/~ghost/doc/AFPL/index.htm diff --git a/print/ghostscript8/pkg-plist b/print/ghostscript8/pkg-plist deleted file mode 100644 index 21f9ead5ac23..000000000000 --- a/print/ghostscript8/pkg-plist +++ /dev/null @@ -1,528 +0,0 @@ -@comment $FreeBSD$ -bin/bdftops -bin/dvipdf -bin/eps2eps -bin/ert -bin/fixmswrd.pl -bin/font2c -bin/gs -bin/gsbj -%%SHLIB%%bin/gsc -bin/gsdj -bin/gsdj500 -bin/gslj -bin/gslp -bin/gsnd -%%SHLIB%%bin/gsx -bin/lprsetup.sh -bin/pdf2dsc -bin/pdf2ps -bin/pdfopt -bin/pf2afm -bin/pfbtopfa -bin/pj-gs.sh -bin/printafm -bin/ps2ascii -bin/ps2epsi -bin/ps2pdf -bin/ps2pdf12 -bin/ps2pdf13 -bin/ps2pdf14 -bin/ps2pdfwr -bin/ps2ps -bin/pv.sh -bin/sysvlp.sh -bin/unix-lpr.sh -bin/wftopfa -%%SHLIB%%lib/libgs.so -%%SHLIB%%lib/libgs.so.%%SHLIB_VER%% -%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/alps/README.gdevalps -%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/bj10v/gdev10v.jis -%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/dmprt/gdevdmpr.sj -%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/epag/ChangeLog -%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/epag/ert.txt -%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/epag/gdevepag.txt -%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/epag/gsepagif.sh -%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/epag/psprint -%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/eplaser/readme-eplaser-652.euc -%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/eplaser/readme-eplaser-652-jp.euc -%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/gdi/README -%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/lips/Gdevlips.htm -%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/md2k/README.jis -%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/mjc/MJ700V2C.FAQ -%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/mjc/README.mjc -%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/mjc/README.mje -%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/mjc/README.noz -%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/mjc/cpem.doc -%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/npdl/gdevnpdl.jis -share/ghostscript/%%GS_VERSION%%/doc/API.htm -share/ghostscript/%%GS_VERSION%%/doc/Bug-form.htm -share/ghostscript/%%GS_VERSION%%/doc/Bug-info.htm -share/ghostscript/%%GS_VERSION%%/doc/C-style.htm -share/ghostscript/%%GS_VERSION%%/doc/Changes.htm -share/ghostscript/%%GS_VERSION%%/doc/Commprod.htm -share/ghostscript/%%GS_VERSION%%/doc/Copying.htm -share/ghostscript/%%GS_VERSION%%/doc/DLL.htm -share/ghostscript/%%GS_VERSION%%/doc/Develop.htm -share/ghostscript/%%GS_VERSION%%/doc/Devices.htm -share/ghostscript/%%GS_VERSION%%/doc/Drivers.htm -share/ghostscript/%%GS_VERSION%%/doc/Fonts.htm -share/ghostscript/%%GS_VERSION%%/doc/Helpers.htm -share/ghostscript/%%GS_VERSION%%/doc/Hershey.htm -share/ghostscript/%%GS_VERSION%%/doc/History1.htm -share/ghostscript/%%GS_VERSION%%/doc/History2.htm -share/ghostscript/%%GS_VERSION%%/doc/History3.htm -share/ghostscript/%%GS_VERSION%%/doc/History4.htm -share/ghostscript/%%GS_VERSION%%/doc/History5.htm -share/ghostscript/%%GS_VERSION%%/doc/History6.htm -share/ghostscript/%%GS_VERSION%%/doc/Htmstyle.htm -share/ghostscript/%%GS_VERSION%%/doc/Humor.htm -share/ghostscript/%%GS_VERSION%%/doc/Install.htm -share/ghostscript/%%GS_VERSION%%/doc/Language.htm -share/ghostscript/%%GS_VERSION%%/doc/Lib.htm -share/ghostscript/%%GS_VERSION%%/doc/Maintain.htm -share/ghostscript/%%GS_VERSION%%/doc/Make.htm -share/ghostscript/%%GS_VERSION%%/doc/New-user.htm -share/ghostscript/%%GS_VERSION%%/doc/News.htm -share/ghostscript/%%GS_VERSION%%/doc/PUBLIC -share/ghostscript/%%GS_VERSION%%/doc/Projects.htm -share/ghostscript/%%GS_VERSION%%/doc/Ps-style.htm -share/ghostscript/%%GS_VERSION%%/doc/Ps2epsi.htm -share/ghostscript/%%GS_VERSION%%/doc/Ps2pdf.htm -share/ghostscript/%%GS_VERSION%%/doc/Psfiles.htm -share/ghostscript/%%GS_VERSION%%/doc/Public.htm -share/ghostscript/%%GS_VERSION%%/doc/README -share/ghostscript/%%GS_VERSION%%/doc/Readme.htm -share/ghostscript/%%GS_VERSION%%/doc/Release.htm -share/ghostscript/%%GS_VERSION%%/doc/Source.htm -share/ghostscript/%%GS_VERSION%%/doc/Tester.htm -share/ghostscript/%%GS_VERSION%%/doc/Unix-lpr.htm -share/ghostscript/%%GS_VERSION%%/doc/Use.htm -share/ghostscript/%%GS_VERSION%%/doc/Xfonts.htm -share/ghostscript/%%GS_VERSION%%/doc/gs.css -share/ghostscript/%%GS_VERSION%%/doc/index.html -share/ghostscript/%%GS_VERSION%%/examples/alphabet.ps -share/ghostscript/%%GS_VERSION%%/examples/chess.ps -share/ghostscript/%%GS_VERSION%%/examples/colorcir.ps -share/ghostscript/%%GS_VERSION%%/examples/doretree.ps -share/ghostscript/%%GS_VERSION%%/examples/escher.ps -share/ghostscript/%%GS_VERSION%%/examples/golfer.eps -share/ghostscript/%%GS_VERSION%%/examples/grayalph.ps -share/ghostscript/%%GS_VERSION%%/examples/ridt91.eps -share/ghostscript/%%GS_VERSION%%/examples/snowflak.ps -share/ghostscript/%%GS_VERSION%%/examples/tiger.eps -share/ghostscript/%%GS_VERSION%%/examples/vasarely.ps -share/ghostscript/%%GS_VERSION%%/examples/waterfal.ps -share/ghostscript/%%GS_VERSION%%/lib/FAPIcidfmap -share/ghostscript/%%GS_VERSION%%/lib/FAPIconfig -share/ghostscript/%%GS_VERSION%%/lib/FAPIfontmap -share/ghostscript/%%GS_VERSION%%/lib/Fontmap -share/ghostscript/%%GS_VERSION%%/lib/Fontmap.GS -share/ghostscript/%%GS_VERSION%%/lib/acctest.ps -share/ghostscript/%%GS_VERSION%%/lib/addxchar.ps -share/ghostscript/%%GS_VERSION%%/lib/align.ps -share/ghostscript/%%GS_VERSION%%/lib/bdftops.ps -share/ghostscript/%%GS_VERSION%%/lib/bj8.rpd -share/ghostscript/%%GS_VERSION%%/lib/bj8gc12f.upp -share/ghostscript/%%GS_VERSION%%/lib/bj8hg12f.upp -share/ghostscript/%%GS_VERSION%%/lib/bj8oh06n.upp -share/ghostscript/%%GS_VERSION%%/lib/bj8pa06n.upp -share/ghostscript/%%GS_VERSION%%/lib/bj8pp12f.upp -share/ghostscript/%%GS_VERSION%%/lib/bj8ts06n.upp -share/ghostscript/%%GS_VERSION%%/lib/bjc610a0.upp -share/ghostscript/%%GS_VERSION%%/lib/bjc610a1.upp -share/ghostscript/%%GS_VERSION%%/lib/bjc610a2.upp -share/ghostscript/%%GS_VERSION%%/lib/bjc610a3.upp -share/ghostscript/%%GS_VERSION%%/lib/bjc610a4.upp -share/ghostscript/%%GS_VERSION%%/lib/bjc610a5.upp -share/ghostscript/%%GS_VERSION%%/lib/bjc610a6.upp -share/ghostscript/%%GS_VERSION%%/lib/bjc610a7.upp -share/ghostscript/%%GS_VERSION%%/lib/bjc610a8.upp -share/ghostscript/%%GS_VERSION%%/lib/bjc610b1.upp -share/ghostscript/%%GS_VERSION%%/lib/bjc610b2.upp -share/ghostscript/%%GS_VERSION%%/lib/bjc610b3.upp -share/ghostscript/%%GS_VERSION%%/lib/bjc610b4.upp -share/ghostscript/%%GS_VERSION%%/lib/bjc610b6.upp -share/ghostscript/%%GS_VERSION%%/lib/bjc610b7.upp -share/ghostscript/%%GS_VERSION%%/lib/bjc610b8.upp -share/ghostscript/%%GS_VERSION%%/lib/caption.ps -share/ghostscript/%%GS_VERSION%%/lib/cbjc600.ppd -share/ghostscript/%%GS_VERSION%%/lib/cbjc800.ppd -share/ghostscript/%%GS_VERSION%%/lib/cdj550.upp -share/ghostscript/%%GS_VERSION%%/lib/cdj690.upp -share/ghostscript/%%GS_VERSION%%/lib/cdj690ec.upp -share/ghostscript/%%GS_VERSION%%/lib/cidfmap -share/ghostscript/%%GS_VERSION%%/lib/cid2code.ps -share/ghostscript/%%GS_VERSION%%/lib/decrypt.ps -share/ghostscript/%%GS_VERSION%%/lib/dmp_init.ps -share/ghostscript/%%GS_VERSION%%/lib/dmp_site.ps -share/ghostscript/%%GS_VERSION%%/lib/dnj750c.upp -share/ghostscript/%%GS_VERSION%%/lib/dnj750m.upp -share/ghostscript/%%GS_VERSION%%/lib/docie.ps -share/ghostscript/%%GS_VERSION%%/lib/escp_24.src -share/ghostscript/%%GS_VERSION%%/lib/errpage.ps -share/ghostscript/%%GS_VERSION%%/lib/font2c.ps -share/ghostscript/%%GS_VERSION%%/lib/font2pcl.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_agl.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_btokn.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_ccfnt.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_ce_e.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_cff.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_cidcm.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_ciddc.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_cidfm.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_cidfn.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_ciecs2.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_ciecs3.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_cmap.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_cmdl.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_cspace.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_css_e.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_dbt_e.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_devcs.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_devn.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_devpxl.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_diskf.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_diskn.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_dpnxt.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_dps.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_dps1.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_dps2.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_dscp.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_epsf.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_fapi.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_fform.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_fonts.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_frsd.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_icc.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_il1_e.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_il2_e.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_img.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_indxd.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_init.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_kanji.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_ksb_e.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_l.xbm -share/ghostscript/%%GS_VERSION%%/lib/gs_l.xpm -share/ghostscript/%%GS_VERSION%%/lib/gs_l2img.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_l_m.xbm -share/ghostscript/%%GS_VERSION%%/lib/gs_lev2.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_lgo_e.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_lgx_e.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_ll3.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_m.xbm -share/ghostscript/%%GS_VERSION%%/lib/gs_m.xpm -share/ghostscript/%%GS_VERSION%%/lib/gs_m_m.xbm -share/ghostscript/%%GS_VERSION%%/lib/gs_mex_e.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_mgl_e.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_mro_e.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_patrn.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_pdf_e.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_pdfwr.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_pfile.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_rdlin.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_res.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_resmp.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_s.xbm -share/ghostscript/%%GS_VERSION%%/lib/gs_s.xpm -share/ghostscript/%%GS_VERSION%%/lib/gs_s_m.xbm -share/ghostscript/%%GS_VERSION%%/lib/gs_sepr.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_setpd.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_statd.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_std_e.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_sym_e.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_t.xbm -share/ghostscript/%%GS_VERSION%%/lib/gs_t.xpm -share/ghostscript/%%GS_VERSION%%/lib/gs_t_m.xbm -share/ghostscript/%%GS_VERSION%%/lib/gs_trap.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_ttf.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_typ32.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_typ42.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_type1.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_wan_e.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_wl1_e.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_wl2_e.ps -share/ghostscript/%%GS_VERSION%%/lib/gs_wl5_e.ps -share/ghostscript/%%GS_VERSION%%/lib/gslp.ps -share/ghostscript/%%GS_VERSION%%/lib/gsnup.ps -share/ghostscript/%%GS_VERSION%%/lib/ht_ccsto.ps -share/ghostscript/%%GS_VERSION%%/lib/image-qa.ps -share/ghostscript/%%GS_VERSION%%/lib/impath.ps -share/ghostscript/%%GS_VERSION%%/lib/jispaper.ps -share/ghostscript/%%GS_VERSION%%/lib/landscap.ps -share/ghostscript/%%GS_VERSION%%/lib/level1.ps -share/ghostscript/%%GS_VERSION%%/lib/lines.ps -share/ghostscript/%%GS_VERSION%%/lib/lqx70ch.upp -share/ghostscript/%%GS_VERSION%%/lib/lqx70cl.upp -share/ghostscript/%%GS_VERSION%%/lib/lqx70cm.upp -share/ghostscript/%%GS_VERSION%%/lib/markhint.ps -share/ghostscript/%%GS_VERSION%%/lib/markpath.ps -share/ghostscript/%%GS_VERSION%%/lib/necp2x.upp -share/ghostscript/%%GS_VERSION%%/lib/necp2x6.upp -share/ghostscript/%%GS_VERSION%%/lib/packfile.ps -share/ghostscript/%%GS_VERSION%%/lib/pcharstr.ps -share/ghostscript/%%GS_VERSION%%/lib/pdf2dsc.ps -share/ghostscript/%%GS_VERSION%%/lib/pdf_base.ps -share/ghostscript/%%GS_VERSION%%/lib/pdf_draw.ps -share/ghostscript/%%GS_VERSION%%/lib/pdf_font.ps -share/ghostscript/%%GS_VERSION%%/lib/pdf_main.ps -share/ghostscript/%%GS_VERSION%%/lib/pdf_ops.ps -share/ghostscript/%%GS_VERSION%%/lib/pdf_sec.ps -share/ghostscript/%%GS_VERSION%%/lib/pdfopt.ps -share/ghostscript/%%GS_VERSION%%/lib/pdfwrite.ps -share/ghostscript/%%GS_VERSION%%/lib/pf2afm.ps -share/ghostscript/%%GS_VERSION%%/lib/pfbtopfa.ps -share/ghostscript/%%GS_VERSION%%/lib/ppath.ps -share/ghostscript/%%GS_VERSION%%/lib/prfont.ps -share/ghostscript/%%GS_VERSION%%/lib/printafm.ps -share/ghostscript/%%GS_VERSION%%/lib/ps2ai.ps -share/ghostscript/%%GS_VERSION%%/lib/ps2ascii.ps -share/ghostscript/%%GS_VERSION%%/lib/ps2epsi.ps -share/ghostscript/%%GS_VERSION%%/lib/quit.ps -share/ghostscript/%%GS_VERSION%%/lib/ras1.upp -share/ghostscript/%%GS_VERSION%%/lib/ras24.upp -share/ghostscript/%%GS_VERSION%%/lib/ras3.upp -share/ghostscript/%%GS_VERSION%%/lib/ras32.upp -share/ghostscript/%%GS_VERSION%%/lib/ras4.upp -share/ghostscript/%%GS_VERSION%%/lib/ras8m.upp -share/ghostscript/%%GS_VERSION%%/lib/rollconv.ps -share/ghostscript/%%GS_VERSION%%/lib/showchar.ps -share/ghostscript/%%GS_VERSION%%/lib/showpage.ps -share/ghostscript/%%GS_VERSION%%/lib/st640ih.upp -share/ghostscript/%%GS_VERSION%%/lib/st640ihg.upp -share/ghostscript/%%GS_VERSION%%/lib/st640p.upp -share/ghostscript/%%GS_VERSION%%/lib/st640pg.upp -share/ghostscript/%%GS_VERSION%%/lib/st640pl.upp -share/ghostscript/%%GS_VERSION%%/lib/st640plg.upp -share/ghostscript/%%GS_VERSION%%/lib/stc.upp -share/ghostscript/%%GS_VERSION%%/lib/stc1520h.upp -share/ghostscript/%%GS_VERSION%%/lib/stc2.upp -share/ghostscript/%%GS_VERSION%%/lib/stc200_h.upp -share/ghostscript/%%GS_VERSION%%/lib/stc2_h.upp -share/ghostscript/%%GS_VERSION%%/lib/stc2s_h.upp -share/ghostscript/%%GS_VERSION%%/lib/stc300.upp -share/ghostscript/%%GS_VERSION%%/lib/stc300bl.upp -share/ghostscript/%%GS_VERSION%%/lib/stc300bm.upp -share/ghostscript/%%GS_VERSION%%/lib/stc500p.upp -share/ghostscript/%%GS_VERSION%%/lib/stc500ph.upp -share/ghostscript/%%GS_VERSION%%/lib/stc600ih.upp -share/ghostscript/%%GS_VERSION%%/lib/stc600p.upp -share/ghostscript/%%GS_VERSION%%/lib/stc600pl.upp -share/ghostscript/%%GS_VERSION%%/lib/stc640p.upp -share/ghostscript/%%GS_VERSION%%/lib/stc740ih.upp -share/ghostscript/%%GS_VERSION%%/lib/stc740p.upp -share/ghostscript/%%GS_VERSION%%/lib/stc740pl.upp -share/ghostscript/%%GS_VERSION%%/lib/stc800ih.upp -share/ghostscript/%%GS_VERSION%%/lib/stc800p.upp -share/ghostscript/%%GS_VERSION%%/lib/stc800pl.upp -share/ghostscript/%%GS_VERSION%%/lib/stc_h.upp -share/ghostscript/%%GS_VERSION%%/lib/stc_l.upp -share/ghostscript/%%GS_VERSION%%/lib/stcany.upp -share/ghostscript/%%GS_VERSION%%/lib/stcany_h.upp -share/ghostscript/%%GS_VERSION%%/lib/stcinfo.ps -share/ghostscript/%%GS_VERSION%%/lib/stcolor.ps -share/ghostscript/%%GS_VERSION%%/lib/stocht.ps -share/ghostscript/%%GS_VERSION%%/lib/traceimg.ps -share/ghostscript/%%GS_VERSION%%/lib/traceop.ps -share/ghostscript/%%GS_VERSION%%/lib/type1enc.ps -share/ghostscript/%%GS_VERSION%%/lib/type1ops.ps -share/ghostscript/%%GS_VERSION%%/lib/uninfo.ps -share/ghostscript/%%GS_VERSION%%/lib/unprot.ps -share/ghostscript/%%GS_VERSION%%/lib/viewcmyk.ps -share/ghostscript/%%GS_VERSION%%/lib/viewgif.ps -share/ghostscript/%%GS_VERSION%%/lib/viewjpeg.ps -share/ghostscript/%%GS_VERSION%%/lib/viewmiff.ps -share/ghostscript/%%GS_VERSION%%/lib/viewpbm.ps -share/ghostscript/%%GS_VERSION%%/lib/viewpcx.ps -share/ghostscript/%%GS_VERSION%%/lib/viewps2a.ps -share/ghostscript/%%GS_VERSION%%/lib/wftopfa.ps -share/ghostscript/%%GS_VERSION%%/lib/winmaps.ps -share/ghostscript/%%GS_VERSION%%/lib/wrfont.ps -share/ghostscript/%%GS_VERSION%%/lib/xlatmap -share/ghostscript/%%GS_VERSION%%/lib/zeroline.ps -share/ghostscript/fonts/a010013l.afm -share/ghostscript/fonts/a010013l.pfb -share/ghostscript/fonts/a010013l.pfm -share/ghostscript/fonts/a010015l.afm -share/ghostscript/fonts/a010015l.pfb -share/ghostscript/fonts/a010015l.pfm -share/ghostscript/fonts/a010033l.afm -share/ghostscript/fonts/a010033l.pfb -share/ghostscript/fonts/a010033l.pfm -share/ghostscript/fonts/a010035l.afm -share/ghostscript/fonts/a010035l.pfb -share/ghostscript/fonts/a010035l.pfm -share/ghostscript/fonts/b018012l.afm -share/ghostscript/fonts/b018012l.pfb -share/ghostscript/fonts/b018012l.pfm -share/ghostscript/fonts/b018015l.afm -share/ghostscript/fonts/b018015l.pfb -share/ghostscript/fonts/b018015l.pfm -share/ghostscript/fonts/b018032l.afm -share/ghostscript/fonts/b018032l.pfb -share/ghostscript/fonts/b018032l.pfm -share/ghostscript/fonts/b018035l.afm -share/ghostscript/fonts/b018035l.pfb -share/ghostscript/fonts/b018035l.pfm -share/ghostscript/fonts/bchb.afm -share/ghostscript/fonts/bchb.pfa -share/ghostscript/fonts/bchbi.afm -share/ghostscript/fonts/bchbi.pfa -share/ghostscript/fonts/bchr.afm -share/ghostscript/fonts/bchr.pfa -share/ghostscript/fonts/bchri.afm -share/ghostscript/fonts/bchri.pfa -share/ghostscript/fonts/c059013l.afm -share/ghostscript/fonts/c059013l.pfb -share/ghostscript/fonts/c059013l.pfm -share/ghostscript/fonts/c059016l.afm -share/ghostscript/fonts/c059016l.pfb -share/ghostscript/fonts/c059016l.pfm -share/ghostscript/fonts/c059033l.afm -share/ghostscript/fonts/c059033l.pfb -share/ghostscript/fonts/c059033l.pfm -share/ghostscript/fonts/c059036l.afm -share/ghostscript/fonts/c059036l.pfb -share/ghostscript/fonts/c059036l.pfm -share/ghostscript/fonts/d050000l.afm -share/ghostscript/fonts/d050000l.pfb -share/ghostscript/fonts/d050000l.pfm -share/ghostscript/fonts/fcyr.afm -share/ghostscript/fonts/fcyr.gsf -share/ghostscript/fonts/fcyri.afm -share/ghostscript/fonts/fcyri.gsf -share/ghostscript/fonts/fhirw.gsf -share/ghostscript/fonts/fhirw.pfm -share/ghostscript/fonts/fkarw.gsf -share/ghostscript/fonts/fkarw.pfm -share/ghostscript/fonts/fonts.dir -share/ghostscript/fonts/fonts.scale -share/ghostscript/fonts/hrger.pfa -share/ghostscript/fonts/hrgerb.gsf -share/ghostscript/fonts/hrgerd.gsf -share/ghostscript/fonts/hrgero.gsf -share/ghostscript/fonts/hrgkc.gsf -share/ghostscript/fonts/hrgks.gsf -share/ghostscript/fonts/hrgrr.pfa -share/ghostscript/fonts/hrgrrb.gsf -share/ghostscript/fonts/hrgrro.gsf -share/ghostscript/fonts/hritr.pfa -share/ghostscript/fonts/hritrb.gsf -share/ghostscript/fonts/hritro.gsf -share/ghostscript/fonts/hrpld.pfa -share/ghostscript/fonts/hrpldb.gsf -share/ghostscript/fonts/hrpldbi.gsf -share/ghostscript/fonts/hrpldi.pfa -share/ghostscript/fonts/hrplr.gsf -share/ghostscript/fonts/hrplrb.gsf -share/ghostscript/fonts/hrplrbo.gsf -share/ghostscript/fonts/hrplro.gsf -share/ghostscript/fonts/hrpls.gsf -share/ghostscript/fonts/hrplsb.gsf -share/ghostscript/fonts/hrplsbo.gsf -share/ghostscript/fonts/hrplso.gsf -share/ghostscript/fonts/hrplt.pfa -share/ghostscript/fonts/hrpltb.gsf -share/ghostscript/fonts/hrpltbi.gsf -share/ghostscript/fonts/hrplti.pfa -share/ghostscript/fonts/hrscc.pfa -share/ghostscript/fonts/hrsccb.gsf -share/ghostscript/fonts/hrscco.gsf -share/ghostscript/fonts/hrscs.pfa -share/ghostscript/fonts/hrscsb.gsf -share/ghostscript/fonts/hrscso.gsf -share/ghostscript/fonts/hrsyr.gsf -share/ghostscript/fonts/n019003l.afm -share/ghostscript/fonts/n019003l.pfb -share/ghostscript/fonts/n019003l.pfm -share/ghostscript/fonts/n019004l.afm -share/ghostscript/fonts/n019004l.pfb -share/ghostscript/fonts/n019004l.pfm -share/ghostscript/fonts/n019023l.afm -share/ghostscript/fonts/n019023l.pfb -share/ghostscript/fonts/n019023l.pfm -share/ghostscript/fonts/n019024l.afm -share/ghostscript/fonts/n019024l.pfb -share/ghostscript/fonts/n019024l.pfm -share/ghostscript/fonts/n019043l.afm -share/ghostscript/fonts/n019043l.pfb -share/ghostscript/fonts/n019043l.pfm -share/ghostscript/fonts/n019044l.afm -share/ghostscript/fonts/n019044l.pfb -share/ghostscript/fonts/n019044l.pfm -share/ghostscript/fonts/n019063l.afm -share/ghostscript/fonts/n019063l.pfb -share/ghostscript/fonts/n019063l.pfm -share/ghostscript/fonts/n019064l.afm -share/ghostscript/fonts/n019064l.pfb -share/ghostscript/fonts/n019064l.pfm -share/ghostscript/fonts/n021003l.afm -share/ghostscript/fonts/n021003l.pfb -share/ghostscript/fonts/n021003l.pfm -share/ghostscript/fonts/n021004l.afm -share/ghostscript/fonts/n021004l.pfb -share/ghostscript/fonts/n021004l.pfm -share/ghostscript/fonts/n021023l.afm -share/ghostscript/fonts/n021023l.pfb -share/ghostscript/fonts/n021023l.pfm -share/ghostscript/fonts/n021024l.afm -share/ghostscript/fonts/n021024l.pfb -share/ghostscript/fonts/n021024l.pfm -share/ghostscript/fonts/n022003l.afm -share/ghostscript/fonts/n022003l.pfb -share/ghostscript/fonts/n022003l.pfm -share/ghostscript/fonts/n022004l.afm -share/ghostscript/fonts/n022004l.pfb -share/ghostscript/fonts/n022004l.pfm -share/ghostscript/fonts/n022023l.afm -share/ghostscript/fonts/n022023l.pfb -share/ghostscript/fonts/n022023l.pfm -share/ghostscript/fonts/n022024l.afm -share/ghostscript/fonts/n022024l.pfb -share/ghostscript/fonts/n022024l.pfm -share/ghostscript/fonts/p052003l.afm -share/ghostscript/fonts/p052003l.pfb -share/ghostscript/fonts/p052003l.pfm -share/ghostscript/fonts/p052004l.afm -share/ghostscript/fonts/p052004l.pfb -share/ghostscript/fonts/p052004l.pfm -share/ghostscript/fonts/p052023l.afm -share/ghostscript/fonts/p052023l.pfb -share/ghostscript/fonts/p052023l.pfm -share/ghostscript/fonts/p052024l.afm -share/ghostscript/fonts/p052024l.pfb -share/ghostscript/fonts/p052024l.pfm -share/ghostscript/fonts/putb.pfa -share/ghostscript/fonts/putbi.pfa -share/ghostscript/fonts/putr.pfa -share/ghostscript/fonts/putri.pfa -share/ghostscript/fonts/s050000l.afm -share/ghostscript/fonts/s050000l.pfb -share/ghostscript/fonts/s050000l.pfm -share/ghostscript/fonts/u003043t.afm -share/ghostscript/fonts/u003043t.gsf -share/ghostscript/fonts/u003043t.pfm -share/ghostscript/fonts/u004006t.afm -share/ghostscript/fonts/u004006t.gsf -share/ghostscript/fonts/u004006t.pfm -share/ghostscript/fonts/z003034l.afm -share/ghostscript/fonts/z003034l.pfb -share/ghostscript/fonts/z003034l.pfm -@dirrm share/ghostscript/fonts -@dirrm share/ghostscript/%%GS_VERSION%%/lib -@dirrm share/ghostscript/%%GS_VERSION%%/examples -@dirrm share/ghostscript/%%GS_VERSION%%/doc -@dirrm share/ghostscript/%%GS_VERSION%% -@unexec rmdir %D/share/ghostscript 2>/dev/null || true -%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/npdl -%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/mjc -%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/md2k -%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/lips -%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/gdi -%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/eplaser -%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/epag -%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/dmprt -%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/bj10v -%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/alps -%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%% -%%PORTDOCS%%@dirrm share/doc/ghostscript diff --git a/print/ghostscript8/scripts/configure b/print/ghostscript8/scripts/configure deleted file mode 100644 index d4a4cad25d3a..000000000000 --- a/print/ghostscript8/scripts/configure +++ /dev/null @@ -1,366 +0,0 @@ -#! /bin/sh - -# $FreeBSD$ - -# configure - gs driver preconfiguration, manual driver selection -# by Andreas Klemm <andreas@FreeBSD.org> - -tempfile=`mktemp -t checklist` - -if [ -z "${WITHOUT_X11}" ]; then -x11devs="x11 x11alpha x11cmyk x11cmyk2 x11cmyk4 x11cmyk8 \ - x11gray2 x11gray4 x11mono x11rg16x x11rg32x" -fi - -if [ ! -z "${GS_OPTIONS}" ]; then - set ${GS_OPTIONS} -else - set \ - $x11devs \ - md2k md5k \ - md50Mono md50Eco md1xMono \ - appledmp iwhi iwlo iwlq hl7x0 bj10e \ - bj10v bj10vh bj200 bjc600 bjc800 \ - bjccmyk bjccolor bjcgray bjcmono \ - lbp8 \ - lbp1310 lbp1510 lbp1610 lbp1710 lbp1810 lbp1910 \ - lips2p lips3 lips4 bjc880j lips4v \ - m8510 coslw2p coslwxl uniprint \ - dmprt \ - lj250 declj250 ap3250 epson eps9mid eps9high lp8000 \ - epag \ - escpage lp2000 \ - alc8600 alc8500 alc2000 alc4000 alc1900 \ - lp9500c lp8800c lp8300c lp8500c lp3000c lp8200c lp8000c \ - epl6100 epl5900 epl5800 epl2050 epl2050p epl2120 epl2750 \ - lp7500 lp2400 lp2200 lp9400 lp8900 lp8700 lp8100 lp7700 \ - lp8600f lp8400f lp8300f lp1900 lp9600s lp9300 lp9600 lp8600 \ - lp1800 \ - lq850 epsonc \ - mjc180 mjc360 mjc720 mj500c \ - st800 stcolor photoex lp2563 dnj650c deskjet djet500 cdeskjet \ - djet500c cdjcolor cdjmono cdj500 cdj550 \ - cdj670 cdj850 cdj880 cdj890 cdj1600 chp2200 cdj970 \ - laserjet ljetplus ljet2p ljet3 ljet3d ljet4 ljet4d lj4dith \ - cljet5 cljet5c cljet5pr lj5mono lj5gray \ - pj pjetxl pjxl paintjet \ - pjxl300 pxlmono pxlcolor \ - ijs ibmpro jetp3852 imagen fs600 lxm5700m cp50 necp6 \ - npdl \ - oce9050 oki182 okiibm atx23 atx24 atx38 r4081 \ - rpdl \ - gdi \ - sj48 t4693d2 t4693d4 t4693d8 tek4696 \ - bmpmono bmpgray bmp16 bmp256 bmp16m bmp32b bmpsep1 bmpsep8 \ - ccr \ - cif \ - dfaxhigh dfaxlow \ - xcf xcfcmyk \ - faxg3 faxg32d faxg4 \ - miff24 inferno jpeg jpeggray \ - mgrmono mgrgray2 mgrgray4 mgrgray8 mgr4 mgr8 \ - pcxmono pcxgray pcx16 pcx256 pcx24b pcxcmyk pdfwrite \ - psdrgb psdcmyk \ - bit bitrgb bitcmyk plan9bm pam pbm pbmraw \ - pgm pgmraw pgnm pgnmraw pnm pnmraw ppm ppmraw \ - pkm pkmraw pksm pksmraw \ - pngmono pnggray png16 png256 png16m pnga psmono psgray psrgb \ - pswrite epswrite sgirgb sunhmono \ - tiffcrle tiffg3 tiffg32d tiffg4 \ - tiff12nc tiff24nc tifflzw tiffpack \ - bbox \ - devicen perm spotrgb spotcmyk -fi - -for i; do - eval status_$i=ON -done - -if [ -z "${BATCH}" ]; then - /usr/bin/dialog --title "AFPL Ghostscript driver configuration" --clear \ - --checklist "\n\ -This new ghostscript driver configuration dialog allows you to choose \n\ -only those gs drivers, you really need. Don't think too economical, since \n\ -other programs in the ports collection might need some of the default gs \n\ -file format drivers. The gs5 default drivers are preselected. \n\ -Have fun with this new configuration style ! -andreas \n\n\ - Please choose options by pressing SPACE to TOGGLE an option ON/OFF ?" -1 -1 9 \ - "x11" "X Window System version 11, release >=4" "$status_x11" \ - "x11alpha" "X Window System masquer. as device with alpha capability" "$status_x11alpha" \ - "x11cmyk" "X Window System masquer. as 1-bit-per-plane CMYK device" "$status_x11cmyk" \ - "x11cmyk2" "X Window System as a 2-bit-per-plane CMYK device" "$status_x11cmyk2" \ - "x11cmyk4" "X Window System as a 4-bit-per-plane CMYK device" "$status_x11cmyk4" \ - "x11cmyk8" "X Window System as an 8-bit-per-plane CMYK device" "$status_x11cmyk8" \ - "x11gray2" "X Window System as a 2-bit gray-scale device" "$status_x11gray2" \ - "x11gray4" "X Window System as a 4-bit gray-scale device" "$status_x11gray4" \ - "x11mono" "X Window System masquer. as black-and-white device" "$status_x11mono" \ - "x11rg16x" "X Window System with G5/B5/R6 pixel layout for testing" "$status_x11rg16x" \ - "x11rg32x" "X Window System with G11/B10/R11 pixel layout for testing" "$status_x11rg32x" \ - "md2k" "ALPS MD-2000/2010/4000/1300/1500/5000 [MD2K]" "$status_md2k" \ - "md5k" "ALPS MD-5000 Eco Mode [MD2K]" "$status_md5k" \ - "md50Mono" "ALPS MD-5000 Monochrome [ALPS]" "$status_md50Mono" \ - "md50Eco" "ALPS MD-5000 Eco Mode [ALPS]" "$status_md50Eco" \ - "md1xMono" "ALPS MD-1x00 Monochrome [ALPS]" "$status_md1xMono" \ - "appledmp" "Apple Dot Matrix Printer / Imagewriter" "$status_appledmp" \ - "iwhi" "Apple Imagewriter, high-resolution mode" "$status_iwhi" \ - "iwlo" "Apple Imagewriter, low-resolution mode" "$status_iwlo" \ - "iwlq" "Apple Imagewriter LQ in 320 x 216 dpi mode" "$status_iwlq" \ - "hl7x0" "Brother HL720 and HL730 (HL760=PCL), MFC6550MC Fax Machine" "$status_hl7x0" \ - "bj10e" "Canon BubbleJet BJ-10e" "$status_bj10e" \ - "bj10v" "Canon BubbleJet BJ-10v [BJ10V]" "$status_bj10v" \ - "bj10vh" "Canon BubbleJet BJ-10v, high-mergin [BJ10V]" "$status_bj10vh" \ - "bj200" "Canon BubbleJet BJ-200 and BJC-240(b&w)" "$status_bj200" \ - "bjc600" "Canon Color BJC-600/4xxx/70 + Apple StyleWriter 2x00" "$status_bjc600" \ - "bjc800" "Canon Color BubbleJet BJC-240/800" "$status_bjc800" \ - "bjccmyk" "Canon Color BubbleJet BJC-210/240/250/265/1000 [BJC250]" "$status_bjccmyk" \ - "bjccolor" "Canon Color BubbleJet BJC-210 ... 1000 truecolor [BJC250]" "$status_bjccolor" \ - "bjcgray" "Canon Color BubbleJet BJC-210 ... 1000 grayscale [BJC250]" "$status_bjcgray" \ - "bjcmono" "Canon Color BubbleJet BJC-210 ... 1000 monochrome [BJC250]" "$status_bjcmono" \ - "lbp8" "Canon LBP-8II laser printer" "$status_lbp8" \ - "lbp1310" "Canon LBP-1310 laser printer [CPCA]" "$status_lbp1310" \ - "lbp1510" "Canon LBP-1510 laser printer [CPCA]" "$status_lbp1510" \ - "lbp1610" "Canon LBP-1610 laser printer [CPCA]" "$status_lbp1610" \ - "lbp1710" "Canon LBP-1710 laser printer [CPCA]" "$status_lbp1710" \ - "lbp1810" "Canon LBP-1810 laser printer [CPCA]" "$status_lbp1810" \ - "lbp1910" "Canon LBP-1910 laser printer [CPCA]" "$status_lbp1910" \ - "lips2p" "Canon LIPS II+ [LIPS]" "$status_lips2p" \ - "lips3" "Canon LIPS III [LIPS]" "$status_lips3" \ - "lips4" "Canon LIPS IV [LIPS]" "$status_lips4" \ - "bjc880j" "Canon LIPS IVc (BJC-680J/880J) [LIPS]" "$status_bjc880j" \ - "lips4v" "Canon LIPS IV, vector output mode [LIPS]" "$status_lips4v" \ - "m8510" "C.Itoh M8510 printer" "$status_m8510" \ - "coslw2p" "CoStar LabelWriter II II/Plus" "$status_coslw2p" \ - "coslwxl" "CoStar LabelWriter XL" "$status_coslwxl" \ - "stp" "Configurable Canon/Epson/Lexmark/HP driver [Gimp-Print]" "$status_stp" \ - "uniprint" "Configurable ESC/P,ESC/P2,HP-RTL/PCL,P2X mono/color driver" "$status_uniprint" \ - "dmprt" "Configurable dot matrix printer driver [DMPRT]" "$status_dmprt" \ - "lj250" "DEC LJ250 Companion color printer" "$status_lj250" \ - "declj250" "DEC LJ250 driver (alternate)" "$status_declj250" \ - "ap3250" "Epson ActionPrinter 3250" "$status_ap3250" \ - "epson" "Epson-compatible dot matrix, 9/24-pin" "$status_epson" \ - "eps9mid" "Epson-compatible 9-pin, interleaved lines, medium resol" "$status_eps9mid" \ - "eps9high" "Epson-compatible 9-pin, interleaved lines, triple resol" "$status_eps9high" \ - "lp8000" "Epson LP-8000 line printer" "$status_lp8000" \ - "epag" "Epson ESC/Page laser printer (generic) [EPAG]" "$status_epag" \ - "escpage" "Epson ESC/Page laser printer (generic) [LIPS]" "$status_escpage" \ - "lp2000" "Epson LP-2000/3000/7000/7000G laser printer [LIPS]" "$status_lp2000" \ - "alc8600" "Epson AL-C8600 color laser printer [EPLASER]" "$status_alc8600" \ - "alc8500" "Epson AL-C8500 color laser printer [EPLASER]" "$status_alc8500" \ - "alc2000" "Epson AL-C2000 color laser printer [EPLASER]" "$status_alc2000" \ - "alc4000" "Epson AL-C4000 color laser printer [EPLASER]" "$status_alc4000" \ - "alc1900" "Epson AL-C1900 color laser printer [EPLASER]" "$status_alc1900" \ - "lp9500c" "Epson LP-9500C color laser printer [EPLASER]" "$status_lp9500c" \ - "lp8800c" "Epson LP-8800C color laser printer [EPLASER]" "$status_lp8800c" \ - "lp8300c" "Epson LP-8300C color laser printer [EPLASER]" "$status_lp8300c" \ - "lp8500c" "Epson LP-8500C color laser printer [EPLASER]" "$status_lp8500c" \ - "lp3000c" "Epson LP-3000C color laser printer [EPLASER]" "$status_lp3000c" \ - "lp8200c" "Epson LP-8200C color laser printer [EPLASER]" "$status_lp8200c" \ - "lp8000c" "Epson LP-8000C color laser printer [EPLASER]" "$status_lp8000c" \ - "epl6100" "Epson EPL-6100 laser printer [EPLASER]" "$status_epl6100" \ - "epl5900" "Epson EPL-5900 laser printer [EPLASER]" "$status_epl5900" \ - "epl5800" "Epson EPL-5800 laser printer [EPLASER]" "$status_epl5800" \ - "epl2050" "Epson EPL-N2050 laser printer [EPLASER]" "$status_epl2050" \ - "epl2050p" "Epson EPL-N2050+ laser printer [EPLASER]" "$status_epl2050p" \ - "epl2120" "Epson EPL-N2120 laser printer [EPLASER]" "$status_epl2120" \ - "epl2750" "Epson EPL-N2750 laser printer [EPLASER]" "$status_epl2750" \ - "lp7500" "Epson LP-7500(R) laser printer [EPLASER]" "$status_lp7500" \ - "lp2400" "Epson LP-2400 laser printer [EPLASER]" "$status_lp2400" \ - "lp2200" "Epson LP-2200 laser printer [EPLASER]" "$status_lp2200" \ - "lp9400" "Epson LP-9400(R) laser printer [EPLASER]" "$status_lp9400" \ - "lp8900" "Epson LP-8900(R) laser printer [EPLASER]" "$status_lp8900" \ - "lp8700" "Epson LP-8700(R) laser printer [EPLASER]" "$status_lp8700" \ - "lp8100" "Epson LP-8100(R) laser printer [EPLASER]" "$status_lp8100" \ - "lp8600f" "Epson LP-8600FX(N) laser printer [EPLASER]" "$status_lp8600f" \ - "lp8400f" "Epson LP-8400FX(N) laser printer [EPLASER]" "$status_lp8400f" \ - "lp8300f" "Epson LP-8300F laser printer [EPLASER]" "$status_lp8300f" \ - "lp1900" "Epson LP-1900(N) laser printer [EPLASER]" "$status_lp1900" \ - "lp9600s" "Epson LP-9600S laser printer [EPLASER]" "$status_lp9600s" \ - "lp9300" "Epson LP-9300 laser printer [EPLASER]" "$status_lp9300" \ - "lp9600" "Epson LP-9600 laser printer [EPLASER]" "$status_lp9600" \ - "lp8600" "Epson LP-8600FX(N) laser printer [EPLASER]" "$status_lp8600" \ - "lp1800" "Epson LP-1800 laser printer [EPLASER]" "$status_lp1800" \ - "lq850" "Epson LQ-850 (360x360), ok for Canon BJ300 in LQ850 emul" "$status_lq850" \ - "epsonc" "Epson LQ-2550 and Fujitsu 3400/2400/1200 color" "$status_epsonc" \ - "mjc180" "Epson MachJet series 180dpi, CMYK [MJC]" "$status_mjc180" \ - "mjc360" "Epson MachJet series 360dpi, CMYK [MJC]" "$status_mjc360" \ - "mjc720" "Epson MachJet series 720dpi, CMYK [MJC]" "$status_mjc720" \ - "mj500c" "Epson MachJet MJ-500C 360dpi, CMY or mono [MJC]" "$status_mj500c" \ - "st800" "Epson Stylus 800 printer" "$status_st800" \ - "stcolor" "Epson Stylus Color and II/IIs/1500 (see driver docu)" "$status_stcolor" \ - "photoex" "Epson Stylus Color Photo, Photo EX, Photo 700" "$status_photoex" \ - "lp2563" "HP 2563B line printer" "$status_lp2563" \ - "dnj650c" "HP DesignJet 650C" "$status_dnj650c" \ - "deskjet" "HP DeskJet and DeskJet Plus" "$status_deskjet" \ - "djet500" "HP DeskJet 500 (for DeskJet 600 use -r600)" "$status_djet500" \ - "cdeskjet" "HP DeskJet 500C, 1 bit/pixel color" "$status_cdeskjet" \ - "djet500c" "HP DeskJet 500C alternate driver, not for 550/560C" "$status_djet500c" \ - "cdjcolor" "HP DeskJet 500C/540C, 24bit/pxl+FS dith, Citizen Projet IIc" "$status_cdjcolor" \ - "cdjmono" "HP DeskJet 500/510/520/540C b/w printing" "$status_cdjmono" \ - "cdj500" "HP DeskJet 500/540C (same as cdjcolor)" "$status_cdj500" \ - "cdj550" "HP DeskJet 550C/560C/660C/660Cse" "$status_cdj550" \ - "cdj670" "HP DeskJet 670/690 [HP2200]" "$status_cdj670" \ - "cdj850" "HP DeskJet 850/855/870/1100 [HP2200]" "$status_cdj850" \ - "cdj880" "HP DeskJet 880 [HP2200]" "$status_cdj880" \ - "cdj890" "HP DeskJet 890 [HP2200]" "$status_cdj890" \ - "cdj1600" "HP DeskJet 1600 [HP2200]" "$status_cdj1600" \ - "chp2200" "HP Buisiness Inkjet 2200 [HP2200]" "$status_chp2200" \ - "cdj970" "HP DeskJet 970CXi [DJ970]" "$status_cdj970" \ - "laserjet" "HP LaserJet" "$status_laserjet" \ - "ljetplus" "HP LaserJet Plus" "$status_ljetplus" \ - "ljet2p" "HP LaserJet IId/IIp/III* with TIFF compression" "$status_ljet2p" \ - "ljet3" "HP LaserJet III* with Delta Row compression" "$status_ljet3" \ - "ljet3d" "HP LaserJet IIID with duplex capability" "$status_ljet3d" \ - "ljet4" "HP LaserJet 4 and 5L/5P (not real LJ5), defaults to 600 dpi" "$status_ljet4" \ - "ljet4d" "HP LaserJet 4 (defaults to 600 dpi) with duplex" "$status_ljet4d" \ - "lj4dith" "HP LaserJet 4 with Floyd-Steinberg dithering" "$status_lj4dith" \ - "cljet5" "HP LaserJet 5/5M Color (new driver, old=cljet5pr)" "$status_cljet5" \ - "cljet5c" "HP LaserJet 5/5M Color Simple" "$status_cljet5c" \ - "cljet5pr" "HP LaserJet 5/5M Color (old drv. with rotation hacks/flaws)" "$status_cljet5pr" \ - "lj5mono" "HP LaserJet 5 and 6 family (PCL5 / PCL XL), bitmap" "$status_lj5mono" \ - "lj5gray" "HP LaserJet 5 and 6 family, gray-scale bitmap" "$status_lj5gray" \ - "pj" "HP PaintJet XL driver " "$status_pj" \ - "pjetxl" "HP PaintJet XL driver (alternate)" "$status_pjetxl" \ - "pjxl" "HP PaintJet XL color printer" "$status_pjxl" \ - "paintjet" "HP PaintJet color printer (alternate)" "$status_paintjet" \ - "pjxl300" "HP PaintJet XL300, DeskJet 1200C color printer, HP CopyJet" "$status_pjxl300" \ - "pxlmono" "HP PCL XL black-and-white printers (LaserJet 5 and 6 family)" "$status_pxlmono" \ - "pxlcolor" "HP PCL XL color printers (Color LaserJet 4500/5000)" "$status_pxlcolor" \ - "pcl3" "HP PCL 3+ (generic) [PCL3]" "$status_pcl3" \ - "hpdj" "HP PCL 3+ (old drv.) [HPDJ]" "$status_hpdj" \ - "ijs" "HP Inkjet and other raster devices" "$status_ijs" \ - "ibmpro" "IBM 9-pin Proprinter" "$status_ibmpro" \ - "jetp3852" "IBM Jetprinter ink-jet color (Model #3852)" "$status_jetp3852" \ - "imagen" "Imagen ImPress printers" "$status_imagen" \ - "fs600" "Kyocera FS-600 (600 dpi)" "$status_fs600" \ - "lxm5700m" "Lexmark 5700 monotone" "$status_lxm5700m" \ - "cp50" "Mitsubishi CP50 color" "$status_cp50" \ - "necp6" "NEC PinWriter P6/P6+/P60, 360x360 DPI resol" "$status_necp6" \ - "npdl" "NEC Printer Description Language [NPDL]" "$status_npdl" \ - "oce9050" "OCE 9050 printer" "$status_oce9050" \ - "oki182" "Okidata MicroLine 182" "$status_oki182" \ - "okiibm" "Okidata MicroLine IBM-compatible printers" "$status_okiibm" \ - "atx23" "Practical Automation ATX-23 label printer" "$status_atx23" \ - "atx24" "Practical Automation ATX-24 label printer" "$status_atx24" \ - "atx38" "Practical Automation ATX-38 label printer" "$status_atx38" \ - "r4081" "Ricoh 4081 laser printer" "$status_r4081" \ - "rpdl" "Ricoh Printer Description Language [LIPS]" "$status_rpdl" \ - "gdi" "Samsung SmartGDI laser printer [GDI]" "$status_gdi" \ - "sj48" "StarJet 48 inkjet printer" "$status_sj48" \ - "t4693d2" "Tektronix 4693d color, 2 bits per R/G/B component" "$status_t4693d2" \ - "t4693d4" "Tektronix 4693d color, 4 bits per R/G/B component" "$status_t4693d4" \ - "t4693d8" "Tektronix 4693d color, 8 bits per R/G/B component" "$status_t4693d8" \ - "tek4696" "Tektronix 4695/4696 inkjet plotter" "$status_tek4696" \ - "bmpmono" "BMP Monochrome" "$status_bmpmono" \ - "bmpgray" "BMP 8-bit gray" "$status_bmpgray" \ - "bmp16" "BMP 4-bit EGA/VGA" "$status_bmp16" \ - "bmp256" "BMP 8-bit 256-color" "$status_bmp256" \ - "bmp16m" "BMP 24-bit" "$status_bmp16m" \ - "bmp32b" "BMP 32-bit pseudo-.BMP" "$status_bmp32b" \ - "bmpsep1" "BMP Separated 1-bit CMYK" "$status_bmpsep1" \ - "bmpsep8" "BMP Separated 8-bit CMYK" "$status_bmpsep8" \ - "ccr" "CalComp Raster format" "$status_ccr" \ - "cgmmono" "CGM Monochrome -- LOW LEVEL OUTPUT "$status_"LY" "$status_cgmmono" \ - "cgm8" "CGM 8-bit 256-color -- DITTO" "$status_cgm8" \ - "cgm24" "CGM 24-bit color -- DITTO" "$status_cgm24" \ - "cif" "CIF file format for VLSI" "$status_cif" \ - "dfaxhigh" "DigiBoard, DigiFAX software format (high resol)" "$status_dfaxhigh" \ - "dfaxlow" "DigiFAX low (normal) resol" "$status_dfaxlow" \ - "xcf" "Gimp XCF, RGB" "$status_xcf" \ - "xcfcmyk" "Gimp XCF, CMYK" "$status_xcfcmyk" \ - "faxg3" "Group 3 fax, with EOLs but no header or EOD" "$status_faxg3" \ - "faxg32d" "Group 3 2-D fax, with EOLs but no header or EOD" "$status_faxg32d" \ - "faxg4" "Group 4 fax, with EOLs but no header or EOD" "$status_faxg4" \ - "miff24" "ImageMagick MIFF, 24-bit direct color, RLE compressed" "$status_miff24" \ - "inferno" "Inferno bitmaps" "$status_inferno" \ - "jpeg" "JPEG format, RGB output" "$status_jpeg" \ - "jpeggray" "JPEG format, gray output" "$status_jpeggray" \ - "mgrmono" "MGR devices 1-bit monochrome" "$status_mgrmono" \ - "mgrgray2" "MGR devices 2-bit gray scale" "$status_mgrgray2" \ - "mgrgray4" "MGR devices 4-bit gray scale" "$status_mgrgray4" \ - "mgrgray8" "MGR devices 8-bit gray scale" "$status_mgrgray8" \ - "mgr4" "MGR devices 4-bit (VGA) color" "$status_mgr4" \ - "mgr8" "MGR devices 8-bit color" "$status_mgr8" \ - "pcxmono" "PCX file format, monochrome 1-bit b/w" "$status_pcxmono" \ - "pcxgray" "PCX file format, 8-bit gray scale" "$status_pcxgray" \ - "pcx16" "PCX file format, 4-bit planar EGA/VGA color" "$status_pcx16" \ - "pcx256" "PCX file format, 8-bit chunky color" "$status_pcx256" \ - "pcx24b" "PCX file format, 24-bit color 3x8-bit planes" "$status_pcx24b" \ - "pcxcmyk" "PCX file format, 4-bit chunky CMYK color" "$status_pcxcmyk" \ - "pdfwrite" "PDF output (like Adobe Acrobat Distiller)" "$status_pdfwrite" \ - "psdrgb" "PhotoShop PSD, RGB" "$status_psdrgb" \ - "psdcmyk" "PhotoShop PSD, CMYK" "$status_psdcmyk" \ - "bit" "Plain bits, monochrome" "$status_bit" \ - "bitrgb" "Plain bits, RGB" "$status_bitrgb" \ - "bitcmyk" "Plain bits, CMYK" "$status_bitcmyk" \ - "plan9bm" "Plan 9 bitmap format" "$status_plan9bm" \ - "pam" "Portable Arbitrary Map file format" "$status_pam" \ - "pbm" "Portable Bitmap, plain format" "$status_pbm" \ - "pbmraw" "Portable Bitmap, raw format" "$status_pbmraw" \ - "pgm" "Portable Graymap, plain format" "$status_pgm" \ - "pgmraw" "Portable Graymap, raw format" "$status_pgmraw" \ - "pgnm" "Portable Graymap, plain format, optim. to PBM" "$status_pgnm" \ - "pgnmraw" "Portable Graymap, raw format, optim. to PBM" "$status_pgmraw" \ - "pnm" "Portable Pixmap, plain format RGB, optim. to PGM/PBM" "$status_pnm" \ - "pnmraw" "Portable Pixmap, raw format RGB, optim. to PGM/PBM" "$status_pnmraw" \ - "ppm" "Portable Pixmap, plain format RGB" "$status_ppm" \ - "ppmraw" "Portable Pixmap, raw format RGB" "$status_ppmraw" \ - "pkm" "Portable inKmap (plain format) (4-bit CMYK => RGB)" "$status_pkm" \ - "pkmraw" "Portable inKmap (raw format) (4-bit CMYK => RGB)" "$status_pkmraw" \ - "pksm" "Portable Separated map (plain) (4-bit CMYK => 4 pages)" "$status_pksm" \ - "pksmraw" "Portable Separated map (raw) (4-bit CMYK => 4 pages)" "$status_pksmraw" \ - "pngmono" "PNG Monochrome Portable Network Graphics" "$status_pngmono" \ - "pnggray" "PNG 8-bit gray Portable Network Graphics" "$status_pnggray" \ - "png16" "PNG 4-bit color Portable Network Graphics" "$status_png16" \ - "png256" "PNG 8-bit color Portable Network Graphics" "$status_png256" \ - "png16m" "PNG 24-bit color Portable Network Graphics" "$status_png16m" \ - "pnga" "PNG with transparency" "$status_pnga" \ - "psmono" "PostScript (Level 1) monochrome image" "$status_psmono" \ - "psgray" "PostScript (Level 1) 8-bit gray image" "$status_psgray" \ - "psrgb" "PostScript (Level 2) 24-bit color image" "$status_psrgb" \ - "pswrite" "PostScript output (like PostScript Distillery)" "$status_pswrite" \ - "epswrite" "EPS output (like PostScript Distillery)" "$status_epswrite" \ - "sgirgb" "SGI RGB pixmap format" "$status_sgirgb" \ - "sunhmono" "Harlequin variant of 1-bit Sun raster file" "$status_sunhmono" \ - "tiffcrle" "TIFF CCITT RLE 1 dim = Group 3 fax with no EOLs" "$status_tiffcrle" \ - "tiffg3" "TIFF Group 3 fax with EOLs" "$status_tiffg3" \ - "tiffg32d" "TIFF Group 3 2-D fax" "$status_tiffg32d" \ - "tiffg4" "TIFF Group 4 fax" "$status_tiffg4" \ - "tiff12nc" "TIFF 12-bit RGB, no compression" "$status_tiff12nc" \ - "tiff24nc" "TIFF 24-bit RGB, no compression, NeXT std. format" "$status_tiff24nc" \ - "tifflzw" "TIFF LZW, tag = 5, mono" "$status_tifflzw" \ - "tiffpack" "TIFF PackBits, tag = 32773, mono" "$status_tiffpack" \ - "bbox" "Bounding box output" "$status_bbox" \ - "devicen" "DeviceN process color model device" "$status_devicen" \ - "perm" "DeviceN which permutes color components" "$status_perm" \ - "spotrgb" "DeviceN with RGB and spot color support" "$status_spotrgb" \ - "spotcmyk" "DeviceN with CMYK and spot color support" "$status_spotcmyk" \ -2> $tempfile - - retval=$? - - if [ -s $tempfile ]; then - set `sed 's/"//g' $tempfile` - fi - rm -f $tempfile - - case $retval in - 0) if [ -z "$*" ]; then - echo "Nothing selected" - fi - ;; - 1) echo "Cancel pressed." - exit 1 - ;; - esac -fi - -exec > ${WRKSRC}/Makefile - -echo "DEVICE_DEVS= \\" - -for i; do - echo " \$(DD)$i.dev \\" -done - -echo "" -cat "${WRKSRC}/src/unix-gcc.mak" |