-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide vendored tarball #126
Comments
I newer used
Something like this? |
Compiling now works until this point:
Rust: 1.33.0 |
|
command used for compilation:
|
Looks like a rustc bug. Not sure what I can do here. Here is the same issue. How can I reproduce it? The last command works fine on my machine. What environment do you have? |
Also, try disabling There was a similar bug: #110 |
Disabling LTO made it compile and the resulting OpenShot build can import SVG files successfully, thank you!
Yes, please do that, and also fix the tarball directory structure and maybe use tar.xz! |
What do you mean?
GitHub doesn't allow it in comments, but I will be able to publish it. |
Also, can you provide more info about your environment to fill the rustc bug? |
There is no directory |
Should it be there? Archive is a "directory" by itself. Not sure why we need this. |
Just download some random tarball from the internet (e.g. https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.0.3.tar.xz) and you will see that this is standard behavior. |
Put the following in a file called
Now execute the following commands:
|
Good, will test it tomorrow. I've added a new archive to the release tag. It's pretty big, mainly because of useless winapi dependencies. Will see what can be done here. Also, I've disabled |
I have updated the YAML build manifest above to use the new tarball (and also CARGO_HOME doesn't need to be set anymore apparently). |
Flatpak installation on Gentoo is a bit troublesome, so I will do this later. For now, a vendored archive is in place and I've disabled the LTO by default, so we can close this. |
I'm the maintainer of the OpenShot (https://www.openshot.org) flatpak (https://flatpak.org):
https://flathub.org/apps/details/org.openshot.OpenShot
https://github.com/flathub/org.openshot.OpenShot
In version
2.4.4
of OpenShot, a dependency onresvg
was added.While building the flatpak, no network access is permitted. To make compiling with cargo possible, other flatpaks like e.g. GNOME Fractal (https://gitlab.gnome.org/GNOME/fractal) use
cargo vendor
(https://crates.io/crates/cargo-vendor) to offer tarballs that bundle all rust dependencies:https://gitlab.gnome.org/GNOME/fractal/uploads/ad6a483327c3e9ef5bb926b89fb26e2b/fractal-4.0.0.tar.xz
The text was updated successfully, but these errors were encountered: