summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-03-26 19:00:11 +0100
committerRobin Gareus <robin@gareus.org>2020-03-26 19:00:41 +0100
commite219a6cd1e786dd8a8daa6e6da28953ae3705fcb (patch)
tree5a3a17f7e585355ded4f14f1d70419614335bad8
parente7cdc91770f4c5fd29479d05d1a1a265737399b8 (diff)
Source-tree consistency (headless tools at top-level)
This move ardour-lua session tool to top-level, next to headless/hardev.
-rw-r--r--doc/source_tree_layout.txt2
-rwxr-xr-xgtk2_ardour/arlua10
-rw-r--r--luasession/ardour-lua.sh.in (renamed from tools/luadevel/ardour-lua.sh.in)0
-rw-r--r--luasession/luasession.cc (renamed from tools/luadevel/luasession.cc)0
-rwxr-xr-xluasession/wscript (renamed from tools/luadevel/wscript)0
-rwxr-xr-xtools/linux_packaging/build4
-rwxr-xr-xtools/osx_packaging/osx_build8
-rwxr-xr-xtools/x-win/package.sh2
-rw-r--r--wscript2
9 files changed, 13 insertions, 15 deletions
diff --git a/doc/source_tree_layout.txt b/doc/source_tree_layout.txt
index 87226ee7d4..e75675e6f0 100644
--- a/doc/source_tree_layout.txt
+++ b/doc/source_tree_layout.txt
@@ -168,7 +168,7 @@ headless/
session_utils/
command-line tools using libardour (e.g. export)
-tools/luadevel/
+luasession/
arlua -- commandline interface to libardour
vst
diff --git a/gtk2_ardour/arlua b/gtk2_ardour/arlua
index 1286f79d6a..67d4d57ba7 100755
--- a/gtk2_ardour/arlua
+++ b/gtk2_ardour/arlua
@@ -17,7 +17,7 @@ fi
if test -z "$DBG"; then
- exec $TOP/build/tools/luadevel/luasession "$@"
+ exec $TOP/build/luasession/luasession "$@"
fi
if test "$DBG" = "valgrind"; then
@@ -28,7 +28,7 @@ if test "$DBG" = "valgrind"; then
--track-origins=yes \
--leak-check=full --show-leak-kinds=all \
--suppressions=${TOP}/tools/valgrind.supp \
- $TOP/build/tools/luadevel/luasession "$@"
+ $TOP/build/luasession/luasession "$@"
fi
if test "$DBG" = "callgrind"; then
@@ -39,12 +39,12 @@ if test "$DBG" = "callgrind"; then
--separate-threads=yes \
--collect-systime=yes \
--collect-jumps=yes \
- $TOP/build/tools/luadevel/luasession "$@"
+ $TOP/build/luasession/luasession "$@"
fi
if test -n "`which gdb`"; then
- exec gdb --args $TOP/build/tools/luadevel/luasession "$@"
+ exec gdb --args $TOP/build/luasession/luasession "$@"
fi
if test -n "`which lldb`"; then
- exec lldb -- $TOP/build/tools/luadevel/luasession "$@"
+ exec lldb -- $TOP/build/luasession/luasession "$@"
fi
diff --git a/tools/luadevel/ardour-lua.sh.in b/luasession/ardour-lua.sh.in
index 50d6e6e0c2..50d6e6e0c2 100644
--- a/tools/luadevel/ardour-lua.sh.in
+++ b/luasession/ardour-lua.sh.in
diff --git a/tools/luadevel/luasession.cc b/luasession/luasession.cc
index 6f11ab675e..6f11ab675e 100644
--- a/tools/luadevel/luasession.cc
+++ b/luasession/luasession.cc
diff --git a/tools/luadevel/wscript b/luasession/wscript
index 6fe8aac057..6fe8aac057 100755
--- a/tools/luadevel/wscript
+++ b/luasession/wscript
diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build
index 359fdbc805..d94f59727f 100755
--- a/tools/linux_packaging/build
+++ b/tools/linux_packaging/build
@@ -472,9 +472,9 @@ for file in $BUILD_ROOT/session_utils/${lower_case_appname}${major_version}-*; d
HAVE_SESSION_UTILS=true
done
-if test -x $BUILD_ROOT/tools/luadevel/luasession; then
+if test -x $BUILD_ROOT/luasession/luasession; then
BN=${lower_case_appname}${major_version}-lua
- cp -v $BUILD_ROOT/tools/luadevel/luasession $APPLIB/$BN
+ cp -v $BUILD_ROOT/luasession/luasession $APPLIB/$BN
if test x$STRIP = xall ; then
strip -s $APPLIB/${BN}
fi
diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build
index 04fc0e6640..1559735a6c 100755
--- a/tools/osx_packaging/osx_build
+++ b/tools/osx_packaging/osx_build
@@ -342,9 +342,7 @@ cp $BUILD_ROOT/libs/surfaces/control_protocol/libardourcp*.dylib $Frameworks
cp $BUILD_ROOT/libs/panners/*/lib*.dylib $Panners
# Backends
-for backend in jack wavesaudio dummy coreaudio; do
- cp $BUILD_ROOT/libs/backends/$backend/lib*.dylib $Backends
-done
+cp $BUILD_ROOT/libs/backends/*/lib*.dylib $Backends
# Export Formats/Presets
for f in $BUILD_ROOT/../share/export/*.preset $BUILD_ROOT/../share/export/*.format ; do
@@ -434,9 +432,9 @@ for file in $BUILD_ROOT/session_utils/${lower_case_appname}${major_version}-*; d
HAVE_SESSION_UTILS=true
done
-if test -x $BUILD_ROOT/tools/luadevel/luasession; then
+if test -x $BUILD_ROOT/luasession/luasession; then
BN=${lower_case_appname}${major_version}-lua
- cp -v $BUILD_ROOT/tools/luadevel/luasession $Frameworks/$BN
+ cp -v $BUILD_ROOT/luasession/luasession $Frameworks/$BN
if test x$STRIP = xall ; then
strip -s $Frameworks/${BN}
fi
diff --git a/tools/x-win/package.sh b/tools/x-win/package.sh
index b2e8190377..237a472d6a 100755
--- a/tools/x-win/package.sh
+++ b/tools/x-win/package.sh
@@ -144,7 +144,7 @@ cp build/libs/ptformat/ptformat-*.dll $DESTDIR/bin/
cp build/libs/audiographer/audiographer-*.dll $DESTDIR/bin/
cp build/libs/fst/ardour-vst-scanner.exe $DESTDIR/bin/ || true
cp build/session_utils/*-*.exe $DESTDIR/bin/ || true
-cp build/tools/luadevel/ardour6-lua.exe $DESTDIR/bin/ || true
+cp build/luasession/ardour6-lua.exe $DESTDIR/bin/ || true
cp `ls -t build/gtk2_ardour/ardour-*.exe | head -n1` $DESTDIR/bin/${PRODUCT_EXE}
mkdir -p $DESTDIR/lib/gtk-2.0/engines
diff --git a/wscript b/wscript
index 8270411ae5..dbb85708c9 100644
--- a/wscript
+++ b/wscript
@@ -274,12 +274,12 @@ children = [
'share/plugin_metadata',
'share/scripts',
'headless',
+ 'luasession',
'session_utils',
# shared helper binaries (plugin-scanner, exec-wrapper)
'libs/fst',
'libs/vfork',
'libs/ardouralsautil',
- 'tools/luadevel',
]
i18n_children = [