summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2015-09-13 18:34:54 +0000
committergdt <gdt@pkgsrc.org>2015-09-13 18:34:54 +0000
commitd24a0715c5ba6128b84bba12a6769e0a32da9a51 (patch)
treef9623393745b63f4735511f58ec11108b4146520 /print
parente5604a08be6b811476d7936e5d50f163a7269efa (diff)
downloadpkgsrc-d24a0715c5ba6128b84bba12a6769e0a32da9a51.tar.gz
Add patch to avoid test failure without installed package.
The new patch is from upstream and will be in the next release. Set LICENSE (GPL2).
Diffstat (limited to 'print')
-rw-r--r--print/gutenprint-lib/Makefile5
-rw-r--r--print/gutenprint-lib/distinfo3
-rw-r--r--print/gutenprint-lib/patches/patch-src_cups_test-ppds16
3 files changed, 22 insertions, 2 deletions
diff --git a/print/gutenprint-lib/Makefile b/print/gutenprint-lib/Makefile
index 63a54a15bc0..5c138c615f9 100644
--- a/print/gutenprint-lib/Makefile
+++ b/print/gutenprint-lib/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.58 2015/09/11 12:52:04 gdt Exp $
+# $NetBSD: Makefile,v 1.59 2015/09/13 18:34:54 gdt Exp $
VERSION= 5.2.10
DISTNAME= gutenprint-${VERSION}
PKGNAME= gutenprint-lib-${VERSION}
+PKGREVISION= 1
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gimp-print/}
EXTRACT_SUFX= .tar.bz2
@@ -11,6 +12,8 @@ MAINTAINER= gdt@NetBSD.org
COMMENT= Drivers for Canon, Epson, Lexmark, and PCL printers
HOMEPAGE= http://gutenprint.sourceforge.net/
+LICENSE= gnu-gpl-v2
+
PREV_PKGPATH= print/gutenprint51-lib
INSTALLVERSION= 5.2
diff --git a/print/gutenprint-lib/distinfo b/print/gutenprint-lib/distinfo
index e86f352b250..04aa3906e5f 100644
--- a/print/gutenprint-lib/distinfo
+++ b/print/gutenprint-lib/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.14 2015/09/10 00:10:24 gdt Exp $
+$NetBSD: distinfo,v 1.15 2015/09/13 18:34:54 gdt Exp $
SHA1 (gutenprint-5.2.10.tar.bz2) = 9690f9bf0a4c4c6c5a35b43d889ca8a3216c766c
RMD160 (gutenprint-5.2.10.tar.bz2) = 46d214b3371eaa8aa0fc746eba362068668211ab
Size (gutenprint-5.2.10.tar.bz2) = 6241585 bytes
SHA1 (patch-aa) = 711c925b330a4c4f960439a1722251a4f022ac9f
+SHA1 (patch-src_cups_test-ppds) = 6c547013b0c9b11744f3730e78d2aacc88af9813
SHA1 (patch-src_main_print-olympus.c) = 48b421344f35216fdd663da075e40ce4fac0382b
diff --git a/print/gutenprint-lib/patches/patch-src_cups_test-ppds b/print/gutenprint-lib/patches/patch-src_cups_test-ppds
new file mode 100644
index 00000000000..7ef3957bcdd
--- /dev/null
+++ b/print/gutenprint-lib/patches/patch-src_cups_test-ppds
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_cups_test-ppds,v 1.1 2015/09/13 18:34:54 gdt Exp $
+
+Resolves test failure when package is not installed.
+From upstream, and will be in 5.2.11.
+
+--- src/cups/test-ppds.orig 2014-02-15 03:44:49.000000000 +0000
++++ src/cups/test-ppds
+@@ -10,7 +10,7 @@ make EXTRA_GENPPD_OPTS='-b -Z' ppd-clean
+ # Also, a number of our media sizes aren't named correctly, but we'll
+ # accept those issues rather than cluttering the namespace further and/or
+ # changing tag names.
+-cupstestppdopts='-I profiles -W sizes'
++cupstestppdopts='-I profiles -W sizes -I filters'
+
+ ppd_count=`find ppd \( -name '*.ppd.gz' -o -name '*.ppd' \) -print | wc -l`
+