diff options
author | Robin Gareus <robin@gareus.org> | 2019-07-02 17:33:56 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-07-02 17:33:56 +0200 |
commit | 1801c33ee4ac27b2ecef7c572dbc88078b758b25 (patch) | |
tree | 08614002ffd96d899c500fc5d219a40f46a46f3c /headless/wscript | |
parent | 08f8b810d559f85bb19b80dda3b183c7f8d5a641 (diff) |
Consolidate headless startup scripts and make hardev work again
This fixes an issue with inconsistent startup scripts.
LD_LIBRARY_PATH was incomplete since at least 5.0 (5.12 is broken, too)
likewise ctrl surface path were outdated, etc.
Prefer to use `gtk2_ardour/ardev_common.sh.in` as the central
point to define environment variables for running Ardour from
the source-tree.
Other start scripts e.g. `vst/ardevst` already did this.
Diffstat (limited to 'headless/wscript')
-rw-r--r-- | headless/wscript | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/headless/wscript b/headless/wscript index 80296a10de..0aea4751c2 100644 --- a/headless/wscript +++ b/headless/wscript @@ -74,26 +74,3 @@ def build(bld): if bld.is_defined('NEED_INTL'): obj.linkflags = ' -lintl' - - # Wrappers - - wrapper_subst_dict = { - 'INSTALL_PREFIX' : bld.env['PREFIX'], - 'LIBDIR' : os.path.normpath(bld.env['LIBDIR']), - 'DATADIR' : os.path.normpath(bld.env['DATADIR']), - 'CONFDIR' : os.path.normpath(bld.env['CONFDIR']), - 'LIBS' : 'build/libs', - 'VERSION' : bld.env['VERSION'], - 'EXECUTABLE' : 'build/headless/hardour-' + str(bld.env['VERSION']) - } - - def set_subst_dict(obj, dict): - for i in dict: - setattr(obj, i, dict[i]) - - obj = bld(features = 'subst') - obj.source = 'hardev_common.sh.in' - obj.target = 'hardev_common_waf.sh' - obj.chmod = Utils.O755 - obj.dict = wrapper_subst_dict - set_subst_dict(obj, wrapper_subst_dict) |