summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-09-05 06:42:58 +0000
committerTim Harder <radhermit@gentoo.org>2011-09-05 06:42:58 +0000
commiteaee450bc4e2577a4cbe3c8723e3c5d10197860a (patch)
tree0cef3d137ba4fa2493780c7b9d8c674f0f2138aa /net-print
parentSecurity bump (diff)
downloadhistorical-eaee450bc4e2577a4cbe3c8723e3c5d10197860a.tar.gz
historical-eaee450bc4e2577a4cbe3c8723e3c5d10197860a.tar.bz2
historical-eaee450bc4e2577a4cbe3c8723e3c5d10197860a.zip
Version bump (bug #377895 by Raphaël Droz). Add nls and static-libs USE flags.
Package-Manager: portage-2.2.0_alpha51/cvs/Linux x86_64
Diffstat (limited to 'net-print')
-rw-r--r--net-print/gutenprint/ChangeLog8
-rw-r--r--net-print/gutenprint/Manifest20
-rw-r--r--net-print/gutenprint/gutenprint-5.2.7.ebuild89
3 files changed, 108 insertions, 9 deletions
diff --git a/net-print/gutenprint/ChangeLog b/net-print/gutenprint/ChangeLog
index 86a42d5afc61..67fd12be4f2b 100644
--- a/net-print/gutenprint/ChangeLog
+++ b/net-print/gutenprint/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-print/gutenprint
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/gutenprint/ChangeLog,v 1.23 2011/07/09 09:37:26 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/gutenprint/ChangeLog,v 1.24 2011/09/05 06:42:58 radhermit Exp $
+
+*gutenprint-5.2.7 (05 Sep 2011)
+
+ 05 Sep 2011; Tim Harder <radhermit@gentoo.org> +gutenprint-5.2.7.ebuild:
+ Version bump (bug #377895 by Raphaël Droz). Add nls and static-libs USE
+ flags.
09 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org> gutenprint-5.2.6.ebuild:
ppc64 stable wrt #276421
diff --git a/net-print/gutenprint/Manifest b/net-print/gutenprint/Manifest
index d8e3d0346923..198f7388cef8 100644
--- a/net-print/gutenprint/Manifest
+++ b/net-print/gutenprint/Manifest
@@ -1,22 +1,26 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA512
AUX gutenprint-5.2.4-CFLAGS.patch 781 RMD160 f9c6650d899768cc3e8cb846cca388aca8c33872 SHA1 248af46ba40397d0c75b5cbf2b9ee5a99990fc22 SHA256 e4df928bf523a90f595bea773ffbbdaf3b982a941a6f995a5709abfdb5e5c438
AUX gutenprint-5.2.5-Makefile.patch 564 RMD160 c292214f0a46d3cc36e6a08ac5fbc72a739279f7 SHA1 92df0231b7ce7b779c78f3ba80670acf032e5260 SHA256 b17043d3160e754ca1bb50acf92818f13d3f7983343c97508985f42aba288462
DIST gutenprint-5.1.4.tar.bz2 4714151 RMD160 44f23d30eeab6f911f28c5982ca9ffc1677a0c49 SHA1 1e65fbb90d1b6f2344f32378d026326c103bb3eb SHA256 2189127e50171334ebd8ca3791455062daeef150894ce8dfb063bc2da7b35763
DIST gutenprint-5.2.5.tar.bz2 5215539 RMD160 cd88cd3ffc28fcc54e1de94d2f5ee069102d23a6 SHA1 380d9f870e7f12088fc5dffac02413cae9a9ccb4 SHA256 6b562390769785573bb25715a9cbcb2e638b2740d391f4632a0ed4a0bc8fa3fa
DIST gutenprint-5.2.6.tar.bz2 5283223 RMD160 ede2dea11742c77fede450880685efcde3a91967 SHA1 9fbe1ab899d5e83f34e21534cc5c1b8921c9039b SHA256 4744e1b5aab4c78a5af8da629d83d8ca3d8d217171301dc905c2e11dca5edc7e
+DIST gutenprint-5.2.7.tar.bz2 5498414 RMD160 63c6dbc136ac7095c06accf48979a379a923b7de SHA1 e49c259607dc6372d4f6316a26fb146715c437c8 SHA256 114c899227e3ebb0753c1db503e6a5c1afaa4b1f1235fdfe02fb6bbd533beed1
EBUILD gutenprint-5.1.4.ebuild 2583 RMD160 62ceb05e24d0f6155c1ef8d9b6cbbd13426359b0 SHA1 5245949bc3987db34a62ad3f5ff0977e8547bdb8 SHA256 a96c2182807829c0545cd176e17a9748067e26ac134fca2f0afa5c41eb54f660
EBUILD gutenprint-5.2.5-r1.ebuild 2564 RMD160 79d250dc1a8424a9e6538c2d12728605492e3014 SHA1 ac0df1235b6e3a7ce57f7d9869fde976a16433ee SHA256 218a4098056f276c7840fd522245e8c2b69e086ea5b675debf9ee405ddc2fc90
EBUILD gutenprint-5.2.6.ebuild 2381 RMD160 889711343291d24c9a2e3fca2a8b7cfb14e7ac74 SHA1 5df153ea0052cdbd92e99cf1d989944d3623b35a SHA256 2e712e09c0675784d609beed8517ca8a48e3b2799d91e438f376c0c766d6841a
-MISC ChangeLog 19164 RMD160 636740d414a7a3ddc7553777c7864b917c7fd1ce SHA1 fd9fec99e1f08ad7f908c952270b4442ec1300d1 SHA256 9a678c0b516706241999228e6efe805fd0604bcc57777b8c6eb56e26bc4323dc
+EBUILD gutenprint-5.2.7.ebuild 2307 RMD160 9accecceb98b29480d3c64dd7278bdfef7226905 SHA1 b9cc80d2186f75e2d4cbefc795bcca6cc58d9002 SHA256 2e045e3ef5cd6f15601f31cb758cf4c29ca0ae73eb27cdcc56e9dfaba805d094
+MISC ChangeLog 19356 RMD160 0f892707d8d6bedd980ddea58c494c7782ef0e10 SHA1 07ea3e30e379e3647da445ddbab91476e43896c5 SHA256 3a9a2bc975658e812f90c09344abc2eb55660233c242833e92b19559367bc196
MISC metadata.xml 161 RMD160 1e5b1e42553c8869b93c4a5448e9a2a2ed9fe525 SHA1 209c6a46e4cdd891980115e42ba419e3799f8088 SHA256 7c85e6739a71f5bb23e8de36c88677d772946e61f7285892f7554e37bd2bca76
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iJwEAQECAAYFAk4YIVwACgkQIiMqcbOVdxRvdAP+OiCR663oegHYoz3YY9wmXVSm
-SyzdgkVGpJeE7TP52OzhyOcwW335RpX1Ed0PUgqXZ5Ww5+QY4l4Q4l4FgLJGSaRw
-d3N1mcAUSyQWnWLvATRGiO0B6em21VTRiT2rTr11dkYjhK5Ymu6tV8jX0enECUEA
-YFSqFNsHRS68QQH7iIo=
-=I0IR
+iQEcBAEBCgAGBQJOZG94AAoJEEqz6FtPBkyj+0cH/ijbXYOXyogHOYcMe0lNuoTO
+pyXwmkSFXrluhw2URiTpoRcuE25aNhEr9yLd4N5gJL54snRZrv8u+3sAgXyWQvbP
+z0tJgVdhqZAD8xgzYHzrtu1jXViLNesWEpKkf67U+bK7yhauQnfMVhS4gciN7Qn5
+2NfYJUoEHS1WbOqlrrVFguju+H9OryC3UsfJuaNYapb6WZtI467+MJWxZxrxowIG
+Q6rV9EQZe0bvkwZiL+GL3SVSQZ22G0E83vsxbR0hd+DWjFgV/j8kYtij5tOh/JHh
+PGW+5U84Op9jGOaKZPRugoKtgHVrOm7pCmfN/QyP5ftmQ+1w5IfB1R5AiO4QoMw=
+=0XuK
-----END PGP SIGNATURE-----
diff --git a/net-print/gutenprint/gutenprint-5.2.7.ebuild b/net-print/gutenprint/gutenprint-5.2.7.ebuild
new file mode 100644
index 000000000000..d13b7759fdbe
--- /dev/null
+++ b/net-print/gutenprint/gutenprint-5.2.7.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/gutenprint/gutenprint-5.2.7.ebuild,v 1.1 2011/09/05 06:42:58 radhermit Exp $
+
+EAPI=4
+
+inherit eutils multilib
+
+DESCRIPTION="Ghostscript and cups printer drivers"
+HOMEPAGE="http://gutenprint.sourceforge.net"
+SRC_URI="mirror://sourceforge/gimp-print/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="cups foomaticdb gimp gtk nls readline ppds static-libs"
+
+RDEPEND="app-text/ghostscript-gpl
+ dev-lang/perl
+ sys-libs/readline
+ cups? ( >=net-print/cups-1.1.14 )
+ foomaticdb? ( net-print/foomatic-db-engine )
+ gimp? ( >=media-gfx/gimp-2.2 x11-libs/gtk+:2 )
+ gtk? ( x11-libs/gtk+:2 )
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ gtk? ( dev-util/pkgconfig )
+ nls? ( sys-devel/gettext )"
+
+RESTRICT="test"
+
+DOCS=( AUTHORS ChangeLog NEWS README doc/gutenprint-users-manual.{pdf,odt} )
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-5.2.4-CFLAGS.patch"
+}
+
+src_configure() {
+ 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 \
+ --with-ghostscript \
+ --disable-translated-cups-ppds \
+ $(use_with gimp gimp2) \
+ $(use_with gimp gimp2-as-gutenprint) \
+ $(use_with cups) \
+ $(use_enable nls) \
+ $(use_with readline) \
+ $(use_enable static-libs static) \
+ ${myconf}
+}
+
+src_install() {
+ default
+
+ dohtml doc/FAQ.html
+ dohtml -r doc/gutenprintui2/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
+
+ find "${D}" -name '*.la' -exec rm -f '{}' +
+}
+
+pkg_postinst() {
+ if [ "${ROOT}" == "/" ] && [ -x /usr/sbin/cups-genppdupdate ]; then
+ elog "Updating installed printer ppd files"
+ elog $(/usr/sbin/cups-genppdupdate)
+ else
+ elog "You need to update installed ppds manually using cups-genppdupdate"
+ fi
+}