summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-03-02 02:10:08 +0000
committerMike Frysinger <vapier@gentoo.org>2003-03-02 02:10:08 +0000
commit4797d9f65e3e9a876fb1499dca52d0b7fa1fd386 (patch)
tree5b960a5c01fac5988534eb682178b2c3bc337b66 /dev-perl/GD
parenttouchups (diff)
downloadhistorical-4797d9f65e3e9a876fb1499dca52d0b7fa1fd386.tar.gz
historical-4797d9f65e3e9a876fb1499dca52d0b7fa1fd386.tar.bz2
historical-4797d9f65e3e9a876fb1499dca52d0b7fa1fd386.zip
new ebuild ver
Diffstat (limited to 'dev-perl/GD')
-rw-r--r--dev-perl/GD/ChangeLog27
-rw-r--r--dev-perl/GD/GD-2.06.ebuild40
-rw-r--r--dev-perl/GD/files/2.06-makefile-opts.patch31
-rw-r--r--dev-perl/GD/files/digest-GD-2.061
4 files changed, 86 insertions, 13 deletions
diff --git a/dev-perl/GD/ChangeLog b/dev-perl/GD/ChangeLog
index 1dc68b0557a6..dd6891f272a2 100644
--- a/dev-perl/GD/ChangeLog
+++ b/dev-perl/GD/ChangeLog
@@ -1,15 +1,22 @@
# ChangeLog for dev-perl/GD
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/GD/ChangeLog,v 1.12 2003/02/12 06:18:15 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/GD/ChangeLog,v 1.13 2003/03/02 02:10:08 vapier Exp $
- 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
-
- 29 Oct 2002; Seemant Kulleen <seemant@gentoo.org> ChangeLog :
+*GD-2.06 (23 Feb 2003)
- forced version bump to install into correct locations
-# ChangeLog for dev-perl/GD
+ 23 Feb 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump to support libgd-2.x and to fix #15913.
+
+*GD-2.01 (8 Sep 2002)
+
+ 8 Sep 2002; <mcummings@gentoo.org> GD-2.01.ebuild :
+ Updated version corrects some GD related problems, depends on new GD; thanks
+ to Nicholas Wourms for doing the legwork on this one
-*GD-1.32-r2 (18 Sep 2002) <mcummings@gentoo.org>
+*GD-1.32-r2 (18 Sep 2002)
+
+ 29 Oct 2002; Seemant Kulleen <seemant@gentoo.org> ChangeLog :
+ forced version bump to install into correct locations
24 Oct 2002; <mcummings@gentoo.org> : Fixed JPEG dep check - there
was no correction clause for jpeg if use jpeg was no. Thanks to
@@ -22,12 +29,6 @@
although GD installed without error, it wasn't calling the perl module
eclass correctly and was misinstalling.
-*GD-2.01 (8 Sep 2002)
-
- 8 Sep 2002; <mcummings@gentoo.org> GD-2.01.ebuild :
- Updated version corrects some GD related problems, depends on new GD; thanks
- to Nicholas Wourms for doing the legwork on this one
-
*GD-1.32-r1 (5 May 2002)
31 Jul 2002; Calum Selkirk <cselkirk@gentoo.org> GD-1.32-r1.ebuild :
diff --git a/dev-perl/GD/GD-2.06.ebuild b/dev-perl/GD/GD-2.06.ebuild
new file mode 100644
index 000000000000..1d84b67ef1d6
--- /dev/null
+++ b/dev-perl/GD/GD-2.06.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/GD/GD-2.06.ebuild,v 1.1 2003/03/02 02:10:08 vapier Exp $
+
+inherit eutils perl-module
+CATEGORY="dev-perl"
+
+DESCRIPTION="interface to Thomas Boutell's gd library"
+SRC_URI="http://www.cpan.org/modules/by-module/GD/${P}.tar.gz"
+HOMEPAGE="http://www.cpan.org/modules/by-module/GD/${P}.readme"
+
+SLOT="0"
+LICENSE="Artistic | GPL-2"
+KEYWORDS="x86 ppc sparc alpha"
+IUSE="jpeg freetype" #xpm
+
+newdepend ">=media-libs/libgd-2.0.5
+ jpeg? ( media-libs/jpeg )
+ freetype? ( =media-libs/freetype-2* )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-makefile-opts.patch
+
+ use jpeg \
+ && jpeg="y" \
+ || jpeg="n"
+ use freetype \
+ && freetype="y" \
+ || freetype="n"
+ cp Makefile.PL{,.orig}
+ sed -e "s:GENTOO_JPEG:${jpeg}:" \
+ -e "s:GENTOO_FREETYPE:${freetype}:" \
+ Makefile.PL.orig > Makefile.PL
+
+ perl-module_src_prep
+}
+
+mydoc="GD.html"
diff --git a/dev-perl/GD/files/2.06-makefile-opts.patch b/dev-perl/GD/files/2.06-makefile-opts.patch
new file mode 100644
index 000000000000..fbbc705d7b28
--- /dev/null
+++ b/dev-perl/GD/files/2.06-makefile-opts.patch
@@ -0,0 +1,31 @@
+--- Makefile.PL.orig 2003-02-23 21:10:37.000000000 -0500
++++ Makefile.PL 2003-02-23 21:12:43.000000000 -0500
+@@ -33,19 +33,19 @@
+
+ # path to libgd
+ warn "\n";
+-my $PREFIX = lc prompt('Where is libgd installed?','/usr/lib');
+-unless ($PREFIX eq '/usr/lib') {
+- $PREFIX =~ s!/lib$!!;
+- unshift @INC,"-I$PREFIX/include";
+- unshift @LIBPATH,"-L$PREFIX/lib";
+-}
++#my $PREFIX = lc prompt('Where is libgd installed?','/usr/lib');
++#unless ($PREFIX eq '/usr/lib') {
++# $PREFIX =~ s!/lib$!!;
++# unshift @INC,"-I$PREFIX/include";
++# unshift @LIBPATH,"-L$PREFIX/lib";
++#}
+
+ # FEATURE FLAGS
+ warn "\nPlease choose the features that match how libgd was built:\n";
+
+-my $JPEG = lc prompt('Build JPEG support?','y') eq 'y';
+-my $FT = lc prompt('Build FreeType support?','y') eq 'y';
+-my $XPM = $^O !~ /^freebsd|MSWin32$/ && lc prompt('Build XPM support?','y') eq 'y';
++my $JPEG = 'GENTOO_JPEG'; #lc prompt('Build JPEG support?','y') eq 'y';
++my $FT = 'GENTOO_FREETYPE'; #lc prompt('Build FreeType support?','y') eq 'y';
++my $XPM = 'GENTOO_XPM'; #$^O !~ /^freebsd|MSWin32$/ && lc prompt('Build XPM support?','y') eq 'y';
+
+ my $FCGI = 0; # set to 1 to build compatability with fastCGI
+
diff --git a/dev-perl/GD/files/digest-GD-2.06 b/dev-perl/GD/files/digest-GD-2.06
new file mode 100644
index 000000000000..bfbac41a01ba
--- /dev/null
+++ b/dev-perl/GD/files/digest-GD-2.06
@@ -0,0 +1 @@
+MD5 90025c06e22c91e22588cee1567d3c7c GD-2.06.tar.gz 143228