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.



Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

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{,-2024.1}

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-2024.1