View | Details | Raw Unified | Return to bug 36673
Collapse All | Expand All

(-)print/ghostscript-afpl/Makefile (-108 / +389 lines)
Lines 6-37 Link Here
6
#
6
#
7
7
8
PORTNAME=	ghostscript
8
PORTNAME=	ghostscript
9
PORTVERSION=	7.03
9
PORTVERSION=	7.04
10
PORTREVISION=	4
11
CATEGORIES=	print
10
CATEGORIES=	print
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:S/$/:DEFAULT,gimp_print,hpijs/} \
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
13
		http://members.ozemail.com.au/~geoffk/pdfencrypt/:pdf \
12
		http://www.gelhaus.net/hp880c/1.4beta/:hp8xx \
14
		http://www.gelhaus.net/hp880c/1.4beta/:gdevcd \
15
		http://home.t-online.de/home/Martin.Lottermoser/pcl3dist/:hpdj_pcl3 \
13
		http://home.t-online.de/home/Martin.Lottermoser/pcl3dist/:hpdj_pcl3 \
16
		http://www.harsch.net/Download/:gdevdj \
14
		http://www.harsch.net/Download/:dj970 \
17
		ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/gs703/ \
15
		${MASTER_SITE_SOURCEFORGE:S,%SUBDIR%,gimp-print,}:gprint \
18
		ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/fonts/:fonts \
16
		${MASTER_SITE_SOURCEFORGE:S,%SUBDIR%,hpinkjet,}:hpijs \
19
		ftp://gatekeeper.dec.com/pub/GNU/ghostscript/:gatekeeper
17
		http://plaza26.mbn.or.jp/~higamasa/gdevmd2k/:md2k \
20
MASTER_SITE_SUBDIR=	${PORTNAME} gimp-print/:gimp_print \
18
		${MASTER_SITE_PORTS_JP:S,%SUBDIR%,ghostscript,}:ports_jp \
21
			hpinkjet/:hpijs
19
		http://www.humblesoft.com/pub/:epag \
20
		http://www.epkowa.on.arena.ne.jp/pips/data/gs65_301/:eplaser \
21
		http://www.ceres.dti.ne.jp/~owatanab/gdevnpdl/:npdl \
22
		http://www.linuxprinting.org/download/printing/:gdi \
23
		ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/fonts/ \
24
		ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/gs704/
25
MASTER_SITE_SUBDIR=	${PORTNAME}
22
PKGNAMESUFFIX=	-afpl
26
PKGNAMESUFFIX=	-afpl
23
DISTFILES=	${GS_SOURCES}:DEFAULT,gatekeeper \
27
DISTFILES=	${GS_SRCS} \
24
		${GS_FONTS_STD}:DEFAULT,fonts \
28
		${GS_FONTS_STD} \
25
		${GS_FONTS_OTHER}:DEFAULT,fonts,gatekeeper \
29
		${GS_FONTS_OTHER} \
26
		${DECRYPT_PDF}:pdf \
30
		${HP8XX_SRCS}:hp8xx \
27
		${HP8XX_DRV}:gdevcd \
31
		${HPDJ_SRCS}:hpdj_pcl3 \
28
		${HPDJ_SRC}:hpdj_pcl3 \
32
		${PCL3_SRCS}:hpdj_pcl3 \
29
		${PCL3_SRC}:hpdj_pcl3 \
33
		${DJ970_SRCS}:dj970 \
30
		${HP970_DRV}:gdevdj \
34
		${GPRINT_SRCS}:gprint \
31
		${GPRINT_SRC}:gatekeeper,gimp_print \
35
		${HPIJS_SRCS}:hpijs \
32
		${HPIJS_SRC}:gatekeeper,hpijs
36
		${MD2K_SRCS}:md2k \
37
		${ALPS_SRCS}:ports_jp \
38
		${BJ10V_SRCS}:ports_jp \
39
		${LIPS_SRCS}:ports_jp \
40
		${DMPRT_SRCS}:ports_jp \
41
		${EPAG_SRCS}:epag \
42
		${EPLASER_SRCS}:eplaser \
43
		${MJC_SRCS}:ports_jp \
44
		${NPDL_SRCS}:npdl \
45
		${GDI_SRCS}:gdi
33
DIST_SUBDIR=	ghostscript
46
DIST_SUBDIR=	ghostscript
34
EXTRACT_ONLY=	${GS_SOURCES}
47
EXTRACT_ONLY=	${GS_SRCS}
35
48
36
MAINTAINER=	ports@FreeBSD.org
49
MAINTAINER=	ports@FreeBSD.org
37
50
Lines 42-51 Link Here
42
55
43
WRKSRC=		${WRKDIR}/gs${PORTVERSION}
56
WRKSRC=		${WRKDIR}/gs${PORTVERSION}
44
57
58
USE_BZIP2=	yes
45
USE_GMAKE=	yes
59
USE_GMAKE=	yes
46
MAKE_ENV=	CC="${CC}" CXX="${CXX}" XCFLAGS="${XCFLAGS}"
60
MAKE_ENV=	CC="${CC}" CXX="${CXX}" CFLAGS_STANDARD="${CFLAGS}" \
47
MAKEFILE=	src/unix-gcc.mak
61
		XCFLAGS="${XCFLAGS}"
48
ALL_TARGET=	all pcl3opts
49
PLIST_SUB=	GS_VERSION=${PORTVERSION}
62
PLIST_SUB=	GS_VERSION=${PORTVERSION}
50
63
51
MAN1=		ansi2knr.1 dvipdf.1 font2c.1 gs-hpdj.1 gs-pcl3.1 \
64
MAN1=		ansi2knr.1 dvipdf.1 font2c.1 gs-hpdj.1 gs-pcl3.1 \
Lines 73-79 Link Here
73
MAKE_ENV+=	WITHOUT_X11="${WITHOUT_X11}"
86
MAKE_ENV+=	WITHOUT_X11="${WITHOUT_X11}"
74
.endif
87
.endif
75
88
76
GS_SOURCES=	${DISTNAME}${EXTRACT_SUFX}
89
.if defined(WITH_SHLIB)
90
.undef WITHOUT_X11
91
USE_GTK=	yes
92
MAKE_ENV+=	GS_SHLIB_VER="${SHLIB_VER}"
93
ALL_TARGET=	so pcl3opts
94
INSTALL_TARGET=	soinstall
95
INSTALLS_SHLIB=	yes
96
SHLIB_VER=	1
97
PLIST_SUB+=	SHLIB="" SHLIB_VER="${SHLIB_VER}"
98
.else
99
ALL_TARGET=	all pcl3opts
100
PLIST_SUB+=	SHLIB="@comment "
101
.endif
102
103
GS_SRCS=	${DISTNAME}${EXTRACT_SUFX}
77
#  Note: the following two are real files that have symlinks with
104
#  Note: the following two are real files that have symlinks with
78
#  later version numbers pointing to them.  To avoid unnecessarily
105
#  later version numbers pointing to them.  To avoid unnecessarily
79
#  downloading distfiles, do not change these when upgrading the port
106
#  downloading distfiles, do not change these when upgrading the port
Lines 83-136 Link Here
83
110
84
# Additional Drivers:
111
# Additional Drivers:
85
112
86
# Ghostscript Driver for HP DeskJet 812C/815C/832C/880C/882C/895C
113
# HP8XX - additional driver for HP DeskJet 812C/815C/832C/880C/882C/895C
87
# http://www.gelhaus.net/hp880c/
114
# http://www.gelhaus.net/hp880c/
88
HP8XX=		cdj880
115
HP8XX=		cdj880
89
HP8XX_DRV=	gdevcd8.tar.gz
116
HP8XX_SRCS=	gdevcd8.tar.gz
90
117
91
# HPDJ, additional driver for HP PCL3 Printers, by Martin Lottermoser
118
# HPDJ - additional driver for HP PCL3 printers, by Martin Lottermoser
92
# still present, just for the case pcl3 is missing some hpdj feature
119
# still present, just for the case pcl3 is missing some hpdj feature
93
# http://home.t-online.de/home/Martin.Lottermoser/pcl3.html
120
# http://home.t-online.de/home/Martin.Lottermoser/pcl3.html
94
HPDJ=		hpdj
121
HPDJ=		hpdj
95
HPDJ_VERS=	2.6
122
HPDJ_VERS=	2.6
96
HPDJ_NAME=	${HPDJ}-${HPDJ_VERS}
123
HPDJ_NAME=	${HPDJ}-${HPDJ_VERS}
97
HPDJ_SRC=	${HPDJ_NAME}.tar.gz
124
HPDJ_SRCS=	${HPDJ_NAME}.tar.gz
98
HPDJ_MAN1=	gs-hpdj.1
125
HPDJ_MAN1=	gs-hpdj.1
99
126
100
# PCL3 (hpdj successor now in RELEASE quality)
127
# PCL3 (hpdj successor now in RELEASE quality)
101
# additional driver for HP PCL3 Printers, by Martin Lottermoser
128
# additional driver for HP PCL3 printers, by Martin Lottermoser
102
# http://home.t-online.de/home/Martin.Lottermoser/pcl3.html
129
# http://home.t-online.de/home/Martin.Lottermoser/pcl3.html
103
PCL3=		pcl3
130
PCL3=		pcl3
104
PCL3_VERS=	3.3
131
PCL3_VERS=	3.3
105
PCL3_NAME=	${PCL3}-${PCL3_VERS}
132
PCL3_NAME=	${PCL3}-${PCL3_VERS}
106
PCL3_SRC=	${PCL3_NAME}.tar.gz
133
PCL3_SRCS=	${PCL3_NAME}.tar.gz
107
PCL3_MAN1=	gs-pcl3.1 pcl3opts.1
134
PCL3_MAN1=	gs-pcl3.1 pcl3opts.1
108
135
109
# additional driver for HP DeskJet 970, supports duplex printing
136
# DJ970 - additional driver for HP DeskJet 970, supports duplex printing
110
# http://www.harsch.net/Ghostscript/ghostscript.html
137
# http://www.harsch.net/Ghostscript/ghostscript.html
111
HP970_DRV=	gdevdj9.c.gz
138
DJ970=		gdevdj9
139
DJ970_SRCS=	${DJ970}.c.gz
112
140
113
# Gimp-Print - very high quality driver for Epson, HPs,...
141
# Gimp-Print - very high quality driver for Epson, HPs,...
114
# http://gimp-print.sourceforge.net/
142
# http://gimp-print.sourceforge.net/
115
GPRINT=		gimp-print
143
GPRINT=		gimp-print
116
GPRINT_VERS=	4.2.0
144
GPRINT_VERS=	4.2.0
117
GPRINT_NAME=	${GPRINT}-${GPRINT_VERS}
145
GPRINT_NAME=	${GPRINT}-${GPRINT_VERS}
118
GPRINT_SRC=	${GPRINT_NAME}.tar.gz
146
GPRINT_SRCS=	${GPRINT_NAME}.tar.gz
119
147
120
# HPinkjet - HP developed printer driver for PhotoSmart/DeskJet series
148
# HPinkjet - additional driver for PhotoSmart/DeskJet series (HP developed)
121
# http://hpinkjet.sourceforge.net/
149
# http://hpinkjet.sourceforge.net/
122
HPIJS=		hpijs
150
HPIJS=		hpijs
123
HPIJS_VERS=	1.0.2
151
HPIJS_VERS=	1.0.4
124
HPIJS_NAME=	${HPIJS}-${HPIJS_VERS}
152
HPIJS_NAME=	${HPIJS}-${HPIJS_VERS}
125
HPIJS_SRC=	${HPIJS_NAME}.tar.gz
153
HPIJS_SRCS=	${HPIJS_NAME}.tar.gz
154
155
# MD2K - additional driver for Alps MD-2000/2010/4000/1300/1500/5000
156
# http://plaza26.mbn.or.jp/~higamasa/gdevmd2k/
157
MD2K=		md2k
158
MD2K_VERS=	0.2a
159
MD2K_NAME=	gdevmd2k-${MD2K_VERS}
160
MD2K_SRCS=	${MD2K_NAME}.tar.gz
161
162
# ALPS - additional driver for Alps MD-5000
163
ALPS=		alps
164
ALPS_VERS=	0.2
165
ALPS_NAME=	gdevalps-${ALPS_VERS}
166
ALPS_SRCS=	gdevalps-0.21.tar.gz
167
168
# BJ10V - additional driver for Canon BJ-10V
169
BJ10V=		bj10v
170
BJ10V_NAME=	gdev10v
171
BJ10V_SRCS=	${BJ10V_NAME}.tar.gz
172
173
# LIPS - additional driver for Canon LIPS II+/III/IVc/IV printers
174
LIPS=		lips
175
LIPS_VERS=	2.4.0
176
LIPS_NAME=	gdevlips-${LIPS_VERS}
177
LIPS_SRCS=	${LIPS_NAME}.tar.gz
178
179
# DMPRT - additional driver for generic dot matrix printers
180
DMPRT=		dmprt
181
DMPRT_VERS=	2.01
182
DMPRT_NAME=	${DMPRT}-${DMPRT_VERS}
183
DMPRT_SRCS=	${DMPRT_NAME}.tar.gz
184
185
# EPAG - additional driver for Epson ESC/Page printers
186
# http://www.humblesoft.com/
187
EPAG=		epag
188
EPAG_VERS=	3.09
189
EPAG_NAME=	${EPAG}-${EPAG_VERS}
190
EPAG_SRCS=	${EPAG_NAME}.tar.gz
191
192
# EPLASER - additional driver for ESC/Page printers (Epson Kowa developed)
193
# http://www.epkowa.co.jp/linux/lpd.html
194
EPLASER=	eplaser
195
EPLASER_VERS=	3.0.1
196
EPLASER_NAME=	${EPLASER}-${EPLASER_VERS}
197
EPLASER_SRCS=	${EPLASER_NAME}-651.tgz
198
199
# MJC - additional driver for Epson MachJet series
200
MJC=		mjc
201
MJC_VERS=	0.8
202
MJC_NAME=	gdevmjc-${MJC_VERS}
203
MJC_SRCS=	${MJC_NAME}.tar.gz
204
205
# NPDL - additional driver for NEC Printer Description Language printers
206
NPDL=		npdl
207
NPDL_VERS=	1.6.3
208
NPDL_NAME=	gdevnpdl-${NPDL_VERS}
209
NPDL_SRCS=	${NPDL_NAME}.tar.gz
210
211
# GDI - additional driver for Samsung SmartGDI laser printers
212
GDI=		gdi
213
GDI_NAME=	samsung-gdi-driver
214
GDI_SRCS=	${GDI_NAME}.tar.gz
126
215
127
# contributed uniprint profiles
216
# contributed uniprint profiles
128
CONTRIB_UPP=	lqx70ch.upp lqx70cl.upp lqx70cm.upp \
217
CONTRIB_UPP=	lqx70ch.upp lqx70cl.upp lqx70cm.upp \
129
		stc740ih.upp stc740p.upp stc740pl.upp
218
		stc740ih.upp stc740p.upp stc740pl.upp
130
219
131
# replacement for pdf_sec.ps, that allows you to read encrypted PDF files
132
DECRYPT_PDF=	pdf_sec.ps
133
134
.SILENT:
220
.SILENT:
135
221
136
pre-everything::
222
pre-everything::
Lines 150-189 Link Here
150
# new devices !
236
# new devices !
151
#
237
#
152
# for HP8XX driver
238
# for HP8XX driver
153
	${ECHO_MSG} ">>>   extracting ${HP8XX_DRV} ..."
239
	${ECHO_MSG} ">>>   extracting ${HP8XX_SRCS} ..."
154
	${TAR} -C ${WRKSRC}/src -xzf ${DISTDIR}/${DIST_SUBDIR}/${HP8XX_DRV}
240
	${TAR} -C ${WRKSRC}/src -xzf ${DISTDIR}/${DIST_SUBDIR}/${HP8XX_SRCS}
155
# for HPDJ driver
241
# for HPDJ driver
156
	${ECHO_MSG} ">>>   extracting ${HPDJ_SRC} ..."
242
	${ECHO_MSG} ">>>   extracting ${HPDJ_SRCS} ..."
157
	${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${HPDJ_SRC}
243
	${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${HPDJ_SRCS}
158
	${TAR} -C ${WRKSRC}/src -xf ${WRKSRC}/${HPDJ_NAME}/${HPDJ}.tar
244
	${TAR} -C ${WRKSRC}/src -xf ${WRKSRC}/${HPDJ_NAME}/${HPDJ}.tar
159
# for PCL3 driver
245
# for PCL3 driver
160
	${ECHO_MSG} ">>>   extracting ${PCL3_SRC} ..."
246
	${ECHO_MSG} ">>>   extracting ${PCL3_SRCS} ..."
161
	${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${PCL3_SRC}
247
	${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${PCL3_SRCS}
162
	${LN} -sf ${PCL3_NAME} ${WRKSRC}/pcl3
248
	${LN} -sf ${PCL3_NAME} ${WRKSRC}/${PCL3}
163
	${TAR} -C ${WRKSRC}/${PCL3_NAME} -xf \
249
	${TAR} -C ${WRKSRC}/${PCL3_NAME} -xf \
164
		${WRKSRC}/${PCL3_NAME}/${PCL3}.tar
250
		${WRKSRC}/${PCL3_NAME}/${PCL3}.tar
165
# for HP DeskJet 970 driver
251
# for DJ970 driver
166
	${ECHO_MSG} ">>>   extracting ${HP970_DRV} ..."
252
	${ECHO_MSG} ">>>   extracting ${DJ970_SRCS} ..."
167
	${CP} ${DISTDIR}/${DIST_SUBDIR}/${HP970_DRV} ${WRKSRC}/src
253
	${CP} ${DISTDIR}/${DIST_SUBDIR}/${DJ970_SRCS} ${WRKSRC}/src
168
	${GUNZIP_CMD} ${WRKSRC}/src/${HP970_DRV}
254
	${GUNZIP_CMD} ${WRKSRC}/src/${DJ970_SRCS}
169
# for Gimp-Print driver
255
# for Gimp-Print driver
170
	${ECHO_MSG} ">>>   extracting ${GPRINT_SRC} ..."
256
	${ECHO_MSG} ">>>   extracting ${GPRINT_SRCS} ..."
171
	${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${GPRINT_SRC}
257
	${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${GPRINT_SRCS}
172
# for HPinkjet driver
258
# for HPinkjet driver
173
	${ECHO_MSG} ">>>   extracting ${HPIJS_SRC} ..."
259
	${ECHO_MSG} ">>>   extracting ${HPIJS_SRCS} ..."
174
	${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${HPIJS_SRC}
260
	${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${HPIJS_SRCS}
261
# for MD2K driver
262
	${ECHO_MSG} ">>>   extracting ${MD2K_SRCS} ..."
263
	${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${MD2K_SRCS}
264
	${LN} -sf ${MD2K_NAME} ${WRKSRC}/${MD2K}
265
# for ALPS driver
266
	${ECHO_MSG} ">>>   extracting ${ALPS_SRCS} ..."
267
	${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${ALPS_SRCS}
268
	${LN} -sf ${ALPS_NAME} ${WRKSRC}/${ALPS}
269
# for BJ10V driver
270
	${ECHO_MSG} ">>>   extracting ${BJ10V_SRCS} ..."
271
	${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${BJ10V_SRCS}
272
# for LIPS driver
273
	${ECHO_MSG} ">>>   extracting ${LIPS_SRCS} ..."
274
	${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${LIPS_SRCS}
275
	${LN} -sf ${LIPS_NAME} ${WRKSRC}/${LIPS}
276
# for DMPRT driver
277
	${ECHO_MSG} ">>>   extracting ${DMPRT_SRCS} ..."
278
	${TAR} -C ${WRKSRC}/src -xzf ${DISTDIR}/${DIST_SUBDIR}/${DMPRT_SRCS}
279
# for EPAG driver
280
	${ECHO_MSG} ">>>   extracting ${EPAG_SRCS} ..."
281
	${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${EPAG_SRCS}
282
# for EPLASER driver
283
	${ECHO_MSG} ">>>   extracting ${EPLASER_SRCS} ..."
284
	${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${EPLASER_SRCS}
285
	${LN} -sf ${EPLASER_NAME} ${WRKSRC}/${EPLASER}
286
# for MJC driver
287
	${ECHO_MSG} ">>>   extracting ${MJC_SRCS} ..."
288
	${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${MJC_SRCS}
289
	${LN} -sf ${MJC_NAME} ${WRKSRC}/${MJC}
290
# for NPDL driver
291
	${ECHO_MSG} ">>>   extracting ${NPDL_SRCS} ..."
292
	${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${NPDL_SRCS}
293
# for GDI driver
294
	${ECHO_MSG} ">>>   extracting ${GDI_SRCS} ..."
295
	${TAR} -C ${WRKSRC}/src -xzf ${DISTDIR}/${DIST_SUBDIR}/${GDI_SRCS}
175
296
176
post-patch:
297
post-patch:
177
	${PERL} -pi -e 's|^DEVICE_DEVS|#DEVICE_DEVS|g' \
298
	${PERL} -pi -e 's|^DEVICE_DEVS|#DEVICE_DEVS|g' \
178
		${WRKSRC}/src/unix-gcc.mak
299
		${WRKSRC}/src/unix-gcc.mak
179
	${PERL} -pi -e 's|\. de|\.|g' \
300
	${PERL} -pi -e 's|\. de|\.|g' \
180
		${WRKSRC}/src/unixinst.mak
301
		${WRKSRC}/src/unixinst.mak
302
	${PERL} -pi -e 's|%%DATADIR%%|${DATADIR}|g' \
303
		${WRKSRC}/lib/gs_res.ps
181
# for HPinkjet driver
304
# for HPinkjet driver
182
	${PERL} -pi -e 's|CFLAGS="-O2 -Wall"|CFLAGS="\$$CFLAGS"|g ; \
305
	${PERL} -pi -e 's|CFLAGS="-O2 -Wall"|CFLAGS="\$$CFLAGS"|g ; \
183
		 s|CXXFLAGS="-O2 -Wall"|CXXFLAGS="\$$CXXFLAGS"|g' \
306
		 s|CXXFLAGS="-O2 -Wall"|CXXFLAGS="\$$CXXFLAGS"|g' \
184
			${WRKSRC}/${HPIJS_NAME}/configure
307
			${WRKSRC}/${HPIJS_NAME}/configure
185
	${PERL} -pi -e 's|#include <malloc.h>||g' \
308
	${PERL} -pi -e 's|#include <malloc.h>||g' \
186
		${WRKSRC}/${HPIJS_NAME}/platform.h
309
		${WRKSRC}/${HPIJS_NAME}/platform.h
310
# for DMPRT driver
311
	${PERL} -pi -e 's|%%DATADIR%%|${DATADIR}|g ; \
312
		 s|%%GS_VERSION%%|${PORTVERSION}|g' \
313
			${WRKSRC}/src/dmp_site.ps
187
314
188
# here we apply the modifications necessary to build the 3rd party drivers
315
# here we apply the modifications necessary to build the 3rd party drivers
189
# advantage: you see unmodified makefiles after a pure make extract
316
# advantage: you see unmodified makefiles after a pure make extract
Lines 201-217 Link Here
201
	${ECHO_MSG} ">>>   adding ${PCL3} driver to contrib.mak ..."
328
	${ECHO_MSG} ">>>   adding ${PCL3} driver to contrib.mak ..."
202
	${CAT} ${WRKSRC}/${PCL3_NAME}/src/contrib.mak-7.00.add \
329
	${CAT} ${WRKSRC}/${PCL3_NAME}/src/contrib.mak-7.00.add \
203
		>> ${WRKSRC}/src/contrib.mak
330
		>> ${WRKSRC}/src/contrib.mak
204
# for HP DeskJet 970 driver
331
# for DJ970 driver
205
	${ECHO_MSG} ">>>   adding DJ970 driver to contrib.mak ..."
332
	${ECHO_MSG} ">>>   adding ${DJ970} driver to contrib.mak ..."
206
	${CAT} ${FILESDIR}/dj970.contrib.mak \
333
	${CAT} ${FILESDIR}/dj970.contrib.mak \
207
		>> ${WRKSRC}/src/contrib.mak
334
		>> ${WRKSRC}/src/contrib.mak
208
# for Gimp-Print driver
335
# for Gimp-Print driver
209
	${ECHO_MSG} ">>>   adding ${GPRINT} driver to contrib.mak ..."
336
	${ECHO_MSG} ">>>   adding ${GPRINT} driver to contrib.mak ..."
210
	${CAT} ${FILESDIR}/stp.contrib.mak \
337
	${CAT} ${FILESDIR}/stp.contrib.mak \
211
		>> ${WRKSRC}/src/contrib.mak
338
		>> ${WRKSRC}/src/contrib.mak
212
# for HPinkjet driver
339
# for MD2K driver
213
	${ECHO_MSG} ">>>   adding ${HPIJS} driver to contrib.mak ..."
340
	${ECHO_MSG} ">>>   adding ${MD2K} driver to contrib.mak ..."
214
	${CAT} ${FILESDIR}/hpijs.contrib.mak \
341
	${CAT} ${WRKSRC}/${MD2K_NAME}/gdevmd2k.mak-5.50 \
342
		>> ${WRKSRC}/src/contrib.mak
343
# for ALPS driver
344
	${ECHO_MSG} ">>>   adding ${ALPS} driver to contrib.mak ..."
345
	${CAT} ${WRKSRC}/${ALPS_NAME}/gdevalps.mak-5.50 \
346
		>> ${WRKSRC}/src/contrib.mak
347
# for BJ10V driver
348
	${ECHO_MSG} ">>>   adding ${BJ10V} driver to contrib.mak ..."
349
	${CAT} ${WRKSRC}/${BJ10V_NAME}/gdev10v.mak \
350
		>> ${WRKSRC}/src/contrib.mak
351
# for LIPS driver
352
	${ECHO_MSG} ">>>   adding ${LIPS} driver to contrib.mak ..."
353
	${CAT} ${WRKSRC}/${LIPS_NAME}/gdevlips.mak \
354
		>> ${WRKSRC}/src/contrib.mak
355
# for DMPRT driver
356
	${ECHO_MSG} ">>>   adding ${DMPRT} driver to contrib.mak ..."
357
	${CAT} ${WRKSRC}/src/gdevdmpr.mak \
358
		>> ${WRKSRC}/src/contrib.mak
359
# for EPAG driver
360
	${ECHO_MSG} ">>>   adding ${EPAG} driver to contrib.mak ..."
361
	${SED} -e 's:npdl:epag:g' ${WRKSRC}/${NPDL_NAME}/gdevnpdl.mak \
362
		>> ${WRKSRC}/src/contrib.mak
363
# for EPLASER driver
364
	${ECHO_MSG} ">>>   adding ${EPLASER} driver to contrib.mak ..."
365
	${CAT} ${WRKSRC}/${EPLASER_NAME}/gdevescv6.mak \
366
		>> ${WRKSRC}/src/contrib.mak
367
	${CAT} ${WRKSRC}/${EPLASER_NAME}/gdevesmv6.mak \
368
		>> ${WRKSRC}/src/contrib.mak
369
# for MJC driver
370
	${ECHO_MSG} ">>>   adding ${MJC} driver to contrib.mak ..."
371
	${CAT} ${WRKSRC}/${MJC_NAME}/gdevmjc.mak \
372
		>> ${WRKSRC}/src/contrib.mak
373
# for NPDL driver
374
	${ECHO_MSG} ">>>   adding ${NPDL} driver to contrib.mak ..."
375
	${CAT} ${WRKSRC}/${NPDL_NAME}/gdevnpdl.mak \
376
		>> ${WRKSRC}/src/contrib.mak
377
# for GDI driver
378
	${ECHO_MSG} ">>>   adding ${GDI} driver to contrib.mak ..."
379
	${CAT} ${FILESDIR}/gdi.contrib.mak \
215
		>> ${WRKSRC}/src/contrib.mak
380
		>> ${WRKSRC}/src/contrib.mak
216
381
217
do-configure:
382
do-configure:
Lines 225-231 Link Here
225
post-configure:
390
post-configure:
226
	${ECHO_MSG} ">>> in post-configure ..."
391
	${ECHO_MSG} ">>> in post-configure ..."
227
# for Gimp-Print driver
392
# for Gimp-Print driver
228
	${ECHO_MSG} ">>>   running configure script for ${GPRINT} driver ..."
393
	${ECHO_MSG} ">>>   running configure script for ${GPRINT} library ..."
229
	cd ${WRKSRC}/${GPRINT_NAME} ; \
394
	cd ${WRKSRC}/${GPRINT_NAME} ; \
230
		${SETENV} ${MAKE_ENV} ${SH} ./configure \
395
		${SETENV} ${MAKE_ENV} ${SH} ./configure \
231
			--without-cups --without-translated-ppds \
396
			--without-cups --without-translated-ppds \
Lines 235-241 Link Here
235
			--disable-nls --disable-shared \
400
			--disable-nls --disable-shared \
236
			--prefix=${PREFIX}
401
			--prefix=${PREFIX}
237
# for HPinkjet driver
402
# for HPinkjet driver
238
	${ECHO_MSG} ">>>   running configure script for ${HPIJS} driver ..."
403
	${ECHO_MSG} ">>>   running configure script for ${HPIJS} server ..."
239
	cd ${WRKSRC}/${HPIJS_NAME} ; \
404
	cd ${WRKSRC}/${HPIJS_NAME} ; \
240
		${SETENV} ${MAKE_ENV} ${SH} ./configure \
405
		${SETENV} ${MAKE_ENV} ${SH} ./configure \
241
			--prefix=${PREFIX}
406
			--prefix=${PREFIX}
Lines 245-304 Link Here
245
	${ECHO_MSG} ">>>   creating directories for compilation ..."
410
	${ECHO_MSG} ">>>   creating directories for compilation ..."
246
	${MKDIR} ${WRKSRC}/obj
411
	${MKDIR} ${WRKSRC}/obj
247
	${MKDIR} ${WRKSRC}/bin
412
	${MKDIR} ${WRKSRC}/bin
413
	${LN} -sf ${WRKSRC}/src/unix-gcc.mak ${WRKSRC}/Makefile
248
# for Gimp-Print driver
414
# for Gimp-Print driver
249
	${ECHO_MSG} ">>>   building ${GPRINT} library ..."
415
	${ECHO_MSG} ">>>   building ${GPRINT} library ..."
250
	cd ${WRKSRC}/${GPRINT_NAME} ; \
416
	cd ${WRKSRC}/${GPRINT_NAME} ; \
251
		${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} Makefile
417
		${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} Makefile
252
	${ECHO_MSG} ">>>   creating symlinks for ${GPRINT} ..."
418
	${ECHO_MSG} ">>>   creating symlinks for ${GPRINT} ..."
253
	${LN} -sf ${WRKSRC}/${GPRINT_NAME}/include/gimp-print \
254
		${WRKSRC}/src
255
	${LN} -sf ${WRKSRC}/${GPRINT_NAME}/src/ghost/*.[ch] \
419
	${LN} -sf ${WRKSRC}/${GPRINT_NAME}/src/ghost/*.[ch] \
256
		${WRKSRC}/src
420
		${WRKSRC}/src
421
	${MKDIR} ${WRKSRC}/${GPRINT}
422
	${LN} -sf ${WRKSRC}/${GPRINT_NAME}/include/gimp-print \
423
		${WRKSRC}/${GPRINT}/gimp-print
257
	${LN} -sf ${WRKSRC}/${GPRINT_NAME}/src/main/.libs/libgimpprint.a \
424
	${LN} -sf ${WRKSRC}/${GPRINT_NAME}/src/main/.libs/libgimpprint.a \
258
		${WRKSRC}/obj
425
		${WRKSRC}/${GPRINT}/libgimpprint.a
259
# for HPinkjet driver
426
# for HPinkjet driver
260
	${ECHO_MSG} ">>>   building ${HPIJS} server ..."
427
	${ECHO_MSG} ">>>   building ${HPIJS} server ..."
261
	cd ${WRKSRC}/${HPIJS_NAME} ; \
428
	cd ${WRKSRC}/${HPIJS_NAME} ; \
262
		${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} Makefile
429
		${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} Makefile
263
	${ECHO_MSG} ">>>   creating symlinks for ${HPIJS} ..."
430
# for MD2K driver
264
.for file in gdevijs.[ch] ijs.[ch] ijs_client.[ch] ijs_exec_unix.c unistd_.h
431
	${ECHO_MSG} ">>>   creating symlinks for ${MD2K} ..."
265
	${LN} -sf ${WRKSRC}/${HPIJS_NAME}/${file} \
432
.for i in gdevmd2k.c
266
		${WRKSRC}/src
433
	${LN} -sf ${WRKSRC}/${MD2K_NAME}/${i} ${WRKSRC}/src
434
.endfor
435
# for ALPS driver
436
	${ECHO_MSG} ">>>   creating symlinks for ${ALPS} ..."
437
.for i in gdevalps.c
438
	${LN} -sf ${WRKSRC}/${ALPS_NAME}/${i} ${WRKSRC}/src
439
.endfor
440
# for BJ10V driver
441
	${ECHO_MSG} ">>>   creating symlinks for ${BJ10V} ..."
442
.for i in gdev10v.c
443
	${LN} -sf ${WRKSRC}/${BJ10V_NAME}/${i} ${WRKSRC}/src
444
.endfor
445
# for LIPS driver
446
	${ECHO_MSG} ">>>   creating symlinks for ${LIPS} ..."
447
.for i in gdevlips.[ch] gdevlprn.[ch] gdevl4r.c gdevl4v.c gdevespg.c gdevrpdl.c
448
	${LN} -sf ${WRKSRC}/${LIPS_NAME}/${i} ${WRKSRC}/src
449
.endfor
450
# for EPAG driver
451
	${ECHO_MSG} ">>>   building ${EPAG} utility ..."
452
	cd ${WRKSRC}/${EPAG_NAME} ; \
453
		${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} Makefile
454
	${ECHO_MSG} ">>>   creating symlinks for ${EPAG} ..."
455
.for i in gdevepag.c
456
	${LN} -sf ${WRKSRC}/${EPAG_NAME}/${i} ${WRKSRC}/src
457
.endfor
458
# for EPLASER driver
459
	${ECHO_MSG} ">>>   creating symlinks for ${EPLASER} ..."
460
.for i in gdevescv.[ch] gdevesmv.c
461
	${LN} -sf ${WRKSRC}/${EPLASER_NAME}/${i} ${WRKSRC}/src
462
.endfor
463
# for MJC driver
464
	${ECHO_MSG} ">>>   creating symlinks for ${MJC} ..."
465
.for i in gdevmjc.c mjbarrie.c mjbksep.c mjespdtc.c mjespdtm.c mjespdty.c \
466
	mjgrnsp.c mjgrnsp2.c mjhtocmy.c mjmtx2.c mjvtbl.c
467
	${LN} -sf ${WRKSRC}/${MJC_NAME}/${i} ${WRKSRC}/src
468
.endfor
469
# for NPDL driver
470
	${ECHO_MSG} ">>>   creating symlinks for ${NPDL} ..."
471
.for i in gdevnpdl.c
472
	${LN} -sf ${WRKSRC}/${NPDL_NAME}/${i} ${WRKSRC}/src
267
.endfor
473
.endfor
268
474
269
pre-install:
475
pre-install:
270
	${ECHO_MSG} ">>> in pre-install ..."
476
	${ECHO_MSG} ">>> in pre-install ..."
271
	${ECHO_MSG} ">>>   creating ghostscript destdir ..."
477
	${ECHO_MSG} ">>>   creating ghostscript destdir ..."
272
	${MKDIR} ${DATADIR}
478
	${MKDIR} ${DATADIR}
273
	${ECHO_MSG} ">>>   extracting ghostscript fonts..."
479
	${ECHO_MSG} ">>>   extracting ghostscript fonts ..."
274
	${TAR} -C ${DATADIR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${GS_FONTS_STD}
480
	${TAR} -C ${DATADIR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${GS_FONTS_STD}
275
	${TAR} -C ${DATADIR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${GS_FONTS_OTHER}
481
	${TAR} -C ${DATADIR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${GS_FONTS_OTHER}
276
482
277
post-install:
483
post-install:
278
	${ECHO_MSG} ">>> in post-install ..."
484
	${ECHO_MSG} ">>> in post-install ..."
279
	${ECHO_MSG} ">>>   stripping gs ..."
485
	${ECHO_MSG} ">>>   stripping gs ..."
280
	strip ${PREFIX}/bin/gs
486
.if defined(WITH_SHLIB)
487
	${STRIP_CMD} ${PREFIX}/bin/gsc ${PREFIX}/bin/gsx
488
	${LN} -sf gsc ${PREFIX}/bin/gs
489
.else
490
	${STRIP_CMD} ${PREFIX}/bin/gs
491
.endif
281
# for HPDJ driver
492
# for HPDJ driver
282
	${ECHO_MSG} ">>>   installing ${HPDJ} manpages ..."
493
	${ECHO_MSG} ">>>   installing ${HPDJ} manpages ..."
283
.for i in ${HPDJ_MAN1}
494
.for i in ${HPDJ_MAN1}
284
	${INSTALL_MAN} ${WRKSRC}/src/${i} ${PREFIX}/man/man1
495
	${INSTALL_MAN} ${WRKSRC}/src/${i} ${MANPREFIX}/man/man1
285
.endfor
496
.endfor
286
	${ECHO_MSG} ">>>   creating ${HPDJ} destdir ..."
497
	${ECHO_MSG} ">>>   creating ${HPDJ} destdir ..."
287
	${MKDIR} ${DATADIR}/${PORTVERSION}/hpdj
498
	${MKDIR} ${DATADIR}/${PORTVERSION}/${HPDJ}
288
	${ECHO_MSG} ">>>   installing files in ${HPDJ} destdir ..."
499
	${ECHO_MSG} ">>>   installing files in ${HPDJ} destdir ..."
289
.for i in README.hpdj example.mdf margins-A4.ps margins-A4Rotated.ps \
500
.for i in README.hpdj example.mdf margins-A4.ps margins-A4Rotated.ps \
290
	margins-Letter.ps margins-LetterRotated.ps
501
	margins-Letter.ps margins-LetterRotated.ps
291
	${INSTALL_DATA} ${WRKSRC}/src/${i} \
502
	${INSTALL_DATA} ${WRKSRC}/src/${i} \
292
		${DATADIR}/${PORTVERSION}/hpdj
503
		${DATADIR}/${PORTVERSION}/${HPDJ}
293
.endfor
504
.endfor
294
# for PCL3 driver
505
# for PCL3 driver
506
	${ECHO_MSG} ">>>   installing ${PCL3} utility in bindir ..."
507
	${INSTALL_PROGRAM} ${WRKSRC}/bin/pcl3opts ${PREFIX}/bin
295
	${ECHO_MSG} ">>>   installing ${PCL3} manpages ..."
508
	${ECHO_MSG} ">>>   installing ${PCL3} manpages ..."
296
.for i in ${PCL3_MAN1}
509
.for i in ${PCL3_MAN1}
297
	${INSTALL_MAN} ${WRKSRC}/${PCL3_NAME}/doc/${i} ${PREFIX}/man/man1
510
	${INSTALL_MAN} ${WRKSRC}/${PCL3_NAME}/doc/${i} ${MANPREFIX}/man/man1
298
.endfor
511
.endfor
299
# other pcl3 stuff, which might be interesting for runtime
512
# other pcl3 stuff, which might be interesting for runtime
300
	${ECHO_MSG} ">>>   creating ${PCL3} destdir ..."
513
	${ECHO_MSG} ">>>   creating ${PCL3} destdir ..."
301
	${MKDIR} ${DATADIR}/${PORTVERSION}/pcl3
514
	${MKDIR} ${DATADIR}/${PORTVERSION}/${PCL3}
302
	${ECHO_MSG} ">>>   installing files in ${PCL3} destdir ..."
515
	${ECHO_MSG} ">>>   installing files in ${PCL3} destdir ..."
303
.for i in NEWS BUGS README lib/example.mcf lib/if-pcl3 ps/calign.ps \
516
.for i in NEWS BUGS README lib/example.mcf lib/if-pcl3 ps/calign.ps \
304
	ps/dumppdd.ps ps/levels-test.ps ps/margins-A4.ps \
517
	ps/dumppdd.ps ps/levels-test.ps ps/margins-A4.ps \
Lines 306-363 Link Here
306
	ps/margins-EnvDLRotated.ps ps/margins-Letter.ps \
519
	ps/margins-EnvDLRotated.ps ps/margins-Letter.ps \
307
	ps/margins-LetterRotated.ps
520
	ps/margins-LetterRotated.ps
308
	${INSTALL_DATA} ${WRKSRC}/${PCL3_NAME}/${i} \
521
	${INSTALL_DATA} ${WRKSRC}/${PCL3_NAME}/${i} \
309
		${DATADIR}/${PORTVERSION}/pcl3
522
		${DATADIR}/${PORTVERSION}/${PCL3}
310
.endfor
311
# for Gimp-Print driver
312
	${ECHO_MSG} ">>>   creating ${GPRINT} destdir ..."
313
	${MKDIR} ${DATADIR}/${PORTVERSION}/gimp-print
314
	${ECHO_MSG} ">>>   installing files in ${GPRINT} destdir ..."
315
.for i in README
316
	${INSTALL_DATA} ${WRKSRC}/${GPRINT_NAME}/src/ghost/${i} \
317
		${DATADIR}/${PORTVERSION}/gimp-print
318
.endfor
523
.endfor
319
# for HPinkjet driver
524
# for HPinkjet driver
320
	${ECHO_MSG} ">>>   installing ${HPIJS} server in bindir ..."
525
	${ECHO_MSG} ">>>   installing ${HPIJS} server in bindir ..."
321
	${INSTALL_PROGRAM} ${WRKSRC}/${HPIJS_NAME}/hpijs ${PREFIX}/bin
526
	${INSTALL_PROGRAM} ${WRKSRC}/${HPIJS_NAME}/hpijs ${PREFIX}/bin
322
	${ECHO_MSG} ">>>   creating ${HPIJS} destdir ..."
527
# for DMPRT driver
323
	${MKDIR} ${DATADIR}/${PORTVERSION}/hpijs
528
	${ECHO_MSG} ">>>   installing ${DMPRT} resources ..."
324
	${ECHO_MSG} ">>>   installing files in ${HPIJS} destdir ..."
529
.for i in dmp_init.ps dmp_site.ps escp_24.src
325
.for i in hpijs_readme.html gs_hpijs.png printerdb_append append_db.sh
530
	${INSTALL_DATA} ${WRKSRC}/src/${i} \
326
	${INSTALL_DATA} ${WRKSRC}/${HPIJS_NAME}/${i} \
531
		${DATADIR}/${PORTVERSION}/lib
327
		${DATADIR}/${PORTVERSION}/hpijs
328
.endfor
532
.endfor
533
# for EPAG driver
534
	${ECHO_MSG} ">>>   installing ${EPAG} utility in bindir ..."
535
	${INSTALL_PROGRAM} ${WRKSRC}/${EPAG_NAME}/ert ${PREFIX}/bin
329
# contributed UPP driver
536
# contributed UPP driver
330
	${ECHO_MSG} ">>> installing contributed UPP profiles ..."
537
	${ECHO_MSG} ">>> installing contributed UPP profiles ..."
331
.for i in ${CONTRIB_UPP}
538
.for i in ${CONTRIB_UPP}
332
	${INSTALL_DATA} ${FILESDIR}/${i} \
539
	${INSTALL_DATA} ${FILESDIR}/${i} \
333
		${DATADIR}/${PORTVERSION}/lib
540
		${DATADIR}/${PORTVERSION}/lib
334
.endfor
541
.endfor
335
# for reading encrypted PDFs
336
	${ECHO_MSG} ">>> installing support for encrypted PDF files ..."
337
	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${DECRYPT_PDF} \
338
		${DATADIR}/${PORTVERSION}/lib
339
#
542
#
340
# now NOPORTDOCS dependend stuff
543
# now NOPORTDOCS dependend stuff
341
#
544
#
342
.if !defined(NOPORTDOCS)
545
.if !defined(NOPORTDOCS)
343
	${ECHO_MSG} ">>> installing PORTDOC stuff ..."
546
	${ECHO_MSG} ">>> installing PORTDOC stuff ..."
344
# install hpdj docu, not necessary for runtime
547
	${MKDIR} ${DOCSDIR}/${PORTVERSION}
345
# note: old hpdj driver has its files in ${WRKSRC}/src
548
# for HPDJ driver
346
	${ECHO_MSG} ">>>   creating ${HPDJ} docu destdir ..."
549
	${ECHO_MSG} ">>>   installing ${HPDJ} docs ..."
347
	${MKDIR} ${DOCSDIR}/${PORTVERSION}/hpdj
550
	${MKDIR} ${DOCSDIR}/${PORTVERSION}/${HPDJ}
348
	${ECHO_MSG} ">>>   installing files in ${HPDJ} docu destdir ..."
349
.for i in NEWS hpdj.html
551
.for i in NEWS hpdj.html
350
	${INSTALL_DATA} ${WRKSRC}/src/${i} \
552
	${INSTALL_DATA} ${WRKSRC}/src/${i} \
351
		${DOCSDIR}/${PORTVERSION}/hpdj
553
		${DOCSDIR}/${PORTVERSION}/${HPDJ}
352
.endfor
554
.endfor
353
# install pcl3 docu, not necessary for runtime
555
# for PCL3 driver
354
# note: new pcl3 driver has a subdir of its own
556
	${ECHO_MSG} ">>>   installing ${PCL3} docs ..."
355
	${ECHO_MSG} ">>>   creating ${PCL3} docu destdir ..."
557
	${MKDIR} ${DOCSDIR}/${PORTVERSION}/${PCL3}
356
	${MKDIR} ${DOCSDIR}/${PORTVERSION}/pcl3
357
	${ECHO_MSG} ">>>   installing files in ${PCL3} docu destdir ..."
358
.for i in NEWS doc/gs-pcl3.html doc/how-to-report.txt doc/pcl3opts.html
558
.for i in NEWS doc/gs-pcl3.html doc/how-to-report.txt doc/pcl3opts.html
359
	${INSTALL_DATA} ${WRKSRC}/${PCL3_NAME}/${i} \
559
	${INSTALL_DATA} ${WRKSRC}/${PCL3_NAME}/${i} \
360
		${DOCSDIR}/${PORTVERSION}/pcl3
560
		${DOCSDIR}/${PORTVERSION}/${PCL3}
561
.endfor
562
# for Gimp-Print driver
563
	${ECHO_MSG} ">>>   installing ${GPRINT} docs ..."
564
	${MKDIR} ${DOCSDIR}/${PORTVERSION}/${GPRINT}
565
.for i in README
566
	${INSTALL_DATA} ${WRKSRC}/${GPRINT_NAME}/src/ghost/${i} \
567
		${DOCSDIR}/${PORTVERSION}/${GPRINT}
568
.endfor
569
# for HPinkjet driver
570
	${ECHO_MSG} ">>>   installing ${HPIJS} docs ..."
571
	${MKDIR} ${DOCSDIR}/${PORTVERSION}/${HPIJS}
572
.for i in hpijs_readme.html gs_hpijs.png
573
	${INSTALL_DATA} ${WRKSRC}/${HPIJS_NAME}/${i} \
574
		${DOCSDIR}/${PORTVERSION}/${HPIJS}
575
.endfor
576
# for MD2K driver
577
	${ECHO_MSG} ">>>   installing ${MD2K} docs ..."
578
	${MKDIR} ${DOCSDIR}/${PORTVERSION}/${MD2K}
579
.for i in README.jis
580
	${INSTALL_DATA} ${WRKSRC}/${MD2K_NAME}/${i} \
581
		${DOCSDIR}/${PORTVERSION}/${MD2K}
582
.endfor
583
# for ALPS driver
584
	${ECHO_MSG} ">>>   installing ${ALPS} docs ..."
585
	${MKDIR} ${DOCSDIR}/${PORTVERSION}/${ALPS}
586
.for i in README.gdevalps
587
	${INSTALL_DATA} ${WRKSRC}/${ALPS_NAME}/${i} \
588
		${DOCSDIR}/${PORTVERSION}/${ALPS}
589
.endfor
590
# for BJ10V driver
591
	${ECHO_MSG} ">>>   installing ${BJ10V} docs ..."
592
	${MKDIR} ${DOCSDIR}/${PORTVERSION}/${BJ10V}
593
.for i in gdev10v.jis
594
	${INSTALL_DATA} ${WRKSRC}/${BJ10V_NAME}/${i} \
595
		${DOCSDIR}/${PORTVERSION}/${BJ10V}
596
.endfor
597
# for LIPS driver
598
	${ECHO_MSG} ">>>   installing ${LIPS} docs ..."
599
	${MKDIR} ${DOCSDIR}/${PORTVERSION}/${LIPS}
600
.for i in Gdevlips.htm
601
	${INSTALL_DATA} ${WRKSRC}/${LIPS_NAME}/${i} \
602
		${DOCSDIR}/${PORTVERSION}/${LIPS}
603
.endfor
604
# for DMPRT driver
605
	${ECHO_MSG} ">>>   installing ${DMPRT} docs ..."
606
	${MKDIR} ${DOCSDIR}/${PORTVERSION}/${DMPRT}
607
.for i in gdevdmpr.sj
608
	${INSTALL_DATA} ${WRKSRC}/src/${i} \
609
		${DOCSDIR}/${PORTVERSION}/${DMPRT}
610
.endfor
611
# for EPAG driver
612
	${ECHO_MSG} ">>>   installing ${EPAG} docs ..."
613
	${MKDIR} ${DOCSDIR}/${PORTVERSION}/${EPAG}
614
.for i in ert.txt gdevepag.txt ChangeLog
615
	${INSTALL_DATA} ${WRKSRC}/${EPAG_NAME}/${i} \
616
		${DOCSDIR}/${PORTVERSION}/${EPAG}
617
.endfor
618
.for i in psprint gsepagif.sh
619
	${INSTALL_SCRIPT} ${WRKSRC}/${EPAG_NAME}/${i} \
620
		${DOCSDIR}/${PORTVERSION}/${EPAG}
621
.endfor
622
# for EPLASER driver
623
	${ECHO_MSG} ">>>   installing ${EPLASER} docs ..."
624
	${MKDIR} ${DOCSDIR}/${PORTVERSION}/${EPLASER}
625
.for i in readme-eplaser-651.euc
626
	${INSTALL_DATA} ${WRKSRC}/${EPLASER_NAME}/${i} \
627
		${DOCSDIR}/${PORTVERSION}/${EPLASER}
628
.endfor
629
# for MJC driver
630
	${ECHO_MSG} ">>>   installing ${MJC} docs ..."
631
	${MKDIR} ${DOCSDIR}/${PORTVERSION}/${MJC}
632
.for i in MJ700V2C.FAQ README.mjc README.mje README.noz cpem.doc
633
	${INSTALL_DATA} ${WRKSRC}/${MJC_NAME}/${i} \
634
		${DOCSDIR}/${PORTVERSION}/${MJC}
635
.endfor
636
# for NPDL driver
637
	${ECHO_MSG} ">>>   installing ${NPDL} docs ..."
638
	${MKDIR} ${DOCSDIR}/${PORTVERSION}/${NPDL}
639
.for i in gdevnpdl.jis
640
	${INSTALL_DATA} ${WRKSRC}/${NPDL_NAME}/${i} \
641
		${DOCSDIR}/${PORTVERSION}/${NPDL}
361
.endfor
642
.endfor
362
.endif
643
.endif
363
	${ECHO_MSG} "> post-installation tasks completed."
644
	${ECHO_MSG} "> post-installation tasks completed."
(-)print/ghostscript-afpl/distinfo (-11 lines)
Lines 1-11 Link Here
1
MD5 (ghostscript/ghostscript-7.03.tar.gz) = d9b5c31e0df09db9c439eec01c077532
2
MD5 (ghostscript/ghostscript-fonts-std-6.0.tar.gz) = 8250132d6fcc6eb1419f505f06c7690b
3
MD5 (ghostscript/ghostscript-fonts-other-6.0.tar.gz) = 1a643ae62ef166562e4d422b1a601272
4
MD5 (ghostscript/pdf_sec.ps) = 92cd6af5b4d7219e91e61b8351f0f7c4
5
MD5 (ghostscript/gdevcd8.tar.gz) = 5ce48bff6082a023199c8ede4aae63a0
6
MD5 (ghostscript/hpdj-2.6.tar.gz) = dcc402281f36afd2041144e0e97917be
7
MD5 (ghostscript/pcl3-3.3.tar.gz) = 34e664c2a98b847598f8441f8cac7ab6
8
MD5 (ghostscript/gdevdj9.c.gz) = f09ef883b8ba837fb42c608c01af7375
9
MD5 (ghostscript/gdevdj9.c.gz) = 3a9c20c34b79ffab434abfbcc31d1c27
10
MD5 (ghostscript/gimp-print-4.2.0.tar.gz) = 4350e2ac1f27eccad0d7ce2aab90cdf6
11
MD5 (ghostscript/hpijs-1.0.2.tar.gz) = 750923f29a5b70551ddea1d91b819cfa
(-)print/ghostscript-afpl/files/gdi.contrib.mak (+12 lines)
Line 0 Link Here
1
### ---------------- The Samsung SmartGDI laser printer devices --------- ###
2
### Note : this driver is used by Samsung SmartGDI compatible printers.   ###
3
###
4
5
GDIMONO=$(GLOBJ)gdevgdi.$(OBJ) $(HPPCL)
6
7
$(GLOBJ)gdevgdi.$(OBJ): $(GLSRC)gdevgdi.c $(PDEVH) $(gsparam_h)
8
	$(GLCC) $(GLO_)gdevgdi.$(OBJ) $(C_) $(GLSRC)gdevgdi.c
9
10
$(DD)gdi.dev: $(GDIMONO) $(DD)page.dev
11
	$(SETPDEV) $(DD)gdi $(GDIMONO)
12
(-)print/ghostscript-afpl/files/hpijs.contrib.mak (-19 lines)
Lines 1-19 Link Here
1
### ------------- IJS Interface -------------- ###
2
3
ijs_=$(GLOBJ)gdevijs.$(OBJ) $(GLOBJ)ijs_client.$(OBJ) $(GLOBJ)ijs_exec_unix.$(OBJ) $(GLOBJ)ijs.$(OBJ)
4
5
$(GLOBJ)ijs_client.$(OBJ) : $(GLSRC)ijs_client.c $(PDEVH)
6
	$(GLCC) $(GLO_)ijs_client.$(OBJ) $(C_) $(GLSRC)ijs_client.c
7
8
$(GLOBJ)ijs_exec_unix.$(OBJ) : $(GLSRC)ijs_exec_unix.c $(PDEVH)
9
	$(GLCC) $(GLO_)ijs_exec_unix.$(OBJ) $(C_) $(GLSRC)ijs_exec_unix.c
10
11
$(GLOBJ)ijs.$(OBJ) : $(GLSRC)ijs.c $(PDEVH)
12
	$(GLCC) $(GLO_)ijs.$(OBJ) $(C_) $(GLSRC)ijs.c
13
14
$(GLOBJ)gdevijs.$(OBJ) : $(GLSRC)gdevijs.c $(PDEVH)
15
	$(GLCC) $(GLO_)gdevijs.$(OBJ) $(C_) $(GLSRC)gdevijs.c
16
17
$(DD)ijs.dev : $(ijs_) $(DD)page.dev
18
	$(SETPDEV) $(DD)ijs $(ijs_)
19
(-)print/ghostscript-afpl/files/patch-alps:gdevalps.mak (+25 lines)
Line 0 Link Here
1
--- alps/gdevalps.mak-5.50.orig	Sat Jan 12 13:21:12 2002
2
+++ alps/gdevalps.mak-5.50	Sat Jan 12 13:23:45 2002
3
@@ -2,15 +2,15 @@
4
 
5
 alps_=$(GLOBJ)gdevalps.$(OBJ)
6
 
7
-md50Mono.dev: $(alps_) page.dev
8
-	$(SETPDEV) md50Mono $(alps_)
9
+$(DD)md50Mono.dev: $(alps_) $(DD)page.dev
10
+	$(SETPDEV) $(DD)md50Mono $(alps_)
11
 
12
-md50Eco.dev: $(alps_) page.dev
13
-	$(SETPDEV) md50Eco $(alps_)
14
+$(DD)md50Eco.dev: $(alps_) $(DD)page.dev
15
+	$(SETPDEV) $(DD)md50Eco $(alps_)
16
 
17
-md1xMono.dev: $(alps_) page.dev
18
-	$(SETPDEV) md1xMono $(alps_)
19
+$(DD)md1xMono.dev: $(alps_) $(DD)page.dev
20
+	$(SETPDEV) $(DD)md1xMono $(alps_)
21
 
22
-$(GLOBJ)gdevalps.$(OBJ): $(GLSRC)gdevalps.c $(PDEVH)
23
+$(GLOBJ)gdevalps.$(OBJ): $(GLSRC)gdevalps.c  $(gdevprn_h) $(PDEVH)
24
 	$(GLCC) $(GLO_)gdevalps.$(OBJ) $(C_) $(GLSRC)gdevalps.c
25
 
(-)print/ghostscript-afpl/files/patch-eplaser:gdevescv.c (+43 lines)
Line 0 Link Here
1
--- eplaser/gdevescv.c.orig	Fri Dec 21 15:50:22 2001
2
+++ eplaser/gdevescv.c	Fri Mar 15 04:27:39 2002
3
@@ -1760,13 +1760,13 @@
4
 
5
 /* Process the next piece of an image. */
6
 private int
7
-#if GS_VERSION_MAJOR == 6
8
+#if GS_VERSION_MAJOR >= 6
9
 escv_image_plane_data(gx_image_enum_common_t *info, const gx_image_plane_t *planes, int height, int *rows_used)
10
 #else
11
 escv_image_plane_data(gx_device *dev, gx_image_enum_common_t *info, const gx_image_plane_t *planes, int height)
12
 #endif
13
 {
14
-#if GS_VERSION_MAJOR == 6
15
+#if GS_VERSION_MAJOR >= 6
16
     gx_device *dev = info->dev;
17
 #endif
18
     gx_device_vector *const	vdev = (gx_device_vector *) dev;
19
@@ -1784,7 +1784,7 @@
20
 
21
     {
22
 
23
-#if GS_VERSION_MAJOR == 6
24
+#if GS_VERSION_MAJOR >= 6
25
 	if (height == 260)
26
 	    height = 1;
27
 #endif
28
@@ -1922,13 +1922,13 @@
29
 
30
 
31
 private int
32
-#if GS_VERSION_MAJOR == 6
33
+#if GS_VERSION_MAJOR >= 6
34
 escv_image_end_image(gx_image_enum_common_t * info, bool draw_last)
35
 #else
36
 escv_image_end_image(gx_device *dev, gx_image_enum_common_t * info, bool draw_last)
37
 #endif
38
 {
39
-#if GS_VERSION_MAJOR == 6
40
+#if GS_VERSION_MAJOR >= 6
41
     gx_device *dev = info->dev;
42
 #endif
43
     gx_device_vector		*const vdev = (gx_device_vector *) dev;
(-)print/ghostscript-afpl/files/patch-eplaser:gdevesmv.c (+43 lines)
Line 0 Link Here
1
--- eplaser/gdevesmv.c.orig	Fri Dec 14 10:50:14 2001
2
+++ eplaser/gdevesmv.c	Fri Mar 15 04:28:41 2002
3
@@ -1799,13 +1799,13 @@
4
 
5
 /* Process the next piece of an image. */
6
 private int
7
-#if GS_VERSION_MAJOR == 6
8
+#if GS_VERSION_MAJOR >= 6
9
 esmv_image_plane_data(gx_image_enum_common_t *info, const gx_image_plane_t *planes, int height, int *rows_used)
10
 #else
11
 esmv_image_plane_data(gx_device *dev, gx_image_enum_common_t *info, const gx_image_plane_t *planes, int height)
12
 #endif
13
 {
14
-#if GS_VERSION_MAJOR == 6
15
+#if GS_VERSION_MAJOR >= 6
16
     gx_device *dev = info->dev;
17
 #endif
18
     gx_device_vector *const	vdev = (gx_device_vector *) dev;
19
@@ -1823,7 +1823,7 @@
20
 
21
     {
22
 
23
-#if GS_VERSION_MAJOR == 6
24
+#if GS_VERSION_MAJOR >= 6
25
 	if (height == 260)
26
 	    height = 1;
27
 #endif
28
@@ -1980,13 +1980,13 @@
29
 
30
 
31
 private int
32
-#if GS_VERSION_MAJOR == 6
33
+#if GS_VERSION_MAJOR >= 6
34
 esmv_image_end_image(gx_image_enum_common_t * info, bool draw_last)
35
 #else
36
 esmv_image_end_image(gx_device * dev, gx_image_enum_common_t * info, bool draw_last)
37
 #endif
38
 {
39
-#if GS_VERSION_MAJOR == 6
40
+#if GS_VERSION_MAJOR >= 6
41
     gx_device *dev = info->dev;
42
 #endif
43
     gx_device_vector		*const vdev = (gx_device_vector *) dev;
(-)print/ghostscript-afpl/files/patch-gdev10v:gdev10v.mak (+22 lines)
Line 0 Link Here
1
--- gdev10v/gdev10v.mak.orig	Thu Oct 12 11:17:50 2000
2
+++ gdev10v/gdev10v.mak	Thu Oct 12 11:21:12 2000
3
@@ -1,12 +1,13 @@
4
 ### ----------------- The Canon BubbleJet BJ10v device ----------------- ###
5
 
6
-bj10v_=gdev10v.$(OBJ) gdevprn.$(OBJ)
7
-bj10v.dev: $(bj10v_)
8
-	$(SHP)gssetdev bj10v $(bj10v_)
9
-bj10vh.dev: $(bj10v_)
10
-	$(SHP)gssetdev bj10vh $(bj10v_)
11
+bj10v_=$(GLOBJ)gdev10v.$(OBJ) $(GLOBJ)gdevprn.$(OBJ)
12
+$(DD)bj10v.dev: $(bj10v_) $(DD)page.dev
13
+	$(SETPDEV) $(DD)bj10v $(bj10v_)
14
+$(DD)bj10vh.dev: $(bj10v_) $(DD)page.dev
15
+	$(SETPDEV) $(DD)bj10vh $(bj10v_)
16
 
17
 # Uncomment the following line if you are using MS-DOS on PC9801 series.
18
 
19
-gdev10v.$(OBJ): gdevbj10.c $(PDEVH)
20
+$(GLOBJ)gdev10v.$(OBJ): $(GLSRC)gdevbj10.c $(PDEVH)
21
+	$(GLCC) $(GLO_)gdev10v.$(OBJ) $(C_) $(GLSRC)gdev10v.c
22
 #	$(CCC) -DPC9801 gdev10v.c
(-)print/ghostscript-afpl/files/patch-lib:gs_init.ps (-5 / +5 lines)
Lines 1-6 Link Here
1
--- lib/gs_init.ps.orig	Mon Apr  9 15:20:03 2001
1
--- lib/gs_init.ps.orig	Fri Feb  1 12:25:45 2002
2
+++ lib/gs_init.ps	Wed Jun 20 04:05:12 2001
2
+++ lib/gs_init.ps	Sat Feb  9 01:42:10 2002
3
@@ -1263,7 +1263,7 @@
3
@@ -1274,7 +1274,7 @@
4
 % Set the default screen and BG/UCR.
4
 % Set the default screen and BG/UCR.
5
 /.setdefaultbgucr {
5
 /.setdefaultbgucr {
6
   systemdict /setblackgeneration known {
6
   systemdict /setblackgeneration known {
Lines 9-16 Link Here
9
   } if
9
   } if
10
 } bind def
10
 } bind def
11
 /.useloresscreen {	% - .useloresscreen <bool>
11
 /.useloresscreen {	% - .useloresscreen <bool>
12
@@ -1815,3 +1815,7 @@
12
@@ -1874,3 +1874,7 @@
13
 (END GC) VMDEBUG
13
 userdict /AGM_preserve_spots false put
14
 
14
 
15
 % The interpreter will run the initial procedure (start).
15
 % The interpreter will run the initial procedure (start).
16
+
16
+
(-)print/ghostscript-afpl/files/patch-lib:gs_res.ps (+13 lines)
Line 0 Link Here
1
--- lib/gs_res.ps.orig	Mon Jul 16 01:09:41 2001
2
+++ lib/gs_res.ps	Fri Feb  8 07:12:09 2002
3
@@ -248,8 +248,8 @@
4
   /pssystemparams 10 dict readonly def
5
 } if
6
 pssystemparams begin
7
-  /FontResourceDir (/Resource/Font/) readonly .forcedef	% pssys'params is r-o
8
-  /GenericResourceDir (/Resource/) readonly .forcedef	% pssys'params is r-o
9
+  /FontResourceDir (%%DATADIR%%/Resource/Font/) readonly .forcedef	% pssys'params is r-o
10
+  /GenericResourceDir (%%DATADIR%%/Resource/) readonly .forcedef	% pssys'params is r-o
11
   /GenericResourcePathSep (/) readonly .forcedef	% pssys'params is r-o
12
 end
13
 end
(-)print/ghostscript-afpl/files/patch-lips:gdevlips.mak (+18 lines)
Line 0 Link Here
1
--- lips/gdevlips.mak.orig	Thu Nov  2 12:12:13 2000
2
+++ lips/gdevlips.mak	Wed Feb 13 07:29:36 2002
3
@@ -43,15 +43,6 @@
4
 $(GLOBJ)lp2000.dev: $(escpage_) $(DD)page.dev
5
 	$(SETPDEV) $(DD)lp2000 $(escpage_)
6
 
7
-### --- The NEC NPDL language printer device ------ ###
8
-
9
-npdl_=$(GLOBJ)gdevnpdl.$(OBJ) $(GLOBJ)gdevlprn.$(OBJ)
10
-$(GLOBJ)gdevnpdl.$(OBJ): $(GLSRC)gdevnpdl.c $(GLSRC)gdevlprn.h $(PDEVH)
11
-	$(GLCC) -DA4 $(GLO_)gdevnpdl.$(OBJ) $(C_) $(GLSRC)gdevnpdl.c
12
-
13
-$(GLOBJ)npdl.dev: $(npdl_) $(DD)page.dev
14
-	$(SETPDEV) $(DD)npdl $(npdl_)
15
-	
16
 ### --- The RICOH RPDL language printer device ------ ###
17
 
18
 rpdl_=$(GLOBJ)gdevrpdl.$(OBJ) $(GLOBJ)gdevlprn.$(OBJ)
(-)print/ghostscript-afpl/files/patch-md2k:gdevmd2k.mak (+19 lines)
Line 0 Link Here
1
--- md2k/gdevmd2k.mak-5.50.orig	Sun Nov 19 18:42:20 2000
2
+++ md2k/gdevmd2k.mak-5.50	Sun Nov 19 18:52:14 2000
3
@@ -3,11 +3,11 @@
4
 
5
 md2k_=$(GLOBJ)gdevmd2k.$(OBJ)
6
 
7
-md2k.dev: $(md2k_) page.dev
8
-	$(SETPDEV) md2k $(md2k_)
9
+$(DD)md2k.dev: $(md2k_) $(DD)page.dev
10
+	$(SETPDEV) $(DD)md2k $(md2k_)
11
 
12
-md5k.dev: $(md2k_) page.dev
13
-	$(SETPDEV) md5k $(md2k_)
14
+$(DD)md5k.dev: $(md2k_) $(DD)page.dev
15
+	$(SETPDEV) $(DD)md5k $(md2k_)
16
 
17
-$(GLOBJ)gdevmd2k.$(OBJ): gdevmd2k.c $(PDEVH) $(gsparam_h)
18
+$(GLOBJ)gdevmd2k.$(OBJ): $(GLSRC)gdevmd2k.c $(PDEVH) $(gsparam_h)
19
 	$(GLCC) $(GLO_)gdevmd2k.$(OBJ) $(C_) $(GLSRC)gdevmd2k.c
(-)print/ghostscript-afpl/files/patch-mjc:gdevmjc.c (+335 lines)
Line 0 Link Here
1
--- mjc/gdevmjc.c.orig	Tue May 23 19:16:52 2000
2
+++ mjc/gdevmjc.c	Tue May 23 19:17:44 2000
3
@@ -43,7 +43,8 @@
4
 #include <limits.h>
5
 #include "gdevprn.h"
6
 #include "gdevpcl.h"
7
-#include "gsprops.h"
8
+#include "gsparam.h"
9
+#include "gsstate.h"
10
 
11
 #include "mjmtx2.c"
12
 #include "mjbksep.c"
13
@@ -150,7 +151,9 @@
14
 
15
 /* Undefined macros expected to be defined in gdevpcl.h */
16
 #define PAPER_SIZE_A3_NOBI 28
17
+#ifndef PAPER_SIZE_A2
18
 #define PAPER_SIZE_A2 29
19
+#endif
20
 #define PAPER_SIZE_B4 30
21
 #define PAPER_SIZE_B5 31
22
 
23
@@ -190,14 +193,12 @@
24
 private dev_proc_print_page(mjc720_print_page);
25
 private dev_proc_print_page(mj500c_print_page);
26
 
27
-private dev_proc_get_props(mj_get_props);
28
-private dev_proc_put_props(mj_put_props);
29
+private dev_proc_get_params(mj_get_params);
30
+private dev_proc_put_params(mj_put_params);
31
 
32
 private void expand_line(P4(word*, int, int, int));
33
-private int put_prop_float(P5(gs_prop_item *, float *, float, float, int));
34
-private int put_prop_int(P5(gs_prop_item *, int *, int, int, int));
35
-
36
-private void set_bpp(P2(gx_device *, int));
37
+private int mj_put_param_int(P6(gs_param_list *, gs_param_name, int *, int, int, int));
38
+private void mj_set_bpp(P2(gx_device *, int));
39
 
40
 private uint gdev_prn_rasterwidth(P2(const gx_device_printer *, int ));
41
 
42
@@ -224,7 +225,7 @@
43
 #define mj    ((gx_device_mj *) pdev)
44
 
45
 #define prn_hp_colour_device(procs, dev_name, x_dpi, y_dpi, bpp, print_page)\
46
-    prn_device_body(gx_device_printer, procs, dev_name,\
47
+    prn_device_body(gx_device_mj, procs, dev_name,\
48
     WIDTH_10THS, HEIGHT_10THS, x_dpi, y_dpi, 0, 0, 0, 0, 0,\
49
     bpp, 0, 0, 0, 0, print_page)
50
 
51
@@ -235,9 +236,9 @@
52
 }
53
 
54
 
55
-#define mj_colour_procs(proc_colour_open, proc_get_props, proc_put_props) {\
56
+#define mj_colour_procs(proc_colour_open, proc_get_params, proc_put_params) {\
57
 	proc_colour_open,\
58
-	gdev_pcl_get_initial_matrix,\
59
+	gx_default_get_initial_matrix,\
60
 	gx_default_sync_output,\
61
 	gdev_prn_output_page,\
62
 	gdev_prn_close,\
63
@@ -249,15 +250,15 @@
64
 	NULL,	/* copy_color */\
65
 	NULL,	/* draw_line */\
66
 	gx_default_get_bits,\
67
-	proc_get_props,\
68
-	proc_put_props\
69
+	proc_get_params,\
70
+	proc_put_params\
71
 }
72
 
73
 private int mjc_open(P1(gx_device *));
74
 private int mj_colour_open(P1(gx_device *));
75
 
76
 private gx_device_procs mj_procs =
77
-mj_colour_procs(mjc_open, mj_get_props, mj_put_props);
78
+mj_colour_procs(mjc_open, mj_get_params, mj_put_params);
79
 
80
 gx_device_mj far_data gs_mjc180_device =
81
 mj_device(mj_procs, "mjc180", 180, 180, BITSPERPIXEL,
82
@@ -306,14 +307,14 @@
83
   static const float mj_b4[4] = { MJ700V2C_MARGINS_B4 };
84
   static const float mj_b5[4] = { MJ700V2C_MARGINS_B5 };
85
   static const float mj_letter[4] = { MJ700V2C_MARGINS_LETTER };
86
-  const float _ds *m;
87
+  const float *m;
88
   int psize;
89
 
90
   int paper_size;
91
 
92
   /* Set up colour params if put_props has not already done so */
93
   if (pdev->color_info.num_components == 0)
94
-    set_bpp(pdev, pdev->color_info.depth);
95
+    mj_set_bpp(pdev, pdev->color_info.depth);
96
 
97
   paper_size = gdev_mjc_paper_size(pdev);
98
   if (paper_size == PAPER_SIZE_A2 ) {
99
@@ -332,10 +333,7 @@
100
     m = mj_letter;
101
   }
102
 
103
-  pdev->l_margin = m[0];
104
-  pdev->b_margin = m[1];
105
-  pdev->r_margin = m[2];
106
-  pdev->t_margin = m[3];
107
+  gx_device_set_margins(pdev, m, true);
108
 
109
   switch (mj->colorcomp) {
110
   case 1:
111
@@ -360,80 +358,74 @@
112
  * and control over the bits-per-pixel used in output rendering */
113
 /* Added properties for DeskJet 5xxC */
114
 
115
-private const gs_prop_item props_mj[] = {
116
-  /* Read-write properties. */
117
-  prop_def("Density", prt_int),
118
-  prop_def("Cyan", prt_int),
119
-  prop_def("Magenta", prt_int),
120
-  prop_def("Yellow", prt_int),
121
-  prop_def("Black", prt_int),
122
-  prop_def("Dither", prt_int),
123
-  prop_def("ColorComponent", prt_int),
124
-  prop_def("Direction", prt_int),
125
-  prop_def("MicroWeave", prt_int),
126
-  prop_def("DotSize", prt_int),
127
-};
128
-
129
 private int
130
-mj_get_props(gx_device *pdev, gs_prop_item *plist)
131
-{	int start = gdev_prn_get_props(pdev, plist);
132
-	if ( plist != 0 ) {
133
-		register gs_prop_item *pi = plist + start;
134
-		memcpy(pi, props_mj, sizeof(props_mj));
135
-		pi[0].value.i = mj->density;
136
-		pi[1].value.i = mj->cyan;
137
-		pi[2].value.i = mj->magenta;
138
-		pi[3].value.i = mj->yellow;
139
-		pi[4].value.i = mj->black;
140
-		pi[5].value.i = mj->dither;
141
- 		pi[6].value.i = mj->colorcomp;
142
-		pi[7].value.i = mj->direction;
143
-		pi[8].value.i = mj->microweave;
144
-		pi[9].value.i = mj->dotsize;
145
-	}
146
-	return start + sizeof(props_mj) / sizeof(gs_prop_item);
147
+mj_get_params(gx_device *pdev, gs_param_list *plist)
148
+{	int code = gdev_prn_get_params(pdev, plist);
149
+	if ( code < 0 ||
150
+	    (code = param_write_int(plist, "Density", &mj->density)) < 0 ||
151
+	    (code = param_write_int(plist, "Cyan", &mj->cyan)) < 0 ||
152
+	    (code = param_write_int(plist, "Magenta", &mj->magenta)) < 0 ||
153
+	    (code = param_write_int(plist, "Yellow", &mj->yellow)) < 0 ||
154
+	    (code = param_write_int(plist, "Black", &mj->black)) < 0 ||
155
+	    (code = param_write_int(plist, "Dither", &mj->dither)) < 0 ||
156
+	    (code = param_write_int(plist, "ColorComponent", &mj->colorcomp)) < 0 ||
157
+	    (code = param_write_int(plist, "Direction", &mj->direction)) < 0 ||
158
+	    (code = param_write_int(plist, "MicroWeave", &mj->microweave)) < 0 ||
159
+	    (code = param_write_int(plist, "DotSize", &mj->dotsize)) < 0
160
+	   )
161
+	  return code;
162
+	return code;
163
 }
164
 
165
 /* Put properties. */
166
 private int
167
-mj_put_props(gx_device *pdev,  gs_prop_item *plist,  int count)
168
+mj_put_params(gx_device *pdev, gs_param_list *plist)
169
 {
170
-	static const argn = 10;
171
-/* 	gs_prop_item *known[argn]; */
172
- 	gs_prop_item *known[10];
173
 	int old_bpp = mj->color_info.depth;
174
 	int bpp = 0;
175
 	int code = 0;
176
-
177
-	props_extract(plist, count, props_mj, argn, known, 0);
178
-	code = gdev_prn_put_props(pdev, plist, count);
179
-	if ( code < 0 ) return code;
180
-
181
-	code = put_prop_int(known[0], &mj->density, 0, INT_MAX, code);
182
-	code = put_prop_int(known[1], &mj->cyan, 0, INT_MAX, code);
183
-	code = put_prop_int(known[2], &mj->magenta, 0, INT_MAX, code);
184
-	code = put_prop_int(known[3], &mj->yellow, 0, INT_MAX, code);
185
-	code = put_prop_int(known[4], &mj->black, 0, INT_MAX, code);
186
-	code = put_prop_int(known[5], &mj->dither, 0, 1, code);
187
- 	code = put_prop_int(known[6], &mj->colorcomp, 1, 4, code);
188
-	code = put_prop_int(known[7], &mj->direction, 1, 2, code);
189
-	code = put_prop_int(known[8], &mj->microweave, 0, 1, code);
190
-	code = put_prop_int(known[9], &mj->dotsize, 0, 1, code);
191
-
192
+	int density = mj->density;
193
+	int cyan = mj->cyan;
194
+	int magenta = mj->magenta;
195
+	int yellow = mj->yellow;
196
+	int black = mj->black;
197
+	int dither = mj->dither;
198
+	int colorcomp = mj->colorcomp;
199
+	int direction = mj->direction;
200
+	int microweave = mj->microweave;
201
+	int dotsize = mj->dotsize;
202
+	code = mj_put_param_int(plist, "Density", &density, 0, INT_MAX, code);
203
+	code = mj_put_param_int(plist, "Cyan", &cyan, 0, INT_MAX, code);
204
+	code = mj_put_param_int(plist, "Magenta", &magenta, 0, INT_MAX, code);
205
+	code = mj_put_param_int(plist, "Yellow", &yellow, 0, INT_MAX, code);
206
+	code = mj_put_param_int(plist, "Black", &black, 0, INT_MAX, code);
207
+	code = mj_put_param_int(plist, "Dither", &dither, 0, 1, code);
208
+	code = mj_put_param_int(plist, "ColorComponent", &colorcomp, 1, 4, code);
209
+	code = mj_put_param_int(plist, "Direction", &direction, 1, 2, code);
210
+	code = mj_put_param_int(plist, "MicroWeave", &microweave, 0, 1, code);
211
+	code = mj_put_param_int(plist, "DotSize", &dotsize, 0, 1, code);
212
+	code = mj_put_param_int(plist, "BitsPerPixel", &bpp, 1, 32, code);
213
 	if ( code < 0 )
214
-	  return_error(code);
215
-
216
-	if (bpp != 0) {
217
-	  set_bpp(pdev, bpp);
218
-	  
219
-	  /* Close the device; gs_putdeviceprops will reopen it. */
220
+	  return code;
221
+	mj->density = density;
222
+	mj->cyan = cyan;
223
+	mj->magenta = magenta;
224
+	mj->yellow = yellow;
225
+	mj->black = black;
226
+	mj->dither = dither;
227
+	mj->colorcomp = colorcomp;
228
+	mj->direction = direction;
229
+	mj->microweave = microweave;
230
+	mj->dotsize = dotsize;
231
+	if ( bpp != 0 ) {
232
+	  mj_set_bpp(pdev, bpp);
233
+	  gdev_prn_put_params(pdev, plist);
234
 	  if ( bpp != old_bpp && pdev->is_open )
235
-	    { int ccode = gs_closedevice(pdev);
236
-	      if ( ccode < 0 ) return ccode;
237
-	    }
238
+	    return gs_closedevice(pdev);
239
+	  return 0;
240
 	}
241
-
242
-	return code;
243
+	else
244
+	  return gdev_prn_put_params(pdev, plist);
245
 }
246
 
247
 /* ------ Internal routines ------ */
248
@@ -1163,7 +1155,8 @@
249
 
250
   /* Send each scan line in turn */
251
   {
252
-    long int lend = pdev->height - (pdev->t_margin + pdev->b_margin) * y_dpi;
253
+    long int lend = pdev->height - 
254
+	(dev_t_margin_points(pdev) + dev_b_margin_points(pdev));
255
     int cErr, mErr, yErr, kErr;
256
     int this_pass, i;
257
     long int lnum;
258
@@ -1685,39 +1678,25 @@
259
 }
260
 
261
 private int
262
-put_prop_int(gs_prop_item *pi, int *property, int minval, int maxval, int code)
263
-{
264
-  if ( pi == 0 )
265
-    return (code);
266
-  
267
-  if ( pi->value.i < minval || pi->value.i > maxval )
268
-    { pi->status = pv_rangecheck;
269
-      return (gs_error_rangecheck);
270
-    }
271
-  else
272
-    { *property = pi->value.i;
273
-      return (code ? code : 1);
274
-    }
275
-}	
276
-
277
-private int
278
-put_prop_float(gs_prop_item *pi, float *property, float minval, float maxval, int code)
279
-{
280
-  if ( pi == 0 )
281
-    return (code);
282
-  
283
-  if ( pi->value.f < minval || pi->value.f > maxval )
284
-    { pi->status = pv_rangecheck;
285
-      return (gs_error_rangecheck);
286
-    }
287
-  else
288
-    { *property = pi->value.f;
289
-      return (code ? code : 1);
290
-    }
291
+mj_put_param_int(gs_param_list *plist, gs_param_name pname, int *pvalue,
292
+  int minval, int maxval, int ecode)
293
+{	int code, value;
294
+	switch ( code = param_read_int(plist, pname, &value) )
295
+	{
296
+	default:
297
+		return code;
298
+	case 1:
299
+		return ecode;
300
+	case 0:
301
+		if ( value < minval || value > maxval )
302
+		   param_signal_error(plist, pname, gs_error_rangecheck);
303
+		*pvalue = value;
304
+		return (ecode < 0 ? ecode : 1);
305
+	}
306
 }	
307
 
308
 private void
309
-set_bpp(gx_device *pdev, int bits_per_pixel)
310
+mj_set_bpp(gx_device *pdev, int bits_per_pixel)
311
 { gx_device_color_info *ci = &pdev->color_info;
312
   /* Only valid bits-per-pixel are 1, 3, 8, 16, 24, 32 */
313
   int bpp = bits_per_pixel < 3 ? 1 : bits_per_pixel < 8 ? 3 : 
314
@@ -1725,9 +1704,9 @@
315
   ci->num_components = ((bpp == 1) || (bpp == 8) ? 1 : 3);
316
   ci->depth = ((bpp > 1) && (bpp < 8) ? 8 : bpp);
317
   ci->max_gray = (bpp >= 8 ? 255 : 1);
318
-  ci->max_rgb = (bpp >= 8 ? 255 : bpp > 1 ? 1 : 0);
319
-  ci->dither_gray = (bpp >= 8 ? 5 : 2);
320
-  ci->dither_rgb = (bpp >= 8 ? 5 : bpp > 1 ? 2 : 0);
321
+  ci->max_color = (bpp >= 8 ? 255 : bpp > 1 ? 1 : 0);
322
+  ci->dither_grays = (bpp >= 8 ? 5 : 2);
323
+  ci->dither_colors = (bpp >= 8 ? 5 : bpp > 1 ? 2 : 0);
324
 }
325
 
326
 /* This returns either the number of pixels in a scan line, or the number
327
@@ -1736,7 +1715,7 @@
328
 gdev_prn_rasterwidth(const gx_device_printer *pdev, int pixelcount)
329
 {
330
   word raster_width =
331
-    pdev->width - pdev->x_pixels_per_inch * (pdev->l_margin + pdev->r_margin);
332
+    pdev->width - (pdev->HWMargins[0] + pdev->HWMargins[2]);
333
   return (pixelcount ?
334
           (uint)raster_width :
335
           (uint)((raster_width * pdev->color_info.depth + 7) >> 3));
(-)print/ghostscript-afpl/files/patch-mjc:gdevmjc.mak (+43 lines)
Line 0 Link Here
1
--- mjc/gdevmjc.mak.orig	Tue May 23 19:19:13 2000
2
+++ mjc/gdevmjc.mak	Tue May 23 19:19:40 2000
3
@@ -4,25 +4,22 @@
4
 # Supports MJ-700V2C, MJ-5000C, MJ-900C, MJ-800C, MJ-500C
5
 #
6
 ##
7
-#
8
-#  Append this file to Makefile
9
-#
10
-##
11
-MJCSRC = gdevmjc.c mjmtx2.c mjbksep.c mjhtocmy.c mjvtbl.c \
12
-	mjgrnsp.c mjgrnsp2.c mjespdtc.c mjespdtm.c mjespdty.c mjbarrie.c
13
+MJCSRC = $(GLSRC)gdevmjc.c $(GLSRC)mjmtx2.c $(GLSRC)mjbksep.c \
14
+	$(GLSRC)mjhtocmy.c $(GLSRC)mjvtbl.c $(GLSRC)mjgrnsp.c \
15
+	$(GLSRC)mjgrnsp2.c $(GLSRC)mjespdtc.c $(GLSRC)mjespdtm.c \
16
+	$(GLSRC)mjespdty.c $(GLSRC)mjbarrie.c
17
 
18
-mj700v2c_=gdevmjc.$(OBJ) $(HPPCL)
19
+mj700v2c_=$(GLOBJ)gdevmjc.$(OBJ) $(HPPCL)
20
 
21
 # To make A4 paper the default, change the second line below this to
22
-gdevmjc.$(OBJ): $(MJCSRC) $(PDEVH) $(gdevpcl_h)
23
-	$(CCC) -DA4 gdevmjc.c
24
-
25
-mjc180.dev: $(mj700v2c_)
26
-	$(SHP)gssetdev mjc180 $(mj700v2c_)
27
-mjc360.dev: $(mj700v2c_)
28
-	$(SHP)gssetdev mjc360 $(mj700v2c_)
29
-mjc720.dev: $(mj700v2c_)
30
-	$(SHP)gssetdev mjc720 $(mj700v2c_)
31
-mj500c.dev: $(mj700v2c_)
32
-	$(SHP)gssetdev mj500c $(mj700v2c_)
33
+$(GLOBJ)gdevmjc.$(OBJ): $(MJCSRC) $(PDEVH) $(gdevpcl_h)
34
+	$(GLCC) -DA4 $(GLO_)gdevmjc.$(OBJ) $(C_) $(GLSRC)gdevmjc.c
35
 
36
+$(GLOBJ)mjc180.dev: $(mj700v2c_) $(DD)page.dev
37
+	$(SETPDEV) $(DD)mjc180 $(mj700v2c_)
38
+$(GLOBJ)mjc360.dev: $(mj700v2c_) $(DD)page.dev
39
+	$(SETPDEV) $(DD)mjc360 $(mj700v2c_)
40
+$(GLOBJ)mjc720.dev: $(mj700v2c_) $(DD)page.dev
41
+	$(SETPDEV) $(DD)mjc720 $(mj700v2c_)
42
+$(GLOBJ)mj500c.dev: $(mj700v2c_) $(DD)page.dev
43
+	$(SETPDEV) $(DD)mj500c $(mj700v2c_)
(-)print/ghostscript-afpl/files/patch-src:dmp_site.ps (+10 lines)
Line 0 Link Here
1
--- src/dmp_site.ps.orig	Tue May 27 09:57:00 1997
2
+++ src/dmp_site.ps	Tue Apr  2 23:05:45 2002
3
@@ -1,6 +1,6 @@
4
 BeginConfig
5
 %%%%%%%%%%%%%%%%%%%%%% Standard user cusomizations %%%%%%%%%%%%%%%%%%%%%
6
-/printer      (epsimage.src)
7
+/printer      (%%DATADIR%%/%%GS_VERSION%%/lib/escp_24.src)
8
 %               horizontal / vertical
9
 % /resolution   [ 160.0 180.0 ]
10
 %               horizontal / vertical
(-)print/ghostscript-afpl/files/patch-src:gdevdmpr.c (+11 lines)
Line 0 Link Here
1
--- src/gdevdmpr.c.orig	Tue May 13 20:43:37 1997
2
+++ src/gdevdmpr.c	Tue Apr  2 01:16:25 2002
3
@@ -846,7 +846,7 @@
4
     if (env) {
5
       strcpy(fname,env);
6
       strcat(fname,
7
-        gp_file_name_concat_string(env,strlen(env),fname,strlen(fnamebase)));
8
+        gp_file_name_concat_string(env,strlen(env)));
9
       strcat(fname,fnamebase);
10
       fp = fopen(fname,gp_fmode_rb);
11
     }
(-)print/ghostscript-afpl/files/patch-src:gdevdmpr.mak (+21 lines)
Line 0 Link Here
1
--- src/gdevdmpr.mak.orig	Mon May  1 20:24:43 2000
2
+++ src/gdevdmpr.mak	Mon May  1 20:26:23 2000
3
@@ -1,8 +1,12 @@
4
 ### ---------------- Dot matrix printer device ---------------- ###
5
-dmprt_=gdevdmpr.$(OBJ) dviprlib.$(OBJ) gdevprn.$(OBJ)
6
+dmprt_=$(GLOBJ)gdevdmpr.$(OBJ) $(GLOBJ)dviprlib.$(OBJ) $(GLOBJ)gdevprn.$(OBJ)
7
 
8
-dmprt.dev: $(dmprt_)
9
-	$(SETDEV) dmprt $(dmprt_)
10
-	$(ADDMOD) dmprt -ps dmp_init
11
-gdevdmpr.$(OBJ): gdevdmpr.c dviprlib.h $(PDEVH)
12
-dviprlib.$(OBJ): dviprlib.c dviprlib.h
13
+$(DD)dmprt.dev: $(dmprt_)
14
+	$(SETDEV) $(DD)dmprt $(dmprt_)
15
+	$(ADDMOD) $(DD)dmprt -ps dmp_init
16
+
17
+$(GLOBJ)gdevdmpr.$(OBJ): $(GLSRC)gdevdmpr.c $(GLSRC)dviprlib.h $(PDEVH)
18
+	$(GLCC) $(GLO_)gdevdmpr.$(OBJ) $(C_) $(GLSRC)gdevdmpr.c
19
+
20
+$(GLOBJ)dviprlib.$(OBJ): $(GLSRC)dviprlib.c $(GLSRC)dviprlib.h
21
+	$(GLCC) $(GLO_)dviprlib.$(OBJ) $(C_) $(GLSRC)dviprlib.c
(-)print/ghostscript-afpl/files/patch-src:gdevgdi.c (+19 lines)
Line 0 Link Here
1
--- src/gdevgdi.c.orig	Fri Feb  9 04:51:11 2001
2
+++ src/gdevgdi.c	Tue Aug 21 11:17:56 2001
3
@@ -24,6 +24,7 @@
4
 /* SAMSUNG GDI driver for Ghostscript */
5
 #include "gdevprn.h"
6
 #include "gdevpcl.h"
7
+#include "gsparam.h"
8
 
9
 
10
 /*
11
@@ -126,7 +127,7 @@
12
 private int
13
 gdi_open(gx_device *pdev)
14
 {	/* Change the margins if necessary. */
15
-	const float _ds *m = 0;
16
+	const float *m = 0;
17
 	bool move_origin = true;
18
 
19
 	static const float m_a4[4] = { GDI_MARGINS_A4 };
(-)print/ghostscript-afpl/files/patch-src:gdevlbp8.c (+70 lines)
Line 0 Link Here
1
--- src/gdevlbp8.c.orig	Wed Aug  1 09:48:23 2001
2
+++ src/gdevlbp8.c	Thu Mar 14 20:56:05 2002
3
@@ -22,6 +22,8 @@
4
 
5
 /* 
6
   Modifications:
7
+    3.10.00 Johnny Lam
8
+            Removed LIPS III code, as it's obsoleted by gdevlips driver.
9
     2.2.97  Lauri Paatero
10
             Changed CSI command into ESC [. DCS commands may still need to be changed
11
             (to ESC P).
12
@@ -49,7 +51,6 @@
13
 
14
 /* The device descriptors */
15
 private dev_proc_print_page(lbp8_print_page);
16
-private dev_proc_print_page(lips3_print_page);
17
 
18
 const gx_device_printer far_data gs_lbp8_device =
19
   prn_device(prn_std_procs, "lbp8",
20
@@ -58,14 +59,6 @@
21
 	0.16, 0.2, 0.32, 0.21,		/* margins: left, bottom, right, top */
22
 	1, lbp8_print_page);
23
 
24
-const gx_device_printer far_data gs_lips3_device =
25
-  prn_device(prn_std_procs, "lips3",
26
-	82,				/* width_10ths, 8.3" */
27
-	117,				/* height_10ths, 11.7" */
28
-	X_DPI, Y_DPI,
29
-	0.16, 0.27, 0.23, 0.27,		/* margins */
30
-	1, lips3_print_page);
31
-
32
 /* ------ Internal routines ------ */
33
 
34
 #define ESC 0x1b
35
@@ -84,23 +77,6 @@
36
 
37
 static const char *lbp8_end = NULL;
38
 
39
-static const char lips3_init[] = {
40
-  ESC, '<', /* soft reset */
41
-  DCS, '0', 'J', ST, /* JOB END */
42
-  DCS, '3', '1', ';', '3', '0', '0', ';', '2', 'J', ST, /* 300dpi, LIPS3 JOB START */
43
-  ESC, '<',  /* soft reset */
44
-  DCS, '2', 'y', 'P', 'r', 'i', 'n', 't', 'i', 'n', 'g', '(', 'g', 's', ')', ST,  /* Printing (gs) display */
45
-  ESC, '[', '?', '1', 'l',  /* auto cr-lf disable */
46
-  ESC, '[', '?', '2', 'h', /* auto ff disable */
47
-  ESC, '[', '1', '1', 'h', /* set mode */
48
-  ESC, '[', '7', ' ', 'I', /* select unit size (300dpi)*/
49
-  ESC, '[', 'f' /* move to home position */
50
-};
51
-
52
-static const char lips3_end[] = {
53
-  DCS, '0', 'J', ST  /* JOB END */
54
-};
55
-
56
 /* Send the page to the printer.  */
57
 private int
58
 can_print_page(gx_device_printer *pdev, FILE *prn_stream,
59
@@ -203,11 +179,4 @@
60
 lbp8_print_page(gx_device_printer *pdev, FILE *prn_stream)
61
 {	return can_print_page(pdev, prn_stream, lbp8_init, sizeof(lbp8_init),
62
 			      lbp8_end, sizeof(lbp8_end));
63
-}
64
-
65
-/* Print a LIPS III page. */
66
-private int
67
-lips3_print_page(gx_device_printer *pdev, FILE *prn_stream)
68
-{	return can_print_page(pdev, prn_stream, lips3_init, sizeof(lips3_init),
69
-			      lips3_end, sizeof(lips3_end));
70
 }
(-)print/ghostscript-afpl/files/patch-src:unix-dll.mak (+59 lines)
Line 0 Link Here
1
--- src/unix-dll.mak.orig	Wed Oct 17 19:11:23 2001
2
+++ src/unix-dll.mak	Sat Feb  9 04:53:18 2002
3
@@ -48,11 +48,9 @@
4
 
5
 # shared library
6
 GS_SONAME=lib$(GS).so
7
-GS_SONAME_MAJOR=$(GS_SONAME).$(GS_VERSION_MAJOR)
8
-GS_SONAME_MAJOR_MINOR= $(GS_SONAME).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR)
9
+GS_SONAME_MAJOR=$(GS_SONAME).$(GS_SHLIB_VER)
10
 GS_SO=$(BINDIR)/$(GS_SONAME)
11
-GS_SO_MAJOR=$(GS_SO).$(GS_VERSION_MAJOR)
12
-GS_SO_MAJOR_MINOR=$(GS_SO_MAJOR).$(GS_VERSION_MINOR)
13
+GS_SO_MAJOR=$(GS_SO).$(GS_SHLIB_VER)
14
 
15
 # Shared object is built by redefining GS_XE in a recursive make.
16
 
17
@@ -60,24 +58,20 @@
18
 
19
 $(GS_SO): $(GS_SO_MAJOR)
20
 	$(RM_) $(GS_SO)
21
-	ln -s $(GS_SONAME_MAJOR_MINOR) $(GS_SO)
22
-
23
-$(GS_SO_MAJOR): $(GS_SO_MAJOR_MINOR)
24
-	$(RM_) $(GS_SO_MAJOR)
25
-	ln -s $(GS_SONAME_MAJOR_MINOR) $(GS_SO_MAJOR)
26
+	ln -s $(GS_SONAME_MAJOR) $(GS_SO)
27
 
28
 # Build the small Ghostscript loaders, with Gtk+ and without
29
 
30
 $(GSSOX_XE): $(GS_SO) $(GLSRC)dxmain.c
31
-	$(GLCC) -g `gtk-config --cflags` -o $(GSSOX_XE) $(GLSRC)dxmain.c -L$(BINDIR) -l$(GS) `gtk-config --libs`
32
+	$(GLCC) `$(GTK_CONFIG) --cflags` -o $(GSSOX_XE) $(GLSRC)dxmain.c -L$(BINDIR) -l$(GS) `$(GTK_CONFIG) --libs`
33
 
34
 $(GSSOC_XE): $(GS_SO) $(GLSRC)dxmainc.c
35
-	$(GLCC) -g -o $(GSSOC_XE) $(GLSRC)dxmainc.c -L$(BINDIR) -l$(GS)
36
+	$(GLCC) -o $(GSSOC_XE) $(GLSRC)dxmainc.c -L$(BINDIR) -l$(GS)
37
 
38
 # ------------------------- Recursive make targets ------------------------- #
39
 
40
 SODEFS=LDFLAGS='$(LDFLAGS) $(CFLAGS_SO) -shared -Wl,-soname,$(GS_SONAME_MAJOR)'\
41
- GS_XE=$(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR)\
42
+ GS_XE=$(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR)\
43
  STDIO_IMPLEMENTATION=c\
44
  DISPLAY_DEV=$(DD)$(SOOBJRELDIR)/display.dev\
45
  BINDIR=$(BINDIR)/$(SOBINRELDIR)\
46
@@ -106,11 +100,9 @@
47
 	-mkdir $(libdir)
48
 	$(INSTALL_PROGRAM) $(GSSOC) $(bindir)/$(GSSOC_XENAME)
49
 	$(INSTALL_PROGRAM) $(GSSOX) $(bindir)/$(GSSOX_XENAME)
50
-	$(INSTALL_PROGRAM) $(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME_MAJOR_MINOR)
51
+	$(INSTALL_PROGRAM) $(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR) $(libdir)/$(GS_SONAME_MAJOR)
52
 	$(RM_) $(libdir)/$(GS_SONAME)
53
-	ln -s $(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME)
54
-	$(RM_) $(libdir)/$(GS_SONAME_MAJOR)
55
-	ln -s $(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME_MAJOR)
56
+	ln -s $(GS_SONAME_MAJOR) $(libdir)/$(GS_SONAME)
57
 
58
 soinstall: install-so install-scripts install-data
59
 
(-)print/ghostscript-afpl/files/patch-src:unix-gcc.mak (-14 / +24 lines)
Lines 1-5 Link Here
1
--- src/unix-gcc.mak.orig	Sat Sep 15 17:55:32 2001
1
--- src/unix-gcc.mak.orig	Fri Feb  1 15:27:58 2002
2
+++ src/unix-gcc.mak	Sat Dec 15 04:19:08 2001
2
+++ src/unix-gcc.mak	Sat Feb  9 04:34:53 2002
3
@@ -26,14 +26,15 @@
3
@@ -26,14 +26,15 @@
4
 # source, generated intermediate file, and object directories
4
 # source, generated intermediate file, and object directories
5
 # for the graphics library (GL) and the PostScript/PDF interpreter (PS).
5
 # for the graphics library (GL) and the PostScript/PDF interpreter (PS).
Lines 54-60 Link Here
54
 
54
 
55
-PSRCDIR=libpng
55
-PSRCDIR=libpng
56
+PSRCDIR=${LOCALBASE}/include
56
+PSRCDIR=${LOCALBASE}/include
57
 PVERSION=10012
57
 PVERSION=10201
58
 
58
 
59
 # Choose whether to use a shared version of the PNG library, and if so,
59
 # Choose whether to use a shared version of the PNG library, and if so,
60
 # what its name is.
60
 # what its name is.
Lines 74-80 Link Here
74
 #ZLIB_NAME=gz
74
 #ZLIB_NAME=gz
75
 ZLIB_NAME=z
75
 ZLIB_NAME=z
76
 
76
 
77
@@ -196,7 +196,7 @@
77
@@ -203,7 +203,7 @@
78
 
78
 
79
 # Define the name of the C compiler.
79
 # Define the name of the C compiler.
80
 
80
 
Lines 83-110 Link Here
83
 
83
 
84
 # Define the name of the linker for the final link step.
84
 # Define the name of the linker for the final link step.
85
 # Normally this is the same as the C compiler.
85
 # Normally this is the same as the C compiler.
86
@@ -229,9 +229,9 @@
86
@@ -220,9 +220,9 @@
87
 # Define the added flags for standard, debugging, profiling 
88
 # and shared object builds.
89
 
90
-CFLAGS_STANDARD=-O2
91
-CFLAGS_DEBUG=-g -O
92
-CFLAGS_PROFILE=-pg -O2
93
+CFLAGS_STANDARD?=-O2
94
+CFLAGS_DEBUG=-g
95
+CFLAGS_PROFILE=-pg
96
 CFLAGS_SO=-fPIC
97
 
98
 # Define the other compilation flags.  Add at most one of the following:
99
@@ -236,7 +236,7 @@
87
 # We don't include -ansi, because this gets in the way of the platform-
100
 # We don't include -ansi, because this gets in the way of the platform-
88
 #   specific stuff that <math.h> typically needs; nevertheless, we expect
101
 #   specific stuff that <math.h> typically needs; nevertheless, we expect
89
 #   gcc to accept ANSI-style function prototypes and function definitions.
102
 #   gcc to accept ANSI-style function prototypes and function definitions.
90
-XCFLAGS=
103
-XCFLAGS=
91
+#XCFLAGS=
104
+XCFLAGS+=-I${.CURDIR}/gimp-print
92
 
105
 
93
-CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(XCFLAGS)
106
 CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(XCFLAGS)
94
+CFLAGS+=$(XCFLAGS)
95
 
107
 
96
 # Define platform flags for ld.
108
@@ -247,7 +247,7 @@
97
 # SunOS 4.n may need -Bstatic.
98
@@ -240,7 +240,7 @@
99
 #	-R /usr/local/xxx/lib:/usr/local/lib
109
 #	-R /usr/local/xxx/lib:/usr/local/lib
100
 # giving the full path names of the shared library directories.
110
 # giving the full path names of the shared library directories.
101
 # XLDFLAGS can be set from the command line.
111
 # XLDFLAGS can be set from the command line.
102
-XLDFLAGS=
112
-XLDFLAGS=
103
+XLDFLAGS=-L${LOCALBASE}/lib
113
+XLDFLAGS=-L${.CURDIR}/gimp-print -L${LOCALBASE}/lib
104
 
114
 
105
 LDFLAGS=$(XLDFLAGS) -fno-common
115
 LDFLAGS=$(XLDFLAGS) -fno-common
106
 
116
 
107
@@ -273,7 +273,7 @@
117
@@ -280,7 +280,7 @@
108
 # Note that x_.h expects to find the header files in $(XINCLUDE)/X11,
118
 # Note that x_.h expects to find the header files in $(XINCLUDE)/X11,
109
 # not in $(XINCLUDE).
119
 # not in $(XINCLUDE).
110
 
120
 
Lines 113-119 Link Here
113
 
123
 
114
 # Define the directory/ies and library names for the X11 library files.
124
 # Define the directory/ies and library names for the X11 library files.
115
 # XLIBDIRS is for ld and should include -L; XLIBDIR is for LD_RUN_PATH
125
 # XLIBDIRS is for ld and should include -L; XLIBDIR is for LD_RUN_PATH
116
@@ -285,12 +285,12 @@
126
@@ -292,12 +292,12 @@
117
 # Solaris and other SVR4 systems with dynamic linking probably want
127
 # Solaris and other SVR4 systems with dynamic linking probably want
118
 #XLIBDIRS=-L/usr/openwin/lib -R/usr/openwin/lib
128
 #XLIBDIRS=-L/usr/openwin/lib -R/usr/openwin/lib
119
 # X11R6 (on any platform) may need
129
 # X11R6 (on any platform) may need
(-)print/ghostscript-afpl/files/stp.contrib.mak (-4 / +1 lines)
Lines 4-17 Link Here
4
4
5
stp_=$(GLOBJ)gdevstp.$(OBJ)
5
stp_=$(GLOBJ)gdevstp.$(OBJ)
6
6
7
STPINCDIR=-I$(GLSRC)
8
STPLIBDIR=-L$(GLOBJ)
9
STPLIB=gimpprint
7
STPLIB=gimpprint
10
8
11
$(DD)stp.dev:	$(stp_) $(DD)page.dev
9
$(DD)stp.dev:	$(stp_) $(DD)page.dev
12
	$(SETPDEV) $(DD)stp $(stp_)
10
	$(SETPDEV) $(DD)stp $(stp_)
13
	$(ADDMOD) $(DD)stp -link $(STPLIBDIR)
14
	$(ADDMOD) $(DD)stp -lib $(STPLIB)
11
	$(ADDMOD) $(DD)stp -lib $(STPLIB)
15
12
16
$(GLOBJ)gdevstp.$(OBJ) : $(GLSRC)gdevstp.c $(PDEVH)
13
$(GLOBJ)gdevstp.$(OBJ) : $(GLSRC)gdevstp.c $(PDEVH)
17
	$(GLCC) $(GLO_)gdevstp.$(OBJ) $(C_) $(STPINCDIR) $(GLSRC)gdevstp.c
14
	$(GLCC) $(GLO_)gdevstp.$(OBJ) $(C_) $(GLSRC)gdevstp.c
(-)print/ghostscript-afpl/pkg-descr (-1 / +3 lines)
Lines 11-17 Link Here
11
	  - http://members.ozemail.com.au/~geoffk/pdfencrypt/
11
	  - http://members.ozemail.com.au/~geoffk/pdfencrypt/
12
	o HP8XX driver for HP DeskJet 880C/882C/895C
12
	o HP8XX driver for HP DeskJet 880C/882C/895C
13
	  - http://www.gelhaus.net/hp880c/
13
	  - http://www.gelhaus.net/hp880c/
14
	o HP970 driver for HP DeskJet 970CXi
14
	o DJ970 driver for HP DeskJet 970CXi
15
	  - http://www.harsch.net/Ghostscript/ghostscript.html
15
	  - http://www.harsch.net/Ghostscript/ghostscript.html
16
	o PCL3 and HPDJ driver for HP DeskJet series
16
	o PCL3 and HPDJ driver for HP DeskJet series
17
	  - http://home.t-online.de/home/Martin.Lottermoser/pcl3.html
17
	  - http://home.t-online.de/home/Martin.Lottermoser/pcl3.html
Lines 19-24 Link Here
19
	  - http://gimp-print.sourceforge.net/
19
	  - http://gimp-print.sourceforge.net/
20
	o HPinkjet driver for HP PhotoSmart/DeskJet series
20
	o HPinkjet driver for HP PhotoSmart/DeskJet series
21
	  - http://hpinkjet.sourceforge.net/
21
	  - http://hpinkjet.sourceforge.net/
22
	o Spacial drivers for verious printer models mainly sold in Japan
23
	  - Alps, Canon, Epson, NEC, Ricoh,...
22
	o Additional contributed uniprint driver profiles for
24
	o Additional contributed uniprint driver profiles for
23
	  - Epson Stylus Color 740 and Epson LQ-1170
25
	  - Epson Stylus Color 740 and Epson LQ-1170
24
26
(-)print/ghostscript-afpl/pkg-plist (-7 / +42 lines)
Lines 1-17 Link Here
1
bin/bdftops
1
bin/bdftops
2
bin/dvipdf
2
bin/dvipdf
3
bin/eps2eps
3
bin/eps2eps
4
bin/ert
4
bin/fixmswrd.pl
5
bin/fixmswrd.pl
5
bin/font2c
6
bin/font2c
6
bin/gs
7
bin/gs
7
bin/gsbj
8
bin/gsbj
9
%%SHLIB%%bin/gsc
8
bin/gsdj
10
bin/gsdj
9
bin/gsdj500
11
bin/gsdj500
10
bin/gslj
12
bin/gslj
11
bin/gslp
13
bin/gslp
12
bin/gsnd
14
bin/gsnd
15
%%SHLIB%%bin/gsx
13
bin/hpijs
16
bin/hpijs
14
bin/lprsetup.sh
17
bin/lprsetup.sh
18
bin/pcl3opts
15
bin/pdf2dsc
19
bin/pdf2dsc
16
bin/pdf2ps
20
bin/pdf2ps
17
bin/pdfopt
21
bin/pdfopt
Lines 30-37 Link Here
30
bin/sysvlp.sh
34
bin/sysvlp.sh
31
bin/unix-lpr.sh
35
bin/unix-lpr.sh
32
bin/wftopfa
36
bin/wftopfa
37
%%SHLIB%%lib/libgs.so
38
%%SHLIB%%lib/libgs.so.%%SHLIB_VER%%
39
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/alps/README.gdevalps
40
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/bj10v/gdev10v.jis
41
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/dmprt/gdevdmpr.sj
42
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/epag/ChangeLog
43
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/epag/ert.txt
44
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/epag/gdevepag.txt
45
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/epag/gsepagif.sh
46
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/epag/psprint
47
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/eplaser/readme-eplaser-651.euc
48
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/gimp-print/README
33
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/hpdj/NEWS
49
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/hpdj/NEWS
34
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/hpdj/hpdj.html
50
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/hpdj/hpdj.html
51
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/hpijs/gs_hpijs.png
52
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/hpijs/hpijs_readme.html
53
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/lips/Gdevlips.htm
54
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/md2k/README.jis
55
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/mjc/MJ700V2C.FAQ
56
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/mjc/README.mjc
57
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/mjc/README.mje
58
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/mjc/README.noz
59
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/mjc/cpem.doc
60
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/npdl/gdevnpdl.jis
35
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/pcl3/NEWS
61
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/pcl3/NEWS
36
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/pcl3/gs-pcl3.html
62
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/pcl3/gs-pcl3.html
37
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/pcl3/how-to-report.txt
63
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/pcl3/how-to-report.txt
Lines 57-65 Link Here
57
share/ghostscript/%%GS_VERSION%%/doc/History4.htm
83
share/ghostscript/%%GS_VERSION%%/doc/History4.htm
58
share/ghostscript/%%GS_VERSION%%/doc/History5.htm
84
share/ghostscript/%%GS_VERSION%%/doc/History5.htm
59
share/ghostscript/%%GS_VERSION%%/doc/History6.htm
85
share/ghostscript/%%GS_VERSION%%/doc/History6.htm
86
share/ghostscript/%%GS_VERSION%%/doc/History7.htm
60
share/ghostscript/%%GS_VERSION%%/doc/Htmstyle.htm
87
share/ghostscript/%%GS_VERSION%%/doc/Htmstyle.htm
61
share/ghostscript/%%GS_VERSION%%/doc/Humor.htm
88
share/ghostscript/%%GS_VERSION%%/doc/Humor.htm
62
share/ghostscript/%%GS_VERSION%%/doc/Install.htm
89
share/ghostscript/%%GS_VERSION%%/doc/Install.htm
90
share/ghostscript/%%GS_VERSION%%/doc/Issues.htm
63
share/ghostscript/%%GS_VERSION%%/doc/Language.htm
91
share/ghostscript/%%GS_VERSION%%/doc/Language.htm
64
share/ghostscript/%%GS_VERSION%%/doc/Lib.htm
92
share/ghostscript/%%GS_VERSION%%/doc/Lib.htm
65
share/ghostscript/%%GS_VERSION%%/doc/Maintain.htm
93
share/ghostscript/%%GS_VERSION%%/doc/Maintain.htm
Lines 95-111 Link Here
95
share/ghostscript/%%GS_VERSION%%/examples/tiger.ps
123
share/ghostscript/%%GS_VERSION%%/examples/tiger.ps
96
share/ghostscript/%%GS_VERSION%%/examples/vasarely.ps
124
share/ghostscript/%%GS_VERSION%%/examples/vasarely.ps
97
share/ghostscript/%%GS_VERSION%%/examples/waterfal.ps
125
share/ghostscript/%%GS_VERSION%%/examples/waterfal.ps
98
share/ghostscript/%%GS_VERSION%%/gimp-print/README
99
share/ghostscript/%%GS_VERSION%%/hpdj/README.hpdj
126
share/ghostscript/%%GS_VERSION%%/hpdj/README.hpdj
100
share/ghostscript/%%GS_VERSION%%/hpdj/example.mdf
127
share/ghostscript/%%GS_VERSION%%/hpdj/example.mdf
101
share/ghostscript/%%GS_VERSION%%/hpdj/margins-A4.ps
128
share/ghostscript/%%GS_VERSION%%/hpdj/margins-A4.ps
102
share/ghostscript/%%GS_VERSION%%/hpdj/margins-A4Rotated.ps
129
share/ghostscript/%%GS_VERSION%%/hpdj/margins-A4Rotated.ps
103
share/ghostscript/%%GS_VERSION%%/hpdj/margins-Letter.ps
130
share/ghostscript/%%GS_VERSION%%/hpdj/margins-Letter.ps
104
share/ghostscript/%%GS_VERSION%%/hpdj/margins-LetterRotated.ps
131
share/ghostscript/%%GS_VERSION%%/hpdj/margins-LetterRotated.ps
105
share/ghostscript/%%GS_VERSION%%/hpijs/append_db.sh
106
share/ghostscript/%%GS_VERSION%%/hpijs/gs_hpijs.png
107
share/ghostscript/%%GS_VERSION%%/hpijs/hpijs_readme.html
108
share/ghostscript/%%GS_VERSION%%/hpijs/printerdb_append
109
share/ghostscript/%%GS_VERSION%%/lib/Fontmap
132
share/ghostscript/%%GS_VERSION%%/lib/Fontmap
110
share/ghostscript/%%GS_VERSION%%/lib/Fontmap.GS
133
share/ghostscript/%%GS_VERSION%%/lib/Fontmap.GS
111
share/ghostscript/%%GS_VERSION%%/lib/acctest.ps
134
share/ghostscript/%%GS_VERSION%%/lib/acctest.ps
Lines 143-151 Link Here
143
share/ghostscript/%%GS_VERSION%%/lib/cdj690ec.upp
166
share/ghostscript/%%GS_VERSION%%/lib/cdj690ec.upp
144
share/ghostscript/%%GS_VERSION%%/lib/cid2code.ps
167
share/ghostscript/%%GS_VERSION%%/lib/cid2code.ps
145
share/ghostscript/%%GS_VERSION%%/lib/decrypt.ps
168
share/ghostscript/%%GS_VERSION%%/lib/decrypt.ps
169
share/ghostscript/%%GS_VERSION%%/lib/dmp_init.ps
170
share/ghostscript/%%GS_VERSION%%/lib/dmp_site.ps
146
share/ghostscript/%%GS_VERSION%%/lib/dnj750c.upp
171
share/ghostscript/%%GS_VERSION%%/lib/dnj750c.upp
147
share/ghostscript/%%GS_VERSION%%/lib/dnj750m.upp
172
share/ghostscript/%%GS_VERSION%%/lib/dnj750m.upp
148
share/ghostscript/%%GS_VERSION%%/lib/docie.ps
173
share/ghostscript/%%GS_VERSION%%/lib/docie.ps
174
share/ghostscript/%%GS_VERSION%%/lib/escp_24.src
149
share/ghostscript/%%GS_VERSION%%/lib/errpage.ps
175
share/ghostscript/%%GS_VERSION%%/lib/errpage.ps
150
share/ghostscript/%%GS_VERSION%%/lib/font2c.ps
176
share/ghostscript/%%GS_VERSION%%/lib/font2c.ps
151
share/ghostscript/%%GS_VERSION%%/lib/font2pcl.ps
177
share/ghostscript/%%GS_VERSION%%/lib/font2pcl.ps
Lines 495-508 Link Here
495
@dirrm share/ghostscript/fonts
521
@dirrm share/ghostscript/fonts
496
@dirrm share/ghostscript/%%GS_VERSION%%/pcl3
522
@dirrm share/ghostscript/%%GS_VERSION%%/pcl3
497
@dirrm share/ghostscript/%%GS_VERSION%%/lib
523
@dirrm share/ghostscript/%%GS_VERSION%%/lib
498
@dirrm share/ghostscript/%%GS_VERSION%%/hpijs
499
@dirrm share/ghostscript/%%GS_VERSION%%/hpdj
524
@dirrm share/ghostscript/%%GS_VERSION%%/hpdj
500
@dirrm share/ghostscript/%%GS_VERSION%%/gimp-print
501
@dirrm share/ghostscript/%%GS_VERSION%%/examples
525
@dirrm share/ghostscript/%%GS_VERSION%%/examples
502
@dirrm share/ghostscript/%%GS_VERSION%%/doc
526
@dirrm share/ghostscript/%%GS_VERSION%%/doc
503
@dirrm share/ghostscript/%%GS_VERSION%%
527
@dirrm share/ghostscript/%%GS_VERSION%%
504
@dirrm share/ghostscript
528
@dirrm share/ghostscript
505
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/pcl3
529
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/pcl3
530
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/npdl
531
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/mjc
532
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/md2k
533
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/lips
534
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/hpijs
506
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/hpdj
535
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/hpdj
536
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/gimp-print
537
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/eplaser
538
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/epag
539
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/dmprt
540
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/bj10v
541
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/alps
507
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%
542
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%
508
%%PORTDOCS%%@dirrm share/doc/ghostscript
543
%%PORTDOCS%%@dirrm share/doc/ghostscript
(-)print/ghostscript-afpl/scripts/configure (-25 / +66 lines)
Lines 14-35 Link Here
14
file format drivers. The gs5 default drivers are preselected. \n\
14
file format drivers. The gs5 default drivers are preselected. \n\
15
Have fun with this new configuration style !     -andreas \n\n\
15
Have fun with this new configuration style !     -andreas \n\n\
16
  Please choose options by pressing SPACE to TOGGLE an option ON/OFF ?" -1 -1 9\
16
  Please choose options by pressing SPACE to TOGGLE an option ON/OFF ?" -1 -1 9\
17
  "x11"      "X Window System version 11, release >=4" ON \
18
  "x11alpha" "X Window System masquer. as device with alpha capability" ON \
19
  "x11cmyk"  "X Window System masquer. as 1-bit-per-plane CMYK device" ON \
20
  "x11cmyk2" "X Window System as a 2-bit-per-plane CMYK device" OFF \
21
  "x11cmyk4" "X Window System as a 4-bit-per-plane CMYK device" OFF \
22
  "x11cmyk8" "X Window System as an 8-bit-per-plane CMYK device" OFF \
23
  "x11gray2" "X Window System as a 2-bit gray-scale device" ON \
24
  "x11gray4" "X Window System as a 4-bit gray-scale device" ON \
25
  "x11mono"  "X Window System masquer. as black-and-white device" ON \
26
  "x11rg16x" "X Window System with G5/B5/R6 pixel layout for testing" ON \
27
  "x11rg32x" "X Window System with G11/B10/R11 pixel layout for testing" ON \
28
  "md2k"     "ALPS MD-2000/2010/4000/1300/1500/5000 [MD2K]" ON \
29
  "md5k"     "ALPS MD-5000 Eco Mode [MD2K]" ON \
30
  "md50Mono" "ALPS MD-5000 Monochrome [ALPS]" ON \
31
  "md50Eco"  "ALPS MD-5000 Eco Mode [ALPS]" ON \
32
  "md1xMono" "ALPS MD-1x00 Monochrome [ALPS]" ON \
17
  "appledmp" "Apple Dot Matrix Printer / Imagewriter" OFF \
33
  "appledmp" "Apple Dot Matrix Printer / Imagewriter" OFF \
18
  "iwhi"     "Apple Imagewriter, high-resolution mode" OFF \
34
  "iwhi"     "Apple Imagewriter, high-resolution mode" OFF \
19
  "iwlo"     "Apple Imagewriter, low-resolution mode" OFF \
35
  "iwlo"     "Apple Imagewriter, low-resolution mode" OFF \
20
  "iwlq"     "Apple Imagewriter LQ in 320 x 216 dpi mode" OFF \
36
  "iwlq"     "Apple Imagewriter LQ in 320 x 216 dpi mode" OFF \
21
  "hl7x0"    "Brother HL720 and HL730 (HL760=PCL), MFC6550MC Fax Machine" OFF \
37
  "hl7x0"    "Brother HL720 and HL730 (HL760=PCL), MFC6550MC Fax Machine" OFF \
22
  "bj10e"    "Canon BubbleJet BJ10e" ON \
38
  "bj10e"    "Canon BubbleJet BJ-10e" ON \
23
  "bj200"    "Canon BubbleJet BJ200 and BJC-240(b&w)" ON \
39
  "bj10v"    "Canon BubbleJet BJ-10v [BJ10V]" ON \
40
  "bj10vh"   "Canon BubbleJet BJ-10v, high-mergin [BJ10V]" ON \
41
  "bj200"    "Canon BubbleJet BJ-200 and BJC-240(b&w)" ON \
24
  "bjc600"   "Canon Color BJC-600/4xxx/70 + Apple StyleWriter 2x00" ON \
42
  "bjc600"   "Canon Color BJC-600/4xxx/70 + Apple StyleWriter 2x00" ON \
25
  "bjc800"   "Canon Color BubbleJet BJC-240/800" ON \
43
  "bjc800"   "Canon Color BubbleJet BJC-240/800" ON \
26
  "lbp8"     "Canon LBP-8II laser printer" OFF \
44
  "lbp8"     "Canon LBP-8II laser printer" OFF \
27
  "lips3"    "Canon LIPS III laser printer in English (CaPSL) mode" OFF \
45
  "lips2p"   "Canon LIPS II+ [LIPS]" ON \
46
  "lips3"    "Canon LIPS III [LIPS]" ON \
47
  "lips4"    "Canon LIPS IV [LIPS]" ON \
48
  "bjc880j"  "Canon LIPS IVc (BJC-680J/880J) [LIPS]" ON \
49
  "lips4v"   "Canon LIPS IV, vector output mode [LIPS]" ON \
28
  "m8510"    "C.Itoh M8510 printer" OFF \
50
  "m8510"    "C.Itoh M8510 printer" OFF \
29
  "coslw2p"  "CoStar LabelWriter II II/Plus" OFF \
51
  "coslw2p"  "CoStar LabelWriter II II/Plus" OFF \
30
  "coslwxl"  "CoStar LabelWriter XL" OFF \
52
  "coslwxl"  "CoStar LabelWriter XL" OFF \
31
  "stp"      "Configurable Canon/Epson/Lexmark/HP driver (Gimp-Print)" ON \
53
  "stp"      "Configurable Canon/Epson/Lexmark/HP driver [Gimp-Print]" ON \
32
  "uniprint" "Configurable ESC/P,ESC/P2,HP-RTL/PCL,P2X mono/color driver" ON \
54
  "uniprint" "Configurable ESC/P,ESC/P2,HP-RTL/PCL,P2X mono/color driver" ON \
55
  "dmprt"    "Configurable dot matrix printer driver [DMPRT]" ON \
33
  "lj250"    "DEC LJ250 Companion color printer" OFF \
56
  "lj250"    "DEC LJ250 Companion color printer" OFF \
34
  "declj250" "DEC LJ250 driver (alternate)" OFF \
57
  "declj250" "DEC LJ250 driver (alternate)" OFF \
35
  "ap3250"   "Epson ActionPrinter 3250" OFF \
58
  "ap3250"   "Epson ActionPrinter 3250" OFF \
Lines 37-44 Link Here
37
  "eps9mid"  "Epson-compatible 9-pin, interleaved lines, medium resol" OFF \
60
  "eps9mid"  "Epson-compatible 9-pin, interleaved lines, medium resol" OFF \
38
  "eps9high" "Epson-compatible 9-pin, interleaved lines, triple resol" OFF \
61
  "eps9high" "Epson-compatible 9-pin, interleaved lines, triple resol" OFF \
39
  "lp8000"   "Epson LP-8000 line printer" OFF \
62
  "lp8000"   "Epson LP-8000 line printer" OFF \
63
  "epag"     "Epson ESC/Page laser printer (generic) [EPAG]" ON \
64
  "escpage"  "Epson ESC/Page laser printer (generic) [LIPS]" ON \
65
  "lp2000"   "Epson LP-2000/3000/7000/7000G laser printer [LIPS]" ON \
66
  "lp8800c"  "Epson LP-8800C color laser printer [EPLASER]" ON \
67
  "lp8300c"  "Epson LP-8300C color laser printer [EPLASER]" ON \
68
  "lp8500c"  "Epson LP-8500C color laser printer [EPLASER]" ON \
69
  "lp3000c"  "Epson LP-3000C color laser printer [EPLASER]" ON \
70
  "lp8200c"  "Epson LP-8200C color laser printer [EPLASER]" ON \
71
  "lp8000c"  "Epson LP-8000C color laser printer [EPLASER]" ON \
72
  "lp2200"   "Epson LP-2200 laser printer [EPLASER]" ON \
73
  "lp9400"   "Epson LP-9400(R) laser printer [EPLASER]" ON \
74
  "lp8700"   "Epson LP-8700(R) laser printer [EPLASER]" ON \
75
  "lp8100"   "Epson LP-8100(R) laser printer [EPLASER]" ON \
76
  "lp8600f"  "Epson LP-8600FX(N) laser printer [EPLASER]" ON \
77
  "lp8400f"  "Epson LP-8400FX(N) laser printer [EPLASER]" ON \
78
  "lp8300f"  "Epson LP-8300F laser printer [EPLASER]" ON \
79
  "lp1900"   "Epson LP-1900(N) laser printer [EPLASER]" ON \
80
  "lp9600s"  "Epson LP-9600S laser printer [EPLASER]" ON \
81
  "lp9600"   "Epson LP-9600 laser printer [EPLASER]" ON \
82
  "lp9300"   "Epson LP-9300 laser printer [EPLASER]" ON \
83
  "lp8600"   "Epson LP-8600FX(N) laser printer [EPLASER]" ON \
84
  "lp1800"   "Epson LP-1800 laser printer [EPLASER]" ON \
40
  "lq850"    "Epson LQ-850 (360x360), ok for Canon BJ300 in LQ850 emul" OFF \
85
  "lq850"    "Epson LQ-850 (360x360), ok for Canon BJ300 in LQ850 emul" OFF \
41
  "epsonc"   "Epson LQ-2550 and Fujitsu 3400/2400/1200 color" OFF \
86
  "epsonc"   "Epson LQ-2550 and Fujitsu 3400/2400/1200 color" OFF \
87
  "mjc180"   "Epson MachJet series 180dpi, CMYK [MJC]" ON \
88
  "mjc360"   "Epson MachJet series 360dpi, CMYK [MJC]" ON \
89
  "mjc720"   "Epson MachJet series 720dpi, CMYK [MJC]" ON \
90
  "mj500c"   "Epson MachJet MJ-500C 360dpi, CMY or mono [MJC]" ON \
42
  "st800"    "Epson Stylus 800 printer" OFF \
91
  "st800"    "Epson Stylus 800 printer" OFF \
43
  "stcolor"  "Epson Stylus Color and II/IIs/1500 (see driver docu)" OFF \
92
  "stcolor"  "Epson Stylus Color and II/IIs/1500 (see driver docu)" OFF \
44
  "photoex"  "Epson Stylus Color Photo, Photo EX, Photo 700" OFF \
93
  "photoex"  "Epson Stylus Color Photo, Photo EX, Photo 700" OFF \
Lines 52-63 Link Here
52
  "cdjmono"  "HP DeskJet 500/510/520/540C b/w printing" ON \
101
  "cdjmono"  "HP DeskJet 500/510/520/540C b/w printing" ON \
53
  "cdj500"   "HP DeskJet 500/540C (same as cdjcolor)" OFF \
102
  "cdj500"   "HP DeskJet 500/540C (same as cdjcolor)" OFF \
54
  "cdj550"   "HP DeskJet 550C/560C/660C/660Cse" ON \
103
  "cdj550"   "HP DeskJet 550C/560C/660C/660Cse" ON \
55
  "cdj670"   "HP DeskJet 670/690 (HP8XX driver)" ON \
104
  "cdj670"   "HP DeskJet 670/690 [HP8XX]" ON \
56
  "cdj850"   "HP DeskJet 850/855/870/1100 (HP8XX driver)" ON \
105
  "cdj850"   "HP DeskJet 850/855/870/1100 [HP8XX]" ON \
57
  "cdj880"   "HP DeskJet 880 (HP8XX driver)" ON \
106
  "cdj880"   "HP DeskJet 880 [HP8XX]" ON \
58
  "cdj890"   "HP DeskJet 890 (HP8XX driver)" ON \
107
  "cdj890"   "HP DeskJet 890 [HP8XX]" ON \
59
  "cdj1600"  "HP DeskJet 1600 (HP8XX driver)" ON \
108
  "cdj1600"  "HP DeskJet 1600 [HP8XX]" ON \
60
  "cdj970"   "HP DeskJet 970CXi (HP970 driver)" ON \
109
  "cdj970"   "HP DeskJet 970CXi [DJ970]" ON \
61
  "laserjet" "HP LaserJet" ON \
110
  "laserjet" "HP LaserJet" ON \
62
  "ljetplus" "HP LaserJet Plus" ON \
111
  "ljetplus" "HP LaserJet Plus" ON \
63
  "ljet2p"   "HP LaserJet IId/IIp/III* with TIFF compression" ON \
112
  "ljet2p"   "HP LaserJet IId/IIp/III* with TIFF compression" ON \
Lines 78-86 Link Here
78
  "pjxl300"  "HP PaintJet XL300, DeskJet 1200C color printer, HP CopyJet" ON \
127
  "pjxl300"  "HP PaintJet XL300, DeskJet 1200C color printer, HP CopyJet" ON \
79
  "pxlmono"  "HP PCL XL black-and-white printers (LaserJet 5 and 6 family)" ON \
128
  "pxlmono"  "HP PCL XL black-and-white printers (LaserJet 5 and 6 family)" ON \
80
  "pxlcolor" "HP PCL XL color printers (Color LaserJet 4500/5000)" ON \
129
  "pxlcolor" "HP PCL XL color printers (Color LaserJet 4500/5000)" ON \
81
  "pcl3"     "HP PCL 3+ (DeskJet 500/500C/510/520/540/550C/560C/850C/855C)" ON \
130
  "pcl3"     "HP PCL 3+ (generic) [PCL3]" ON \
82
  "hpdj"     "HP PCL 3+ (old drv.)" ON \
131
  "hpdj"     "HP PCL 3+ (old drv.) [HPDJ]" ON \
83
  "ijs"      "HP PhotoSmart/DeskJet series (HP developed driver)" ON \
132
  "ijs"      "HP PhotoSmart/DeskJet series [HPinkjet]" ON \
84
  "ibmpro"   "IBM 9-pin Proprinter" OFF \
133
  "ibmpro"   "IBM 9-pin Proprinter" OFF \
85
  "jetp3852" "IBM Jetprinter ink-jet color (Model #3852)" OFF \
134
  "jetp3852" "IBM Jetprinter ink-jet color (Model #3852)" OFF \
86
  "imagen"   "Imagen ImPress printers" OFF \
135
  "imagen"   "Imagen ImPress printers" OFF \
Lines 88-93 Link Here
88
  "lxm5700m" "Lexmark 5700 monotone" OFF \
137
  "lxm5700m" "Lexmark 5700 monotone" OFF \
89
  "cp50"     "Mitsubishi CP50 color" OFF \
138
  "cp50"     "Mitsubishi CP50 color" OFF \
90
  "necp6"    "NEC PinWriter P6/P6+/P60, 360x360 DPI resol" OFF \
139
  "necp6"    "NEC PinWriter P6/P6+/P60, 360x360 DPI resol" OFF \
140
  "npdl"     "NEC Printer Description Language [NPDL]" ON \
91
  "oce9050"  "OCE 9050 printer" OFF \
141
  "oce9050"  "OCE 9050 printer" OFF \
92
  "oki182"   "Okidata MicroLine 182" OFF \
142
  "oki182"   "Okidata MicroLine 182" OFF \
93
  "okiibm"   "Okidata MicroLine IBM-compatible printers" OFF \
143
  "okiibm"   "Okidata MicroLine IBM-compatible printers" OFF \
Lines 95-100 Link Here
95
  "atx24"    "Practical Automation ATX-24 label printer" OFF \
145
  "atx24"    "Practical Automation ATX-24 label printer" OFF \
96
  "atx38"    "Practical Automation ATX-38 label printer" OFF \
146
  "atx38"    "Practical Automation ATX-38 label printer" OFF \
97
  "r4081"    "Ricoh 4081 laser printer" OFF \
147
  "r4081"    "Ricoh 4081 laser printer" OFF \
148
  "rpdl"     "Ricoh Printer Description Language [LIPS]" ON \
149
  "gdi"      "Samsung SmartGDI laser printer [GDI] ON \
98
  "sj48"     "StarJet 48 inkjet printer" OFF \
150
  "sj48"     "StarJet 48 inkjet printer" OFF \
99
  "t4693d2"  "Tektronix 4693d color, 2 bits per R/G/B component" OFF \
151
  "t4693d2"  "Tektronix 4693d color, 2 bits per R/G/B component" OFF \
100
  "t4693d4"  "Tektronix 4693d color, 4 bits per R/G/B component" OFF \
152
  "t4693d4"  "Tektronix 4693d color, 4 bits per R/G/B component" OFF \
Lines 173-189 Link Here
173
  "tiff24nc" "TIFF 24-bit RGB, no compression, NeXT std. format" ON \
225
  "tiff24nc" "TIFF 24-bit RGB, no compression, NeXT std. format" ON \
174
  "tifflzw"  "TIFF LZW,      tag = 5,     mono" ON \
226
  "tifflzw"  "TIFF LZW,      tag = 5,     mono" ON \
175
  "tiffpack" "TIFF PackBits, tag = 32773, mono" ON \
227
  "tiffpack" "TIFF PackBits, tag = 32773, mono" ON \
176
  "x11"      "X Window System version 11, release >=4" ON \
177
  "x11alpha" "X Window System masquer. as device with alpha capability" ON \
178
  "x11cmyk"  "X Window System masquer. as 1-bit-per-plane CMYK device" ON \
179
  "x11cmyk2" "X Window System as a 2-bit-per-plane CMYK device" OFF \
180
  "x11cmyk4" "X Window System as a 4-bit-per-plane CMYK device" OFF \
181
  "x11cmyk8" "X Window System as an 8-bit-per-plane CMYK device" OFF \
182
  "x11gray2" "X Window System as a 2-bit gray-scale device" ON \
183
  "x11gray4" "X Window System as a 4-bit gray-scale device" ON \
184
  "x11mono"  "X Window System masquer. as black-and-white device" ON \
185
  "x11rg16x" "X Window System with G5/B5/R6 pixel layout for testing" ON \
186
  "x11rg32x" "X Window System with G11/B10/R11 pixel layout for testing" ON \
187
2> /tmp/checklist.tmp.$$
228
2> /tmp/checklist.tmp.$$
188
229
189
retval=$?
230
retval=$?
Lines 211-217 Link Here
211
#	> ${WRKSRC}/src/unix-gcc.mak.new
252
#	> ${WRKSRC}/src/unix-gcc.mak.new
212
# XXX new:
253
# XXX new:
213
echo "DEVICE_DEVS=$choice" \
254
echo "DEVICE_DEVS=$choice" \
214
	| perl -pe 's|"([a-z0-9]+)"|\$(DD)\1.dev|g' \
255
	| perl -pe 's|"([A-Za-z0-9]+)"|\$(DD)\1.dev|g' \
215
	> ${WRKSRC}/src/unix-gcc.mak.new
256
	> ${WRKSRC}/src/unix-gcc.mak.new
216
257
217
# create one new Makefile, where DEVICE_DEVS contains all wanted devices
258
# create one new Makefile, where DEVICE_DEVS contains all wanted devices
(-)print/ghostscript-afpl/scripts/configure.batch (-1 / +1 lines)
Lines 10-16 Link Here
10
DEVICE_DEVS= \$(DD)x11.dev \$(DD)x11alpha.dev \$(DD)x11cmyk.dev \$(DD)x11cmyk2.dev \$(DD)x11cmyk4.dev \$(DD)x11cmyk8.dev \$(DD)x11gray2.dev \$(DD)x11gray4.dev \$(DD)x11mono.dev \$(DD)x11rg16x.dev \$(DD)x11rg32x.dev
10
DEVICE_DEVS= \$(DD)x11.dev \$(DD)x11alpha.dev \$(DD)x11cmyk.dev \$(DD)x11cmyk2.dev \$(DD)x11cmyk4.dev \$(DD)x11cmyk8.dev \$(DD)x11gray2.dev \$(DD)x11gray4.dev \$(DD)x11mono.dev \$(DD)x11rg16x.dev \$(DD)x11rg32x.dev
11
endif
11
endif
12
12
13
DEVICE_DEVS+= \$(DD)appledmp.dev \$(DD)iwhi.dev \$(DD)iwlo.dev \$(DD)iwlq.dev \$(DD)hl7x0.dev \$(DD)bj10e.dev \$(DD)bj200.dev \$(DD)bjc600.dev \$(DD)bjc800.dev \$(DD)lbp8.dev \$(DD)lips3.dev \$(DD)m8510.dev \$(DD)coslw2p.dev \$(DD)coslwxl.dev \$(DD)stp.dev \$(DD)uniprint.dev \$(DD)lj250.dev \$(DD)declj250.dev \$(DD)ap3250.dev \$(DD)epson.dev \$(DD)eps9mid.dev \$(DD)eps9high.dev \$(DD)lp8000.dev \$(DD)lq850.dev \$(DD)epsonc.dev \$(DD)st800.dev \$(DD)stcolor.dev \$(DD)photoex.dev \$(DD)lp2563.dev \$(DD)dnj650c.dev \$(DD)deskjet.dev \$(DD)djet500.dev \$(DD)cdeskjet.dev \$(DD)djet500c.dev \$(DD)cdjcolor.dev \$(DD)cdjmono.dev \$(DD)cdj500.dev \$(DD)cdj550.dev \$(DD)cdj670.dev \$(DD)cdj850.dev \$(DD)cdj880.dev \$(DD)cdj890.dev \$(DD)cdj1600.dev \$(DD)cdj970.dev \$(DD)laserjet.dev \$(DD)ljetplus.dev \$(DD)ljet2p.dev \$(DD)ljet3.dev \$(DD)ljet3d.dev \$(DD)ljet4.dev \$(DD)ljet4d.dev \$(DD)lj4dith.dev \$(DD)cljet5.dev \$(DD)cljet5c.dev \$(DD)cljet5pr.dev \$(DD)lj5mono.dev \$(DD)lj5gray.dev \$(DD)pj.dev \$(DD)pjetxl.dev \$(DD)pjxl.dev \$(DD)paintjet.dev \$(DD)pjxl300.dev \$(DD)pxlmono.dev \$(DD)pxlcolor.dev \$(DD)pcl3.dev \$(DD)hpdj.dev \$(DD)ijs.dev \$(DD)ibmpro.dev \$(DD)jetp3852.dev \$(DD)imagen.dev \$(DD)fs600.dev \$(DD)lxm5700m.dev \$(DD)cp50.dev \$(DD)necp6.dev \$(DD)oce9050.dev \$(DD)oki182.dev \$(DD)okiibm.dev \$(DD)atx23.dev \$(DD)atx24.dev \$(DD)atx38.dev \$(DD)r4081.dev \$(DD)sj48.dev \$(DD)bmpmono.dev \$(DD)bmpgray.dev \$(DD)bmp16.dev \$(DD)bmp256.dev \$(DD)bmp16m.dev \$(DD)bmp32b.dev \$(DD)bmpsep1.dev \$(DD)bmpsep8.dev \$(DD)ccr.dev \$(DD)cgmmono.dev \$(DD)cgm8.dev \$(DD)cgm24.dev \$(DD)cif.dev \$(DD)dfaxhigh.dev \$(DD)dfaxlow.dev \$(DD)faxg3.dev \$(DD)faxg32d.dev \$(DD)faxg4.dev \$(DD)miff24.dev \$(DD)inferno.dev \$(DD)jpeg.dev \$(DD)jpeggray.dev \$(DD)mgrmono.dev \$(DD)mgrgray2.dev \$(DD)mgrgray4.dev \$(DD)mgrgray8.dev \$(DD)mgr4.dev \$(DD)mgr8.dev \$(DD)pcxmono.dev \$(DD)pcxgray.dev \$(DD)pcx16.dev \$(DD)pcx256.dev \$(DD)pcx24b.dev \$(DD)pcxcmyk.dev \$(DD)pdfwrite.dev \$(DD)bit.dev \$(DD)bitrgb.dev!
14
\$(DD)bitcmyk.dev \$(DD)plan9bm.dev \$(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 \$(DD)pngmono.dev \$(DD)pnggray.dev \$(DD)png16.dev \$(DD)png256.dev \$(DD)png16m.dev \$(DD)psmono.dev \$(DD)psgray.dev \$(DD)psrgb.dev \$(DD)pswrite.dev \$(DD)epswrite.dev \$(DD)sgirgb.dev \$(DD)sunhmono.dev \$(DD)t4693d2.dev \$(DD)t4693d4.dev \$(DD)t4693d8.dev \$(DD)tek4696.dev \$(DD)tiffcrle.dev \$(DD)tiffg3.dev \$(DD)tiffg32d.dev \$(DD)tiffg4.dev \$(DD)tiff12nc.dev \$(DD)tiff24nc.dev \$(DD)tifflzw.dev \$(DD)tiffpack.dev
13
\$(DD)bitcmyk.dev \$(DD)plan9bm.dev \$(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 \$(DD)pngmono.dev \$(DD)pnggray.dev \$(DD)png16.dev \$(DD)png256.dev \$(DD)png16m.dev \$(DD)psmono.dev \$(DD)psgray.dev \$(DD)psrgb.dev \$(DD)pswrite.dev \$(DD)epswrite.dev \$(DD)sgirgb.dev \$(DD)sunhmono.dev \$(DD)t4693d2.dev \$(DD)t4693d4.dev \$(DD)t4693d8.dev \$(DD)tek4696.dev \$(DD)tiffcrle.dev \$(DD)tiffg3.dev \$(DD)tiffg32d.dev \$(DD)tiffg4.dev \$(DD)tiff12nc.dev \$(DD)tiff24nc.dev \$(DD)tifflzw.dev \$(DD)tiffpack.dev
14
DEVICE_DEVS+= \$(DD)md2k.dev \$(DD)md5k.dev \$(DD)md50Mono.dev \$(DD)md50Eco.dev \$(DD)md1xMono.dev \$(DD)appledmp.dev \$(DD)iwhi.dev \$(DD)iwlo.dev \$(DD)iwlq.dev \$(DD)hl7x0.dev \$(DD)bj10e.dev \$(DD)bj200.dev \$(DD)bjc600.dev \$(DD)bjc800.dev \$(DD)lbp8.dev \$(DD)lips2p.dev \$(DD)lips3.dev \$(DD)lips4.dev \$(DD)bjc880j.dev \$(DD)lips4v.dev \$(DD)m8510.dev \$(DD)coslw2p.dev \$(DD)coslwxl.dev \$(DD)stp.dev \$(DD)uniprint.dev \$(DD)dmprt.dev \$(DD)lj250.dev \$(DD)declj250.dev \$(DD)ap3250.dev \$(DD)epson.dev \$(DD)eps9mid.dev \$(DD)eps9high.dev \$(DD)lp8000.dev \$(DD)epag.dev \$(DD)escpage.dev \$(DD)lp2000.dev \$(DD)lp8800c.dev \$(DD)lp8300c.dev \$(DD)lp8500c.dev \$(DD)lp3000c.dev \$(DD)lp8200c.dev \$(DD)lp8000c.dev \$(DD)lp2200.dev \$(DD)lp9400.dev \$(DD)lp8700.dev \$(DD)lp8100.dev \$(DD)lp8600f.dev \$(DD)lp8400f.dev \$(DD)lp8300f.dev \$(DD)lp1900.dev \$(DD)lp9600s.dev \$(DD)lp9300.dev \$(DD)lp8600.dev \$(DD)lp1800.dev \$(DD)lq850.dev \$(DD)epsonc.dev \$(DD)mjc180.dev \$(DD)mjc360.dev \$(DD)mjc720.dev \$(DD)mj500c.dev \$(DD)st800.dev \$(DD)stcolor.dev \$(DD)photoex.dev \$(DD)lp2563.dev \$(DD)dnj650c.dev \$(DD)deskjet.dev \$(DD)djet500.dev \$(DD)cdeskjet.dev \$(DD)djet500c.dev \$(DD)cdjcolor.dev \$(DD)cdjmono.dev \$(DD)cdj500.dev \$(DD)cdj550.dev \$(DD)cdj670.dev \$(DD)cdj850.dev \$(DD)cdj880.dev \$(DD)cdj890.dev \$(DD)cdj1600.dev \$(DD)cdj970.dev \$(DD)laserjet.dev \$(DD)ljetplus.dev \$(DD)ljet2p.dev \$(DD)ljet3.dev \$(DD)ljet3d.dev \$(DD)ljet4.dev \$(DD)ljet4d.dev \$(DD)lj4dith.dev \$(DD)cljet5.dev \$(DD)cljet5c.dev \$(DD)cljet5pr.dev \$(DD)lj5mono.dev \$(DD)lj5gray.dev \$(DD)pj.dev \$(DD)pjetxl.dev \$(DD)pjxl.dev \$(DD)paintjet.dev \$(DD)pjxl300.dev \$(DD)pxlmono.dev \$(DD)pxlcolor.dev \$(DD)pcl3.dev \$(DD)hpdj.dev \$(DD)ijs.dev \$(DD)ibmpro.dev \$(DD)jetp3852.dev \$(DD)imagen.dev \$(DD)fs600.dev \$(DD)lxm5700m.dev \$(DD)cp50.dev \$(DD)necp6.dev \$(DD)npdl.dev \$(DD)oce9050.dev \$(DD)oki182.dev \$(DD)okiibm.dev \$(DD)atx23.dev \$(DD)atx24.dev \$(DD)atx38.dev \$(DD)r4081.dev \$(DD)rpdl.dev \$(DD)gdi.d!
15
!EOT
15
!EOT
16
16
17
# create one new Makefile, where DEVICE_DEVS contains all wanted devices
17
# create one new Makefile, where DEVICE_DEVS contains all wanted devices

Return to bug 36673