Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Apr 2002 15:12:17 +0900 (JST)
From:      Kimura Fuyuki <fuyuki@mj.0038.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/37365: Update port: graphics/p5-GD to 1.38
Message-ID:  <20020423061217.53AA0992F3@sz.homedns.org>

next in thread | raw e-mail | index | archive | help

>Number:         37365
>Category:       ports
>Synopsis:       Update port: graphics/p5-GD to 1.38
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 22 23:20:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Kimura Fuyuki
>Release:        FreeBSD 4.5-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD sz.homedns.org 4.5-RELEASE-p4 FreeBSD 4.5-RELEASE-p4 #11: Tue Apr 23 11:04:54 JST 2002 root@sz.homedns.org:/sack/obj/usr/src/sys/NS i386


	
>Description:
- Update to 1.38
- Now really works with freetype by s/HAVE_FREETYPE/HAVE_TTF/

Removed:
	files/patch-ab
	
>How-To-Repeat:
	
>Fix:
diff -urN --exclude=CVS /usr/ports/graphics/p5-GD/Makefile p5-GD/Makefile
--- /usr/ports/graphics/p5-GD/Makefile	Mon May 14 11:23:07 2001
+++ p5-GD/Makefile	Tue Apr 23 12:40:59 2002
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	GD
-PORTVERSION=	1.33
+PORTVERSION=	1.38
 CATEGORIES=	graphics perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	GD
diff -urN --exclude=CVS /usr/ports/graphics/p5-GD/distinfo p5-GD/distinfo
--- /usr/ports/graphics/p5-GD/distinfo	Mon May 14 11:23:08 2001
+++ p5-GD/distinfo	Tue Apr 23 12:41:33 2002
@@ -1 +1 @@
-MD5 (GD-1.33.tar.gz) = 48d9f13b2652a56a08a02ea5ed1aadf6
+MD5 (GD-1.38.tar.gz) = 89e238d9c9a3113a1b89e005921cd5c3
diff -urN --exclude=CVS /usr/ports/graphics/p5-GD/files/patch-aa p5-GD/files/patch-aa
--- /usr/ports/graphics/p5-GD/files/patch-aa	Mon May 14 11:23:08 2001
+++ p5-GD/files/patch-aa	Tue Apr 23 14:58:31 2002
@@ -1,7 +1,7 @@
 --- Makefile.PL.orig	Sat Aug  5 04:59:22 2000
 +++ Makefile.PL	Thu May 10 06:36:36 2001
-@@ -3,38 +3,17 @@
- warn "NOTICE: This module requires libgd 1.8.3 or higher (shared library version 4.X).\n";
+@@ -3,40 +3,17 @@
+ warn "NOTICE: This module requires libgd 1.8.4 or higher (shared library version 4.X).\n";
  
  # =====> PATHS: CHECK AND ADJUST <=====
 -my @INC     = qw(-I/usr/local/include -I/usr/local/include/gd); 
@@ -14,6 +14,7 @@
 -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 $GIF		= lc prompt('Build GIF support (for patched versions of gd)?','n') eq 'y';
 +my @INC     = qw(-I/usr/local/include -I/usr/local/include/gd -I/usr/local/include/freetype -I/usr/X11R6/include -I/usr/X11R6/include/X11); 
 +my @LIBPATH = qw(-L/usr/local/lib -L/usr/X11R6/lib);
 +my @LIBS    = qw(-lfreetype -ljpeg -lgd -lpng -lz);
@@ -25,9 +26,9 @@
 -
 -#### no user-serviceable parts below #####
 -
--push @LIBS,'-lttf' if $TTF;
+-push @LIBS,'-lfreetype' if $TTF;
 -push @LIBS,'-ljpeg' if $JPEG;
--push @LIBS, '-lm' unless $^O eq 'MSWin32';
+-push @LIBS,'-lm' unless $^O eq 'MSWin32';
 -
 -# FreeBSD 3.3 with libgd built from ports croaks if -lXpm is specified 
 -if ($^O ne 'freebsd' && $^O ne 'MSWin32') { 
@@ -40,7 +41,8 @@
 -$DEFINES    .= ' -DHAVE_JPEG' if $JPEG;
 -$DEFINES    .= ' -DHAVE_TTF'  if $TTF;
 -$DEFINES    .= ' -DHAVE_XPM'  if $XPM;
-+my $DEFINES = '-DHAVE_JPEG -DHAVE_FREETYPE';
+-$DEFINES    .= ' -DHAVE_GIF'  if $GIF;
++my $DEFINES = '-DHAVE_JPEG -DHAVE_TTF';
 +$DEFINES    .= ' -DHAVE_XPM' unless $^O eq 'MSWin32';
  $DEFINES    .= ' -DFCGI'      if $FCGI;
  
diff -urN --exclude=CVS /usr/ports/graphics/p5-GD/files/patch-ab p5-GD/files/patch-ab
--- /usr/ports/graphics/p5-GD/files/patch-ab	Mon Mar 19 18:55:45 2001
+++ p5-GD/files/patch-ab	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- GD.xs.orig	Thu Aug 24 18:41:47 2000
-+++ GD.xs	Mon Mar 19 12:45:05 2001
-@@ -1278,7 +1278,7 @@
- 	    img = NULL;
- 	  }
- 
--	  err = gdImageStringTTF(img,brect,fgcolor,fontname,ptsize,angle,x,y,string);
-+	  err = gdImageStringFT(img,brect,fgcolor,fontname,ptsize,angle,x,y,string);
- 	  if (err) {
- 	    errormsg = perl_get_sv("@",0);
- 	    if (errormsg != NULL)

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020423061217.53AA0992F3>