diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2008-03-21 09:35:11 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2008-03-21 09:35:11 +0000 |
commit | 6285153610bf1d5d64a3624ea3a1158cb3bc4b69 (patch) | |
tree | 84902e77d6fe088ff699c814988127f3fb25c98c /media-gfx | |
parent | More memory leak fixes from upstream subversion. Extra hunk to fix pic reloca... (diff) | |
download | gentoo-2-6285153610bf1d5d64a3624ea3a1158cb3bc4b69.tar.gz gentoo-2-6285153610bf1d5d64a3624ea3a1158cb3bc4b69.tar.bz2 gentoo-2-6285153610bf1d5d64a3624ea3a1158cb3bc4b69.zip |
version bump, bug 212821
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/gimp-print/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/gimp-print/gimp-print-4.2.7.ebuild | 4 | ||||
-rw-r--r-- | media-gfx/gimp-print/gimp-print-5.1.7.ebuild | 95 |
3 files changed, 104 insertions, 3 deletions
diff --git a/media-gfx/gimp-print/ChangeLog b/media-gfx/gimp-print/ChangeLog index e373bbce170d..8ba2a4314ac4 100644 --- a/media-gfx/gimp-print/ChangeLog +++ b/media-gfx/gimp-print/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-gfx/gimp-print # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp-print/ChangeLog,v 1.91 2008/01/02 14:59:01 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp-print/ChangeLog,v 1.92 2008/03/21 09:35:11 genstef Exp $ + +*gimp-print-5.1.7 (21 Mar 2008) + + 21 Mar 2008; Stefan Schweizer <genstef@gentoo.org> + +gimp-print-5.1.7.ebuild: + version bump, bug 212821 02 Jan 2008; Raúl Porcel <armin76@gentoo.org> gimp-print-5.1.4.ebuild: Re-add ~ia64 diff --git a/media-gfx/gimp-print/gimp-print-4.2.7.ebuild b/media-gfx/gimp-print/gimp-print-4.2.7.ebuild index 3aeadb9706cb..cf721b0a8d45 100644 --- a/media-gfx/gimp-print/gimp-print-4.2.7.ebuild +++ b/media-gfx/gimp-print/gimp-print-4.2.7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp-print/gimp-print-4.2.7.ebuild,v 1.13 2006/04/23 10:23:25 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp-print/gimp-print-4.2.7.ebuild,v 1.14 2008/03/21 09:35:11 genstef Exp $ inherit libtool eutils @@ -8,7 +8,7 @@ IUSE="nls gtk readline cups foomaticdb ppds" DESCRIPTION="Gimp Print Drivers" HOMEPAGE="http://gimp-print.sourceforge.net" -KEYWORDS="alpha amd64 hppa ia64 mips ppc ppc64 sparc x86" +KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86" SRC_URI="mirror://sourceforge/gimp-print/${P}.tar.gz" DEPEND="cups? ( >=net-print/cups-1.1.14 ) diff --git a/media-gfx/gimp-print/gimp-print-5.1.7.ebuild b/media-gfx/gimp-print/gimp-print-5.1.7.ebuild new file mode 100644 index 000000000000..179c8d8ec515 --- /dev/null +++ b/media-gfx/gimp-print/gimp-print-5.1.7.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2008 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.1.7.ebuild,v 1.1 2008/03/21 09:35:11 genstef Exp $ + +inherit flag-o-matic eutils multilib + +IUSE="cups foomaticdb gimp gtk readline ppds" + +MY_P=gutenprint-${PV/_/-} + +DESCRIPTION="Gimp Print Drivers" +HOMEPAGE="http://gimp-print.sourceforge.net" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +SRC_URI="mirror://sourceforge/gimp-print/${MY_P}.tar.bz2" +RESTRICT="test" + +RDEPEND="cups? ( >=net-print/cups-1.1.14 ) + virtual/ghostscript + sys-libs/readline + gtk? ( >=x11-libs/gtk+-2.0 ) + gimp? ( >=media-gfx/gimp-2.2 >=x11-libs/gtk+-2.0 ) + dev-lang/perl + foomaticdb? ( net-print/foomatic-db-engine )" +DEPEND="${RDEPEND} + gtk? ( dev-util/pkgconfig )" + +LICENSE="GPL-2" +SLOT="0" + +S=${WORKDIR}/${MY_P} + +append-flags -fno-inline-functions + +src_compile() { + if use cups && use ppds; then + myconf="${myconf} --enable-cups-ppds --enable-cups-level3-ppds" + else + myconf="${myconf} --disable-cups-ppds" + fi + + if use gtk || use gimp; then + myconf="${myconf} --enable-libgutenprintui2" + else + myconf="${myconf} --disable-libgutenprintui2" + fi + + use foomaticdb \ + && myconf="${myconf} --with-foomatic3" \ + || myconf="${myconf} --without-foomatic" + + econf \ + --enable-test \ + --enable-epson \ + --with-ghostscript \ + --with-user-guide \ + --with-samples \ + --with-escputil \ + --disable-translated-cups-ppds \ + --enable-nls \ + $(use_with readline) \ + $(use_with gimp gimp2) \ + $(use_with gimp gimp2-as-gutenprint) \ + $(use_with cups) \ + $myconf || die "econf failed" + + # IJS Patch + sed -i -e "s:<ijs\([^/]\):<ijs/ijs\1:g" src/ghost/ijsgutenprint.c || die "sed failed" + + emake || die "emake failed" +} + +src_install () { + emake -j1 DESTDIR="${D}" install || die "emake install failed" + + exeinto /usr/share/gutenprint + doexe test/{unprint,pcl-unprint,bjc-unprint,parse-escp2,escp2-weavetest,run-testdither,run-weavetest,testdither} + + dodoc AUTHORS ChangeLog NEWS README doc/gutenprint-users-manual.{pdf,odt} + dohtml doc/FAQ.html + dohtml -r doc/users_guide/html doc/developer/developer-html + rm -fR "${D}"/usr/share/gutenprint/doc + if ! use gtk && ! use gimp; then + rm -f "${D}"/usr/$(get_libdir)/pkgconfig/gutenprintui2.pc + rm -rf "${D}"/usr/include/gutenprintui2 + fi +} + +pkg_postinst() { + if [ "${ROOT}" == "/" ] && [ -x /usr/sbin/cups-genppdupdate.5.1 ]; then + elog "Updating installed printer ppd files" + elog $(/usr/sbin/cups-genppdupdate.5.1) + else + elog "You need to update installed ppds manually using cups-genppdupdate.5.1" + fi +} |