# netpbm/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. The source tarball used by this package was created based on "svn" upstream sources. A procedure similar to the one shown in the "svn- fetch" block was used. #--------------------------------------------------------------------- [svnfetch] # Warning! This script will delete all existing directories and/or # files in the current directory with names of the form NAME or # NAME-svn* where NAME is the project name specified below (by the # OUTBASE setting). #!/bin/bash -e OUTBASE=netpbm DIR=$OUTBASE-svn URL=http://svn.code.sf.net/p/netpbm/code/stable rm -fr $OUTBASE $DIR* svn co $URL $DIR cd $DIR svnversion . > ../svnversion.txt cd .. NUMBER=`cat svnversion.txt` rm svnversion.txt BASE=$DIR-$NUMBER mv $DIR $BASE tar cf - $BASE | pbzip2 -c > $BASE.tar.bz2 #--------------------------------------------------------------------- 1. This distro adds a "netpbm" program named "ppmquantnr". The new command is equivalent to the existing "ppmquant" program, with one difference: "ppmquantnr" uses a fixed random-number seed. The change means that the user will get consistent results if he or she executes the same "ppmquantnr" command repeatedly for identical input files at different times. This feature is useful for some purposes. #--------------------------------------------------------------------- 2. Additionally, this distro restores a missing "netpbm" program named "pnmtotiff". The program in question is now a wrapper for "pamtotiff". #--------------------------------------------------------------------- 3. As of December 2006, the official "netpbm" package didn't pro- vide "man" pages. This distro adds "man" pages to the "netpbm" pack- age. However, the set isn't complete yet, and some of the "man" pages have formatting glitches. #--------------------------------------------------------------------- 4. As of December 2006, there was a Debian package named "netpbm- free", but the Debian package didn't match the official "netpbm" package. "netpbm-free" seems to be a version that's been modified to address Debian licensing issues. #--------------------------------------------------------------------- [buildtimes] 00.01 hours (or 000.85 minutes) - 2021 L.A. dedi box: 6x2 CPU 32GB RAM 00.02 hours (or 001.25 minutes) - ThinkPad W530 i7 4x2 32GB RAM 00.05 hours (or 003.22 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.06 hours (or 003.82 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.17 hours (or 009.93 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] ccpause = 5 exepack = yes license = See "license*.txt" in installed tree licfile = doc/GPL_LICENSE.txt nosyslinks = bin unpack = relaxed dontfind = libpng12 libpng14 setpaths = jbigkit libpng netpbm xorg tmpsize = 50M #--------------------------------------------------------------------- [depends] ghostscript jbigkit jpeg libpng libxml2 tiff xorg zlib #--------------------------------------------------------------------- [configure] sed -e "s@__META_PRODTREE__@$PRODTREE@g" \ < $PKGDIR_SPECIAL/Makefile.config.in \ > $PKGDIR_BUILD/Makefile.config touch $PKGDIR_BUILD/Makefile.config sed -e "s@__META_PRODTREE__@$PRODTREE@g" \ < $PKGDIR_SPECIAL/config.mk.in \ > $PKGDIR_BUILD/config.mk touch $PKGDIR_BUILD/config.mk #--------------------------------------------------------------------- [build] rm -fr $PKGDIR_PROD smpmake smpmake package pkgdir=$PKGDIR_PROD BINDIR=$PKGDIR_PROD/bin LIBDIR=$PKGDIR_PROD/lib MANBASE=$PKGDIR_PROD/man MANDIR=$MANBASE/man1 cd $BINDIR cp ppmquant ppmquantnr patch -p0 < $PKGDIR_SPECIAL/ppmquantnr.spcpat chmod 755 ppmquantnr cd $BINDIR sed -e "s|__META_PREFIX__|$PKGDIR_PROD|g" \ < $PKGDIR_SPECIAL/pnmtotiff.in \ > pnmtotiff chmod 755 pnmtotiff cd $BINDIR rm -f *~ cd $LIBDIR mv ../*link/libnetpbm.so . rmdir ../*link/ rm -fr $MANBASE mkdir -p $MANDIR cd $MANDIR unzip -q $PKGDIR_SPECIAL/netpbm-manpages.zip #--------------------------------------------------------------------- # 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 = n/a # See "technotes" in "cfg" file url_home = http://netpbm.sourceforge.net/ url_tarball = svn # See "technotes" in "cfg" file #--------------------------------------------------------------------- [history] 170603 Updated from 10.70.06 to 2985 ("svn" commit) 170928 Updated to 3080 180104 Updated to 3104 180326 Updated to 3187 180627 Updated to 3270 181006 Updated to 3378 181206 Updated to 3451 190416 Updated to 3598 190929 Updated to 3697 201223 Updated to 4009 210327 Updated to 4078 210701 Updated to 4123 210926 Updated to 4138 211205 Updated to 4199 230325 Updated to 4540 240401 Updated to 4903 241004 Updated to 4958