Wayland-1.23.1

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.

Wayland Dependencies

Required

libxml2-2.13.5

Installation of Wayland

Install Wayland by running the following commands:

mkdir build &&
cd    build &&

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

ninja

To test the results, issue: env -u XDG_RUNTIME_DIR ninja test.

Now, as the root user:

ninja install

32-bit Installation of Wayland

First clean the build directory:

rm -rf *

Install 32-bit-Wayland by running the following commands:

CC="gcc -m32" CXX="g++ -m32"         \
PKG_CONFIG_PATH=/usr/lib32/pkgconfig \
meson setup ..                       \
      --prefix=/usr                  \
      --libdir=/usr/lib32            \
      --buildtype=release            \
      -D documentation=false &&

ninja

To test the results, issue: env -u XDG_RUNTIME_DIR ninja test.

Now, as the root user:

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

Command Explanations

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

Contents

Installed Programs: wayland-scanner
Installed Libraries: libwayland-client.so, libwayland-cursor.so, libwayland-egl.so, and libwayland-server.so
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.so

contains API functions for writing Wayland applications

libwayland-cursor.so

contains API functions for managing cursors in Wayland applications

libwayland-egl.so

contains API functions for handling OpenGL calls in Wayland applications

libwayland-server.so

contains API functions for writing Wayland compositors