summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
Diffstat (limited to 'print')
-rw-r--r--print/gutenprint51-lib/Makefile12
-rw-r--r--print/gutenprint51-lib/distinfo9
-rw-r--r--print/gutenprint51-lib/patches/patch-aa13
3 files changed, 25 insertions, 9 deletions
diff --git a/print/gutenprint51-lib/Makefile b/print/gutenprint51-lib/Makefile
index cd117099f86..5dace6137f4 100644
--- a/print/gutenprint51-lib/Makefile
+++ b/print/gutenprint51-lib/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2008/03/06 14:53:53 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2008/03/09 01:23:54 gdt Exp $
-VERSION= 5.1.6
+VERSION= 5.1.7
DISTNAME= gutenprint-${VERSION}
EXTRACT_SUFX= .tar.bz2
PKGNAME= gutenprint-lib-${VERSION}
@@ -19,7 +19,10 @@ USE_TOOLS+= gmake lex pkg-config
USE_PKGLOCALEDIR= YES
USE_LIBTOOL= YES
-USE_LANGUAGES+= c99 c++
+USE_LANGUAGES+= c99
+# gcc 3.3.3 either can't compile this, or needs huge amounts of RAM (0.5G+).
+# Observed on NetBSD/i386 3 and confirmed with upstream. Apparently it's
+# just 3.3.3 - there are no known issues with 2.95.
# gutenprint has many options, and really should be split into
# multiple packages. Splitting is difficult because of the structure
@@ -81,8 +84,7 @@ CONFIGURE_ARGS+= --without-readline
#CONFIGURE_ARGS+= --disable-test
#CONFIGURE_ARGS+= --disable-testpattern
-# iconv?
-
+# A libintl is optional in gutenprint.
.include "../../devel/gettext-lib/buildlink3.mk"
# gutenprint-gimp: gimp plugin
diff --git a/print/gutenprint51-lib/distinfo b/print/gutenprint51-lib/distinfo
index 4ccac06c2ee..a1ca7672727 100644
--- a/print/gutenprint51-lib/distinfo
+++ b/print/gutenprint51-lib/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2008/01/11 12:41:23 gdt Exp $
+$NetBSD: distinfo,v 1.2 2008/03/09 01:23:54 gdt Exp $
-SHA1 (gutenprint-5.1.6.tar.bz2) = 087652d95bbc7eb293c26865a0d38d6afab2cbf2
-RMD160 (gutenprint-5.1.6.tar.bz2) = 04936803ddd31d0d5ed85c9b2e6092f29ce34a52
-Size (gutenprint-5.1.6.tar.bz2) = 4668619 bytes
+SHA1 (gutenprint-5.1.7.tar.bz2) = 7fb93b8b7a0ef1e5f7cf83700cb96b2448241195
+RMD160 (gutenprint-5.1.7.tar.bz2) = 7f85d64823006899dc41165fcdc97872f6519616
+Size (gutenprint-5.1.7.tar.bz2) = 4703590 bytes
+SHA1 (patch-aa) = b085bcf736d230c7f05d7b27bd1831165f958579
diff --git a/print/gutenprint51-lib/patches/patch-aa b/print/gutenprint51-lib/patches/patch-aa
new file mode 100644
index 00000000000..989d5683c2c
--- /dev/null
+++ b/print/gutenprint51-lib/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2008/03/09 01:23:54 gdt Exp $
+
+--- src/gutenprintui2/plist.c.orig 2008-02-02 11:06:55.000000000 -0500
++++ src/gutenprintui2/plist.c
+@@ -96,7 +96,7 @@ static const print_system_t default_prin
+ static print_system_t known_printing_systems[] =
+ {
+ { "CUPS", N_("CUPS"), "lp -s", "-d", "-oraw", "/usr/sbin/cupsd",
+- "/usr/bin/lpstat -v | awk '/^device for /i {sub(\":\", \"\", $3); print $3}'",
++ "/usr/pkg/bin/lpstat -v | awk '/^device for /i {sub(\":\", \"\", $3); print $3}'",
+ "-n" },
+ { "SysV", N_("System V lp"), "lp -s", "-d", "-oraw", "/usr/bin/lp",
+ "/usr/bin/lpstat -v | awk '/^device for /i {sub(\":\", \"\", $3); print $3}'",