Flatpak binary
Hello, the emulator is great, could be possible to publish a flatpak binary on https://flathub.org ? thanks a lot
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.
+1 For this I would love to use this easily on my steamdeck.
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.
I started a manifest file for EKA2L1 https://github.com/dogtopus/com.one2l1.EKA2L1
So far it builds fine with some workarounds:
- mbedTLS programs must be disabled due to a bug in GCC 12's
-Werror=use-after-freecausing mbedTLS test cases to fail to build. - Test cases fail to build. Seems like they are outdated and broken anyway as some function signatures don't match the current definition.
- Tools seem to build fine after changing
experimental/filesystemtofilesystemand remove thelibstdc++fsreference, 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.