mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-04-25 08:05:56 +03:00
[GH-ISSUE #190] [Linux] Flatpak packaging request #86
Labels
No labels
android
bug
documentation
enhancement
good first issue
help wanted
linux
pull-request
reverse-engineering
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librepods#86
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @renner0e on GitHub (Aug 16, 2025).
Original GitHub issue: https://github.com/kavishdevar/librepods/issues/190
Originally assigned to: @kavishdevar on GitHub.
Would be nice if this was available on https://flathub.org/
I made a manifest over here:
https://github.com/renner0e/flathub/tree/io.github.kavishdevar.Librepods
currently it fails with this error:
the binary itself works if you just execute it.
Probably needs some weird permission or something.
I don't have the hardware myself so I can't really test this :(
@tim-gromeyer commented on GitHub (Aug 16, 2025):
Thank you for your work! I also tried it, but also got an error. the app itself opens/works, but we get a error for the Bluetooth service discovery, which is needed for the app to work. I thinking we would have to create a issue at the Flatpak Qt runtime repo
@renner0e commented on GitHub (Aug 17, 2025):
there are other Bluetooth QT apps on flathub. Maybe we can look at what they do?
https://github.com/EbonJaeger/bluejay/
@cungureanu commented on GitHub (Oct 19, 2025):
hello @renner0e, I've encountered the same issue while packaging librepods in a fedora container. The missing dependency is
bluez.Running this on fedora container fixed it:
sudo dnf install bluezI suspect it is missing from KDE runtime as well.
@renner0e commented on GitHub (Oct 19, 2025):
correct it's not added in the kde runtime, but the fdo one has it already, this is not the issue I think
@cungureanu commented on GitHub (Oct 20, 2025):
You're right, for flatpak it was not bluez the issue.
Anyway, I looked at the CMakeLists.txt and the minimum QT6 version is: 6.4
After changing the runtime and Sdk to 6.4 the app runs without issues.
This is what I observed:
The issue now is that all those that are OK are EOL runtimes.
@renner0e commented on GitHub (Oct 20, 2025):
Thank you for investigating that!
@kavishdevar commented on GitHub (Oct 20, 2025):
I have removed the specific version requirement. And, I tested on my PC without flatpak. Lemme know if anything else is needed for flatpak.
@renner0e commented on GitHub (Oct 20, 2025):
funnily enough, at some point the application stopped building for me
@cungureanu commented on GitHub (Oct 20, 2025):
I can still build it
@kavishdevar commented on GitHub (Oct 22, 2025):
Huh, I don't understand the problem here:
Does anyone know how to get around this?
@renner0e commented on GitHub (Oct 22, 2025):
this seems to work, you need network permission
@kavishdevar commented on GitHub (Oct 22, 2025):
oh, who could've guessed that the bluetooth permission isn't sufficient for bluetooth! thanks!
@kavishdevar commented on GitHub (Nov 9, 2025):
In the works! No platform-dependent stuff.
(And yes, I am gonna add support for various headphones, not just AirPods, similar to MagicPods for Windows)
Now the only problem is CI, I think flathub doesn't allow the build process to have network access, so I would probably have to put all crates in a tarball that can be downloaded and built. Any better suggestions? Flathub says that they could make exceptions, but I don't know if it's worth the effort.
Alternatively, (I know the description of the issue says Flathub), I could host a flatpakrepo too.
Open for suggestions! I am looking for ways to package and distribute the new app.
@renner0e commented on GitHub (Nov 9, 2025):
@kavishdevar use this
https://github.com/flatpak/flatpak-builder-tools/tree/master/cargo
Flathub will not allow network access during the build, you'd throw out all the reproducibility out the window.
you may want to consider a maintenance script like this here
https://github.com/flathub/io.github.doukutsu_rs.doukutsu-rs/blob/master/update-deps.sh
@renner0e commented on GitHub (Nov 9, 2025):
building a flatpak in ci could be as easy as this
https://github.com/wwmm/easyeffects/blob/master/.github/workflows/CI.yaml
or this
https://github.com/kolunmi/bazaar/blob/master/.github/workflows/build-flatpak.yml
@kavishdevar commented on GitHub (Nov 9, 2025):
Exactly what I needed- thank you, @renner0e!