Introduction to xorgproto

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.

This package is known to build and work properly using an LFS 12.1 platform.

Package Information

xorgproto Dependencies




fop-2.9, libxslt-1.1.39, xmlto-0.0.28 and asciidoc-10.2.0 (to build additional documentation)



There is a reciprocal dependency with fop-2.9. If you wish to build the documentation, you'll need to re-install the Protocol Headers after the installation is complete and fop-2.9 has been installed.

Editor Notes: https://wiki.linuxfromscratch.org/blfs/wiki/Xorg7ProtocolHeaders

Installation of xorgproto

Install xorgproto by running the following commands:

mkdir build &&
cd    build &&

meson setup --prefix=$XORG_PREFIX .. &&

This package does not come with a test suite.

Now, as the root user:

ninja install &&
mv -v $XORG_PREFIX/share/doc/xorgproto{,-2023.2}

Command Explanations

-Dlegacy=true: Installs legacy headers needed by old programs (such as LessTif).


Installed Programs: None
Installed Libraries: None
Installed Directories: $XORG_PREFIX/include/GL, $XORG_PREFIX/include/X11, and $XORG_PREFIX/share/doc/xorgproto-2023.2