oolite/tools/mksrctarballs
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

65 lines
1.7 KiB
Bash
Executable File

#!/bin/sh
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
# clear out the cruft
rm -rf $DESTINATION/oolite-$VERSION-src
rm -f $DESTINATION/oolite-$VERSION-src.tar.gz
rm -rf $DESTINATION/oolite-$VERSION-data
rm -f $DESTINATION/oolite-$VERSION-data.tar.gz
if ! mkdir -p $DESTINATION/oolite-$VERSION-src;
then
echo "Couldn't create directory for the source files"
exit 255
fi
if ! mkdir -p $DESTINATION/oolite-$VERSION-data;
then
echo "Couldn't create directory for the data files"
exit 255
fi
for i in autopackage Doc FreeDesktop installers Oolite-importer Oolite.xcodeproj OSX-SDL src tools GNUmakefile GNUmakefile.postamble README.txt
do
if ! cp -r $i $DESTINATION/oolite-$VERSION-src;
then
echo "Failed to copy $i to $DESTINATION/oolite-$VERSION-src"
exit 255
fi
done
if ! cp -r Resources $DESTINATION/oolite-$VERSION-data;
then
echo "Failed to copy Resources to $DESTINATION/oolite-$VERSION-data"
exit 255
fi
cd $DESTINATION
if ! tar zcf oolite-$VERSION-src.tar.gz oolite-$VERSION-src --exclude .svn
then
echo "Failed to create src tarball"
exit 255
fi
# so the data tarball has the same path as src
rm -rf oolite-$VERSION-src
mv oolite-$VERSION-data oolite-$VERSION-src
if ! tar zcf oolite-$VERSION-data.tar.gz oolite-$VERSION-src --exclude .svn
then
echo "Failed to create data tarball"
exit 255
fi
rm -rf oolite-$VERSION-src
echo "Tarballs placed in $DESTINATION."