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

253.4. gtkmm4-4.24.0

C++ bindings for GTK 4 (gtkmm-4.0)

4.24.0-1 · LGPL-2.1-or-later · 2.9 SBU · 13.7 MiB, 736 files · 43_toolkits, 161 of 344 · ports/core/gtk/gtkmm4

Homepage: https://gtkmm.gnome.org/

Why it is in KDOS. The comment above gtkmm3 and gtkmm4 in script/phases/43_toolkits/packages.d/gtk.txt:

Each GTK has its own series and the two install side by side: gtkmm3 over glibmm 2.66, cairomm 1.14, pangomm 2.46 and atkmm 2.28, and gtkmm4 over the current glibmm, cairomm and pangomm.

Depends on: gtk4, glibmm, cairomm, pangomm, libsigc++3, gdk-pixbuf, vulkan-headers, meson, python3.

Required by: no port names it.

Sources: gtkmm4-4.24.0.tar.xz (17.2 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install gtkmm4'

build.sh:

meson setup build --prefix=/usr --sysconfdir=/etc --libdir=lib \
	--buildtype=release \
	-Dmaintainer-mode=false \
	-Dwarnings=min \
	-Dbuild-deprecated-api=true \
	-Dbuild-documentation=false \
	-Dbuild-demos=false \
	-Dbuild-tests=false
meson compile -C build
DESTDIR=$PKG meson install --no-rebuild -C build

Libraries: libgtkmm-4.0.so.

Directories: /usr/include/gtkmm-4.0, /usr/lib/gtkmm-4.0, /usr/share/licenses/gtkmm4.