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.20/gtkmm-4.20.0.tar.xz
Download MD5 sum: ee06c6c7ef69845ca23087b5cc0d84ff
Download size: 17 MB
Estimated disk space required: 214 MB (with tests)
Estimated build time: 0.9 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.20.0
-D build-documentation=true
: If you
have installed Doxygen-1.14.0 this define will build
and install the documentation.