[banshee] [darwin] add a gmcs wrapper to the skeleton



commit b88495c631748ee866b876d8300eb92fba21d62f
Author: Aaron Bockover <abockover novell com>
Date:   Thu Jan 28 22:13:34 2010 -0500

    [darwin] add a gmcs wrapper to the skeleton
    
    Export BUNDLE_LIB_DIR and BUNDLE_BIN_DIR for the gmcs wrapper.
    This is needed since the compiler service in mono execs this
    process at times.
    
    There is still a problem where gmcs can't find System.Data.

 .../skeleton.darwin/Contents/Resources/bin/gmcs    |    2 ++
 src/Clients/Booter/banshee-1.darwin.in             |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/build/bundle/skeleton.darwin/Contents/Resources/bin/gmcs b/build/bundle/skeleton.darwin/Contents/Resources/bin/gmcs
new file mode 100755
index 0000000..d81d1e4
--- /dev/null
+++ b/build/bundle/skeleton.darwin/Contents/Resources/bin/gmcs
@@ -0,0 +1,2 @@
+#!/bin/bash
+exec -a gmcs "$BUNDLE_BIN_DIR/mono" "$BUNDLE_LIB_DIR/mono/2.0/gmcs.exe" "$@"
diff --git a/src/Clients/Booter/banshee-1.darwin.in b/src/Clients/Booter/banshee-1.darwin.in
index 8136bdc..64eedaf 100644
--- a/src/Clients/Booter/banshee-1.darwin.in
+++ b/src/Clients/Booter/banshee-1.darwin.in
@@ -14,6 +14,8 @@ DATA_DIR="$RES_DIR/share"
 
 # Shell environment
 export PATH="/bin:/usr/bin:$BIN_DIR"
+export BUNDLE_BIN_DIR="$BIN_DIR"
+export BUNDLE_LIB_DIR="$LIB_DIR"
 
 # XDG environment
 export XDG_CONFIG_DIRS="$ETC_DIR/xdg"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]