#### Beyond Linux® From Scratch (System V Edition) - Version 12.3

### Chapter 25. Graphical Environment Libraries

- Prev

  Gtkmm-3.24.9

- Next

  gtk-vnc-1.5.0

- Up
- Home

# Gtkmm-4.16.0

## Introduction to Gtkmm

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

This package is known to build and work properly using an LFS 12.3 platform.

### Package Information

- Download (HTTP): https://download.gnome.org/sources/gtkmm/4.16/gtkmm-4.16.0.tar.xz

- Download MD5 sum: d2161c39f2be1ac0c1285cd8e0c63b6c

- Download size: 16 MB

- Estimated disk space required: 210 MB (with tests)

- Estimated build time: 0.9 SBU (With tests; both using parallelism=4)

### Gtkmm Dependencies

#### Required

GTK-4.16.12 and Pangomm-2.56.1

#### Optional

Doxygen-1.13.2 and Vulkan-Loader-1.4.304

## 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.13.2 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

- Prev

  Gtkmm-3.24.9

- Next

  gtk-vnc-1.5.0

- Up
- Home