Wayland-1.24.0

Introduction to Wayland

Wayland is a project to define a protocol for a compositor to talk to its clients as well as a library implementation of the protocol.

Important

For the lib32 installation instructions, they require new Meson cross files from MLFS, as --libdir=/usr/lib32 has been moved to the cross files and no longer appear in the instructions. Install the new cross files so that 32-bit libraries don't get installed in /usr/lib.

Wayland Dependencies

Required
libxml2-2.15.1

Installation of Wayland

Install Wayland by running the following commands:

mkdir build &&
cd    build &&

meson setup --prefix=/usr          \
            --buildtype=release    \
            -D documentation=false \
            .. &&

ninja

Now, as the root user:

ninja install

lib32 Installation of Wayland

Install lib32-Wayland by running the following commands:

rm -rf * &&
meson setup --prefix=/usr          \
            --buildtype=release    \
            --cross-file=lib32     \
            -D documentation=false \
            .. &&

ninja

Now, as the root user:

DESTDIR=$PWD/DESTDIR ninja install    &&
cp -Rv DESTDIR/usr/lib32/* /usr/lib32 &&
rm -rf DESTDIR                        &&
ldconfig

Command Explanations

Note

Inspect meson_options.txt or meson.options for a full list of options.

-D documentation=false: This switch is used to disable building of the API documentation.

Contents

Installed Programs: wayland-scanner
Installed Libraries: libwayland-client, libwayland-cursor, libwayland-egl, and libwayland-server
Installed Directories: /usr/share/wayland

Short Descriptions

wayland-scanner

is a tool to generate proxy methods in wayland-client-protocol.h and wayland-server-protocol.h

libwayland-client

contains API functions for writing Wayland applications

libwayland-cursor

contains API functions for managing cursors in Wayland applications

libwayland-egl

contains API functions for handling OpenGL calls in Wayland applications

libwayland-server

contains API functions for writing Wayland compositors