summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2021-07-02 20:06:49 -0500
committerChun-wei Fan <fanchunwei@src.gnome.org>2021-07-09 10:35:21 +0800
commitc179ba16456dd8391f4646cdf00f71b6f21829d4 (patch)
tree85155b01e7c33997304ca6a0783b6653e15b0b70
parenta64314dfccfef4e274d95688ae31c30d63244869 (diff)
downloadlibrsvg-c179ba16456dd8391f4646cdf00f71b6f21829d4.tar.gz
Update COMPILING.md for cargo-c
-rw-r--r--COMPILING.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/COMPILING.md b/COMPILING.md
index fe2a9ce1..e3a03a71 100644
--- a/COMPILING.md
+++ b/COMPILING.md
@@ -33,6 +33,7 @@ minimum version is listed here; you may use a newer version instead.
* a C compiler and `make` tool; we recommend GNU `make`.
* rust 1.52 or later
* cargo
+* cargo-c 0.9 or later - https://github.com/lu-zero/cargo-c
**Mandatory dependencies:**
@@ -55,6 +56,8 @@ As of 2018/Feb/22, librsvg cannot be built in `debian stable` and
**Build dependencies on Debian Testing or Ubuntu 18.10:**
+**Note: cargo-c is not available yet; you need to install it by hand if you wish to build the C API library.**
+
```sh
apt-get install -y gcc make rustc cargo \
automake autoconf libtool gtk-doc-tools git \
@@ -71,7 +74,7 @@ PATH="$PATH:/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0"
### Fedora based systems
```sh
-dnf install -y gcc rust rust-std-static cargo make \
+dnf install -y gcc rust rust-std-static cargo cargo-c make \
automake autoconf libtool gtk-doc git redhat-rpm-config \
gdk-pixbuf2-devel gobject-introspection-devel \
libxml2-devel cairo-devel cairo-gobject-devel pango-devel
@@ -80,7 +83,7 @@ libxml2-devel cairo-devel cairo-gobject-devel pango-devel
### openSUSE based systems
```sh
-zypper install -y gcc rust rust-std cargo make \
+zypper install -y gcc rust rust-std cargo cargo-c make \
automake autoconf libtool gtk-doc git \
gdk-pixbuf-devel gobject-introspection-devel \
libxml2-devel cairo-devel pango-devel