The Gtkmm package provides a C++ interface to GTK-4.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://download.gnome.org/sources/gtkmm/4.16/gtkmm-4.16.0.tar.xz
Download MD5 sum: d2161c39f2be1ac0c1285cd8e0c63b6c
Download size: 16 MB
Estimated disk space required: 210 MB (with tests)
Estimated build time: 0.9 SBU (With tests; both using parallelism=4)
Atkmm-2.28.4, GTK-4.16.2, 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.16.0
-D build-documentation=true
: If you
have installed Doxygen-1.12.0 this define will build
and install the documentation.