# ChangeLog for dev-perlgtk-perlChangeLog/
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/gtk-perl/ChangeLog,v 1.11 2002/11/05 16:14:59 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/gtk-perl/ChangeLog,v 1.12 2002/11/07 13:14:29 azarah Exp $
+
+*gtk-perl-0.7008-r7 (7 Nov 2002)
+
+ 07 Nov 2002; Martin Schlemmer <azarah@gentoo.org> :
+
+ Fix gdk-pixbuf-0.20.0 not detected, bug #10232.
*gtk-perl-0.7008-r6 (26 May 2002)
--- /dev/null
+MD5 b499abb5db7794f200abbf07879dd65d Gtk-Perl-0.7008.tar.gz 455977
--- /dev/null
+--- Gtk-Perl-0.7008/Makefile.PL.orig 2002-11-06 00:19:54.000000000 +0200
++++ Gtk-Perl-0.7008/Makefile.PL 2002-11-06 00:21:12.000000000 +0200
+@@ -22,7 +22,7 @@
+ check => sub {ccompile('#include <gtkgl/gtkglarea.h>', "", `gtk-config --cflags`,
+ "-lgtkgl -lGL -lGLU " . `gtk-config --libs`)}},
+ gdkpixbuf => {order => 2, dir => 'GdkPixbuf', depends => [qw(gtk)],
+- check => sub {cconfig('gdk-pixbuf-config --version', '0\.(8|9|1\d)\.?')}},
++ check => sub {cconfig('gdk-pixbuf-config --version', '0\.(8|9|1|2\d)\.?')}},
+ gtkhtml => {order => 2, dir => 'GtkHTML', depends => [qw(gtk)],
+ check => sub {cconfig('gnome-config --modversion gtkhtml', 'gtkhtml-0\.[89]')}},
+ gtkxmhtml => {order => 2, dir => 'GtkXmHTML', depends => [qw(gtk)],
--- /dev/null
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/gtk-perl/gtk-perl-0.7008-r7.ebuild,v 1.1 2002/11/07 13:14:29 azarah Exp $
+
+inherit perl-module
+
+MY_P=Gtk-Perl-${PV}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="Perl bindings for GTK"
+SRC_URI="http://www.gtkperl.org/${MY_P}.tar.gz"
+HOMEPAGE="http://www.perl.org/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 ppc sparc sparc64 alpha"
+
+DEPEND="${DEPEND}
+ media-libs/gdk-pixbuf
+ =x11-libs/gtk+-1.2*
+ dev-perl/XML-Writer
+ dev-perl/XML-Parser
+ gnome? ( gnome-base/gnome-libs )"
+
+mydoc="VERSIONS WARNING NOTES"
+
+src_unpack() {
+
+ unpack ${A}
+
+ # Fix gdk-pixbuf-0.20.0 not detected, bug #10232.
+ cd ${S}; patch -p1 < ${FILESDIR}/${P}-gdkpixbuf-detect-fix.patch || die
+}
+
+use gnome || (myconf="${myconf} --without-module gnome --without-module gnomeprint")
+src_compile() {
+
+ cd ${S}
+ cp Makefile.PL Makefile.PL.bak
+ perl -pi -e '/CCMD/ && s|/m;|/mg;|' */Makefile.PL
+ perl-module_src_compile
+
+}