-
Notifications
You must be signed in to change notification settings - Fork 69
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
Publish releases on Snap or Flatpak #103
Comments
I've merged 2 PRs that should help with linux packaging in general, allowing to set important paths. |
For Flatpak, I've worked on org.libretro.RetroArch. Could use that as a frame of reference. |
Hi! Can I take up this issue. |
Yes |
@kivutar I have a working snap but I run into an issue with $HOME path. Snaps rewrite $HOME internally to separate and restrict environment (confinement good because roms). Problem is path to settings always resolves to /home/user/.ludo no matter what $HOME is set to and that is not accessible to ludo from snap. So I need to change path resolving to respect $HOME env. @RobLoach Is this a problem for flatpak also? |
That's by-design for both flatpak and snap. It tries to protect the home directory by pseudo-sandboxing the environments. For Flatpak, we added See https://github.com/libretro/retroarch-snap for some inspiration. Strange that while the environment setting is overwriten, it's still forced to /home/user/.ludo. Do you have any idea why that is? snap/flatpak do a pretty good job overwriting those, so I'm rather surprised. |
It's because Snap is working and runs roms manually but unable to load/save anything in .ludo because of $HOME issue. |
OK I've merged your PR |
Nice. I'm waiting on snapcrafters to grant auto-connections for ludo snap (joystick and reading access for usb drives and $HOME/.ludo). Snap is made from Ludo's latest Github release so I'm also waiting for next release. I can change it to build from source but if I do that it will build with different core versions #108. After that I'll share it for people to test. |
I made a new release @predr |
That's great snap-side. What about Flatpak? |
Fixed remaining issues, next step is changing snap visibility from Edit: Switched to |
Hi all, I will use it as my main ludo instance next days. What would be the next steps? |
Cool, so we have both snap and flatpack working if I understand well? |
Snap is done. https://snapcraft.io/ludo Flatpak still needs to be put in store. https://flathub.org/apps/search/ludo |
Hello, I am using my flatpak package for a few weeks and it seems to work well. However, he can't be submitted to Flathub yet because it miss some requirements:. I will fix soon the easy ones:
However, one looks problematic:
Source: https://github.com/flathub/flathub/wiki/App-Requirements |
Thanks a lot guys for taking care of this. @pdureau What about using the binary releases here? They are tarballs https://github.com/libretro/ludo/releases and already include all the files. Or flathub really insists on building from source? |
Nice work, all! Looks like a solid manifest. Is there a way to use the manifest without having to publish to flathub? Their workflow is pretty strict, and could hold us back on release cycles. |
I'm OK to merge a PR that adds this |
Hi @pdureau |
Hi @kivutar |
I added support for XDG, I hope it can help. |
@pdureau Flatpak support would be fantastic! |
was hoping to try this on my steam deck, need that flatpak! |
It would be wonderful if you could set this up as a snap or a flatpak application. It would help with making it easier to test and use on different distributions on Linux. Really great looking project btw 👍
The text was updated successfully, but these errors were encountered: