Debian Codegraph @

debian/README.source

raw
1 Re-vendoring librsvg
2 ====================
3
4 Upstream stopped vendoring their releases. For now, we re-vendor
5 the crates under debian/missing-sources so we can build the package.
6 To do so, run the following steps for a new upstream release:
7
8 $ rm -rf debian/missing-sources
9 $ cargo vendor-filterer --platform='*-*-linux-gnu' --platform '*-*-linux-gnueabi' --all-features debian/missing-sources/
10 $ git add -f debian/missing-sources
11 $ git commit -m "Update vendored Rust crates"
12 $ git reset --hard
13
14 $ rm debian/source/include-binaries
15 $ dpkg-source --include-binaries -b .
16 $ git add debian/source/include-binaries
17 $ git commit -m "Update debian/source/include-binaries"
18 $ git reset --hard && git clean -fdx
19
20 This requires rust-cargo-vendor-filterer which as of March 2025 is packaged
21 for Ubuntu but not yet for Debian. You can either use the Ubuntu package or
22 replace the vendor-filterer command with a simple
23 $ cargo vendor debian/missing-sources/
24
25 TODO
26 ====
27 - Specify specific platforms for vendor-filterer
28 Does this make a difference?
29 - Identify the specific features we need instead of all-features
30 - Script the revendoring commands