UmVirt LFS Package info

DB commit: 34a83c7a68a930f721bd7a7f9cb2c2ac41e76ba8
APP commit: 0bd167a48557b5a14ac68d0229893245aacc7f12
[ BASH | XML | JSON ]

graphite2

Graphite2 is a rendering engine for graphite fonts.

Package info

Template:
Codename: graphite2
Source file: graphite2-1.3.14.tgz
Source file size: 6630061
Source file MD5-checkum: 1bccb985a7da01092bfb53bb5041e836
Source directory: graphite2-1.3.14
Package URL: https://umvirt.com/linux/downloads/0.3/packages/g/graphite2-1.3.14.tgz
Package md5-checksum URL: https://umvirt.com/linux/downloads/0.3/packages/g/graphite2-1.3.14.tgz.md5sum
Dependances: cmake.
Dependance of: harfbuzz, !libreoffice7, netsurf, libreoffice.
Patches: *** NO PATCHES FOUND ***
Addons: *** NO ADDONS FOUND ***
Nestings *** NO NESTINGS FOUND ***
Configuration script:
sed -i '/cmptest/d' tests/CMakeLists.txt

sed -i '/cmake_policy(SET CMP0012 NEW)/d' CMakeLists.txt &&
sed -i 's/PythonInterp/Python3/' CMakeLists.txt          &&
find . -name CMakeLists.txt | xargs sed -i 's/VERSION 2.8.0 FATAL_ERROR/VERSION 4.0.0/'

sed -i '/Font.h/i #include <cstdint>' tests/featuremap/featuremaptest.cpp

mkdir build &&
cd    build &&

cmake -DCMAKE_INSTALL_PREFIX=/usr ..

Build script:
cd    build 
make

if [[ "$ULFS_PKG_DOCUMENTATION" == "YES" ]]
then

make docs

fi

if [[ "$ULFS_PKG_TEST" == "YES" ]]
then
	    make test
fi

Install script:
cd    build
make install


if [[ "$ULFS_PKG_DOCUMENTATION" == "YES" ]]
then

install -v -d -m755 /usr/share/doc/graphite2-1.3.14 &&

cp      -v -f    doc/{GTF,manual}.html \
                    /usr/share/doc/graphite2-1.3.14 &&
cp      -v -f    doc/{GTF,manual}.pdf \
                    /usr/share/doc/graphite2-1.3.14

fi