[Sc-devel] New Universal Branch

Ryan Brown ryan at wabdo.com
Fri Jun 8 23:44:18 PDT 2007


I've committed a new branch named "universal", which is based on the  
trunk as of today. Improvements:

- Builds universal binaries.
- Adds icons for the various document types that SC creates (rtf,  
rtfd, html and sc). The icons are the SC cube with the extension  
below (similar to the Preview.app document icons).
- You no longer have to run "defaults write com.apple.Xcode  
UsePerConfigurationBuildLocations NO" in order to build SC on newer  
versions of XCode.
- The SC service ("Execute in SuperCollider...") is now integrated  
into the main app. Previously it was a separate binary that had to be  
installed into /Library/Services; now when you put SuperCollider.app  
somewhere under /Applications/ you automatically get the SC services  
menu.
- A lot of miscellaneous clean-up. For example, the distinction  
between the LangPrimSource and LangSource directories has never been  
respected. Primitives are in both directories. Now all the primitives  
are in LangPrimSource, and strictly language code (VM, GC, etc) is in  
LangSource. There were previously two slightly varying version of  
SC_AllocPool.cpp (one in common, one in LangSource), now there is  
only one. fftlib.c is shared between lang and server but was  
previously in the plugins directory - now it is in common. Etc.
- SConstruct was broken for building on Darwin because of a problem  
with SSE detection. Now fixed.

The reason I put this in a new branch is because I haven't tested  
building on Linux, Windows, or PowerPC macs. The linux scons script  
has been updated to reflect the changes in the source tree so it  
should build on Linux (it does on Darwin). The XCode projects should  
also build fine on PPC (they use the 10.4u SDK). The Windows stuff I  
haven't looked at, and I don't intend to (visual studio...) - but my  
guess is that the Windows build has been broken for a while.

Could those of you with Linux or PowerPC Macs try to do a build? Once  
it has been tested we should replace trunk with this branch, and put  
a new build on the main SC sourceforge site.

Best,
Ryan


More information about the Sc-devel mailing list