From swell.k@gmail.com  Sun May  2 08:02:37 2010
Return-Path: <swell.k@gmail.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id B4BBB106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  2 May 2010 08:02:37 +0000 (UTC)
	(envelope-from swell.k@gmail.com)
Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157])
	by mx1.freebsd.org (Postfix) with ESMTP id 1218C8FC08
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  2 May 2010 08:02:36 +0000 (UTC)
Received: by fg-out-1718.google.com with SMTP id 22so317425fge.13
        for <FreeBSD-gnats-submit@freebsd.org>; Sun, 02 May 2010 01:02:29 -0700 (PDT)
Received: by 10.87.62.28 with SMTP id p28mr7575642fgk.16.1272787349149;
        Sun, 02 May 2010 01:02:29 -0700 (PDT)
Received: from localhost (95-26-245-70.broadband.corbina.ru [95.26.245.70])
        by mx.google.com with ESMTPS id e11sm3998364fga.8.2010.05.02.01.02.28
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Sun, 02 May 2010 01:02:28 -0700 (PDT)
Message-Id: <86pr1e4ttm.fsf@gmail.com>
Date: Sun, 02 May 2010 12:00:05 +0400
From: Anonymous <swell.k@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [patch] graphics/png: APNG support

>Number:         146229
>Category:       ports
>Synopsis:       [patch] graphics/png: APNG support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dinoex
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 02 08:10:07 UTC 2010
>Closed-Date:    Thu May 06 08:46:53 CEST 2010
>Last-Modified:  Thu May 06 08:46:53 CEST 2010
>Originator:     Anonymous
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
>Description:
Animated PNG. Useful for building www/firefox to use system png, not a bundled 1.2.35.
>How-To-Repeat:
>Fix:
--- a.diff begins here ---
Index: graphics/png/Makefile
===================================================================
RCS file: /a/.cvsup/ports/graphics/png/Makefile,v
retrieving revision 1.106
diff -u -p -r1.106 Makefile
--- graphics/png/Makefile	29 Mar 2010 17:00:45 -0000	1.106
+++ graphics/png/Makefile	2 May 2010 07:49:00 -0000
@@ -7,10 +7,13 @@
 
 PORTNAME=	png
 PORTVERSION=	1.4.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics
-MASTER_SITES=	SF/lib${PORTNAME}/01-lib${PORTNAME}-master/${PORTVERSION}
+MASTER_SITES=	SF/lib${PORTNAME}/01-lib${PORTNAME}-master/${PORTVERSION} \
+		http://littlesvr.ca/apng/diff/:apng
 DISTNAME=	lib${PORTNAME}-${PORTVERSION}
+DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
+		${DISTNAME}-apng.patch:apng
 
 MAINTAINER=	dinoex@FreeBSD.org
 COMMENT=	Library for manipulating PNG images
@@ -30,9 +33,17 @@ MAN3=		libpng.3 libpngpf.3
 MAN5=		png.5
 MANCOMPRESSED=	maybe
 
+OPTIONS=	APNG "Animated PNG support" Off
+
 .include <bsd.port.pre.mk>
 
+.if defined(WITH_APNG)
+USE_DOS2UNIX=	${DISTNAME}-apng.patch
+EXTRA_PATCHES=	${WRKSRC}/${DISTNAME}-apng.patch
+.endif
+
 post-extract:
+	@${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}-apng.patch ${WRKSRC}
 # Please don't delete the following line - this link used by ghostscript* ports
 	@${LN} -sf ${WRKSRC} ${WRKDIR}/libpng
 
Index: graphics/png/distinfo
===================================================================
RCS file: /a/.cvsup/ports/graphics/png/distinfo,v
retrieving revision 1.53
diff -u -p -r1.53 distinfo
--- graphics/png/distinfo	28 Mar 2010 06:37:33 -0000	1.53
+++ graphics/png/distinfo	2 May 2010 07:16:08 -0000
@@ -1,3 +1,6 @@
 MD5 (libpng-1.4.1.tar.bz2) = e1767bf290ded9fda9ee05bd23ae4cff
 SHA256 (libpng-1.4.1.tar.bz2) = bc03009c62c07fc08d1d91ba130c39dc99bef68b533cad4e846835d0bfc4ee5e
 SIZE (libpng-1.4.1.tar.bz2) = 643261
+MD5 (libpng-1.4.1-apng.patch) = f7cfe836d963564bb658eeec610d6086
+SHA256 (libpng-1.4.1-apng.patch) = 59d7feed7fd87a77cbd395f63b37759007e8c7cc21a21e8c14e0811a6aa9ed91
+SIZE (libpng-1.4.1-apng.patch) = 54364
--- a.diff ends here ---
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->dinoex 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun May 2 08:10:33 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146229 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/146229: commit references a PR
Date: Wed,  5 May 2010 15:19:01 +0000 (UTC)

 dinoex      2010-05-05 15:18:52 UTC
 
   FreeBSD ports repository
 
   Modified files:
     graphics/png         Makefile distinfo 
   Log:
   - new option WITH_APNG
   PR:             146229
   
   Revision  Changes    Path
   1.107     +15 -0     ports/graphics/png/Makefile
   1.54      +3 -0      ports/graphics/png/distinfo
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: dinoex 
State-Changed-When: Thu May 6 08:46:42 CEST 2010 
State-Changed-Why:  
committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146229 
>Unformatted:
