File: CONTRIBUTING.rst

package info (click to toggle)
libvirt 7.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 143,760 kB
  • sloc: ansic: 502,517; xml: 180,512; python: 8,627; sh: 3,992; perl: 2,763; makefile: 509; javascript: 116; cpp: 22
file content (45 lines) | stat: -rw-r--r-- 1,057 bytes parent folder | download
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
37
38
39
40
41
42
43
44
45
=======================
Contributing to libvirt
=======================

Full, up to date information on how to contribute to libvirt can be
found on the libvirt website:

https://libvirt.org/contribute.html

To build the same document locally, from the top level directory of
your git clone run:

::

   $ meson build
   $ ninja -C build

You'll find the freshly-built document in ``docs/contribute.html``.

If ``meson setup`` fails because of missing dependencies, you can set
up your system by calling

::

   $ sudo dnf builddep libvirt

if you're on a RHEL-based distribution or

::

   $ sudo apt-get build-dep libvirt

if you're on a Debian-based one.

Note that, for the RHEL-based case, if you're on a machine where you
haven't done any C development before, you will probably also need
to run

::

   $ sudo dnf install gcc make ninja-build rpm-build

You might still be missing some dependencies if your distribution is
shipping an old libvirt version, but that will get you much closer to
where you need to be to build successfully from source.