# fontforge/cfg - "Build" settings for package #--------------------------------------------------------------------- [about] FontForge is an outline-font editor that lets you create or edit fonts. Supported formats include Postscript, TrueType, OpenType, multi-master, CFF, SVG, bitmap (BDF, FON, NFNT) fonts, and others. FontForge also lets you convert fonts from one format to another. #--------------------------------------------------------------------- [technotes] 1. The source tarball used by this package was prepared locally using the following upstream tarballs as a starting point: http://cdn-fastly.deb.debian.org/debian/pool/main/f/fontforge/\ fontforge_20170731~dfsg.orig.tar.gz http://cdn-fastly.deb.debian.org/debian/pool/main/f/fontforge/\ fontforge_20170731~dfsg-1.debian.tar.xz #--------------------------------------------------------------------- 2. Roughly the following procedure was used: a. Apply these 3 Debian patches: 2001_repackaging_fixup.patch 2002_avoid_upstream_git_or_pkg.patch 2003_avoid_privacy_breach.patch b. Download some components: UTHASHGIT=https://github.com/troydhanson/uthash.git ./bootstrap rm -fr uthash || exit 1 git clone $UTHASHGIT || exit 1 c. Clean up as follows: TMPFILE=temp.dat for ext in c h m4 do for x in `find . -type l -name \*.$ext` do rm -fr $TMPFILE || exit 1 mv $x $TMPFILE || exit 1 cp $TMPFILE $x || exit 1 done done ln -nsf gnulib/doc/INSTALL . pushd config ln -nsf ../gnulib/build-aux/* . popd rm -fr $TMPFILE autom4te.cache cd fontforge cp -p ../uthash/src/* . #--------------------------------------------------------------------- 3. The build procedure for this package (fontforge) requires a copy of the source tarball used by the "freetype2" package. The tarball should be stored in a "fontforge" source resource tree subdirectory named "special". If the release used is changed, the FT2REV parame- ter specified in this "cfg" file must be updated appropriately. #--------------------------------------------------------------------- [buildtimes] 00.06 hours (or 003.63 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.07 hours (or 003.97 minutes) - 2021 L.A. dedi box: 6x2 CPU 32GB RAM 00.09 hours (or 005.52 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.29 hours (or 017.32 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] altpkg = yes build = default dontfind = giflib4 exepack = yes fortran = disabled license = See "license*.txt" in installed tree licfile = LICENSE revision = numeric tmpsize = 230M unpack = relaxed setpaths = \ fontforge giflib5 gtkcore jpeg libxml2 \ libczmq libzmq tiff xorg #--------------------------------------------------------------------- [depends] actools cairo freetype2 giflib4 giflib5 grep gtkcore jpeg libczmq libpng libspiro libxml2 libzmq pkgconf potrace python readline tiff xorg zlib #--------------------------------------------------------------------- [configure] BINDIR=$PKGDIR_PROD/bin MANBASE=$PKGDIR_PROD/man mkdir -p $MANBASE FT2REV=2.9.1 export PATH=$BINDIR:$PATH tar jxf $PKGDIR_SPECIAL/freetype-$FT2REV.tar.bz2 FT2SRCDIR=`pwd`/freetype-$FT2REV autoreconf -fi bash ./configure \ --prefix=$PKGDIR_PROD \ --build=$LACARCHBUILD \ --host=$LACARCHHOST \ --enable-shared=yes \ --enable-static=no \ --mandir=$MANBASE \ --with-freetype-source=$FT2SRCDIR #--------------------------------------------------------------------- # 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 = tbd url_home = tbd url_lfs = tbd url_tarball = git # See "technotes" in "cfg" file #--------------------------------------------------------------------- [history] 180710 Updated from 20120731b to 180710 ("git" date) 181026 Updated to 9e9278c66 ("git" hash)