1d9d3a8d2Smrglibxcvt
2d9d3a8d2Smrg=======
3d9d3a8d2Smrg
4d9d3a8d2Smrg`libxcvt` is a library providing a standalone version of the X server
5d9d3a8d2Smrgimplementation of the VESA CVT standard timing modelines generator.
6d9d3a8d2Smrg
7d9d3a8d2Smrg`libxcvt` also provides a standalone version of the command line tool
8d9d3a8d2Smrg`cvt` copied from the Xorg implementation and is meant to be a direct
9d9d3a8d2Smrgreplacement to the version provided by the `Xorg` server.
10d9d3a8d2Smrg
11d9d3a8d2SmrgAn example output is:
12d9d3a8d2Smrg
13d9d3a8d2Smrg```
148db88b12Smrg$ cvt --verbose 1920 1200 75
15d9d3a8d2Smrg# 1920x1200 74.93 Hz (CVT 2.30MA) hsync: 94.04 kHz; pclk: 245.25 MHz
16d9d3a8d2SmrgModeline "1920x1200_75.00"  245.25  1920 2064 2264 2608  1200 1203 1209 1255 -hsync +vsync
17d9d3a8d2Smrg```
18d9d3a8d2Smrg
19d9d3a8d2SmrgBuilding
20d9d3a8d2Smrg========
21d9d3a8d2Smrg
22d9d3a8d2Smrg`libxcvt` is built using [Meson](https://mesonbuild.com/)
23d9d3a8d2Smrg
24d9d3a8d2Smrg	$ git clone https://gitlab.freedesktop.org/xorg/lib/libxcvt.git
25d9d3a8d2Smrg	$ cd libxcvt
26d9d3a8d2Smrg	$ meson build/ --prefix=...
27d9d3a8d2Smrg	$ ninja -C build/ install
28d9d3a8d2Smrg	$ cd ..
29d9d3a8d2Smrg
30d9d3a8d2SmrgCredit
31d9d3a8d2Smrg======
32d9d3a8d2Smrg
33d9d3a8d2SmrgThe code base of `libxcvt` is identical to `xf86CVTMode()` therefore
34d9d3a8d2Smrgall credits for `libxcvt` go to the author (Luc Verhaegen) and
35d9d3a8d2Smrgcontributors of `xf86CVTMode()` and the `cvt` utility as found in the
36d9d3a8d2Smrg[xserver](https://gitlab.freedesktop.org/xorg/xserver/) repository.
37