Mercurial > sdl-ios-xcode
view build-scripts/snapshot.sh @ 3292:245a7d79577c
Fixed bug #615
Scott McCreary 2008-08-21 10:48:14 PDT
This patch adds support for Haiku.
http://ports.haiku-files.org/browser/haikuports/trunk/media-libs/libsdl/SDL-1.2.13-haiku.diff
Haiku is an open-source recreation of BeOS. It has better POSIX compliance
than beOS did, and other improved features, which in some cases causes us to
have to "undo" previous BeOS workarounds.
Here's our port log entry for it, showing the steps to force the changes into
configure and Makefile:
http://ports.haiku-files.org/wiki/media-libs/libsdl/1.2.13/1
Note that this was only tried on 1.2.13 stable so far.
Haiku is using a newer config.guess / config.sub that doesn't yet seem to be in
the released libtool, so we are having to copy it in for now.
http://haiku-files.org/files/optional-packages/
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 21 Sep 2009 09:21:00 +0000 |
parents | bb773ff79106 |
children | 64a2d8f538a1 |
line wrap: on
line source
#!/bin/sh # # Generate a current snapshot from source control echo "Checking out source" svn co -q http://svn.libsdl.org/trunk/SDL (cd SDL && ./autogen.sh && rm -rf autom4te.cache) sh SDL/build-scripts/updaterev.sh 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,'` path="SDL-$major.$minor.$patch-$rev" mv SDL $path echo $path.tar.gz tar zcf $path.tar.gz $path echo $path.zip rm -f $path.zip zip -rq $path.zip $path rm -rf $path #ln -sf $path.tar.gz SDL-1.3.tar.gz #ln -sf $path.zip SDL-1.3.zip #date=`date +"%a %b %e"` #sed -e "s/<-- SDL 1.3 DATE -->.*/<-- SDL 1.3 DATE --> $date/" <../svn.php >../svn.php.new #mv ../svn.php.new ../svn.php