Skip to content

Latest commit

 

History

History
55 lines (48 loc) · 3.41 KB

BUILDING_NOTES.md

File metadata and controls

55 lines (48 loc) · 3.41 KB

Instructions for building these binaries and set up a similar standalone repository...

First build and install SuperCollider and sc3-plugins on a RPi3 (or RPi2) 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...

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 -j3
sudo make install

)

  • mkdir supercolliderStandaloneRPI2 && cd supercolliderStandaloneRPI2
  • cp /usr/local/bin/sc* . #this should copy scide, sclang and scsynth
  • cp -r /usr/local/lib/SuperCollider/plugins . #copies all plugins including sc3-plugins
  • mkdir -p share/system
  • cp -r /usr/local/share/SuperCollider/* share/system #copies help, classes, examples etc
  • mkdir -p share/system/Extensions/SystemOverwrites
  • curl -o share/system/Extensions/SystemOverwrites/extLinuxPlatform.sc https://raw.githubusercontent.com/redFrik/supercolliderStandaloneRPI2/master/share/system/Extensions/SystemOverwrites/extLinuxPlatform.sc
  • curl -o share/system/Extensions/SystemOverwrites/extPlatform.sc https://raw.githubusercontent.com/redFrik/supercolliderStandaloneRPI2/master/share/system/Extensions/SystemOverwrites/extPlatform.sc
  • mkdir share/user
  • curl -o share/user/archive.sctxar https://raw.githubusercontent.com/redFrik/supercolliderStandaloneRPI2/master/share/user/archive.sctxar
  • curl -o share/user/startup.scd https://raw.githubusercontent.com/redFrik/supercolliderStandaloneRPI2/master/share/user/startup.scd
  • curl -o sclang.yaml https://raw.githubusercontent.com/redFrik/supercolliderStandaloneRPI2/master/sclang.yaml
  • curl -o sc_ide_conf_temp.yaml https://raw.githubusercontent.com/redFrik/supercolliderStandaloneRPI2/master/sc_ide_conf_temp.yaml
  • curl -o autostart.sh https://raw.githubusercontent.com/redFrik/supercolliderStandaloneRPI2/master/autostart.sh
  • curl -o mycode.scd https://raw.githubusercontent.com/redFrik/supercolliderStandaloneRPI2/master/mycode.scd
  • curl -o run.sh https://raw.githubusercontent.com/redFrik/supercolliderStandaloneRPI2/master/run.sh
  • curl -o SuperColliderIDE.desktop https://raw.githubusercontent.com/redFrik/supercolliderStandaloneRPI2/master/SuperColliderIDE.desktop
  • curl -o share/system/sc_ide_32.png https://raw.githubusercontent.com/redFrik/supercolliderStandaloneRPI2/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.

publish

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 supercolliderStandaloneRPI2
    • scp [email protected]:supercolliderStandaloneRPI2/sc\* .
    • rm -rf plugins
    • scp -r [email protected]:supercolliderStandaloneRPI2/plugins .
    • rm -rf share
    • scp -r [email protected]:supercolliderStandaloneRPI2/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