openbsd-xenocara/lib/libxcvt
matthieu 763e4f241a fix libxcvt.pc 2023-09-06 20:36:50 +00:00
..
.gitlab-ci
cvt
include
lib Update libxcvt to version 0.1.2. 2022-08-07 07:29:26 +00:00
man
.gitlab-ci.yml
COPYING
Makefile fix libxcvt.pc 2023-09-06 20:36:50 +00:00
Makefile.inc Add definitions to install the man page in the correct place. 2021-10-27 21:26:07 +00:00
README.md
libxcvt.pc.in PREFIX -> prefix 2021-10-27 16:39:08 +00:00
meson.build Update libxcvt to version 0.1.2. 2022-08-07 07:29:26 +00:00

README.md

libxcvt

libxcvt is a library providing a standalone version of the X server implementation of the VESA CVT standard timing modelines generator.

libxcvt also provides a standalone version of the command line tool cvt copied from the Xorg implementation and is meant to be a direct replacement to the version provided by the Xorg server.

An example output is:

$ $ cvt --verbose 1920 1200 75
# 1920x1200 74.93 Hz (CVT 2.30MA) hsync: 94.04 kHz; pclk: 245.25 MHz
Modeline "1920x1200_75.00"  245.25  1920 2064 2264 2608  1200 1203 1209 1255 -hsync +vsync

Building

libxcvt is built using Meson

$ git clone https://gitlab.freedesktop.org/xorg/lib/libxcvt.git
$ cd libxcvt
$ meson build/ --prefix=...
$ ninja -C build/ install
$ cd ..

Credit

The code base of libxcvt is identical to xf86CVTMode() therefore all credits for libxcvt go to the author (Luc Verhaegen) and contributors of xf86CVTMode() and the cvt utility as found in the xserver repository.