diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-11-04 21:21:39 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-11-04 21:21:39 +0000 |
commit | 8b581d60cf5cca9dd5610cabd335e755da23f80c (patch) | |
tree | 6aa30a380da0431c36908fd6406325876b653866 /tools/osx_packaging/script | |
parent | 2b720eba224dfc0f2d6f072088fb5b64a97505a1 (diff) |
delete more cruft from osx packaging folder
git-svn-id: svn://localhost/ardour2/branches/3.0@10452 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'tools/osx_packaging/script')
-rwxr-xr-x | tools/osx_packaging/script | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/tools/osx_packaging/script b/tools/osx_packaging/script deleted file mode 100755 index 4f927c2aa5..0000000000 --- a/tools/osx_packaging/script +++ /dev/null @@ -1,54 +0,0 @@ -#!/bin/sh -# -# Author: Aaron Voisine <aaron@voisine.org> - -if [ ! -x /Applications/Utilities/X11.app ] ; then - if [ -f /usr/include/X11/X.h ] ; then - osascript -e 'tell application "Ardour3" -display dialog "You have installed the X11 SDK, but not X11 itself.\ -Please install X11 before running Ardour" buttons["OK"] -end tell' - else - osascript -e 'tell application "Ardour3" -display dialog "Please install X11 before running Ardour" buttons["OK"] -end tell' - fi - exit 1 -fi - -if [ ! -x /usr/local/bin/jackd -a ! -x /usr/bin/jackd ] ; then - osascript -e 'tell application "Ardour3" -display dialog "You do not appear to have JACK installed.\nPlease install it before running Ardour" buttons["OK"] -end tell' - exit 1 -fi - -CWD="`dirname \"$0\"`" -TMP=/tmp/$UID/TemporaryItems - -ps -wx -ocommand | grep -e '[X]11' > /dev/null -if [ "$?" != "0" -a ! -f ~/.xinitrc ]; then - echo "rm -f ~/.xinitrc" > ~/.xinitrc - sed 's/xterm/# xterm/' /usr/X11R6/lib/X11/xinit/xinitrc >> ~/.xinitrc -fi - -if uname -r | grep -sq '^9' ; then - # leopard will auto-start X11 for us - : -else - mkdir -p $TMP - cp -f "$CWD/bin/getdisplay.sh" $TMP - rm -f $TMP/display - open-x11 $TMP/getdisplay.sh || \ - open -a XDarwin $TMP/getdisplay.sh || \ - echo ":0" > $TMP/display - - while [ "$?" == "0" -a ! -f $TMP/display ]; do sleep 1; done - export "DISPLAY=`cat $TMP/display`" - - ps -wx -ocommand | grep -e '[X]11' > /dev/null || exit 11 -fi - -cd ~/ -shift -exec "$CWD/bin/exporter" "$*" |