coppwr icon indicating copy to clipboard operation
coppwr copied to clipboard

Bump libpipewire dependency in libspa-sys to 1.0

Open Gooberpatrol66 opened this issue 1 year ago • 7 comments

libpipewire-0.3 is no longer packaged in my distro

Gooberpatrol66 avatar Mar 27 '24 18:03 Gooberpatrol66

What distro?
Is there a compiler error?

dimtpap avatar Mar 28 '24 08:03 dimtpap

What distro?

Guix

Is there a compiler error?

Yes, when built with pipewire 1.0. looks related to pipewire/spa

log.txt

Gooberpatrol66 avatar Mar 28 '24 20:03 Gooberpatrol66

Can you try building with -vv and post the output i.e. cargo build -vv

dimtpap avatar Mar 29 '24 06:03 dimtpap

log.txt

Gooberpatrol66 avatar Mar 31 '24 09:03 Gooberpatrol66

This doesn't look like it was ran with -vv. Aside from that, there are errors from the egui_node_graph crate too. It seems like you aren't getting the correct crates. egui_node_graph and pipewire used by this project are git dependencies, they don't come from crates.io. https://github.com/dimtpap/coppwr/blob/4e7239d4bd5b2f24f7ebec0a02c1054648a4425c/Cargo.toml#L18-L19

Also, each release has a -vendor.tar.gz archive that has all the creates vendored, maybe it could be useful for your use case

dimtpap avatar Apr 04 '24 06:04 dimtpap

Sorry, this should be correct log.txt

Aside from that, there are errors from the egui_node_graph crate too. It seems like you aren't getting the correct crates. egui_node_graph and pipewire used by this project are git dependencies, they don't come from crates.io.

Are they different forks or something? Using the git inputs causes cargo to try to fetch from the network, which doesn't work as it's building in a container, so I replaced them with crates of the same version.

Gooberpatrol66 avatar Apr 05 '24 04:04 Gooberpatrol66

Are they different forks or something?

Yes

Using the git inputs causes cargo to try to fetch from the network, which doesn't work as it's building in a container, so I replaced them with crates of the same version.

That's why the -vendor.tar.gz archives exist. They have all the correct crates needed predownloaded and a config file to tell cargo to use them. Flathub uses them to build the Flatpak version, which is also containerized and offline.

See also https://doc.rust-lang.org/cargo/commands/cargo-vendor.html

dimtpap avatar Apr 10 '24 16:04 dimtpap