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.22/gtkmm-4.22.0.tar.xz
Download MD5 sum: a1c76be0b7cd6156b269832e6a0bc660
Download size: 17 MB
Estimated disk space required: 217 MB (with tests)
Estimated build time: 0.8 SBU (With tests; both using parallelism=4)
Install Gtkmm by running the following commands:
mkdir build && cd 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.22.0
-D build-documentation=true: If you
have installed Doxygen-1.16.1 this define will build
and install the documentation.