wlroots-0.20.2

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

### Chapter 25. Graphical Environment Libraries

- Prev

  WebKitGTK-2.52.5

- Next

  xdg-desktop-portal-1.22.1

- Up
- Home

# wlroots-0.20.2

## Introduction to wlroots

wlroots is a Wayland compositor library, the backbone of most Wayland compositors. Compositors that use a different base may have used this package in the beginning of the compositor's history for providing most of the work.

### Note

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

### Package Information

- Download (HTTP): https://gitlab.freedesktop.org/wlroots/wlroots/-/archive/0.20.2/wlroots-0.20.2.tar.bz2

- Download MD5 sum: 03634ea5be3d116490630c955355610c

- Download size: 516 KB

- Estimated disk space required: 19 MB

- Estimated build time: 0.2 SBU

### wlroots Dependencies

#### Required

libdrm-2.4.134, libxkbcommon-1.13.2, Pixman-0.46.4, Wayland-1.26.0, and wayland-protocols-1.49

#### Recommended

- Mesa-26.1.7: For GBM allocation and the OpenGL renderer.

- hwdata-0.410, libdisplay-info-0.4.0, and libliftoff-0.5.0: For the DRM backend; can be used to generically choose a renderer instead of being implicit.

- libinput-1.31.3: For the libinput backend.

- Little CMS-2.19.1: For color management.

- seatd-0.9.3: For session handling.

- Vulkan-Loader-1.4.357.0 and Glslang-16.5.0: For the Vulkan renderer.

- XCB Utilities, Xorg Libraries, and Xwayland-24.1.13: For Xorg application/library support.

### Important

Skipping any of the recommended dependencies can lead to configuration, build, or runtime failures in various compositors. An example is GLESv2: if it is not found, OpenGL rendering as a whole will be disabled. OpenGL rendering is the primary, and in most often cases, the only available renderer a given compositor can use if it does not rely on the recommended DRM backend to choose a renderer for the compositor. Consider most of the dependencies listed above required besides what is required for the Vulkan renderer and Xorg support.

#### Optional

Cairo-1.18.4 (for examples)

## Installation of wlroots

Install wlroots by running the following commands:

    mkdir build &&
    cd    build &&

    meson setup --prefix=/usr          \
                --buildtype=release    \
                --wrap-mode=nofallback \
                .. &&
    ninja

This package does not have a test suite.

Now, as the `root` user:

    ninja install

## Contents

Installed Programs: None
Installed Libraries: libwlroots-0.20.so
Installed Directories: /usr/include/wlroots-0.20

### Short Descriptions

`libwlroots-0.20.so` | provides functions for Wayland compositors

- Prev

  WebKitGTK-2.52.5

- Next

  xdg-desktop-portal-1.22.1

- Up
- Home