Dear all,
I currently maintain `rust-pore` across Fedora and EPEL, but
unfortunately development on the open source repo has stalled - this
was used at work but recent activity is mostly on an internal fork
(alas).
Since it's causing an issue with keeping the set of Rust crates up to
date (it's needed patching to either compile with newer crates, or has
to be compiled with compatibility packages), I'd like to request having
it retired in EPEL 8 and 9.
Best regards,
--
_o) Michel Lind
_( ) https://keyoxide.org/5dce2e7e9c3b1cffd335c1d78b229d2f7ccc04f2
README: https://fedoraproject.org/wiki/User:Salimma#README
I would like to package wayscriber [1], which is written in Rust,
for Fedora. I have not yet created a package for software written in
Rust, but I have packaged software written in C, Python, Go, and other
languages. My hugo package is an example of Go a package that makes use
of vendored dependencies.
The trouble with wayscriber is twofold: it relies on Rust crates that
are not yet packaged, and it relies on Rust crates that are packaged,
but at an incompatible version.
Here is what I see when I try to build:
[...]
error: Failed build dependencies:
(crate(iced/canvas) >= 0.12.0 with crate(iced/canvas) < 0.13.0~) is needed by wayscriber-0.9.9.3-1.fc43.x86_64
(crate(iced/default) >= 0.12.0 with crate(iced/default) < 0.13.0~) is needed by wayscriber-0.9.9.3-1.fc43.x86_64
(crate(iced/tokio) >= 0.12.0 with crate(iced/tokio) < 0.13.0~) is needed by wayscriber-0.9.9.3-1.fc43.x86_64
(crate(png/default) >= 0.17.0 with crate(png/default) < 0.18.0~) is needed by wayscriber-0.9.9.3-1.fc43.x86_64
(crate(schemars/default) >= 0.9.0 with crate(schemars/default) < 0.10.0~) is needed by wayscriber-0.9.9.3-1.fc43.x86_64
(crate(schemars/derive) >= 0.9.0 with crate(schemars/derive) < 0.10.0~) is needed by wayscriber-0.9.9.3-1.fc43.x86_64
(crate(smithay-client-toolkit) >= 0.20.0 with crate(smithay-client-toolkit) < 0.21.0~) is needed by wayscriber-0.9.9.3-1.fc43.x86_64
(crate(smithay-client-toolkit/calloop) >= 0.20.0 with crate(smithay-client-toolkit/calloop) < 0.21.0~) is needed by wayscriber-0.9.9.3-1.fc43.x86_64
(crate(smithay-client-toolkit/xkbcommon) >= 0.20.0 with crate(smithay-client-toolkit/xkbcommon) < 0.21.0~) is needed by wayscriber-0.9.9.3-1.fc43.x86_64
The first three dependencies (iced/*) are not packaged, and the others
are packaged at incompatible versions.
Does anyone have any advice on how to proceed? I see from the Rust
packaging guidelines [2] that vendored dependencies are discouraged.
I did fiddle around with rust2rpm (I am familiar with go2rpm). However,
I do not think that wayscriber itself in at crates.io.
It looks like cosmic-panel.spec also uses iced and as a vendored
dependency. I thought that might be a good model, but I have not
successfully generated vendor-config-X.toml and vendo-X.tar.gz (using
rust2rpm?).
[1] https://wayscriber.com/
[2] https://docs.fedoraproject.org/en-US/packaging-guidelines/Rust/
--
Mike
:wq