-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Readme: Add Installation on Alpine Linux and Repology badge #42
Conversation
Thanks! Your package is a golden mine of interesting stuff! First of all, wow, it seems you managed to get it running with musl! I had some people asking about it, and my quick attempt failed. It would be cool to have necessary changes upstreamed, I'd also love to be able to provide pre-compiled musl variant as a Github release (not a big priority, a nice to have). Ack for #43, cc @cyrinux, we'll have a look into it! If you already know of some better alternatives, please don't hesitate to share 😉 Using
That entire |
@jirutka FYI ed074b0 should remove the need for some of your patches (one notable difference: To whoever is interested, regarding the above comments:
|
FYI: I read your comment and I will respond, I’m just too busy now. |
I’m glad you found it interesting. :)
Yes, but that wasn’t hard, the only problem was with v4l crate.
There’s a difference between building a rust project on Alpine (with system’s rustc) and cross-compiling it on a different distro with stock rustc. Our rustc is patched, mainly to link system libraries dynamically by default, i.e. the same what rustc do by default on glibc and others, but not for musl. It’s not a problem to build wluma with musl as a dynamically linked executable (at least when you do it on Alpine), but building it as a static executable would be tricky.
There’s also https://github.com/Gnurou/v4l2r, but I don’t know if it’s better, I don’t have any experience with these libraries.
I thought that Vulkan is a hard dependency for wluma. If it’s used just for
The main motivation for this was to reduce number of bundled dependencies and the size of the wluma package, not that it wouldn’t work on Alpine without it.
Also every rust app, yes. We’re about to define it globally so we don't have to override it in every aport.
You can read about them on https://doc.rust-lang.org/cargo/reference/profiles.html and decide. I’d certainly use
I thought that wayland is a hard dependency for wluma…? It’s right at the beginning of the README:
Yes.
True.
You probably use Linker-plugin-LTO, right? We’re considering it for Alpine as well. |
Oh I see, thanks for the clarification, makes sense.
Is there any way you can recommend for me to easily check if the library will give you problem, before we spend a lot of time researching how to adapt code to it?
The answer is the same for both: I didn't realize that there would be so many people actually using
It seems this was the way to go but now that you pointed it out, I dont actually see how this is enabled, I will investigate, thanks for the link 👍
👍 |
No description provided.