xenocara/lib/libxcvt
2024-04-29 00:35:41 +00:00
..
.gitlab-ci sync code with last improvements from OpenBSD 2023-08-28 05:57:34 +00:00
cvt sync code with last improvements from OpenBSD 2023-08-28 05:57:34 +00:00
include sync code with last improvements from OpenBSD 2023-08-28 05:57:34 +00:00
lib sync code with last improvements from OpenBSD 2023-08-28 05:57:34 +00:00
man sync code with last improvements from OpenBSD 2023-08-28 05:57:34 +00:00
COPYING sync code with last improvements from OpenBSD 2023-08-28 05:57:34 +00:00
libxcvt.pc.in sync code with last improvements from OpenBSD 2023-08-28 05:57:34 +00:00
Makefile sync with OpenBSD -current 2024-04-29 00:35:41 +00:00
Makefile.inc sync code with last improvements from OpenBSD 2023-08-28 05:57:34 +00:00
meson.build sync code with last improvements from OpenBSD 2023-08-28 05:57:34 +00:00
README.md sync code with last improvements from OpenBSD 2023-08-28 05:57:34 +00:00

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.