Hello, I recently played with building Thunderbird 3.0b1 from source (it works pretty well, btw). I was playing with some of the options to enable using the system versions of a number of libraries, rather than relying upon statically linking them into the project.
One thing that I noticed was the APNG patch from here: * http://littlesvr.ca/apng/. This seems to be expected by Thunderbird and is part of the latest source tree. Mozilla has been maintaining a format spec here: * https://wiki.mozilla.org/APNG_Specification Sadly the patch has lagged behind the latest releases of libpng. I merged the patch into the latest version (1.2.33) that we use, and have made an appropriate change to the port files of graphics/png. I think that APNG support from libpng may be useful in other software as well. I am attaching the patch, to apply in /usr/ports, for anyone to test. So far it doesn't seem to regress anything for me, and I can use thunderbird 3 with --with-system-png=/usr/local in my .mozconfig. I'd like to see some other testers, and get a comment from the graphics/png maintainer. -- Coleman Kane
--- graphics/png/Makefile +++ graphics/png/Makefile @@ -7,6 +7,7 @@ PORTNAME= png PORTVERSION= 1.2.33 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= lib${PORTNAME} @@ -34,8 +35,15 @@ MAN3= libpng.3 libpngpf.3 MAN5= png.5 MANCOMPRESSED= maybe +OPTIONS= APNG "Enable APNG Support" on + .include <bsd.port.pre.mk> +.if defined(WITH_APNG) +PATCH_SITES= http://people.FreeBSD.org/~cokane/patches/ +PATCHFILES+= libpng-apng.patch +.endif + post-extract: # Please don't delete the following line - this link used by ghostscript* ports @${LN} -sf ${WRKSRC} ${WRKDIR}/libpng --- graphics/png/distinfo +++ graphics/png/distinfo @@ -1,3 +1,6 @@ MD5 (libpng-1.2.33.tar.bz2) = 0532c28ba1b17ee2095ad50731c2c75c SHA256 (libpng-1.2.33.tar.bz2) = af3a8150fedaf3ea561c10c59fa828f71f732ade06e3f3d13fa453629c470800 SIZE (libpng-1.2.33.tar.bz2) = 651555 +MD5 (libpng-apng.patch) = fb1696d9e16d7813a1e7410ad1649612 +SHA256 (libpng-apng.patch) = f406d7899aeac2d3e634b14b98dbb53f2b671265d711f564eaf380ae37048fbc +SIZE (libpng-apng.patch) = 54713
signature.asc
Description: This is a digitally signed message part