Discussion:
[png-mng-implement] libpng-1.6.30 is available
Glenn Randers-Pehrson
2017-06-28 19:20:49 UTC
Permalink
libpng-1.6.30 is available from
https://ftp-osl.osuosl.org/pub/libpng/src/libpng16
ftp://ftp-osl.osuosl.org/pub/libpng/src/libpng16
http://libpng.download/src/libpng16
and from
http://libpng.sf.net

Changes since the last public release (1.6.29):

Added missing "$(CPPFLAGS)" to the compile line for c.pic.o in
makefile.linux and makefile.solaris-x86 (Cosmin).
Revised documentation of png_get_error_ptr() in the libpng manual.
Silence clang -Wcomma and const drop warnings (Viktor Szakats).
Update Sourceforge URLs in documentation (https instead of http).
Document need to check for integer overflow when allocating a pixel
buffer for multiple rows in contrib/gregbook, contrib/pngminus,
example.c, and in the manual (suggested by Jaeseung Choi). This
is similar to the bug reported against pngquant in CVE-2016-5735.
Removed reference to the obsolete PNG_SAFE_LIMITS macro in the documentation.
Check for integer overflow in contrib/visupng and contrib/tools/genpng.
Do not double evaluate CMAKE_SYSTEM_PROCESSOR in CMakeLists.txt.
Test CMAKE_HOST_WIN32 instead of WIN32 in CMakeLists.txt.
Fix some URL in documentation.
Avoid writing an empty IDAT when the last IDAT exactly fills the
compression buffer (bug report by Brian Baird). This bug was
introduced in libpng-1.6.0.
Update copyright year in pnglibconf.h, make ltmain.sh executable.
Add a reference to the libpng.download site in README.

Glenn
Michael Felt
2017-06-29 21:17:20 UTC
Permalink
Post by Glenn Randers-Pehrson
libpng-1.6.30 is available from
https://ftp-osl.osuosl.org/pub/libpng/src/libpng16
ftp://ftp-osl.osuosl.org/pub/libpng/src/libpng16
http://libpng.download/src/libpng16
and from
http://libpng.sf.net
Added missing "$(CPPFLAGS)" to the compile line for c.pic.o in
makefile.linux and makefile.solaris-x86 (Cosmin).
Revised documentation of png_get_error_ptr() in the libpng manual.
Silence clang -Wcomma and const drop warnings (Viktor Szakats).
Update Sourceforge URLs in documentation (https instead of http).
Document need to check for integer overflow when allocating a pixel
buffer for multiple rows in contrib/gregbook, contrib/pngminus,
example.c, and in the manual (suggested by Jaeseung Choi). This
is similar to the bug reported against pngquant in CVE-2016-5735.
Removed reference to the obsolete PNG_SAFE_LIMITS macro in the documentation.
Check for integer overflow in contrib/visupng and contrib/tools/genpng.
Do not double evaluate CMAKE_SYSTEM_PROCESSOR in CMakeLists.txt.
Test CMAKE_HOST_WIN32 instead of WIN32 in CMakeLists.txt.
Fix some URL in documentation.
Avoid writing an empty IDAT when the last IDAT exactly fills the
compression buffer (bug report by Brian Baird). This bug was
introduced in libpng-1.6.0.
Update copyright year in pnglibconf.h, make ltmain.sh executable.
Add a reference to the libpng.download site in README.
Glenn
Looking good - However, the make install seems to run one part with a +x
output.

This is AIX and xlc (not gcc).

***@x064:[/data/prj/aixtools/libpng/libpng-1.6.30]buildaix
VRMF
xlc is /usr/vacpp/bin/xlc
+ CPPFLAGS="-I/opt/include -I/opt/buildaix/include"
CFLAGS="-I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5
-I/opt/buildaix/includes"\
../src/libpng-1.6.30/configure\
--prefix=/opt \
--sysconfdir=/var/libpng/etc\
--sharedstatedir=/var/libpng/com\
--localstatedir=/var/libpng\
--mandir=/usr/share/man\
--infodir=/opt/share/info/libpng \
Post by Glenn Randers-Pehrson
.buildaix/configure.out
configure: WARNING: *** You have not enabled versioned symbols.
+ /opt/bin/make > .buildaix/make.out
"../src/libpng-1.6.30/mips/../pngpriv.h", line 38.9: 1506-236 (W) Macro
name _POSIX_SOURCE has been redefined.
"../src/libpng-1.6.30/mips/../pngpriv.h", line 38.9: 1506-358 (I)
"_POSIX_SOURCE" is defined on line 145 of /usr/include/standards.h.
"../src/libpng-1.6.30/powerpc/../pngpriv.h", line 38.9: 1506-236 (W)
Macro name _POSIX_SOURCE has been redefined.
"../src/libpng-1.6.30/powerpc/../pngpriv.h", line 38.9: 1506-358 (I)
"_POSIX_SOURCE" is defined on line 145 of /usr/include/standards.h.
1086 1500-010: (W) WARNING in internal_error: Infinite loop.
Program may not stop.
2188 1500-010: (W) WARNING in set_store_for_read: Infinite loop.
Program may not stop.
4352 1500-010: (W) WARNING in make_size_image: Infinite loop.
Program may not stop.
4654 1500-010: (W) WARNING in make_error: Infinite loop. Program
may not stop.
4860 1500-010: (W) WARNING in perform_formatting_test: Infinite
loop. Program may not stop.
4124 1500-010: (W) WARNING in make_transform_image: Infinite
loop. Program may not stop.
1104 1500-010: (W) WARNING in store_error: Infinite loop. Program
may not stop.
11615 1500-010: (W) WARNING in signal_handler: Infinite loop.
Program may not stop.

+ /opt/bin/make install DESTDIR=/var/aixtools/aixtools/libpng/1.6.30.0 >
.buildaix/install.out
## the + lines are from make install
libtool: warning: remember to run 'libtool --finish /opt/lib'
libtool: warning: 'libpng16.la' has not been installed in '/opt/lib'
+ cd /var/aixtools/aixtools/libpng/1.6.30.0/opt/lib
+ rm -f libpng.a
+ test -f libpng16.a
+ ln -s libpng16.a libpng.a
+ rm -f libpng.dll.a
+ test -f libpng16.dll.a
+ rm -f libpng.so
+ test -f libpng16.so
+ rm -f libpng.so.16.30
+ test -f libpng16.so.16.30
+ rm -f libpng.la
+ test -f libpng16.la
+ ln -s libpng16.la libpng.la
+ rm -f libpng.sl
+ test -f libpng16.sl
+ rm -f libpng.dylib
+ test -f libpng16.dylib
+ cd /var/aixtools/aixtools/libpng/1.6.30.0/opt/bin
+ rm -f libpng-config
+ ln -s libpng16-config libpng-config
+ cd /var/aixtools/aixtools/libpng/1.6.30.0/opt/include
+ rm -f pnglibconf.h
+ ln -s libpng16/pnglibconf.h pnglibconf.h
+ rm -f png.h
+ ln -s libpng16/png.h png.h
+ rm -f pngconf.h
+ ln -s libpng16/pngconf.h pngconf.h
+ cd /var/aixtools/aixtools/libpng/1.6.30.0/opt/lib/pkgconfig
+ rm -f libpng.pc
+ ln -s libpng16.pc libpng.pc

# The + line below is my buildaix script
+ mkinstallp.ksh /var/aixtools/aixtools/libpng/1.6.30.0 >
.buildaix/mkinstallp.out
==============================
aixtools.libpng:aixtools.libpng.man.en_US:1.6.30.0::I:T:::::N:aixtools
libpng man pages::::0::
aixtools.libpng:aixtools.libpng.rte:1.6.30.0::I:T:::::N:aixtools libpng
29-Jun-2017::::0::
==============================
***@x064:[/data/prj/aixtools/libpng/libpng-1.6.30]

FYI: /usr/include/standards.h (AIX 5.3)
+142 #if (!defined (_XOPEN_SOURCE)) && (!defined (_POSIX_SOURCE))
&& (!defined (_ANSI_C_SOURCE))
+143 #define _XOPEN_SOURCE 600
+144 #define _XOPEN_SOURCE_EXTENDED 1
+145 #define _POSIX_SOURCE
+146 #ifndef _POSIX_C_SOURCE
+147 #define _POSIX_C_SOURCE 200112L
+148 #endif


32-bit mode
============================================================================
Testsuite summary for libpng 1.6.30
============================================================================
# TOTAL: 32
# PASS: 32

64-bit mode
============================================================================
Testsuite summary for libpng 1.6.30
============================================================================
# TOTAL: 32
# PASS: 32
Post by Glenn Randers-Pehrson
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
png-mng-implement mailing list
https://lists.sourceforge.net/lists/listinfo/png-mng-implement
Glenn Randers-Pehrson
2017-06-29 22:09:51 UTC
Permalink
Post by Michael Felt
Looking good - However, the make install seems to run one part with a +x
output.
This is AIX and xlc (not gcc).
[...]
"../src/libpng-1.6.30/mips/../pngpriv.h", line 38.9: 1506-236 (W) Macro name
_POSIX_SOURCE has been redefined.
"../src/libpng-1.6.30/mips/../pngpriv.h", line 38.9: 1506-358 (I)
"_POSIX_SOURCE" is defined on line 145 of /usr/include/standards.h.
"../src/libpng-1.6.30/powerpc/../pngpriv.h", line 38.9: 1506-236 (W) Macro
name _POSIX_SOURCE has been redefined.
"../src/libpng-1.6.30/powerpc/../pngpriv.h", line 38.9: 1506-358 (I)
"_POSIX_SOURCE" is defined on line 145 of /usr/include/standards.h.
[...]
Does it help to guard the definition of _POSIX_SOURCE in pngpriv.h
like this:

#ifndef _POSIX_SOURCE
# define _POSIX_SOURCE 1 /* Just the POSIX 1003.1 and C89 APIs */
#endif

Glenn

Continue reading on narkive:
Loading...