#### Beyond Linux® From Scratch (systemd Edition) - Version r13.0-491

### Chapter 25. Graphical Environment Libraries

- Prev

  keybinder-3.0-0.3.2

- Next

  libei-1.5.0

- Up
- Home

# libadwaita-1.9.0

## Introduction to libadwaita

The libadwaita package provides additional GTK4 UI widgets for use in developing user interfaces. It is used primarily for GNOME applications.

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

- Download (HTTP): https://download.gnome.org/sources/libadwaita/1.9/libadwaita-1.9.0.tar.xz

- Download MD5 sum: 54d38223998ce1649cfe3cccbaaabbbe

- Download size: 2.8 MB

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

- Estimated build time: 0.4 SBU (with parallelism=4; with tests)

### libadwaita Dependencies

#### Required

AppStream-1.1.2, GTK-4.22.4, and sassc-3.6.2

#### Recommended

Vala-0.56.19

#### Optional

Gi-DocGen-2026.1 and xdg-desktop-portal-1.20.4 (for two tests)

## Installation of libadwaita

Install libadwaita by running the following commands:

    mkdir build &&
    cd    build &&

    meson setup --prefix=/usr --buildtype=release .. &&
    ninja

If you have Gi-DocGen-2026.1 installed and wish to build the API documentation for this package, issue:

    sed "s/apiversion/'1.9.0'/" -i ../doc/meson.build &&
    meson configure -D documentation=true             &&
    ninja

To test the results, issue: ninja test. The tests must be run from a graphical session. Two tests will fail if xdg-desktop-portal-1.20.4 is not installed.

Now, as the `root` user:

    ninja install

## Command Explanations

`--buildtype=release`: Specify a buildtype suitable for stable releases of the package, as the default may produce unoptimized binaries.

## Contents

Installed Programs: adwaita-1-demo
Installed Libraries: libadwaita-1.so
Installed Directories: /usr/include/libadwaita-1

### Short Descriptions

adwaita-1-demo | provides an example of how to use the libadwaita library
`libadwaita-1.so` | provides additional GTK widgets for use in creating user interfaces

- Prev

  keybinder-3.0-0.3.2

- Next

  libei-1.5.0

- Up
- Home