The Xwayland package is an Xorg server running on top of the wayland server. It has been separated from the main Xorg server package. It allows running X clients inside a wayland session.
Allow building against Nettle-4.0 and higher:
sed -e '/sha.h/s/sha/sha1/' \
-e '/sha1/a #include <nettle/version.h>' \
-e 's/ctx, 20/ctx/' \
-i os/xsha1.c
Install xwayland by running the following commands:
sed -i '/install_man/,$d' meson.build &&
mkdir build &&
cd build &&
meson setup --prefix=/usr \
--buildtype=release \
-D xkb_output_dir=/var/lib/xkb \
-D secure-rpc=false \
.. &&
ninja
Now, as the root user:
ninja install
If Xorg-Server-21.1.21 is not installed and
you do not plan to install it later, you can install Xvfb from this package. As the
root user:
install -vDm755 hw/vfb/Xvfb -t /usr/bin/
Inspect meson_options.txt or
meson.options for a full list of
options.
sed -i '/install_man/,$d' meson.build: Prevents installing a manual page for Xserver, which is also provided by Xorg-Server-21.1.21. Remove this command if Xorg-Server-21.1.21 is not installed and you don't plan to install it later.
--buildtype=release:
Specify a buildtype suitable for stable releases of the package, as
the default may produce unoptimized binaries.
-D secure-rpc=false:
Disables RPC support as
libtirpc was not built.