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

209.8. sdl2-pango-2.1.5

Draw Pango-laid-out text into SDL2 surfaces

2.1.5-1 · LGPL-2.1-or-later · 0.1 SBU · 57.6 KiB, 6 files · 42_graphics, 97 of 189 · ports/core/game-libs/sdl2-pango

Homepage: https://github.com/markuskimius/SDL2_Pango

Why it is in KDOS. The comment above the 9 ports from sdl2-image to sdl3-ttf in script/phases/42_graphics/packages.d/game-libs.txt:

The SDL satellites for SDL 2 and SDL 3. There is no sdl2-config: a build that asks for it is given pkg-config sdl2, and an SDL 2 program runs on SDL 3 through sdl2-compat.

Depends on: pkgconf, sdl2-compat, pango, glib, freetype2, fontconfig, harfbuzz.

Required by (1): tuxpaint.

Sources: sdl2-pango-2.1.5.tar.gz (628.6 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/42_graphics/phase.env && kpkg install sdl2-pango'

build.sh:

./configure --prefix=/usr --libdir=/usr/lib --disable-static --disable-sdltest
make
make DESTDIR=$PKG install

Libraries: libSDL2_Pango.so.

Directories: /usr/share/licenses/sdl2-pango.