Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Dec 2008 13:22:34 -0500
From:      Coleman Kane <cokane@FreeBSD.org>
To:        freebsd-ports@FreeBSD.org
Cc:        ache@FreeBSD.org
Subject:   APNG patch for graphics/png port
Message-ID:  <1229278954.1718.10.camel@localhost>

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

--=-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

LS0tIGdyYXBoaWNzL3BuZy9NYWtlZmlsZQ0KKysrIGdyYXBoaWNzL3BuZy9NYWtlZmlsZQ0KQEAg
LTcsNiArNyw3IEBADQogDQogUE9SVE5BTUU9CXBuZw0KIFBPUlRWRVJTSU9OPQkxLjIuMzMNCitQ
T1JUUkVWSVNJT049CTENCiBDQVRFR09SSUVTPQlncmFwaGljcw0KIE1BU1RFUl9TSVRFUz0JJHtN
QVNURVJfU0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A9IGZi
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--




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