#### Beyond Linux® From Scratch (System V Edition) - Version 12.3

### Chapter 24. Graphical Environments

- Prev

  util-macros-1.20.2

- Next

  libXau-1.0.12

- Up
- Home

# xorgproto-2024.1

## 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.3 platform.

### Package Information

- Download (HTTP): https://xorg.freedesktop.org/archive/individual/proto/xorgproto-2024.1.tar.xz

- Download MD5 sum: 12374d29fb5ae642cfa872035e401640

- Download size: 744 KB

- Estimated disk space required: 8.4 MB

- Estimated build time: less than 0.1 SBU

### xorgproto Dependencies

#### Required

util-macros-1.20.2

#### Optional

fop-2.10, libxslt-1.1.42, xmlto-0.0.29 and asciidoc-10.2.1 (to build additional documentation)

### Note

There is a reciprocal dependency with fop-2.10. If you wish to build the documentation, you'll need to re-install the Protocol Headers after the installation is complete and fop-2.10 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 .. &&
    ninja

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

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

## Contents

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

- Prev

  util-macros-1.20.2

- Next

  libXau-1.0.12

- Up
- Home