mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
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.
This commit is contained in:
parent
08f8b810d5
commit
1801c33ee4
5 changed files with 19 additions and 69 deletions
|
|
@ -1,8 +1,12 @@
|
|||
#!/bin/sh
|
||||
. `dirname "$0"`/../build/headless/hardev_common_waf.sh
|
||||
LD_LIBRARY_PATH=$LD_LIBRARY_PATH
|
||||
VALGRIND_OPTIONS="$VALGRIND_OPTIONS --num-callers=50"
|
||||
VALGRIND_OPTIONS="$VALGRIND_OPTIONS --error-limit=no"
|
||||
#VALGRIND_OPTIONS="$VALGRIND_OPTIONS --leak-check=full --leak-resolution=high"
|
||||
#VALGRIND_OPTIONS="$VALGRIND_OPTIONS --show-leak-kinds=all -v"
|
||||
#VALGRIND_OPTIONS="$VALGRIND_OPTIONS --log-file=/tmp/hardour-%p.log"
|
||||
|
||||
TOP=`dirname "$0"`/..
|
||||
. $TOP/build/gtk2_ardour/ardev_common_waf.sh
|
||||
if uname | grep -q arwin; then
|
||||
OBJSUPP="--suppressions=${TOP}/tools/objc.supp"
|
||||
fi
|
||||
|
|
@ -12,4 +16,4 @@ exec valgrind --tool=memcheck \
|
|||
--track-origins=yes \
|
||||
--suppressions=${TOP}/tools/valgrind.supp \
|
||||
$OBJSUPP \
|
||||
$TOP/$EXECUTABLE --novst "$@"
|
||||
$TOP/build/headless/hardour-$ARDOURVERSION --novst "$@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue