summaryrefslogtreecommitdiff
path: root/lib/libxcvt/README.md
blob: 619b354c03fd3490e993bba962830045351ebfab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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](https://mesonbuild.com/)

	$ 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](https://gitlab.freedesktop.org/xorg/xserver/) repository.