# ChangeLog for media-gfx/gimp-print
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp-print/ChangeLog,v 1.62 2005/09/26 01:38:17 dang Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp-print/ChangeLog,v 1.63 2005/11/02 23:52:51 metalgod Exp $
+
+*gimp-print-5.0.0_rc1 (02 Nov 2005)
+
+ 02 Nov 2005; Luis Medinas <metalgod@gentoo.org>
+ +gimp-print-5.0.0_rc1.ebuild:
+ Version Bump.
26 Sep 2005; <dang@gentoo.org> gimp-print-5.0.0_beta4.ebuild:
Add ppds to IUSE
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 d127b4f94cec575d3aec9d13955d2f27 gimp-print-4.2.6.ebuild 2212
-MD5 61e404ce73546a5bc61dcf9ff58bc382 gimp-print-5.0.0_beta4.ebuild 2254
-MD5 f1764becd9f013475611c307809a1b02 ChangeLog 8861
-MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161
-MD5 70553ab6eead387f4ae932aae1bd4aea gimp-print-4.2.7.ebuild 2218
+MD5 55f96e86217a34c5291fdce2bc1b9e24 ChangeLog 9001
MD5 5f304014b5d0eb55e0a62cc46d098dfb files/digest-gimp-print-4.2.6 69
MD5 0dbf86fe4303814e2dfa36f8c4b8e67c files/digest-gimp-print-4.2.7 69
MD5 ecd67127e5d68d1ad44c9b8f6c70b1e5 files/digest-gimp-print-5.0.0_beta4 76
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDN1FFomPajV0RnrERAoMeAJ9rkYJIbtaM0qgAtamiX0onVV9bbQCbBTIx
-hGzAkMvMa6nmT+7acXZUnOk=
-=JsoG
------END PGP SIGNATURE-----
+MD5 2a5e9010ecd49db63841ba5f47716fc1 files/digest-gimp-print-5.0.0_rc1 74
+MD5 d127b4f94cec575d3aec9d13955d2f27 gimp-print-4.2.6.ebuild 2212
+MD5 70553ab6eead387f4ae932aae1bd4aea gimp-print-4.2.7.ebuild 2218
+MD5 61e404ce73546a5bc61dcf9ff58bc382 gimp-print-5.0.0_beta4.ebuild 2254
+MD5 db698f75226c76aaf388bf749eaf1e8a gimp-print-5.0.0_rc1.ebuild 2254
+MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161
--- /dev/null
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp-print/gimp-print-5.0.0_rc1.ebuild,v 1.1 2005/11/02 23:52:51 metalgod Exp $
+
+inherit flag-o-matic libtool
+
+IUSE="cups foomaticdb gtk nls readline ppds"
+
+MY_P=gutenprint-5.0.0-rc1
+
+DESCRIPTION="Gimp Print Drivers"
+HOMEPAGE="http://gimp-print.sourceforge.net"
+KEYWORDS="~x86 ~ppc ~alpha ~sparc ~hppa ~amd64 ~ppc64"
+SRC_URI="mirror://sourceforge/gimp-print/${MY_P}.tar.bz2"
+
+DEPEND="cups? ( >=net-print/cups-1.1.14 )
+ media-gfx/imagemagick
+ virtual/ghostscript
+ sys-libs/readline
+ gtk? ( x11-libs/gtk+ )
+ dev-lang/perl
+ foomaticdb? ( net-print/foomatic-db-engine )"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+S=${WORKDIR}/${MY_P}
+
+append-flags -fno-inline-functions
+
+src_compile() {
+ elibtoolize --reverse-deps
+
+ use nls \
+ && myconf="${myconf} --enable-nls" \
+ || myconf="${myconf} --disable-nls"
+
+ use readline \
+ && myconf="${myconf} --with-readline" \
+ || myconf="${myconf} --without-readline"
+
+ use gtk \
+ && myconf="${myconf} --enable-lexmarkutil" \
+ || myconf="${myconf} --disable-lexmarkutil"
+
+ if use cups; then
+ myconf="${myconf} --with-cups"
+ else
+ myconf="${myconf} --without-cups"
+ fi
+
+ if use cups && use ppds; then
+ myconf="${myconf} --enable-cups-ppds --enable-cups-level3-ppds"
+ else
+ myconf="${myconf} --disable-cups-ppds"
+ fi
+
+ use foomaticdb \
+ && myconf="${myconf} --with-foomatic3" \
+ || myconf="${myconf} --without-foomatic"
+
+ # --without-translated-ppds enabled \
+ econf \
+ --enable-test \
+ --with-ghostscript \
+ --with-user-guide \
+ --with-samples \
+ --with-escputil \
+ $myconf || die
+
+ # IJS Patch
+ sed -i -e "s/<ijs/<ijs\/ijs/g" src/ghost/ijsgutenprint.c
+
+ emake || die "compile problem"
+}
+
+src_install () {
+ make install DESTDIR=${D} || die
+
+ exeinto /usr/share/gutenprint
+ doexe test/{unprint,pcl-unprint,bjc-unprint,parse-escp2,escp2-weavetest,run-testdither,run-weavetest,testdither}
+
+ dodoc AUTHORS COPYING ChangeLog NEWS README \
+ doc/users_guide/users-guide.ps doc/users_guide/users-guide.pdf \
+ ${D}/usr/share/gutenprint/doc/gutenprint.pdf
+ dohtml doc/FAQ.html
+ dohtml -r doc/users_guide/html doc/developer/developer-html
+ rm -fR ${D}/usr/share/gutenprint/doc
+}