[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Ghostscript 7.05



暇なので、大石さんの package を元に 7.05 に対応させています。ひとまず
コンパイルが通るところまでいきました。遊びたい人用。
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	ghostscript-gnu-nox11
#	ghostscript-gnu-nox11/DESCR
#	ghostscript-gnu-nox11/Makefile
#	ghostscript-gnu-nox11/Makefile.common
#	ghostscript-gnu-nox11/PLIST
#	ghostscript-gnu-nox11/distinfo
#	ghostscript-gnu-nox11/files
#	ghostscript-gnu-nox11/files/devs.nox11
#	ghostscript-gnu-nox11/files/devs.x11
#	ghostscript-gnu-nox11/patches
#	ghostscript-gnu-nox11/patches/patch-bug-workaround
#	ghostscript-gnu-nox11/patches/patch-ab
#	ghostscript-gnu-nox11/patches/patch-ac
#	ghostscript-gnu-nox11/patches/patch-ad
#	ghostscript-gnu-nox11/patches/patch-ae
#	ghostscript-gnu-nox11/patches/patch-af
#	ghostscript-gnu-nox11/patches/patch-ag
#	ghostscript-gnu-nox11/patches/patch-ai
#	ghostscript-gnu-nox11/patches/patch-aj
#	ghostscript-gnu-nox11/patches/patch-ak
#	ghostscript-gnu-nox11/patches/patch-al
#	ghostscript-gnu-nox11/patches/patch-at
#	ghostscript-gnu-nox11/patches/patch-ax
#	ghostscript-gnu-nox11/patches/patch-ao
#	ghostscript-gnu-nox11/patches/patch-ap
#	ghostscript-gnu-nox11/patches/patch-au
#	ghostscript-gnu-nox11/patches/patch-ar
#	ghostscript-gnu-nox11/patches/patch-as
#	ghostscript-gnu-nox11/patches/patch-av
#	ghostscript-gnu-nox11/patches/patch-aw
#	ghostscript-gnu-nox11/patches/patch-aa
#	ghostscript-gnu-nox11/patches/patch-aq
#	ghostscript-gnu-nox11/patches/patch-ay
#	ghostscript-gnu-nox11/patches/xxpatch-ah
#
echo c - ghostscript-gnu-nox11
mkdir -p ghostscript-gnu-nox11 > /dev/null 2>&1
echo x - ghostscript-gnu-nox11/DESCR
sed 's/^X//' >ghostscript-gnu-nox11/DESCR << 'END-of-ghostscript-gnu-nox11/DESCR'
XGhostscript is the well-known PostScript interpreter which is
Xavailable for all common and most esoteric platforms and supports
Xmany different printers and some displays.
X
XThis version of Ghostscript includes support for the Japanese
XVector Font library.
END-of-ghostscript-gnu-nox11/DESCR
echo x - ghostscript-gnu-nox11/Makefile
sed 's/^X//' >ghostscript-gnu-nox11/Makefile << 'END-of-ghostscript-gnu-nox11/Makefile'
X# $NetBSD: Makefile,v 1.2 2001/02/17 17:51:42 wiz Exp $
X
XPKGNAME=	ghostscript-nox11-${GS_VERS}
X
XCOMMENT=	Aladdin Postscript interpreter
X
XCONFLICTS=	ghostscript{,-x11}-[0-9]*
X
X.include "../../print/ghostscript-gnu-nox11/Makefile.common"
END-of-ghostscript-gnu-nox11/Makefile
echo x - ghostscript-gnu-nox11/Makefile.common
sed 's/^X//' >ghostscript-gnu-nox11/Makefile.common << 'END-of-ghostscript-gnu-nox11/Makefile.common'
X# $NetBSD: Makefile.common,v 1.19 2001/07/15 22:19:11 bad Exp $
X
XDISTNAME=		ghostscript-${GS_VERS}
XGS_VERS=		7.05
XCATEGORIES=		print
XMASTER_SITES+=		http://download.sourceforge.net/ghostscript/ \
X			ftp://ftp.cs.wisc.edu/ghost/aladdin/gs601/
XEXTRACT_SUFX=		.tar.bz2
X
XMAINTAINER=		jlam@netbsd.org
XHOMEPAGE=		http://www.cs.wisc.edu/~ghost/index.html
X
XDEPENDS+=		ghostscript-fonts-6.0:../../fonts/ghostscript-fonts
X#DEPENDS+=		watanabe-vfont-19930318:../../fonts/watanabe_vfont
X
XGS_SOURCES=		${DISTNAME}${EXTRACT_SUFX}
XDISTFILES+=		${GS_SOURCES}
X
X# Adobe's JPEG implementation in their PDF/PS documents is non-standard,
X# so we can't use an already installed libjpeg.so.
X#
XMASTER_SITES+=		ftp://ftp.uu.net/graphics/jpeg/
XJPEG_SOURCES=		jpegsrc.v6b.tar.gz
XDISTFILES+=		${JPEG_SOURCES}
XEXTRACT_LIST+=		${JPEG_SOURCES}
X
X# cmap files
X#MASTER_SITES+=		ftp://ftp.gyve.org/pub/gs-cjk/
X#CMAP_ADOBI=		adobe-cmaps-200103
X#CMAP_ACRO4=		acro4-cmaps-1999
X#DISTFILES+=		${CMAP_ADOBI}.tar.gz ${CMAP_ACRO4}.tar.gz
X#EXTRACT_LIST+=		${CMAP_ADOBI}.tar.gz ${CMAP_ACRO4}.tar.gz
X
X# PostScript source to decode encrypted PDF files
XMASTER_SITES+=		http://www.ozemail.com.au/~geoffk/pdfencrypt/
XPDF_SEC=		pdf_sec.ps
XDISTFILES+=		${PDF_SEC}
X
X# Additional driver for several HP deskjets
XMASTER_SITES+=		ftp://ftp.sbs.de/pub/graphics/ghostscript/pcl3/
XHPDJ_DRV=		hpdj-2.6
XDISTFILES+=		${HPDJ_DRV}.tar.gz
XEXTRACT_LIST+=		${HPDJ_DRV}.tar.gz
X
X# The HP 2200 Ghostscript driver from hp.sourceforge.net
XMASTER_SITES+=		http://hp.sourceforge.net/
XHP2200_DRV=		gs-hp2200
XDISTFILES+=		${HP2200_DRV}.tar.gz
XEXTRACT_LIST+=		${HP2200_DRV}.tar.gz
X
X# I don't know the primary destribution sites of these drivers....
XMASTER_SITES+=		ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/
XDMPRT_DRV=		dmprt-2.01
XDISTFILES+=		${DMPRT_DRV}.tar.gz
XEXTRACT_LIST+=		${DMPRT_DRV}.tar.gz
X
XBJ10V_DRV=		gdev10v
XDISTFILES+=		${BJ10V_DRV}.tar.gz
XEXTRACT_LIST+=		${BJ10V_DRV}.tar.gz
X
X# EPSON MJ-700V2C
XMJC_DRV=		gdevmjc-0.8
XDISTFILES+=		${MJC_DRV}.tar.gz
XEXTRACT_LIST+=		${MJC_DRV}.tar.gz
X
X# EPSON laser printer
X#EPLASER=		eplaser
X#DISTFILES+=		${EPLASER}-2.0.6-550.tgz
X#EXTRACT_LIST+=		${EPLASER}-2.0.6-550.tgz
X
X# Alps MD5000 printer 600dpi monochrome mode
XMD5000_DRV=		gdevalps-0.2
XDISTFILES+=		${MD5000_DRV}.tar.gz
XEXTRACT_LIST+=		${MD5000_DRV}.tar.gz
X
X# Alps MD-2000/2010/4000/1300/1500/5000
XMASTER_SITES+=		http://plaza26.mbn.or.jp/~higamasa/gdevmd2k/
XMD2000_DRV=		gdevmd2k-0.2a
XDISTFILES+=		${MD2000_DRV}.tar.gz
XEXTRACT_LIST+=		${MD2000_DRV}.tar.gz
X
X# Canon LIPS II+, III, IV; EPSON ESC/Page; NEC NPDL drivers
XMASTER_SITES+=		http://www.bukka.p.chiba-u.ac.jp/~ohmori/gs/
XLIPS_DRV=		gdevlips-2.3.6
XDISTFILES+=		${LIPS_DRV}.tar.gz
XEXTRACT_LIST+=		${LIPS_DRV}.tar.gz
X
X# Ricoh RPDL
XMASTER_SITES+=		http://home.jp.FreeBSD.org/~mita/LOCAL_PORTS/
XRPDL_DRV=		gdevrpdl
XDISTFILES+=		${RPDL_DRV}.tar.gz
XEXTRACT_LIST+=		${RPDL_DRV}.tar.gz
X
X# Kyocera Prescribe
XMASTER_SITES+=		${MASTER_SITE_LOCAL}
XPRESCR_DRV=		gdevprsc-0.3
XDISTFILES+=		${PRESCR_DRV}.tar.gz
XEXTRACT_LIST+=		${PRESCR_DRV}.tar.gz
X
XDISTINFO_FILE=		${.CURDIR}/../../print/ghostscript-gnu-nox11/distinfo
XFILESDIR=		${.CURDIR}/../../print/ghostscript-gnu-nox11/files
XPATCHDIR=		${.CURDIR}/../../print/ghostscript-gnu-nox11/patches
XSCRIPTDIR=		${.CURDIR}/../../print/ghostscript-gnu-nox11/scripts
XPLIST_SRC=		${.CURDIR}/../../print/ghostscript-gnu-nox11/PLIST
X
XEXTRACT_ONLY=		${GS_SOURCES}
XDIST_SUBDIR=		ghostscript
XWRKSRC=			${WRKDIR}/ghostscript-${GS_VERS}
XMAKEFILE=		src/unix-gcc.mak
XALL_TARGET=		std
X
X.include "../../mk/bsd.prefs.mk"
X.include "../../graphics/png/buildlink.mk"
X#.include "../../japanese/vflib-lib/buildlink.mk"
X
X# arm32 compiler has an optimizer problem
X.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "arm32"
XCFLAGS=
X.endif
X
X.if defined(PAPERSIZE) && (${PAPERSIZE} == "A4" || ${PAPERSIZE} == "a4")
XCFLAGS+=		-DA4
X.endif
X
XCFLAGS+=		-DHAVE_MKSTEMP=1
X
X.if ${OPSYS} == "SunOS"
XLDFLAGS+=		-L${LOCALBASE}/bsd/lib -Wl,-R${LOCALBASE}/bsd/lib
X.endif
X
XMAKE_ENV+=		XLDFLAGS="${LDFLAGS}"
X
X# Define whether this platform has floating point hardware:
X#	FPU_TYPE=2 means floating point is faster than fixed point.
X# (This is the case on some RISCs with multiple instruction dispatch.)
X#	FPU_TYPE=1 means floating point is at worst only slightly slower
X# than fixed point.
X#	FPU_TYPE=0 means that floating point may be considerably slower.
X#	FPU_TYPE=-1 means that floating point is always much slower than
X# fixed point.
X#
XFPU_TYPE?=		1
XMAKE_ENV+=		FPU_TYPE=${FPU_TYPE}
X
X.if defined(USE_X11)
XMAKEFRAGS=		${FILESDIR}/devs.x11
X.endif
XMAKEFRAGS+=		${FILESDIR}/devs.nox11
X
XGSINST_DIR=		${PREFIX}/share/ghostscript/${GS_VERS}
XDOC_DIR=		${PREFIX}/share/doc/ghostscript
XHTML_DIR=		${PREFIX}/share/doc/html/ghostscript
XLIB_DIR=		${GSINST_DIR}/lib
X
Xpost-extract:
X	@cd ${WRKDIR}; for file in ${EXTRACT_LIST}; do			\
X		${PAX} -zrf ${_DISTDIR}/$${file};			\
X	done
X	cd ${WRKSRC}/src; ${PAX} -rf ${WRKDIR}/${HPDJ_DRV}/hpdj.tar
X	${MV} ${WRKSRC}/src/gs-hpdj.1 ${WRKSRC}/man
X	cd ${WRKDIR}; ${CP} gdevdmpr.c gdevdmpr.mak		${WRKSRC}/src
X	cd ${WRKDIR}; ${CP} dviprlib.*				${WRKSRC}/src
X	cd ${WRKDIR}; ${CP} gdevcd8.c				${WRKSRC}/src
X	cd ${WRKDIR}/${BJ10V_DRV}; ${CP} gdev10v.c gdev10v.mak	${WRKSRC}/src
X	cd ${WRKDIR}/${MJC_DRV}; ${CP} *.[ch] gdevmjc.mak	${WRKSRC}/src
X	cd ${WRKDIR}/${LIPS_DRV}; ${CP} *			${WRKSRC}/src
X	cd ${WRKDIR}/${RPDL_DRV}; ${CP} gdevrpdl.c gdevrpdl.mak	${WRKSRC}/src
X	cd ${WRKDIR}/${MD5000_DRV}; \
X		${CP} gdevalps.c gdevalps.mak-5.50		${WRKSRC}/src
X	cd ${WRKDIR}/${MD2000_DRV}; \
X		${CP} gdevmd2k.c gdevmd2k.mak-5.8x		${WRKSRC}/src
X	cd ${WRKDIR}/${PRESCR_DRV}; \
X		${CP} gdevprsc.c gdevprsc.mak			${WRKSRC}/src
X
X	${RM} -f ${WRKSRC}/jpeg
X	${LN} -sf ${WRKDIR}/jpeg-6b ${WRKSRC}/jpeg
X	${RM} -f ${WRKSRC}/lib/${PDF_SEC}
X	${LN} -s ${_DISTDIR}/${PDF_SEC} ${WRKSRC}/lib/${PDF_SEC}
X	${MV} ${WRKSRC}/lib/fixmswrd.pl ${WRKSRC}/lib/fixmswrd.pl.in
X
Xpost-patch:
X	if [ ! -f ${WRKDIR}/dmp_site.ps.bak ]; then			\
X		${MV} ${WRKDIR}/dmp_site.ps ${WRKDIR}/dmp_site.ps.bak;	\
X	fi
X	${SED} -e "s|epsimage\.src|${GSINST_DIR}/lib/escp_24.src|g"	\
X		${WRKDIR}/dmp_site.ps.bak > ${WRKDIR}/dmp_site.ps
X	if [ ! -f ${WRKSRC}/lib/gs_res.ps.bak ]; then			\
X		${MV} ${WRKSRC}/lib/gs_res.ps ${WRKSRC}/lib/gs_res.ps.bak;	\
X	fi
X	${SED} -e "s|@RESOURCE@|${PREFIX}/share/ghostscript/Resource|g"	\
X		${WRKSRC}/lib/gs_res.ps.bak > ${WRKSRC}/lib/gs_res.ps
X
Xdo-configure:
X	#
X	# Append build rules for extra drivers to contrib.mak
X	#
X	cd ${WRKSRC}/src;						\
X	${CAT}	contrib.mak-5.94.add					\
X		gdevlips.mak						\
X		gdev10v.mak						\
X		gdevmjc.mak						\
X		gdevrpdl.mak						\
X		gdevdmpr.mak						\
X		gdevalps.mak-5.50					\
X		gdevmd2k.mak-5.8x					\
X		gdevprsc.mak						\
X		>> contrib.mak
X	#
X	# Prepend device list to unix-gcc.mak
X	#
X	${CAT}	${MAKEFRAGS}						\
X		${WRKSRC}/src/unix-gcc.mak				\
X		> ${WRKDIR}/unix-gcc.mak
X	${MV} -f ${WRKDIR}/unix-gcc.mak ${WRKSRC}/src
X
X	${SED}	-e "s|@PERL@|${PERL5}|g"				\
X		${WRKSRC}/lib/fixmswrd.pl.in > ${WRKSRC}/lib/fixmswrd.pl
X
Xpost-install:
X	strip ${PREFIX}/bin/gs
X	${INSTALL_DATA_DIR} ${DOC_DIR}
X	${INSTALL_DATA} ${WRKDIR}/${LIPS_DRV}/Gdevlips.htm ${HTML_DIR}
X	${INSTALL_DATA} ${WRKDIR}/${BJ10V_DRV}/gdev10v.jis ${DOC_DIR}
X	${INSTALL_DATA} ${WRKDIR}/gdevdmpr.sj ${DOC_DIR}
X	${INSTALL_DATA} ${WRKDIR}/dmp_init.ps ${LIB_DIR}
X	${INSTALL_DATA} ${WRKDIR}/dmp_site.ps ${LIB_DIR}
X	${INSTALL_DATA} ${WRKDIR}/escp_24.src ${LIB_DIR}
X	${INSTALL_DATA} ${WRKDIR}/testpage.ps ${LIB_DIR}
X	${INSTALL_DATA} ${WRKDIR}/${PRESCR_DRV}/gdevprsc.?? ${DOC_DIR}
X	${INSTALL_DATA_DIR} ${DOC_DIR}/${MJC_DRV}
X	${INSTALL_DATA} ${WRKDIR}/${MJC_DRV}/README.mjc ${DOC_DIR}/${MJC_DRV}
X	${INSTALL_DATA} ${WRKDIR}/${MJC_DRV}/README.noz ${DOC_DIR}/${MJC_DRV}
X	${INSTALL_DATA} ${WRKDIR}/${MJC_DRV}/README.mje ${DOC_DIR}/${MJC_DRV}
X	${INSTALL_DATA} ${WRKDIR}/${MJC_DRV}/cpem.doc ${DOC_DIR}/${MJC_DRV}
X	${INSTALL_DATA} ${WRKDIR}/${MJC_DRV}/MJ700V2C.FAQ ${DOC_DIR}/${MJC_DRV}
X
X.include "../../mk/bsd.pkg.mk"
END-of-ghostscript-gnu-nox11/Makefile.common
echo x - ghostscript-gnu-nox11/PLIST
sed 's/^X//' >ghostscript-gnu-nox11/PLIST << 'END-of-ghostscript-gnu-nox11/PLIST'
X@comment $NetBSD$
Xbin/bdftops
Xbin/dvipdf
Xbin/eps2eps
Xbin/fixmswrd.pl
Xbin/font2c
Xbin/gs
Xbin/gsbj
Xbin/gsdj
Xbin/gsdj500
Xbin/gslj
Xbin/gslp
Xbin/gsnd
Xbin/lprsetup.sh
Xbin/pdf2dsc
Xbin/pdf2ps
Xbin/pdfopt
Xbin/pf2afm
Xbin/pfbtopfa
Xbin/pj-gs.sh
Xbin/printafm
Xbin/ps2ascii
Xbin/ps2epsi
Xbin/ps2pdf
Xbin/ps2pdf12
Xbin/ps2pdf13
Xbin/ps2pdf14
Xbin/ps2pdfwr
Xbin/ps2ps
Xbin/pv.sh
Xbin/sysvlp.sh
Xbin/unix-lpr.sh
Xbin/wftopfa
Xman/man1/ansi2knr.1
Xman/man1/dvipdf.1
Xman/man1/font2c.1
Xman/man1/gs-hpdj.1
Xman/man1/gs.1
Xman/man1/gslp.1
Xman/man1/gsnd.1
Xman/man1/pdf2dsc.1
Xman/man1/pdf2ps.1
Xman/man1/pdfopt.1
Xman/man1/pf2afm.1
Xman/man1/pfbtopfa.1
Xman/man1/printafm.1
Xman/man1/ps2ascii.1
Xman/man1/ps2epsi.1
Xman/man1/ps2pdf.1
Xman/man1/ps2pdfwr.1
Xman/man1/ps2ps.1
Xman/man1/wftopfa.1
Xshare/doc/ghostscript/gdev10v.jis
Xshare/doc/ghostscript/gdevdmpr.sj
Xshare/doc/ghostscript/gdevmjc-0.8/MJ700V2C.FAQ
Xshare/doc/ghostscript/gdevmjc-0.8/README.mjc
Xshare/doc/ghostscript/gdevmjc-0.8/README.mje
Xshare/doc/ghostscript/gdevmjc-0.8/README.noz
Xshare/doc/ghostscript/gdevmjc-0.8/cpem.doc
Xshare/doc/ghostscript/gdevprsc.en
Xshare/doc/ghostscript/gdevprsc.ja
Xshare/doc/html/ghostscript/API.htm
Xshare/doc/html/ghostscript/Bug-form.htm
Xshare/doc/html/ghostscript/Bug-info.htm
Xshare/doc/html/ghostscript/C-style.htm
Xshare/doc/html/ghostscript/CJK.htm
Xshare/doc/html/ghostscript/CJKTTCID.htm
Xshare/doc/html/ghostscript/COPYING
Xshare/doc/html/ghostscript/Changes.htm
Xshare/doc/html/ghostscript/Commprod.htm
Xshare/doc/html/ghostscript/Copying.htm
Xshare/doc/html/ghostscript/DLL.htm
Xshare/doc/html/ghostscript/Devices.htm
Xshare/doc/html/ghostscript/Drivers.htm
Xshare/doc/html/ghostscript/Fonts.htm
Xshare/doc/html/ghostscript/Gdevlips.htm
Xshare/doc/html/ghostscript/Helpers.htm
Xshare/doc/html/ghostscript/Hershey.htm
Xshare/doc/html/ghostscript/History1.htm
Xshare/doc/html/ghostscript/History2.htm
Xshare/doc/html/ghostscript/History3.htm
Xshare/doc/html/ghostscript/History4.htm
Xshare/doc/html/ghostscript/History5.htm
Xshare/doc/html/ghostscript/History6.htm
Xshare/doc/html/ghostscript/History7.htm
Xshare/doc/html/ghostscript/Htmstyle.htm
Xshare/doc/html/ghostscript/Humor.htm
Xshare/doc/html/ghostscript/Install.htm
Xshare/doc/html/ghostscript/Issues.htm
Xshare/doc/html/ghostscript/Language.htm
Xshare/doc/html/ghostscript/Lib.htm
Xshare/doc/html/ghostscript/Maintain.htm
Xshare/doc/html/ghostscript/Make.htm
Xshare/doc/html/ghostscript/New-user.htm
Xshare/doc/html/ghostscript/News.htm
Xshare/doc/html/ghostscript/Projects.htm
Xshare/doc/html/ghostscript/Ps-style.htm
Xshare/doc/html/ghostscript/Ps2epsi.htm
Xshare/doc/html/ghostscript/Ps2pdf.htm
Xshare/doc/html/ghostscript/Psfiles.htm
Xshare/doc/html/ghostscript/Public.htm
Xshare/doc/html/ghostscript/README
Xshare/doc/html/ghostscript/Readme.htm
Xshare/doc/html/ghostscript/Release.htm
Xshare/doc/html/ghostscript/Source.htm
Xshare/doc/html/ghostscript/Tester.htm
Xshare/doc/html/ghostscript/Unix-lpr.htm
Xshare/doc/html/ghostscript/Use.htm
Xshare/doc/html/ghostscript/Xfonts.htm
Xshare/doc/html/ghostscript/gs.css
Xshare/doc/html/ghostscript/index.html
Xshare/examples/ghostscript/alphabet.ps
Xshare/examples/ghostscript/cjk/all_ac1.ps
Xshare/examples/ghostscript/cjk/all_ag1.ps
Xshare/examples/ghostscript/cjk/all_aj1.ps
Xshare/examples/ghostscript/cjk/all_aj2.ps
Xshare/examples/ghostscript/cjk/all_ak1.ps
Xshare/examples/ghostscript/cjk/gscjk_ac.ps
Xshare/examples/ghostscript/cjk/gscjk_ag.ps
Xshare/examples/ghostscript/cjk/gscjk_aj.ps
Xshare/examples/ghostscript/cjk/gscjk_ak.ps
Xshare/examples/ghostscript/cjk/iso2022.ps
Xshare/examples/ghostscript/colorcir.ps
Xshare/examples/ghostscript/doretree.ps
Xshare/examples/ghostscript/escher.ps
Xshare/examples/ghostscript/golfer.ps
Xshare/examples/ghostscript/grayalph.ps
Xshare/examples/ghostscript/ridt91.eps
Xshare/examples/ghostscript/snowflak.ps
Xshare/examples/ghostscript/tiger.ps
Xshare/examples/ghostscript/vasarely.ps
Xshare/examples/ghostscript/waterfal.ps
Xshare/ghostscript/7.05/lib/CIDFnmap
Xshare/ghostscript/7.05/lib/CIDFnmap.ARP
Xshare/ghostscript/7.05/lib/CIDFnmap.Bae
Xshare/ghostscript/7.05/lib/CIDFnmap.CJK
Xshare/ghostscript/7.05/lib/CIDFnmap.Koc
Xshare/ghostscript/7.05/lib/CIDFnmap.Ore
Xshare/ghostscript/7.05/lib/CIDFnmap.Sol
Xshare/ghostscript/7.05/lib/CIDFnmap.Win
Xshare/ghostscript/7.05/lib/CIDFnmap.b5
Xshare/ghostscript/7.05/lib/CIDFnmap.gb
Xshare/ghostscript/7.05/lib/CIDFnmap.ksx
Xshare/ghostscript/7.05/lib/CIDFnmap.sj
Xshare/ghostscript/7.05/lib/Fontmap
Xshare/ghostscript/7.05/lib/Fontmap.GS
Xshare/ghostscript/7.05/lib/acctest.ps
Xshare/ghostscript/7.05/lib/addxchar.ps
Xshare/ghostscript/7.05/lib/align.ps
Xshare/ghostscript/7.05/lib/bdftops.ps
Xshare/ghostscript/7.05/lib/bj8.rpd
Xshare/ghostscript/7.05/lib/bj8gc12f.upp
Xshare/ghostscript/7.05/lib/bj8hg12f.upp
Xshare/ghostscript/7.05/lib/bj8oh06n.upp
Xshare/ghostscript/7.05/lib/bj8pa06n.upp
Xshare/ghostscript/7.05/lib/bj8pp12f.upp
Xshare/ghostscript/7.05/lib/bj8ts06n.upp
Xshare/ghostscript/7.05/lib/bjc610a0.upp
Xshare/ghostscript/7.05/lib/bjc610a1.upp
Xshare/ghostscript/7.05/lib/bjc610a2.upp
Xshare/ghostscript/7.05/lib/bjc610a3.upp
Xshare/ghostscript/7.05/lib/bjc610a4.upp
Xshare/ghostscript/7.05/lib/bjc610a5.upp
Xshare/ghostscript/7.05/lib/bjc610a6.upp
Xshare/ghostscript/7.05/lib/bjc610a7.upp
Xshare/ghostscript/7.05/lib/bjc610a8.upp
Xshare/ghostscript/7.05/lib/bjc610b1.upp
Xshare/ghostscript/7.05/lib/bjc610b2.upp
Xshare/ghostscript/7.05/lib/bjc610b3.upp
Xshare/ghostscript/7.05/lib/bjc610b4.upp
Xshare/ghostscript/7.05/lib/bjc610b6.upp
Xshare/ghostscript/7.05/lib/bjc610b7.upp
Xshare/ghostscript/7.05/lib/bjc610b8.upp
Xshare/ghostscript/7.05/lib/caption.ps
Xshare/ghostscript/7.05/lib/cbjc600.ppd
Xshare/ghostscript/7.05/lib/cbjc800.ppd
Xshare/ghostscript/7.05/lib/cdj550.upp
Xshare/ghostscript/7.05/lib/cdj690.upp
Xshare/ghostscript/7.05/lib/cdj690ec.upp
Xshare/ghostscript/7.05/lib/cid2code.ps
Xshare/ghostscript/7.05/lib/decrypt.ps
Xshare/ghostscript/7.05/lib/dmp_init.ps
Xshare/ghostscript/7.05/lib/dmp_site.ps
Xshare/ghostscript/7.05/lib/dnj750c.upp
Xshare/ghostscript/7.05/lib/dnj750m.upp
Xshare/ghostscript/7.05/lib/docie.ps
Xshare/ghostscript/7.05/lib/errpage.ps
Xshare/ghostscript/7.05/lib/escp_24.src
Xshare/ghostscript/7.05/lib/font2c.ps
Xshare/ghostscript/7.05/lib/font2pcl.ps
Xshare/ghostscript/7.05/lib/gs_agl.ps
Xshare/ghostscript/7.05/lib/gs_btokn.ps
Xshare/ghostscript/7.05/lib/gs_ccfnt.ps
Xshare/ghostscript/7.05/lib/gs_ce_e.ps
Xshare/ghostscript/7.05/lib/gs_cff.ps
Xshare/ghostscript/7.05/lib/gs_cidcm.ps
Xshare/ghostscript/7.05/lib/gs_cidfn.ps
Xshare/ghostscript/7.05/lib/gs_cmap.ps
Xshare/ghostscript/7.05/lib/gs_cmdl.ps
Xshare/ghostscript/7.05/lib/gs_css_e.ps
Xshare/ghostscript/7.05/lib/gs_dbt_e.ps
Xshare/ghostscript/7.05/lib/gs_diskf.ps
Xshare/ghostscript/7.05/lib/gs_dpnxt.ps
Xshare/ghostscript/7.05/lib/gs_dps.ps
Xshare/ghostscript/7.05/lib/gs_dps1.ps
Xshare/ghostscript/7.05/lib/gs_dps2.ps
Xshare/ghostscript/7.05/lib/gs_dscp.ps
Xshare/ghostscript/7.05/lib/gs_epsf.ps
Xshare/ghostscript/7.05/lib/gs_fform.ps
Xshare/ghostscript/7.05/lib/gs_fonts.ps
Xshare/ghostscript/7.05/lib/gs_frsd.ps
Xshare/ghostscript/7.05/lib/gs_icc.ps
Xshare/ghostscript/7.05/lib/gs_il1_e.ps
Xshare/ghostscript/7.05/lib/gs_il2_e.ps
Xshare/ghostscript/7.05/lib/gs_init.ps
Xshare/ghostscript/7.05/lib/gs_kanji.ps
Xshare/ghostscript/7.05/lib/gs_ksb_e.ps
Xshare/ghostscript/7.05/lib/gs_l.xbm
Xshare/ghostscript/7.05/lib/gs_l.xpm
Xshare/ghostscript/7.05/lib/gs_l2img.ps
Xshare/ghostscript/7.05/lib/gs_l_m.xbm
Xshare/ghostscript/7.05/lib/gs_lev2.ps
Xshare/ghostscript/7.05/lib/gs_lgo_e.ps
Xshare/ghostscript/7.05/lib/gs_lgx_e.ps
Xshare/ghostscript/7.05/lib/gs_ll3.ps
Xshare/ghostscript/7.05/lib/gs_m.xbm
Xshare/ghostscript/7.05/lib/gs_m.xpm
Xshare/ghostscript/7.05/lib/gs_m_m.xbm
Xshare/ghostscript/7.05/lib/gs_mex_e.ps
Xshare/ghostscript/7.05/lib/gs_mgl_e.ps
Xshare/ghostscript/7.05/lib/gs_mro_e.ps
Xshare/ghostscript/7.05/lib/gs_pdf_e.ps
Xshare/ghostscript/7.05/lib/gs_pdfwr.ps
Xshare/ghostscript/7.05/lib/gs_pfile.ps
Xshare/ghostscript/7.05/lib/gs_rdlin.ps
Xshare/ghostscript/7.05/lib/gs_res.ps
Xshare/ghostscript/7.05/lib/gs_s.xbm
Xshare/ghostscript/7.05/lib/gs_s.xpm
Xshare/ghostscript/7.05/lib/gs_s_m.xbm
Xshare/ghostscript/7.05/lib/gs_setpd.ps
Xshare/ghostscript/7.05/lib/gs_statd.ps
Xshare/ghostscript/7.05/lib/gs_std_e.ps
Xshare/ghostscript/7.05/lib/gs_sym_e.ps
Xshare/ghostscript/7.05/lib/gs_t.xbm
Xshare/ghostscript/7.05/lib/gs_t.xpm
Xshare/ghostscript/7.05/lib/gs_t_m.xbm
Xshare/ghostscript/7.05/lib/gs_trap.ps
Xshare/ghostscript/7.05/lib/gs_ttf.ps
Xshare/ghostscript/7.05/lib/gs_typ32.ps
Xshare/ghostscript/7.05/lib/gs_typ42.ps
Xshare/ghostscript/7.05/lib/gs_type1.ps
Xshare/ghostscript/7.05/lib/gs_wan_e.ps
Xshare/ghostscript/7.05/lib/gs_wl1_e.ps
Xshare/ghostscript/7.05/lib/gs_wl2_e.ps
Xshare/ghostscript/7.05/lib/gs_wl5_e.ps
Xshare/ghostscript/7.05/lib/gslp.ps
Xshare/ghostscript/7.05/lib/gsnup.ps
Xshare/ghostscript/7.05/lib/ht_ccsto.ps
Xshare/ghostscript/7.05/lib/image-qa.ps
Xshare/ghostscript/7.05/lib/impath.ps
Xshare/ghostscript/7.05/lib/jispaper.ps
Xshare/ghostscript/7.05/lib/landscap.ps
Xshare/ghostscript/7.05/lib/level1.ps
Xshare/ghostscript/7.05/lib/lines.ps
Xshare/ghostscript/7.05/lib/markhint.ps
Xshare/ghostscript/7.05/lib/markpath.ps
Xshare/ghostscript/7.05/lib/necp2x.upp
Xshare/ghostscript/7.05/lib/necp2x6.upp
Xshare/ghostscript/7.05/lib/packfile.ps
Xshare/ghostscript/7.05/lib/pcharstr.ps
Xshare/ghostscript/7.05/lib/pdf2dsc.ps
Xshare/ghostscript/7.05/lib/pdf_base.ps
Xshare/ghostscript/7.05/lib/pdf_draw.ps
Xshare/ghostscript/7.05/lib/pdf_font.ps
Xshare/ghostscript/7.05/lib/pdf_main.ps
Xshare/ghostscript/7.05/lib/pdf_ops.ps
Xshare/ghostscript/7.05/lib/pdf_sec.ps
Xshare/ghostscript/7.05/lib/pdfopt.ps
Xshare/ghostscript/7.05/lib/pdfwrite.ps
Xshare/ghostscript/7.05/lib/pf2afm.ps
Xshare/ghostscript/7.05/lib/pfbtopfa.ps
Xshare/ghostscript/7.05/lib/ppath.ps
Xshare/ghostscript/7.05/lib/prfont.ps
Xshare/ghostscript/7.05/lib/printafm.ps
Xshare/ghostscript/7.05/lib/ps2ai.ps
Xshare/ghostscript/7.05/lib/ps2ascii.ps
Xshare/ghostscript/7.05/lib/ps2epsi.ps
Xshare/ghostscript/7.05/lib/quit.ps
Xshare/ghostscript/7.05/lib/ras1.upp
Xshare/ghostscript/7.05/lib/ras24.upp
Xshare/ghostscript/7.05/lib/ras3.upp
Xshare/ghostscript/7.05/lib/ras32.upp
Xshare/ghostscript/7.05/lib/ras4.upp
Xshare/ghostscript/7.05/lib/ras8m.upp
Xshare/ghostscript/7.05/lib/rollconv.ps
Xshare/ghostscript/7.05/lib/showchar.ps
Xshare/ghostscript/7.05/lib/showpage.ps
Xshare/ghostscript/7.05/lib/st640ih.upp
Xshare/ghostscript/7.05/lib/st640ihg.upp
Xshare/ghostscript/7.05/lib/st640p.upp
Xshare/ghostscript/7.05/lib/st640pg.upp
Xshare/ghostscript/7.05/lib/st640pl.upp
Xshare/ghostscript/7.05/lib/st640plg.upp
Xshare/ghostscript/7.05/lib/stc.upp
Xshare/ghostscript/7.05/lib/stc1520h.upp
Xshare/ghostscript/7.05/lib/stc2.upp
Xshare/ghostscript/7.05/lib/stc200_h.upp
Xshare/ghostscript/7.05/lib/stc2_h.upp
Xshare/ghostscript/7.05/lib/stc2s_h.upp
Xshare/ghostscript/7.05/lib/stc300.upp
Xshare/ghostscript/7.05/lib/stc300bl.upp
Xshare/ghostscript/7.05/lib/stc300bm.upp
Xshare/ghostscript/7.05/lib/stc500p.upp
Xshare/ghostscript/7.05/lib/stc500ph.upp
Xshare/ghostscript/7.05/lib/stc600ih.upp
Xshare/ghostscript/7.05/lib/stc600p.upp
Xshare/ghostscript/7.05/lib/stc600pl.upp
Xshare/ghostscript/7.05/lib/stc640p.upp
Xshare/ghostscript/7.05/lib/stc800ih.upp
Xshare/ghostscript/7.05/lib/stc800p.upp
Xshare/ghostscript/7.05/lib/stc800pl.upp
Xshare/ghostscript/7.05/lib/stc_h.upp
Xshare/ghostscript/7.05/lib/stc_l.upp
Xshare/ghostscript/7.05/lib/stcany.upp
Xshare/ghostscript/7.05/lib/stcany_h.upp
Xshare/ghostscript/7.05/lib/stcinfo.ps
Xshare/ghostscript/7.05/lib/stcolor.ps
Xshare/ghostscript/7.05/lib/stocht.ps
Xshare/ghostscript/7.05/lib/testpage.ps
Xshare/ghostscript/7.05/lib/traceimg.ps
Xshare/ghostscript/7.05/lib/traceop.ps
Xshare/ghostscript/7.05/lib/type1enc.ps
Xshare/ghostscript/7.05/lib/type1ops.ps
Xshare/ghostscript/7.05/lib/uninfo.ps
Xshare/ghostscript/7.05/lib/unprot.ps
Xshare/ghostscript/7.05/lib/viewcmyk.ps
Xshare/ghostscript/7.05/lib/viewgif.ps
Xshare/ghostscript/7.05/lib/viewjpeg.ps
Xshare/ghostscript/7.05/lib/viewmiff.ps
Xshare/ghostscript/7.05/lib/viewpbm.ps
Xshare/ghostscript/7.05/lib/viewpcx.ps
Xshare/ghostscript/7.05/lib/viewps2a.ps
Xshare/ghostscript/7.05/lib/wftopfa.ps
Xshare/ghostscript/7.05/lib/winmaps.ps
Xshare/ghostscript/7.05/lib/wrfont.ps
Xshare/ghostscript/7.05/lib/zeroline.ps
X@dirrm share/ghostscript/7.05/lib
X@dirrm share/ghostscript/7.05
X@dirrm share/ghostscript
X@dirrm share/examples/ghostscript/cjk
X@dirrm share/examples/ghostscript
X@dirrm share/doc/html/ghostscript
X@dirrm share/doc/ghostscript/gdevmjc-0.8
X@dirrm share/doc/ghostscript
END-of-ghostscript-gnu-nox11/PLIST
echo x - ghostscript-gnu-nox11/distinfo
sed 's/^X//' >ghostscript-gnu-nox11/distinfo << 'END-of-ghostscript-gnu-nox11/distinfo'
X$NetBSD: distinfo,v 1.5 2001/07/15 22:19:11 bad Exp $
X
XSHA1 (ghostscript/ghostscript-7.05.tar.bz2) = 5cf6c4d9f953b8057d0841db3616a2bf5fb5c131
XSize (ghostscript/ghostscript-7.05.tar.bz2) = 4103119 bytes
XSHA1 (ghostscript/jpegsrc.v6b.tar.gz) = 7079f0d6c42fad0cfba382cf6ad322add1ace8f9
XSize (ghostscript/jpegsrc.v6b.tar.gz) = 613261 bytes
XSHA1 (ghostscript/pdf_sec.ps) = e185f12cb8764ce2d7d32931c6dbd5e05df8722f
XSize (ghostscript/pdf_sec.ps) = 11158 bytes
XSHA1 (ghostscript/hpdj-2.6.tar.gz) = 1767295652292ab00b6859cf6699939be44e49e7
XSize (ghostscript/hpdj-2.6.tar.gz) = 143944 bytes
XSHA1 (ghostscript/gs-hp2200.tar.gz) = 0f05b558f6904fbc9ad089f5838d718b5b1fa653
XSize (ghostscript/gs-hp2200.tar.gz) = 50477 bytes
XSHA1 (ghostscript/dmprt-2.01.tar.gz) = 179c7bf3d0fde128e1ad8c7142301efa7ccb8ab0
XSize (ghostscript/dmprt-2.01.tar.gz) = 44232 bytes
XSHA1 (ghostscript/gdev10v.tar.gz) = ae1d4c8f57c90986c9ef4de14679834fa957f416
XSize (ghostscript/gdev10v.tar.gz) = 6099 bytes
XSHA1 (ghostscript/gdevmjc-0.8.tar.gz) = 9978c08c4ea9e87c233fbda309b1612a031ed743
XSize (ghostscript/gdevmjc-0.8.tar.gz) = 102654 bytes
XSHA1 (ghostscript/gdevalps-0.2.tar.gz) = de0cc988498c8f5c76e142a72b5f3cd0c0a161e4
XSize (ghostscript/gdevalps-0.2.tar.gz) = 4448 bytes
XSHA1 (ghostscript/gdevmd2k-0.2a.tar.gz) = 75649faacb433c4b251c763fe2cb35ff889cad54
XSize (ghostscript/gdevmd2k-0.2a.tar.gz) = 9955 bytes
XSHA1 (ghostscript/gdevlips-2.3.6.tar.gz) = 2aedfd54a55356d6241fe3cbc8ba1aece9b69f45
XSize (ghostscript/gdevlips-2.3.6.tar.gz) = 64940 bytes
XSHA1 (ghostscript/gdevrpdl.tar.gz) = 927f2f858821ab6a445bfc860d8f87ab40f6e2de
XSize (ghostscript/gdevrpdl.tar.gz) = 1664 bytes
XSHA1 (ghostscript/gdevprsc-0.3.tar.gz) = 7abd8e0685971e2c19276ee31131f05cc36f3dc7
XSize (ghostscript/gdevprsc-0.3.tar.gz) = 12484 bytes
XSHA1 (patch-aa) = 0d3591e0b50530c2b2dc517979757c9b6304bf3d
XSHA1 (patch-ab) = 894d7cbb8c09b0ffb4ef82f30aefd82ad28852ac
XSHA1 (patch-ac) = 7487304f006dcb707b9324274a96586267fbf57b
XSHA1 (patch-ad) = 9b6e66132583a698ebef277caf343c6919f42f72
XSHA1 (patch-ae) = 0f135d89e572e59c84cd946d21a364e6b2be2b05
XSHA1 (patch-af) = 68476971f236ddbd053a4d44ae57dcdf2eb49f04
XSHA1 (patch-ag) = 28956425104e1e65f243026d7e7165b69a0903a4
XSHA1 (patch-ai) = 544e6dccdd475e3880814457591b4668960c3b8b
XSHA1 (patch-aj) = e230a46edc0879ca55055f38aca268fac0e78900
XSHA1 (patch-ak) = ef5b52c7e6679d5408bce420a5a76cbf73b2b5d3
XSHA1 (patch-al) = 4fdb0f6bc5ffcbd8cb25982efbd7577ac0a01ccc
XSHA1 (patch-ao) = d37401b5883f1d4c1295ed577c6e252c3c3f8526
XSHA1 (patch-ap) = f742c454b1a058786be0239d84e5fc0b09dc538f
XSHA1 (patch-aq) = f4ad2d69c556c877a1ce7b3b3da8f42010f576d0
XSHA1 (patch-ar) = 71d21692dfcbd95798743169d73f6b0611f4c007
XSHA1 (patch-as) = 9c1581562be288aba109a2c42db50e1923d60f02
XSHA1 (patch-at) = 9bee7ac0dbfa6fa641a7d8c1133e7dbeef223518
XSHA1 (patch-au) = 1e19388fb54b06fa3655b9561d858f0448c81ca0
XSHA1 (patch-av) = 0a5af58801cbb395bca863d95e7f1552c502c60d
XSHA1 (patch-aw) = 0066af957f211448e21b64aad7c94ac0167c250c
XSHA1 (patch-ax) = 1528afdf87126edd995bef47fb3e3f0f543b3fb9
XSHA1 (patch-ay) = 68f79fc88e2c5ed3d207c8a4973b77674b8381b7
XSHA1 (patch-bug-workaround) = 99f4e197b35a8f33b8a1219a38f6d9fc2c307eb6
END-of-ghostscript-gnu-nox11/distinfo
echo c - ghostscript-gnu-nox11/files
mkdir -p ghostscript-gnu-nox11/files > /dev/null 2>&1
echo x - ghostscript-gnu-nox11/files/devs.nox11
sed 's/^X//' >ghostscript-gnu-nox11/files/devs.nox11 << 'END-of-ghostscript-gnu-nox11/files/devs.nox11'
X# $NetBSD: devs.nox11,v 1.3 2001/05/02 17:07:23 wiz Exp $
X#
X# non-X11 drivers for Ghostscript
X
XDEVICE_DEVS+=	\
X	$(DD)ap3250.dev \
X	$(DD)appledmp.dev \
X	$(DD)bit.dev \
X	$(DD)bitcmyk.dev \
X	$(DD)bitrgb.dev \
X	$(DD)bj10e.dev \
X	$(DD)bj10v.dev \
X	$(DD)bj10vh.dev \
X	$(DD)bj200.dev \
X	$(DD)bjc600.dev \
X	$(DD)bjc800.dev \
X	$(DD)bjc880j.dev \
X	$(DD)bmp16.dev \
X	$(DD)bmp16m.dev \
X	$(DD)bmp256.dev \
X	$(DD)bmp32b.dev \
X	$(DD)bmpgray.dev \
X	$(DD)bmpmono.dev \
X	$(DD)bmpsep1.dev \
X	$(DD)bmpsep8.dev \
X	$(DD)ccr.dev \
X	$(DD)cdeskjet.dev \
X	$(DD)cdj1600.dev \
X	$(DD)cdj500.dev \
X	$(DD)cdj550.dev \
X	$(DD)cdj670.dev \
X	$(DD)cdj850.dev \
X	$(DD)cdj890.dev \
X	$(DD)cdjcolor.dev \
X	$(DD)cdjmono.dev \
X	$(DD)cgm24.dev \
X	$(DD)cgm8.dev \
X	$(DD)cgmmono.dev \
X	$(DD)cif.dev \
X	$(DD)cljet5.dev \
X	$(DD)coslw2p.dev \
X	$(DD)coslwxl.dev \
X	$(DD)cp50.dev \
X	$(DD)declj250.dev \
X	$(DD)deskjet.dev \
X	$(DD)dfaxhigh.dev \
X	$(DD)dfaxlow.dev \
X	$(DD)djet500.dev \
X	$(DD)djet500c.dev \
X	$(DD)dmprt.dev \
X	$(DD)dnj650c.dev \
X	$(DD)eps9high.dev \
X	$(DD)eps9mid.dev \
X	$(DD)epson.dev \
X	$(DD)epsonc.dev \
X	$(DD)epswrite.dev \
X	$(DD)escpage.dev \
X	$(DD)faxg3.dev \
X	$(DD)faxg32d.dev \
X	$(DD)faxg4.dev \
X	$(DD)fs600.dev \
X	$(DD)hl7x0.dev \
X	$(DD)hpdj.dev \
X	$(DD)ibmpro.dev \
X	$(DD)ijs.dev \
X	$(DD)imagen.dev \
X	$(DD)inferno.dev \
X	$(DD)iwhi.dev \
X	$(DD)iwlo.dev \
X	$(DD)iwlq.dev \
X	$(DD)jetp3852.dev \
X	$(DD)jpeg.dev \
X	$(DD)jpeggray.dev \
X	$(DD)laserjet.dev \
X	$(DD)lbp8.dev \
X	$(DD)lips2p.dev \
X	$(DD)lips3.dev \
X	$(DD)lips4.dev \
X	$(DD)lips4v.dev \
X	$(DD)lj250.dev \
X	$(DD)lj3100sw.dev \
X	$(DD)lj4dith.dev \
X	$(DD)lj5gray.dev \
X	$(DD)lj5mono.dev \
X	$(DD)ljet2p.dev \
X	$(DD)ljet3.dev \
X	$(DD)ljet3d.dev \
X	$(DD)ljet4.dev \
X	$(DD)ljet4d.dev \
X	$(DD)ljetplus.dev \
X	$(DD)lp2000.dev \
X	$(DD)lp2563.dev \
X	$(DD)lp8000.dev \
X	$(DD)lq850.dev \
X	$(DD)lxm5700m.dev \
X	$(DD)m8510.dev \
X	$(DD)md1xMono.dev \
X	$(DD)md2k.dev \
X	$(DD)md50Mono.dev \
X	$(DD)md50Eco.dev \
X	$(DD)md5k.dev \
X	$(DD)mgr4.dev \
X	$(DD)mgr8.dev \
X	$(DD)mgrgray2.dev \
X	$(DD)mgrgray4.dev \
X	$(DD)mgrgray8.dev \
X	$(DD)mgrmono.dev \
X	$(DD)miff24.dev \
X	$(DD)mj500c.dev \
X	$(DD)mjc180.dev \
X	$(DD)mjc360.dev \
X	$(DD)mjc720.dev \
X	$(DD)necp6.dev \
X	$(DD)npdl.dev \
X	$(DD)oce9050.dev \
X	$(DD)oki182.dev \
X	$(DD)okiibm.dev \
X	$(DD)paintjet.dev \
X	$(DD)pbm.dev \
X	$(DD)pbmraw.dev \
X	$(DD)pcx16.dev \
X	$(DD)pcx24b.dev \
X	$(DD)pcx256.dev \
X	$(DD)pcxcmyk.dev \
X	$(DD)pcxgray.dev \
X	$(DD)pcxmono.dev \
X	$(DD)pdfwrite.dev \
X	$(DD)pgm.dev \
X	$(DD)pgmraw.dev \
X	$(DD)pgnm.dev \
X	$(DD)pgnmraw.dev \
X	$(DD)pj.dev \
X	$(DD)pjetxl.dev \
X	$(DD)pjxl.dev \
X	$(DD)pjxl300.dev \
X	$(DD)pkm.dev \
X	$(DD)pkmraw.dev \
X	$(DD)pksm.dev \
X	$(DD)pksmraw.dev \
X	$(DD)plan9bm.dev \
X	$(DD)png16.dev \
X	$(DD)png16m.dev \
X	$(DD)png256.dev \
X	$(DD)pnggray.dev \
X	$(DD)pngmono.dev \
X	$(DD)pnm.dev \
X	$(DD)pnmraw.dev \
X	$(DD)ppm.dev \
X	$(DD)ppmraw.dev \
X	$(DD)prescr.dev \
X	$(DD)prescr2.dev \
X	$(DD)prescrt.dev \
X	$(DD)psgray.dev \
X	$(DD)psmono.dev \
X	$(DD)psrgb.dev \
X	$(DD)pswrite.dev \
X	$(DD)pxlcolor.dev \
X	$(DD)pxlcolor.dev \
X	$(DD)pxlmono.dev \
X	$(DD)pxlmono.dev \
X	$(DD)r4081.dev \
X	$(DD)rpdlA3.dev \
X	$(DD)rpdlA4.dev \
X	$(DD)rpdlB4.dev \
X	$(DD)rpdlB5.dev \
X	$(DD)sgirgb.dev \
X	$(DD)sj48.dev \
X	$(DD)st800.dev \
X	$(DD)stcolor.dev \
X	$(DD)sunhmono.dev \
X	$(DD)t4693d2.dev \
X	$(DD)t4693d4.dev \
X	$(DD)t4693d8.dev \
X	$(DD)tek4696.dev \
X	$(DD)tiff12nc.dev \
X	$(DD)tiff24nc.dev \
X	$(DD)tiffcrle.dev \
X	$(DD)tiffg3.dev \
X	$(DD)tiffg32d.dev \
X	$(DD)tiffg4.dev \
X	$(DD)tifflzw.dev \
X	$(DD)tiffpack.dev \
X	$(DD)uniprint.dev
X
END-of-ghostscript-gnu-nox11/files/devs.nox11
echo x - ghostscript-gnu-nox11/files/devs.x11
sed 's/^X//' >ghostscript-gnu-nox11/files/devs.x11 << 'END-of-ghostscript-gnu-nox11/files/devs.x11'
X# $NetBSD: devs.x11,v 1.1.1.1 2000/05/07 02:04:34 jlam Exp $
X#
X# X11 drivers for Ghostscript
X
XDEVICE_DEVS+=	\
X	$(DD)x11.dev \
X	$(DD)x11alpha.dev \
X	$(DD)x11cmyk.dev \
X	$(DD)x11cmyk2.dev  \
X	$(DD)x11cmyk4.dev \
X	$(DD)x11cmyk8.dev \
X	$(DD)x11gray2.dev \
X	$(DD)x11gray4.dev \
X	$(DD)x11mono.dev \
X	$(DD)x11rg16x.dev \
X	$(DD)x11rg32x.dev
X
END-of-ghostscript-gnu-nox11/files/devs.x11
echo c - ghostscript-gnu-nox11/patches
mkdir -p ghostscript-gnu-nox11/patches > /dev/null 2>&1
echo x - ghostscript-gnu-nox11/patches/patch-bug-workaround
sed 's/^X//' >ghostscript-gnu-nox11/patches/patch-bug-workaround << 'END-of-ghostscript-gnu-nox11/patches/patch-bug-workaround'
X$NetBSD: patch-bug-workaround,v 1.1.1.1 2000/05/07 02:04:35 jlam Exp $
X
XI haven't found out the cause of the trouble of
X
X	Unrecoverable error: invalidaccess in put
X
X... and this is only a workaround.
XPlease fix the problem and remove this patch.
X
X--- lib/gs_dps.ps.bak	Thu Mar  9 17:40:39 2000
X+++ lib/gs_dps.ps	Tue Mar 28 12:13:16 2000
X@@ -53,7 +53,10 @@
X     } {
X       dup type /dicttype eq {
X 		% Save a copy of this dictionary in global VM.
X-	dup maxlength dict .copydict readonly
X+	dup maxlength dict
X+	% same as .copydict, but uses .forceput
X+	dup 3 -1 roll { .forceput dup } forall pop
X+	readonly
X       } {
X 	pop pop
X       } ifelse
END-of-ghostscript-gnu-nox11/patches/patch-bug-workaround
echo x - ghostscript-gnu-nox11/patches/patch-ab
sed 's/^X//' >ghostscript-gnu-nox11/patches/patch-ab << 'END-of-ghostscript-gnu-nox11/patches/patch-ab'
X$NetBSD$
X
X--- lib/gs_init.ps.orig	Mon Apr 15 15:49:43 2002
X+++ lib/gs_init.ps
X@@ -1880,3 +1880,7 @@
X userdict /AGM_preserve_spots false put
X 
X % The interpreter will run the initial procedure (start).
X+
X+% unofficial patch:
X+% make it possible to print from within acroread pdf viewer
X+/Default currenthalftone /Halftone defineresource pop
END-of-ghostscript-gnu-nox11/patches/patch-ab
echo x - ghostscript-gnu-nox11/patches/patch-ac
sed 's/^X//' >ghostscript-gnu-nox11/patches/patch-ac << 'END-of-ghostscript-gnu-nox11/patches/patch-ac'
X$NetBSD$
X
X--- lib/gs_statd.ps.orig	Sat Feb 23 04:45:55 2002
X+++ lib/gs_statd.ps
X@@ -109,6 +109,8 @@
X % /csheet {1224 1584 //.setpagesize exec} bind def % ANSI C 17x22
X % /dsheet {1584 2448 //.setpagesize exec} bind def % ANSI D 22x34
X % /esheet {2448 3168 //.setpagesize exec} bind def % ANSI E 34x44
X+ /envyou4 {298 666 //.setpagesize exec} bind def   % Japanese Envelope
X+ /postcard {284 419 //.setpagesize exec} bind def  % Japanese Postcard
X %END SIZES
X end
X currentdict /.setpagesize .undef
X@@ -130,6 +132,7 @@
X    /flsa /flse /halfletter
X    /isob0 /isob1 /isob2 /isob3 /isob4 /isob5 /isob6
X    /jisb0 /jisb1 /jisb2 /jisb3 /jisb4 /jisb5 /jisb6
X+   /envyou4 /postcard
X %END SIZES
X  } cvlit readonly def
X 
END-of-ghostscript-gnu-nox11/patches/patch-ac
echo x - ghostscript-gnu-nox11/patches/patch-ad
sed 's/^X//' >ghostscript-gnu-nox11/patches/patch-ad << 'END-of-ghostscript-gnu-nox11/patches/patch-ad'
X$NetBSD: patch-ad,v 1.1.1.1 2000/05/07 02:04:35 jlam Exp $
X
X--- src/contrib.mak-5.94.add.orig	Sat Oct 16 16:20:06 1999
X+++ src/contrib.mak-5.94.add	Mon May  1 20:26:23 2000
X@@ -74,6 +74,10 @@
X #	-DHPDJ_MARGIN_FILE='"$(gsdatadir)/hpdj.mdf"'
X #
X ###############################################################################
X+#
X+# 20000430	Adapt makefile fragment to latest Ghostscript conventions.
X+#
X+###############################################################################
X 
X # Compilation options
X hpdj_options=
X@@ -90,23 +94,23 @@
X # Header file dependencies
X $(hpdj_): $(GLSRC)pclcomp.h $(GLSRC)hpdj.h
X 
X-$(GLOBJ)gdevhpdj.$(OBJ): $(GLSRC)gdevhpdj.c
X-	$(GLCC) $(C_) $(O_)$@ $(hpdj_opts) $(GLSRC)gdevhpdj.c
X+$(GLOBJ)gdevhpdj.$(OBJ): $(GLSRC)gdevhpdj.c $(PDEVH)
X+	$(GLCC) $(GLO_)gdevhpdj.$(OBJ) $(hpdj_opts) $(C_) $(GLSRC)gdevhpdj.c
X 
X-$(GLOBJ)hpdjdata.$(OBJ): $(GLSRC)hpdjdata.c
X-	$(GLCC) $(C_) $(O_)$@ $(hpdj_opts) $(GLSRC)hpdjdata.c
X+$(GLOBJ)hpdjdata.$(OBJ): $(GLSRC)hpdjdata.c $(PDEVH)
X+	$(GLCC) $(GLO_)hpdjdata.$(OBJ) $(hpdj_opts) $(C_) $(GLSRC)hpdjdata.c
X 
X-$(GLOBJ)hpdjparm.$(OBJ): $(GLSRC)hpdjparm.c
X-	$(GLCC) $(C_) $(O_)$@ $(hpdj_opts) $(GLSRC)hpdjparm.c
X+$(GLOBJ)hpdjparm.$(OBJ): $(GLSRC)hpdjparm.c $(PDEVH)
X+	$(GLCC) $(GLO_)hpdjparm.$(OBJ) $(hpdj_opts) $(C_) $(GLSRC)hpdjparm.c
X 
X-$(GLOBJ)hpdjprn.$(OBJ): $(GLSRC)hpdjprn.c
X-	$(GLCC) $(C_) $(O_)$@ $(hpdj_opts) $(GLSRC)hpdjprn.c
X+$(GLOBJ)hpdjprn.$(OBJ): $(GLSRC)hpdjprn.c $(PDEVH)
X+	$(GLCC) $(GLO_)hpdjprn.$(OBJ) $(hpdj_opts) $(C_) $(GLSRC)hpdjprn.c
X 
X-$(GLOBJ)pclcomp.$(OBJ): $(GLSRC)pclcomp.c
X-	$(GLCC) $(C_) $(O_)$@ $(hpdj_opts) $(GLSRC)pclcomp.c
X+$(GLOBJ)pclcomp.$(OBJ): $(GLSRC)pclcomp.c $(PDEVH)
X+	$(GLCC) $(GLO_)pclcomp.$(OBJ) $(hpdj_opts) $(C_) $(GLSRC)pclcomp.c
X 
X-$(GLOBJ)pagecount.$(OBJ): $(GLSRC)pagecount.c
X-	$(GLCC) $(C_) $(O_)$@ $(hpdj_opts) $(GLSRC)pagecount.c
X+$(GLOBJ)pagecount.$(OBJ): $(GLSRC)pagecount.c $(PDEVH)
X+	$(GLCC) $(GLO_)pagecount.$(OBJ) $(hpdj_opts) $(C_) $(GLSRC)pagecount.c
X 
X 
X $(DD)hpdj.dev: $(hpdj_) $(DD)page.dev
END-of-ghostscript-gnu-nox11/patches/patch-ad
echo x - ghostscript-gnu-nox11/patches/patch-ae
sed 's/^X//' >ghostscript-gnu-nox11/patches/patch-ae << 'END-of-ghostscript-gnu-nox11/patches/patch-ae'
X$NetBSD$
X--- src/contrib.mak.orig	Mon Oct 29 16:33:47 2001
X+++ src/contrib.mak	Mon Oct 29 16:37:23 2001
X@@ -599,8 +599,11 @@
X $(DD)lbp8.dev : $(lbp8_) $(DD)page.dev
X 	$(SETPDEV) $(DD)lbp8 $(lbp8_)
X 
X-$(DD)lips3.dev : $(lbp8_) $(DD)page.dev
X-	$(SETPDEV) $(DD)lips3 $(lbp8_)
X+# For the Canon LIPS printer devices, use the gdevlips drivers from
X+# http://www.bukka.p.chiba-u.ac.jp/~ohmori/gs/
X+#
X+#$(DD)lips3.dev : $(lbp8_) $(DD)page.dev
X+#	$(SETPDEV) $(DD)lips3 $(lbp8_)
X 
X $(GLOBJ)gdevlbp8.$(OBJ) : $(GLSRC)gdevlbp8.c $(PDEVH)
X 	$(GLCC) $(GLO_)gdevlbp8.$(OBJ) $(C_) $(GLSRC)gdevlbp8.c
END-of-ghostscript-gnu-nox11/patches/patch-ae
echo x - ghostscript-gnu-nox11/patches/patch-af
sed 's/^X//' >ghostscript-gnu-nox11/patches/patch-af << 'END-of-ghostscript-gnu-nox11/patches/patch-af'
X$NetBSD: patch-af,v 1.1.1.1 2000/05/07 02:04:35 jlam Exp $
X
X--- src/gdev10v.mak.orig	Mon May  1 20:24:43 2000
X+++ src/gdev10v.mak	Mon May  1 20:26:23 2000
X@@ -1,12 +1,15 @@
X ### ----------------- The Canon BubbleJet BJ10v device ----------------- ###
X 
X-bj10v_=gdev10v.$(OBJ) gdevprn.$(OBJ)
X-bj10v.dev: $(bj10v_)
X-	$(SHP)gssetdev bj10v $(bj10v_)
X-bj10vh.dev: $(bj10v_)
X-	$(SHP)gssetdev bj10vh $(bj10v_)
X+bj10v_=$(GLOBJ)gdev10v.$(OBJ) $(GLOBJ)gdevprn.$(OBJ)
X+
X+$(DD)bj10v.dev: $(bj10v_) $(DD)page.dev
X+	$(SETPDEV) $(DD)bj10v $(bj10v_)
X+
X+$(DD)bj10vh.dev: $(bj10v_) $(DD)page.dev
X+	$(SETPDEV) $(DD)bj10vh $(bj10v_)
X 
X # Uncomment the following line if you are using MS-DOS on PC9801 series.
X 
X-gdev10v.$(OBJ): gdevbj10.c $(PDEVH)
X+$(GLOBJ)gdev10v.$(OBJ): $(GLSRC)gdevbj10.c $(PDEVH)
X+	$(GLCC) $(GLO_)gdev10v.$(OBJ) $(C_) $(GLSRC)gdev10v.c
X #	$(CCC) -DPC9801 gdev10v.c
END-of-ghostscript-gnu-nox11/patches/patch-af
echo x - ghostscript-gnu-nox11/patches/patch-ag
sed 's/^X//' >ghostscript-gnu-nox11/patches/patch-ag << 'END-of-ghostscript-gnu-nox11/patches/patch-ag'
X$NetBSD: patch-ag,v 1.1.1.1 2000/05/07 02:04:35 jlam Exp $
X
X--- src/gdevalps.mak-5.50.orig	Mon May  1 20:24:43 2000
X+++ src/gdevalps.mak-5.50	Mon May  1 20:26:23 2000
X@@ -2,14 +2,14 @@
X 
X alps_=$(GLOBJ)gdevalps.$(OBJ)
X 
X-md50Mono.dev: $(alps_) page.dev
X-	$(SETPDEV) md50Mono $(alps_)
X+$(DD)md50Mono.dev: $(alps_) $(DD)page.dev
X+	$(SETPDEV) $(DD)md50Mono $(alps_)
X 
X-md50Eco.dev: $(alps_) page.dev
X-	$(SETPDEV) md50Eco $(alps_)
X+$(DD)md50Eco.dev: $(alps_) $(DD)page.dev
X+	$(SETPDEV) $(DD)md50Eco $(alps_)
X 
X-md1xMono.dev: $(alps_) page.dev
X-	$(SETPDEV) md1xMono $(alps_)
X+$(DD)md1xMono.dev: $(alps_) $(DD)page.dev
X+	$(SETPDEV) $(DD)md1xMono $(alps_)
X 
X $(GLOBJ)gdevalps.$(OBJ): $(GLSRC)gdevalps.c $(PDEVH)
X 	$(GLCC) $(GLO_)gdevalps.$(OBJ) $(C_) $(GLSRC)gdevalps.c
END-of-ghostscript-gnu-nox11/patches/patch-ag
echo x - ghostscript-gnu-nox11/patches/patch-ai
sed 's/^X//' >ghostscript-gnu-nox11/patches/patch-ai << 'END-of-ghostscript-gnu-nox11/patches/patch-ai'
X$NetBSD: patch-ai,v 1.1.1.1 2000/05/07 02:04:35 jlam Exp $
X
X--- src/gdevdmpr.mak.orig	Mon May  1 20:24:43 2000
X+++ src/gdevdmpr.mak	Mon May  1 20:26:23 2000
X@@ -1,8 +1,12 @@
X ### ---------------- Dot matrix printer device ---------------- ###
X-dmprt_=gdevdmpr.$(OBJ) dviprlib.$(OBJ) gdevprn.$(OBJ)
X+dmprt_=$(GLOBJ)gdevdmpr.$(OBJ) $(GLOBJ)dviprlib.$(OBJ) $(GLOBJ)gdevprn.$(OBJ)
X 
X-dmprt.dev: $(dmprt_)
X-	$(SETDEV) dmprt $(dmprt_)
X-	$(ADDMOD) dmprt -ps dmp_init
X-gdevdmpr.$(OBJ): gdevdmpr.c dviprlib.h $(PDEVH)
X-dviprlib.$(OBJ): dviprlib.c dviprlib.h
X+$(DD)dmprt.dev: $(dmprt_)
X+	$(SETDEV) $(DD)dmprt $(dmprt_)
X+	$(ADDMOD) $(DD)dmprt -ps dmp_init
X+
X+$(GLOBJ)gdevdmpr.$(OBJ): $(GLSRC)gdevdmpr.c $(GLSRC)dviprlib.h $(PDEVH)
X+	$(GLCC) $(GLO_)gdevdmpr.$(OBJ) $(C_) $(GLSRC)gdevdmpr.c
X+
X+$(GLOBJ)dviprlib.$(OBJ): $(GLSRC)dviprlib.c $(GLSRC)dviprlib.h
X+	$(GLCC) $(GLO_)dviprlib.$(OBJ) $(C_) $(GLSRC)dviprlib.c
END-of-ghostscript-gnu-nox11/patches/patch-ai
echo x - ghostscript-gnu-nox11/patches/patch-aj
sed 's/^X//' >ghostscript-gnu-nox11/patches/patch-aj << 'END-of-ghostscript-gnu-nox11/patches/patch-aj'
X$NetBSD: patch-aj,v 1.1.1.1 2000/05/07 02:04:35 jlam Exp $
X
X--- src/gdevlips.mak.orig	Mon May  1 20:24:43 2000
X+++ src/gdevlips.mak	Mon May  1 20:26:23 2000
X@@ -37,10 +37,10 @@
X $(GLOBJ)gdevespg.$(OBJ): $(GLSRC)gdevespg.c $(GLSRC)gdevlprn.h $(PDEVH)
X 	$(GLCC) -DA4 $(GLO_)gdevespg.$(OBJ) $(C_) $(GLSRC)gdevespg.c
X 
X-$(GLOBJ)escpage.dev: $(escpage_) $(DD)page.dev
X+$(DD)escpage.dev: $(escpage_) $(DD)page.dev
X 	$(SETPDEV) $(DD)escpage $(escpage_)
X 
X-$(GLOBJ)lp2000.dev: $(escpage_) $(DD)page.dev
X+$(DD)lp2000.dev: $(escpage_) $(DD)page.dev
X 	$(SETPDEV) $(DD)lp2000 $(escpage_)
X 
X ### --- The NEC NPDL language printer device ------ ###
X@@ -49,5 +49,5 @@
X $(GLOBJ)gdevnpdl.$(OBJ): $(GLSRC)gdevnpdl.c $(GLSRC)gdevlprn.h $(PDEVH)
X 	$(GLCC) -DA4 $(GLO_)gdevnpdl.$(OBJ) $(C_) $(GLSRC)gdevnpdl.c
X 
X-$(GLOBJ)npdl.dev: $(npdl_) $(DD)page.dev
X+$(DD)npdl.dev: $(npdl_) $(DD)page.dev
X 	$(SETPDEV) $(DD)npdl $(npdl_)
END-of-ghostscript-gnu-nox11/patches/patch-aj
echo x - ghostscript-gnu-nox11/patches/patch-ak
sed 's/^X//' >ghostscript-gnu-nox11/patches/patch-ak << 'END-of-ghostscript-gnu-nox11/patches/patch-ak'
X$NetBSD: patch-ak,v 1.1.1.1 2000/05/07 02:04:35 jlam Exp $
X
X--- src/gdevmjc.c.orig	Mon May  1 20:24:43 2000
X+++ src/gdevmjc.c	Mon May  1 20:31:17 2000
X@@ -16,6 +16,46 @@
X things, the copyright notice and this notice must be preserved on all
X copies.  */
X 
X+/***************************************************************************
X+This file includes the changes from the gdevmjc.c-0.8 patch for ghostscript
X+5.50 by kurosawa with mj_put_params() fix by Inagaki Kentaro.
X+
X+NO WARRANTY
X+
X+From root Fri Nov 22 01:20:20 1996
X+Received: from theta.iis.u-tokyo.ac.jp by daikon.fujita3.iis.u-tokyo.ac.jp (AIX 3.2/UCB 5.64/3.4W2)
X+	id AA18127; Fri, 22 Nov 1996 01:20:20 +0900
X+Received: from contura.sail.t.u-tokyo.ac.jp by theta.iis.u-tokyo.ac.jp (8.7.5+2.6Wbeta6/3.4W4) with ESMTP id BAA07053; Fri, 22 Nov 1996 01:20:12 +0900 (JST)
X+Received: (from kurosawa@localhost) by contura.sail.t.u-tokyo.ac.jp (8.7.6/3.4Wbeta6/Sail961016) id BAA11954; Fri, 22 Nov 1996 01:19:56 +0900 (JST)
X+Date: Fri, 22 Nov 1996 01:19:56 +0900 (JST)
X+Message-Id: <199611211619.BAA11954@contura.sail.t.u-tokyo.ac.jp>
X+To: mita@iis.u-tokyo.ac.jp
X+Subject: mjc-patch
X+From: kurosawa@sail.t.u-tokyo.ac.jp (KUROSAWA Takahiro)
X+X-Mailer: mnews [version 1.19PL2] 1996-01/26(Fri)
X+
X+黒沢です. 
X+
X+ようやくできました, たぶん. ただでさえ頭が壊れぎみだと言われているのに
X+さらにちょっと今日(昨日か)はつかれてて, 頭が相当変だったみたいです. 
X+昨日分のメールは無視しちゃってください.
X+
X+# さっき出した「エラーがでるよ〜」メールの原因ですけど,単にフォントをイ
X+# ンストールしてなかったんです. ごめんなさい....
X+
X+「出力ファイルに出ない」の件ですけど, ちょっとしたケアレスミスというか, 
X+黒沢がよく gs の内部構造を理解してないのが原因でした. 実はあの状況では 
X+/tmp にファイルができていたのです.
X+
X+これで色とかスケールの失敗がなければいいのですが, あまりそううまくはい
X+かないとおもいます. スケールの方は問題ないかもしれませんが, 色数を減ら
X+したらどうなるかちょっと心配です.
X+
X+てなわけで, おためしください. オリジナルからのパッチです.
X+# オリジナルからのパッチにしたはずですけど, 今日の状況だとちょっと自信
X+# を持てない(^^;)
X+***************************************************************************/
X+
X /* gdevmjc.c */
X /* Many parts of this file are copied from gdevcdj.c and gdevescp.c */
X 
X@@ -43,7 +83,8 @@
X #include <limits.h>
X #include "gdevprn.h"
X #include "gdevpcl.h"
X-#include "gsprops.h"
X+#include "gsparam.h"
X+#include "gsstate.h"
X 
X #include "mjmtx2.c"
X #include "mjbksep.c"
X@@ -150,7 +191,9 @@
X 
X /* Undefined macros expected to be defined in gdevpcl.h */
X #define PAPER_SIZE_A3_NOBI 28
X+#ifndef PAPER_SIZE_A2
X #define PAPER_SIZE_A2 29
X+#endif
X #define PAPER_SIZE_B4 30
X #define PAPER_SIZE_B5 31
X 
X@@ -190,14 +233,12 @@
X private dev_proc_print_page(mjc720_print_page);
X private dev_proc_print_page(mj500c_print_page);
X 
X-private dev_proc_get_props(mj_get_props);
X-private dev_proc_put_props(mj_put_props);
X+private dev_proc_get_params(mj_get_params);
X+private dev_proc_put_params(mj_put_params);
X 
X private void expand_line(P4(word*, int, int, int));
X-private int put_prop_float(P5(gs_prop_item *, float *, float, float, int));
X-private int put_prop_int(P5(gs_prop_item *, int *, int, int, int));
X-
X-private void set_bpp(P2(gx_device *, int));
X+private int mj_put_param_int(P6(gs_param_list *, gs_param_name, int *, int, int, int));
X+private void mj_set_bpp(P2(gx_device *, int));
X 
X private uint gdev_prn_rasterwidth(P2(const gx_device_printer *, int ));
X 
X@@ -224,7 +265,7 @@
X #define mj    ((gx_device_mj *) pdev)
X 
X #define prn_hp_colour_device(procs, dev_name, x_dpi, y_dpi, bpp, print_page)\
X-    prn_device_body(gx_device_printer, procs, dev_name,\
X+    prn_device_body(gx_device_mj, procs, dev_name,\
X     WIDTH_10THS, HEIGHT_10THS, x_dpi, y_dpi, 0, 0, 0, 0, 0,\
X     bpp, 0, 0, 0, 0, print_page)
X 
X@@ -235,9 +276,9 @@
X }
X 
X 
X-#define mj_colour_procs(proc_colour_open, proc_get_props, proc_put_props) {\
X+#define mj_colour_procs(proc_colour_open, proc_get_params, proc_put_params) {\
X 	proc_colour_open,\
X-	gdev_pcl_get_initial_matrix,\
X+	gx_default_get_initial_matrix,\
X 	gx_default_sync_output,\
X 	gdev_prn_output_page,\
X 	gdev_prn_close,\
X@@ -249,15 +290,15 @@
X 	NULL,	/* copy_color */\
X 	NULL,	/* draw_line */\
X 	gx_default_get_bits,\
X-	proc_get_props,\
X-	proc_put_props\
X+	proc_get_params,\
X+	proc_put_params\
X }
X 
X private int mjc_open(P1(gx_device *));
X private int mj_colour_open(P1(gx_device *));
X 
X private gx_device_procs mj_procs =
X-mj_colour_procs(mjc_open, mj_get_props, mj_put_props);
X+mj_colour_procs(mjc_open, mj_get_params, mj_put_params);
X 
X gx_device_mj far_data gs_mjc180_device =
X mj_device(mj_procs, "mjc180", 180, 180, BITSPERPIXEL,
X@@ -306,14 +347,14 @@
X   static const float mj_b4[4] = { MJ700V2C_MARGINS_B4 };
X   static const float mj_b5[4] = { MJ700V2C_MARGINS_B5 };
X   static const float mj_letter[4] = { MJ700V2C_MARGINS_LETTER };
X-  const float _ds *m;
X+  const float *m;
X   int psize;
X 
X   int paper_size;
X 
X   /* Set up colour params if put_props has not already done so */
X   if (pdev->color_info.num_components == 0)
X-    set_bpp(pdev, pdev->color_info.depth);
X+    mj_set_bpp(pdev, pdev->color_info.depth);
X 
X   paper_size = gdev_mjc_paper_size(pdev);
X   if (paper_size == PAPER_SIZE_A2 ) {
X@@ -332,10 +373,7 @@
X     m = mj_letter;
X   }
X 
X-  pdev->l_margin = m[0];
X-  pdev->b_margin = m[1];
X-  pdev->r_margin = m[2];
X-  pdev->t_margin = m[3];
X+  gx_device_set_margins(pdev, m, true);
X 
X   switch (mj->colorcomp) {
X   case 1:
X@@ -360,80 +398,74 @@
X  * and control over the bits-per-pixel used in output rendering */
X /* Added properties for DeskJet 5xxC */
X 
X-private const gs_prop_item props_mj[] = {
X-  /* Read-write properties. */
X-  prop_def("Density", prt_int),
X-  prop_def("Cyan", prt_int),
X-  prop_def("Magenta", prt_int),
X-  prop_def("Yellow", prt_int),
X-  prop_def("Black", prt_int),
X-  prop_def("Dither", prt_int),
X-  prop_def("ColorComponent", prt_int),
X-  prop_def("Direction", prt_int),
X-  prop_def("MicroWeave", prt_int),
X-  prop_def("DotSize", prt_int),
X-};
X-
X private int
X-mj_get_props(gx_device *pdev, gs_prop_item *plist)
X-{	int start = gdev_prn_get_props(pdev, plist);
X-	if ( plist != 0 ) {
X-		register gs_prop_item *pi = plist + start;
X-		memcpy(pi, props_mj, sizeof(props_mj));
X-		pi[0].value.i = mj->density;
X-		pi[1].value.i = mj->cyan;
X-		pi[2].value.i = mj->magenta;
X-		pi[3].value.i = mj->yellow;
X-		pi[4].value.i = mj->black;
X-		pi[5].value.i = mj->dither;
X- 		pi[6].value.i = mj->colorcomp;
X-		pi[7].value.i = mj->direction;
X-		pi[8].value.i = mj->microweave;
X-		pi[9].value.i = mj->dotsize;
X-	}
X-	return start + sizeof(props_mj) / sizeof(gs_prop_item);
X+mj_get_params(gx_device *pdev, gs_param_list *plist)
X+{	int code = gdev_prn_get_params(pdev, plist);
X+	if ( code < 0 ||
X+	    (code = param_write_int(plist, "Density", &mj->density)) < 0 ||
X+	    (code = param_write_int(plist, "Cyan", &mj->cyan)) < 0 ||
X+	    (code = param_write_int(plist, "Magenta", &mj->magenta)) < 0 ||
X+	    (code = param_write_int(plist, "Yellow", &mj->yellow)) < 0 ||
X+	    (code = param_write_int(plist, "Black", &mj->black)) < 0 ||
X+	    (code = param_write_int(plist, "Dither", &mj->dither)) < 0 ||
X+	    (code = param_write_int(plist, "ColorComponent", &mj->colorcomp)) < 0 ||
X+	    (code = param_write_int(plist, "Direction", &mj->direction)) < 0 ||
X+	    (code = param_write_int(plist, "MicroWeave", &mj->microweave)) < 0 ||
X+	    (code = param_write_int(plist, "DotSize", &mj->dotsize)) < 0
X+	   )
X+	  return code;
X+	return code;
X }
X 
X /* Put properties. */
X private int
X-mj_put_props(gx_device *pdev,  gs_prop_item *plist,  int count)
X+mj_put_params(gx_device *pdev, gs_param_list *plist)
X {
X-	static const argn = 10;
X-/* 	gs_prop_item *known[argn]; */
X- 	gs_prop_item *known[10];
X 	int old_bpp = mj->color_info.depth;
X 	int bpp = 0;
X 	int code = 0;
X-
X-	props_extract(plist, count, props_mj, argn, known, 0);
X-	code = gdev_prn_put_props(pdev, plist, count);
X-	if ( code < 0 ) return code;
X-
X-	code = put_prop_int(known[0], &mj->density, 0, INT_MAX, code);
X-	code = put_prop_int(known[1], &mj->cyan, 0, INT_MAX, code);
X-	code = put_prop_int(known[2], &mj->magenta, 0, INT_MAX, code);
X-	code = put_prop_int(known[3], &mj->yellow, 0, INT_MAX, code);
X-	code = put_prop_int(known[4], &mj->black, 0, INT_MAX, code);
X-	code = put_prop_int(known[5], &mj->dither, 0, 1, code);
X- 	code = put_prop_int(known[6], &mj->colorcomp, 1, 4, code);
X-	code = put_prop_int(known[7], &mj->direction, 1, 2, code);
X-	code = put_prop_int(known[8], &mj->microweave, 0, 1, code);
X-	code = put_prop_int(known[9], &mj->dotsize, 0, 1, code);
X-
X+	int density = mj->density;
X+	int cyan = mj->cyan;
X+	int magenta = mj->magenta;
X+	int yellow = mj->yellow;
X+	int black = mj->black;
X+	int dither = mj->dither;
X+	int colorcomp = mj->colorcomp;
X+	int direction = mj->direction;
X+	int microweave = mj->microweave;
X+	int dotsize = mj->dotsize;
X+	code = mj_put_param_int(plist, "Density", &density, 0, INT_MAX, code);
X+	code = mj_put_param_int(plist, "Cyan", &cyan, 0, INT_MAX, code);
X+	code = mj_put_param_int(plist, "Magenta", &magenta, 0, INT_MAX, code);
X+	code = mj_put_param_int(plist, "Yellow", &yellow, 0, INT_MAX, code);
X+	code = mj_put_param_int(plist, "Black", &black, 0, INT_MAX, code);
X+	code = mj_put_param_int(plist, "Dither", &dither, 0, 1, code);
X+	code = mj_put_param_int(plist, "ColorComponent", &colorcomp, 1, 4, code);
X+	code = mj_put_param_int(plist, "Direction", &direction, 1, 2, code);
X+	code = mj_put_param_int(plist, "MicroWeave", &microweave, 0, 1, code);
X+	code = mj_put_param_int(plist, "DotSize", &dotsize, 0, 1, code);
X+	code = mj_put_param_int(plist, "BitsPerPixel", &bpp, 1, 32, code);
X 	if ( code < 0 )
X-	  return_error(code);
X-
X-	if (bpp != 0) {
X-	  set_bpp(pdev, bpp);
X-	  
X-	  /* Close the device; gs_putdeviceprops will reopen it. */
X+	  return code;
X+	mj->density = density;
X+	mj->cyan = cyan;
X+	mj->magenta = magenta;
X+	mj->yellow = yellow;
X+	mj->black = black;
X+	mj->dither = dither;
X+	mj->colorcomp = colorcomp;
X+	mj->direction = direction;
X+	mj->microweave = microweave;
X+	mj->dotsize = dotsize;
X+	if ( bpp != 0 ) {
X+	  mj_set_bpp(pdev, bpp);
X+	  gdev_prn_put_params(pdev, plist);
X 	  if ( bpp != old_bpp && pdev->is_open )
X-	    { int ccode = gs_closedevice(pdev);
X-	      if ( ccode < 0 ) return ccode;
X-	    }
X+	    return gs_closedevice(pdev);
X+	  return 0;
X 	}
X-
X-	return code;
X+	else
X+	  return gdev_prn_put_params(pdev, plist);
X }
X 
X /* ------ Internal routines ------ */
X@@ -1163,7 +1195,8 @@
X 
X   /* Send each scan line in turn */
X   {
X-    long int lend = pdev->height - (pdev->t_margin + pdev->b_margin) * y_dpi;
X+    long int lend = pdev->height - 
X+	(dev_t_margin_points(pdev) + dev_b_margin_points(pdev));
X     int cErr, mErr, yErr, kErr;
X     int this_pass, i;
X     long int lnum;
X@@ -1685,39 +1718,25 @@
X }
X 
X private int
X-put_prop_int(gs_prop_item *pi, int *property, int minval, int maxval, int code)
X-{
X-  if ( pi == 0 )
X-    return (code);
X-  
X-  if ( pi->value.i < minval || pi->value.i > maxval )
X-    { pi->status = pv_rangecheck;
X-      return (gs_error_rangecheck);
X-    }
X-  else
X-    { *property = pi->value.i;
X-      return (code ? code : 1);
X-    }
X-}	
X-
X-private int
X-put_prop_float(gs_prop_item *pi, float *property, float minval, float maxval, int code)
X-{
X-  if ( pi == 0 )
X-    return (code);
X-  
X-  if ( pi->value.f < minval || pi->value.f > maxval )
X-    { pi->status = pv_rangecheck;
X-      return (gs_error_rangecheck);
X-    }
X-  else
X-    { *property = pi->value.f;
X-      return (code ? code : 1);
X-    }
X+mj_put_param_int(gs_param_list *plist, gs_param_name pname, int *pvalue,
X+  int minval, int maxval, int ecode)
X+{	int code, value;
X+	switch ( code = param_read_int(plist, pname, &value) )
X+	{
X+	default:
X+		return code;
X+	case 1:
X+		return ecode;
X+	case 0:
X+		if ( value < minval || value > maxval )
X+		   param_signal_error(plist, pname, gs_error_rangecheck);
X+		*pvalue = value;
X+		return (ecode < 0 ? ecode : 1);
X+	}
X }	
X 
X private void
X-set_bpp(gx_device *pdev, int bits_per_pixel)
X+mj_set_bpp(gx_device *pdev, int bits_per_pixel)
X { gx_device_color_info *ci = &pdev->color_info;
X   /* Only valid bits-per-pixel are 1, 3, 8, 16, 24, 32 */
X   int bpp = bits_per_pixel < 3 ? 1 : bits_per_pixel < 8 ? 3 : 
X@@ -1725,9 +1744,9 @@
X   ci->num_components = ((bpp == 1) || (bpp == 8) ? 1 : 3);
X   ci->depth = ((bpp > 1) && (bpp < 8) ? 8 : bpp);
X   ci->max_gray = (bpp >= 8 ? 255 : 1);
X-  ci->max_rgb = (bpp >= 8 ? 255 : bpp > 1 ? 1 : 0);
X-  ci->dither_gray = (bpp >= 8 ? 5 : 2);
X-  ci->dither_rgb = (bpp >= 8 ? 5 : bpp > 1 ? 2 : 0);
X+  ci->max_color = (bpp >= 8 ? 255 : bpp > 1 ? 1 : 0);
X+  ci->dither_grays = (bpp >= 8 ? 5 : 2);
X+  ci->dither_colors = (bpp >= 8 ? 5 : bpp > 1 ? 2 : 0);
X }
X 
X /* This returns either the number of pixels in a scan line, or the number
X@@ -1736,7 +1755,7 @@
X gdev_prn_rasterwidth(const gx_device_printer *pdev, int pixelcount)
X {
X   word raster_width =
X-    pdev->width - pdev->x_pixels_per_inch * (pdev->l_margin + pdev->r_margin);
X+    pdev->width - (pdev->HWMargins[0] + pdev->HWMargins[2]);
X   return (pixelcount ?
X           (uint)raster_width :
X           (uint)((raster_width * pdev->color_info.depth + 7) >> 3));
END-of-ghostscript-gnu-nox11/patches/patch-ak
echo x - ghostscript-gnu-nox11/patches/patch-al
sed 's/^X//' >ghostscript-gnu-nox11/patches/patch-al << 'END-of-ghostscript-gnu-nox11/patches/patch-al'
X$NetBSD: patch-al,v 1.1.1.1 2000/05/07 02:04:35 jlam Exp $
X
X--- src/gdevmjc.mak.orig	Mon May  1 20:24:43 2000
X+++ src/gdevmjc.mak	Mon May  1 20:34:56 2000
X@@ -8,21 +8,22 @@
X #  Append this file to Makefile
X #
X ##
X-MJCSRC = gdevmjc.c mjmtx2.c mjbksep.c mjhtocmy.c mjvtbl.c \
X-	mjgrnsp.c mjgrnsp2.c mjespdtc.c mjespdtm.c mjespdty.c mjbarrie.c
X+MJCSRC= $(GLSRC)gdevmjc.c $(GLSRC)mjmtx2.c $(GLSRC)mjbksep.c\
X+ $(GLSRC)mjhtocmy.c $(GLSRC)mjvtbl.c $(GLSRC)mjgrnsp.c $(GLSRC)mjgrnsp2.c\
X+ $(GLSRC)mjespdtc.c $(GLSRC)mjespdtm.c $(GLSRC)mjespdty.c $(GLSRC)mjbarrie.c
X 
X-mj700v2c_=gdevmjc.$(OBJ) $(HPPCL)
X+mj700v2c_=$(GLOBJ)gdevmjc.$(OBJ) $(HPPCL)
X 
X # To make A4 paper the default, change the second line below this to
X-gdevmjc.$(OBJ): $(MJCSRC) $(PDEVH) $(gdevpcl_h)
X-	$(CCC) -DA4 gdevmjc.c
X+$(GLOBJ)gdevmjc.$(OBJ): $(MJCSRC) $(PDEVH) $(gdevpcl_h)
X+	$(GLCC) -DA4 $(GLO_)gdevmjc.$(OBJ) $(C_) $(GLSRC)gdevmjc.c
X 
X-mjc180.dev: $(mj700v2c_)
X-	$(SHP)gssetdev mjc180 $(mj700v2c_)
X-mjc360.dev: $(mj700v2c_)
X-	$(SHP)gssetdev mjc360 $(mj700v2c_)
X-mjc720.dev: $(mj700v2c_)
X-	$(SHP)gssetdev mjc720 $(mj700v2c_)
X-mj500c.dev: $(mj700v2c_)
X-	$(SHP)gssetdev mj500c $(mj700v2c_)
X+$(DD)mjc180.dev: $(mj700v2c_)
X+	$(SETPDEV) $(DD)mjc180 $(mj700v2c_)
X+$(DD)mjc360.dev: $(mj700v2c_)
X+	$(SETPDEV) $(DD)mjc360 $(mj700v2c_)
X+$(DD)mjc720.dev: $(mj700v2c_)
X+	$(SETPDEV) $(DD)mjc720 $(mj700v2c_)
X+$(DD)mj500c.dev: $(mj700v2c_)
X+	$(SETPDEV) $(DD)mj500c $(mj700v2c_)
X 
END-of-ghostscript-gnu-nox11/patches/patch-al
echo x - ghostscript-gnu-nox11/patches/patch-at
sed 's/^X//' >ghostscript-gnu-nox11/patches/patch-at << 'END-of-ghostscript-gnu-nox11/patches/patch-at'
X$NetBSD$
X
X--- src/unix-gcc.mak.orig	Sat Apr 20 07:23:09 2002
X+++ src/unix-gcc.mak
X@@ -26,12 +26,12 @@
X 
X BINDIR=./bin
X GLSRCDIR=./src
X-GLGENDIR=./obj
X-GLOBJDIR=./obj
X+GLGENDIR=./object
X+GLOBJDIR=./object
X PSSRCDIR=./src
X PSLIBDIR=./lib
X-PSGENDIR=./obj
X-PSOBJDIR=./obj
X+PSGENDIR=./object
X+PSOBJDIR=./object
X 
X # Do not edit the next group of lines.
X 
X@@ -54,7 +54,7 @@
X INSTALL_PROGRAM = $(INSTALL) -m 755
X INSTALL_DATA = $(INSTALL) -m 644
X 
X-prefix = /usr/local
X+prefix = ${PREFIX}
X exec_prefix = $(prefix)
X bindir = $(exec_prefix)/bin
X scriptdir = $(bindir)
X@@ -65,8 +65,8 @@
X gsdir = $(datadir)/ghostscript
X gsdatadir = $(gsdir)/$(GS_DOT_VERSION)
X 
X-docdir=$(gsdatadir)/doc
X-exdir=$(gsdatadir)/examples
X+docdir=$(datadir)/doc/html/ghostscript
X+exdir=$(datadir)/examples/ghostscript
X GS_DOCDIR=$(docdir)
X 
X # Define the default directory/ies for the runtime
X@@ -157,7 +157,7 @@
X # what its name is.
X # See gs.mak and Make.htm for more information.
X 
X-SHARE_LIBPNG=0
X+SHARE_LIBPNG=1
X LIBPNG_NAME=png
X 
X # Define the directory where the zlib sources are stored.
X@@ -169,7 +169,7 @@
X # what its name is (usually libz, but sometimes libgz).
X # See gs.mak and Make.htm for more information.
X 
X-SHARE_ZLIB=0
X+SHARE_ZLIB=1
X #ZLIB_NAME=gz
X ZLIB_NAME=z
X 
X@@ -229,9 +229,9 @@
X # We don't include -ansi, because this gets in the way of the platform-
X #   specific stuff that <math.h> typically needs; nevertheless, we expect
X #   gcc to accept ANSI-style function prototypes and function definitions.
X-XCFLAGS=
X+#XCFLAGS=
X 
X-CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(XCFLAGS)
X+#CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(XCFLAGS)
X 
X # Define platform flags for ld.
X # SunOS 4.n may need -Bstatic.
X@@ -240,7 +240,7 @@
X #	-R /usr/local/xxx/lib:/usr/local/lib
X # giving the full path names of the shared library directories.
X # XLDFLAGS can be set from the command line.
X-XLDFLAGS=
X+#XLDFLAGS=
X 
X LDFLAGS=$(XLDFLAGS)
X 
X@@ -273,7 +273,7 @@
X # Note that x_.h expects to find the header files in $(XINCLUDE)/X11,
X # not in $(XINCLUDE).
X 
X-XINCLUDE=-I/usr/X11R6/include
X+#XINCLUDE=-I/usr/X11R6/include
X 
X # Define the directory/ies and library names for the X11 library files.
X # XLIBDIRS is for ld and should include -L; XLIBDIR is for LD_RUN_PATH
X@@ -288,9 +288,16 @@
X #XLIBS=Xt SM ICE Xext X11
X 
X #XLIBDIRS=-L/usr/local/X/lib
X-XLIBDIRS=-L/usr/X11R6/lib
X+#XLIBDIRS=-L/usr/X11R6/lib
X+#XLIBDIR=
X+#XLIBS=Xt Xext X11
X+
X+.if defined(USE_X11)
X+XINCLUDE=-I${X11BASE}/include
X+XLIBDIRS=-L${X11BASE}/lib -Wl,-R${X11BASE}/lib
X XLIBDIR=
X-XLIBS=Xt Xext X11
X+XLIBS=Xt SM ICE Xext X11
X+.endif
X 
X # Define whether this platform has floating point hardware:
X #	FPU_TYPE=2 means floating point is faster than fixed point.
X@@ -301,7 +308,7 @@
X #	FPU_TYPE=-1 means that floating point is always much slower than
X # fixed point.
X 
X-FPU_TYPE=1
X+#FPU_TYPE=1
X 
X # Define the .dev module that implements thread and synchronization
X # primitives for this platform.
X@@ -362,29 +369,29 @@
X # Choose the device(s) to include.  See devs.mak for details,
X # devs.mak and contrib.mak for the list of available devices.
X 
X-DEVICE_DEVS=$(DISPLAY_DEV) $(DD)x11.dev $(DD)x11alpha.dev $(DD)x11cmyk.dev $(DD)x11gray2.dev $(DD)x11gray4.dev $(DD)x11mono.dev
X+#DEVICE_DEVS=$(DISPLAY_DEV) $(DD)x11.dev $(DD)x11alpha.dev $(DD)x11cmyk.dev $(DD)x11gray2.dev $(DD)x11gray4.dev $(DD)x11mono.dev
X 
X-DEVICE_DEVS1=$(DD)bmpmono.dev $(DD)bmpgray.dev $(DD)bmpsep1.dev $(DD)bmpsep8.dev $(DD)bmp16.dev $(DD)bmp256.dev $(DD)bmp16m.dev $(DD)bmp32b.dev
X-DEVICE_DEVS2=
X-DEVICE_DEVS3=$(DD)deskjet.dev $(DD)djet500.dev $(DD)laserjet.dev $(DD)ljetplus.dev $(DD)ljet2p.dev $(DD)ljet3.dev $(DD)ljet3d.dev $(DD)ljet4.dev $(DD)ljet4d.dev $(DD)lj5mono.dev $(DD)lj5gray.dev
X-DEVICE_DEVS4=$(DD)cdeskjet.dev $(DD)cdjcolor.dev $(DD)cdjmono.dev $(DD)cdj550.dev $(DD)pj.dev $(DD)pjxl.dev $(DD)pjxl300.dev
X-DEVICE_DEVS5=$(DD)uniprint.dev $(DD)ijs.dev
X-DEVICE_DEVS6=$(DD)bj10e.dev $(DD)bj200.dev $(DD)bjc600.dev $(DD)bjc800.dev
X-DEVICE_DEVS7=$(DD)faxg3.dev $(DD)faxg32d.dev $(DD)faxg4.dev
X-DEVICE_DEVS8=$(DD)pcxmono.dev $(DD)pcxgray.dev $(DD)pcx16.dev $(DD)pcx256.dev $(DD)pcx24b.dev $(DD)pcxcmyk.dev
X-DEVICE_DEVS9=$(DD)pbm.dev $(DD)pbmraw.dev $(DD)pgm.dev $(DD)pgmraw.dev $(DD)pgnm.dev $(DD)pgnmraw.dev $(DD)pnm.dev $(DD)pnmraw.dev $(DD)ppm.dev $(DD)ppmraw.dev $(DD)pkm.dev $(DD)pkmraw.dev $(DD)pksm.dev $(DD)pksmraw.dev
X-DEVICE_DEVS10=$(DD)tiffcrle.dev $(DD)tiffg3.dev $(DD)tiffg32d.dev $(DD)tiffg4.dev $(DD)tifflzw.dev $(DD)tiffpack.dev
X-DEVICE_DEVS11=$(DD)tiff12nc.dev $(DD)tiff24nc.dev
X-DEVICE_DEVS12=$(DD)psmono.dev $(DD)psgray.dev $(DD)psrgb.dev $(DD)bit.dev $(DD)bitrgb.dev $(DD)bitcmyk.dev
X-DEVICE_DEVS13=$(DD)pngmono.dev $(DD)pnggray.dev $(DD)png16.dev $(DD)png256.dev $(DD)png16m.dev
X-DEVICE_DEVS14=$(DD)jpeg.dev $(DD)jpeggray.dev
X-DEVICE_DEVS15=$(DD)pdfwrite.dev $(DD)pswrite.dev $(DD)epswrite.dev $(DD)pxlmono.dev $(DD)pxlcolor.dev
X-DEVICE_DEVS16=$(DD)bbox.dev
X-
X-DEVICE_DEVS17=
X-DEVICE_DEVS18=
X-DEVICE_DEVS19=
X-DEVICE_DEVS20=$(DD)cljet5.dev $(DD)cljet5c.dev
X+#DEVICE_DEVS1=$(DD)bmpmono.dev $(DD)bmpgray.dev $(DD)bmpsep1.dev $(DD)bmpsep8.dev $(DD)bmp16.dev $(DD)bmp256.dev $(DD)bmp16m.dev $(DD)bmp32b.dev
X+#DEVICE_DEVS2=
X+#DEVICE_DEVS3=$(DD)deskjet.dev $(DD)djet500.dev $(DD)laserjet.dev $(DD)ljetplus.dev $(DD)ljet2p.dev $(DD)ljet3.dev $(DD)ljet3d.dev $(DD)ljet4.dev $(DD)ljet4d.dev $(DD)lj5mono.dev $(DD)lj5gray.dev
X+#DEVICE_DEVS4=$(DD)cdeskjet.dev $(DD)cdjcolor.dev $(DD)cdjmono.dev $(DD)cdj550.dev $(DD)pj.dev $(DD)pjxl.dev $(DD)pjxl300.dev
X+#DEVICE_DEVS5=$(DD)uniprint.dev $(DD)ijs.dev
X+#DEVICE_DEVS6=$(DD)bj10e.dev $(DD)bj200.dev $(DD)bjc600.dev $(DD)bjc800.dev
X+#DEVICE_DEVS7=$(DD)faxg3.dev $(DD)faxg32d.dev $(DD)faxg4.dev
X+#DEVICE_DEVS8=$(DD)pcxmono.dev $(DD)pcxgray.dev $(DD)pcx16.dev $(DD)pcx256.dev $(DD)pcx24b.dev $(DD)pcxcmyk.dev
X+#DEVICE_DEVS9=$(DD)pbm.dev $(DD)pbmraw.dev $(DD)pgm.dev $(DD)pgmraw.dev $(DD)pgnm.dev $(DD)pgnmraw.dev $(DD)pnm.dev $(DD)pnmraw.dev $(DD)ppm.dev $(DD)ppmraw.dev $(DD)pkm.dev $(DD)pkmraw.dev $(DD)pksm.dev $(DD)pksmraw.dev
X+#DEVICE_DEVS10=$(DD)tiffcrle.dev $(DD)tiffg3.dev $(DD)tiffg32d.dev $(DD)tiffg4.dev $(DD)tifflzw.dev $(DD)tiffpack.dev
X+#DEVICE_DEVS11=$(DD)tiff12nc.dev $(DD)tiff24nc.dev
X+#DEVICE_DEVS12=$(DD)psmono.dev $(DD)psgray.dev $(DD)psrgb.dev $(DD)bit.dev $(DD)bitrgb.dev $(DD)bitcmyk.dev
X+#DEVICE_DEVS13=$(DD)pngmono.dev $(DD)pnggray.dev $(DD)png16.dev $(DD)png256.dev $(DD)png16m.dev
X+#DEVICE_DEVS14=$(DD)jpeg.dev $(DD)jpeggray.dev
X+#DEVICE_DEVS15=$(DD)pdfwrite.dev $(DD)pswrite.dev $(DD)epswrite.dev $(DD)pxlmono.dev $(DD)pxlcolor.dev
X+#DEVICE_DEVS16=$(DD)bbox.dev
X+
X+#DEVICE_DEVS17=
X+#DEVICE_DEVS18=
X+#DEVICE_DEVS19=
X+#DEVICE_DEVS20=$(DD)cljet5.dev $(DD)cljet5c.dev
X 
X # ---------------------------- End of options --------------------------- #
X 
END-of-ghostscript-gnu-nox11/patches/patch-at
echo x - ghostscript-gnu-nox11/patches/patch-ax
sed 's/^X//' >ghostscript-gnu-nox11/patches/patch-ax << 'END-of-ghostscript-gnu-nox11/patches/patch-ax'
X$NetBSD$
X--- src/gdevdmpr.c.orig	Fri Feb 15 17:54:47 2002
X+++ src/gdevdmpr.c	Fri Feb 15 18:13:24 2002
X@@ -846,7 +846,7 @@
X     if (env) {
X       strcpy(fname,env);
X       strcat(fname,
X-        gp_file_name_concat_string(env,strlen(env),fname,strlen(fnamebase)));
X+        gp_file_name_concat_string(env,strlen(env)));
X       strcat(fname,fnamebase);
X       fp = fopen(fname,gp_fmode_rb);
X     }
END-of-ghostscript-gnu-nox11/patches/patch-ax
echo x - ghostscript-gnu-nox11/patches/patch-ao
sed 's/^X//' >ghostscript-gnu-nox11/patches/patch-ao << 'END-of-ghostscript-gnu-nox11/patches/patch-ao'
X$NetBSD: patch-ao,v 1.1.1.1 2000/05/07 02:04:35 jlam Exp $
X
X--- src/gdevrpdl.mak.orig	Mon May  1 20:36:35 2000
X+++ src/gdevrpdl.mak	Mon May  1 22:00:17 2000
X@@ -1,15 +1,17 @@
X ### ---------- RICOH RPDL IV(600dpi) printer devices ---------- ###
X-rpdl_=gdevrpdl.$(OBJ)
X+rpdl_=$(GLOBJ)gdevrpdl.$(OBJ)
X+$(GLOBJ)gdevrpdl.$(OBJ): $(GLSRC)gdevrpdl.c $(PDEVH)
X+	$(GLCC) $(GLO_)gdevrpdl.$(OBJ) $(C_) $(GLSRC)gdevrpdl.c
X 
X-rpdlA3.dev: $(rpdl_) page.dev
X-	$(SETPDEV) rpdlA3 $(rpdl_)
X+$(DD)rpdlA3.dev: $(rpdl_) $(DD)page.dev
X+	$(SETPDEV) $(DD)rpdlA3 $(rpdl_)
X 
X-rpdlA4.dev: $(rpdl_) page.dev
X-	$(SETPDEV) rpdlA4 $(rpdl_)
X+$(DD)rpdlA4.dev: $(rpdl_) $(DD)page.dev
X+	$(SETPDEV) $(DD)rpdlA4 $(rpdl_)
X 
X-rpdlB4.dev: $(rpdl_) page.dev
X-	$(SETPDEV) rpdlB4 $(rpdl_)
X+$(DD)rpdlB4.dev: $(rpdl_) $(DD)page.dev
X+	$(SETPDEV) $(DD)rpdlB4 $(rpdl_)
X 
X-rpdlB5.dev: $(rpdl_) page.dev
X-	$(SETPDEV) rpdlB5 $(rpdl_)
X+$(DD)rpdlB5.dev: $(rpdl_) $(DD)page.dev
X+	$(SETPDEV) $(DD)rpdlB5 $(rpdl_)
X 
END-of-ghostscript-gnu-nox11/patches/patch-ao
echo x - ghostscript-gnu-nox11/patches/patch-ap
sed 's/^X//' >ghostscript-gnu-nox11/patches/patch-ap << 'END-of-ghostscript-gnu-nox11/patches/patch-ap'
X$NetBSD: patch-ap,v 1.2 2000/05/08 05:20:54 itohy Exp $
X
X--- src/genarch.c.orig	Thu Mar  9 03:40:41 2000
X+++ src/genarch.c	Mon May  1 20:26:24 2000
X@@ -194,6 +194,10 @@
X 	clock_t t = 0;
X 	clock_t t_eps;
X 
X+#if 0
X+	/* This doesn't work on multi-user environments nor on
X+	 * small-cache (< 1KB) machines.
X+	 */
X 	/*
X 	 * Increase the number of repetitions until the time is
X 	 * long enough to exceed the likely uncertainty.
X@@ -220,7 +224,12 @@
X 	    if (nreps == 0)
X 		nreps = 1, t <<= 1;
X 	}
X+#else
X+	bsize = 512;
X+#endif
X 	define_int(f, "ARCH_CACHE1_SIZE", bsize >> 1);
X+#if 0
X+	/* Same as above. */
X 	/*
X 	 * Do the same thing a second time for the secondary cache.
X 	 */
X@@ -238,6 +247,7 @@
X 	    if (nreps == 0)
X 		nreps = 1, t <<= 1;
X 	}
X+#endif
X 	define_int(f, "ARCH_CACHE2_SIZE", bsize >> 1);
X     }
X 
END-of-ghostscript-gnu-nox11/patches/patch-ap
echo x - ghostscript-gnu-nox11/patches/patch-au
sed 's/^X//' >ghostscript-gnu-nox11/patches/patch-au << 'END-of-ghostscript-gnu-nox11/patches/patch-au'
X$NetBSD$
X
X--- src/unixinst.mak.orig	Fri Apr 19 10:10:40 2002
X+++ src/unixinst.mak
X@@ -43,7 +43,7 @@
X gsbj gsdj gsdj500 gslj gslp gsnd \
X bdftops dvipdf eps2eps font2c \
X pdf2dsc pdf2ps pdfopt pf2afm pfbtopfa printafm \
X-ps2ascii ps2epsi ps2pdf ps2pdf12 ps2pdf13 ps2pdf14 ps2pdfwr ps2ps wftopfa \
X+ps2ascii ps2epsi ps2pdf ps2pdf12 ps2pdf13 ps2pdf14 ps2pdfwr ps2ps wftopfa gs-hpdj\
X fixmswrd.pl lprsetup.sh pj-gs.sh pv.sh sysvlp.sh unix-lpr.sh ;\
X 	do if ( test -f $(PSLIBDIR)/$$f ); then $(INSTALL_PROGRAM) $(PSLIBDIR)/$$f $(scriptdir); fi;\
X 	done'
X@@ -71,7 +71,7 @@
X ht_ccsto.ps \
X acctest.ps addxchar.ps align.ps bdftops.ps \
X caption.ps cid2code.ps decrypt.ps docie.ps \
X-errpage.ps font2c.ps font2pcl.ps gslp.ps gsnup.ps image-qa.ps impath.ps \
X+errpage.ps font2c.ps font2pcl.ps gs-hpdj.ps gslp.ps gsnup.ps image-qa.ps impath.ps \
X jispaper.ps landscap.ps level1.ps lines.ps markhint.ps markpath.ps \
X packfile.ps pcharstr.ps pf2afm.ps pfbtopfa.ps ppath.ps prfont.ps printafm.ps \
X ps2ai.ps ps2ascii.ps ps2epsi.ps quit.ps rollconv.ps \
END-of-ghostscript-gnu-nox11/patches/patch-au
echo x - ghostscript-gnu-nox11/patches/patch-ar
sed 's/^X//' >ghostscript-gnu-nox11/patches/patch-ar << 'END-of-ghostscript-gnu-nox11/patches/patch-ar'
X$NetBSD: patch-ar,v 1.1.1.1 2000/05/07 02:04:35 jlam Exp $
X
X--- src/pagecount.c.orig	Sun Nov 15 06:33:04 1998
X+++ src/pagecount.c	Mon May  1 20:26:24 2000
X@@ -33,10 +33,6 @@
X 
X /*****************************************************************************/
X 
X-#ifndef _XOPEN_SOURCE
X-#define _XOPEN_SOURCE	500
X-#endif
X-
X /* Standard headers */
X #include <errno.h>
X #include <stdio.h>
END-of-ghostscript-gnu-nox11/patches/patch-ar
echo x - ghostscript-gnu-nox11/patches/patch-as
sed 's/^X//' >ghostscript-gnu-nox11/patches/patch-as << 'END-of-ghostscript-gnu-nox11/patches/patch-as'
X$NetBSD: patch-as,v 1.1.1.1 2000/05/07 02:04:35 jlam Exp $
X
X--- src/unix-end.mak.orig	Thu Mar  9 03:40:44 2000
X+++ src/unix-end.mak	Mon May  1 20:26:24 2000
X@@ -36,7 +36,7 @@
X 	@if test ! -d $(PSOBJDIR)/$(PGRELDIR); then mkdir $(PSOBJDIR)/$(PGRELDIR); fi
X 
X PGDEFS=GENOPT='-DPROFILE' CFLAGS='$(CFLAGS_PROFILE) $(GCFLAGS) $(XCFLAGS)'\
X- LDFLAGS='$(XLDFLAGS) -pg' XLIBS='Xt SM ICE Xext X11' CC_LEAF='$(CC_LEAF_PG)'\
X+ LDFLAGS='$(XLDFLAGS) -pg' XLIBS='$(XLIBS)' CC_LEAF='$(CC_LEAF_PG)'\
X  BINDIR=$(BINDIR)/$(PGRELDIR)\
X  GLGENDIR=$(GLGENDIR)/$(PGRELDIR) GLOBJDIR=$(GLOBJDIR)/$(PGRELDIR)\
X  PSGENDIR=$(PSGENDIR)/$(PGRELDIR) PSOBJDIR=$(PSOBJDIR)/$(PGRELDIR)
END-of-ghostscript-gnu-nox11/patches/patch-as
echo x - ghostscript-gnu-nox11/patches/patch-av
sed 's/^X//' >ghostscript-gnu-nox11/patches/patch-av << 'END-of-ghostscript-gnu-nox11/patches/patch-av'
X$NetBSD$
X--- src/zmedia2.c.orig	Tue Oct 30 13:38:08 2001
X+++ src/zmedia2.c	Tue Oct 30 13:44:48 2001
X@@ -430,11 +430,27 @@
X 
X 	rx = ry, ry = temp;
X     }
X+#if 0
X+    /* Adapt hpdj's changes to zmedia2.c to apply to the latest
X+       Ghostscript source. */
X     /* Adjust the medium size if flexible. */ 
X     if (medium->p.x < MIN_MEDIA_SIZE && mx > rx)
X 	mx = rx;
X     if (medium->p.y < MIN_MEDIA_SIZE && my > ry)
X 	my = ry;
X+#else
X+    /* If 'medium' is flexible, adjust 'mx' and 'my' towards 'rx' and 'ry',
X+       respectively. Note that 'mx' and 'my' have just acquired the largest
X+       permissible value, medium->q. */
X+    if (medium->p.x < mx)			/* non-empty width range */
X+	if (rx < medium->p.x) mx = medium->p.x;	/* minimum */
X+	else if (mx > rx) mx = rx;		/* fits */
X+	/* else use medium->q.x, i.e., the maximum */
X+    if (medium->p.y < my)			/* non-empty height range */
X+	if (ry < medium->p.y) my = medium->p.y;	/* minimum */
X+	else if (my > ry) my = ry;		/* fits */
X+	/* else use medium->q.y, i.e., the maximum */
X+#endif
X 
X     /* Translate to align the centers. */ 
X     gs_make_translation(mx / 2, my / 2, pmat);
END-of-ghostscript-gnu-nox11/patches/patch-av
echo x - ghostscript-gnu-nox11/patches/patch-aw
sed 's/^X//' >ghostscript-gnu-nox11/patches/patch-aw << 'END-of-ghostscript-gnu-nox11/patches/patch-aw'
X$NetBSD$
X
X--- src/gdevlbp8.c.orig	Sat Feb 23 04:45:56 2002
X+++ src/gdevlbp8.c
X@@ -20,6 +20,8 @@
X 
X /* 
X   Modifications:
X+    3.10.00 Johnny Lam
X+            Removed LIPS III code, as it's obsoleted by gdevlips driver.
X     2.2.97  Lauri Paatero
X             Changed CSI command into ESC [. DCS commands may still need to be changed
X             (to ESC P).
X@@ -47,7 +49,6 @@
X 
X /* The device descriptors */
X private dev_proc_print_page(lbp8_print_page);
X-private dev_proc_print_page(lips3_print_page);
X 
X const gx_device_printer far_data gs_lbp8_device =
X   prn_device(prn_std_procs, "lbp8",
X@@ -56,14 +57,6 @@
X 	0.16, 0.2, 0.32, 0.21,		/* margins: left, bottom, right, top */
X 	1, lbp8_print_page);
X 
X-const gx_device_printer far_data gs_lips3_device =
X-  prn_device(prn_std_procs, "lips3",
X-	82,				/* width_10ths, 8.3" */
X-	117,				/* height_10ths, 11.7" */
X-	X_DPI, Y_DPI,
X-	0.16, 0.27, 0.23, 0.27,		/* margins */
X-	1, lips3_print_page);
X-
X /* ------ Internal routines ------ */
X 
X #define ESC 0x1b
X@@ -82,23 +75,6 @@
X 
X static const char *lbp8_end = NULL;
X 
X-static const char lips3_init[] = {
X-  ESC, '<', /* soft reset */
X-  DCS, '0', 'J', ST, /* JOB END */
X-  DCS, '3', '1', ';', '3', '0', '0', ';', '2', 'J', ST, /* 300dpi, LIPS3 JOB START */
X-  ESC, '<',  /* soft reset */
X-  DCS, '2', 'y', 'P', 'r', 'i', 'n', 't', 'i', 'n', 'g', '(', 'g', 's', ')', ST,  /* Printing (gs) display */
X-  ESC, '[', '?', '1', 'l',  /* auto cr-lf disable */
X-  ESC, '[', '?', '2', 'h', /* auto ff disable */
X-  ESC, '[', '1', '1', 'h', /* set mode */
X-  ESC, '[', '7', ' ', 'I', /* select unit size (300dpi)*/
X-  ESC, '[', 'f' /* move to home position */
X-};
X-
X-static const char lips3_end[] = {
X-  DCS, '0', 'J', ST  /* JOB END */
X-};
X-
X /* Send the page to the printer.  */
X private int
X can_print_page(gx_device_printer *pdev, FILE *prn_stream,
X@@ -201,11 +177,4 @@
X lbp8_print_page(gx_device_printer *pdev, FILE *prn_stream)
X {	return can_print_page(pdev, prn_stream, lbp8_init, sizeof(lbp8_init),
X 			      lbp8_end, sizeof(lbp8_end));
X-}
X-
X-/* Print a LIPS III page. */
X-private int
X-lips3_print_page(gx_device_printer *pdev, FILE *prn_stream)
X-{	return can_print_page(pdev, prn_stream, lips3_init, sizeof(lips3_init),
X-			      lips3_end, sizeof(lips3_end));
X }
END-of-ghostscript-gnu-nox11/patches/patch-aw
echo x - ghostscript-gnu-nox11/patches/patch-aa
sed 's/^X//' >ghostscript-gnu-nox11/patches/patch-aa << 'END-of-ghostscript-gnu-nox11/patches/patch-aa'
X$NetBSD: patch-aa,v 1.2 2000/05/07 11:10:05 wiz Exp $
X
X--- lib/fixmswrd.pl.in.orig	Thu Mar  9 03:40:39 2000
X+++ lib/fixmswrd.pl.in	Mon May  1 20:26:23 2000
X@@ -1,1 +1,1 @@
X-#!/usr/bin/perl
X+#!@PERL@
END-of-ghostscript-gnu-nox11/patches/patch-aa
echo x - ghostscript-gnu-nox11/patches/patch-aq
sed 's/^X//' >ghostscript-gnu-nox11/patches/patch-aq << 'END-of-ghostscript-gnu-nox11/patches/patch-aq'
X$NetBSD$
X
X--- src/gp_unifs.c.orig	Sat Feb 23 04:45:57 2002
X+++ src/gp_unifs.c
X@@ -37,8 +37,12 @@
X #  define MAXPATHLEN 1024
X #endif
X 
X+#ifdef HAVE_MKSTEMP
X+#include <stdlib.h>
X+#else
X /* Library routines not declared in a standard header */
X extern char *mktemp(P1(char *));
X+#endif
X 
X /* ------ File naming and accessing ------ */
X 
END-of-ghostscript-gnu-nox11/patches/patch-aq
echo x - ghostscript-gnu-nox11/patches/patch-ay
sed 's/^X//' >ghostscript-gnu-nox11/patches/patch-ay << 'END-of-ghostscript-gnu-nox11/patches/patch-ay'
X$NetBSD$
X--- lib/gs_res.ps.orig	Sat Feb 16 16:55:10 2002
X+++ lib/gs_res.ps	Sat Feb 16 16:57:11 2002
X@@ -248,8 +248,8 @@
X   /pssystemparams 10 dict readonly def
X } if
X pssystemparams begin
X-  /FontResourceDir (/Resource/Font/) readonly .forcedef	% pssys'params is r-o
X-  /GenericResourceDir (/Resource/) readonly .forcedef	% pssys'params is r-o
X+  /FontResourceDir (@RESOURCE@/Font/) readonly .forcedef	% pssys'params is r-o
X+  /GenericResourceDir (@RESOURCE@/) readonly .forcedef	% pssys'params is r-o
X   /GenericResourcePathSep (/) readonly .forcedef	% pssys'params is r-o
X end
X end
END-of-ghostscript-gnu-nox11/patches/patch-ay
echo x - ghostscript-gnu-nox11/patches/xxpatch-ah
sed 's/^X//' >ghostscript-gnu-nox11/patches/xxpatch-ah << 'END-of-ghostscript-gnu-nox11/patches/xxpatch-ah'
X$NetBSD: patch-ah,v 1.1.1.1 2000/05/07 02:04:35 jlam Exp $
X
XXXX CDJ880 support is incorporated in the original.
X
X--- src/gdevcd8.c.orig	Thu Mar  9 03:40:40 2000
X+++ src/gdevcd8.c	Mon May  1 20:26:23 2000
X@@ -31,7 +31,7 @@
X 
X /*
X    A printer driver for the HP670, HP690, HP850, HP855
X-   HP870, HP890, HP1100 and HP1600 color printers. 
X+   HP870, HP880, HP890, HP1100 and HP1600 color printers. 
X 
X    To be used with the Ghostscript printing system.
X    Please report all problems to uliw@erdw.ethz.ch 
X@@ -59,6 +59,8 @@
X 
X  */
X 
X+/* Add public code to add support for HP880 color printers. */
X+
X /* 1999-01-07 edited by L. Peter Deutsch <ghost@aladdin.com> to eliminate
X    non-const statics and otherwise bring up to date with Ghostscript coding
X    style guidelines. */
X@@ -303,6 +305,107 @@
X      166, 169, 174, 177, 182, 187, 194, 203, 215, 255}
X };
X 
X+private const Gamma gammat880 =
X+{
X+  /* Lookup values for cyan */
X+    {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
X+     16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
X+     32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
X+     48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63,
X+     64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,
X+     80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95,
X+     96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
X+     112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125,
X+     126, 127,
X+     128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
X+     142, 143,
X+     144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157,
X+     158, 159,
X+     160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173,
X+     174, 175,
X+     176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189,
X+     190, 191,
X+     192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205,
X+     206, 207,
X+     208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221,
X+     222, 223,
X+     224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237,
X+     238, 239,
X+     240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253,
X+     254, 255},
X+  /* Lookup values for magenta */
X+    {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
X+     16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
X+     32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
X+     48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63,
X+     64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,
X+     80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95,
X+     96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
X+     112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125,
X+     126, 127,
X+     128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
X+     142, 143,
X+     144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157,
X+     158, 159,
X+     160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173,
X+     174, 175,
X+     176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189,
X+     190, 191,
X+     192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205,
X+     206, 207,
X+     208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221,
X+     222, 223,
X+     224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237,
X+     238, 239,
X+     240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253,
X+     254, 255},
X+  /* Lookup values for yellow */
X+    {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
X+     16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
X+     32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
X+     48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63,
X+     64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,
X+     80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95,
X+     96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111,
X+     112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125,
X+     126, 127,
X+     128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141,
X+     142, 143,
X+     144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157,
X+     158, 159,
X+     160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173,
X+     174, 175,
X+     176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189,
X+     190, 191,
X+     192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205,
X+     206, 207,
X+     208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221,
X+     222, 223,
X+     224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237,
X+     238, 239,
X+     240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253,
X+     254, 255},
X+  /* Lookup values for black */
X+    {0, 0, 0, 1, 1, 1, 1, 1, 1, 3, 3, 3, 3, 3, 2, 4,
X+     3, 3, 3, 3, 3, 4, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6,
X+     6, 6, 6, 7, 7, 7, 7, 7, 8, 8, 8, 9, 9, 8, 8, 8,
X+     9, 9, 9, 10, 10, 10, 10, 10, 11, 11, 11, 11, 12, 12, 12, 13,
X+     13, 12, 12, 12, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 15, 15,
X+     16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 19, 19, 20, 20, 20, 20,
X+     20, 21, 21, 21, 21, 22, 22, 22, 22, 23, 22, 23, 23, 24, 24, 24,
X+     24, 25, 25, 26, 26, 26, 26, 27, 27, 28, 28, 28, 28, 29, 29, 30,
X+     30, 31, 31, 31, 32, 32, 33, 33, 34, 34, 35, 36, 36, 36, 37, 37,
X+     37, 38, 38, 40, 40, 40, 41, 41, 42, 43, 43, 43, 43, 44, 45, 45,
X+     46, 47, 47, 48, 49, 49, 50, 52, 52, 53, 54, 54, 56, 56, 57, 58,
X+     59, 60, 60, 61, 62, 63, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72,
X+     72, 73, 75, 75, 76, 77, 78, 80, 81, 82, 82, 83, 84, 85, 86, 88,
X+     89, 90, 91, 94, 95, 96, 98, 99, 100, 101, 103, 105, 106, 107, 110, 111,
X+     112, 115, 116, 118, 120, 121, 124, 126, 127, 131, 133, 134, 138, 140,
X+     141, 146,
X+     148, 151, 154, 156, 160, 163, 166, 169, 174, 177, 182, 187, 194, 203,
X+     215, 255}
X+};
X+
X private const Gamma gammat890 =
X {
X /* Lookup values for cyan */
X@@ -408,6 +511,7 @@
X {
X     &gammat850,			/* CDJ670 */
X     &gammat850,			/* CDJ850 */
X+    &gammat880,			/* CDJ880 */
X     &gammat890,			/* CDJ890 */
X     &gammat850			/* CDJ1600 */
X };
X@@ -464,7 +568,7 @@
X 
X /* Printer types */
X typedef enum {
X-    DJ670C, DJ850C, DJ890C, DJ1600C
X+    DJ670C, DJ850C, DJ880C, DJ890C, DJ1600C
X } cdj_printer_type_t;
X 
X /* No. of ink jets (used to minimise head movements) */
X@@ -586,7 +690,7 @@
X     int intensities;		/* intensity values per pixel [2,4] */
X     int xscal;			/* boolean to indicate x scaling by 2 */
X     int yscal;			/* boolean to indicate y scaling by 2 */
X-    int /*cdj_printer_type_t*/ ptype;  /* printer type, one of DJ670C, DJ850C, DJ890C, DJ1600C */
X+    int /*cdj_printer_type_t*/ ptype;  /* printer type, one of DJ670C, DJ850C, DJ880C, DJ890C, DJ1600C */
X     int compression;		/* compression level */
X     float mastergamma;		/* Gammavalue applied to all colors */
X     float gammavalc;		/* range to which gamma-correction is
X@@ -705,6 +809,10 @@
X      cdj850_terminate_page(P2(gx_device_printer * pdev, FILE * prn_stream));
X 
X private void
X+     cdj880_start_raster_mode(P3(gx_device_printer * pdev,
X+				 int papersize, FILE * prn_stream));
X+
X+private void
X      cdj1600_start_raster_mode(P3(gx_device_printer * pdev,
X 				  int papersize, FILE * prn_stream));
X private void
X@@ -727,6 +835,10 @@
X cmyk_colour_procs(hp_colour_open, cdj850_get_params, cdj850_put_params,
X 		  NULL, gdev_cmyk_map_color_rgb, gdev_cmyk_map_cmyk_color);
X 
X+private const gx_device_procs cdj880_procs =
X+cmyk_colour_procs(hp_colour_open, cdj850_get_params, cdj850_put_params,
X+		  NULL, gdev_cmyk_map_color_rgb, gdev_cmyk_map_cmyk_color);
X+
X private const gx_device_procs cdj890_procs =
X cmyk_colour_procs(hp_colour_open, cdj850_get_params, cdj850_put_params,
X 		  NULL, gdev_cmyk_map_color_rgb, gdev_cmyk_map_cmyk_color);
X@@ -749,6 +861,13 @@
X 	       cdj850_start_raster_mode, cdj850_print_non_blank_lines,
X 	       cdj850_terminate_page);
X 
X+const gx_device_cdj850 gs_cdj880_device =
X+cdj_850_device(cdj880_procs, "cdj880", 600, 600, 32, cdj850_print_page, 0,
X+	       PRESENTATION, PLAIN_PAPER, 2, DJ880C, 9,
X+	       1.0, 0.0, 0.0, 0.0, 0.0, 1.0,
X+	       cdj880_start_raster_mode, cdj850_print_non_blank_lines,
X+	       cdj1600_terminate_page);
X+
X const gx_device_cdj850 gs_cdj890_device =
X cdj_850_device(cdj890_procs, "cdj890", 600, 600, 32, cdj850_print_page, 0,
X 	       PRESENTATION, PLAIN_PAPER, 4, DJ890C, 9,
X@@ -823,6 +942,7 @@
X 	m = (gdev_pcl_paper_size(pdev) == PAPER_SIZE_A4 ? dj_a4 : dj_letter);
X 	break;
X     case DJ850C:
X+    case DJ880C:
X     case DJ890C:
X 	if (cdj850->quality == DRAFT) {
X 	    gx_device_set_resolution(pdev, 300.0, 300.0);
X@@ -2722,6 +2842,20 @@
X  * }
X  * end of unused code */
X 
X+/************************ the routines for the cdj880 printer ****************/
X+
X+/* Configure the printer and start Raster mode */
X+private void
X+cdj880_start_raster_mode(gx_device_printer * pdev, int paper_size,
X+			 FILE * prn_stream)
X+{
X+    /* switch to PCL control language */
X+    fputs("\033%-12345X@PJL enter language = PCL\n", prn_stream);
X+
X+    cdj850_start_raster_mode(pdev, paper_size, prn_stream);
X+
X+    return;
X+}
X 
X /************************ the routines for the cdj1600 printer ***************/
X 
END-of-ghostscript-gnu-nox11/patches/xxpatch-ah
exit