diff options
-rw-r--r-- | print/gutenprint-lib/DESCR | 14 | ||||
-rw-r--r-- | print/gutenprint-lib/Makefile | 94 | ||||
-rw-r--r-- | print/gutenprint-lib/PLIST | 106 | ||||
-rw-r--r-- | print/gutenprint-lib/buildlink3.mk | 19 | ||||
-rw-r--r-- | print/gutenprint-lib/distinfo | 5 |
5 files changed, 238 insertions, 0 deletions
diff --git a/print/gutenprint-lib/DESCR b/print/gutenprint-lib/DESCR new file mode 100644 index 00000000000..cf2705c37b5 --- /dev/null +++ b/print/gutenprint-lib/DESCR @@ -0,0 +1,14 @@ +Gutenprint is a package of high quality printer drivers for Linux, +BSD, Solaris, IRIX, and other UNIX-alike operating systems. In many +cases, these drivers rival or exceed the OEM drivers in quality and +functionality. Our goal is to produce the highest possible output +quality from all supported printers. To that end, we have done +extensive work on screening algorithms, color generation, and printer +feature utilization. We are continuing our work in all of these areas +to produce ever higher quality results, particularly on the +ubiquitous, inexpensive inkjet printers that are nonetheless capable +of nearly photographic output quality. Earlier versions of Gutenprint +were called gimp-print. + +This package contains the base library, the Epson utility escputil, +cups support, and a gimp2 plugin. diff --git a/print/gutenprint-lib/Makefile b/print/gutenprint-lib/Makefile new file mode 100644 index 00000000000..d54ad4820c1 --- /dev/null +++ b/print/gutenprint-lib/Makefile @@ -0,0 +1,94 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/01/11 12:39:47 gdt Exp $ + +VERSION= 5.0.2 +DISTNAME= gutenprint-${VERSION} +EXTRACT_SUFX= .tar.bz2 +PKGNAME= gutenprint-lib-${VERSION} +CATEGORIES= print +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gimp-print/} + +MAINTAINER= gdt@NetBSD.org +COMMENT= Drivers for Canon, Epson, Lexmark, and PCL printers +HOMEPAGE= http://gutenprint.sourceforge.net/ + +# Not sure if this works. +#PKG_DESTDIR_SUPPORT= user-destdir + +USE_TOOLS+= gmake lex pkg-config +USE_PKGLOCALEDIR= YES +USE_LIBTOOL= YES + +USE_LANGUAGES+= c99 c++ + +# gutenprint has many options, and really should be split into +# multiple packages. Splitting is difficult because of the structure +# of the upstream distribution. For now, this package contains +# everything that gdt wants, because that seems more useful to users +# than not having gutenprint in pkgsrc. + +GNU_CONFIGURE= YES + +# XXX Make command.types be a CONF_FILE + +# Adjust configure to disable components that we don't want. For +# components that should eventually be in split packages, we mark them +# as such. Related configure options are grouped together; for now we list +# many default options that probably will not be exercised. + +# GTK1 ui and gimp1 plugin. These are obsolete and will not +# be supported. +CONFIGURE_ARGS+= --disable-libgutenprintui +CONFIGURE_ARGS+= --without-gimp + +# CUP support. This should be in a split package +#CONFIGURE_ARGS+= --without-cups +#CONFIGURE_ARGS+= --enable-cups-1_2-enhancements +#CONFIGURE_ARGS+= --disable-cups-ppds +#CONFIGURE_ARGS+= --disable-translated-cups-ppds + +# Ghostscript support. This should be in split packages, if at all. +CONFIGURE_ARGS+= --without-ghost + +# GTK2 ui and gimp2 plugin +#CONFIGURE_ARGS+= --disable-libgutenprintui2 +#CONFIGURE_ARGS+= --without-gimp2 +# By default, the gimp2 plugin is named gutenprint +#CONFIGURE_ARGS+= --with-gimp2-as-gutenprint + +# Foomatic support. This should be in a split package, if at all. +CONFIGURE_ARGS+= --without-foomatic # split-pkg +#CONFIGURE_ARGS+= --with-foomatic3 # IN ABOVE + +# Disable translated ppds. Without this option, there are dozens of +# copies of each printer, differing in the CUPS UI only by a language +# code. The awkwardness seems to outweigh the benefit. +CONFIGURE_ARGS+= --without-translated-ppds + +# Sample images. These are small so there seems to be no point in +# omitting them. +#CONFIGURE_ARGS+= --disable-samples # base + +# escputil. This is a utility for epson printers. It should arguably +# be in a split package, but it is tiny so there is little point other +# than cleanliness. +#CONFIGURE_ARGS+= --disable-escputil +# XXX Something in gutenprint seems to use readline, but it's not clear why, +# so just disable it to reduce dependencies. +CONFIGURE_ARGS+= --without-readline + +# test pattern generator. +#CONFIGURE_ARGS+= --disable-test +#CONFIGURE_ARGS+= --disable-testpattern + +# iconv? + +.include "../../devel/gettext-lib/buildlink3.mk" + +# gutenprint-gimp: gimp plugin +.include "../../graphics/gimp/buildlink3.mk" +.include "../../x11/gtk2/buildlink3.mk" + +# gutenprint-cups: cups support +.include "../../print/cups/buildlink3.mk" + +.include "../../mk/bsd.pkg.mk" diff --git a/print/gutenprint-lib/PLIST b/print/gutenprint-lib/PLIST new file mode 100644 index 00000000000..0ea97c37497 --- /dev/null +++ b/print/gutenprint-lib/PLIST @@ -0,0 +1,106 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2008/01/11 12:39:47 gdt Exp $ +bin/cups-calibrate +bin/escputil +bin/testpattern +etc/cups/command.types +include/gutenprint/array.h +include/gutenprint/bit-ops.h +include/gutenprint/channel.h +include/gutenprint/color.h +include/gutenprint/curve-cache.h +include/gutenprint/curve.h +include/gutenprint/dither.h +include/gutenprint/gutenprint-module.h +include/gutenprint/gutenprint-version.h +include/gutenprint/gutenprint.h +include/gutenprint/image.h +include/gutenprint/list.h +include/gutenprint/module.h +include/gutenprint/mxml.h +include/gutenprint/paper.h +include/gutenprint/path.h +include/gutenprint/printers.h +include/gutenprint/sequence.h +include/gutenprint/string-list.h +include/gutenprint/util.h +include/gutenprint/vars.h +include/gutenprint/weave.h +include/gutenprint/xml.h +include/gutenprintui2/curve.h +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 +libexec/cups/filter/commandtocanon +libexec/cups/filter/commandtoepson +libexec/cups/filter/rastertogutenprint.5.0 +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 +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/doc/FAQ.html +share/gutenprint/doc/gutenprint-users-manual.odt +share/gutenprint/doc/gutenprint-users-manual.pdf +share/gutenprint/doc/gutenprint.pdf +share/gutenprint/doc/reference-html/book1.html +share/gutenprint/doc/reference-html/c1717.html +share/gutenprint/doc/reference-html/c194.html +share/gutenprint/doc/reference-html/c1968.html +share/gutenprint/doc/reference-html/c200.html +share/gutenprint/doc/reference-html/c39.html +share/gutenprint/doc/reference-html/c464.html +share/gutenprint/doc/reference-html/c48.html +share/gutenprint/doc/reference-html/docbook.css +share/gutenprint/doc/reference-html/f14.html +share/gutenprint/doc/reference-html/gpl-terms.html +share/gutenprint/doc/reference-html/gpl.html +share/gutenprint/doc/reference-html/ln10.html +share/gutenprint/doc/reference-html/x1669.html +share/gutenprint/doc/reference-html/x1734.html +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/extended.sample +share/gutenprint/samples/testpattern.sample +share/locale/cs/LC_MESSAGES/gutenprint.mo +share/locale/da/LC_MESSAGES/gutenprint.mo +share/locale/de/LC_MESSAGES/gutenprint.mo +share/locale/el/LC_MESSAGES/gutenprint.mo +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/ja/LC_MESSAGES/gutenprint.mo +share/locale/nb/LC_MESSAGES/gutenprint.mo +share/locale/nl/LC_MESSAGES/gutenprint.mo +share/locale/pl/LC_MESSAGES/gutenprint.mo +share/locale/pt/LC_MESSAGES/gutenprint.mo +share/locale/sk/LC_MESSAGES/gutenprint.mo +share/locale/sv/LC_MESSAGES/gutenprint.mo +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 include/gutenprint diff --git a/print/gutenprint-lib/buildlink3.mk b/print/gutenprint-lib/buildlink3.mk new file mode 100644 index 00000000000..b520dc6ea9e --- /dev/null +++ b/print/gutenprint-lib/buildlink3.mk @@ -0,0 +1,19 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/01/11 12:39:47 gdt Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +GUTENPRINT_LIB_BUILDLINK3_MK:= ${GUTENPRINT_LIB_BUILDLINK3_MK}+ + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= gutenprint-lib +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngutenprint-lib} +BUILDLINK_PACKAGES+= gutenprint-lib +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gutenprint-lib + +.if ${GUTENPRINT_LIB_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.gutenprint-lib+= gutenprint-lib>=5.0.1 +BUILDLINK_PKGSRCDIR.gutenprint-lib?= ../../print/gutenprint-lib +.endif # GUTENPRINT_LIB_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/print/gutenprint-lib/distinfo b/print/gutenprint-lib/distinfo new file mode 100644 index 00000000000..ad2a4552eb3 --- /dev/null +++ b/print/gutenprint-lib/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/01/11 12:39:47 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 |