summaryrefslogtreecommitdiff
path: root/graphics/p5-GD
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2000-07-14 08:53:13 +0000
committerrh <rh@pkgsrc.org>2000-07-14 08:53:13 +0000
commit4f5a8b48170d6d2be5c52b12f585de2f88e1491f (patch)
treeb4270498bd9acacea92481dd6900d624e47030a4 /graphics/p5-GD
parentc431330de03b66749163a79b0f2862bc390b4df7 (diff)
downloadpkgsrc-4f5a8b48170d6d2be5c52b12f585de2f88e1491f.tar.gz
Update p5-GD to 1.30, fixing PR 10565 by Damon Brodie. Now works again
with our current gd package. Changes include: - now you can create GD::Image objects directly from image DATA - reformatted documentation - internal release - fixed a bad regression test - updated for compatibility with libgd 1.8.3 - WBMP support - turned Makefile.PL into a multiple-choice quiz - turned libgd patchfile into a perl script - updated for compatibility with libgd 1.8.1 - JPEG support - the newFromXXX() functions now accept pathnames - patchfile for building libgd as a shared library - improvements to the Makefile to help with compilation - added more help in compiling and installing to docs - added some more libraries to link in, might help unresolved symbol problems
Diffstat (limited to 'graphics/p5-GD')
-rw-r--r--graphics/p5-GD/Makefile6
-rw-r--r--graphics/p5-GD/files/md54
-rw-r--r--graphics/p5-GD/files/patch-sum4
-rw-r--r--graphics/p5-GD/patches/patch-aa35
4 files changed, 31 insertions, 18 deletions
diff --git a/graphics/p5-GD/Makefile b/graphics/p5-GD/Makefile
index 121cf9d5fa0..ee09ca3e3be 100644
--- a/graphics/p5-GD/Makefile
+++ b/graphics/p5-GD/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2000/03/21 17:08:19 he Exp $
+# $NetBSD: Makefile,v 1.5 2000/07/14 08:53:13 rh Exp $
#
-DISTNAME= GD-1.22
+DISTNAME= GD-1.30
PKGNAME= p5-${DISTNAME}
CATEGORIES= graphics perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=GD/}
@@ -9,7 +9,7 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=GD/}
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://theory.uwinnipeg.ca/CPAN/data/GD/GD.html
-DEPENDS+= gd>=1.7.3:../../graphics/gd
+DEPENDS+= gd>=1.8.3:../../graphics/gd
USE_PERL5= yes
diff --git a/graphics/p5-GD/files/md5 b/graphics/p5-GD/files/md5
index 21bdba0a5a3..7dcccbd58a4 100644
--- a/graphics/p5-GD/files/md5
+++ b/graphics/p5-GD/files/md5
@@ -1,3 +1,3 @@
-$NetBSD: md5,v 1.3 1999/11/01 03:32:56 jlam Exp $
+$NetBSD: md5,v 1.4 2000/07/14 08:53:14 rh Exp $
-MD5 (GD-1.22.tar.gz) = 411854487a5e8e3f722ecf7aadf5f9b3
+MD5 (GD-1.30.tar.gz) = 81e422fb2d4839b6be7fc39f492ffbf1
diff --git a/graphics/p5-GD/files/patch-sum b/graphics/p5-GD/files/patch-sum
index c67999dd58c..a14e96c40e2 100644
--- a/graphics/p5-GD/files/patch-sum
+++ b/graphics/p5-GD/files/patch-sum
@@ -1,3 +1,3 @@
-$NetBSD: patch-sum,v 1.1 1999/11/01 03:32:56 jlam Exp $
+$NetBSD: patch-sum,v 1.2 2000/07/14 08:53:14 rh Exp $
-MD5 (patch-aa) = 610f9595a47565d5eafb8949040114d8
+MD5 (patch-aa) = 58d695fe0562fd592135baba66edf5f1
diff --git a/graphics/p5-GD/patches/patch-aa b/graphics/p5-GD/patches/patch-aa
index cc79eebaf9a..4f752249f56 100644
--- a/graphics/p5-GD/patches/patch-aa
+++ b/graphics/p5-GD/patches/patch-aa
@@ -1,13 +1,26 @@
-$NetBSD: patch-aa,v 1.1 1999/11/01 03:32:57 jlam Exp $
+$NetBSD: patch-aa,v 1.2 2000/07/14 08:53:14 rh Exp $
---- Makefile.PL.orig Thu Sep 30 11:45:48 1999
-+++ Makefile.PL Sun Oct 31 19:42:23 1999
-@@ -8,7 +8,7 @@
- my @extrasearch = qw( -L/usr/lib/X11 -L/usr/X11R6/lib -L/usr/X11/lib);
-
- my @extralibs;
--push @extralibs, '-lgd','-lz','-lpng','-lttf';
-+push @extralibs, '-lgd','-lz','-lpng','-lttf','-lintl';
- push @extralibs, "-lm" unless $^O eq 'MSWin32';
- push @extralibs,@extrasearch,'-lX11','-lXpm';
+--- Makefile.PL.orig Mon Jul 10 22:07:22 2000
++++ Makefile.PL Mon Jul 10 22:12:09 2000
+@@ -5,14 +5,17 @@
+ # =====> PATHS: CHECK AND ADJUST <=====
+ my @INC = qw(-I/usr/local/include -I/usr/local/include/gd);
+ my @LIBPATH = qw(-L/usr/lib/X11 -L/usr/X11R6/lib -L/usr/X11/lib -L/usr/local/lib );
+-my @LIBS = qw(-lgd -lpng -lz);
++my @LIBS = qw(-lgd -lpng -lz -lintl);
+
+ # 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 $TTF = lc prompt('Build FreeType support?','y') eq 'y';
+-my $XPM = $^O !~ /^freebsd|MSWin32$/ && lc prompt('Build XPM support?','y') eq 'y';
++#my $JPEG = lc prompt('Build JPEG support?','y') eq 'y';
++$JPEG = 1;
++#my $TTF = lc prompt('Build FreeType support?','y') eq 'y';
++$TTF = 1;
++#my $XPM = $^O !~ /^freebsd|MSWin32$/ && lc prompt('Build XPM support?','y') eq 'y';
++$XPM = 1;
+
+ my $FCGI = 0; # set to 1 to build compatability with fastCGI