Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2001 08:05:41 -0800 (PST)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/33061: Update port: print/ghostscript-gnu (fix ports/32523)
Message-ID:  <200112211605.fBLG5fd96946@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         33061
>Category:       ports
>Synopsis:       Update port: print/ghostscript-gnu (fix ports/32523)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 21 08:10:02 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Update Gimp-Print driver to version 4.2.0 
- Update HPinkjet driver to version 1.0 

New file:
files/stp.contrib.mak

Remove file:
files/escputil.contrib.mak
files/patch-hpijs:makefile
files/patch-hpijs:platform.h

This PR supersedes ports/32523.

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/print/ghostscript-gnu/Makefile print/ghostscript-gnu/Makefile
--- /usr/ports/print/ghostscript-gnu/Makefile	Mon Nov  5 22:49:11 2001
+++ print/ghostscript-gnu/Makefile	Sat Dec 15 05:54:14 2001
@@ -7,6 +7,7 @@
 
 PORTNAME=	ghostscript
 PORTVERSION=	6.52
+PORTREVISION=	1
 CATEGORIES=	print
 MASTER_SITES=	${MASTER_SITE_GNU} \
 		${MASTER_SITE_SOURCEFORGE} \
@@ -31,12 +32,12 @@
 
 USE_BZIP2=	yes
 USE_GMAKE=	yes
-CFLAGS+=	-DUPD_SIGNAL=0
+MAKE_ENV=	CC="${CC}" CXX="${CXX}" XCFLAGS="${XCFLAGS}"
 MAKEFILE=	src/unix-gcc.mak
-ALL_TARGET=	all pcl3opts escputil
+ALL_TARGET=	all pcl3opts
 PLIST_SUB=	GS_VERSION=${PORTVERSION}
 
-MAN1=		dvipdf.1 eps2eps.1 escputil.1 font2c.1 gs-hpdj.1 gs-pcl3.1 \
+MAN1=		dvipdf.1 eps2eps.1 font2c.1 gs-hpdj.1 gs-pcl3.1 \
 		gs.1 gslp.1 gsnd.1 pcl3opts.1 pdf2dsc.1 pdf2ps.1 pdfopt.1 \
 		pf2afm.1 pfbtopfa.1 printafm.1 ps2ascii.1 ps2epsi.1 ps2pdf.1 \
 		ps2pdfwr.1 ps2ps.1 wftopfa.1
@@ -47,8 +48,10 @@
 		ps2pdf.1 ps2pdf12.1 \
 		ps2pdf.1 ps2pdf13.1
 
+XCFLAGS=	-DUPD_SIGNAL=0
+
 .if defined(A4)
-MAKE_ENV+=	A4="${A4}"
+XCFLAGS+=	-DA4
 .endif
 
 .if !defined(WITHOUT_X11)
@@ -95,20 +98,18 @@
 # http://www.harsch.net/Ghostscript/ghostscript.html
 HP970_DRV=	gdevdj9.c.gz
 
-# gimp-print - very high quality driver for Epson, HPs,...
+# Gimp-Print - very high quality driver for Epson, HPs,...
 # http://gimp-print.sourceforge.net/
-GPRINT=		print
-GPRINT_DESC=	gimp-${GPRINT}
-GPRINT_VERS=	4.0.5
+GPRINT=		gimp-print
+GPRINT_VERS=	4.2.0
 GPRINT_NAME=	${GPRINT}-${GPRINT_VERS}
 GPRINT_SRC=	${GPRINT_NAME}.tar.gz
-GPRINT_MAN1=	escputil.1
 
 # HPinkjet - HP developed printer driver for PhotoSmart/DeskJet series
 # http://hpinkjet.sourceforge.net/
 HPIJS=		hpijs
-HPIJS_VERS=	0.97
-HPIJS_NAME=	${HPIJS}${HPIJS_VERS}
+HPIJS_VERS=	1.0
+HPIJS_NAME=	${HPIJS}-${HPIJS_VERS}
 HPIJS_SRC=	${HPIJS_NAME}.tar.gz
 
 # contributed uniprint profiles
@@ -131,7 +132,6 @@
 	${ECHO_MSG} ">>> in post-extract ..."
 	${LN} -sf ${WRKDIRPREFIX}${.CURDIR}/../../graphics/jpeg/work/jpeg-6b \
 		${WRKSRC}/jpeg
-	${RM} -f ${WRKSRC}/man/de/*.1
 # ** 3rd party driver **
 # Note: don't forget to add those devices in scripts/configure and
 # configure.batch, which update unix-gcc.mak to build gs with these
@@ -154,21 +154,21 @@
 	${ECHO_MSG} ">>>   extracting ${HP970_DRV} ..."
 	${CP} ${DISTDIR}/${DIST_SUBDIR}/${HP970_DRV} ${WRKSRC}/src
 	${GUNZIP_CMD} ${WRKSRC}/src/${HP970_DRV}
-# for gimp-print
+# for Gimp-Print driver
 	${ECHO_MSG} ">>>   extracting ${GPRINT_SRC} ..."
 	${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${GPRINT_SRC}
 # for HPinkjet driver
 	${ECHO_MSG} ">>>   extracting ${HPIJS_SRC} ..."
 	${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${HPIJS_SRC}
-	${LN} -sf ${HPIJS_NAME} ${WRKSRC}/hpijs
 
 post-patch:
 	${PERL} -pi -e 's|^DEVICE_DEVS|#DEVICE_DEVS|g' \
 		${WRKSRC}/src/unix-gcc.mak
 # for HPinkjet driver
+	${PERL} -pi -e 's|CFLAGS="-O2 -Wall"||g ; \
+		 s|CXXFLAGS="-O2 -Wall"||g' ${WRKSRC}/${HPIJS_NAME}/configure
 	find ${WRKSRC}/${HPIJS_NAME} -name '*.h' | xargs ${PERL} -pi -e \
-		's|#include <malloc.h>||g; \
-		 s|SRVPATH \"hpijs\"|SRVPATH \"${PREFIX}/libexec/hpijs\"|g'
+		's|#include <malloc.h>||g'
 
 # here we apply the modifications necessary to build the 3rd party drivers
 # advantage: you see unmodified makefiles after a pure make extract
@@ -182,20 +182,11 @@
 	${ECHO_MSG} ">>>   adding ${PCL3} driver to contrib.mak ..."
 	${CAT} ${WRKSRC}/${PCL3_NAME}/src/contrib.mak-6.51.add \
 		>> ${WRKSRC}/src/contrib.mak
-# for gimp-print
-	${ECHO_MSG} ">>>   creating symlinks for ${GPRINT_DESC} ..."
-	${LN} -sf ${WRKSRC}/${GPRINT_NAME}/Ghost/*.[ch] \
-		${WRKSRC}/src
-	${ECHO_MSG} ">>>   adding ${GPRINT_DESC} driver to contrib.mak ..."
-	${CAT} ${WRKSRC}/${GPRINT_NAME}/Ghost/contrib.mak.addon \
-		>> ${WRKSRC}/src/contrib.mak
-	${ECHO_MSG} ">>>   adding make rules for escputil to contrib.mak ..."
-	${CAT} ${FILESDIR}/escputil.contrib.mak \
+# for Gimp-Print driver
+	${ECHO_MSG} ">>>   adding ${GPRINT} driver to contrib.mak ..."
+	${CAT} ${FILESDIR}/stp.contrib.mak \
 		>> ${WRKSRC}/src/contrib.mak
 # for HPinkjet driver
-	${ECHO_MSG} ">>>   creating symlinks for ${HPIJS} ..."
-	${LN} -sf ${WRKSRC}/${HPIJS_NAME}/gdevhpij.[ch] \
-		${WRKSRC}/src
 	${ECHO_MSG} ">>>   adding ${HPIJS} driver to contrib.mak ..."
 	${CAT} ${FILESDIR}/hpijs.contrib.mak \
 		>> ${WRKSRC}/src/contrib.mak
@@ -208,16 +199,49 @@
 	${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure
 .endif
 
+post-configure:
+	${ECHO_MSG} ">>> in post-configure ..."
+# for Gimp-Print driver
+	${ECHO_MSG} ">>>   running configure script for ${GPRINT} driver ..."
+	cd ${WRKSRC}/${GPRINT_NAME} ; \
+		${SETENV} ${MAKE_ENV} ${SH} ./configure \
+			--without-cups --without-translated-ppds \
+			--with-ghost --without-foomatic \
+			--without-gimp --without-samples \
+			--without-user-guide --disable-escputil \
+			--disable-nls --disable-shared \
+			--prefix=${PREFIX}
+# for HPinkjet driver
+	${ECHO_MSG} ">>>   running configure script for ${HPIJS} driver ..."
+	cd ${WRKSRC}/${HPIJS_NAME} ; \
+		${SETENV} ${MAKE_ENV} ${SH} ./configure \
+			--prefix=${PREFIX}
+
 pre-build:
 	${ECHO_MSG} ">>> in pre-build ..."
 	${ECHO_MSG} ">>>   creating directories for compilation ..."
 	${MKDIR} ${WRKSRC}/obj
 	${MKDIR} ${WRKSRC}/bin
-
-post-build:
+# for Gimp-Print driver
+	${ECHO_MSG} ">>>   building ${GPRINT} library ..."
+	cd ${WRKSRC}/${GPRINT_NAME} ; \
+		${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} Makefile
+	${ECHO_MSG} ">>>   creating symlinks for ${GPRINT} ..."
+	${LN} -sf ${WRKSRC}/${GPRINT_NAME}/include/gimp-print \
+		${WRKSRC}/src
+	${LN} -sf ${WRKSRC}/${GPRINT_NAME}/src/ghost/*.[ch] \
+		${WRKSRC}/src
+	${LN} -sf ${WRKSRC}/${GPRINT_NAME}/src/main/.libs/libgimpprint.a \
+		${WRKSRC}/obj
 # for HPinkjet driver
+	${ECHO_MSG} ">>>   building ${HPIJS} server ..."
 	cd ${WRKSRC}/${HPIJS_NAME} ; \
-		${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} makefile
+		${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} Makefile
+	${ECHO_MSG} ">>>   creating symlinks for ${HPIJS} ..."
+.for file in gdevijs.[ch] ijs.[ch] ijs_client.[ch] ijs_exec_unix.c unistd_.h
+	${LN} -sf ${WRKSRC}/${HPIJS_NAME}/${file} \
+		${WRKSRC}/src
+.endfor
 
 pre-install:
 	${ECHO_MSG} ">>> in pre-install ..."
@@ -261,29 +285,22 @@
 	${INSTALL_DATA} ${WRKSRC}/${PCL3_NAME}/${i} \
 		${DATADIR}/${PORTVERSION}/pcl3
 .endfor
-# for gimp-print driver
-	${ECHO_MSG} ">>>   installing ${GPRINT_DESC} escputil in bindir ..."
-	${INSTALL_PROGRAM} ${WRKSRC}/src/escputil ${PREFIX}/bin
-	${ECHO_MSG} ">>>   installing ${GPRINT_DESC} manpages ..."
-.for i in ${GPRINT_MAN1}
-	${INSTALL_MAN} ${WRKSRC}/${GPRINT_NAME}/Ghost/${i} \
-		${PREFIX}/man/man1
-.endfor
-	${ECHO_MSG} ">>>   creating ${GPRINT_DESC} destdir ..."
+# for Gimp-Print driver
+	${ECHO_MSG} ">>>   creating ${GPRINT} destdir ..."
 	${MKDIR} ${DATADIR}/${PORTVERSION}/gimp-print
-	${ECHO_MSG} ">>>   installing files in gimp-print destdir ..."
+	${ECHO_MSG} ">>>   installing files in ${GPRINT} destdir ..."
 .for i in README
-	${INSTALL_DATA} ${WRKSRC}/${GPRINT_NAME}/Ghost/${i} \
+	${INSTALL_DATA} ${WRKSRC}/${GPRINT_NAME}/src/ghost/${i} \
 		${DATADIR}/${PORTVERSION}/gimp-print
 .endfor
 # for HPinkjet driver
-	${ECHO_MSG} ">>>   installing ${HPIJS} server in libexecdir ..."
-	${INSTALL_PROGRAM} ${WRKSRC}/${HPIJS_NAME}/hpijs ${PREFIX}/libexec
+	${ECHO_MSG} ">>>   installing ${HPIJS} server in bindir ..."
+	${INSTALL_PROGRAM} ${WRKSRC}/${HPIJS_NAME}/hpijs ${PREFIX}/bin
 	${ECHO_MSG} ">>>   creating ${HPIJS} destdir ..."
 	${MKDIR} ${DATADIR}/${PORTVERSION}/hpijs
 	${ECHO_MSG} ">>>   installing files in ${HPIJS} destdir ..."
-.for i in hpijs_readme.html
-	${INSTALL_DATA} ${WRKSRC}/${HPIJS}/${i} \
+.for i in hpijs_readme.html gs_hpijs.png printerdb_append append_db.sh
+	${INSTALL_DATA} ${WRKSRC}/${HPIJS_NAME}/${i} \
 		${DATADIR}/${PORTVERSION}/hpijs
 .endfor
 # contributed UPP driver
diff -urN /usr/ports/print/ghostscript-gnu/distinfo print/ghostscript-gnu/distinfo
--- /usr/ports/print/ghostscript-gnu/distinfo	Mon Nov  5 22:49:11 2001
+++ print/ghostscript-gnu/distinfo	Sat Dec 15 01:20:39 2001
@@ -6,5 +6,5 @@
 MD5 (ghostscript/hpdj-2.6.tar.gz) = dcc402281f36afd2041144e0e97917be
 MD5 (ghostscript/pcl3-3.3.tar.gz) = 34e664c2a98b847598f8441f8cac7ab6
 MD5 (ghostscript/gdevdj9.c.gz) = f09ef883b8ba837fb42c608c01af7375
-MD5 (ghostscript/print-4.0.5.tar.gz) = 2eae88b9285d47036d31974fd2b0abc2
-MD5 (ghostscript/hpijs0.97.tar.gz) = d02f8c4c2d730e72038f6f4d4350fbe8
+MD5 (ghostscript/gimp-print-4.2.0.tar.gz) = 4350e2ac1f27eccad0d7ce2aab90cdf6
+MD5 (ghostscript/hpijs-1.0.tar.gz) = 9ec7d86d2cc2dd613f8829891b02104b
diff -urN /usr/ports/print/ghostscript-gnu/files/escputil.contrib.mak print/ghostscript-gnu/files/escputil.contrib.mak
--- /usr/ports/print/ghostscript-gnu/files/escputil.contrib.mak	Wed Sep 12 04:12:18 2001
+++ print/ghostscript-gnu/files/escputil.contrib.mak	Thu Jan  1 09:00:00 1970
@@ -1,6 +0,0 @@
-
-# build escputil command from gimp-print sources
-
-escputil: $(GLSRC)escputil.c
-	$(CC_) -o $(GLSRC)escputil $(GLSRC)escputil.c
-
diff -urN /usr/ports/print/ghostscript-gnu/files/hpijs.contrib.mak print/ghostscript-gnu/files/hpijs.contrib.mak
--- /usr/ports/print/ghostscript-gnu/files/hpijs.contrib.mak	Wed Sep 12 04:12:18 2001
+++ print/ghostscript-gnu/files/hpijs.contrib.mak	Sat Dec 15 18:47:13 2001
@@ -1,31 +1,19 @@
-### ------------- Hewlett-Packard Co. Inkjet Driver -------------- ###
+### ------------- IJS Interface -------------- ###
 
-hpijs_=$(GLOBJ)gdevhpij.$(OBJ)
+ijs_=$(GLOBJ)gdevijs.$(OBJ) $(GLOBJ)ijs_client.$(OBJ) $(GLOBJ)ijs_exec_unix.$(OBJ) $(GLOBJ)ijs.$(OBJ)
 
-$(DD)gdevhpij.$(OBJ): $(GLSRC)gdevhpij.c $(PDEVH)
-	$(GLCC) $(GLO_)gdevhpij.$(OBJ) $(C_) $(GLSRC)gdevhpij.c
+$(GLOBJ)ijs_client.$(OBJ) : $(GLSRC)ijs_client.c $(PDEVH)
+	$(GLCC) $(GLO_)ijs_client.$(OBJ) $(C_) $(GLSRC)ijs_client.c
 
-$(DD)hpijs.dev : $(hpijs_) $(DD)page.dev
-	$(SETPDEV) $(DD)hpijs $(hpijs_)
+$(GLOBJ)ijs_exec_unix.$(OBJ) : $(GLSRC)ijs_exec_unix.c $(PDEVH)
+	$(GLCC) $(GLO_)ijs_exec_unix.$(OBJ) $(C_) $(GLSRC)ijs_exec_unix.c
 
-$(DD)DJ630.dev : $(hpijs_) $(DD)page.dev
-	$(SETPDEV) DJ630 $(hpijs_)
+$(GLOBJ)ijs.$(OBJ) : $(GLSRC)ijs.c $(PDEVH)
+	$(GLCC) $(GLO_)ijs.$(OBJ) $(C_) $(GLSRC)ijs.c
 
-$(DD)DJ6xx.dev : $(hpijs_) $(DD)page.dev
-	$(SETPDEV) DJ6xx $(hpijs_)
+$(GLOBJ)gdevijs.$(OBJ) : $(GLSRC)gdevijs.c $(PDEVH)
+	$(GLCC) $(GLO_)gdevijs.$(OBJ) $(C_) $(GLSRC)gdevijs.c
 
-$(DD)DJ6xxP.dev : $(hpijs_) $(DD)page.dev
-	$(SETPDEV) DJ6xxP $(hpijs_)
-
-$(DD)DJ8xx.dev : $(hpijs_) $(DD)page.dev
-	$(SETPDEV) DJ8xx $(hpijs_)
-
-$(DD)DJ9xx.dev : $(hpijs_) $(DD)page.dev
-	$(SETPDEV) DJ9xx $(hpijs_)
-
-$(DD)DJ9xxVIP.dev : $(hpijs_) $(DD)page.dev
-	$(SETPDEV) DJ9xxVIP $(hpijs_)
-
-$(DD)AP21xx.dev : $(hpijs_) $(DD)page.dev
-	$(SETPDEV) AP21xx $(hpijs_)
+$(DD)ijs.dev : $(ijs_) $(DD)page.dev
+	$(SETPDEV) $(DD)ijs $(ijs_)
 
diff -urN /usr/ports/print/ghostscript-gnu/files/patch-hpijs:makefile print/ghostscript-gnu/files/patch-hpijs:makefile
--- /usr/ports/print/ghostscript-gnu/files/patch-hpijs:makefile	Wed Sep 12 04:12:18 2001
+++ print/ghostscript-gnu/files/patch-hpijs:makefile	Thu Jan  1 09:00:00 1970
@@ -1,32 +0,0 @@
---- hpijs/makefile.orig	Fri Jun  8 06:10:57 2001
-+++ hpijs/makefile	Tue Jul 10 03:09:21 2001
-@@ -1,17 +1,17 @@
--FLAGS = -D_LITTLE_ENDIAN -D_DJ660 -D_DJ6xx -D_DJ6xxPhoto -D_DJ8xx -D_DJ9xx \
-+FLAGS = -D_DJ660 -D_DJ6xx -D_DJ6xxPhoto -D_DJ8xx -D_DJ9xx \
- 	-D_DJ9xxVIP -D_DJ630 -D_APOLLO2100 -D_DJ600 -D_DJ350
- 
- VERSION=0.97
- INSTALLDIR=/usr/bin
- 
- 
--CC = g++ -c -Wall -DVERSION=\"$(VERSION)\" $(FLAGS)
-+CXXFLAGS += -DVERSION=\"$(VERSION)\" $(FLAGS)
- #CC = g++ -c -g -Wall -DVERSION=\"$(VERSION)\" -DCAPTURE $(FLAGS)
- #CC = g++ -c -g -Wall -DVERSION=\"$(VERSION)\" $(FLAGS)
- 
- .cpp.o:
- 	echo "compiling $(<F)"
--	$(CC) $(<F) -o $(*F).o
-+	$(CXX) $(CXXFLAGS) -c $(<F) -o $(*F).o
- 
- OBJS = hpijs.o models.o breaks_open.o \
- 	aladdin.o broadway.o capture.o \
-@@ -28,7 +28,7 @@
- 
- 
- linkit: $(OBJS)
--	g++ $(OBJS) -o hpijs
-+	$(CXX) $(OBJS) -o hpijs
- 
- install:
- 	install -m 0755 -s hpijs $(INSTALLDIR)
diff -urN /usr/ports/print/ghostscript-gnu/files/patch-hpijs:platform.h print/ghostscript-gnu/files/patch-hpijs:platform.h
--- /usr/ports/print/ghostscript-gnu/files/patch-hpijs:platform.h	Sun Oct  7 02:23:22 2001
+++ print/ghostscript-gnu/files/patch-hpijs:platform.h	Thu Jan  1 09:00:00 1970
@@ -1,13 +0,0 @@
---- hpijs/platform.h.orig	Wed Oct  3 03:56:37 2001
-+++ hpijs/platform.h	Wed Oct  3 04:20:33 2001
-@@ -13,3 +13,10 @@
- #include <string.h>
- #include <stdio.h>
- #include <math.h>
-+
-+#ifdef __FreeBSD__
-+#include <machine/endian.h>
-+#if BYTE_ORDER == LITTLE_ENDIAN
-+#define _LITTLE_ENDIAN
-+#endif
-+#endif
diff -urN /usr/ports/print/ghostscript-gnu/files/patch-src:unix-gcc.mak print/ghostscript-gnu/files/patch-src:unix-gcc.mak
--- /usr/ports/print/ghostscript-gnu/files/patch-src:unix-gcc.mak	Mon Nov  5 22:49:12 2001
+++ print/ghostscript-gnu/files/patch-src:unix-gcc.mak	Sat Dec 15 04:22:59 2001
@@ -1,5 +1,5 @@
 --- src/unix-gcc.mak.orig	Tue Jul 10 12:01:06 2001
-+++ src/unix-gcc.mak	Sat Nov  3 05:10:14 2001
++++ src/unix-gcc.mak	Sat Dec 15 04:22:49 2001
 @@ -27,14 +27,15 @@
  # source, generated intermediate file, and object directories
  # for the graphics library (GL) and the PostScript/PDF interpreter (PS).
@@ -106,21 +106,19 @@
  
  # Define the name of the linker for the final link step.
  # Normally this is the same as the C compiler.
-@@ -216,9 +226,11 @@
+@@ -216,9 +226,9 @@
  # We don't include -ansi, because this gets in the way of the platform-
  #   specific stuff that <math.h> typically needs; nevertheless, we expect
  #   gcc to accept ANSI-style function prototypes and function definitions.
 -XCFLAGS=
-+ifdef A4
-+XCFLAGS=-DA4
-+endif
++#XCFLAGS=
  
 -CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(XCFLAGS)
 +CFLAGS+=$(XCFLAGS)
  
  # Define platform flags for ld.
  # SunOS 4.n may need -Bstatic.
-@@ -227,7 +239,7 @@
+@@ -227,7 +237,7 @@
  #	-R /usr/local/xxx/lib:/usr/local/lib
  # giving the full path names of the shared library directories.
  # XLDFLAGS can be set from the command line.
@@ -129,7 +127,7 @@
  
  LDFLAGS=$(XLDFLAGS) -fno-common
  
-@@ -260,7 +272,7 @@
+@@ -260,7 +270,7 @@
  # Note that x_.h expects to find the header files in $(XINCLUDE)/X11,
  # not in $(XINCLUDE).
  
@@ -138,7 +136,7 @@
  
  # Define the directory/ies and library names for the X11 library files.
  # XLIBDIRS is for ld and should include -L; XLIBDIR is for LD_RUN_PATH
-@@ -272,12 +284,12 @@
+@@ -272,12 +282,12 @@
  # Solaris and other SVR4 systems with dynamic linking probably want
  #XLIBDIRS=-L/usr/openwin/lib -R/usr/openwin/lib
  # X11R6 (on any platform) may need
@@ -154,7 +152,7 @@
  
  # Define whether this platform has floating point hardware:
  #	FPU_TYPE=2 means floating point is faster than fixed point.
-@@ -406,7 +418,7 @@
+@@ -406,7 +416,7 @@
  
  # Define the compilation rules and flags.
  
diff -urN /usr/ports/print/ghostscript-gnu/files/stp.contrib.mak print/ghostscript-gnu/files/stp.contrib.mak
--- /usr/ports/print/ghostscript-gnu/files/stp.contrib.mak	Thu Jan  1 09:00:00 1970
+++ print/ghostscript-gnu/files/stp.contrib.mak	Tue Nov 27 03:05:35 2001
@@ -0,0 +1,17 @@
+### --------------- Gimp-Print/stp Driver ---------------------------- ###
+### Be careful to add the exact contents of this file; cut and paste   ###
+### may corrupt the file and cause mysterious make errors              ###
+
+stp_=$(GLOBJ)gdevstp.$(OBJ)
+
+STPINCDIR=-I$(GLSRC)
+STPLIBDIR=-L$(GLOBJ)
+STPLIB=gimpprint
+
+$(DD)stp.dev:	$(stp_) $(DD)page.dev
+	$(SETPDEV) $(DD)stp $(stp_)
+	$(ADDMOD) $(DD)stp -link $(STPLIBDIR)
+	$(ADDMOD) $(DD)stp -lib $(STPLIB)
+
+$(GLOBJ)gdevstp.$(OBJ) : $(GLSRC)gdevstp.c $(PDEVH)
+	$(GLCC) $(GLO_)gdevstp.$(OBJ) $(C_) $(STPINCDIR) $(GLSRC)gdevstp.c
diff -urN /usr/ports/print/ghostscript-gnu/pkg-plist print/ghostscript-gnu/pkg-plist
--- /usr/ports/print/ghostscript-gnu/pkg-plist	Mon Nov  5 22:49:13 2001
+++ print/ghostscript-gnu/pkg-plist	Sat Dec 15 05:49:46 2001
@@ -1,7 +1,6 @@
 bin/bdftops
 bin/dvipdf
 bin/eps2eps
-bin/escputil
 bin/fixmswrd.pl
 bin/font2c
 bin/gs
@@ -11,6 +10,7 @@
 bin/gslj
 bin/gslp
 bin/gsnd
+bin/hpijs
 bin/lprsetup.sh
 bin/pdf2dsc
 bin/pdf2ps
@@ -30,7 +30,6 @@
 bin/sysvlp.sh
 bin/unix-lpr.sh
 bin/wftopfa
-libexec/hpijs
 %%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/hpdj/NEWS
 %%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/hpdj/hpdj.html
 %%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/pcl3/NEWS
@@ -98,7 +97,10 @@
 share/ghostscript/%%GS_VERSION%%/hpdj/margins-A4Rotated.ps
 share/ghostscript/%%GS_VERSION%%/hpdj/margins-Letter.ps
 share/ghostscript/%%GS_VERSION%%/hpdj/margins-LetterRotated.ps
+share/ghostscript/%%GS_VERSION%%/hpijs/append_db.sh
+share/ghostscript/%%GS_VERSION%%/hpijs/gs_hpijs.png
 share/ghostscript/%%GS_VERSION%%/hpijs/hpijs_readme.html
+share/ghostscript/%%GS_VERSION%%/hpijs/printerdb_append
 share/ghostscript/%%GS_VERSION%%/lib/Fontmap
 share/ghostscript/%%GS_VERSION%%/lib/Fontmap.GS
 share/ghostscript/%%GS_VERSION%%/lib/acctest.ps
diff -urN /usr/ports/print/ghostscript-gnu/scripts/configure print/ghostscript-gnu/scripts/configure
--- /usr/ports/print/ghostscript-gnu/scripts/configure	Wed Sep 12 04:12:20 2001
+++ print/ghostscript-gnu/scripts/configure	Sat Dec 15 01:56:07 2001
@@ -81,7 +81,7 @@
   "pxlcolor" "HP PCL XL color printers (Color LaserJet 4500/5000)" ON \
   "pcl3"     "HP PCL 3+ (DeskJet 500/500C/510/520/540/550C/560C/850C/855C)" ON \
   "hpdj"     "HP PCL 3+ (old drv.)" ON \
-  "hpijs"    "HP PhotoSmart/DeskJet series (HP developed driver)" ON \
+  "ijs"      "HP PhotoSmart/DeskJet series (HP developed driver)" ON \
   "ibmpro"   "IBM 9-pin Proprinter" OFF \
   "jetp3852" "IBM Jetprinter ink-jet color (Model #3852)" OFF \
   "imagen"   "Imagen ImPress printers" OFF \
diff -urN /usr/ports/print/ghostscript-gnu/scripts/configure.batch print/ghostscript-gnu/scripts/configure.batch
--- /usr/ports/print/ghostscript-gnu/scripts/configure.batch	Wed Sep 12 04:12:20 2001
+++ print/ghostscript-gnu/scripts/configure.batch	Sat Dec 15 01:56:17 2001
@@ -5,7 +5,7 @@
 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
 endif
 
-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)dl2100.dev \$(DD)la50.dev \$(DD)la70.dev \$(DD)la75.dev \$(DD)la75plus.dev \$(DD)lj250.dev \$(DD)declj250.dev \$(DD)ln03.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)hpijs.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)t4693d2.dev \$(DD)t4693d4.dev \$(DD)t4693d8.dev \$(DD)tek4696.dev \$(DD)xes.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)sxlcrt.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 \$(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)tiffcrle.dev \$(DD)tiffg3.dev \$(DD)tiffg32d.dev \$(DD)tiffg4.dev \$(DD)tiff12nc.dev \$(DD)tiff24nc.dev \$(DD)tifflzw.dev \$(DD)tiffpack.dev
+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)dl2100.dev \$(DD)la50.dev \$(DD)la70.dev \$(DD)la75.dev \$(DD)la75plus.dev \$(DD)lj250.dev \$(DD)declj250.dev \$(DD)ln03.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)t4693d2.dev \$(DD)t4693d4.dev \$(DD)t4693d8.dev \$(DD)tek4696.dev \$(DD)xes.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)sxlcrt.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 \$(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)tiffcrle.dev \$(DD)tiffg3.dev \$(DD)tiffg32d.dev \$(DD)tiffg4.dev \$(DD)tiff12nc.dev \$(DD)tiff24nc.dev \$(DD)tifflzw.dev \$(DD)tiffpack.dev
 !EOT
 
 # create one new Makefile, where DEVICE_DEVS contains all wanted devices

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112211605.fBLG5fd96946>