Gtkmm-3.24.5

Introduction to Gtkmm

The Gtkmm package provides a C++ interface to GTK+ 3.

[Note]

Note

Development versions of BLFS may not build or run some packages properly if dependencies have been updated since the most recent stable versions of the book.

Package Information

Gtkmm Dependencies

Required

Atkmm-2.28.2, GTK+-3.24.33, and Pangomm-2.46.2

Optional

Doxygen-1.9.4

User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/gtkmm3

Installation of Gtkmm

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.5

Command Explanations

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

Contents

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

Short Descriptions

libgdkmm-3.0.so

contains the GDK API classes

libgtkmm-3.0.so

contains the GTK+ 3 API classes