Opened 13 years ago

Closed 13 years ago

Last modified 10 years ago

#3209 closed task (fixed)

libpng-1.4.4

Reported by: thomas Owned by: Randy McMurchy
Priority: normal Milestone:
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

libpgn could be updated to 1.4.4. I went thru LFS/BLFS to X (7.6-RC1 btw) and the only issue was at Xulrunner. The apng-patch is available at http://littlesvr.ca/apng/diff/libpng-1.4.4-apng.patch, and at XulRunner i need to add

--- mozilla-1.9.2/modules/libpr0n/encoders/png/nsPNGEncoder.cpp.orig    2010-11-30 08:29:56.000000000 +0100
+++ mozilla-1.9.2/modules/libpr0n/encoders/png/nsPNGEncoder.cpp 2010-11-30 08:31:13.000000000 +0100
@@ -45,6 +45,10 @@
 #include "nsString.h"
 #include "nsStreamUtils.h"

+#ifndef png_voidp_NULL
+#define png_voidp_NULL   ((png_voidp)NULL)
+#endif
+
 // Input streams that do not implement nsIAsyncInputStream should be threadsafe
 // so that they may be used with nsIInputStreamPump and nsIInputStreamChannel,
 // which read such a stream on a background thread.

Everything else went fine.

Change History (4)

comment:1 by Randy McMurchy, 13 years ago

Owner: changed from blfs-book@… to Randy McMurchy
Status: newassigned

I've been using 1.4.4 on an lfs-svn-20101029 platform for a long time now, and have not had any issues. I did not have any problems (no seds or patches) installing Xulrunner-1.9.2.13.

There is now a version of libpng, 1.5.0. There must be some reason to change the minor version from 1.4.x to 1.5.x. I have not looked at ChangeLog or anything.

I'll probably update BLFS to 1.4.4 for the release, and we can update to 1.5.x after. If anyone has other suggestions, bring 'em on.

in reply to:  1 comment:2 by willimm, 13 years ago

Replying to randy@…:

There is now a version of libpng, 1.5.0. There must be some reason to change the minor version from 1.4.x to 1.5.x. I have not looked at ChangeLog or anything.

Well, it does hide structure members from public view (probably for encapuslation). I found this out when I was building TeXLive with libpng 1.5.1.

For the curious, the patch to fix the TeXLive issues is here:

http://www.tug.org/pipermail/tex-k/2011-January/002227.html

Also of note, the manual file is now called libpng-manual.txt, not libpng-<version>.txt.

Additionally, the 1.5.0 tree started with this commit on Feb. 7, 2010 (a little more than a year ago):

Moved declaration of png_struct into private pngstruct.h and png_info
    into pnginfo.h

comment:3 by bdubbs@…, 13 years ago

Resolution: fixed
Status: assignedclosed

comment:4 by bdubbs@…, 10 years ago

Milestone: 6.7

Milestone 6.7 deleted

Note: See TracTickets for help on using tickets.