Introduction to libpng
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.
Note
Development versions of BLFS may not build or run
some packages properly if LFS or dependencies have been updated
since the most recent stable versions of the books.
Package Information
Additional Downloads
Installation of libpng
If you want to patch libpng to support apng files, apply it here:
gzip -cd ../libpng-1.6.40-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 root
user:
make install &&
mkdir -v /usr/share/doc/libpng-1.6.40 &&
cp -v README libpng-manual.txt /usr/share/doc/libpng-1.6.40