vin chaud.
authorRobin Gareus <robin@gareus.org>
Thu, 17 Dec 2015 19:18:32 +0000 (20:18 +0100)
committerRobin Gareus <robin@gareus.org>
Thu, 17 Dec 2015 19:18:32 +0000 (20:18 +0100)
get it while it's hot.

tools/linux_packaging/build
tools/linux_packaging/stage2.run.in

index f397386133002d7f0bf15424f3397280f8398d44..f25cd2fc4ac57063ae405ed8f285c8edd5779f7c 100755 (executable)
@@ -469,8 +469,8 @@ while [ true ] ; do
                # ignore suil/qt wrappers - the plugin will pull in QT4.
                if echo $file | grep -qs 'libsuil_.*qt4' ; then continue; fi
 
-               # do not include libjack
-               deps=`LD_LIBRARY_PATH=$OURLIBS${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} ldd $file | awk '{print $3}'`
+               # do not include libjack, nor libwine
+               deps=`LD_LIBRARY_PATH=$OURLIBS${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} ldd $file | grep -v libwine.so | awk '{print $3}'`
 
                echo -n "."
                for dep in $deps ; do
index ba8e280a3a2f8228dfa2e107738601cabc5c44e3..a04acc54e6350577314adf73ac5cbceb52f54746 100755 (executable)
@@ -314,7 +314,7 @@ else
 fi
 
 if %REPLACE_WINE%; then
-       if -z "`which wine`"; then
+       if test -z "`which wine`"; then
                echo ""
                echo "!!! ERROR !!! - 'wine' was not found."
                echo ""
@@ -393,8 +393,7 @@ fi
 #################################################
 if %REPLACE_WINE%; then
        echo ""
-       echo "Searching for libwine.so (Windows VST support)"
-       echo ""
+       echo "Searching libwine.so (Windows VST support)"
        # we need to add libwine to ardour's LD_LIBRARY_PATH
        # libwine itself includes paths to the various system-components
        # which may be different on each platform.
@@ -424,6 +423,7 @@ if %REPLACE_WINE%; then
                read -p "Press ENTER to exit installer:" BLAH
                exit 1
        fi
+       echo "Using: $LIBWINE"
   # this replaces/overwrites the bundled libwine
        cp -L "$LIBWINE" `pwd`/${BUNDLE_DIR}/lib/libwine.so.1
 fi