[tex-k] web2c vs. png-1.5

Peter Breitenlohner peb at mppmu.mpg.de
Mon Jan 31 11:46:10 CET 2011

On Sun, 30 Jan 2011, Thomas Klausner wrote:

> png-1.5 hides structure members from public view. For this reason,
> some code doesn't compile any more.
> The attached patches fix the problem.
> I wasn't sure how to fix the png_transformations part of the patch; I
> asked the png people and was told by a png developer, John Bowler,
> that the check as-is doesn't make sense. His full reply is available
> at http://sourceforge.net/mailarchive/message.php?msg_id=26908171

Hi Thomas,

your patch is now applied to TL SVN (r21237), together with some cleanup of
png-1.2 cruft.  Thanks for investigating the png_transformations part, that
kept me from removing the remaining `deprecated' warnings from png-1.4.

I think building pdftex with png-1.5 is by itself not a major problem,
because (1) the TL tree contains png-1.4 and (2) png-1.5 is a development
branch.  Building with png-1.5 is, however, very useful in order to avoid
the kind of problems we had right now with `png_info(img)->bit_depth' and
such, fields that are obsolete in 1.2, deprecated in 1.[34], and hidden in

For that reason it would be very nice if you could inform us about any new
warnings caused by 1.5 and patches in that direction would be apreciated
(provided they don't break building with 1.4).

Peter Breitenlohner <peb at mppmu.mpg.de>

More information about the tex-k mailing list