# pnmleoscale/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. The source archive that's used for this package is prehistoric (it dates back to 1995). However, it's the latest known upstream version (and apparently the final version). #--------------------------------------------------------------------- 2. The source archive has been converted from ".lzh.uu" format to ".tar.bz2" format. A copy of the original ".lzh.uu" file is provided in the subdirectory "special". #--------------------------------------------------------------------- 3. "pnmleoscale" isn't compatible with PPM files produced by The GIMP. However, you can bypass the problem by running problematic PPM files through "ppmtoppm". For example: cat input.ppm | ppmtoppm | \ pnmleoscale -q 9 -height 320 > output.ppm #--------------------------------------------------------------------- 4. "pnmleoscale" also can't handle images with color values larger than 8 bits. However, you can bypass that problem by running the input image through "| anytopnm | pnmdepth 255 |". For example: cat /input.png | anytopnm | pnmdepth 255 | \ pnmleoscale -q 9 -width 320 > output.pnm #--------------------------------------------------------------------- 5. "pnmleoscale" was written by Henrik "Leopold" Herranen. Mr. Herranen distributed "pnmleoscale" in the mid-1990s as free source code. However, neither the original "pnmleoscale" home page nor the source code stated an explicit license. "pnmleoscale" is a replacement for "pnmscale", but it's not clear if "pnmleoscale" was written from scratch or if it's partly derived from "pnmscale". In the latter case, Jef Poskanzer's Pbmplus license might apply. #--------------------------------------------------------------------- [buildtimes] 00.00 hours (or 000.02 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.00 hours (or 000.02 minutes) - HP EliteBook 8560w 32GB RAM 00.00 hours (or 000.03 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.00 hours (or 000.05 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] configure = none depends = none exepack = yes license = special # See "technotes" in "cfg" file tmpsize = 1M #--------------------------------------------------------------------- [build] BINDIR=$PKGDIR_PROD/bin DOCDIR=$PKGDIR_PROD/doc mkdir -p $BINDIR $DOCDIR make cp -p pnmleoscale $BINDIR/ cp -p $PKGDIR_SPECIAL/pnmleoscale.txt $DOCDIR/ #--------------------------------------------------------------------- # 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_archive = http://www.funet.fi/pub/graphics/packages/\ pnmleoscale/pnmleoscale.lzh.uu url_debian = n/a url_home = http://ftp.funet.fi/pub/graphics/packages/\ pnmleoscale/ url_lfs = n/a #--------------------------------------------------------------------- [history] 211205 Documented work-around for image files with 9+ bit maxvals