Closed
Bug 551438
Opened 15 years ago
Closed 15 years ago
Require system libpng to be at version 1.4.1 or later
Categories
(Core :: Graphics: ImageLib, defect)
Core
Graphics: ImageLib
Tracking
()
RESOLVED
FIXED
People
(Reporter: glennrp+bmo, Assigned: glennrp+bmo)
References
Details
Attachments
(1 file)
7.00 KB,
patch
|
joe
:
review+
|
Details | Diff | Splinter Review |
Now that libpng-1.4.1 has been checked in to trunk (bug #544747), we should also require that if a system libpng is being used, that should also be at version 1.4.1 or later. This will permit us to simplify nsPNGDecoder.cpp.
Assignee | ||
Comment 1•15 years ago
|
||
Tryserver tells me that the current nsPNGDecoder.cpp doesn't work with libpng-1.4.1 as the system library because of a typo: png_set_user_chunk_malloc_max() should be
png_set_chunk_malloc_max(). I'll upload a patch shortly, as soon
as the Tryserver is done.
Severity: minor → major
Assignee | ||
Comment 2•15 years ago
|
||
Tryserver is failing four of the png-writing unit tests when I run with system libpng-1.4.1 (actually the embedded one with "include mozpngconf.h" commented out of pngconf.h).
Assignee | ||
Comment 3•15 years ago
|
||
Fixes png_set_chunk_malloc_max() typo in nsPNGDecoder.cpp and requires libpng-1.4.0 in configure.in
Attachment #432167 -
Flags: review?(joe)
Assignee | ||
Comment 4•15 years ago
|
||
Tryserver builds with the v00 patch are at
http://build.mozilla.org/tryserver-builds/glennrp@gmail.com-v00e-551438-12March-embedded-1.4.1
Also, tryserver builds with "#include mozpngconf.h" commented out of pngconf.h to simulate using the v00 patch with the system libpng-1.4.1 are at
http://build.mozilla.org/tryserver-builds/glennrp@gmail.com-v00f-551438-12March-system-1.4.1
Tbere are still a few sporadic unittest failures but they seem to be unrelated to whether this patch is applied or not. I can't reproduce the failures I reported in comment #2.
Updated•15 years ago
|
Attachment #432167 -
Flags: review?(joe) → review+
Assignee | ||
Updated•15 years ago
|
Keywords: checkin-needed
Comment 6•15 years ago
|
||
(In reply to comment #3)
> Created an attachment (id=432167) [details]
> v00: require system libpng to be version 1.4.1 or later
Pushed as: http://hg.mozilla.org/mozilla-central/rev/f5d06bf2b77f
You need to log in
before you can comment on or make changes to this bug.
Description
•