diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-07-01 09:20:10 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-07-01 09:20:10 +0000 |
commit | 68076a3bd1c6b4f4edf0a26bde6018648a038703 (patch) | |
tree | 904986be674a02a5d45942c6c777a98143af09e8 /net-print | |
parent | fixed install issues (diff) | |
download | gentoo-2-68076a3bd1c6b4f4edf0a26bde6018648a038703.tar.gz gentoo-2-68076a3bd1c6b4f4edf0a26bde6018648a038703.tar.bz2 gentoo-2-68076a3bd1c6b4f4edf0a26bde6018648a038703.zip |
GTK is now an optional dep, not required
Diffstat (limited to 'net-print')
-rw-r--r-- | net-print/gimp-print-cups/ChangeLog | 10 | ||||
-rw-r--r-- | net-print/gimp-print-cups/files/digest-gimp-print-cups-4.3.0-r2 | 1 | ||||
-rw-r--r-- | net-print/gimp-print-cups/gimp-print-cups-4.3.0-r2.ebuild | 67 |
3 files changed, 77 insertions, 1 deletions
diff --git a/net-print/gimp-print-cups/ChangeLog b/net-print/gimp-print-cups/ChangeLog index 4e97087a90da..3b19eb77d197 100644 --- a/net-print/gimp-print-cups/ChangeLog +++ b/net-print/gimp-print-cups/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-print/gimp-print-cups # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/net-print/gimp-print-cups/ChangeLog,v 1.5 2002/06/28 23:50:09 lostlogic Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-print/gimp-print-cups/ChangeLog,v 1.6 2002/07/01 09:20:10 seemant Exp $ + +*gimp-print-cups-4.3.0-r2 (1 Jul 2002) + + 1 Jul 2002; Seemant Kulleen <seemant@gentoo.org> + gimp-print-cups-4.3.0-r2.ebuild files/digest-gimp-print-cups-4.3.0-r2 : + + In a move to debloat, vapier@netzero.com (SpanKY) submitted bug #4335 + which showed how GTK can be made into an optional dependency *gimp-print-cups-4.3.0-r1 (28 Jun 2002) diff --git a/net-print/gimp-print-cups/files/digest-gimp-print-cups-4.3.0-r2 b/net-print/gimp-print-cups/files/digest-gimp-print-cups-4.3.0-r2 new file mode 100644 index 000000000000..832b8fe559cd --- /dev/null +++ b/net-print/gimp-print-cups/files/digest-gimp-print-cups-4.3.0-r2 @@ -0,0 +1 @@ +MD5 e4b6f7d7a4e40dac21e35799b285f4cf gimp-print-4.3.0.tar.bz2 4007590 diff --git a/net-print/gimp-print-cups/gimp-print-cups-4.3.0-r2.ebuild b/net-print/gimp-print-cups/gimp-print-cups-4.3.0-r2.ebuild new file mode 100644 index 000000000000..834ba1542729 --- /dev/null +++ b/net-print/gimp-print-cups/gimp-print-cups-4.3.0-r2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-print/gimp-print-cups/gimp-print-cups-4.3.0-r2.ebuild,v 1.1 2002/07/01 09:20:10 seemant Exp $ + +MY_PN=${PN/-cups/} + +DESCRIPTION="The Common Unix Printing System - Gimp Print Drivers" +HOMEPAGE="http://www.cups.org" +SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}-${PV}.tar.bz2" + +S=${WORKDIR}/${MY_PN}-${PV} +DEPEND="net-print/cups + media-gfx/imagemagick + sys-libs/readline + sys-devel/perl + gtk? ( =x11-libs/gtk+-1.2* )" + +LICENSE="GPL-2" +SLOT="0" + +src_compile() { + local myconf + use nls \ + && myconf="${myconf} --enable-nls" \ + || myconf="${myconf} --disable-nls" + + use readline \ + && myconf="${myconf} --enable-readline" \ + || myconf="${myconf} --disable-readline" + + use gtk \ + && myconf="${myconf} --enable-lexmarkutil" \ + || myconf="${myconf} --disable-lexmarkutil" + + #--without-translated-ppds \ + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --mandir=/usr/share/man \ + --localstatedir=/var/lib \ + --infodir=/usr/share/info \ + --with-cups \ + --enable-test \ + --with-samples \ + --without-gimp \ + --with-escputil \ + --with-foomatic \ + --with-testpattern \ + --with-user-guide \ + --host=${CHOST} ${myconf} || die "bad ./configure" + + + emake || die "compile problem" + patch src/main/gimpprint.m4 < ${FILESDIR}/gimpprint.m4.patch || die +} + +src_install () { + make install DESTDIR=${D} || die + + exeinto /usr/share/gimp-print + doexe test/{unprint,pcl-unprint,bjc-unprint,parse-escp2,parse-bjc} + + dodoc AUTHORS COPYING ChangeLog NEWS README \ + doc/gimpprint.ps + dohtml doc/manual-html doc/FAQ.html +} |