libxcvt-0.1.3

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

### Chapter 8. Basic X11 Software

- Prev

  Xorg Libraries

- Next

  XCB Utils

- Up
- Home

# libxcvt-0.1.3

## Introduction to libxcvt

libxcvt is a library providing a standalone version of the X server implementation of the VESA CVT standard timing modelines generator. It is meant to be a direct replacement to the version formerly provided by the Xorg server.

- Download: https://xorg.freedesktop.org/archive/individual/lib/libxcvt-0.1.3.tar.xz

### libxcvt Dependencies

Required
Xorg build environment (should be set for the following instructions to work)

## Installation of libxcvt

Install libxcvt by running the following commands:

    mkdir build &&
    cd    build &&

    meson setup --prefix=/usr --buildtype=release .. &&
    ninja

Now, as the `root` user:

    ninja install

## lib32 Installation of libxcvt

Install lib32-libxcvt by running the following commands:

    rm -rf * &&
    CC="gcc -m32" CXX="g++ -m32"         \
    PKG_CONFIG_PATH=/usr/lib32/pkgconfig \
    meson setup --prefix=/usr            \
                --libdir=/usr/lib32      \
                --buildtype=release      \
                .. &&

    ninja

Now, as the `root` user:

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

## Command Explanations

### Note

Inspect `meson_options.txt` or `meson.options` for a full list of options.

`--buildtype=release`: Specify a buildtype suitable for stable releases of the package, as the default may produce unoptimized binaries.

## Contents

Installed Program: cvt
Installed Library: libxcvt
Installed Directory: /usr/include/libxcvt

### Short Descriptions

cvt | calculates VESA Coordinated Video Timing (CVT) modelines for use with X
`libxcvt` | contains functions for calculating VESA CVT

- Prev

  Xorg Libraries

- Next

  XCB Utils

- Up
- Home