Bug 1213615 - SuperCollider does not see supercollider-sc3-plugins when installed
Summary: SuperCollider does not see supercollider-sc3-plugins when installed
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Konstantin Voinov
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-25 05:36 UTC by Arin Lares
Modified: 2023-08-16 19:25 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arin Lares 2023-07-25 05:36:24 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
Comment 1 Konstantin Voinov 2023-07-31 00:18:15 UTC
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?
Comment 2 Arin Lares 2023-08-10 02:34:40 UTC
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.
Comment 3 Konstantin Voinov 2023-08-10 08:32:40 UTC
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)
Comment 4 Konstantin Voinov 2023-08-16 19:25:47 UTC
fixed in https://build.opensuse.org/request/show/1103994