Question 3) Taking the old package as base and after setting up sbuild
modifying it, I currently have following control file:
If fixed this, by taking the rules file from:
https://wiki.debian.org/Gnome/Rust_Packaging
instead of a plain dh file, now I get:
---
[43/46] /usr/bin/env
CARGO_HOME=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cargo-home
/usr/share/cargo/bin/cargo build --manifest-path
/<<PKGBUILDDIR>>/Cargo.toml --target-dir
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src --release && cp
src/release/authenticator src/authenticator
Updating crates.io index
error: failed to get `libadwaita` as a dependency of package
`authenticator v4.3.1 (/<<PKGBUILDDIR>>)`
---
The joke is libadwaita is literally the example on said instruction page:
> For instance adw = {package = "libadwaita", version = "0.4",
features = ["v1_3"]} translates to librust-libadwaita+v1_3-dev (>= 0.4).
But such package does not exist, not any other package with adwaita and
rust in its name, except librust-sctk-adwaita-dev, but I get from the
description it is "adwaita like" and not adwaita itself?