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-11.0 platform.

Package Information

xorgproto Dependencies




fop-2.6, libxslt-1.1.34, xmlto-0.0.28 and asciidoc-10.0.2 (to build additional documentation)



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

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

Installation of xorgproto

Install xorgproto by running the following commands:

mkdir build &&
cd    build &&

meson --prefix=$XORG_PREFIX -Dlegacy=true .. &&

This package does not come with a test suite.

Now, as the root user:

ninja install &&

install -vdm 755 $XORG_PREFIX/share/doc/xorgproto-2021.5 &&
install -vm 644 ../[^m]*.txt ../PM_spec $XORG_PREFIX/share/doc/xorgproto-2021.5

Command Explanations

install -vm 644 ../[^m]*.txt ../PM_spec ...: The meson build system does not install the text files into /usr/share/doc. The [^m] part prevents copying the meson_options.txt file.

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

Last updated on Thu Sep 16 15:45:52 2021