NetBSD Problem Report #15470
Received: (qmail 13552 invoked from network); 3 Feb 2002 15:29:30 -0000
Message-Id: <20020203152928.048D045C5@kiku.my.domain>
Date: Mon, 4 Feb 2002 00:29:28 +0900 (JST)
From: toshii@netbsd.org
Sender: toshii@kiku.my.domain
Reply-To: toshii@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: update hpijs in ghostscript-nox11
X-Send-Pr-Version: 3.95
>Number: 15470
>Category: pkg
>Synopsis: update hpijs in ghostscript-nox11
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: jlam
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Feb 03 15:30:00 +0000 2002
>Closed-Date: Sun Feb 03 21:33:33 +0000 2002
>Last-Modified: Sun Feb 03 21:33:33 +0000 2002
>Originator: IWAMOTO Toshihiro
>Release: 1.5ZA, userland 1.5K
>Organization:
A lazy NetBSD developer
>Environment:
System: NetBSD kiku.my.domain 1.5ZA NetBSD 1.5ZA (KIKU) #119: Sat Jan 19 16:44:40 JST 2002 toshii@kiku.my.domain:/usr/src/syssrc/sys/arch/i386/compile/KIKU i386
Architecture: i386
Machine: i386
>Description:
Newer version of hpijs driver for ghostscript is available.
It supports duplex mode on deskjet990.
http://hpinkjet.sourceforge.net/updates.php contains a summary of
the changes from the current pkgsrc version.
I send this pr instead of just committing because my patch may be
incomplete. If I receive no response about this, I'll commit
in the next weekend.
>How-To-Repeat:
N/A
>Fix:
Apply the following patch:
Index: Makefile.common
===================================================================
RCS file: /cvs/cvsroot/pkgsrc/print/ghostscript-nox11/Makefile.common,v
retrieving revision 1.28
diff -u -r1.28 Makefile.common
--- Makefile.common 2002/01/11 17:00:27 1.28
+++ Makefile.common 2002/02/03 11:09:21
@@ -49,7 +49,7 @@
GIMPPRINT_CONFIGURE_ARGS= --without-gimp --with-ghost
# Drivers from the HP Inkjet Project (IJS/HPIJS)
-HPIJS_DRV= hpijs0.97
+HPIJS_DRV= hpijs-1.0.2
HPIJS_SRCS= ${HPIJS_DRV}.tar.gz
HPIJS_WRKSRC= ${WRKDIR}/${HPIJS_DRV}
SITES_${HPIJS_SRCS}= ${MASTER_SITE_SOURCEFORGE:=hpinkjet/}
@@ -236,24 +236,17 @@
GS_CONF_PREREQ+= hpijs-driver
hpijs-driver:
@cd ${HPIJS_WRKSRC} && \
- ${CP} gdevhpij.* ${WRKSRC}/src && \
- ${HEAD} -474 contrib.mak | ${TAIL} -31 | \
- ${SED} -e "s|\$$(GLSRC)\([^ ]*\.dev\)|\$$(DD)\1|g" \
- -e "s|\(\$$(SETPDEV) \)|\1\$$(DD)|g" \
+ ${CP} gdevijs.* ijs* unistd_.h ${WRKSRC}/src && \
+ ${HEAD} -518 contrib.mak | ${TAIL} -20 \
>> ${WRKSRC}/src/contrib.mak
hpijs-server:
@cd ${HPIJS_WRKSRC} && \
- for file in \
- aladdin.h compression.cpp \
- ernieplatform.h versioncode.cpp; \
- do \
- ${SED} -e "s|_LITTLE_ENDIAN|IS_LITTLE_ENDIAN|g" \
- $${file} > $${file}.fixed; \
- ${MV} -f $${file}.fixed $${file}; \
- done
- @cd ${HPIJS_WRKSRC} && \
- ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} default
+ ${SETENV} CC="${CC}" CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" \
+ ${CONFIGURE_ENV} \
+ ${CONFIGURE_SCRIPT} ${HPIJS_CONFIGURE_ARGS} && \
+ cd ${HPIJS_WRKSRC} && \
+ ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM}
GS_CONF_PREREQ+= gimpprint-driver
gimpprint-driver:
@@ -322,7 +315,7 @@
${INSTALL_DATA} ${HPIJS_WRKSRC}/append_db.sh ${HTMLDIR}/hpijs
${INSTALL_DATA} ${HPIJS_WRKSRC}/printerdb_append ${HTMLDIR}/hpijs
${INSTALL_DATA} ${HPIJS_WRKSRC}/hpijs_readme.html ${HTMLDIR}/hpijs
- ${INSTALL_DATA} ${HPIJS_WRKSRC}/*.jpg ${HTMLDIR}/hpijs
+ ${INSTALL_DATA} ${HPIJS_WRKSRC}/*.png ${HTMLDIR}/hpijs
.include "../../graphics/png/buildlink.mk"
.include "../../japanese/vflib-lib/buildlink.mk"
Index: PLIST
===================================================================
RCS file: /cvs/cvsroot/pkgsrc/print/ghostscript-nox11/PLIST,v
retrieving revision 1.3
diff -u -r1.3 PLIST
--- PLIST 2001/12/21 04:29:10 1.3
+++ PLIST 2002/02/03 11:09:21
@@ -104,13 +104,7 @@
share/doc/html/ghostscript/Xfonts.htm
share/doc/html/ghostscript/hpijs/append_db.sh
share/doc/html/ghostscript/hpijs/hpijs_readme.html
-share/doc/html/ghostscript/hpijs/gs_apdk.jpg
-share/doc/html/ghostscript/hpijs/printtool.jpg
-share/doc/html/ghostscript/hpijs/printtool2.jpg
-share/doc/html/ghostscript/hpijs/printtool3.jpg
-share/doc/html/ghostscript/hpijs/printtool4.jpg
-share/doc/html/ghostscript/hpijs/printtool5.jpg
-share/doc/html/ghostscript/hpijs/printtool7.jpg
+share/doc/html/ghostscript/hpijs/gs_hpijs.png
share/doc/html/ghostscript/hpijs/printerdb_append
share/doc/html/ghostscript/ps2epsi.txt
share/examples/ghostscript/alphabet.ps
Index: distinfo
===================================================================
RCS file: /cvs/cvsroot/pkgsrc/print/ghostscript-nox11/distinfo,v
retrieving revision 1.7
diff -u -r1.7 distinfo
--- distinfo 2001/12/20 22:31:09 1.7
+++ distinfo 2002/02/03 11:09:22
@@ -8,8 +8,8 @@
Size (ghostscript/pdf_sec.ps) = 11158 bytes
SHA1 (ghostscript/gimp-print-4.2.0.tar.gz) = 3460b23a1c36c7f5dcfacc8dce5d0ee5f051a086
Size (ghostscript/gimp-print-4.2.0.tar.gz) = 4501914 bytes
-SHA1 (ghostscript/hpijs0.97.tar.gz) = 5f0dd18c71d6b33d4ed6fe4924031257e78e8e06
-Size (ghostscript/hpijs0.97.tar.gz) = 386722 bytes
+SHA1 (ghostscript/hpijs-1.0.2.tar.gz) = 027cc3762737eb25c6c4dc303924de2b0945cd65
+Size (ghostscript/hpijs-1.0.2.tar.gz) = 284472 bytes
SHA1 (ghostscript/hpdj-2.6.tar.gz) = 1767295652292ab00b6859cf6699939be44e49e7
Size (ghostscript/hpdj-2.6.tar.gz) = 143944 bytes
SHA1 (ghostscript/dmprt-2.01.tar.gz) = 179c7bf3d0fde128e1ad8c7142301efa7ccb8ab0
@@ -54,6 +54,5 @@
SHA1 (patch-au) = 07c99b2988c34396901594ab635a209e08766303
SHA1 (patch-av) = 87f3c9e01a4e2fa63c75c348b1a5ec2be07948a5
SHA1 (patch-aw) = 9855cacc48db068f87aa37568b198e22e6c391a0
-SHA1 (patch-ax) = 8d563208807aff24ea502e56633da0950afa2835
SHA1 (patch-ay) = a39a1e27a2f8437103a93ac06e5f857ec5e32fa3
SHA1 (patch-bug-workaround) = 99f4e197b35a8f33b8a1219a38f6d9fc2c307eb6
Index: files/devs.nox11
===================================================================
RCS file: /cvs/cvsroot/pkgsrc/print/ghostscript-nox11/files/devs.nox11,v
retrieving revision 1.4
diff -u -r1.4 devs.nox11
--- files/devs.nox11 2001/12/20 22:31:09 1.4
+++ files/devs.nox11 2002/02/03 11:09:22
@@ -3,13 +3,6 @@
# non-X11 drivers for Ghostscript
DEVICE_DEVS+= \
- $(DD)AP21xx.dev \
- $(DD)DJ630.dev \
- $(DD)DJ6xx.dev \
- $(DD)DJ6xxP.dev \
- $(DD)DJ8xx.dev \
- $(DD)DJ9xx.dev \
- $(DD)DJ9xxVIP.dev \
$(DD)ap3250.dev \
$(DD)appledmp.dev \
$(DD)bit.dev \
@@ -70,7 +63,7 @@
$(DD)gdi.dev \
$(DD)hl7x0.dev \
$(DD)hpdj.dev \
- $(DD)hpijs.dev \
+ $(DD)ijs.dev \
$(DD)ibmpro.dev \
$(DD)imagen.dev \
$(DD)inferno.dev \
>Release-Note:
>Audit-Trail:
From: Johnny Lam <jlam@jgrind.org>
To: toshii@netbsd.org
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/15470: update hpijs in ghostscript-nox11
Date: Sun, 3 Feb 2002 07:50:28 -0800
On Mon, Feb 04, 2002 at 12:29:28AM +0900, toshii@netbsd.org wrote:
>
> >Description:
> Newer version of hpijs driver for ghostscript is available.
> It supports duplex mode on deskjet990.
> http://hpinkjet.sourceforge.net/updates.php contains a summary of
> the changes from the current pkgsrc version.
>
> I send this pr instead of just committing because my patch may be
> incomplete. If I receive no response about this, I'll commit
> in the next weekend.
Please don't commit this yet. I will handle the PR since I'm the maintainer
for ghostscript, but thank you for the work. I do have some questions
regarding hpijs>=1.0. I had originally produced the ghostscript packages
with hpijs-1.0, but the resulting gs binary wasn't capable of forking and
executing the IJS helper code. As a result, I downgraded to using version
0.97 of hpijs as it was tested to work. Have you tried producing output
for some of the inkjets supportted by IJS?
The patch you submitted lacks the documentation for the additional options
one needs to pass to gs when using the IJS device. Do you know where the
documentation can be found?
Thanks,
-- Johnny Lam <jlam@jgrind.org>
Responsible-Changed-From-To: pkg-manager->jlam
Responsible-Changed-By: jlam
Responsible-Changed-When: Sun Feb 3 07:51:11 PST 2002
Responsible-Changed-Why:
I'm the maintainer for ghostscript.
From: IWAMOTO Toshihiro <iwamoto@sat.t.u-tokyo.ac.jp>
To: Johnny Lam <jlam@jgrind.org>
Cc: iwamoto@sat.t.u-tokyo.ac.jp, gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/15470: update hpijs in ghostscript-nox11
Date: Mon, 04 Feb 2002 01:52:34 +0900
At Sun, 3 Feb 2002 07:50:28 -0800,
Johnny Lam wrote:
> Please don't commit this yet. I will handle the PR since I'm the maintainer
> for ghostscript, but thank you for the work. I do have some questions
> regarding hpijs>=1.0. I had originally produced the ghostscript packages
> with hpijs-1.0, but the resulting gs binary wasn't capable of forking and
> executing the IJS helper code. As a result, I downgraded to using version
> 0.97 of hpijs as it was tested to work. Have you tried producing output
> for some of the inkjets supportted by IJS?
Yes, I bought deskjet990 yesterday, and it is working with my
ghostscript.
I had no problem with hpijs execution except when I didn't pass $PATH
to gs. (So hpijs is specified in full pathname in below.)
912 ?? S 0:07.90 gs -q -dNOPAUSE -sOutputFile=/dev/fd/5 -dSAFER
-sDEVICE=ijs -sIjsServer=/usr/pkg/bin/hpijs
-sDeviceManufacturer=HEWLETT-PACKARD -sDeviceModel=DESKJET 990
-r300x300 -dDuplex=2
-sIjsParams=Quality=0,ColorMode=2,MediaType=0,PenSet=2 -
> The patch you submitted lacks the documentation for the additional options
> one needs to pass to gs when using the IJS device. Do you know where the
> documentation can be found?
hpijs_readme.html in hpijs-1.0.2.tar.gz seems to have minimum amount
of documentation.
--
IWAMOTO Toshihiro
State-Changed-From-To: open->closed
State-Changed-By: jlam
State-Changed-When: Sun Feb 3 13:32:46 PST 2002
State-Changed-Why:
I've updated the hpijs driver based on the changes you've submitted.
Thanks for the PR!
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.