interstellar icon indicating copy to clipboard operation
interstellar copied to clipboard

Arm64 GNU/Linux flatpak?

Open danialbehzadi opened this issue 1 year ago • 6 comments

Describe the feature you'd like to request

In Flathub and Github releases, interstellar is only packaged for GNU/Linux in amd64.

Please add the arm64 package too.

danialbehzadi avatar Apr 14 '24 07:04 danialbehzadi

I think it would be great to have arm64 Linux support, but unfortunately, I don't think it's viable at the moment. All of the release files for Interstellar are compiled on GitHub action runners, which unfortunately does not have a Linux arm image yet. An alternative could be cross-compilation, but Flutter does not have support for Linux cross architecture compilation yet either. Further, a third solution would be to compile the app directly on Flathub servers whenever a new release is created, but this won't work either as it's very difficult to compile Flutter apps directly through Flathub, and even if we did get that working, we still wouldn't have raw Linux arm releases (.AppImage and .tar.gz files) in our GitHub releases section (it would only be available straight through Flathub). If someone has any other ideas to get this working, I'm all ears, but I think we might just need to wait this out.

Here are some upstream issues that would help with an arm linux build when resolved: https://github.com/actions/runner-images/issues/5631 https://github.com/flutter/flutter/issues/74929 https://github.com/flutter/flutter/issues/41737

jwr1 avatar Apr 14 '24 18:04 jwr1

@jwr1 Please re-review this issue, the upstream issues mentioned have been closed. I would highly prefer an aarch64 Linux version of this app over my current Android container setup, but I'm having no luck building the application myself.

coolymike avatar Aug 12 '24 11:08 coolymike

@coolymike, unfortunately, the first two issues I listed were closed without actually being resolved. The third issue I linked seems to have been completely deleted.

Suffice it to say neither of those upstream issues have been resolved yet.

jwr1 avatar Aug 12 '24 13:08 jwr1

It's possible I could set up a self-hosted action runner (on arm) in the meantime, though, which would allow us to build the arm version. It would still be preferable for GitHub to just add arm support themselves though.

jwr1 avatar Aug 12 '24 13:08 jwr1

Ah alright, thanks for the update!

coolymike avatar Aug 12 '24 19:08 coolymike

I just noticed this article that's saying arm64 github action runners will likely be available to open source projects by the end of the year! So that's a good sign for this issue.

Also relevant: https://github.com/flutter/flutter/issues/146949 & https://github.com/flutter/flutter/pull/61221.

jwr1 avatar Aug 29 '24 16:08 jwr1

Looks like Linux arm64 hosted runners are now available! We just need to update the GH actions to utilize it.

jwr1 avatar Feb 11 '25 03:02 jwr1

Already fixed in 151c0a47c1e85eba28326320de1c0573c5437661. It will be available once the next update is released. And once that happens, I will modify the Flathub config to include the new architecture.

jwr1 avatar Feb 20 '25 03:02 jwr1

@danialbehzadi, with the release out now, would you be able to test the Linux arm builds on your device (as I do not have such a device to test with)? The release includes a .tar.gz file, an .AppImage file, and Flathub support.

jwr1 avatar Feb 28 '25 15:02 jwr1