# cups-filters/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] #--------------------------------------------------------------------- [settings] exepack = yes license = tbd nowerror = yes proddir = $PRODTREE/cups purge = no shareddir = yes tmpsize = 41M setpaths = cups lcms2 mupdf qpdf #--------------------------------------------------------------------- [depends] actools cups-base:strict gawk ghostfonts ghostpdl ghostscript glib20 grep gtkcore ijs lcms2 libpng libxslt mupdf pcre poppler qpdf sed tiff #--------------------------------------------------------------------- [configure] MANBASE=$PKGDIR_PROD/man VARDIR=/var/cups mkdir -p $VARDIR chown 777 $VARDIR GSBIN=$PRODTREE/ghostpdl/bin/gs PPBIN=$PRODTREE/cups/lib/cups/filter/pdftops mkdir -p /usr/share/fonts cp -p $PKGDIR_SPECIAL/*.ttf /usr/share/fonts/ autoreconf -fi bash ./configure \ --prefix=$PKGDIR_PROD \ --disable-avahi \ --disable-static \ --enable-shared \ --localstatedir=$VARDIR \ --with-gs-path=$GSBIN \ --with-pdftops=gs \ --with-pdftops-path=$GSBIN \ --without-rcdir \ --mandir=$MANBASE rm libtool cp -p `which libtool` . # No longer applicable: # sed -e 's/Guchar/unsigned char/g' \ # -i `find filter/pdftoopvp/ -name \*.cxx` \ # -i `find filter/pdftoopvp/ -name \*.h` #--------------------------------------------------------------------- [build] export LACPREARG=-fpermissive smpmake && make install #--------------------------------------------------------------------- # 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/cups url_home = http://www.cups.org/ url_lfs = http://www.linuxfromscratch.org/blfs/view/stable/\ pst/printing.html#cups url_tarball = https://www.openprinting.org/download/\ cups-filters/cups-filters-1.28.10.tar.xz #--------------------------------------------------------------------- [history] 170623 Updated from 1.5.0 to 1.14.0 190314 Patched to work with "poppler" 0.70.X and above 210128 Patched to fix a FTBFS with newer releases of "gcc" 210222 Updated to 1.28.7 210913 Updated to 1.28.10