weston
A lightweight and functional Wayland compositor.
Useful for setting up a minimal wayland-based graphical environment (like twm for minimal xorg graphical environment).
https://gitlab.freedesktop.org/wayland/weston/-/releases/16.0.0/downloads/weston-16.0.0.tar.xz
Dependencies
Required: libxkbcommon, wayland-protocols, pixman, libinput
Recommended: lcms2, cairo, pango, libpng, libjpeg-turbo, libwebp, mesa, seatd, libdisplay-info, xorg-libraries, xwayland
Optional: libva, pipewire, freerdp, neatvnc, gstreamer, xcb-util-cursor (for some tests, disabled below), lua
Installation
Apply a patch to fix an issue causing a completely black screen at startup on some Intel graphics cards:
curl -L https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/2178.patch | patch -Np1
Allow building with libdisplay-info-0.4.0:
sed "s/, '< 0.4.0'//" -i meson.build
Allow building without xcb-util-cursor if it's not installed:
sed 's/get_option.*xwayland.*/false/' -i tests/harness/meson.build
Build the package:
mkdir build
cd build
meson setup --prefix=/usr \
--buildtype=release \
-D backend-pipewire=false \
-D backend-rdp=false \
-D backend-vnc=false \
-D shell-lua=false
Test the package:
ninja test
Install the package:
sudo ninja install
