hpjansson / chafa

📺🗿 Terminal graphics for the 21st century.
https://hpjansson.org/chafa/
GNU Lesser General Public License v3.0
2.92k stars 63 forks source link

[Request] Standalone executables available for linux/arm64 and MasOS/arm64 #223

Open lunrenyi opened 2 weeks ago

lunrenyi commented 2 weeks ago

Hi, Chafa is an awesome tool! I found a standalone executable for the x86_64 architecture, but I couldn't find one for arm64. Would you be able to provide standalone executables for linux/arm64 and MasOS/arm64? image

Thank you for sharing the chafa! :)

hpjansson commented 2 weeks ago

I can do linux/arm64 without too much trouble, but MacOS is harder as I have no Mac to build/test it on.

Would linux/arm64 be sufficient?

GuardKenzie commented 2 weeks ago

GitHub does provide ARM and x86 macOS runners so it might be possible to build those using GitHub Actions

hpjansson commented 1 week ago

GitHub does provide ARM and x86 macOS runners so it might be possible to build those using GitHub Actions

Good point. I think that should be tried first. Producing a statically linked binary requires some trickery (i.e. building the whole stack including glib and its deps, and maybe patching out some subsystems we don't need), but it'd be a relief to have it running in a proper build env.