File: README.source

package info (click to toggle)
librsvg 2.60.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 140,720 kB
  • sloc: python: 2,913; ansic: 2,333; sh: 1,022; makefile: 95; xml: 14; javascript: 9
file content (31 lines) | stat: -rw-r--r-- 1,166 bytes parent folder | download | duplicates (2)
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
Re-vendoring librsvg
====================

Upstream stopped vendoring their releases. For now, we re-vendor
the crates under debian/missing-sources so we can build the package.
To do so, run the following steps for a new upstream release:

$ rm -rf debian/missing-sources
$ mkdir debian/missing-sources
$ cargo vendor-filterer --platform='*-*-linux-gnu' --platform '*-*-linux-gnueabi' --all-features debian/missing-sources/
$ git add -f debian/missing-sources
$ git commit -m "Update vendored Rust crates"
$ git reset --hard

$ rm debian/source/include-binaries
$ dpkg-source --include-binaries -b .
$ git add debian/source/include-binaries
$ git commit -m "Update debian/source/include-binaries"
$ git reset --hard && git clean -fdx

This requires rust-cargo-vendor-filterer which as of March 2025 is packaged
for Ubuntu but not yet for Debian. You can either use the Ubuntu package or
replace the vendor-filterer command with a simple
$ cargo vendor debian/missing-sources/

TODO
====
- Specify specific platforms for vendor-filterer
  Does this make a difference?
- Identify the specific features we need instead of all-features
- Script the revendoring commands