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.
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.
Download (HTTP): https://gitlab.freedesktop.org/wlroots/wlroots/-/archive/0.19.3/wlroots-0.19.3.tar.bz2
Download MD5 sum: 601d92e41b9d1383a1e4c23a2e040aec
Download size: 492 KB
Estimated disk space required: 18 MB
Estimated build time: 0.2 SBU
libdrm-2.4.134, libxkbcommon-1.13.2, Pixman-0.46.4, Wayland-1.25.0, and wayland-protocols-1.49
Mesa-26.0.7: For GBM allocation and the OpenGL renderer.
hwdata-0.408, libdisplay-info-0.3.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.350.1 and Glslang-16.3.0: For the Vulkan renderer.
XCB Utilities, Xorg Libraries, and Xwayland-24.1.12: For Xorg application/library support.
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.
Cairo-1.18.4 (for examples)
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