-
Notifications
You must be signed in to change notification settings - Fork 24
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
Build pipewire and libcamera from source #216
base: gnome-46-2404-sdk
Are you sure you want to change the base?
Build pipewire and libcamera from source #216
Conversation
It would definitely be a great thing to finally have a Pipewire implementation that actually works with Snaps! |
Are you sure about pipewire? I mean: pipewire runs outside, in the "host" operating system, and in 24.04 the patch is applied, those permissions are being enforced (just checked again right now, just in case). It doesn't have to be added in gnome-46-2404-sdk. |
I also just learned that the hosts pipewire is being used by the JVM inside the snap. |
Oh, ok... but that problem is different, and my patches have nothing to do with that. |
I didn't actually created this PR for the issue mentioned above, but rather for some other reasons
|
|
But still, what is the problem in building it from the source? Is there really any downside of it? |
The downside is that it will be included inside your snap, occupying a lot of space for no reason. Also, it's easier to just add an entry with
than to build the complete pipewire. Or, at least, that's my opinion... |
To reiterate some context on the JVM bug linked above, Java is being weird in requiring From the concept of the portals, the whole Pipewire isn't anymore special than e.g Pulseaudio, which you don't bundle the full stack with snaps either because it's a client server/model where the server lives on the host, just like Pipewire, X11, Wayland, etc. (All of this is ignoring Ubuntu Core). |
Why will this be in a snap? And also the content anyways have pipewire in it. So, just replacing the repo pipewire with pipewire from source, I don't think will create much difference. https://github.com/ubuntu/gnome-sdk/blob/gnome-46-2404/snapcraft.yaml#L183 |
The pipewire in the repos doesn't have the pipewire with snap support that @sergio-costas recently added. Also builds libcamera from source, as they are not in the repos with their latest releases.
https://gitlab.freedesktop.org/pipewire/pipewire/-/releases/1.1.81