[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Intend to update gnome-authenticator 3.32.2 to 4.3.1



On 04.09.23 00:38, Arnaud Ferraris wrote:
Hi Axel,

Le 01/09/2023 à 13:11, Axel Kittenberger a écrit :

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?

The libadwaita crate isn't in Debian yet, so very few Rust-based GNOME apps can be packaged for now. This is being worked on by Matthias (CC'ed in this mail as I'm not sure he is subscribed to this ML), but still needs some time before all the required deps make their way into Debian, IIRC.
Actually I'm working on updating the gtk-rs stack to the latest version (with regenerated code) and this should enable libadwaita to go through new.

In the meantime, feel free to check whether other required crates are missing from Debian, and ideally join the Rust team to help packaging those. You can also join #debian-rust to discuss those matters.

Thanks Arnaud for bringing this to my attention.

Hi Axel, libadwaita has indeed not yet been uploaded to the debian archive. This is due to some disagreement with ftp-masters, it couldn't be uploaded for the longest time, but that has been somewhat resolved.

In the meantime you can try to get the other missing dependencies for authenticator into debian. scrypt, search-provider and aes-gcm seem like good starting points. I can recommend reading https://blog.hackeriet.no/packaging-a-rust-project-for-debian/ to get started. Feel free to ask on the #debian-rust IRC channel on the OFTC network if you run into any questions.


best,

werdahias

Attachment: OpenPGP_0x18BD106B3B6C5475.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: