The Gtkmm package provides a C++ interface to GTK+ 3.
This package is known to build and work properly using an LFS 11.3 platform.
Download (HTTP): https://download.gnome.org/sources/gtkmm/3.24/gtkmm-3.24.7.tar.xz
Download (FTP): ftp://ftp.acc.umu.se/pub/gnome/sources/gtkmm/3.24/gtkmm-3.24.7.tar.xz
Download MD5 sum: 9576353c26db5e273a074264b68ad6cf
Download size: 14 MB
Estimated disk space required: 238 MB (with tests)
Estimated build time: 1.3 SBU (Using parallelism=4; with tests)
Atkmm-2.28.3, GTK+-3.24.36, and Pangomm-2.46.3
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/gtkmm3
Install Gtkmm by running the following commands:
mkdir gtkmm3-build && cd gtkmm3-build && meson --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-3.0
. For consistency, move
it to a versioned directory as the root
user:
mv -v /usr/share/doc/gtkmm-3.0 /usr/share/doc/gtkmm-3.24.7
-Dbuild-documentation=true
: If you have
installed Doxygen-1.9.6 this define will build and
install the documentation.