[sugar] today's sugar

Joshua N Pritikin jpritikin at pobox.com
Sat Mar 3 05:54:01 EST 2007


On Fri, Mar 02, 2007 at 12:37:55PM +0100, Bert Freudenberg wrote:
> I tried compiling csound from source, and it did do something, but I  
> couldn't figure out how to make scons use the right jhbuild prefixes  
> etc.

It is a little crazy. Apply the following patch and then 'scons 
install'. I don't think you can do the same thing with command line 
arguments. You have to patch custom.py!

WARNING: I hardcoded the path to sugar-jhbuild.

diff --git a/custom.py b/custom.py
index dbcd34d..fcf0c0c 100644
--- a/custom.py
+++ b/custom.py
@@ -6,6 +6,7 @@ dependencies. If you do modify this file, you should make it read-only
 Order is important: place local paths ahead of system paths.
 '''
 import sys
+import os
 
 customCPPPATH = []
 customCCFLAGS = []
@@ -17,6 +18,15 @@ customSWIGFLAGS = []
 
 if sys.platform[:5] == 'linux':
     platform = 'linux'
+    useJack = '0'
+    useUDP = '0'
+    useFLTK = '0'
+    buildCsound5GUI = '0'
+    buildCsoundVST = '0'
+    buildCSEditor = '0'
+    buildInterfaces = '1'
+    noDebug = 1
+    prefix = os.environ['HOME'] + '/sugar-jhbuild/build'
 elif sys.platform == 'darwin':
     platform = 'darwin'
     customCPPPATH.append('/usr/include/malloc')


More information about the Sugar mailing list