puredyne-team team mailing list archive
-
puredyne-team team
-
Mailing list archive
-
Message #00087
[Bug 482877] [NEW] supercollider: quarks not added to search path, also caps issue "quarks"/"Quarks"
Public bug reported:
Supercollider quarks install fine (in the sense that sc successfully creates a symlink from ~/share/SuperCollider/Extensions/Quarks/quarkname to ~/share/SuperCollider/quarks/quarkname ), but that doesn't have any effect since ~/share/SuperCollider/Extensions isn't in sc's search path. I think the following line needs to be added to /etc/skel/.sclang.cfg:
+~/share/SuperCollider/Extensions/
In addition, there's a little bit of a gotcha about capitalisation. Because the symlink changes the capitalisation of "quarks":
~/share/SuperCollider/quarks -> /usr/share/SuperCollider/Quarks/
...the supercollider code gets a bit confused. (At one point it uses "standardizePath" which resolves the symlink, but then later it takes that resolved basename "Quarks" and uses it when really it should be using "quarks".) This should really be fixed in sc itself of course, but for now I recommend changing p:d to use lowercase "q" to avoid this glitch. (The glitch manifests itself when sc creates ~/share/SuperCollider/Extensions/Quarks alongside the existing ~/share/SuperCollider/Extensions/quarks) So the fix for this bit is to move /usr/share/SuperCollider/Quarks to /usr/share/SuperCollider/quarks then also remember to update the symlink at /etc/skel/share/SuperCollider/quarks
** Affects: puredyne-live
Importance: Undecided
Status: New
--
supercollider: quarks not added to search path, also caps issue "quarks"/"Quarks"
https://bugs.launchpad.net/bugs/482877
You received this bug notification because you are a member of puredyne
team, which is the registrant for Puredyne Live.
Status in Puredyne liveCD/DVD/USB/HD: New
Bug description:
Supercollider quarks install fine (in the sense that sc successfully creates a symlink from ~/share/SuperCollider/Extensions/Quarks/quarkname to ~/share/SuperCollider/quarks/quarkname ), but that doesn't have any effect since ~/share/SuperCollider/Extensions isn't in sc's search path. I think the following line needs to be added to /etc/skel/.sclang.cfg:
+~/share/SuperCollider/Extensions/
In addition, there's a little bit of a gotcha about capitalisation. Because the symlink changes the capitalisation of "quarks":
~/share/SuperCollider/quarks -> /usr/share/SuperCollider/Quarks/
...the supercollider code gets a bit confused. (At one point it uses "standardizePath" which resolves the symlink, but then later it takes that resolved basename "Quarks" and uses it when really it should be using "quarks".) This should really be fixed in sc itself of course, but for now I recommend changing p:d to use lowercase "q" to avoid this glitch. (The glitch manifests itself when sc creates ~/share/SuperCollider/Extensions/Quarks alongside the existing ~/share/SuperCollider/Extensions/quarks) So the fix for this bit is to move /usr/share/SuperCollider/Quarks to /usr/share/SuperCollider/quarks then also remember to update the symlink at /etc/skel/share/SuperCollider/quarks
Follow ups
References