oolite/tools/mktarballs
getafix de60dba4e3 Transparent linux-x86, linux-x86_64 build and autopackage-packaging with
new Linux-deps folder (ready for distro independent build) and 
updated Makefile, GNUmakefile and autopackage apspec files

Speech support with eSpeak compiled using PulseAudio instead of the default PortAudio.
(Smoother inter-distro speech execution when eSpeak does not use PortAudio)

Fixed oolite-update to include itself during updates

Fixed oolite wrapper-scripts not passing command line arguments to oolite executable

Updated Linux README.TXT, PLAYING.TXT files

Dependency libraries updates:
   gnustep-base-1.18 - VSync issue addressed (noticed on nVidia cards). Fixed the tearing issue enabling smooth video scrolling.
   SDL-1.2.14
   libpng14
   eSpeak-1.43.03 - Supports klat voices

Deleted Linux-x86-deps/
Deleted installers/autopackage/default.apspec



git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3233 127b21dd-08f5-0310-b4b7-95ae10353056
2010-04-28 09:37:38 +00:00

56 lines
1.3 KiB
Bash
Executable File

#!/bin/sh
OS=`uname`
CPU=`uname -m`
VERSION=`grep SoftwareVersion installers/autopackage/default.x86.apspec|cut -d ' ' -f 2`
DESTINATION=`pwd`/TarballPackages
TREEROOT=`pwd`
if [ "$VERSION" == "" ]
then
echo "I can't find the apspec file. This script needs to be run from"
echo "the repository top level directory to find all it needs."
exit 255
fi
if [ $CPU == 'i686' ]
then
CPU="x86"
fi
DEPSDIR="$TREEROOT/deps/$OS-$CPU-deps"
if [ -d $DEPSDIR ]
then
echo "Creating tarball binary package Oolite-$OS-$VERSION-$CPU.tar.gz"
else
echo "No dependencies package exists for platform $OS-$CPU"
exit 255
fi
if make; then
echo "Build completed OK"
else
echo "Build failed, exiting."
exit 255
fi
echo "Bundling oolite.app"
PKGDIR=$DESTINATION/oolite-installer
rm -rf $PKGDIR
mkdir -p $PKGDIR
tar cf $PKGDIR/oolite-app.tar oolite.app --exclude .svn
echo "Bundling dependency package"
cp Doc/FAQ.TXT Doc/LICENSE.TXT $PKGDIR
cd $DEPSDIR
cp install oolite-update.src oolite.src PLAYING.TXT README.TXT $PKGDIR
tar cf $PKGDIR/oolite-deps.tar oolite-deps --exclude .svn
echo $VERSION >$PKGDIR/release.txt
cd $DESTINATION
tar zcf Oolite-$OS-$VERSION-$CPU.tar.gz oolite-installer
echo "Removing temporary files"
rm -rf $PKGDIR
echo "Created $DESTINATION/Oolite-$OS-$VERSION-$CPU.tar.gz"