diff options
author | Ryan Hill <rhill@gentoo.org> | 2009-03-04 22:54:09 +0000 |
---|---|---|
committer | Ryan Hill <rhill@gentoo.org> | 2009-03-04 22:54:09 +0000 |
commit | 7f2230178dfdea534e538a015950a032edaf05b3 (patch) | |
tree | bd509719a87b491be7ce7d5d2d4bb08f7d0e2a8e /net-print | |
parent | Fix unversionned xulrunner dependency, bug #261229. (diff) | |
download | historical-7f2230178dfdea534e538a015950a032edaf05b3.tar.gz historical-7f2230178dfdea534e538a015950a032edaf05b3.tar.bz2 historical-7f2230178dfdea534e538a015950a032edaf05b3.zip |
Version bump.
Don't install libtool scripts from the package testsuite (?) (bug #217354)*
Fix parallel make error (patch by Martin van Gagern) (bug #254008)*
Fixes nasty color regression on Canon Pixma's (bug #223731)
Removes stupid CFLAGS from Makefile.
* fixed in 5.1.7 too
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'net-print')
-rw-r--r-- | net-print/gutenprint/ChangeLog | 18 | ||||
-rw-r--r-- | net-print/gutenprint/Manifest | 17 | ||||
-rw-r--r-- | net-print/gutenprint/files/gutenprint-5.1.7-parallel-build.patch | 41 | ||||
-rw-r--r-- | net-print/gutenprint/files/gutenprint-5.2.3-CFLAGS.patch | 24 | ||||
-rw-r--r-- | net-print/gutenprint/files/gutenprint-5.2.3-parallel-build.patch | 42 | ||||
-rw-r--r-- | net-print/gutenprint/gutenprint-5.1.7.ebuild | 23 | ||||
-rw-r--r-- | net-print/gutenprint/gutenprint-5.2.3.ebuild | 97 |
7 files changed, 245 insertions, 17 deletions
diff --git a/net-print/gutenprint/ChangeLog b/net-print/gutenprint/ChangeLog index b7af2fed9e24..9e91fb809c52 100644 --- a/net-print/gutenprint/ChangeLog +++ b/net-print/gutenprint/ChangeLog @@ -1,6 +1,20 @@ # ChangeLog for net-print/gutenprint -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-print/gutenprint/ChangeLog,v 1.4 2008/04/06 23:42:23 swegener Exp $ +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-print/gutenprint/ChangeLog,v 1.5 2009/03/04 22:54:09 dirtyepic Exp $ + +*gutenprint-5.2.3 (04 Mar 2009) + + 04 Mar 2009; Ryan Hill <dirtyepic@gentoo.org> + +files/gutenprint-5.1.7-parallel-build.patch, + +files/gutenprint-5.2.3-CFLAGS.patch, + +files/gutenprint-5.2.3-parallel-build.patch, gutenprint-5.1.7.ebuild, + +gutenprint-5.2.3.ebuild: + Version bump. + Don't install libtool scripts from the package testsuite (?) (bug #217354)* + Fix parallel make error (patch by Martin van Gagern) (bug #254008)* + Fixes nasty color regression on Canon Pixma's (bug #223731) + Removes stupid CFLAGS from Makefile. + * fixed in 5.1.7 too 05 Apr 2008; Tobias Klausmann <klausman@gentoo.org> gutenprint-5.1.4.ebuild: diff --git a/net-print/gutenprint/Manifest b/net-print/gutenprint/Manifest index 1121912973ff..0fb67e133f78 100644 --- a/net-print/gutenprint/Manifest +++ b/net-print/gutenprint/Manifest @@ -1,16 +1,21 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX gutenprint-5.1.7-parallel-build.patch 1570 RMD160 8617ba8ae4616c7be10b8d66103cdaec5c21c8be SHA1 ae58cd73b891bbec56e9d502fe47ea0908b0feb8 SHA256 489ad9d9d54e523d8b607a3bee6333d1c35bbb8121ac20273a0eff1e57ed1bee +AUX gutenprint-5.2.3-CFLAGS.patch 781 RMD160 f9c6650d899768cc3e8cb846cca388aca8c33872 SHA1 248af46ba40397d0c75b5cbf2b9ee5a99990fc22 SHA256 e4df928bf523a90f595bea773ffbbdaf3b982a941a6f995a5709abfdb5e5c438 +AUX gutenprint-5.2.3-parallel-build.patch 1295 RMD160 297b98d5025ab82ceb20eb64f01b7f5e8508cf39 SHA1 118d848c28ab5094a1d25071ebf5fa9a9e5eb79b SHA256 ba5290c9a131f7f31915d58d8bf315f4672edd4d60b899bffc334ccddedf36cc DIST gutenprint-5.1.4.tar.bz2 4714151 RMD160 44f23d30eeab6f911f28c5982ca9ffc1677a0c49 SHA1 1e65fbb90d1b6f2344f32378d026326c103bb3eb SHA256 2189127e50171334ebd8ca3791455062daeef150894ce8dfb063bc2da7b35763 DIST gutenprint-5.1.7.tar.bz2 4703590 RMD160 7f85d64823006899dc41165fcdc97872f6519616 SHA1 7fb93b8b7a0ef1e5f7cf83700cb96b2448241195 SHA256 48ba351290067c061a5e68225e488d0eb570fe76dd0856e08ae9fbe2ef62fc4b +DIST gutenprint-5.2.3.tar.bz2 4929205 RMD160 ae6edf1dea2cd88572736bf0784a4353b59e7113 SHA1 e4ddb21665578835d58267d59b57d8d970c3ee86 SHA256 cd001593cbad73bc102e9a1ec9d736236dd62626aab1a8b40252928af6522fef EBUILD gutenprint-5.1.4.ebuild 2580 RMD160 a862f97a70bc78767cf66800f39bef6c544db802 SHA1 ae4421b08feba093e9e04411a98b17f1f49c9358 SHA256 1b80845df95929271593357f8e635e7d06c48ea90dae836f123ce64b791788e7 -EBUILD gutenprint-5.1.7.ebuild 2587 RMD160 9082b6578de1a41237eda4e69167f9d7b9d28953 SHA1 2b7d7a785365c76135f43a48568c235cdc5921b6 SHA256 a40e58eee58536ed383bf7847356f98cc1cac06146f565026d12c6a91cabb81d -MISC ChangeLog 15816 RMD160 7d0acd092a5ba71396c50c61683884114831930b SHA1 18284480b6f52333e2c71b8b01c0c5a54b72ca0e SHA256 9a075076da78d03cf9a3f2572438b43b4a5a03b881c694ef3394ce1944af5ac2 +EBUILD gutenprint-5.1.7.ebuild 2531 RMD160 e6b8f3f0f87c1730b7f5225aa60277806ac2963d SHA1 994be0c72a6d3dd3318afbdfbc321bf463c7a3b0 SHA256 d14e8459bcd3091da26dc9961c3164abef86d1f2282a2cdd64c6471ef39cf18e +EBUILD gutenprint-5.2.3.ebuild 2582 RMD160 32fc4b920113c6c831fb38ec0dd2356a098f900e SHA1 ff242407b46b285a75472ae60b15867edf94868f SHA256 426346452d711b96029b82d1efaa9b0041fad8bf85dd23a22f20026a4c106f50 +MISC ChangeLog 16384 RMD160 585b41ae5806882e8dd7532e7c5a4796e2638b83 SHA1 9b487ff371aa70889ca58fd4d3c88eaf38f574b0 SHA256 a5a78b11f057933fa6ab352685226d6dd0f4feb8fc88917dc1e80c01552fa7bc MISC metadata.xml 161 RMD160 1e5b1e42553c8869b93c4a5448e9a2a2ed9fe525 SHA1 209c6a46e4cdd891980115e42ba419e3799f8088 SHA256 7c85e6739a71f5bb23e8de36c88677d772946e61f7285892f7554e37bd2bca76 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.7 (GNU/Linux) +Version: GnuPG v2.0.10 (GNU/Linux) -iD8DBQFH+V/kI1lqEGTUzyQRAvz9AJ4uX6OtWFDqY09JLS+1RQzOBQSzhgCggyee -Q+QOhOXERouiGqc9tHVYtmo= -=p9ct +iEYEARECAAYFAkmvBu8ACgkQiqiDRvmkBmLzKQCgkRBGNKIAOYnW0UQ3zawueL6X +GBgAoJsprFSkPtK6aRx7q97lfsB/ODR1 +=DDke -----END PGP SIGNATURE----- diff --git a/net-print/gutenprint/files/gutenprint-5.1.7-parallel-build.patch b/net-print/gutenprint/files/gutenprint-5.1.7-parallel-build.patch new file mode 100644 index 000000000000..1e8a6d377797 --- /dev/null +++ b/net-print/gutenprint/files/gutenprint-5.1.7-parallel-build.patch @@ -0,0 +1,41 @@ +To avoid parallel build issues, the ppd-stamp-pre target has to be executed +before other ppd targets. + +2009-03-04 Martin von Gagern + +References: +https://bugs.gentoo.org/254008 +Index: gutenprint-5.1.7/src/cups/Makefile.am +=================================================================== +--- gutenprint-5.1.7.orig/src/cups/Makefile.am ++++ gutenprint-5.1.7/src/cups/Makefile.am +@@ -173,10 +173,11 @@ all-local: $(INSTALL_DATA_LOCAL_DEPS) + ppd: ppd-stamp + + ppd-stamp: cups-genppdconfig.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ $(top_srcdir)/src/main/printers.xml $(top_srcdir)/src/main/papers.xml ++ $(MAKE) ppd-stamp-pre + $(MAKE) ppd-stamp-phony + touch ppd-stamp + +-ppd-stamp-phony: ppd-stamp-pre ppd-nonls $(PPD_NLS) ++ppd-stamp-phony: ppd-nonls $(PPD_NLS) + + ppd-stamp-pre: + -$(RM) -r ppd +Index: gutenprint-5.1.7/src/cups/Makefile.in +=================================================================== +--- gutenprint-5.1.7.orig/src/cups/Makefile.in ++++ gutenprint-5.1.7/src/cups/Makefile.in +@@ -1042,10 +1042,11 @@ all-local: $(INSTALL_DATA_LOCAL_DEPS) + ppd: ppd-stamp + + ppd-stamp: cups-genppdconfig.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ $(top_srcdir)/src/main/printers.xml $(top_srcdir)/src/main/papers.xml ++ $(MAKE) ppd-stamp-pre + $(MAKE) ppd-stamp-phony + touch ppd-stamp + +-ppd-stamp-phony: ppd-stamp-pre ppd-nonls $(PPD_NLS) ++ppd-stamp-phony: ppd-nonls $(PPD_NLS) + + ppd-stamp-pre: + -$(RM) -r ppd diff --git a/net-print/gutenprint/files/gutenprint-5.2.3-CFLAGS.patch b/net-print/gutenprint/files/gutenprint-5.2.3-CFLAGS.patch new file mode 100644 index 000000000000..e5d64e6042e0 --- /dev/null +++ b/net-print/gutenprint/files/gutenprint-5.2.3-CFLAGS.patch @@ -0,0 +1,24 @@ +diff -Naur gutenprint-5.2.3-orig/configure.ac gutenprint-5.2.3/configure.ac +--- gutenprint-5.2.3-orig/configure.ac 2008-12-20 18:04:24.000000000 -0600 ++++ gutenprint-5.2.3/configure.ac 2009-02-13 18:52:19.000000000 -0600 +@@ -631,20 +631,6 @@ + if test x${USE_MAINTAINER_MODE} = xyes ; then + STP_ADD_COMPILER_ARGS([-pedantic -Waggregate-return -Wcast-qual -Wshadow -Wredundant-decls],, [GNUCFLAGS]) + fi +- if test x$ENABLE_DEBUG = xyes ; then +- STP_ADD_COMPILER_ARG([-g]) +- else +- STP_ADD_FIRST_COMPILER_ARG([-O6 -O3 -O2 -O1 -O]) +- fi +-else +- if test x$ENABLE_DEBUG = xyes ; then +- STP_ADD_COMPILER_ARG([-g]) +- else +- STP_ADD_FIRST_COMPILER_ARG([-O]) +- fi +-fi +-if test x$ENABLE_PROFILE = xyes ; then +- STP_ADD_COMPILER_ARG([-pg]) + fi + AC_SUBST(GNUCFLAGS) + diff --git a/net-print/gutenprint/files/gutenprint-5.2.3-parallel-build.patch b/net-print/gutenprint/files/gutenprint-5.2.3-parallel-build.patch new file mode 100644 index 000000000000..20cb10bcbe26 --- /dev/null +++ b/net-print/gutenprint/files/gutenprint-5.2.3-parallel-build.patch @@ -0,0 +1,42 @@ +To avoid parallel build issues, the ppd-stamp-pre target has to be executed +before other ppd targets. + +2009-03-04 Martin von Gagern + +References: +https://bugs.gentoo.org/254008 + +Index: gutenprint-5.2.3/src/cups/Makefile.am +=================================================================== +--- gutenprint-5.2.3.orig/src/cups/Makefile.am ++++ gutenprint-5.2.3/src/cups/Makefile.am +@@ -182,10 +182,11 @@ all-local: $(INSTALL_DATA_LOCAL_DEPS) + ppd: ppd-stamp + + ppd-stamp: cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ $(top_srcdir)/src/xml/xml-stamp ++ $(MAKE) ppd-stamp-pre + $(MAKE) ppd-stamp-phony + touch ppd-stamp + +-ppd-stamp-phony: ppd-stamp-pre $(PPD) ++ppd-stamp-phony: $(PPD) + + ppd-stamp-pre: + -$(RM) -r ppd +Index: gutenprint-5.2.3/src/cups/Makefile.in +=================================================================== +--- gutenprint-5.2.3.orig/src/cups/Makefile.in ++++ gutenprint-5.2.3/src/cups/Makefile.in +@@ -1087,10 +1087,11 @@ all-local: $(INSTALL_DATA_LOCAL_DEPS) + ppd: ppd-stamp + + ppd-stamp: cups-genppd.@GUTENPRINT_MAJOR_VERSION@.@GUTENPRINT_MINOR_VERSION@ $(top_srcdir)/src/xml/xml-stamp ++ $(MAKE) ppd-stamp-pre + $(MAKE) ppd-stamp-phony + touch ppd-stamp + +-ppd-stamp-phony: ppd-stamp-pre $(PPD) ++ppd-stamp-phony: $(PPD) + + ppd-stamp-pre: + -$(RM) -r ppd diff --git a/net-print/gutenprint/gutenprint-5.1.7.ebuild b/net-print/gutenprint/gutenprint-5.1.7.ebuild index 298213f7046a..9acd5a7975cb 100644 --- a/net-print/gutenprint/gutenprint-5.1.7.ebuild +++ b/net-print/gutenprint/gutenprint-5.1.7.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-print/gutenprint/gutenprint-5.1.7.ebuild,v 1.2 2008/04/05 16:21:37 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-print/gutenprint/gutenprint-5.1.7.ebuild,v 1.3 2009/03/04 22:54:09 dirtyepic Exp $ inherit flag-o-matic eutils multilib @@ -27,6 +27,17 @@ SLOT="0" append-flags -fno-inline-functions +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}-parallel-build.patch + + # IJS Patch + sed -i -e "s:<ijs\([^/]\):<ijs/ijs\1:g" src/ghost/ijsgutenprint.c || die "sed failed" +} + + src_compile() { if use cups && use ppds; then myconf="${myconf} --enable-cups-ppds --enable-cups-level3-ppds" @@ -59,17 +70,11 @@ src_compile() { $(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} + emake DESTDIR="${D}" install || die "emake install failed" dodoc AUTHORS ChangeLog NEWS README doc/gutenprint-users-manual.{pdf,odt} dohtml doc/FAQ.html diff --git a/net-print/gutenprint/gutenprint-5.2.3.ebuild b/net-print/gutenprint/gutenprint-5.2.3.ebuild new file mode 100644 index 000000000000..9e5b94d7b5c9 --- /dev/null +++ b/net-print/gutenprint/gutenprint-5.2.3.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-print/gutenprint/gutenprint-5.2.3.ebuild,v 1.1 2009/03/04 22:54:09 dirtyepic Exp $ + +inherit autotools flag-o-matic eutils multilib + +IUSE="cups foomaticdb gimp gtk readline ppds" + +DESCRIPTION="Ghostscript and cups printer drivers" +HOMEPAGE="http://gutenprint.sourceforge.net" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +SRC_URI="mirror://sourceforge/gimp-print/${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" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}-CFLAGS.patch + epatch "${FILESDIR}"/${P}-parallel-build.patch + + # IJS Patch + sed -i -e "s:<ijs\([^/]\):<ijs/ijs\1:g" src/ghost/ijsgutenprint.c || die "sed failed" + + mkdir m4local + AT_M4DIR="m4extra" eautoreconf +} + +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" + + emake || die "emake failed" +} + +src_install () { + emake DESTDIR="${D}" install || die "emake install failed" + + 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 ]; 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 +} |