oolite/tools/mkwinsnapshotinst.sh
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

39 lines
1.1 KiB
Bash

# Assumed to be running in the root of a working copy (eg trunk, tags/1.64, etc)
# so this script has to be run like: tools/mkwinsnapshotinst.sh
svn up
export SRC="/c/Program Files/Oolite"
export DST=$GNUSTEP_LOCAL_ROOT/oolite/tmp
export VER=`awk -- '/SoftwareVersion/ { print $2 }' installers/autopackage/default.x86.apspec`
export SVNREV=`svn info . | awk -- '/Revision:/ { print $2 }'`
echo building: $VER from svn revision $SVNREV
if [ -d $DST ]; then
echo "removing old setup files"
rm -rf $DST
fi
mkdir $DST
mkdir $DST/oolite.app
mkdir $DST/AddOns
echo "making Oolite"
make clean
make debug=no
echo "copying new build to setup folder"
cp -r oolite.app/* $DST/oolite.app
rm $DST/oolite.app/oolite.exe.a
find $DST -type d -name '.svn' -exec rm -rf {} \;
cp deps/Windows-x86-deps/DLLs/* $DST/oolite.app
echo "making installer"
cd installers/win32
echo Oolite v$VER, snapshot build of svn revision $SVNREV \(`date -I`\) >$DST/Oolite_Readme.txt
cat Oolite_Readme.txt >>$DST/Oolite_Readme.txt
cp ../../Doc/OoliteRS.pdf $DST
"/c/Program Files/NSIS/makensis" OoliteSnapshot_ModernUI.nsi