The libpng package contains libraries used by other programs for reading and writing PNG files. The PNG format was designed as a replacement for GIF and, to a lesser extent, TIFF, with many improvements and extensions and lack of patent problems.
This package is known to build and work properly using an LFS-7.3 platform.
Download (HTTP): http://downloads.sourceforge.net/libpng/libpng-1.6.2.tar.xz
Download MD5 sum: 9d838f6fca9948a9f360a0cc1b516d5f
Download size: 820 KB
Estimated disk space required: 13 MB
Estimated build time: 0.1 SBU
Optional patch to include animated png functionality in libpng (required to use the system libpng in Firefox): http://downloads.sourceforge.net/libpng-apng/libpng-1.6.2-apng.patch.gz
If you want to patch libpng to support apng files, apply the patch:
gzip -cd ../libpng-1.6.2-apng.patch.gz | patch -p1
Install libpng by running the following commands:
./configure --prefix=/usr --disable-static && make
To test the results, issue: make check.
Now, as the
make install && mkdir -v /usr/share/doc/libpng-1.6.2 && cp -v README libpng-manual.txt /usr/share/doc/libpng-1.6.2
switch prevents installation of static versions of the libraries.
Last updated on 2013-05-05 18:02:40 +0000