# libpng/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. As of Fall 2017, updates for this package are made only under two conditions: (a) A corresponding "apng" patch is available (b) The updates won't break our own existing "libpng" patches in an uncorrectable manner #--------------------------------------------------------------------- 2. Presently, this package is based on "libpng" 1.6.37. The standard version of "libpng" 1.6.37 omits some legacy functions and/or access to some internal functions, and this breaks various programs. This distro's version of the package restores the following functions and /or access to the functions: png_check_sig png_read_data png_set_dither png_set_gray_1_2_4_to_8 This package also patches "png.h" to make it include as this is needed by some legacy packages. This package shouldn't be updated unless the associated patches can be made to work with newer releases. #--------------------------------------------------------------------- [buildtimes] 00.00 hours (or 000.28 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.01 hours (or 000.40 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.01 hours (or 000.53 minutes) - HP EliteBook 8560w 32GB RAM 00.02 hours (or 001.45 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] build = default license = See "license.txt" under installed tree tmpsize = 12M #--------------------------------------------------------------------- [depends] actools gawk grep sed zlib #--------------------------------------------------------------------- [configure] MANBASE=$PKGDIR_PROD/man mkdir -p $MANBASE bash ./configure \ --prefix=$PKGDIR_PROD \ --build=$LACARCHBUILD \ --host=$LACARCHHOST \ --disable-dependency-tracking \ --enable-shared=yes \ --enable-static=yes \ --mandir=$MANBASE \ --with-libpng-compat #--------------------------------------------------------------------- [postbuild] BINDIR=$PKGDIR_PROD/bin DOCDIR=$PKGDIR_PROD/doc LIBDIR=$PKGDIR_PROD/lib mkdir -p $DOCDIR $LIBDIR cp -p LICENSE $DOCDIR/license.txt cd $BINDIR ln -s libpng{,12}-config ln -s libpng{,14}-config cd $LIBDIR ln -nsf libpng.so{,.3} #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = http://packages.debian.org/unstable/source/libpng url_home = http://www.libpng.org/pub/png/libpng.html url_lfs = http://www.linuxfromscratch.org/blfs/view/stable/\ general/libpng.html url_tarball = http://downloads.sourceforge.net/\ libpng/libpng-1.6.42.tar.xz #--------------------------------------------------------------------- [history] 170327 Updated from 1.6.27 to 1.6.29 170827 Updated to 1.6.32 171205 Updated to 1.6.34 190416 Updated to 1.6.37 220915 Updated to 1.6.38 230105 Updated to 1.6.39 230625 Updated to 1.6.40 240129 Updated to 1.6.42