The xorgproto package provides the header files required to build the X Window system, and to allow other applications to build against the installed X Window system.
Install xorgproto by running the following commands:
mkdir build && cd build && meson setup --prefix=/usr .. && ninja
This package does not come with a test suite.
Now, as the root
user:
ninja install && mv -v /usr/share/doc/xorgproto{,-2024.1}
-Dlegacy=true
: Installs legacy headers
needed by old programs (such as LessTif).