jwr1 / interstellar

An app for Mbin and Lemmy, connecting you to the fediverse.
https://kbin.earth/m/interstellar
GNU General Public License v3.0
50 stars 6 forks source link

Arm64 GNU/Linux flatpak? #32

Open danialbehzadi opened 7 months ago

danialbehzadi commented 7 months ago

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.

jwr1 commented 7 months ago

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

coolymike commented 3 months ago

@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.

jwr1 commented 3 months ago

@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 commented 3 months ago

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.

coolymike commented 3 months ago

Ah alright, thanks for the update!

jwr1 commented 2 months ago

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.