summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2007-05-29 08:54:36 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2007-05-29 08:54:36 +0000
commitc92fd3c64cafaefe03f46cf07f81cb8ec04118e2 (patch)
tree4f6c5e9c73f387c42a59398f6d101ac0873cd38b
parentBump to latest version. Now uses external, slotted sci-libs/clipper instead o... (diff)
downloadgentoo-2-c92fd3c64cafaefe03f46cf07f81cb8ec04118e2.tar.gz
gentoo-2-c92fd3c64cafaefe03f46cf07f81cb8ec04118e2.tar.bz2
gentoo-2-c92fd3c64cafaefe03f46cf07f81cb8ec04118e2.zip
Fix for --as-needed linker flag.
(Portage version: 2.1.2.7)
-rw-r--r--x11-libs/gtk-canvas/ChangeLog10
-rw-r--r--x11-libs/gtk-canvas/files/0.1.1-as-needed.patch22
-rw-r--r--x11-libs/gtk-canvas/files/digest-gtk-canvas-0.1.1-r23
-rw-r--r--x11-libs/gtk-canvas/gtk-canvas-0.1.1-r2.ebuild32
4 files changed, 65 insertions, 2 deletions
diff --git a/x11-libs/gtk-canvas/ChangeLog b/x11-libs/gtk-canvas/ChangeLog
index 895f302c6e50..f96f0ac2c0ca 100644
--- a/x11-libs/gtk-canvas/ChangeLog
+++ b/x11-libs/gtk-canvas/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-libs/gtk-canvas
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk-canvas/ChangeLog,v 1.7 2006/12/14 02:13:46 dberkholz Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk-canvas/ChangeLog,v 1.8 2007/05/29 08:54:36 dberkholz Exp $
+
+*gtk-canvas-0.1.1-r2 (29 May 2007)
+
+ 29 May 2007; Donnie Berkholz <dberkholz@gentoo.org>;
+ +files/0.1.1-as-needed.patch, +gtk-canvas-0.1.1-r2.ebuild:
+ Fix for --as-needed linker flag.
14 Dec 2006; Donnie Berkholz <dberkholz@gentoo.org>;
gtk-canvas-0.1.1-r1.ebuild:
diff --git a/x11-libs/gtk-canvas/files/0.1.1-as-needed.patch b/x11-libs/gtk-canvas/files/0.1.1-as-needed.patch
new file mode 100644
index 000000000000..61bbe766eb46
--- /dev/null
+++ b/x11-libs/gtk-canvas/files/0.1.1-as-needed.patch
@@ -0,0 +1,22 @@
+diff -urN gtk-canvas-0.1.1.orig/configure.in gtk-canvas-0.1.1/configure.in
+--- gtk-canvas-0.1.1.orig/configure.in 2007-05-28 23:15:22.000000000 -0700
++++ gtk-canvas-0.1.1/configure.in 2007-05-29 00:15:22.000000000 -0700
+@@ -236,6 +236,7 @@
+ dnl Substitutions
+ dnl
+
++AC_SUBST(ART_LIBS)
+ AC_SUBST(GTK_LIBS)
+ AC_SUBST(GTK_CANVAS_LIBS)
+ AC_SUBST(GTK_CANVAS_LIBDIR)
+diff -urN gtk-canvas-0.1.1.orig/gtk-canvas/Makefile.am gtk-canvas-0.1.1/gtk-canvas/Makefile.am
+--- gtk-canvas-0.1.1.orig/gtk-canvas/Makefile.am 2007-05-28 23:15:22.000000000 -0700
++++ gtk-canvas-0.1.1/gtk-canvas/Makefile.am 2007-05-28 23:15:43.000000000 -0700
+@@ -98,5 +98,5 @@
+ gtk-canvastypebuiltins_evals.c
+
+ libgtk_canvas_la_LDFLAGS = -version-info 1:1:0 -rpath $(libdir)
+-libgtk_canvas_la_LIBADD = $(LIBGTK_CANVAS_LIBS)
+-
++libgtk_canvas_la_LIBADD = $(LIBGTK_CANVAS_LIBS) \
++ $(ART_LIBS)
diff --git a/x11-libs/gtk-canvas/files/digest-gtk-canvas-0.1.1-r2 b/x11-libs/gtk-canvas/files/digest-gtk-canvas-0.1.1-r2
new file mode 100644
index 000000000000..78a51f0b6cae
--- /dev/null
+++ b/x11-libs/gtk-canvas/files/digest-gtk-canvas-0.1.1-r2
@@ -0,0 +1,3 @@
+MD5 6872220119a4a3c284fe54a186e2ed57 gtk-canvas-0.1.1.tar.gz 657955
+RMD160 31051d69b4bbc43bb2f515179fae09327e7864a1 gtk-canvas-0.1.1.tar.gz 657955
+SHA256 67d33da4129b5ca75fd1b59a62458dacfaad4e0251528294b8ebcfb148afd331 gtk-canvas-0.1.1.tar.gz 657955
diff --git a/x11-libs/gtk-canvas/gtk-canvas-0.1.1-r2.ebuild b/x11-libs/gtk-canvas/gtk-canvas-0.1.1-r2.ebuild
new file mode 100644
index 000000000000..bff32521bcd9
--- /dev/null
+++ b/x11-libs/gtk-canvas/gtk-canvas-0.1.1-r2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk-canvas/gtk-canvas-0.1.1-r2.ebuild,v 1.1 2007/05/29 08:54:36 dberkholz Exp $
+
+inherit eutils autotools
+
+DESCRIPTION="Backport of the GnomeCanvas widget to GTK+"
+HOMEPAGE="http://www.atai.org/gtk-canvas/"
+SRC_URI="http://www.atai.org/gtk-canvas/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+IUSE=""
+RDEPEND="=x11-libs/gtk+-1.2*"
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${PV}-as-needed.patch
+ WANT_AUTOMAKE="1.4" \
+ automake --add-missing --copy \
+ || die "automake failed"
+ WANT_AUTOCONF="2.1" \
+ autoconf \
+ || die "autoconf failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+}