-
Notifications
You must be signed in to change notification settings - Fork 746
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OSX: Bundle everything inside the .app, except examples/, README, Cha…
…ngeLog.txt, etc. This is the standard way to bundle an .app on OSX, and it fixes the library references in sclang and scsynth binaries, which now links to the libraries and frameworks bundled with the .app. Note that since sclang links to the bundled Qt frameworks, it can not be installed system-wide. But you can install simple wrapper-scripts into a folder in your PATH. We also remove the hack in SC_StandAloneInfo_Darwin.cpp to detect standalones and instead simply pass a SC_STANDALONE definition from cmake. A MOVED_STUFF.txt file was added in case people wonder where everything has gone, and README.txt and README_OS_X.txt was updated.
- Loading branch information
Showing
11 changed files
with
113 additions
and
318 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
SuperCollider class library, help files, sclang and scsynth | ||
HAS BEEN MOVED into SuperCollider.app/Contents/Resources. | ||
|
||
In previous versions of SuperCollider, these resources lived in the | ||
top folder next to SuperCollider.app. To make a standard self-contained | ||
app bundle with correct library linking, these have now been moved into | ||
the app bundle. | ||
|
||
If you need to access them from the Finder, ctrl-click SuperCollider.app | ||
and choose "Show package contents" from the context menu. | ||
|
||
To access them in the Terminal, simply: | ||
|
||
$ cd path/to/SuperCollider.app/Contents/Resources | ||
|
||
To have sclang and scsynth available system-wide, you can put wrapper- | ||
scripts into a folder in your PATH, like /usr/local/bin | ||
For sclang: | ||
|
||
#!/bin/sh | ||
cd /full/path/to/SuperCollider.app/Contents/Resources | ||
exec ./sclang $* | ||
|
||
And for scsynth: | ||
|
||
#!/bin/sh | ||
cd /full/path/to/SuperCollider.app/Contents/Resources | ||
exec ./scsynth $* | ||
|
||
NOTE: Why not symlinking them instead? Because: | ||
- If you have Qt installed system-wide, sclang will complain that | ||
Qt frameworks are loaded twice. | ||
- scsynth will not find the included "plugins", unless given explicitly | ||
with the -U commandline flag. | ||
|
||
Happy supercolliding! | ||
|
Oops, something went wrong.