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 (HTTP): https://www.x.org/pub/individual/lib/libxcvt-0.1.2.tar.xz
Xorg build environment (should be set for the following instructions to work)
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
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
--buildtype=release
:
Specify a buildtype suitable for stable releases of the package, as
the default may produce unoptimized binaries.