Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jun 2006 23:52:25 -0600 (MDT)
From:      "Aaron Dalton" <aaron@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        ls@gambit.com.ru
Subject:   ports/99010: [PATCH] graphics/p5-GIFgraph: update to 1.20
Message-ID:  <200606160552.k5G5qPDY080408@moondance.itsy-bitsy.net>
Resent-Message-ID: <200606160600.k5G60d0O070062@freefall.freebsd.org>

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

>Number:         99010
>Category:       ports
>Synopsis:       [PATCH] graphics/p5-GIFgraph: update to 1.20
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 16 06:00:38 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Aaron Dalton
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:
System: FreeBSD moondance.itsy-bitsy.net 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May  8 10:21:06 UTC
>Description:
- Update to 1.20
- Restrict to Perl 5.8+ due to new dependency upon graphics/p5-GD-Graph
- Mark as deprecated as per vendor and expire in the new year
- Remove now-unnecessary patch

Removed file(s):
- files/patch-aa

Port maintainer (ls@gambit.com.ru) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-GIFgraph-1.20.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/graphics/GIFgraph/Makefile,v
retrieving revision 1.12
diff -u -u -r1.12 Makefile
--- Makefile	13 Nov 2003 14:45:06 -0000	1.12
+++ Makefile	16 Jun 2006 05:51:22 -0000
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	GIFgraph
-PORTVERSION=	1.10
-PORTREVISION=	2
+PORTVERSION=	1.20
 CATEGORIES=	graphics perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	GIFgraph
@@ -19,11 +18,20 @@
 
 RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD
 
+DEPRECATED=	This module is simply a wrapper around GD::Graph and is deprecated.  One should simply use graphics/p5-GD-Graph
+EXPIRATION_DATE=	2007-01-01
+
 PERL_CONFIGURE=	YES
 
-MAN3=		GIFgraph.3 GIFgraph::colour.3
+MAN3=		GIFgraph.3
 
 post-patch:
 	${FIND} ${WRKSRC} -name '*.orig' -delete
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800 # inherited from graphics/p5-GD-Graph
+IGNORE=	requires at least Perl 5.8.  Please install lang/perl.58 and try again
+.endif
+
+.include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/graphics/GIFgraph/distinfo,v
retrieving revision 1.4
diff -u -u -r1.4 distinfo
--- distinfo	22 Jan 2006 12:34:42 -0000	1.4
+++ distinfo	16 Jun 2006 05:51:22 -0000
@@ -1,3 +1,3 @@
-MD5 (GIFgraph-1.10.tar.gz) = 1bba4331bc82dd9e669a4dee592e5f02
-SHA256 (GIFgraph-1.10.tar.gz) = 58518c0142588ca6ec6747822f543b3e9701b49935d2119d084e6b59ae1a04a6
-SIZE (GIFgraph-1.10.tar.gz) = 109925
+MD5 (GIFgraph-1.20.tar.gz) = b4171f7d88c01acb0df5c5d515b24714
+SHA256 (GIFgraph-1.20.tar.gz) = de97b948d3b6c0b4380ff0bd0c59784741c89f87e486988ac62b18eac8ccc823
+SIZE (GIFgraph-1.20.tar.gz) = 29434
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/graphics/GIFgraph/pkg-plist,v
retrieving revision 1.4
diff -u -u -r1.4 pkg-plist
--- pkg-plist	24 Oct 2003 12:02:26 -0000	1.4
+++ pkg-plist	16 Jun 2006 05:51:22 -0000
@@ -1,14 +1,13 @@
-%%SITE_PERL%%/GIFgraph/pie.pm
-%%SITE_PERL%%/GIFgraph/utils.pm
+%%SITE_PERL%%/GIFgraph.pm
+%%SITE_PERL%%/GIFgraph/Convert.pm
+%%SITE_PERL%%/GIFgraph/area.pm
 %%SITE_PERL%%/GIFgraph/axestype.pm
-%%SITE_PERL%%/GIFgraph/colour.pm
 %%SITE_PERL%%/GIFgraph/bars.pm
-%%SITE_PERL%%/GIFgraph/linespoints.pm
-%%SITE_PERL%%/GIFgraph/area.pm
 %%SITE_PERL%%/GIFgraph/lines.pm
+%%SITE_PERL%%/GIFgraph/linespoints.pm
 %%SITE_PERL%%/GIFgraph/mixed.pm
+%%SITE_PERL%%/GIFgraph/pie.pm
 %%SITE_PERL%%/GIFgraph/points.pm
-%%SITE_PERL%%/GIFgraph.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/GIFgraph/.packlist
 @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/GIFgraph
 @dirrm %%SITE_PERL%%/GIFgraph
Index: files/patch-aa
===================================================================
RCS file: files/patch-aa
diff -N files/patch-aa
--- files/patch-aa	27 Jan 2001 15:52:40 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,42 +0,0 @@
---- GIFgraph./axestype.pm	Wed Aug 26 03:37:14 1998
-+++ GIFgraph/axestype.pm	Tue Jan 23 19:21:04 2001
-@@ -116,7 +116,7 @@
- 		$self->draw_data($self->{graph}, $data);
- 		$self->draw_legend($self->{graph});
- 
--		return $self->{graph}->gif
-+		return $self->{graph}->png
- 	}
- 
- 	sub set_x_label_font($) # (fontname)
---- GIFgraph./pie.pm	Wed Aug 26 03:28:51 1998
-+++ GIFgraph/pie.pm	Tue Jan 23 19:23:09 2001
-@@ -53,7 +53,7 @@
- 		$self->draw_pie($self->{graph});
- 		$self->draw_data($data, $self->{graph});
- 
--		return $self->{graph}->gif;
-+		return $self->{graph}->png;
- 	}
-  
- 	sub set_label_font($) # (fontname)
---- GIFgraph.pm.	Wed Aug 26 03:28:48 1998
-+++ GIFgraph.pm	Tue Jan 23 19:31:49 2001
-@@ -373,7 +373,7 @@
- 
-         open(GIFLOGO, $self->{logo}) || return;
- 		binmode(GIFLOGO) if ($GIFgraph::needs_binmode);
--        unless ( $glogo = newFromGif GD::Image(\*GIFLOGO) ) 
-+        unless ( $glogo = newFromPng GD::Image(\*GIFLOGO) ) 
- 		{
-             warn "Problems reading $self->{logo}"; 
- 			close(GIFLOGO); 
-@@ -465,7 +465,7 @@
- 	{
-         my $s = shift;
- 
--        return $s->{graph}->gif;
-+        return $s->{graph}->png;
-     }
- 
- } # End of package GIFgraph
--- p5-GIFgraph-1.20.patch ends here ---

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



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