ports/146229: [patch] graphics/png: APNG support
Anonymous
swell.k at gmail.com
Sun May 2 08:10:09 UTC 2010
>Number: 146229
>Category: ports
>Synopsis: [patch] graphics/png: APNG support
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun May 02 08:10:07 UTC 2010
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list