# harfbuzz/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. LibreOffice needs "harfbuzz" to be compiled with Graphite2 support. #--------------------------------------------------------------------- 2. Don't update this package past the level that is compatible with LibreOffice or you may break LibreOffice. To get a feeling for the le- vel in question: ls /src/*/*_libreoffice/special/libresrc/ | grep harfbuzz The preceding check may be too conservative. For a more accurate take: ls $PRODTREE/gtkcore/lib/libharfbuzz.so* If you update "harfbuzz" and the first number in the ".so.#.#.#" part changes, you should probably revert until you're sure that Libre- Office is able to work with the new release. #--------------------------------------------------------------------- [buildtimes] 00.01 hours (or 000.55 minutes) - HP Pavilion dv8 8GB RAM 00.02 hours (or 001.38 minutes) - Toshiba Satellite C655 E-300 CPU 4GB RAM 00.02 hours (or 001.40 minutes) - HP EliteBook 8560w 32GB RAM 00.05 hours (or 002.70 minutes) - ThinkPad E540 i7 4x2 16GB RAM #--------------------------------------------------------------------- # The "setpaths = libicu" setting here is needed by "webkit2*". # The "setpaths = gtkcore" setting is needed for the rebuild of "font- # config". [settings] fortran = disabled license = See "license*.txt" in installed tree licfile = COPYING nls = disabled nosyslinks = etc proddir = $PRODTREE/gtkcore purge = no shareddir = yes tmpsize = 249M setpaths = gtkcore libicu #--------------------------------------------------------------------- [depends] actools brotli cairo freetype2:strict gawk glib20:strict gobject-intro:strict graphite2 grep gtkdoc meson ninja perl pkgconf sed #--------------------------------------------------------------------- [configure] for base in $PKGDIR_PROD /usr/local do rm -fr $base/bin/hb-* rm -fr $base/doc/license-harfbuzz.txt rm -fr $base/include/harfbuzz rm -fr $base/lib/libharfbuzz.* rm -fr $base/lib/pkgconfig/harfbuzz.pc find $base/ -type f | \ grep -i harfbuzz | rmfromlist -d || true done ETCDIR=$PKGDIR_PROD/etc MANBASE=$PKGDIR_PROD/man mkdir -p $ETCDIR $MANBASE export USEHARFBUZZ=no makelac freetype2 --force sed -e 's@-DHB_DISABLE_DEPRECATED@-DHB_ENABLE_DEPRECATED@g' \ -i `find . -type f -name Makefile\*` #--------------------------------------------------------------------- PATH=$PRODTREE/python3/bin:$PATH PP=$PKGDIR_PROD rm -fr build mkdir build meson build \ -D prefix=$PP \ -D benchmark=disabled \ -D gobject=enabled \ -D graphite2=enabled \ -D introspection=enabled \ -D tests=disabled cd build if [ \! -f build.ninja ]; then exit 1; fi meson configure #--------------------------------------------------------------------- [build] cd build ninja_simple_build #--------------------------------------------------------------------- [postbuild] PCFDIR=$PKGDIR_PROD/lib/pkgconfig PT=$PRODTREE sed -e "s@\(-lharfbuzz\)@\1 -L$PT/freetype2/lib -lfreetype@" \ -i $PCFDIR/harfbuzz.pc export USEHARFBUZZ=yes makelac freetype2 --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 = tbd url_home = tbd url_lfs = tbd url_tarball = https://github.com/harfbuzz/harfbuzz/releases/download/\ 8.3.1/harfbuzz-8.3.1.tar.xz #--------------------------------------------------------------------- [history] 170505 updated from 1.1.3 to 1.4.6 170720 Updated to 1.4.7 170809 Updated to 1.4.8 170912 Updated to 1.5.1 171028 Updated to 1.6.3 180305 Updated to 1.7.5 180307 Updated to 1.7.6 180704 Updated to 1.8.2 180712 Updated to 1.8.3 180717 Updated to 1.8.4 180802 Updated to 1.8.5 180811 Updated to 1.8.7 180815 Updated to 1.8.8 181016 Updated to 1.9.0 181018 Updated to 2.0.0 181020 Updated to 2.0.1 181022 Updated to 2.0.2 181031 Updated to 2.1.0 181106 Updated to 2.1.1 181117 Updated to 2.1.3 181130 Updated to 2.2.0 181223 Updated to 2.3.0 190209 Updated to 2.3.1 190329 Updated to 2.4.0 190529 Updated to 2.5.0 190601 Updated to 2.5.1 190623 Updated to 2.5.2 190710 Updated to 2.5.3 190824 Updated to 2.6.1 191001 Updated to 2.6.2 210222 Updated to 2.7.4 210222 Modified to provide deprecated functions 230217 Updated to 5.2.0 240311 Updated to 8.3.0 240320 Updated to 8.3.1