Instructions for building these binaries and set up a similar standalone repository...
First build and install SuperCollider and sc3-plugins on a RPi0 (or RPi1) following the official build instructions for the ScIDE. One can also use an existing sc install assuming all the files are in their default directories.
(
sc3-plugins are built and installed like this...
sudo dphys-swapfile swapoff
sudo nano /etc/dphys-swapfile #set CONF_SWAPSIZE to 500
sudo dphys-swapfile setup
sudo dphys-swapfile swapon
sudo reboot
git clone --recursive https://github.com/supercollider/sc3-plugins.git
cd sc3-plugins
git checkout main
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE="Release" -DSUPERNOVA=OFF -DNATIVE=ON -DSC_PATH=../../supercollider/ ..
make
sudo make install
)
mkdir supercolliderStandaloneRPI1 && cd supercolliderStandaloneRPI1cp /usr/local/bin/sc* .#this should copy scide, sclang and scsynthcp -r /usr/local/lib/SuperCollider/plugins .#copies all plugins including sc3-pluginsmkdir -p share/systemcp -r /usr/local/share/SuperCollider/* share/system#copies help, classes, examples etcmkdir -p share/system/Extensions/SystemOverwritescurl -o share/system/Extensions/SystemOverwrites/extLinuxPlatform.sc https://raw.githubusercontent.com/redFrik/supercolliderStandaloneRPI1/master/share/system/Extensions/SystemOverwrites/extLinuxPlatform.sccurl -o share/system/Extensions/SystemOverwrites/extPlatform.sc https://raw.githubusercontent.com/redFrik/supercolliderStandaloneRPI1/master/share/system/Extensions/SystemOverwrites/extPlatform.scmkdir share/usercurl -o share/user/archive.sctxar https://raw.githubusercontent.com/redFrik/supercolliderStandaloneRPI1/master/share/user/archive.sctxarcurl -o share/user/startup.scd https://raw.githubusercontent.com/redFrik/supercolliderStandaloneRPI1/master/share/user/startup.scdcurl -o sclang.yaml https://raw.githubusercontent.com/redFrik/supercolliderStandaloneRPI1/master/sclang.yamlcurl -o sc_ide_conf_temp.yaml https://raw.githubusercontent.com/redFrik/supercolliderStandaloneRPI1/master/sc_ide_conf_temp.yamlcurl -o autostart.sh https://raw.githubusercontent.com/redFrik/supercolliderStandaloneRPI1/master/autostart.shcurl -o mycode.scd https://raw.githubusercontent.com/redFrik/supercolliderStandaloneRPI1/master/mycode.scdcurl -o run.sh https://raw.githubusercontent.com/redFrik/supercolliderStandaloneRPI1/master/run.shcurl -o SuperColliderIDE.desktop https://raw.githubusercontent.com/redFrik/supercolliderStandaloneRPI1/master/SuperColliderIDE.desktopcurl -o share/system/sc_ide_32.png https://raw.githubusercontent.com/redFrik/supercolliderStandaloneRPI1/master/share/system/sc_ide_32.png
Now this directory should contain what is needed to run ScIDE standalone (if started as in the README.md). Copy it to another machine with the same system and try.
My own additional notes for this git repository...
- note which git commit was used in README.md
- note which system image was used in README.md
- copy the files over to laptop...
cd supercolliderStandaloneRPI1scp pi@raspberrypi.local:supercolliderStandaloneRPI1/sc\* .rm -rf pluginsscp -r pi@raspberrypi.local:supercolliderStandaloneRPI1/plugins .rm -rf sharescp -r pi@raspberrypi.local:supercolliderStandaloneRPI1/share .- and possibly the yaml and desktop files as well if something changed
- make sure there is a binary release for previous version
- git commit and sync