[librsvg: 1/2] (#855): Don't cargo-vendor the Rust dependencies anymore
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 1/2] (#855): Don't cargo-vendor the Rust dependencies anymore
- Date: Sat, 16 Jul 2022 03:18:12 +0000 (UTC)
commit 7e5e7e5b76d06e38017c154f73d2e6afb93b5808
Author: Federico Mena Quintero <federico gnome org>
Date: Fri Jul 15 21:25:13 2022 -0500
(#855): Don't cargo-vendor the Rust dependencies anymore
Librsvg's release tarballs started including the "cargo vendor"
sources for its Rust dependencies when Rust got first introduced into
the project, to make it as easly as possible for distributions to keep
building tarballs as usual.
Nowadays, most distros have tooling to pre-download Rust dependencies
for packages that use Rust. So, let's stop vendoring the deps into
the tarballs, to make them much smaller.
Fixes #855.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/718>
Makefile.am | 7 -------
cargo-vendor-config | 11 -----------
2 files changed, 18 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 8ae5d21a1..0d85655b8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -122,7 +122,6 @@ LIBRSVG_SRC = \
RUST_EXTRA = \
Cargo.lock \
- cargo-vendor-config \
example.svg \
benches/box_blur.rs \
benches/composite.rs \
@@ -174,12 +173,6 @@ distcheck-hook:
exit 1; \
fi
-dist-hook:
- (cd $(distdir) && \
- $(CARGO) vendor -q && \
- mkdir .cargo && \
- cp cargo-vendor-config .cargo/config)
-
librsvg_c_api.la: $(librsvg_c_api_la_OBJECTS) $(LIBRSVG_SRC)
+cd $(top_srcdir) && \
PKG_CONFIG_ALLOW_CROSS=1 \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]