Skip to content
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

Package for Flatpak #15

Open
C0rn3j opened this issue Sep 1, 2024 · 2 comments
Open

Package for Flatpak #15

C0rn3j opened this issue Sep 1, 2024 · 2 comments

Comments

@C0rn3j
Copy link
Owner

C0rn3j commented Sep 1, 2024

AppImage is pain, let's package this for Flatpak instead.

https://docs.flatpak.org/en/latest/first-build.html

Currently it seems we can't even run the Ubuntu 24.04 image on Debian 12 due to older glibC.

# ldd --version
ldd (Debian GLIBC 2.36-9+deb12u8) 2.36

# ldd --version
ldd (Ubuntu GLIBC 2.39-0ubuntu8.2) 2.39

 # ./sc-controller-v0.4.8.20-noble-x86_64.AppImage 
APPRUN_ERROR: No such file or directory
@git-developer
Copy link

I agree that AppImage is pain. Issues are hard to tackle. The reported error is not glibc related IMHO, it's caused by differences in the directory structure between Jammy (22.04) and Noble (24.04). I already fixed this locally. Unfortunately, the Noble AppImage causes a segmentation fault when run, even when the host is Noble, too. I'm currently setting up automated tests for the AppImage build, running on several host OSs. I'll open a PR once this is ready for review.

Switching to flatpak might be an alternative to all this hassle. Actually, I can't tell because I never touched it.

@git-developer
Copy link

The reported error should be fixed now. Nevertheless Flatpak might be an interesting alternative for AppImage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants