From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jun 7 21:50:19 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89F0037B404 for ; Sat, 7 Jun 2003 21:50:19 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79C9443F85 for ; Sat, 7 Jun 2003 21:50:17 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h584oFUp020635 for ; Sat, 7 Jun 2003 21:50:15 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h584oEHO020634; Sat, 7 Jun 2003 21:50:14 -0700 (PDT) Date: Sat, 7 Jun 2003 21:50:14 -0700 (PDT) Message-Id: <200306080450.h584oEHO020634@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: KATO Tsuguru Subject: Re: ports/52480: Update port: print/ghostscript-gnu to 7.07 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: KATO Tsuguru List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jun 2003 04:50:20 -0000 The following reply was made to PR ports/52480; it has been noted by GNATS. From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: Re: ports/52480: Update port: print/ghostscript-gnu to 7.07 Date: Sun, 8 Jun 2003 13:45:37 +0900 This patch should really be correct.... diff -urN /usr/ports/print/ghostscript-gnu/Makefile print/ghostscript-gnu/Makefile --- /usr/ports/print/ghostscript-gnu/Makefile Sat May 10 13:25:36 2003 +++ print/ghostscript-gnu/Makefile Sun Jun 8 13:40:01 2003 @@ -9,7 +9,7 @@ PORTVERSION= ${GS_VERSION} CATEGORIES= print MASTER_SITES= ${MASTER_SITE_GNU:S/$/:gs_fonts/} \ - ${MASTER_SITE_SOURCEFORGE:S/$/:gs_srcs,gprint,bjc250/} \ + ${MASTER_SITE_SOURCEFORGE:S/$/:gs_srcs,cups,gprint,bjc250/} \ http://hp.sourceforge.net/:hp2200 \ http://home.t-online.de/home/Martin.Lottermoser/pcl3dist/:hpdj_pcl3 \ http://www.harsch.net/Download/:dj970 \ @@ -21,9 +21,12 @@ 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 \ + http://www.linuxprinting.org/download/printing/:lxm3200 \ + http://homepage.powerup.com.au/~pbwest/lexmark/:lx5000 \ ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/gnu/fonts/:gs_fonts \ ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/gnu/gs${GS_VERSION:S/.//}/:gs_srcs MASTER_SITE_SUBDIR= ghostscript/:gs_srcs,gs_fonts,ports_jp_gs \ + espgs/:cups \ gimp-print/:gprint \ bjc250gs/:bjc250 \ ./:ports_jp @@ -31,6 +34,7 @@ DISTFILES= ${GS_SRCS}:gs_srcs \ ${GS_FONTS_STD}:gs_fonts \ ${GS_FONTS_OTHER}:gs_fonts \ + ${CUPS_SRCS}:cups \ ${HP2200_SRCS}:hp2200 \ ${HPDJ_SRCS}:hpdj_pcl3 \ ${PCL3_SRCS}:hpdj_pcl3 \ @@ -47,7 +51,11 @@ ${EPLASER_SRCS}:eplaser \ ${MJC_SRCS}:ports_jp \ ${NPDL_SRCS}:npdl \ - ${GDI_SRCS}:gdi + ${GDI_SRCS}:gdi \ + ${LXM3200_SRCS}:lxm3200 \ + ${LX5000_SRCS}:lx5000 \ + ${LEX7000_SRCS}:lx5000 + DIST_SUBDIR= ghostscript EXTRACT_ONLY= ${GS_SRCS} @@ -62,10 +70,13 @@ 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} + XCFLAGS="${XCFLAGS}" +PLIST_SUB= GS_VERSION="${GS_VERSION}" -SCRIPTS_ENV= GS_OPTIONS="${GS_OPTIONS}" WITHOUT_X11="${WITHOUT_X11}" +SCRIPTS_ENV= GS_DRIVERS_LIST="${GS_DRIVERS_LIST}" \ + WITHOUT_X11="${WITHOUT_X11}" \ + WITHOUT_CUPS="${WITHOUT_CUPS}" \ + WITH_SVGALIB="${WITH_SVGALIB}" MAN1= ansi2knr.1 dvipdf.1 font2c.1 gs.1 gslp.1 gsnd.1 pdf2dsc.1 \ pdf2ps.1 pdfopt.1 pf2afm.1 pfbtopfa.1 printafm.1 ps2ascii.1 \ @@ -90,6 +101,17 @@ USE_XLIB= yes .endif +.if defined(WITHOUT_CUPS) +PLIST_SUB+= CUPS="@comment " +.else +LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base +PLIST_SUB+= CUPS="" +.endif + +.if defined(WITH_SVGALIB) +LIB_DEPENDS+= vga.1:${PORTSDIR}/graphics/svgalib +.endif + .if defined(WITH_SHLIB) .undef WITHOUT_X11 USE_GNOME= gtk12 @@ -114,6 +136,13 @@ # Additional Drivers: +# CUPS - additional driver for CUPS printing to non-PS printers +# http://www.cups.org/ +CUPS= cups +CUPS_VERS= 7.05.6 +CUPS_NAME= espgs-${CUPS_VERS} +CUPS_SRCS= ${CUPS_NAME}-source.tar.bz2 + # HP2200 - additional driver for HP DeskJet 8xx and Business Inkjet 2200 # http://hp.sourceforge.net/gs-hp2200.php HP2200= hp2200 @@ -234,10 +263,27 @@ GDI_NAME= Samsung-SmartGDI-all-GS GDI_SRCS= ${GDI_NAME}.tar.gz +# LXM3200 - additional driver for Lexmark 3200/Z12/Z22/Z31/Z32 +LXM3200= lxm3200 +LXM3200_VERS= 20030501 +LXM3200_NAME= ${LXM3200}-tweaked-${LXM3200_VERS} +LXM3200_SRCS= ${LXM3200_NAME}.tar.gz + +# LX5000 - additional driver for Lexmark 5000/Z51/Z82 +# http://homepage.powerup.com.au/~pbwest/lexmark/lexmark.html +LX5000= lx5000 +LX5000_SRCS= gdevlx50.c + +# LEX7000 - additional driver for Lexmark 2050/3200/5700/7000 +# http://bimbo.fjfi.cvut.cz/~paluch/l7kdriver/ +LEX7000= lex7000 +LEX7000_SRCS= gs6.0.lexmark7000.patch + # contributed uniprint profiles CONTRIB_UPP= lqx70ch.upp lqx70cl.upp lqx70cm.upp \ stc740ih.upp stc740p.upp stc740pl.upp +.include .SILENT: pre-everything:: @@ -254,6 +300,10 @@ # configure.batch, which update unix-gcc.mak to build gs with these # new devices ! # +# for CUPS driver + ${ECHO_MSG} ">>> extracting ${CUPS_SRCS} ..." + ${TAR} -C ${WRKSRC} -xyf ${DISTDIR}/${DIST_SUBDIR}/${CUPS_SRCS} \ + ${CUPS_NAME}/pstoraster # for HP2200 driver ${ECHO_MSG} ">>> extracting ${HP2200_SRCS} ..." ${MKDIR} ${WRKSRC}/${HP2200} @@ -320,6 +370,19 @@ # for GDI driver ${ECHO_MSG} ">>> extracting ${GDI_SRCS} ..." ${TAR} -C ${WRKSRC}/src -xzf ${DISTDIR}/${DIST_SUBDIR}/${GDI_SRCS} +# for LXM3200 driver + ${ECHO_MSG} ">>> extracting ${LXM3200_SRCS} ..." + ${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${LXM3200_SRCS} + ${LN} -sf ${LXM3200_NAME} ${WRKSRC}/${LXM3200} +# for LX5000 driver + ${ECHO_MSG} ">>> extracting ${LX5000_SRCS} ..." + ${CP} ${DISTDIR}/${DIST_SUBDIR}/${LX5000_SRCS} ${WRKSRC}/src +# for LEX7000 driver + ${ECHO_MSG} ">>> extracting ${LEX7000_SRCS} ..." + ${MKDIR} ${WRKSRC}/${LEX7000} + ${CAT} ${DISTDIR}/${DIST_SUBDIR}/${LEX7000_SRCS} | \ + ${PATCH} -d ${WRKSRC}/${LEX7000} -f -s -N -E -p1 \ + 2>/dev/null || ${TRUE} post-patch: ${REINPLACE_CMD} -e 's|^DEVICE_DEVS|#DEVICE_DEVS|g' \ @@ -337,6 +400,10 @@ # advantage: you see unmodified makefiles after a pure make extract pre-configure: ${ECHO_MSG} ">>> in pre-configure ..." +# for CUPS driver + ${ECHO_MSG} ">>> adding ${CUPS} driver to contrib.mak ..." + ${CAT} ${FILESDIR}/cups.contrib.mak \ + >> ${WRKSRC}/src/contrib.mak # for HP2200 driver ${ECHO_MSG} ">>> adding ${HP2200} driver to contrib.mak ..." ${CAT} ${FILESDIR}/chp2200.contrib.mak \ @@ -403,6 +470,18 @@ ${ECHO_MSG} ">>> adding ${GDI} driver to contrib.mak ..." ${CAT} ${WRKSRC}/src/smartgdi-contrib.mak \ >> ${WRKSRC}/src/contrib.mak +# for LXM3200 driver + ${ECHO_MSG} ">>> adding ${LXM3200} driver to contrib.mak ..." + ${CAT} ${FILESDIR}/lxm3200.contrib.mak \ + >> ${WRKSRC}/src/contrib.mak +# for LX5000 driver + ${ECHO_MSG} ">>> adding ${LX5000} driver to contrib.mak ..." + ${CAT} ${FILESDIR}/lx5000.contrib.mak \ + >> ${WRKSRC}/src/contrib.mak +# for LEX7000 driver + ${ECHO_MSG} ">>> adding ${LEX7000} driver to contrib.mak ..." + ${CAT} ${FILESDIR}/lex7000.contrib.mak \ + >> ${WRKSRC}/src/contrib.mak post-configure: ${ECHO_MSG} ">>> in post-configure ..." @@ -421,6 +500,18 @@ ${ECHO_MSG} ">>> creating directories for compilation ..." ${MKDIR} ${WRKSRC}/obj ${MKDIR} ${WRKSRC}/bin +# for CUPS driver + ${ECHO_MSG} ">>> creating symlinks for ${CUPS} ..." +.for i in gdevcups.c + ${LN} -sf ${WRKSRC}/${CUPS_NAME}/pstoraster/${i} ${WRKSRC}/src +.endfor + ${ECHO_MSG} ">>> building ${CUPS} utility ..." + cd ${WRKSRC}/${CUPS_NAME}/pstoraster && ${SED} -e \ + 's:@prefix@:${PREFIX}:g ; \ + s:@exec_prefix@:${PREFIX}:g ; \ + s:@bindir@:${PREFIX}/bin:g ; \ + s:/usr/share:${PREFIX}/share:g ; \ + s:@GS@:${PREFIX}/bin/gs:g' pstoraster.in > pstoraster # for HP2200 driver ${ECHO_MSG} ">>> creating symlinks for ${HP2200} ..." .for i in gdevcd8.c @@ -487,6 +578,16 @@ .for i in gdevnpdl.c ${LN} -sf ${WRKSRC}/${NPDL_NAME}/${i} ${WRKSRC}/src .endfor +# for LXM3200 driver + ${ECHO_MSG} ">>> creating symlinks for ${LXM3200} ..." +.for i in gdevlx32.c + ${LN} -sf ${WRKSRC}/${LXM3200_NAME}/${i} ${WRKSRC}/src +.endfor +# for LEX7000 driver + ${ECHO_MSG} ">>> creating symlinks for ${LEX7000} ..." +.for i in gdevlx7.c + ${LN} -sf ${WRKSRC}/${LEX7000}/src/${i} ${WRKSRC}/src +.endfor pre-install: ${ECHO_MSG} ">>> in pre-install ..." @@ -506,6 +607,16 @@ .else ${STRIP_CMD} ${PREFIX}/bin/gs .endif +# for CUPS driver +.if !defined(WITHOUT_CUPS) + ${ECHO_MSG} ">>> installing ${CUPS} utilito in bindir ..." + ${MKDIR} ${PREFIX}/libexec/cups/filter + ${INSTALL_SCRIPT} ${WRKSRC}/${CUPS_NAME}/pstoraster/pstoraster \ + ${PREFIX}/libexec/cups/filter + ${MKDIR} ${PREFIX}/etc/cups + ${INSTALL_DATA} ${WRKSRC}/${CUPS_NAME}/pstoraster/pstoraster.convs \ + ${PREFIX}/etc/cups +.endif # for HPDJ driver ${ECHO_MSG} ">>> installing ${HPDJ} manpages ..." .for i in ${HPDJ_MAN1} @@ -647,8 +758,15 @@ ${INSTALL_DATA} ${WRKSRC}/src/${i} \ ${DOCSDIR}/${GS_VERSION}/${GDI} .endfor +# for LXM3200 driver + ${ECHO_MSG} ">>> installing ${LXM3200} docs ..." + ${MKDIR} ${DOCSDIR}/${GS_VERSION}/${LXM3200} +.for i in README RELEASE_NOTES Z12-Z31-QuickSetup + ${INSTALL_DATA} ${WRKSRC}/${LXM3200_NAME}/${i} \ + ${DOCSDIR}/${GS_VERSION}/${LXM3200} +.endfor .endif ${ECHO_MSG} "> post-installation tasks completed." .include "Makefile.inc" -.include +.include diff -urN /usr/ports/print/ghostscript-gnu/Makefile.inc print/ghostscript-gnu/Makefile.inc --- /usr/ports/print/ghostscript-gnu/Makefile.inc Mon Apr 28 08:09:13 2003 +++ print/ghostscript-gnu/Makefile.inc Sun May 18 16:26:31 2003 @@ -1 +1 @@ -GS_VERSION= 7.06 +GS_VERSION= 7.07 diff -urN /usr/ports/print/ghostscript-gnu/distinfo print/ghostscript-gnu/distinfo --- /usr/ports/print/ghostscript-gnu/distinfo Mon Apr 28 14:26:08 2003 +++ print/ghostscript-gnu/distinfo Mon May 19 07:36:20 2003 @@ -1,6 +1,7 @@ -MD5 (ghostscript/ghostscript-7.06.tar.bz2) = 8411464add7f19879ab5086cc45815f5 +MD5 (ghostscript/ghostscript-7.07.tar.bz2) = 85fd16cdc8232e5e3679a3a7e30a3359 MD5 (ghostscript/gnu-gs-fonts-std-6.0.tar.gz) = 1521fab85ca3e8ce3ce781d4970e6c79 MD5 (ghostscript/gnu-gs-fonts-other-6.0.tar.gz) = 33457d3f37de7ef03d2eea05a9e6aa4f +MD5 (ghostscript/espgs-7.05.6-source.tar.bz2) = 991cbd7bafc6917a19abf9df3ecad58e MD5 (ghostscript/gs-hp2200.tar.gz) = cafe60c0003abe370579f9bfb1d27caa MD5 (ghostscript/hpdj-2.6.tar.gz) = dcc402281f36afd2041144e0e97917be MD5 (ghostscript/pcl3-3.3.tar.gz) = 34e664c2a98b847598f8441f8cac7ab6 @@ -18,3 +19,6 @@ 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 +MD5 (ghostscript/lxm3200-tweaked-20030501.tar.gz) = 0f88082030c6eb66a95804a6cc9b9e6b +MD5 (ghostscript/gdevlx50.c) = 081e355c866316a56fbbff5b59f2b7cf +MD5 (ghostscript/gs6.0.lexmark7000.patch) = fd5018c18351bf64805fe5727be196de diff -urN /usr/ports/print/ghostscript-gnu/files/cups.contrib.mak print/ghostscript-gnu/files/cups.contrib.mak --- /usr/ports/print/ghostscript-gnu/files/cups.contrib.mak Thu Jan 1 09:00:00 1970 +++ print/ghostscript-gnu/files/cups.contrib.mak Sat May 17 09:12:27 2003 @@ -0,0 +1,11 @@ +### ----------------- CUPS Ghostscript Driver ---------------------- ### + +cups_= $(GLOBJ)gdevcups.$(OBJ) + +$(DD)cups.dev: $(cups_) $(DD)page.dev + $(SETPDEV2) $(DD)cups $(cups_) + $(ADDMOD) $(DD)cups -lib cupsimage -lib cups + +$(GLOBJ)gdevcups.$(OBJ): $(GLSRC)gdevcups.c $(PDEVH) + $(GLCC) $(GLO_)gdevcups.$(OBJ) $(C_) $(GLSRC)gdevcups.c + diff -urN /usr/ports/print/ghostscript-gnu/files/lex7000.contrib.mak print/ghostscript-gnu/files/lex7000.contrib.mak --- /usr/ports/print/ghostscript-gnu/files/lex7000.contrib.mak Thu Jan 1 09:00:00 1970 +++ print/ghostscript-gnu/files/lex7000.contrib.mak Wed May 14 16:37:51 2003 @@ -0,0 +1,21 @@ +# ------ The Lexmark 5700 and 7000 devices ------ # + +lex7000_=$(GLOBJ)gdevlx7.$(OBJ) +$(DD)lex7000.dev: $(lex7000_) $(DD)page.dev + $(SETPDEV) $(DD)lex7000 $(lex7000_) + +lex5700_=$(GLOBJ)gdevlx7.$(OBJ) +$(DD)lex5700.dev: $(lex5700_) $(DD)page.dev + $(SETPDEV) $(DD)lex5700 $(lex5700_) + +lex3200_=$(GLOBJ)gdevlx7.$(OBJ) +$(DD)lex3200.dev: $(lex3200_) $(DD)page.dev + $(SETPDEV) $(DD)lex3200 $(lex3200_) + +lex2050_=$(GLOBJ)gdevlx7.$(OBJ) +$(DD)lex2050.dev: $(lex2050_) $(DD)page.dev + $(SETPDEV) $(DD)lex2050 $(lex2050_) + +$(GLOBJ)gdevlx7.$(OBJ): $(GLSRC)gdevlx7.c $(PDEVH) + $(GLCC) $(GLO_)gdevlx7.$(OBJ) $(C_) $(GLSRC)gdevlx7.c + diff -urN /usr/ports/print/ghostscript-gnu/files/lx5000.contrib.mak print/ghostscript-gnu/files/lx5000.contrib.mak --- /usr/ports/print/ghostscript-gnu/files/lx5000.contrib.mak Thu Jan 1 09:00:00 1970 +++ print/ghostscript-gnu/files/lx5000.contrib.mak Wed May 14 16:39:47 2003 @@ -0,0 +1,11 @@ +### ----------------- LexMark 5000 printer ----------------------------- ### +### Note: this driver was contributed by users. Please contact: ### +### Peter B. West ### + +lx5000_=$(GLOBJ)gdevlx50.$(OBJ) +$(DD)lx5000.dev: $(lx5000_) + $(SETPDEV) $(DD)lx5000 $(lx5000_) + +$(GLOBJ)gdevlx50.$(OBJ): $(GLSRC)gdevlx50.c $(PDEVH) + $(GLCC) $(GLO_)gdevlx50.$(OBJ) $(C_) $(GLSRC)gdevlx50.c + diff -urN /usr/ports/print/ghostscript-gnu/files/lxm3200.contrib.mak print/ghostscript-gnu/files/lxm3200.contrib.mak --- /usr/ports/print/ghostscript-gnu/files/lxm3200.contrib.mak Thu Jan 1 09:00:00 1970 +++ print/ghostscript-gnu/files/lxm3200.contrib.mak Wed May 14 09:06:26 2003 @@ -0,0 +1,10 @@ +### ---------------- Lexmark 3200 device ----------------- ### + +lxm3200_=$(GLOBJ)gdevlx32.$(OBJ) + +$(DD)lxm3200.dev: $(lxm3200_) $(DD)page.dev + $(SETPDEV) $(DD)lxm3200 $(lxm3200_) + +$(GLOBJ)gdevlx32.$(OBJ): $(GLSRC)gdevlx32.c $(PDEVH) $(gsparam_h) + $(GLCC) $(GLO_)gdevlx32.$(OBJ) $(C_) $(GLSRC)gdevlx32.c + diff -urN /usr/ports/print/ghostscript-gnu/files/patch-lib:gs_setpd.ps print/ghostscript-gnu/files/patch-lib:gs_setpd.ps --- /usr/ports/print/ghostscript-gnu/files/patch-lib:gs_setpd.ps Thu Jan 1 09:00:00 1970 +++ print/ghostscript-gnu/files/patch-lib:gs_setpd.ps Sat May 17 06:58:12 2003 @@ -0,0 +1,59 @@ +--- lib/gs_setpd.ps.orig Mon Mar 31 22:02:22 2003 ++++ lib/gs_setpd.ps Sat May 17 06:57:49 2003 +@@ -323,21 +323,42 @@ + } bind + .dicttomark readonly def + +-% Define the keys used in input attribute matching. +-/.inputattrkeys [ +- /PageSize /MediaColor /MediaWeight /MediaType /InsertSheet +- % The following are documented in Adobe's supplement for v2017. +- /LeadingEdge /MediaClass +-] readonly def +-% Define other keys used in media selection. +-/.inputselectionkeys [ +- /MediaPosition /Orientation +-] readonly def ++% M. Sweet, Easy Software Products: ++% ++% Define NOMEDIAATTRS to turn the default (but unimplementable) media ++% selection policies for setpagedevice. This is used by CUPS to ++% support the standard Adobe media attributes. ++currentdict /NOMEDIAATTRS known { ++ % Define the keys used in input attribute matching. ++ /.inputattrkeys [ ++ /PageSize /MediaColor /MediaWeight /MediaType /InsertSheet ++ % The following are documented in Adobe's supplement for v2017. ++ /LeadingEdge /MediaClass ++ ] readonly def ++ % Define other keys used in media selection. ++ /.inputselectionkeys [ ++ /MediaPosition /Orientation ++ ] readonly def + +-% Define the keys used in output attribute matching. +-/.outputattrkeys [ +- /OutputType +-] readonly def ++ % Define the keys used in output attribute matching. ++ /.outputattrkeys [ ++ /OutputType ++ ] readonly def ++} { ++ % Define only PageSize for input attribute matching. ++ /.inputattrkeys [ ++ /PageSize ++ ] readonly def ++ % Define no other keys used in media selection. ++ /.inputselectionkeys [ ++ /noInputSelectionsKeys ++ ] readonly def ++ ++ % Define no keys used in output attribute matching. ++ /.outputattrkeys [ ++ /noOutputAttrKeys ++ ] readonly def ++} ifelse + + % Define all the parameters that should always be copied to the merged + % dictionary. diff -urN /usr/ports/print/ghostscript-gnu/pkg-descr print/ghostscript-gnu/pkg-descr --- /usr/ports/print/ghostscript-gnu/pkg-descr Mon Apr 28 14:26:08 2003 +++ print/ghostscript-gnu/pkg-descr Sun May 18 17:43:33 2003 @@ -7,6 +7,8 @@ under certain conditions (including, in some cases, commercial distribution). This port includes add-on packages (not part of the official gs release) + o CUPS driver for Common UNIX Printing System raster output + - http://www.cups.org/ 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 @@ -15,8 +17,8 @@ - http://home.t-online.de/home/Martin.Lottermoser/pcl3.html o Gimp-Print driver for Canon/Epson/Lexmark/HP printers - http://gimp-print.sourceforge.net/ - o Spacial drivers for verious printer models mainly sold in Japan - - Alps, Canon, Epson, NEC, Ricoh,... + o Special drivers for verious printer models + - Alps, Canon, Epson, NEC, Lexmark, Ricoh,... o Additional contributed uniprint driver profiles for - Epson Stylus Color 740 and Epson LQ-1170 diff -urN /usr/ports/print/ghostscript-gnu/pkg-plist print/ghostscript-gnu/pkg-plist --- /usr/ports/print/ghostscript-gnu/pkg-plist Mon Apr 28 14:26:08 2003 +++ print/ghostscript-gnu/pkg-plist Sat May 17 11:26:45 2003 @@ -37,6 +37,8 @@ bin/wftopfa %%SHLIB%%lib/libgs.so %%SHLIB%%lib/libgs.so.%%SHLIB_VER%% +%%CUPS%%libexec/cups/filter/pstoraster +%%CUPS%%etc/cups/pstoraster.convs %%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 @@ -51,6 +53,9 @@ %%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/hpdj/NEWS %%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/hpdj/hpdj.html %%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/lips/Gdevlips.htm +%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/lxm3200/README +%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/lxm3200/RELEASE_NOTES +%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/lxm3200/Z12-Z31-QuickSetup %%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 @@ -547,6 +552,7 @@ %%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%%/lxm3200 %%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/lips %%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/hpdj %%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/gdi diff -urN /usr/ports/print/ghostscript-gnu/scripts/configure print/ghostscript-gnu/scripts/configure --- /usr/ports/print/ghostscript-gnu/scripts/configure Mon Apr 28 14:26:10 2003 +++ print/ghostscript-gnu/scripts/configure Sun Jun 8 08:37:40 2003 @@ -12,11 +12,21 @@ x11gray2 x11gray4 x11mono x11rg16x x11rg32x" fi -if [ ! -z "${GS_OPTIONS}" ]; then - set ${GS_OPTIONS} +if [ -z "${WITHOUT_CUPS}" ]; then +cupsdevs="cups" +fi + +if [ -n "${WITH_SVGALIB}" ]; then +svgalibdevs="lvga256 vgalib" +fi + +if [ ! -z "${GS_DRIVERS_LIST}" ]; then + set ${GS_DRIVERS_LIST} else set \ $x11devs \ + $cupsdevs \ + $svgalibdevs \ md2k md5k \ md50Mono md50Eco md1xMono \ appledmp iwhi iwlo iwlq hl7x0 bj10e \ @@ -46,7 +56,9 @@ pj pjetxl pjxl paintjet \ pjxl300 pxlmono pxlcolor \ pcl3 hpdj \ - ijs ibmpro jetp3852 imagen fs600 lxm5700m cp50 necp6 \ + ijs ibmpro jetp3852 imagen fs600 lxm5700m \ + lxm3200 lx5000 lex2050 lex3200 lex5700 lex7000 \ + cp50 necp6 \ npdl \ oce9050 oki182 okiibm atx23 atx24 atx38 r4081 \ rpdl \ @@ -64,7 +76,8 @@ 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 \ + pngmono pnggray png16 png256 png16m pngalpha \ + psmono psgray psrgb \ pswrite epswrite sgirgb sunhmono \ tiffcrle tiffg3 tiffg32d tiffg4 \ tiff12nc tiff24nc tifflzw tiffpack \ @@ -95,6 +108,9 @@ "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" \ + "lvga256" "SVGAlib, 256-color VGA modes" "$status_lvga256" \ + "vgalib" "SVGAlib, 16-color VGA modes" "$status_vgalib" \ + "cups" "Common UNIX Printing System raster output [CUPS]" "$status_cups" \ "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" \ @@ -232,6 +248,12 @@ "imagen" "Imagen ImPress printers" "$status_imagen" \ "fs600" "Kyocera FS-600 (600 dpi)" "$status_fs600" \ "lxm5700m" "Lexmark 5700 monotone" "$status_lxm5700m" \ + "lxm3200" "Lexmark 3200/Z12/Z22/Z31/Z32 [LXM3200]" "$status_lxm3200" \ + "lx5000" "Lexmark 5000/Z51/Z82 [LX5000]" "$status_lx5000" \ + "lex2050" "Lexmark 2050 [LEX7000]" "$status_lex2050" \ + "lex3200" "Lexmark 3200 [LEX7000]" "$status_lex3200" \ + "lex5700" "Lexmark 5700 [LEX7000]" "$status_lex5700" \ + "lex7000" "Lexmark 7000 [LEX7000]" "$status_lex7000" \ "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" \ @@ -308,7 +330,7 @@ "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" \ + "pngalpha" "PNG 32-bit RGBA color Portable Network Graphics" "$status_pngalpha" \ "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" \