wiki:weston

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/14.0.1/downloads/weston-14.0.1.tar.xz

Dependencies

Required: libxkbcommon, wayland-protocols, pixman, libinput

Recommended: lcms2, cairo, pango, libpng, libjpeg-turbo, mesa, libseat (see below), libdisplay-info, xorg-libraries, xcursor

Recommended at runtime: xwayland

Optional: libva, pipewire, freerdp, neatvnc, gstreamer, xcb-util-cursor (for some tests)

Installation

Allow building without xcb-util-cursor if it's not installed:

sed 's/get_option.*xwayland.*/false/' -i tests/meson.build

Build the package:

mkdir build
cd    build

meson setup --prefix=/usr                        \
            --buildtype=release                  \
            -Dbackend-drm-screencast-vaapi=false \
            -Dbackend-pipewire=false             \
            -Dbackend-rdp=false                  \
            -Dbackend-vnc=false                  \
            -Dremoting=false                     \
            -Dpipewire=false

Test the package:

ninja test

Install the package:

sudo ninja install

libseat

It can be used as a lightweight seat manager, or a shim layer on top of systemd or elogind. Here we use it as the shim layer.

https://github.com/kennylevinsen/seatd/archive/0.9.1/libseat-0.9.1.tar.gz

Dependencies

Required: elogind (sysv revision)

Required at Runtime: systemd (rebuilt with PAM, systemd revision) and polkit

Installation

mkdir build
cd    build

meson setup --prefix=/usr       \
            --buildtype=release \
            -D server=disabled  \
            -D libseat-seatd=disabled

Test the package:

ninja test

Install the package:

sudo ninja install
Last modified 2 months ago Last modified on 01/30/2025 08:21:15 AM
Note: See TracWiki for help on using the wiki.