dsrw / enu

A Logo-like 3D environment, implemented in Nim
http://getenu.com
MIT License
449 stars 15 forks source link

AppImage for Linux #25

Closed moigagoo closed 1 year ago

moigagoo commented 1 year ago

Hi!

AppImage [1] is a relatively new package format for Linux that it particularly handy for games.

The cool thing about it is that all the right versions of the dependencies are in the package. For example, I can't run Enu on my current distribution because Enu requires glibc 2.34 whereas the repos only offer 2.33.

1: https://en.wikipedia.org/wiki/AppImage

dsrw commented 1 year ago

Sounds good to me. Thoughts on Snap and Flatpak? Is AppImage alone enough to support most Linux users, or should I offer one/both of the other formats as well?

moigagoo commented 1 year ago

AppImage is the way to go, forget about Snap or Flatpak. From my experience, only AppImage is truly portable.

dsrw commented 1 year ago

There's now an AppImage built as part of CI, and it will be included in the next release. There's a build here: https://github.com/dsrw/enu/actions/runs/4768970337.

It doesn't include any library dependencies, but Godot apps statically link pretty much everything, so I think that should be ok. I also switched the build to an older Ubuntu version, which should help with glibc issues.

Please reopen the ticket if you run into any problems. Enu is partially broken ATM, so expect bugs, but I think the AppImage should work as well as any other version.

dsrw commented 1 year ago

Never mind, the AppImage still has problems. I'll have it sorted soon.

dsrw commented 1 year ago

I was hitting a race condition unrelated to the AppImage. I think the AppImage is working properly, and the race condition has been fixed.