# ghostscript-core/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. This package installs the core GPL Ghostscript system. The stan- dard Ghostscript fonts are installed separately by the "ghostfonts" package. #--------------------------------------------------------------------- 2. At one point, there were at least *five* versions of Ghostscript: a. GNU Ghostscript b. AFPL Ghostscript (also known as Aladdin Ghostscript) c. Artifex Ghostscript d. GPL Ghostscript e. ESP Ghostscript This distro selected GPL Ghostscript originally for the following rea- sons: a. GNU Ghostscript per se was discontinued. (It was superseded by GPL Ghostscript.) b. Artifex Ghostscript required a commercial license. c. AFPL Ghostscript and GPL Ghostscript both had free licenses, but GPL Ghostscript's license was less restrictive. d. GPL Ghostscript was updated more frequently than ESP Ghost- script. There was one significant change in 2007: ESP Ghostscript and GPL Ghostscript merged (as of GPL Ghostscript 8.60). According to the official CUPS web site (www.cups.org), "all development on ESP Ghost- script has ended with the (ESP) 8.15.4 release". #--------------------------------------------------------------------- 4. The "Jasper" component of Ghostscript uses SDL if it's available. However, for two reasons, SDL isn't presently listed as a dependency: (a) listing SDL here might c omplicate things, since Ghostscript is low-level and SDL is high-level, and (b) SDL doesn't appear to be an important requirement. #--------------------------------------------------------------------- [buildtimes] 00.07 hours (or 004.10 minutes) - HP Pavilion dv8 8GB RAM 00.12 hours (or 007.03 minutes) - 2021 L.A. dedi box: 6x2 CPU 32GB RAM 00.13 hours (or 007.98 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.16 hours (or 009.60 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.19 hours (or 011.12 minutes) - Toshiba Satellite C655 E-300 CPU 4GB RAM 00.34 hours (or 020.22 minutes) - ThinkPad W530 i7 4x2 32GB RAM #--------------------------------------------------------------------- [settings] altpkg = yes license = See "license.txt" under installed tree proddir = $PRODTREE/ghostscript purge = yes tmpsize = 484M uscheck = C210614, R210330, active unpack = relaxed setpaths = lcms2 #--------------------------------------------------------------------- [depends] fontconfig freetype2 gawk grep jpeg lcms2 # May not be needed libpaper libpng pkgconf sed tiff # May not be needed xorg zlib #--------------------------------------------------------------------- [configure] MANBASE=$PKGDIR_PROD/man mkdir -p $MANBASE rm -fr lcms2 libpng bash ./configure \ --prefix=$PKGDIR_PROD \ --disable-cups \ --enable-compile-inits \ --enable-debug=no \ --enable-dynamic \ --mandir=$MANBASE \ --with-ijs \ --with-x #--------------------------------------------------------------------- # Note: The symbolic link to "ghostfonts" created here won't be valid # until the "ghostfonts" package is installed. [build] DOCDIR=$PKGDIR_PROD/doc INCDIR=$PKGDIR_PROD/include/ghostscript GHOSTSHA=$PRODTREE/ghostscript/share/ghostscript mkdir -p $DOCDIR INCDIR cp -p LICENSE $DOCDIR/license.txt smpmake so make install make soinstall install -v -m644 base/*.h $INCDIR/ cd $PKGDIR_PROD/bin ln -sf gsx gs ln -sf ps2pdf14 ps2pdf ln -nsf $PRODTREE/ghostfonts $GHOSTSHA/fonts rm -f $GHOSTSHA/8.*/doc/*.htm* #--------------------------------------------------------------------- #[postbuild] #makelac cairo --force #--------------------------------------------------------------------- # 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 url_lfs = n/a url_home = http://www.cs.wisc.edu/~ghost/doc/GPL/ url_tarball = https://github.com/ArtifexSoftware/ghostpdl-downloads/\ releases/download/gs1000/ghostscript-10.0.0.tar.xz #--------------------------------------------------------------------- [history] 170511 Updated from 9.18 to 9.21 171004 Updated to 9.22 180321 Updated to 9.23 180903 Updated to 9.24 180914 Updated to 9.25 181121 Updated to 9.26 190404 Updated to 9.27 210125 Updated to 9.53.3 210614 Updated to 9.54.0 210928 Updated to 9.55.0 220504 Updated to 9.56.1 230220 Updated to 10.0.0 240313 Added "ghostscript-core" to fix circular dependencies