The Gtkmm package provides a C++ interface to GTK-4.
This package is known to build and work properly using an LFS 12.2 platform.
Download (HTTP): https://download.gnome.org/sources/gtkmm/4.14/gtkmm-4.14.0.tar.xz
Download MD5 sum: 2e25e9c3f64793ff8b51bdd24196d78f
Download size: 16 MB
Estimated disk space required: 206 MB (with tests)
Estimated build time: 1.3 SBU (Using parallelism=4; with tests)
Atkmm-2.28.4, GTK-4.14.5, and Pangomm-2.54.0
Install Gtkmm by running the following commands:
mkdir gtkmm4-build && cd gtkmm4-build && meson setup --prefix=/usr --buildtype=release .. && ninja
To test the results, issue: ninja test. Note that you must be in a graphical environment, as the tests try to open some windows.
Now, as the root
user:
ninja install
If you have built the documentation (see Command Explanations
below) it was installed to /usr/share/doc/gtkmm-4.0
. For consistency, move
it to a versioned directory as the root
user:
mv -v /usr/share/doc/gtkmm-4.0 /usr/share/doc/gtkmm-4.14.0
-D build-documentation=true
: If you
have installed Doxygen-1.12.0 this define will build
and install the documentation.