Merge branch 'ardour'
This commit is contained in:
commit
c731fcd0c1
@ -355,9 +355,12 @@ RegionFxPlugin::set_default_automation (timepos_t end)
|
||||
{
|
||||
for (auto const& i : _controls) {
|
||||
std::shared_ptr<AutomationControl> ac = std::dynamic_pointer_cast<AutomationControl> (i.second);
|
||||
assert (ac->alist ()->empty ());
|
||||
ac->alist ()->fast_simple_add (timepos_t (time_domain ()), ac->normal ());
|
||||
ac->alist ()->fast_simple_add (end, ac->normal ());
|
||||
if (ac->alist ()->empty ()) {
|
||||
ac->alist ()->fast_simple_add (timepos_t (time_domain ()), ac->normal ());
|
||||
ac->alist ()->fast_simple_add (end, ac->normal ());
|
||||
} else {
|
||||
ac->alist ()->truncate_end (end);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -24,6 +24,7 @@ WITH_COMMERCIAL_X42_LV2=
|
||||
WITH_GRATIS_X42_LV2=
|
||||
WITH_GMSYNYTH=
|
||||
WITH_HARVID=
|
||||
WITH_XJADEO=
|
||||
STRIP=all
|
||||
PRINT_SYSDEPS=
|
||||
WITH_NLS=
|
||||
@ -60,25 +61,14 @@ while [ $# -gt 0 ] ; do
|
||||
WITH_COMMERCIAL_X42_LV2=1
|
||||
WITH_GRATIS_X42_LV2=1
|
||||
WITH_GMSYNYTH=1
|
||||
WITH_HARVID=1
|
||||
WITH_XJADEO=1
|
||||
WITH_NLS=1 ;
|
||||
STRIP=all
|
||||
APPNAME=Mixbus ;
|
||||
VENDOR=Harrison ;
|
||||
EXENAME=mixbus ;
|
||||
shift ;;
|
||||
--mixbus32c)
|
||||
MIXBUS=1;
|
||||
WITH_HARRISON_LV2=1 ;
|
||||
WITH_COMMERCIAL_X42_LV2=1
|
||||
WITH_GRATIS_X42_LV2=1
|
||||
WITH_GMSYNYTH=1
|
||||
WITH_NLS=1 ;
|
||||
STRIP=all
|
||||
APPNAME=Mixbus32C ;
|
||||
VENDOR=Harrison ;
|
||||
EXENAME=mixbus32c ;
|
||||
major_version=""
|
||||
shift ;;
|
||||
--livetrax)
|
||||
LIVETRAX=1 ;
|
||||
STRIP=all ;
|
||||
@ -89,6 +79,8 @@ while [ $# -gt 0 ] ; do
|
||||
--public)
|
||||
WITH_HARRISON_LV2=1 ;
|
||||
WITH_GMSYNYTH=1
|
||||
WITH_HARVID=1
|
||||
WITH_XJADEO=1
|
||||
WITH_NLS=1 ;
|
||||
STRIP=all ;
|
||||
APPNAME=Ardour ;
|
||||
@ -107,7 +99,7 @@ while [ $# -gt 0 ] ; do
|
||||
--strip) STRIP=$2 ; shift ; shift ;;
|
||||
--sysdeps) PRINT_SYSDEPS=1; shift ;;
|
||||
--nls) WITH_NLS=1 ; shift ;;
|
||||
--harvid) WITH_HARVID=1 ; shift ;;
|
||||
--harvid) shift ;;
|
||||
--gcc5abi) shift ;;
|
||||
--chanstrip) HARRISONCHANNELSTRIP=$2 ; shift; shift ;;
|
||||
|
||||
@ -817,19 +809,24 @@ fi
|
||||
if test x$WITH_HARVID != x ; then
|
||||
cd $APPBIN
|
||||
HARVID_VERSION=$(curl -s -S http://ardour.org/files/video-tools/harvid_version.txt)
|
||||
XJADEO_VERSION=$(curl -s -S http://ardour.org/files/video-tools/xjadeo_version.txt)
|
||||
|
||||
rsync -Pa \
|
||||
rsync://ardour.org/video-tools/harvid-${MULTIARCH}-${HARVID_VERSION}.tgz \
|
||||
"$CACHEDIR/harvid-${MULTIARCH}-${HARVID_VERSION}.tgz"
|
||||
|
||||
rsync -Pa \
|
||||
rsync://ardour.org/video-tools/xjadeo-${MULTIARCH}-${XJADEO_VERSION}.tgz \
|
||||
"$CACHEDIR/xjadeo-${MULTIARCH}-${XJADEO_VERSION}.tgz"
|
||||
|
||||
tar -x -z \
|
||||
--exclude=README --exclude=harvid.1 --strip-components=1 \
|
||||
-f "$CACHEDIR/harvid-${MULTIARCH}-${HARVID_VERSION}.tgz" || exit 1
|
||||
cd -
|
||||
fi
|
||||
|
||||
if test x$WITH_XJADEO != x ; then
|
||||
cd $APPBIN
|
||||
XJADEO_VERSION=$(curl -s -S http://ardour.org/files/video-tools/xjadeo_version.txt)
|
||||
|
||||
rsync -Pa \
|
||||
rsync://ardour.org/video-tools/xjadeo-${MULTIARCH}-${XJADEO_VERSION}.tgz \
|
||||
"$CACHEDIR/xjadeo-${MULTIARCH}-${XJADEO_VERSION}.tgz"
|
||||
|
||||
tar -x -z \
|
||||
--exclude=README --exclude=xjadeo.1 --strip-components=1 \
|
||||
|
@ -16,6 +16,7 @@ mkdir -p "$CACHEDIR"
|
||||
MIXBUS=
|
||||
MIXBUS32C=
|
||||
WITH_HARVID=1
|
||||
WITH_XJADEO=1
|
||||
WITH_HARRISON_LV2=
|
||||
WITH_COMMERCIAL_X42_LV2=
|
||||
WITH_GRATIS_X42_LV2=
|
||||
@ -50,22 +51,9 @@ while [ $# -gt 0 ] ; do
|
||||
lower_case_appname=mixbus;
|
||||
BUNDLE_ID_BASE=com.harrisonconsoles
|
||||
shift ;;
|
||||
--mixbus32c) MIXBUS=1;
|
||||
MIXBUS32C=1;
|
||||
WITH_HARRISON_LV2=1 ;
|
||||
WITH_COMMERCIAL_X42_LV2=1
|
||||
WITH_GRATIS_X42_LV2=1
|
||||
WITH_GMSYNTH=1
|
||||
STRIP= ;
|
||||
PRODUCT_PKG_DIR=Mixbus32C;
|
||||
lower_case_appname=mixbus32c;
|
||||
BUNDLE_ID_BASE=com.harrisonconsoles
|
||||
APPNAME=Mixbus32C ;
|
||||
BUNDLENAME=Mixbus32C-${major_version} ;
|
||||
shift ;;
|
||||
--livetrax)
|
||||
LIVETRAX=1 ;
|
||||
WITH_HARVID= ;
|
||||
WITH_XJADEO= ;
|
||||
APPNAME=LiveTrax ;
|
||||
PRODUCT_PKG_DIR=LiveTrax;
|
||||
BUNDLENAME=LiveTrax${major_version} ;
|
||||
@ -86,7 +74,7 @@ while [ $# -gt 0 ] ; do
|
||||
# specific build flags
|
||||
#
|
||||
|
||||
--noharvid) WITH_HARVID= ; shift ;;
|
||||
--noharvid) shift ;;
|
||||
--nostrip) STRIP= ; shift ;;
|
||||
--sysdeps) PRINT_SYSDEPS=1; shift ;;
|
||||
--no-nls) WITH_NLS= ; shift ;;
|
||||
@ -711,28 +699,25 @@ if test x$WITH_HARRISON_LV2 != x ; then
|
||||
fi
|
||||
|
||||
if test x$WITH_HARVID != x ; then
|
||||
echo "installing video tools.."
|
||||
if test $OSX_ARCH = ppc; then
|
||||
# EOL
|
||||
HARVID_VERSION=v0.8.2
|
||||
XJADEO_VERSION=v0.8.8
|
||||
else
|
||||
HARVID_VERSION=$(curl -s -S http://ardour.org/files/video-tools/harvid_version.txt)
|
||||
XJADEO_VERSION=$(curl -s -S http://ardour.org/files/video-tools/xjadeo_version.txt)
|
||||
fi
|
||||
echo "copying harvid and xjadeo ..."
|
||||
echo "installing harvid..."
|
||||
HARVID_VERSION=$(curl -s -S http://ardour.org/files/video-tools/harvid_version.txt)
|
||||
|
||||
rsync -Pa \
|
||||
rsync://ardour.org/video-tools/harvid-${HARVID_ARCH}-${HARVID_VERSION}.tgz \
|
||||
"$CACHEDIR/harvid-${HARVID_ARCH}-${HARVID_VERSION}.tgz"
|
||||
|
||||
rsync -Pa \
|
||||
rsync://ardour.org/video-tools/jadeo${XJADEO_ARCH}-${XJADEO_VERSION:1}.dmg \
|
||||
"$CACHEDIR/jadeo${XJADEO_ARCH}-${XJADEO_VERSION:1}.dmg"
|
||||
|
||||
tar -x -z \
|
||||
-C $PRODUCT_PKG_DIR/$APPROOT \
|
||||
-f "$CACHEDIR/harvid-${HARVID_ARCH}-${HARVID_VERSION}.tgz" || exit 1
|
||||
fi
|
||||
|
||||
if test x$WITH_XJADEO != x ; then
|
||||
echo "installing video monitor.."
|
||||
XJADEO_VERSION=$(curl -s -S http://ardour.org/files/video-tools/xjadeo_version.txt)
|
||||
|
||||
rsync -Pa \
|
||||
rsync://ardour.org/video-tools/jadeo${XJADEO_ARCH}-${XJADEO_VERSION:1}.dmg \
|
||||
"$CACHEDIR/jadeo${XJADEO_ARCH}-${XJADEO_VERSION:1}.dmg"
|
||||
|
||||
JADEO=$(hdiutil attach "$CACHEDIR/jadeo${XJADEO_ARCH}-${XJADEO_VERSION:1}.dmg" | grep Apple_HFS | grep dev/ | cut -f 3)
|
||||
cp -r "${JADEO}/Jadeo.app" "$PRODUCT_PKG_DIR/"
|
||||
|
@ -34,6 +34,8 @@ WITH_HARRISON_LV2=1 ;
|
||||
WITH_COMMERCIAL_X42_LV2=
|
||||
WITH_GRATIS_X42_LV2=
|
||||
WITH_GMSYNTH=1
|
||||
WITH_HARVID=1
|
||||
WITH_XJADEO=1
|
||||
|
||||
# TODO: grep from build/config.log instead
|
||||
while [ $# -gt 0 ] ; do
|
||||
@ -49,20 +51,9 @@ while [ $# -gt 0 ] ; do
|
||||
PRODUCT_NAME=Mixbus
|
||||
MANUAL_NAME="mixbus-live-manual"
|
||||
shift ;;
|
||||
--mixbus32c)
|
||||
MIXBUS=1
|
||||
WITH_HARRISON_LV2=1 ;
|
||||
WITH_COMMERCIAL_X42_LV2=1
|
||||
WITH_GRATIS_X42_LV2=1
|
||||
PRODUCT_NAME=Mixbus32C
|
||||
PROGRAM_KEY=Mixbus32C
|
||||
PROGRAM_NAME=Mixbus32C-${PROGRAM_VERSION}
|
||||
PROGRAM_VERSION=""
|
||||
MANUAL_NAME="mixbus32c-live-manual"
|
||||
shift ;;
|
||||
--livetrax)
|
||||
LIVETRAX=1 ;
|
||||
NOVIDEOTOOLS=1 ;
|
||||
WITH_XJADEO=
|
||||
WITH_HARRISON_LV2="" ;
|
||||
WITH_GMSYNTH="" ;
|
||||
PROGRAM_NAME=LiveTrax
|
||||
@ -248,26 +239,29 @@ du -sh $DESTDIR
|
||||
|
||||
################################################################################
|
||||
### get video tools
|
||||
if test -z "$NOVIDEOTOOLS"; then
|
||||
echo " === Including video-tools"
|
||||
|
||||
if test -n "$WITH_HARVID"; then
|
||||
echo " === Including harvid"
|
||||
HARVID_VERSION=$(curl -s -S http://ardour.org/files/video-tools/harvid_version.txt)
|
||||
XJADEO_VERSION=$(curl -s -S http://ardour.org/files/video-tools/xjadeo_version.txt)
|
||||
|
||||
rsync -a -q --partial \
|
||||
rsync://ardour.org/video-tools/harvid_${WARCH}-${HARVID_VERSION}.tar.xz \
|
||||
"${SRCCACHE}/harvid_${WARCH}-${HARVID_VERSION}.tar.xz"
|
||||
|
||||
mkdir -p $DESTDIR/video
|
||||
tar -xf "${SRCCACHE}/harvid_${WARCH}-${HARVID_VERSION}.tar.xz" -C "$DESTDIR/video/"
|
||||
fi
|
||||
|
||||
if test -n "$WITH_XJADEO"; then
|
||||
echo " === Including video-monitor"
|
||||
XJADEO_VERSION=$(curl -s -S http://ardour.org/files/video-tools/xjadeo_version.txt)
|
||||
|
||||
rsync -a -q --partial \
|
||||
rsync://ardour.org/video-tools/xjadeo_${WARCH}-${XJADEO_VERSION}.tar.xz \
|
||||
"${SRCCACHE}/xjadeo_${WARCH}-${XJADEO_VERSION}.tar.xz"
|
||||
|
||||
mkdir $DESTDIR/video
|
||||
tar -xf "${SRCCACHE}/harvid_${WARCH}-${HARVID_VERSION}.tar.xz" -C "$DESTDIR/video/"
|
||||
mkdir -p $DESTDIR/video
|
||||
tar -xf "${SRCCACHE}/xjadeo_${WARCH}-${XJADEO_VERSION}.tar.xz" -C "$DESTDIR/video/"
|
||||
|
||||
echo " === unzipped"
|
||||
du -sh $DESTDIR/video
|
||||
du -sh $DESTDIR
|
||||
fi
|
||||
|
||||
################################################################################
|
||||
@ -525,10 +519,10 @@ Section "${PROGRAM_NAME}${PROGRAM_VERSION} (required)" SecMainProg
|
||||
SectionEnd
|
||||
EOF
|
||||
|
||||
if test -z "$NOVIDEOTOOLS"; then
|
||||
if test -n "$WITH_HARVID$WITH_XJADEO"; then
|
||||
|
||||
cat >> $NSISFILE << EOF
|
||||
Section "Videotimeline Tools (required)" SecVideo
|
||||
Section "A/V Tools (required)" SecVideo
|
||||
WriteRegStr HKLM "Software\\${PROGRAM_KEY}\\v${major_version}\\video" "Install_Dir" "\$INSTDIR\\video"
|
||||
SectionIn RO
|
||||
SetOutPath \$INSTDIR
|
||||
@ -577,7 +571,7 @@ if test -f "$DESTDIR/debug.bat"; then
|
||||
EOF
|
||||
fi
|
||||
|
||||
if test -z "$NOVIDEOTOOLS"; then
|
||||
if test -n "$WITH_XJADEO"; then
|
||||
cat >> $NSISFILE << EOF
|
||||
IfFileExists "\$INSTDIR\\video\\xjadeo\\xjadeo.exe" 0 +2
|
||||
CreateShortCut "\$SMPROGRAMS\\${PRODUCT_ID}${SFX}\\Video Monitor.lnk" "\$INSTDIR\\video\\xjadeo\\xjadeo.exe" "" "\$INSTDIR\\video\\xjadeo\\xjadeo.exe" 0
|
||||
@ -591,11 +585,20 @@ LangString DESC_SecMainProg \${LANG_ENGLISH} "${PROGRAM_NAME} ${ARDOURVERSION}\$
|
||||
LangString DESC_SecWASAPI \${LANG_ENGLISH} "WASAPI Audio Driver\$\\r\$\\nOnly works on Vista or later. Windows 10 Users may currently also experience issues if this is installed."
|
||||
EOF
|
||||
|
||||
if test -z "$NOVIDEOTOOLS"; then
|
||||
if test -n "$WITH_XJADEO" -a -n "$WITH_HARVID"; then
|
||||
cat >> $NSISFILE << EOF
|
||||
LangString DESC_SecVideo \${LANG_ENGLISH} "Video Tools\$\\r\$\\nxjadeo-${XJADEO_VERSION}\$\\r\$\\nharvid-${HARVID_VERSION}"
|
||||
EOF
|
||||
elif test -n "$WITH_HAVID"; then
|
||||
cat >> $NSISFILE << EOF
|
||||
LangString DESC_SecVideo \${LANG_ENGLISH} "Video Tools\$\\r\$\\nharvid-${HARVID_VERSION}"
|
||||
EOF
|
||||
elif test -n "$WITH_XJADEO"; then
|
||||
cat >> $NSISFILE << EOF
|
||||
LangString DESC_SecVideo \${LANG_ENGLISH} "Video Tools\$\\r\$\\nxjadeo-${XJADEO_VERSION}"
|
||||
EOF
|
||||
fi
|
||||
|
||||
if test x$WITH_HARRISON_LV2 != x ; then
|
||||
cat >> $NSISFILE << EOF
|
||||
LangString DESC_SecXT \${LANG_ENGLISH} "These are proprietary additions, but the DSP is not license encumbered. XT-plugin GUIs are commercial, the additional a-*/ACE plugin GUIs are free."
|
||||
@ -609,7 +612,7 @@ LangString DESC_SecMenu \${LANG_ENGLISH} "Create Start-Menu Shortcuts (recommend
|
||||
!insertmacro MUI_DESCRIPTION_TEXT \${SecWASAPI} \$(DESC_SecWASAPI)
|
||||
EOF
|
||||
|
||||
if test -z "$NOVIDEOTOOLS"; then
|
||||
if test -n "$WITH_XJADEO$WITH_HARVID"; then
|
||||
cat >> $NSISFILE << EOF
|
||||
!insertmacro MUI_DESCRIPTION_TEXT \${SecVideo} \$(DESC_SecVideo)
|
||||
EOF
|
||||
|
Loading…
Reference in New Issue
Block a user