adding osx application bundler scripts
[pspp] / utilities / osxbundler / macports-custom-packages / gtk-mac-bundler / files / patch-gtk3-launcher.diff
1 diff --git examples/gtk3-launcher.sh examples/gtk3-launcher.sh
2 index 9137ccb..635ca8d 100755
3 --- examples/gtk3-launcher.sh
4 +++ examples/gtk3-launcher.sh
5 @@ -22,7 +22,6 @@ bundle_bin="$bundle_res"/bin
6  bundle_data="$bundle_res"/share
7  bundle_etc="$bundle_res"/etc
8  
9 -export DYLD_LIBRARY_PATH="$bundle_lib"
10  export XDG_CONFIG_DIRS="$bundle_etc"/xdg
11  export XDG_DATA_DIRS="$bundle_data"
12  export GTK_DATA_PREFIX="$bundle_res"
13 @@ -40,7 +39,7 @@ if [ `uname -r | cut -d . -f 1` -ge 10 ]; then
14  fi
15  
16  
17 -APP=name
18 +APP=$name
19  I18NDIR="$bundle_data/locale"
20  # Set the locale-related variables appropriately:
21  unset LANG LC_MESSAGES LC_MONETARY LC_COLLATE