libxcvt-0.1.2

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.

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

This package does not come with a test suite.

Now, as the root user:

ninja install

32-bit Installation of libxcvt

First clean the build directory:

rm -rf *

Install lib32-libxcvt by running the following commands:

CC="gcc -m32" CXX="g++ -m32"    \
PKG_CONFIG_PATH=/usr/lib32      \
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

--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.so
Installed Directory: /usr/include/libxcvt

Short Descriptions

cvt

calculates VESA Coordinated Video Timing (CVT) modelines for use with X

libxcvt.so

contains functions for calculating VESA CVT