# xpdf/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. Due to license issues, this package should never be updated to up- stream. #--------------------------------------------------------------------- [buildtimes] 00.02 hours (or 001.03 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.02 hours (or 001.20 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.09 hours (or 005.57 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] build = default exepack = yes license = See "license*.txt" in installed tree licfile = COPYING setpaths = freetype2 tmpsize = 82M #--------------------------------------------------------------------- [depends] freetype2 ghostfonts grep lesstif libpaper t1lib # May not be needed xorg #--------------------------------------------------------------------- [configure] ETCDIR=$PKGDIR_PROD/etc ETCSUBDIR=$ETCDIR/xpdf MANBASE=$PKGDIR_PROD/man mkdir -p $ETCSUBDIR $MANBASE for x in \ 03_freetype-build \ 04_freetype-glyph \ 08_core_action do patch -p1 < debian/patches/$x.dpatch done chown -R 0.0 . bash ./configure \ --prefix=$PKGDIR_PROD \ --enable-multithreaded \ --enable-opi \ --mandir=$MANBASE \ --sysconfdir=$ETCDIR #--------------------------------------------------------------------- [postbuild] BINDIR=$PKGDIR_PROD/bin ETCDIR=$PKGDIR_PROD/etc ETCSUBDIR=$ETCDIR/xpdf rm -fr /etc/xpdf /etc/xpdfrc $ETCDIR/xpdfrc mkdir -p $ETCSUBDIR touch $ETCSUBDIR/includes sed -e "s|__META_GHOSTFONTS__|$PRODTREE/ghostfonts|g" \ -e "s|__META_PREFIX__|$PKGDIR_PROD|g" \ -e "s|__META_PRODTREE__|$PRODTREE|g" \ < $PKGDIR_SPECIAL/xpdfrc.in \ > $ETCSUBDIR/xpdfrc # Delete "xpdf" programs which are included, as newer releases, with # "poppler". cd $BINDIR rm -fr pdfdetach pdffonts pdfimages pdfinfo rm -fr pdftoppm pdftops pdftotext #--------------------------------------------------------------------- # 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/xpdf url_home = http://www.foolabs.com/xpdf/ url_lfs = http://www.linuxfromscratch.org/blfs/view/stable/\ pst/xpdf.html url_tarball = ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.04.tar.gz