Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

117.11. graphite2-1.3.15

Graphite smart-font engine — the shaper harfbuzz calls for SIL's Graphite fonts, with gr2fonttest

1.3.15-1 · MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later · 0.8 SBU · 300.4 KiB, 13 files · 41_system, 613 of 1047 · ports/core/graphics-libs/graphite2

Homepage: https://graphite.sil.org/

Depends on: cmake, ninja.

Required by (3): harfbuzz, libreoffice, texlive.

Sources: graphite2-1.3.15.tar.gz (13.0 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install graphite2'

build.sh:

cmake -S . -B build -G Ninja \
	-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
	-DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_INSTALL_PREFIX=/usr \
	-DCMAKE_INSTALL_LIBDIR=lib \
	-DBUILD_SHARED_LIBS=ON \
	-DBUILD_TESTING=OFF \
	-DGRAPHITE2_NFILEFACE=OFF \
	-DGRAPHITE2_NTRACING=ON \
	-DGRAPHITE2_TELEMETRY=OFF
cmake --build build
DESTDIR=$PKG cmake --install build

Programs: gr2fonttest.

Libraries: libgraphite2.so.

Directories: /usr/include/graphite2, /usr/share/graphite2, /usr/share/licenses/graphite2.