summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-23 10:23:25 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-23 10:23:25 +0000
commitb9cac515a375bc35e04919d4c30f8ca8452eafb1 (patch)
tree496ea94ee205155fd2c8d8f33882bfc421fa0b84 /media-gfx
parentAdd HOMEPAGE to http://cervisia.kde.org. Thanks to timbrain@post.cz in bug #1... (diff)
downloadgentoo-2-b9cac515a375bc35e04919d4c30f8ca8452eafb1.tar.gz
gentoo-2-b9cac515a375bc35e04919d4c30f8ca8452eafb1.tar.bz2
gentoo-2-b9cac515a375bc35e04919d4c30f8ca8452eafb1.zip
Add patch to link correctly while using --as-needed. Thanks to Mike Auty (ikelos) in bug #128480.
(Portage version: 2.1_pre9-r3)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/gimp-print/ChangeLog7
-rw-r--r--media-gfx/gimp-print/files/digest-gimp-print-4.2.72
-rw-r--r--media-gfx/gimp-print/files/gimp-print-4.2.7-asneeded.patch38
-rw-r--r--media-gfx/gimp-print/gimp-print-4.2.7.ebuild12
4 files changed, 56 insertions, 3 deletions
diff --git a/media-gfx/gimp-print/ChangeLog b/media-gfx/gimp-print/ChangeLog
index a66a154466f1..7de4ed11e079 100644
--- a/media-gfx/gimp-print/ChangeLog
+++ b/media-gfx/gimp-print/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/gimp-print
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp-print/ChangeLog,v 1.70 2006/04/23 09:23:36 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp-print/ChangeLog,v 1.71 2006/04/23 10:23:25 flameeyes Exp $
+
+ 23 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/gimp-print-4.2.7-asneeded.patch, gimp-print-4.2.7.ebuild:
+ Add patch to link correctly while using --as-needed. Thanks to Mike Auty
+ (ikelos) in bug #128480.
23 Apr 2006; Diego Pettenò <flameeyes@gentoo.org>
gimp-print-5.0.0_rc2.ebuild:
diff --git a/media-gfx/gimp-print/files/digest-gimp-print-4.2.7 b/media-gfx/gimp-print/files/digest-gimp-print-4.2.7
index 9dd17fbd8225..f739c2f601e9 100644
--- a/media-gfx/gimp-print/files/digest-gimp-print-4.2.7
+++ b/media-gfx/gimp-print/files/digest-gimp-print-4.2.7
@@ -1 +1,3 @@
MD5 766be49f44a6a682d857e5aefec414d4 gimp-print-4.2.7.tar.gz 5178122
+RMD160 b517b1d3cff22347053c634ed96202588d93b63e gimp-print-4.2.7.tar.gz 5178122
+SHA256 a6cfcbb4bf32d12a553252b98e6a6fdb5d44fe37debad4480bbc9326e2c69489 gimp-print-4.2.7.tar.gz 5178122
diff --git a/media-gfx/gimp-print/files/gimp-print-4.2.7-asneeded.patch b/media-gfx/gimp-print/files/gimp-print-4.2.7-asneeded.patch
new file mode 100644
index 000000000000..9f381c47c9c5
--- /dev/null
+++ b/media-gfx/gimp-print/files/gimp-print-4.2.7-asneeded.patch
@@ -0,0 +1,38 @@
+Index: gimp-print-4.2.7/src/cups/Makefile.am
+===================================================================
+--- gimp-print-4.2.7.orig/src/cups/Makefile.am
++++ gimp-print-4.2.7/src/cups/Makefile.am
+@@ -77,12 +77,12 @@ epson_SOURCES = epson.c
+ epson_LDADD = $(LIBPRINTUT) $(CUPS_LIBS)
+
+ genppd_SOURCES = genppd.c
+-genppd_LDADD = $(LIBPRINTUT) $(CUPS_LIBS) $(LIBGIMPPRINT_LIBS)
++genppd_LDADD = $(LIBGIMPPRINT_LIBS) $(LIBPRINTUT) $(CUPS_LIBS)
+ genppd_LDFLAGS= $(STATIC_LDOPTS)
+ genppd_DEPENDENCIES = $(LIBGIMPPRINT_LIBS)
+
+ rastertoprinter_SOURCES = rastertoprinter.c
+-rastertoprinter_LDADD = $(LIBPRINTUT) $(CUPS_LIBS) $(LIBGIMPPRINT_LIBS)
++rastertoprinter_LDADD = $(LIBGIMPPRINT_LIBS) $(LIBPRINTUT) $(CUPS_LIBS)
+ rastertoprinter_LDFLAGS= $(STATIC_LDOPTS)
+ rastertoprinter_DEPENDENCIES = $(LIBGIMPPRINT_LIBS)
+
+Index: gimp-print-4.2.7/src/cups/Makefile.in
+===================================================================
+--- gimp-print-4.2.7.orig/src/cups/Makefile.in
++++ gimp-print-4.2.7/src/cups/Makefile.in
+@@ -225,12 +225,12 @@ epson_SOURCES = epson.c
+ epson_LDADD = $(LIBPRINTUT) $(CUPS_LIBS)
+
+ genppd_SOURCES = genppd.c
+-genppd_LDADD = $(LIBPRINTUT) $(CUPS_LIBS) $(LIBGIMPPRINT_LIBS)
++genppd_LDADD = $(LIBGIMPPRINT_LIBS) $(LIBPRINTUT) $(CUPS_LIBS)
+ genppd_LDFLAGS = $(STATIC_LDOPTS)
+ genppd_DEPENDENCIES = $(LIBGIMPPRINT_LIBS)
+
+ rastertoprinter_SOURCES = rastertoprinter.c
+-rastertoprinter_LDADD = $(LIBPRINTUT) $(CUPS_LIBS) $(LIBGIMPPRINT_LIBS)
++rastertoprinter_LDADD = $(LIBGIMPPRINT_LIBS) $(LIBPRINTUT) $(CUPS_LIBS)
+ rastertoprinter_LDFLAGS = $(STATIC_LDOPTS)
+ rastertoprinter_DEPENDENCIES = $(LIBGIMPPRINT_LIBS)
+
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 34e2c38268a5..3aeadb9706cb 100644
--- a/media-gfx/gimp-print/gimp-print-4.2.7.ebuild
+++ b/media-gfx/gimp-print/gimp-print-4.2.7.ebuild
@@ -1,8 +1,8 @@
# 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.12 2006/01/24 19:16:36 genstef Exp $
+# $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 $
-inherit libtool
+inherit libtool eutils
IUSE="nls gtk readline cups foomaticdb ppds"
@@ -22,6 +22,14 @@ DEPEND="cups? ( >=net-print/cups-1.1.14 )
LICENSE="GPL-2"
SLOT="0"
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-asneeded.patch"
+}
+
src_compile() {
elibtoolize --reverse-deps