diff options
author | Taybin Rutkin <taybin@taybin.com> | 2006-06-27 00:45:25 +0000 |
---|---|---|
committer | Taybin Rutkin <taybin@taybin.com> | 2006-06-27 00:45:25 +0000 |
commit | 71862247ada17a337705adb6ceb0c92ef48f14cd (patch) | |
tree | d6791bf31b61d52ce1227428aa75d654a2f15d3f /tools/osx_packaging/bin | |
parent | 2b5d095464a28ae680cf4454af99b4debd3bcabf (diff) |
Components of Ardour.app package.
git-svn-id: svn://localhost/ardour2/trunk@644 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'tools/osx_packaging/bin')
-rwxr-xr-x | tools/osx_packaging/bin/cache-fonts | bin | 0 -> 9516 bytes | |||
-rwxr-xr-x | tools/osx_packaging/bin/exporter | 34 | ||||
-rwxr-xr-x | tools/osx_packaging/bin/getdisplay.sh | 9 | ||||
-rwxr-xr-x | tools/osx_packaging/bin/gs | bin | 0 -> 6527252 bytes |
4 files changed, 43 insertions, 0 deletions
diff --git a/tools/osx_packaging/bin/cache-fonts b/tools/osx_packaging/bin/cache-fonts Binary files differnew file mode 100755 index 0000000000..36d60e77e7 --- /dev/null +++ b/tools/osx_packaging/bin/cache-fonts diff --git a/tools/osx_packaging/bin/exporter b/tools/osx_packaging/bin/exporter new file mode 100755 index 0000000000..e16885c294 --- /dev/null +++ b/tools/osx_packaging/bin/exporter @@ -0,0 +1,34 @@ +#!/bin/sh +# +# Author: Aaron Voisine <aaron@voisine.org> + +CWD="`(cd \"\`dirname \\\"$0\\\"\`\"; echo $PWD)`" +TOP="`dirname \"$CWD\"`" +ETC=$HOME/Library/"Application Support"/Ardour + +export "DYLD_LIBRARY_PATH=$TOP/lib" +export "PATH=$CWD:$PATH" +export "PANGO_RC_FILE=$ETC/pangorc" +export "FONTCONFIG_PATH=$TOP/etc/fonts" +export "GTK_IM_MODULE_FILE=$ETC/gtk.immodules" +export "GDK_PIXBUF_MODULE_FILE=$ETC/gdk-pixbuf.loaders" +export "GTK_DATA_PREFIX=$TOP" +export "GTK_EXE_PREFIX=$TOP" +export "GS_LIB=$TOP/share/ghostscript/8.51/lib:$TOP/share/ghostscript/fonts" +export LANG=`grep '\b'\`defaults read .GlobalPreferences AppleCollationOrder\`_\ + /usr/share/locale/locale.alias | sed -n 's/.*\(.._..\)\..*/\1/p;1q'` + +export ARDOUR2_UI_RC=ardour2_ui.rc +export ARDOUR_CONFIG_PATH=$TOP/etc +export ARDOUR_DATA_PATH=$TOP/share +export ARDOUR_GLADE_PATH=$TOP/share/ardour2/glade + +mkdir -p "$ETC" +sed 's|${HOME}|'"$HOME|g" "$TOP/etc/pango/pangorc" > "$ETC/pangorc" +sed 's|${CWD}|'"$TOP|g" "$TOP/etc/pango/pango.modules" > "$ETC/pango.modules" +cp -f "$TOP/etc/pango/pangox.aliases" "$ETC" +sed 's|${CWD}|'"$TOP|g" "$TOP/etc/gtk-2.0/gtk.immodules" > "$ETC/gtk.immodules" +sed 's|${CWD}|'"$TOP|g" "$TOP/etc/gtk-2.0/gdk-pixbuf.loaders" \ + > "$ETC/gdk-pixbuf.loaders" + +exec "$CWD/ardour" "$@" diff --git a/tools/osx_packaging/bin/getdisplay.sh b/tools/osx_packaging/bin/getdisplay.sh new file mode 100755 index 0000000000..a88b930e72 --- /dev/null +++ b/tools/osx_packaging/bin/getdisplay.sh @@ -0,0 +1,9 @@ +#!/bin/sh +# +# Author: Aaron Voisine <aaron@voisine.org> + +if [ "$DISPLAY"x == "x" ]; then + echo :0 > /tmp/$UID/TemporaryItems/display +else + echo $DISPLAY > /tmp/$UID/TemporaryItems/display +fi diff --git a/tools/osx_packaging/bin/gs b/tools/osx_packaging/bin/gs Binary files differnew file mode 100755 index 0000000000..9d531e32b6 --- /dev/null +++ b/tools/osx_packaging/bin/gs |