Bugzilla – Bug 1213615
SuperCollider does not see supercollider-sc3-plugins when installed
Last modified: 2023-08-16 19:25:47 UTC
I have just installed the supercollider and supercollider-sc3-plugins packages. I installed SuperDirt, a quark that depends on supercollider-sc3-plugins, which could not find parts of this extension. I ran rpm -ql supercollider-sc3-plugins and found they were installed to /usr/share/SuperCollider/SC3plugins/ They should have been installed to /usr/share/SuperCollider/Extensions/SC3Plugins to be found by SuperCollider. I resolved this with a symlink after checking SuperCollider's documentation: sudo ln -s /usr/share/SuperCollider/SC3plugins /usr/share/SuperCollider/Extensions/SC3Plugins This allowed SuperCollider to see the plugins, everything worked as expected afterward. Here's the relevant part of the documentation that mentions where the plugins should be installed: https://doc.sccode.org/Guides/UsingExtensions.html
Hi, Looks like that comes of this line https://github.com/supercollider/sc3-plugins/blob/87fdad27b9770d265683181f3964f7f2aeea8ed4/source/CMakeLists.txt#L153 if (QUARKS) set(INSTALL_DESTINATION_LADSPALIST "share/SuperCollider/SC3plugins/LadspaUGen") set(INSTALL_DESTINATION_DISTRO "share/SuperCollider/SC3plugins") I'm not sure if -DQUARKS=ON works here (as i can see it should grab quarks from the on-line repo). Do we need it?
Apologies, I had been meaning to actually set up a test build myself to try this, but haven't had the time to sort it out. I believe if you just removed the "-DQUARKS=ON" flag it should work. I cross-referenced Debian and Arch's packages, since they're two I can point to with the files in the "right" spot, and they seem to omit -DQUARKS=ON in their builds, and I don't think I've ever used it building from source. SuperCollider pulls quarks from Github, yes, but they usually go in the ~/.local/share/SuperCollider/Extensions/ExtensionName directory. Looking at the .spec file I also believe further changes will need to be made to refer to the proper directory, since this should change the location the plugins install to.
I've made a filelist comparison without "-DQUARKS=ON" and all seems fine https://build.opensuse.org/request/show/1103245 My first request was declined due an insufficient changelog and I missed a week for fix it... (you can test the new rpm from my branch repo too https://build.opensuse.org/package/show/home:kill_it:branches:multimedia:apps/supercollider-sc3-plugins)
fixed in https://build.opensuse.org/request/show/1103994