summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2005-05-19 14:23:58 +0000
committerMichael Cummings <mcummings@gentoo.org>2005-05-19 14:23:58 +0000
commit0f14fe131c952e255dafc33c8ee984891b6bef80 (patch)
tree513ebe86bd6e73fc4c5f699c58843e04d53c2da1 /dev-perl
parentadd ~ppc64 (diff)
downloadgentoo-2-0f14fe131c952e255dafc33c8ee984891b6bef80.tar.gz
gentoo-2-0f14fe131c952e255dafc33c8ee984891b6bef80.tar.bz2
gentoo-2-0f14fe131c952e255dafc33c8ee984891b6bef80.zip
Bug 91589, thanks to Jorg Walter for the tip that made the patch possible! Tested and gnome support works, and the rest compiles too :)
Diffstat (limited to 'dev-perl')
-rw-r--r--dev-perl/gtk-perl/ChangeLog9
-rw-r--r--dev-perl/gtk-perl/Manifest6
-rw-r--r--dev-perl/gtk-perl/files/digest-gtk-perl-0.7009-r11
-rw-r--r--dev-perl/gtk-perl/files/gendef.patch16
-rw-r--r--dev-perl/gtk-perl/gtk-perl-0.7009-r1.ebuild47
-rw-r--r--dev-perl/gtk-perl/gtk-perl-0.7009.ebuild9
6 files changed, 84 insertions, 4 deletions
diff --git a/dev-perl/gtk-perl/ChangeLog b/dev-perl/gtk-perl/ChangeLog
index 3381f1e2f9a1..3af9715419fe 100644
--- a/dev-perl/gtk-perl/ChangeLog
+++ b/dev-perl/gtk-perl/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-perl/gtk-perl
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/gtk-perl/ChangeLog,v 1.32 2005/04/01 18:07:06 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/gtk-perl/ChangeLog,v 1.33 2005/05/19 14:23:58 mcummings Exp $
+
+*gtk-perl-0.7009-r1 (19 May 2005)
+
+ 19 May 2005; Michael Cummings <mcummings@gentoo.org> +files/gendef.patch,
+ +gtk-perl-0.7009-r1.ebuild, gtk-perl-0.7009.ebuild:
+ Bug 91589, thanks to Jorg Walter for the tip that made the patch possible!
+ Tested and gnome support works, and the rest compiles too :)
01 Apr 2005; Simon Stelling <blubb@gentoo.org> gtk-perl-0.7008-r11.ebuild:
stable on amd64
diff --git a/dev-perl/gtk-perl/Manifest b/dev-perl/gtk-perl/Manifest
index 9d6f197cbd9f..008866099ae3 100644
--- a/dev-perl/gtk-perl/Manifest
+++ b/dev-perl/gtk-perl/Manifest
@@ -2,10 +2,14 @@ MD5 8d1c7230f8f36fc9f36e8d614c53185a ChangeLog 5226
MD5 74cee8ff4bbcb32c4a3612064c2948fa gtk-perl-0.7008-r10.ebuild 1128
MD5 07483c55c61611ee18114cc68c7d73c9 gtk-perl-0.7008-r11.ebuild 1217
MD5 1c2e1204f41734924de8f3a77ee5ffb9 gtk-perl-0.7008-r9.ebuild 1099
-MD5 1ee5e0e15029ec9ca2f823d595085510 gtk-perl-0.7009.ebuild 1099
+MD5 362f11e14db4a2bd6907cc27125ba999 gtk-perl-0.7009.ebuild 1193
MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305
+MD5 030ffa7e4ab20fcc21feb1570c71cb98 .gtk-perl-0.7009.ebuild.swp 12288
+MD5 362f11e14db4a2bd6907cc27125ba999 gtk-perl-0.7009-r1.ebuild 1193
+MD5 40eadf71d264897f806c6ae4e84abfe9 files/gendef.patch 324
MD5 f598a6d1d7e60c583fe4a3a7e8b40a84 files/digest-gtk-perl-0.7008-r10 67
MD5 f598a6d1d7e60c583fe4a3a7e8b40a84 files/digest-gtk-perl-0.7008-r11 67
MD5 f598a6d1d7e60c583fe4a3a7e8b40a84 files/digest-gtk-perl-0.7008-r9 67
MD5 2209262d20c326af265b7e1f59f69579 files/digest-gtk-perl-0.7009 67
MD5 b5f56ac7a91d56a578d02fab47146a79 files/gtk-perl-0.7008-gdkpixbuf-detect-fix.patch 747
+MD5 2209262d20c326af265b7e1f59f69579 files/digest-gtk-perl-0.7009-r1 67
diff --git a/dev-perl/gtk-perl/files/digest-gtk-perl-0.7009-r1 b/dev-perl/gtk-perl/files/digest-gtk-perl-0.7009-r1
new file mode 100644
index 000000000000..9e31f0486fbc
--- /dev/null
+++ b/dev-perl/gtk-perl/files/digest-gtk-perl-0.7009-r1
@@ -0,0 +1 @@
+MD5 72ce462caa1afe57d60a8e654d63204b Gtk-Perl-0.7009.tar.gz 447432
diff --git a/dev-perl/gtk-perl/files/gendef.patch b/dev-perl/gtk-perl/files/gendef.patch
new file mode 100644
index 000000000000..076936889dd7
--- /dev/null
+++ b/dev-perl/gtk-perl/files/gendef.patch
@@ -0,0 +1,16 @@
+--- tools/gendefs.pl.orig 2005-05-19 08:46:25.938883792 -0400
++++ tools/gendefs.pl 2005-05-19 08:49:06.048543424 -0400
+@@ -1222,7 +1222,12 @@ foreach (sort keys %flags) {
+ }
+ }
+
+-
++BEGIN {
++$::inc = `gdk-pixbuf-config --cflags`;
++chomp $::inc;
++$::libs = `gdk-pixbuf-config --libs`;
++chomp $::libs;
++}
+
+ print <<"EOT";
+
diff --git a/dev-perl/gtk-perl/gtk-perl-0.7009-r1.ebuild b/dev-perl/gtk-perl/gtk-perl-0.7009-r1.ebuild
new file mode 100644
index 000000000000..a99eede37d74
--- /dev/null
+++ b/dev-perl/gtk-perl/gtk-perl-0.7009-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/gtk-perl/gtk-perl-0.7009-r1.ebuild,v 1.1 2005/05/19 14:23:58 mcummings Exp $
+
+inherit perl-module eutils
+
+MY_P=Gtk-Perl-${PV}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="Perl bindings for GTK"
+SRC_URI="mirror://cpan/authors/id/M/ML/MLEHMANN/${MY_P}.tar.gz"
+HOMEPAGE="http://search.cpan.org/~mlehmann/${MY_P}/"
+IUSE="gnome opengl"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~sparc"
+
+DEPEND="${DEPEND}
+ media-libs/gdk-pixbuf
+ =x11-libs/gtk+-1.2*
+ dev-perl/XML-Writer
+ dev-perl/XML-Parser
+ opengl? ( =x11-libs/gtkglarea-1.2* )
+ gnome? ( gnome-base/gnome-libs
+ gnome-base/gnome-print
+ =gnome-base/gnome-applets-1.4.0.5)
+ gtkhtml? ( gnome-extra/gtkhtml )"
+
+mydoc="VERSIONS WARNING NOTES"
+
+use gnome || myconf="${myconf} --without-gnome --without-gnomeprint --without-applets"
+use opengl || myconf="${myconf} --without-gtkglarea"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/gendef.patch
+ perl -pi -e '/CCMD/ && s|/m;|/mg;|' */Makefile.PL
+}
+
+src_compile() {
+
+ # the makemakersixeleven syntax doesn't seem to work
+ perl Makefile.PL ${myconf} \
+ PREFIX=${D}/usr INSTALLDIRS=vendor
+}
diff --git a/dev-perl/gtk-perl/gtk-perl-0.7009.ebuild b/dev-perl/gtk-perl/gtk-perl-0.7009.ebuild
index a22cbc8404de..cae95237da73 100644
--- a/dev-perl/gtk-perl/gtk-perl-0.7009.ebuild
+++ b/dev-perl/gtk-perl/gtk-perl-0.7009.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/gtk-perl/gtk-perl-0.7009.ebuild,v 1.7 2005/03/06 15:36:57 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/gtk-perl/gtk-perl-0.7009.ebuild,v 1.8 2005/05/19 14:23:58 mcummings Exp $
inherit perl-module eutils
@@ -20,7 +20,10 @@ DEPEND="${DEPEND}
dev-perl/XML-Writer
dev-perl/XML-Parser
opengl? ( =x11-libs/gtkglarea-1.2* )
- gnome? ( gnome-base/gnome-libs )"
+ gnome? ( gnome-base/gnome-libs
+ gnome-base/gnome-print
+ =gnome-base/gnome-applets-1.4.0.5)
+ gtkhtml? ( gnome-extra/gtkhtml )"
mydoc="VERSIONS WARNING NOTES"
@@ -32,10 +35,12 @@ src_unpack() {
unpack ${A}
cd ${S}
+ epatch ${FILESDIR}/gendef.patch
perl -pi -e '/CCMD/ && s|/m;|/mg;|' */Makefile.PL
}
src_compile() {
+
# the makemakersixeleven syntax doesn't seem to work
perl Makefile.PL ${myconf} \
PREFIX=${D}/usr INSTALLDIRS=vendor