I'm going to commit the following perl fix for foomatic-filters tomorrow unless someone explains to me why it's wrong. Relative to the previous cups discussion: I do need foomatic-filters to print on a usb-attached laserjet 1320, even with hplip. Or at least it's set up that way, with printing failed due to perl choking on defined(%foo). Index: Makefile =================================================================== RCS file: /cvsroot/pkgsrc/print/foomatic-filters/Makefile,v retrieving revision 1.28 diff -u -p -r1.28 Makefile --- Makefile 12 Jun 2015 10:50:57 -0000 1.28 +++ Makefile 22 Jun 2015 23:17:55 -0000 @@ -3,7 +3,7 @@ .include "Makefile.common" DISTNAME= foomatic-filters-${FOOMATIC_FILTERS_VERSION} -PKGREVISION= 11 +PKGREVISION= 12 MASTER_SITES= http://www.linuxprinting.org/download/foomatic/ MAINTAINER= pkgsrc-users%NetBSD.org@localhost Index: distinfo =================================================================== RCS file: /cvsroot/pkgsrc/print/foomatic-filters/distinfo,v retrieving revision 1.5 diff -u -p -r1.5 distinfo --- distinfo 23 Mar 2012 11:26:18 -0000 1.5 +++ distinfo 22 Jun 2015 23:17:55 -0000 @@ -4,4 +4,5 @@ SHA1 (foomatic-filters-3.0.2.tar.gz) = 6 RMD160 (foomatic-filters-3.0.2.tar.gz) = 612529ea462f7f1500f30ffed4aec105b410936c Size (foomatic-filters-3.0.2.tar.gz) = 125875 bytes SHA1 (patch-aa) = 4b471d5fec7147d82eba47512bf851ed0b9d97a3 +SHA1 (patch-foomatic-gswrapper.in) = 7622c2e1e6e21b996207d74414d29c36012e2867 SHA1 (patch-makeMan.in) = 2e317a37ae0f605f57a15555003b09dcc4b53f79 Index: patches/patch-foomatic-gswrapper.in =================================================================== RCS file: patches/patch-foomatic-gswrapper.in diff -N patches/patch-foomatic-gswrapper.in --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-foomatic-gswrapper.in 22 Jun 2015 23:17:55 -0000 @@ -0,0 +1,17 @@ +$NetBSD$ + +--- foomatic-gswrapper.in.orig 2004-01-22 03:42:35.000000000 +0000 ++++ foomatic-gswrapper.in +@@ -19,10 +19,10 @@ my $configpath = "@sysconfdir@/foomatic" + + # Set GhostScript path + my $gspath = "gs"; +-$gspath = $conf{gspath} if defined(%conf) and defined $conf{gspath}; ++$gspath = $conf{gspath} if %conf and defined $conf{gspath}; + my $execpath = "@prefix@/bin:/usr/local/bin:/usr/bin:/bin"; + # Get execution path from config file +-$execpath = $conf{execpath} if defined(%conf) and defined $conf{execpath}; ++$execpath = $conf{execpath} if %conf and defined $conf{execpath}; + $ENV{'PATH'} = $execpath; + + grep (m!\-sOutputFile=\-!
Attachment:
pgpTlHRX0H2dV.pgp
Description: PGP signature