Bug 703063

Summary: [RFE] Update to libpng 1.5.2
Product: [Fedora] Fedora Reporter: Jindrich Novy <jnovy>
Component: libpngAssignee: Tom Lane <tgl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: hhorak, pknirsch, tgl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-14 17:14:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jindrich Novy 2011-05-09 07:34:37 UTC
Description of problem:
Old version of libPNG prevents build of TeX Live 2011 because it uses PNG_FP_1 symbol which is used since 1.5.x and on:

texk/web2c/luatexdir/image/writepng.w:585:19: error: 'PNG_FP_1' undeclared (first use in this function)

Actual results:
Obsolete libpng.

Expected results:
Latest stable libpng

Additional info:
Note that libpng-1.5.2 was released 10th Apr 2011:
http://libpng.sourceforge.net/index.html

Comment 1 Tom Lane 2011-05-09 13:50:45 UTC
1.5 is not stable in my opinion, and even if it was, surely TeX ought to be compilable against libpng versions that are in the wild.  I think this is a TeX bug.

Comment 2 Jindrich Novy 2011-05-13 10:05:03 UTC
Reported this at TeX Live mailing list and it is now fixed in TeX Live upstream:

http://tug.org/pipermail/tex-live/2011-May/029040.html

In any case leaving this bug open as RFE. Thanks.

Comment 3 Tom Lane 2011-07-14 17:14:45 UTC

*** This bug has been marked as a duplicate of bug 609234 ***