diff options
Diffstat (limited to 'games/xmoto')
-rw-r--r-- | games/xmoto/README | 5 | ||||
-rw-r--r-- | games/xmoto/doinst.sh | 4 | ||||
-rw-r--r-- | games/xmoto/patches/localedir.diff | 12 | ||||
-rw-r--r-- | games/xmoto/patches/sqlite3.diff | 30 | ||||
-rw-r--r-- | games/xmoto/patches/xmoto-amd64_gcc441.diff | 35 | ||||
-rw-r--r-- | games/xmoto/slack-desc | 19 | ||||
-rw-r--r-- | games/xmoto/xmoto.SlackBuild | 87 | ||||
-rw-r--r-- | games/xmoto/xmoto.info | 10 |
8 files changed, 0 insertions, 202 deletions
diff --git a/games/xmoto/README b/games/xmoto/README deleted file mode 100644 index 8dc45b2e71b16..0000000000000 --- a/games/xmoto/README +++ /dev/null @@ -1,5 +0,0 @@ -X-Moto is a challenging 2D motocross platform game, where physics play an all -important role in the gameplay. You need to control your bike to its limit, if -you want to have a chance finishing the more difficult of the challenges. - -This requires lua and ode. diff --git a/games/xmoto/doinst.sh b/games/xmoto/doinst.sh deleted file mode 100644 index 4e8ba7071dea7..0000000000000 --- a/games/xmoto/doinst.sh +++ /dev/null @@ -1,4 +0,0 @@ -if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 -fi - diff --git a/games/xmoto/patches/localedir.diff b/games/xmoto/patches/localedir.diff deleted file mode 100644 index 238e1de4a5cd7..0000000000000 --- a/games/xmoto/patches/localedir.diff +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur xmoto-0.5.0.orig/po/Makefile.in.in xmoto-0.5.0/po/Makefile.in.in ---- xmoto-0.5.0.orig/po/Makefile.in.in 2008-11-23 09:32:28.000000000 +0000 -+++ xmoto-0.5.0/po/Makefile.in.in 2009-03-30 20:44:01.000000000 +0000 -@@ -26,7 +26,7 @@ - datarootdir = @datarootdir@ - datadir = @datadir@ - localedir = @localedir@ --gettextsrcdir = $(datadir)/gettext/po -+gettextsrcdir = @localedir@/gettext/po - - INSTALL = @INSTALL@ - INSTALL_DATA = @INSTALL_DATA@ diff --git a/games/xmoto/patches/sqlite3.diff b/games/xmoto/patches/sqlite3.diff deleted file mode 100644 index 8d47a140f7ff9..0000000000000 --- a/games/xmoto/patches/sqlite3.diff +++ /dev/null @@ -1,30 +0,0 @@ -diff -Naur xmoto-0.5.0.orig/configure xmoto-0.5.0/configure ---- xmoto-0.5.0.orig/configure 2008-11-23 09:33:21.000000000 +0000 -+++ xmoto-0.5.0/configure 2009-03-30 20:52:48.000000000 +0000 -@@ -5104,7 +5104,7 @@ - cat >>confdefs.h <<_ACEOF - #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 - _ACEOF -- SQLITE_LIBS=-lsqlite3 -+ SQLITE_LIBS=`pkg-config --static --libs sqlite3` - else - { { echo "$as_me:$LINENO: error: \"sqlite3 required\"" >&5 - echo "$as_me: error: \"sqlite3 required\"" >&2;} -@@ -5120,7 +5120,7 @@ - echo $ECHO_N "(cached) $ECHO_C" >&6 - else - ac_check_lib_save_LIBS=$LIBS --LIBS="-lsqlite3 $LIBS" -+LIBS="`pkg-config --static --libs sqlite3` $LIBS" - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ - _ACEOF -@@ -5174,7 +5174,7 @@ - #define HAVE_LIBSQLITE3 1 - _ACEOF - -- LIBS="-lsqlite3 $LIBS" -+ LIBS="`pkg-config --static --libs sqlite3` $LIBS" - - else - { { echo "$as_me:$LINENO: error: \"Linking against sqlite3 failed.\"" >&5 diff --git a/games/xmoto/patches/xmoto-amd64_gcc441.diff b/games/xmoto/patches/xmoto-amd64_gcc441.diff deleted file mode 100644 index bc0f47e693b42..0000000000000 --- a/games/xmoto/patches/xmoto-amd64_gcc441.diff +++ /dev/null @@ -1,35 +0,0 @@ -http://bugs.gentoo.org/284464 - ---- src/DBuffer.h.org 2009-09-10 11:58:28.000000000 +0200 -+++ src/DBuffer.h 2009-09-10 12:07:30.000000000 +0200 -@@ -69,6 +69,8 @@ - void operator >>(unsigned char &c); - void operator <<(unsigned int n); - void operator >>(unsigned int &n); -+ void operator <<(unsigned long n); -+ void operator >>(unsigned long &n); - void operator <<(float n); - void operator >>(float &n); - void operator <<(std::string s); - ---- src/DBuffer.cpp.org 2009-09-10 11:58:38.000000000 +0200 -+++ src/DBuffer.cpp 2009-09-10 12:08:18.000000000 +0200 -@@ -210,6 +210,18 @@ - n = (unsigned int) sn; - } - -+ void DBuffer::operator <<(unsigned long n) { -+ int sn; -+ sn = (int) (n); -+ *this << sn; -+ } -+ -+ void DBuffer::operator >>(unsigned long &n) { -+ int sn; -+ *this >> sn; -+ n = (unsigned long) sn; -+ } -+ - void DBuffer::operator <<(float n) { - writeBuf_LE((char *)&n, sizeof(float)); - } diff --git a/games/xmoto/slack-desc b/games/xmoto/slack-desc deleted file mode 100644 index 72b3768d766e1..0000000000000 --- a/games/xmoto/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler------------------------------------------------------| -xmoto: xmoto (2D motocross platform game) -xmoto: -xmoto: X-Moto is a challenging 2D motocross platform game, where physics -xmoto: playan all important role in the gameplay. You need to control your -xmoto: bike to its limit, if you want to have a chance finishing the more -xmoto: difficult of the challenges. -xmoto: -xmoto: Homepage: http://xmoto.tuxfamily.org/ -xmoto: -xmoto: -xmoto: diff --git a/games/xmoto/xmoto.SlackBuild b/games/xmoto/xmoto.SlackBuild deleted file mode 100644 index 2ae4d15b573e3..0000000000000 --- a/games/xmoto/xmoto.SlackBuild +++ /dev/null @@ -1,87 +0,0 @@ -#!/bin/sh - -## Written by hollywoodb (hollywoodb@fastmail.fm) - -## Feel free to use, modify, redistribute this script. -## If you make changes please modify the "Written by" -## so that I don't recieve emails about a script I -## did not write. Thanks. - -# Modified by the SlackBuilds.org project -# Updated by Alex Word <alex_word86@yahoo.com> - -PRGNAM=xmoto -VERSION=0.5.2 -ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=${PKG:-$TMP/package-$PRGNAM} -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -fi - -set -e - -rm -rf $PKG $TMP/$PRGNAM-$VERSION -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -tar xvf $CWD/$PRGNAM-$VERSION-src.tar.gz -cd $PRGNAM-$VERSION -chown -R root:root . -chmod -R u+w,go+r-w,a-s . - -patch -p1 < $CWD/patches/sqlite3.diff -patch -p1 < $CWD/patches/localedir.diff -patch -p0 < $CWD/patches/xmoto-amd64_gcc441.diff - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --localstatedir=/var \ - --mandir=/usr/man \ - --localedir=/usr/share/locale \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --with-localesdir=/usr/share/locale \ - --disable-dependency-tracking \ - --enable-threads=posix \ - --with-enable-zoom=1 \ - --with-renderer-sdlGfx=0 \ - --with-renderer-openGl=1 \ - --with-x \ - --build=$ARCH-slackware-linux - -make -make install-strip DESTDIR=$PKG - -mkdir -p $PKG/usr/share/{pixmaps,applications} -install -m 0644 extra/$PRGNAM.xpm $PKG/usr/share/pixmaps/ -install -m 0644 extra/$PRGNAM.desktop $PKG/usr/share/applications/ - -gzip -9 $PKG/usr/man/man?/*.? - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - ABOUT-NLS AUTHORS COPYING INSTALL NEWS README TODO ChangeLog \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/games/xmoto/xmoto.info b/games/xmoto/xmoto.info deleted file mode 100644 index 67e6e6b91bd9e..0000000000000 --- a/games/xmoto/xmoto.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="xmoto" -VERSION="0.5.2" -HOMEPAGE="http://xmoto.tuxfamily.org/" -DOWNLOAD="http://download.tuxfamily.org/xmoto/xmoto/0.5.2/xmoto-0.5.2-src.tar.gz" -MD5SUM="1e3678ebceca21d61844efb53c140227" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="Alex Word" -EMAIL="alex_word86@yahoo.com" -APPROVED="rworkman" |