| 1 |
.. |
| 2 |
Please also check to see if OSS-Fuzz dependencies need to be changed (see oss_fuzz.rst). |
| 3 |
|
| 4 |
To compile librsvg, you need the following packages installed. The |
| 5 |
minimum version is listed here; you may use a newer version instead. |
| 6 |
|
| 7 |
**Compilers and build tools:** |
| 8 |
|
| 9 |
* a C compiler |
| 10 |
* `rust <https://www.rust-lang.org/>`_ 1.92.0 or later |
| 11 |
* `cargo <https://www.rust-lang.org/>`_ |
| 12 |
* ``cargo-cbuild`` from `cargo-c <https://github.com/lu-zero/cargo-c>`_ |
| 13 |
* `meson <https://mesonbuild.com/>`_ |
| 14 |
* `vala <https://vala.dev/>`_ (optional) |
| 15 |
|
| 16 |
**Mandatory dependencies:** |
| 17 |
|
| 18 |
* `Cairo <https://gitlab.freedesktop.org/cairo/cairo>`_ 1.18.0 with PNG support |
| 19 |
* `Freetype2 <https://gitlab.freedesktop.org/freetype/freetype>`_ 2.8.0 |
| 20 |
* `GLib <https://gitlab.gnome.org/GNOME/glib/>`_ 2.50.0 |
| 21 |
* `Libxml2 <https://gitlab.gnome.org/GNOME/libxml2>`_ 2.9.0 |
| 22 |
* `Pango <https://gitlab.gnome.org/GNOME/pango/>`_ 1.50.0 |
| 23 |
|
| 24 |
**Optional dependencies:** |
| 25 |
|
| 26 |
* `GDK-Pixbuf <https://gitlab.gnome.org/GNOME/gdk-pixbuf/>`__ 2.20.0 |
| 27 |
* `GObject-Introspection <https://gitlab.gnome.org/GNOME/gobject-introspection>`_ 0.10.8 |
| 28 |
* `gi-docgen <https://gitlab.gnome.org/GNOME/gi-docgen>`_ |
| 29 |
* `python3-docutils <https://pypi.org/project/docutils/>`_ |
| 30 |
* `dav1d <https://code.videolan.org/videolan/dav1d>`_ 1.3.0 (to support the AVIF image format) |