Gtkmm-4.16.0

Introduction to Gtkmm

The Gtkmm package provides a C++ interface to GTK-4.

[Note]

Note

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.

Package Information

Gtkmm Dependencies

Required

Atkmm-2.36.3, GTK-4.16.7, and Pangomm-2.54.0

Optional

Doxygen-1.12.0 and Vulkan-Loader-1.3.301

Installation of Gtkmm

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

Command Explanations

-D build-documentation=true: If you have installed Doxygen-1.12.0 this define will build and install the documentation.

Contents

Installed Programs: None
Installed Libraries: libgdkmm-4.0.so and libgtkmm-4.0.so
Installed Directories: /usr/include/gdkmm-4.0, /usr/include/gtkmm-4.0, /usr/lib/gdkmm-4.0, /usr/lib/gtkmm-4.0, and optionally /usr/share/{devhelp/books/gtkmm-4.0,doc/gtkmm-4.16.0}

Short Descriptions

libgdkmm-4.0.so

contains the GDK API classes

libgtkmm-4.0.so

contains the GTK 4 API classes