libxcb-1.17.0

#### Gaming Linux® From Scratch - Version 13.0

### Chapter 8. Basic X11 Software

- Prev

  xcb-proto-1.17.0

- Next

  Which-2.23 and Alternatives

- Up
- Home

# libxcb-1.17.0

## Introduction to libxcb

The libxcb package provides an interface to the X Window System protocol, which replaces the current Xlib interface. Xlib can also use XCB as a transport layer, allowing software to make requests and receive responses with both.

- Download: https://xorg.freedesktop.org/archive/individual/lib/libxcb-1.17.0.tar.xz

### libxcb Dependencies

Required
libXau-1.0.12, libXdmcp-1.1.5, and xcb-proto-1.17.0

## Installation of libxcb

Install libxcb by running the following commands:

    ./configure $XORG_CONFIG      \
                --without-doxygen \
                --docdir='${datadir}'/doc/libxcb-1.17.0 &&

    make

Now, as the `root` user:

    make install

If the package was built as a non-`root` user, the installed documentation is now owned by this user. As the `root` user, fix the ownership:

    chown -Rv root:root /usr/share/doc/libxcb-1.17.0

## lib32 Installation of libxcb

Install lib32-libxcb by running the following commands:

    make distclean &&
    CC="gcc -m32" CXX="g++ -m32" PKG_CONFIG_PATH=/usr/lib32/pkgconfig \
    ./configure $XORG_CONFIG --libdir=/usr/lib32 &&
    make

Now, as the `root` user:

    make DESTDIR=$PWD/DESTDIR install                      &&
    cp -vr DESTDIR/usr/lib32/* /usr/lib32                  &&
    rm -rf DESTDIR                                         &&
    ldconfig

## Command Explanations

### Note

Run ./configure --help for a full list of options.

`--without-doxygen`: Do not use doxygen to generate API documentation (default: auto). Without it, if doxygen is installed, the API documentation will be generated and installed.

## Contents

Installed Programs: None
Installed Libraries: libxcb, libxcb-composite, libxcb-damage, libxcb-dbe, libxcb-dpms, libxcb-dri2, libxcb-dri3, libxcb-glx, libxcb-present, libxcb-randr, libxcb-record, libxcb-render, libxcb-res, libxcb-screensaver, libxcb-shape, libxcb-shm, libxcb-sync, libxcb-xf86dri, libxcb-xfixes, libxcb-xinerama, libxcb-xinput, libxcb-xkb, libxcb-xtest, libxcb-xvmc, and libxcb-xv
Installed Directories: /usr/include/xcb and /usr/share/doc/libxcb-1.17.0

### Short Descriptions

`libxcb` | is an interface to the X Window System protocol

- Prev

  xcb-proto-1.17.0

- Next

  Which-2.23 and Alternatives

- Up
- Home