# cuneiform/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. The source tarball used by this package was created based on "git" upstream sources. The sources were obtained as follows: ocgitfetch --run \ http://git.altlinux.org/gears/c/cuneiform.git #--------------------------------------------------------------------- [buildtimes] 00.06 hours (or 003.70 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.07 hours (or 004.30 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.31 hours (or 018.67 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] altpkg = yes configure = none exepack = no # Program isn't "upx"-compatible license = See "license.txt" in installed tree revision = numeric unpack = relaxed dontfind = imagemagick7 setpaths = cuneiform fontconfig freetype2 imagemagick6 tmpsize = 131M #--------------------------------------------------------------------- [depends] cmake fontconfig freetype2 graphicsmagick imagemagick6 #--------------------------------------------------------------------- [build] cd cuneiform for x in ../*.patch do patch -p1 < $x || exit 1 done BINDIR=$PKGDIR_PROD/bin DOCDIR=$PKGDIR_PROD/doc LIBDIR=$PKGDIR_PROD/lib PROGDIR=$PKGDIR_PROD/program mkdir -p $BINDIR $DOCDIR $PROGDIR export LACFORCEPIC=yes export LDINSERTAFTER="-lm -lfreetype" mkdir obj cd obj cmake \ -DCMAKE_C_FLAGS="-O2 -fPIC -fcommon -Wno-narrowing" \ -DCMAKE_CXX_FLAGS="-O2 -fPIC -fcommon -Wno-narrowing" \ .. smpmake cp -p $PKGDIR_SPECIAL/misc/license.txt $DOCDIR/ rm -fr *.cmake */*.cmake rm -fr CMakeCache.txt */CMakeCache.txt rm -fr CMakeFiles */CMakeFiles rm -fr Makefile */Makefile strip cuneiform mv cuneiform{,.bin} mkdir -p datafiles mv ../datafiles/* datafiles/ cp -a * $PROGDIR/ cd $PKGDIR_PROD (strip -pg `find . -type f -name \*.so` || true) mkdir $LIBDIR cd $LIBDIR ln -s `find .. -name \*.so\*` . cd $BINDIR sed -e "s|__META_LACUTIL__|$SYSDIR_LACUTIL|g" \ -e "s|__META_PREFIX__|$PKGDIR_PROD|g" \ -e "s|__META_PRODTREE__|$PRODTREE|g" \ < $PKGDIR_SPECIAL/wrappers/cuneiform.wrapper.in \ > cuneiform chmod 755 cuneiform #--------------------------------------------------------------------- # 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 = https://launchpad.net/cuneiform-linux url_lfs = n/a url_tarball = git # See "technotes" in "cfg" file #--------------------------------------------------------------------- [history] 180825 Updated to latest Debian patches to fix a FTBFS 210328 Updated to "altlinux" 7825cabac ("git" hash) 210328 Fell back to using "-fcommon" to fix a "gcc" 10 FTBFS 240331 Updated to 47e5fd27f