author Sunny Sachanandani <>
Mon, 24 May 2010 21:02:58 +0530
changeset 4571 97dcf6f6213c
parent 2986 bb773ff79106
child 5019 64a2d8f538a1
permissions -rwxr-xr-x
Added a #define option for compile time Xrender support. Added some more attributes (specific to Xrender) to the X11 structs. Added some code for querying the Xrender extension.

# Generate a current snapshot from source control

echo "Checking out source"
svn co -q
(cd SDL && ./ && rm -rf autom4te.cache)
sh SDL/build-scripts/
cp SDL/include/SDL_config.h.default SDL/include/SDL_config.h

major=`fgrep "#define SDL_MAJOR_VERSION" SDL/include/SDL_version.h | \
       sed 's,[^0-9]*\([0-9]*\),\1,'`
minor=`fgrep "#define SDL_MINOR_VERSION" SDL/include/SDL_version.h | \
       sed 's,[^0-9]*\([0-9]*\),\1,'`
patch=`fgrep "#define SDL_PATCHLEVEL" SDL/include/SDL_version.h | \
       sed 's,[^0-9]*\([0-9]*\),\1,'`
rev=`fgrep "#define SDL_REVISION" SDL/include/SDL_revision.h | \
       sed 's,[^0-9]*\([0-9]*\),\1,'`

mv SDL $path
echo $path.tar.gz
tar zcf $path.tar.gz $path
echo $
rm -f $
zip -rq $ $path
rm -rf $path

#ln -sf $path.tar.gz SDL-1.3.tar.gz
#ln -sf $
#date=`date +"%a %b %e"`
#sed -e "s/<-- SDL 1.3 DATE -->.*/<-- SDL 1.3 DATE --> $date/" <../svn.php >../
#mv ../ ../svn.php