summaryrefslogtreecommitdiff
path: root/print/gutenprint-lib
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2008-12-20 00:54:17 +0000
committergdt <gdt@pkgsrc.org>2008-12-20 00:54:17 +0000
commit854ec30e583f8ef975ac1a2a72492c636c006829 (patch)
tree8c1d15561cd551c3fec18cbfa6e014c062f296d4 /print/gutenprint-lib
parent7be6de7c2c30c4c191d037b3cdc9c565ab381319 (diff)
downloadpkgsrc-854ec30e583f8ef975ac1a2a72492c636c006829.tar.gz
Make gutenprint-lib have the same contents as gutenprint51-lib, and
thus 5.2.2.
Diffstat (limited to 'print/gutenprint-lib')
-rw-r--r--print/gutenprint-lib/Makefile13
-rw-r--r--print/gutenprint-lib/PLIST232
-rw-r--r--print/gutenprint-lib/distinfo9
-rw-r--r--print/gutenprint-lib/patches/patch-aa13
4 files changed, 237 insertions, 30 deletions
diff --git a/print/gutenprint-lib/Makefile b/print/gutenprint-lib/Makefile
index 1ff576724af..018e6fe78bc 100644
--- a/print/gutenprint-lib/Makefile
+++ b/print/gutenprint-lib/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.6 2008/07/14 12:56:11 joerg Exp $
+# $NetBSD: Makefile,v 1.7 2008/12/20 00:54:17 gdt Exp $
-VERSION= 5.0.2
+VERSION= 5.2.2
DISTNAME= gutenprint-${VERSION}
EXTRACT_SUFX= .tar.bz2
PKGNAME= gutenprint-lib-${VERSION}
-PKGREVISION= 3
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gimp-print/}
@@ -12,6 +11,9 @@ MAINTAINER= gdt@NetBSD.org
COMMENT= Drivers for Canon, Epson, Lexmark, and PCL printers
HOMEPAGE= http://gutenprint.sourceforge.net/
+INSTALLVERSION= 5.2
+PLIST_SUBST+= INSTALLVERSION=${INSTALLVERSION}
+
PKG_DESTDIR_SUPPORT= user-destdir
# Not sure if this works.
@@ -21,7 +23,7 @@ USE_TOOLS+= gmake lex pkg-config perl:run
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.
@@ -86,8 +88,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/gutenprint-lib/PLIST b/print/gutenprint-lib/PLIST
index 0ea97c37497..3c5e77248ea 100644
--- a/print/gutenprint-lib/PLIST
+++ b/print/gutenprint-lib/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2008/01/11 12:39:47 gdt Exp $
+@comment $NetBSD: PLIST,v 1.2 2008/12/20 00:54:17 gdt Exp $
bin/cups-calibrate
bin/escputil
bin/testpattern
@@ -31,33 +31,209 @@ include/gutenprintui2/gammacurve.h
include/gutenprintui2/gutenprintui.h
include/gutenprintui2/typebuiltins.h
lib/gimp/2.0/plug-ins/gutenprint
-lib/pkgconfig/gutenprint.pc
-lib/pkgconfig/gutenprintui2.pc
lib/libgutenprint.la
lib/libgutenprintui2.la
-libexec/cups/backend/canon
-libexec/cups/backend/epson
-libexec/cups/driver/gutenprint.5.0
+lib/pkgconfig/gutenprint.pc
+lib/pkgconfig/gutenprintui2.pc
+libexec/cups/driver/gutenprint.${INSTALLVERSION}
libexec/cups/filter/commandtocanon
libexec/cups/filter/commandtoepson
-libexec/cups/filter/rastertogutenprint.5.0
+libexec/cups/filter/rastertogutenprint.${INSTALLVERSION}
man/man1/escputil.1
man/man8/cups-calibrate.8
man/man8/cups-genppd.8
-man/man8/cups-genppdconfig.8
man/man8/cups-genppdupdate.8
-sbin/cups-genppd.5.0
-sbin/cups-genppdconfig.5.0
-sbin/cups-genppdupdate.5.0
+sbin/cups-genppd.${INSTALLVERSION}
+sbin/cups-genppdupdate
share/cups/calibrate.ppm
-share/gutenprint/samples/colorbars4.png
-share/gutenprint/samples/colorsweep.png
-share/gutenprint/samples/profile.jpg
-share/gutenprint/${PKGVERSION}/xml/dither-matrix-1x1.xml
-share/gutenprint/${PKGVERSION}/xml/dither-matrix-2x1.xml
-share/gutenprint/${PKGVERSION}/xml/dither-matrix-4x1.xml
-share/gutenprint/${PKGVERSION}/xml/papers.xml
-share/gutenprint/${PKGVERSION}/xml/printers.xml
+share/gutenprint/${INSTALLVERSION}/xml/dither-matrix-1x1.xml
+share/gutenprint/${INSTALLVERSION}/xml/dither-matrix-2x1.xml
+share/gutenprint/${INSTALLVERSION}/xml/dither-matrix-4x1.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/b500.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/c120.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/c64.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/c80.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/c82.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/claria.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/cmy.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/cmykrb.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/cmykro.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/cx3650.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/defaultblack.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/f360.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/f360_photo.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/f360_photo7_japan.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/f360_ultrachrome.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/f360_ultrachrome_k3.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/photo_gen0.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/photo_gen1.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/photo_gen2.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/photo_gen3.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/photo_gen3_4.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/photo_gen4.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/photo_pigment.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/picturemate_4.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/picturemate_6.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/pro_gen1.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/pro_gen2.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/pro_pigment.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/pro_ultrachrome.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/pro_ultrachrome_k3.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/standard.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/standard_gen0.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/ultrachrome.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inks/x80.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inputslots/b500.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inputslots/cd_cutter_roll_feed.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inputslots/cd_roll_feed.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inputslots/cutter_roll_feed.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inputslots/default.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inputslots/pro_roll_feed.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inputslots/r1800.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inputslots/r2400.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inputslots/rx700.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inputslots/spro5000.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/inputslots/standard_roll_feed.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/b500.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/c120.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/c64.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/c80.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/c82.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/claria.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/claria1400.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/cmy.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/cmykrb.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/cmykro.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/cx3650.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/f360.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/f360_photo.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/f360_photo7_japan.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/f360_ultrachrome.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/f360_ultrachrome_k3.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/photo_gen0.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/photo_gen1.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/photo_gen2.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/photo_gen3.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/photo_gen3_4.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/photo_gen4.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/photo_pigment.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/picturemate_4.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/picturemate_6.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/pro_gen1.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/pro_gen2.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/pro_pigment.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/pro_ultrachrome.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/pro_ultrachrome_k3.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/standard.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/standard_gen0.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/r800.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/ultrachrome.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/media/x80.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/mediasizes/standard.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_0.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_1.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_10.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_11.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_12.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_13.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_14.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_15.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_16.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_17.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_18.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_19.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_2.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_20.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_21.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_22.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_23.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_24.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_25.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_26.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_27.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_28.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_29.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_3.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_30.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_31.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_32.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_33.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_34.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_35.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_36.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_37.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_38.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_39.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_4.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_40.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_41.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_42.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_43.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_44.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_45.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_46.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_47.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_48.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_49.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_5.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_50.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_51.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_52.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_53.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_54.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_55.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_56.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_57.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_58.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_59.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_6.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_60.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_61.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_62.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_63.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_64.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_65.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_66.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_67.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_68.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_69.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_7.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_70.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_71.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_72.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_73.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_74.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_75.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_76.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_77.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_78.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_79.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_8.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_80.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_81.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_82.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_83.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_84.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_85.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_86.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_87.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_88.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_89.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_9.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_90.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_91.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_95.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/model/model_96.xml
+share/gutenprint/${INSTALLVERSION}/xml/papers.xml
+share/gutenprint/${INSTALLVERSION}/xml/printers.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/qualitypresets/p1_5.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/qualitypresets/picturemate.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/qualitypresets/standard.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/qualitypresets/v2880.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/weaves/pro7000.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/weaves/pro7500.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/weaves/pro7600.xml
+share/gutenprint/${INSTALLVERSION}/xml/escp2/weaves/standard.xml
share/gutenprint/doc/FAQ.html
share/gutenprint/doc/gutenprint-users-manual.odt
share/gutenprint/doc/gutenprint-users-manual.pdf
@@ -81,7 +257,10 @@ share/gutenprint/doc/reference-html/x271.html
share/gutenprint/doc/reference-html/x67.html
share/gutenprint/doc/reference-html/x79.html
share/gutenprint/doc/reference-html/x955.html
+share/gutenprint/samples/colorbars4.png
+share/gutenprint/samples/colorsweep.png
share/gutenprint/samples/extended.sample
+share/gutenprint/samples/profile.jpg
share/gutenprint/samples/testpattern.sample
share/locale/cs/LC_MESSAGES/gutenprint.mo
share/locale/da/LC_MESSAGES/gutenprint.mo
@@ -91,6 +270,7 @@ share/locale/en_GB/LC_MESSAGES/gutenprint.mo
share/locale/es/LC_MESSAGES/gutenprint.mo
share/locale/fr/LC_MESSAGES/gutenprint.mo
share/locale/hu/LC_MESSAGES/gutenprint.mo
+share/locale/it/LC_MESSAGES/gutenprint.mo
share/locale/ja/LC_MESSAGES/gutenprint.mo
share/locale/nb/LC_MESSAGES/gutenprint.mo
share/locale/nl/LC_MESSAGES/gutenprint.mo
@@ -102,5 +282,17 @@ share/locale/zh_TW/LC_MESSAGES/gutenprint.mo
@dirrm share/gutenprint/samples
@dirrm share/gutenprint/doc/reference-html
@dirrm share/gutenprint/doc
-@dirrm share/gutenprint/${PKGVERSION}/xml
+@dirrm share/gutenprint/${INSTALLVERSION}/xml/escp2/model
+@dirrm share/gutenprint/${INSTALLVERSION}/xml/escp2/mediasizes
+@dirrm share/gutenprint/${INSTALLVERSION}/xml/escp2/media
+@dirrm share/gutenprint/${INSTALLVERSION}/xml/escp2/inputslots
+@dirrm share/gutenprint/${INSTALLVERSION}/xml/escp2
+@dirrm share/gutenprint/${INSTALLVERSION}/xml
+@dirrm share/gutenprint/${INSTALLVERSION}
+@dirrm share/gutenprint
+@exec ${MKDIR} %D/lib/gutenprint/${INSTALLVERSION}/modules
+@dirrm lib/gutenprint/${INSTALLVERSION}/modules
+@dirrm lib/gutenprint/${INSTALLVERSION}
+@dirrm lib/gutenprint
+@dirrm include/gutenprintui2
@dirrm include/gutenprint
diff --git a/print/gutenprint-lib/distinfo b/print/gutenprint-lib/distinfo
index ad2a4552eb3..458fc363a8e 100644
--- a/print/gutenprint-lib/distinfo
+++ b/print/gutenprint-lib/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2008/01/11 12:39:47 gdt Exp $
+$NetBSD: distinfo,v 1.2 2008/12/20 00:54:17 gdt Exp $
-SHA1 (gutenprint-5.0.2.tar.bz2) = e2272c60cadf9147370469d133893df6b0732d91
-RMD160 (gutenprint-5.0.2.tar.bz2) = 93c6e03a1e4eb256221cfa21aacfe449b42330d9
-Size (gutenprint-5.0.2.tar.bz2) = 4778448 bytes
+SHA1 (gutenprint-5.2.2.tar.bz2) = 0efaadf2db4c67ecb66e79f5405315975dd1d11b
+RMD160 (gutenprint-5.2.2.tar.bz2) = eac1ce4304f044e9aadfc4081c0408f038f685bd
+Size (gutenprint-5.2.2.tar.bz2) = 4913895 bytes
+SHA1 (patch-aa) = b085bcf736d230c7f05d7b27bd1831165f958579
diff --git a/print/gutenprint-lib/patches/patch-aa b/print/gutenprint-lib/patches/patch-aa
new file mode 100644
index 00000000000..e4576411874
--- /dev/null
+++ b/print/gutenprint-lib/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2008/12/20 00:54:17 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}'",