major rationalization of use of search paths. ardour now has just 4 functions used...
authorPaul Davis <paul@linuxaudiosystems.com>
Fri, 18 May 2012 17:24:06 +0000 (17:24 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Fri, 18 May 2012 17:24:06 +0000 (17:24 +0000)
commit813c5f0af9d1dac32b156ef3c72b890a7cf9eab5
tree29aa92a68feb1557c60500969d6d5aeade6a2e9b
parent433b6651ee8450da8282330ac35cb7ec1abbab6f
major rationalization of use of search paths. ardour now has just 4 functions used to define how external resources are located: ardour_config_search_path() (for system or user specific configuration data), ardour_data_search_path() (for machine, user and system independent data), ardour_dll_directory() (base directory where shared libraries are found) and user_config_directory(). These are now used throughout the code. the config, data and dll paths/directories can be overridden by environment variables. the user config dir is added as the first element of the first two search paths, and use selectively when searching for a few other things.
This commit re-enabes ./waf install, and it is believed that it works fully at this point (more testing likely required)

git-svn-id: svn://localhost/ardour2/branches/3.0@12326 d708f5d6-7413-0410-9779-e7cbd77b26cf
33 files changed:
gtk2_ardour/about.cc
gtk2_ardour/actions.cc
gtk2_ardour/ardev_common.sh.in
gtk2_ardour/ardour.sh.in
gtk2_ardour/editor_actions.cc
gtk2_ardour/keyboard.cc
gtk2_ardour/mixer_actor.cc
gtk2_ardour/splash.cc
gtk2_ardour/step_entry.cc
gtk2_ardour/theme_manager.cc
gtk2_ardour/ui_config.cc
gtk2_ardour/utils.cc
gtk2_ardour/wscript
libs/ardour/ardour/filesystem_paths.h
libs/ardour/control_protocol_manager.cc
libs/ardour/control_protocol_search_path.cc
libs/ardour/filesystem_paths.cc
libs/ardour/globals.cc
libs/ardour/midi_patch_search_path.cc
libs/ardour/panner_search_path.cc
libs/ardour/rc_configuration.cc
libs/ardour/template_utils.cc
libs/ardour/wscript
libs/pbd/filesystem_paths.cc [deleted file]
libs/pbd/pbd/filesystem_paths.h [deleted file]
libs/pbd/wscript
libs/surfaces/generic_midi/generic_midi_control_protocol.cc
libs/surfaces/mackie/device_info.cc
libs/surfaces/mackie/device_profile.cc
libs/surfaces/osc/osc.cc
mcp/wscript [new file with mode: 0644]
tools/linux_packaging/ardour.sh.in
wscript