I’ve written a basic tutorial accompanied by a file structure and shell script to speed up the process of making an OF AppImage:
The summary of steps are:
- Compile your OF app in an Ubuntu 16.04 Virtual Machine
- On your host machine, run the provided shell script with your ‘app name’ and the provided directory as arguments
- Copy across the ‘app’ binary and ‘data’ directory from the VM, and paste it in the new AppImage directory structure
- Use the official ‘appimagetool’ to build the AppImage
The bulk of the work is setting up the VM. Once that’s done, just run the shell script and voila! You have a shiny new AppImage that basically will work with any OF app and will work with Linux distros at least as old as Ubuntu 16.04, which was from 2016.
If you use 3rd party libraries, you will need to add them yourself. Currently this AppImage structure supports all OF functionality under Linux, including GStreamer…so that means audio, video, OpenCV etc.
If you run into any issues or want to add any more libraries, let me know. This is meant to be a generic AppImage structure specifically made for OF, so if I’ve missed some libraries, I’ll be happy to add them.