EKA2L1 icon indicating copy to clipboard operation
EKA2L1 copied to clipboard

Flatpak binary

Open ludgie opened this issue 4 years ago • 4 comments

Hello, the emulator is great, could be possible to publish a flatpak binary on https://flathub.org ? thanks a lot

ludgie avatar Oct 16 '21 22:10 ludgie

I wish I know how to pack the emulator to both flatpak and appimage format, but it seems complicated and I don't have much more time to dig into it yet. I wish someone can help.

pent0 avatar Oct 22 '21 02:10 pent0

+1 For this I would love to use this easily on my steamdeck.

Ma5t3rful avatar Dec 02 '22 07:12 Ma5t3rful

Flathub has its own build server and bot that automatically syncs source version. So theoretically all you need is submit a manifest file and it should automagically work.

dogtopus avatar Feb 19 '23 15:02 dogtopus

I started a manifest file for EKA2L1 https://github.com/dogtopus/com.one2l1.EKA2L1

So far it builds fine with some workarounds:

  1. mbedTLS programs must be disabled due to a bug in GCC 12's -Werror=use-after-free causing mbedTLS test cases to fail to build.
  2. Test cases fail to build. Seems like they are outdated and broken anyway as some function signatures don't match the current definition.
  3. Tools seem to build fine after changing experimental/filesystem to filesystem and remove the libstdc++fs reference, but I disabled them anyway. If they are needed they can be re-enabled easily.

However I still can't start the emulator and it would crash with No current device is available.. Not sure what's going on here. Helps are welcome.

I /run/build/EKA2L1/src/emu/qt/src/state.cpp:81 [Frontend.Cmdline]: EKA2L1 v0.0.1 (HEAD-aacb327)
E /run/build/EKA2L1/src/emu/system/src/devices.cpp:160 [System]: Devices file not found (or is invalid)!
E /run/build/EKA2L1/src/emu/qt/src/state.cpp:130 [Frontend.Cmdline]: No current device is available. Stage two initialisation abort

Also I'm not sure if it's needed, but I also have a script that switches to the emulator installation directory and launches the emulator from there.

dogtopus avatar Feb 20 '23 03:02 dogtopus