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.

[Note]

Note

Development versions of GLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

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=$XORG_PREFIX --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=$XORG_PREFIX/lib32      \
meson setup --prefix=$XORG_PREFIX       \
            --libdir=$XORG_PREFIX/lib32 \
            --buildtype=release ..      &&
ninja

Now, as the root user:

DESTDIR=$PWD/DESTDIR ninja install
cp -vr DESTDIR/$XORG_PREFIX/lib32/* $XORG_PREFIX/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: $XORG_PREFIX/include/libxcvt

Short Descriptions

cvt

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

libxcvt.so

contains functions for calculating VESA CVT