%general-entities; ]> $LastChangedBy$ $Date$ libpng-&libpng-version; Libpng 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. &lfs70_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &libpng-md5sum; Download size: &libpng-size; Estimated disk space required: &libpng-buildsize; Estimated build time: &libpng-time; Additional Downloads Optional patch to include animated png functionality in libpng : The patch is required if you want to use the system libpng in Firefox. User Notes: Installation of libpng If you want to patch libpng to support apng files, apply the patch: gzip -cd ../libpng-&libpng-version;-apng.patch.gz | patch -p1 && awk '/10[0-2][0-9],/{ gsub(/,png/, ", png") gsub(/PNG_EXPORT./, "") gsub(/,/, "") print " " $3 " @" $1 }' png.h >> scripts/symbols.def && sed -i 's#ORDINAL(233)#ORDINAL(1020)#' png.h && sed -i 's#"error"#"ignore"#' scripts/checksym.awk && 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 /usr/share/doc/libpng-&libpng-version; && cp README libpng-manual.txt /usr/share/doc/libpng-&libpng-version; Command Explanations awk '/10[0-2][0-9] ..., sed -i 's#ORDINAL ... and sed -i 's#"error" ...: These commands massage the test suite to accept the animated png functions. : This option prevents it compiling the static archive versions of the libraries. Contents Installed Programs Installed Libraries Installed Directories libpng-config and libpng15-config libpng.so and libpng15.so /usr/include/libpng15 and /usr/share/doc/libpng-&libpng-version; Short Descriptions libpng-config is a symlink to libpng15-config. libpng-config libpng15-config provides configuration information for libpng. libpng15-config libpng.so and libpng15.so contain routines used to create and manipulate PNG format graphics files. libpng15.so