diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-02-04 22:37:57 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-02-04 22:37:57 +0000 |
commit | 0170a7666a43b14b9d3c1b0b1b733ad14b997316 (patch) | |
tree | 3033706a907f89858318dd381933ae80bf336cbe /gtk2_ardour/main.cc | |
parent | 3ce593374063f0d9a7ad72503c09ed11a67278dc (diff) |
provide instructional hint for keyeditor; fix keybinding issues on OS X (needs current GTK patch); fix up packaging up OSX native to include VAMP plugins and put control surfaces in (mostly) the right places ; new (improved) arrow key bindings
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3007 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/main.cc')
-rw-r--r-- | gtk2_ardour/main.cc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gtk2_ardour/main.cc b/gtk2_ardour/main.cc index f7039039cf..896deb6343 100644 --- a/gtk2_ardour/main.cc +++ b/gtk2_ardour/main.cc @@ -122,7 +122,27 @@ fixup_bundle_environment () path += "/../Plugins"; setenv ("LADSPA_PATH", path.c_str(), 1); + + cstr = getenv ("VAMP_PATH"); + if (cstr) { + path = cstr; + path += ':'; + } + path = dir_path; + path += "/../Frameworks"; + + setenv ("VAMP_PATH", path.c_str(), 1); + + cstr = getenv ("ARDOUR_CONTROL_SURFACE_PATH"); + if (cstr) { + path = cstr; + path += ':'; + } + path = dir_path; + path += "/../Surfaces"; + setenv ("ARDOUR_CONTROL_SURFACE_PATH", path.c_str(), 1); + cstr = getenv ("LV2_PATH"); if (cstr) { path = cstr; |