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

Package Information

xorgproto Dependencies




fop-2.5, libxslt-1.1.34, xmlto-0.0.28 and asciidoc-9.0.2 (to build additional documentation)



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

User Notes: http://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-2020.1 &&
install -vm 644 ../[^m]*.txt ../PM_spec $XORG_PREFIX/share/doc/xorgproto-2020.1

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

Last updated on 2018-02-18 22:04:14 +0100