summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-06-09 13:13:53 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-06-09 13:13:53 -0400
commite1802c9971a127085ec2c5889806df8cfae48068 (patch)
tree11580a61422f65d58cb8ac13d081480b88e3a699 /tools
parent98019ccc22f80514779c3a05682444e80cb05943 (diff)
parent3942eec0e9a30ce9422b4a46ccc2ab70cc88be8a (diff)
Merge branch 'master' of git@git.ardour.org:ardour/ardour
Diffstat (limited to 'tools')
-rw-r--r--tools/linux_packaging/noderun2
-rwxr-xr-xtools/linux_packaging/stage2.run4
-rwxr-xr-xtools/osx_packaging/osx_build28
3 files changed, 28 insertions, 6 deletions
diff --git a/tools/linux_packaging/noderun b/tools/linux_packaging/noderun
index c48fdedbe7..b092abd5ca 100644
--- a/tools/linux_packaging/noderun
+++ b/tools/linux_packaging/noderun
@@ -11,7 +11,7 @@ fi
cd $BASE || exit 1
git pull || exit 1
-./waf configure $* --strict --noconfirm --also-libdir=$HOME/a3/inst/lib --also-include=$HOME/gtk/inst/include || exit 1
+./waf configure $* --strict --backtrace --noconfirm --also-libdir=$HOME/a3/inst/lib --also-include=$HOME/gtk/inst/include || exit 1
./waf || exit 1
cd tools/linux_packaging || exit 1
./build --public --strip some || exit 1
diff --git a/tools/linux_packaging/stage2.run b/tools/linux_packaging/stage2.run
index 4f92ac5f4c..e98810e820 100755
--- a/tools/linux_packaging/stage2.run
+++ b/tools/linux_packaging/stage2.run
@@ -595,13 +595,13 @@ then
else
echo ""
echo "!!! WARNING !!! - The version of Jack on this system is too old!"
- echo "Using an old version of Jack is not recommened. Please update"
+ echo "Using an old version of Jack is not recommended. Please update"
echo "Jack for best results."
echo ""
echo "System Jack version:"
echo " ${JACK_VER_STRING}"
echo ""
- echo "Recommened minimum versions:"
+ echo "Recommended minimum versions:"
echo " Jack1 - 0.121.3"
echo " Jack2 - 1.9.8"
echo ""
diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build
index 5b3248e1c1..d9b6099cd3 100755
--- a/tools/osx_packaging/osx_build
+++ b/tools/osx_packaging/osx_build
@@ -8,6 +8,7 @@ BUILD_ROOT=../../build
SAE=
MIXBUS=
+WITH_HARVID=
WITH_LADSPA=1
STRIP=1
PRINT_SYSDEPS=
@@ -55,6 +56,7 @@ while [ $# -gt 0 ] ; do
# specific build flags
#
+ --harvid) WITH_HARVID=1 ; shift ;;
--noladspa) WITH_LADSPA= ; shift ;;
--nostrip) STRIP= ; shift ;;
--sysdeps) PRINT_SYSDEPS=1; shift ;;
@@ -472,6 +474,8 @@ done
rm -rf $PRODUCT_PKG_DIR
mkdir $PRODUCT_PKG_DIR
+DMGWINBOTTOM=440
+
if [ x$SAE != x ] ; then
# SAE packaging
@@ -489,7 +493,8 @@ elif [ x$MIXBUS != x ] ; then
echo "Creating Mixbus packaging directory"
mv $APPDIR $PRODUCT_PKG_DIR/
cp MixBus_Install_QuickStart.pdf "$PRODUCT_PKG_DIR/Mixbus Install & Quick Start Guide.pdf"
-
+ DMGWINBOTTOM=$[ $DMGWINBOTTOM + 100 ]
+ MIXBUSPOS="set position of item \"MixBus_Install_QuickStart.pdf\" of container window to {90, 180}"
else
echo "Creating $APPNAME packaging directory"
@@ -497,6 +502,20 @@ else
fi
+if test x$WITH_HARVID != x ; then
+ echo "installing video tools.."
+ # TODO move files to http://ardour.org/files/ - symlink 'latest'
+ HARVID_VERSION=$(curl http://ardour.org/files/video-tools/harvid_version.txt)
+ XJADEO_VERSION=$(curl http://ardour.org/files/video-tools/xjadeo_version.txt)
+ echo "copying harvid and xjadeo ..."
+ curl -L -o "$PRODUCT_PKG_DIR/harvid-${HARVID_VERSION}.pkg" "http://x42.github.io/harvid/releases/harvid-${HARVID_VERSION}.pkg"
+ curl -L -o "$PRODUCT_PKG_DIR/xjadeo-${XJADEO_VERSION:1}.dmg" "http://sourceforge.net/projects/xjadeo/files/xjadeo/${XJADEO_VERSION}/jadeo-${XJADEO_VERSION:1}.dmg/download"
+ DMGWINBOTTOM=$[ $DMGWINBOTTOM + 140 ]
+ YPOS=$[ $DMGWINBOTTOM - 300 ]
+ HARVIDPOS="set position of item \"harvid-${HARVID_VERSION}.pkg\" of container window to {90, ${YPOS}}"
+ XJADEOPOS="set position of item \"xjadeo-${XJADEO_VERSION:1}.dmg\" of container window to {310, ${YPOS}}"
+fi
+
echo "Building DMG ..."
# UC_DMG=$APPNAME-${release_version}-${revision}-UC.dmg
@@ -525,7 +544,7 @@ DiskDevice=$(hdid -nomount "$TMPDMG" | grep Apple_HFS | cut -f 1 -d ' ')
newfs_hfs -v "${VOLNAME}" "${DiskDevice}"
mount -t hfs "${DiskDevice}" "${MNTPATH}"
-cp -r ${PRODUCT_PKG_DIR}/${APPDIR} "${MNTPATH}" || exit
+cp -r ${PRODUCT_PKG_DIR}/* "${MNTPATH}" || exit
mkdir "${MNTPATH}/.background"
cp -vi dmgbg.png "${MNTPATH}/.background/dmgbg.png"
@@ -538,7 +557,7 @@ echo '
set current view of container window to icon view
set toolbar visible of container window to false
set statusbar visible of container window to false
- set the bounds of container window to {400, 200, 800, 440}
+ set the bounds of container window to {400, 200, 800, '${DMGWINBOTTOM}'}
set theViewOptions to the icon view options of container window
set arrangement of theViewOptions to not arranged
set icon size of theViewOptions to 64
@@ -546,6 +565,9 @@ echo '
make new alias file at container window to POSIX file "/Applications" with properties {name:"Applications"}
set position of item "'${APPDIR}'" of container window to {90, 100}
set position of item "Applications" of container window to {310, 100}
+ '${MIXBUSPOS}'
+ '${HARVIDPOS}'
+ '${XJADEOPOS}'
close
open
update without registering applications