Hello, i managed to get APL running on Sailfish. By using this, scilab code can be started including plots! It may not very usefull, but it is opensource.
To start download apl.tar.gz, untar it and move it to /data/sdcard. For other locations, the APL android app wants to download the img on this location.
I did not managed to stop both python commands and the Xvfb. This means after running the unload script these processes are running in the background. The only clear way to unload is rebooting. I am sorry for this.
I am not responsible for any damage on your jolla! I run both scripts on my phone and it survived. After a reboot, everything is running as normal, but you have been warned!
This may not be useful, it was fun to try. Therefore, i am posting it here.
Here is the installer help site, which i were using.
Here is a Demo-Video from Android It looks almost the same on sailfish, if APL.apk is used.
On sailfish it is possible to use instead the webbrowser.
The code input can be done on http://127.0.0.1/html/scilab.
The Code output is on http://127.0.0.1:4200/
It is also possible to install APL.apk, which is mainly a app which shows boths html sites together (http://127.0.0.1/html/scilab and http://127.0.0.1:4200/).
I am not sure how plots are handled, maybe it is only possible to see them on the android app. The android is opensource:
https://github.com/androportal/APL-apk
To start download apl.tar.gz, untar it and move it to /data/sdcard. For other locations, the APL android app wants to download the img on this location.
Here is my chroot script (adaption from here):
I am not responsible for any damage on your jolla! I run both scripts on my phone and it survived. After a reboot, everything is running as normal, but you have been warned!
This may not be useful, it was fun to try. Therefore, i am posting it here.