The Gtkmm package provides a C++ interface to GTK+ 3.
This package is known to build and work properly using an LFS-11.2 platform.
Download (HTTP): https://download.gnome.org/sources/gtkmm/3.24/gtkmm-3.24.6.tar.xz
Download (FTP): ftp://ftp.acc.umu.se/pub/gnome/sources/gtkmm/3.24/gtkmm-3.24.6.tar.xz
Download MD5 sum: 421edbc28bc7235d1f434d05d09fc9c8
Download size: 13 MB
Estimated disk space required: 222 MB (with tests)
Estimated build time: 1.0 SBU (Using parallelism=4; with tests)
Atkmm-2.28.3, GTK+-3.24.34, and Pangomm-2.46.2
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.6
-Dbuild-documentation=true
: If you have
installed Doxygen-1.9.4 this define will build and
install the documentation.