From owner-freebsd-ports@FreeBSD.ORG Sun Dec 14 18:37:50 2008 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA76E106564A for ; Sun, 14 Dec 2008 18:37:50 +0000 (UTC) (envelope-from cokane@FreeBSD.org) Received: from mail-out1.fuse.net (mail-out1.fuse.net [216.68.8.175]) by mx1.freebsd.org (Postfix) with ESMTP id 7543E8FC1D for ; Sun, 14 Dec 2008 18:37:50 +0000 (UTC) (envelope-from cokane@FreeBSD.org) X-CNFS-Analysis: v=1.0 c=1 a=LkYvsgB9u1MH7Ao0BLhsLg==:17 a=pEQ3txdHAAAA:8 a=pQs5aej7AAAA:8 a=wVd1Pd4WHQaKJiFIURAA:9 a=gkZLtg9oA5PiTRHdWFoRl4QeklcA:4 a=b8hG5vVbyAkA:10 a=6I5d2MoRAAAA:8 a=bGlDzP0Wxldv40uae34A:9 a=1XWK7vqhaizSdOKMMaw2OgOL5fgA:4 a=rPt6xJ-oxjAA:10 a=6IGzb-4TMrioJmyKabcA:9 a=3lwHw5OjcscDs3hTdCSDuupHEKgA:4 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Received: from [74.215.227.9] ([74.215.227.9:50479] helo=discordia) by mail-out1.fuse.net (ecelerity 2.1.1.22 r(17669)) with ESMTP id 35/EB-06843-9FE45494 for ; Sun, 14 Dec 2008 13:22:49 -0500 Received: by discordia (Postfix, from userid 103) id 1DCAC35A7D4; Sun, 14 Dec 2008 13:22:49 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.1.8-gr1 (2007-02-13) on discordia X-Spam-Level: X-Spam-Status: No, score=-3.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.8-gr1 Received: from [172.20.1.3] (erwin.int.cokane.org [172.20.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by discordia (Postfix) with ESMTP id 1484E1DB2F9; Sun, 14 Dec 2008 13:22:41 -0500 (EST) From: Coleman Kane To: freebsd-ports@FreeBSD.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Qf1NV079w31ihXE//UMq" Organization: FreeBSD Project Date: Sun, 14 Dec 2008 13:22:34 -0500 Message-Id: <1229278954.1718.10.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Cc: ache@FreeBSD.org Subject: APNG patch for graphics/png port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Dec 2008 18:37:50 -0000 --=-Qf1NV079w31ihXE//UMq Content-Type: multipart/mixed; boundary="=-8SCu+u9wH6vx9++UUqmL" --=-8SCu+u9wH6vx9++UUqmL Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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=3D/usr/local in my .mozconfig. I'd like to see some other testers, and get a comment from the graphics/png maintainer. --=20 Coleman Kane --=-8SCu+u9wH6vx9++UUqmL Content-Disposition: attachment; filename=graphics_png-apng.patch Content-Type: text/x-patch; name=graphics_png-apng.patch; charset=UTF-8 Content-Transfer-Encoding: base64 LS0tIGdyYXBoaWNzL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bmctMS4yLjMzLnRhci5iejIpID0gYWYzYTgxNTBmZWRhZjNlYTU2MWMx MGM1OWZhODI4ZjcxZjczMmFkZTA2ZTNmM2QxM2ZhNDUzNjI5YzQ3MDgwMA0KIFNJWkUgKGxpYnBu Zy0xLjIuMzMudGFyLmJ6MikgPSA2NTE1NTUNCitNRDUgKGxpYnBuZy1hcG5nLnBhdGNoKSA9IGZi MTY5NmQ5ZTE2ZDc4MTNhMWU3NDEwYWQxNjQ5NjEyDQorU0hBMjU2IChsaWJwbmctYXBuZy5wYXRj aCkgPSBmNDA2ZDc4OTlhZWFjMmQzZTYzNGIxNGI5OGRiYjUzZjJiNjcxMjY1ZDcxMWY1NjRlYWYz ODBhZTM3MDQ4ZmJjDQorU0laRSAobGlicG5nLWFwbmcucGF0Y2gpID0gNTQ3MTMNCg== --=-8SCu+u9wH6vx9++UUqmL-- --=-Qf1NV079w31ihXE//UMq Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAklFTuUACgkQcMSxQcXat5dD/QCbB/F4EnGVQYF2/5R6U8gehH2Z W+gAnRCvuUnP+bqGcdNSbbSrx1CzGgdI =zpup -----END PGP SIGNATURE----- --=-Qf1NV079w31ihXE//UMq--