adjust h-size of color theme manager "Reset to Defaults" button
[ardour.git] / tools / linux_packaging / build
index 830b4d2ef725f4c8b939ac6ed703291b529e210f..96e13b53b1e4068d82a216483bc931bd929eef20 100755 (executable)
@@ -186,6 +186,8 @@ Backends=$APPLIB/backends
 
 Themes=$Shared/themes
 Templates=$Shared/templates
+PluginMetadata=$Shared/plugin_metadata
+MixerSettings=$Shared/mixer_settings
 ExportFormats=$Shared/export
 Locale=$Shared/locale
 MidiMaps=$Shared/midi_maps
@@ -252,7 +254,7 @@ fi
 # jack in the places where it might be
 #
 
-echo export 'PATH=/usr/local/bin:/opt/bin:$PATH' >> $ENVIRONMENT
+echo export 'PATH="/usr/local/bin:/opt/bin:$PATH"' >> $ENVIRONMENT
 
 # create startup helper script
 if test -d $BUILD_ROOT/vst; then
@@ -397,9 +399,18 @@ for x in $BUILD_ROOT/../osc/*.preset ; do
     cp "$x" $OSC
 done
 
+# Mixbus MixerSettings (if any)
+for x in $BUILD_ROOT/../mixer_settings/*.lua ; do
+    mkdir -p $MixerSettings  # create on demand
+    cp "$x" $MixerSettings
+done
+
 #Session templates
 cp -av $BUILD_ROOT/../templates $Templates
 
+# PluginMetadata
+cp -av $BUILD_ROOT/../plugin_metadata $PluginMetadata
+
 # ExportFormats
 # got to be careful with names here
 for x in $BUILD_ROOT/../export/*.preset $BUILD_ROOT/../export/*.format ; do
@@ -466,6 +477,16 @@ 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
+       BN=${lower_case_appname}${major_version}-lua
+       cp -v $BUILD_ROOT/tools/luadevel/luasession $APPLIB/$BN
+       if test x$STRIP = xall ; then
+               strip -s $APPLIB/${BN}
+       fi
+       ln -s ../lib/ardour-util.sh $APPBIN/${BN}
+       HAVE_SESSION_UTILS=true
+fi
+
 if test "$HAVE_SESSION_UTILS" = true ; then
        cat >> $APPLIB/ardour-util.sh << EOF
 #!/bin/sh
@@ -572,6 +593,7 @@ while [ true ] ; do
                                        echo "Copying dependant lib $dep    (required by ${parent})"
                                        cp $dep $Libraries
                                fi
+                               chmod 755 $Libraries/`basename $dep`
                                 #
                                 # reset RPATH so that the runtime linker never looks
                                 # in places we don't want it to
@@ -721,7 +743,7 @@ if test x$WITH_X42_LV2 != x ; then
 
        echo "Adding x42 Plugins"
 
-       for proj in x42-meters x42-midifilter x42-midimap x42-stereoroute x42-eq setBfree x42-avldrums; do
+       for proj in x42-meters x42-midifilter x42-midimap x42-stereoroute x42-eq setBfree x42-avldrums x42-whirl x42-limiter; do
                X42_VERSION=$(curl -s -S http://x42-plugins.com/x42/linux/${proj}.latest.txt)
                rsync -a -q --partial \
                        rsync://x42-plugins.com/x42/linux/${proj}-lv2-linux-${WARCH}-${X42_VERSION}.zip \