From 21533227e7c437d2a0629dd2da42b9428c78f3ed Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 22 Jan 2026 00:36:54 +0100 Subject: [PATCH] Update VBM and LiveTrax packaging, exclude MIDNAM --- tools/linux_packaging/build | 13 +++++++++---- tools/osx_packaging/osx_build | 4 ++-- tools/x-win/package.sh | 6 ++++++ 3 files changed, 17 insertions(+), 6 deletions(-) diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build index 3071ac7867..ae534cd856 100755 --- a/tools/linux_packaging/build +++ b/tools/linux_packaging/build @@ -248,7 +248,6 @@ mkdir -p $Themes mkdir -p $Locale mkdir -p $Surfaces mkdir -p $MidiMaps -mkdir -p $PatchFiles mkdir -p $LuaScripts mkdir -p $MackieControl mkdir -p $OSC @@ -257,6 +256,10 @@ mkdir -p $Panners mkdir -p $Backends mkdir -p $Shared/doc +if test -z "$VBM" -a -z "$LIVETRAX"; then +mkdir -p $PatchFiles +fi + # maybe set variables ENVIRONMENT=environment rm -f $ENVIRONMENT @@ -377,9 +380,11 @@ done # MIDNAM Patch Files # got to be careful with names here -for x in $BUILD_ROOT/../share/patchfiles/*.midnam ; do - cp "$x" $PatchFiles -done +if test -z "$VBM" -a -z "$LIVETRAX"; then + for x in $BUILD_ROOT/../share/patchfiles/*.midnam ; do + cp "$x" $PatchFiles + done +fi # Lua Scripts Files # got to be careful with names here diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build index 6d5c3da6f5..a60f4fbfc4 100755 --- a/tools/osx_packaging/osx_build +++ b/tools/osx_packaging/osx_build @@ -192,7 +192,7 @@ mkdir -p $OSC mkdir -p $LuaScripts mkdir -p $Themes -if test -z "$VBM"; then +if test -z "$VBM" -a -z "$LIVETRAX"; then mkdir -p $PatchFiles fi @@ -369,7 +369,7 @@ done # MIDNAM Patch Files # got to be careful with names here -if test -z "$VBM"; then +if test -z "$VBM" -a -z "$LIVETRAX"; then for x in $BUILD_ROOT/../share/patchfiles/*.midnam ; do cp "$x" $PatchFiles done diff --git a/tools/x-win/package.sh b/tools/x-win/package.sh index 1c06769963..9d14d62221 100755 --- a/tools/x-win/package.sh +++ b/tools/x-win/package.sh @@ -252,6 +252,12 @@ cp gtk2_ardour/icons/cursor_square/* $DESTDIR/share/${LOWERCASE_DIRNAME}/icons/ echo " === bundle completed, cleaning up" ./waf uninstall find $DESTDIR -name "*.dll.a" -print0 | xargs -0 -r rm + +# no need for MIDNAM +if test -n "$VBM" -o test -n "$LIVETRAX"; then + rm -rf $DESTDIR/share/*/patchfiles +fi + echo " === complete" du -sh $DESTDIR