The seatd package provides a universal seat management library. It is what a lot of Wayland compositors use to manage seats, a session for a user in which applications can interact with.
Download (HTTP): https://git.sr.ht/~kennylevinsen/seatd/archive/0.9.1.tar.gz
Systemd-257 (this package needs a backend to properly create a seat, logind being a suitable one)
Install seatd by running the following commands:
mkdir build &&
cd build &&
meson setup --prefix=/usr \
--buildtype=release \
-D server=disabled \
-D libseat-seatd=disabled \
.. &&
ninja
Now, as the root user:
ninja install
Inspect meson_options.txt for a
full list of options.
--buildtype=release:
Specify a buildtype suitable for stable releases of the package, as
the default may produce unoptimized binaries.
-D server=disabled:
Disables building the seatd
daemon.
-D libseat-seatd=disabled:
This parameter disables building support for the in-house logind
daemon in libseat.so and instead
relies on the system-installed logind instead.