games/supertuxkart: Removed (Build failure)
This commit is contained in:
parent
b32fe885a5
commit
468f57ac55
|
@ -1,9 +0,0 @@
|
|||
SuperTuxKart is a Free 3d kart racing game; we want to make
|
||||
the game fun more than we want to make it realistic. You can
|
||||
play with up to 4 friends on one PC, racing against each
|
||||
other or just try to beat the computer. (a network multiplayer
|
||||
feature is under development).
|
||||
|
||||
Requires: plib, OpenAL and freealut.
|
||||
|
||||
Optional: supertuxkart-extra-karts and supertuxkart-extra-tracks.
|
|
@ -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
|
||||
|
|
@ -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------------------------------------------------------|
|
||||
supertuxkart: supertuxkart (A 3D Kart racing game)
|
||||
supertuxkart:
|
||||
supertuxkart: A new and improved version of TuxKart, a kart racing game featuring
|
||||
supertuxkart: Tux and his friends.
|
||||
supertuxkart:
|
||||
supertuxkart: Homepage: http://supertuxkart.sourceforge.net/
|
||||
supertuxkart:
|
||||
supertuxkart:
|
||||
supertuxkart:
|
||||
supertuxkart:
|
||||
supertuxkart:
|
|
@ -1,72 +0,0 @@
|
|||
.\" This manpage has been automatically generated by docbook2man
|
||||
.\" from a DocBook document. This tool can be found at:
|
||||
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
|
||||
.\" Please send any bug reports, improvements, comments, patches,
|
||||
.\" etc. to Steve Cheng <steve@ggi-project.org>.
|
||||
.TH "SUPERTUXKART" "6" "13 May 2009" "" ""
|
||||
|
||||
.SH NAME
|
||||
supertuxkart \- A Kart Game Featuring Tux and Friends
|
||||
.SH SYNOPSIS
|
||||
|
||||
\fBsupertuxkart\fR
|
||||
|
||||
.SH "OPTIONS"
|
||||
.PP
|
||||
This program accepts some optional parameters.
|
||||
.TP
|
||||
\fB -N --no-start-screen \fR
|
||||
Quick race
|
||||
.TP
|
||||
\fB -t --track \fR
|
||||
Start at track NAME (see --list-tracks)
|
||||
.TP
|
||||
\fB -l --list-tracks \fR
|
||||
Show available tracks.
|
||||
.TP
|
||||
\fB -k --numkarts \fR
|
||||
Number of karts on the racetrack
|
||||
.TP
|
||||
\fB --kart NAME \fR
|
||||
Use kart number NAME
|
||||
.TP
|
||||
\fB --list-karts \fR
|
||||
Show available karts.
|
||||
.TP
|
||||
\fB --laps n \fR
|
||||
Define number of laps to n
|
||||
.TP
|
||||
\fB --players n \fR
|
||||
Define number of players to between 1 and 4.
|
||||
.TP
|
||||
\fB --reverse \fR
|
||||
Enable reverse mode
|
||||
.TP
|
||||
\fB --mirror \fR
|
||||
Enable mirror mode (when supported)
|
||||
.TP
|
||||
\fB -f --fullscreen \fR
|
||||
Fullscreen display.
|
||||
.TP
|
||||
\fB -w --windowed \fR
|
||||
Windowed display. (default)
|
||||
.TP
|
||||
\fB -s --screensize WIDTHxHEIGHT \fR
|
||||
Set the screen size (e.g. 320x200)
|
||||
.TP
|
||||
\fB -v --version \fR
|
||||
Show version
|
||||
.SH "FILES"
|
||||
.TP
|
||||
\fB\fI$(HOME)/.supertuxkart/\fB\fR
|
||||
Configuration directory.
|
||||
.SH "AUTHOR"
|
||||
.PP
|
||||
This manual page was written by Gonéri Le Bouder <<goneri@rulezlan.org>> for
|
||||
the Debian system (but may be used by others). Permission is
|
||||
granted to copy, distribute and/or modify this document under
|
||||
the terms of the GNU General Public License, Version 2 any
|
||||
later version published by the Free Software Foundation.
|
||||
.PP
|
||||
On Debian systems, the complete text of the GNU General Public
|
||||
License can be found in /usr/share/common-licenses/GPL.
|
|
@ -1,85 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for supertuxkart
|
||||
|
||||
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
|
||||
|
||||
PRGNAM=supertuxkart
|
||||
VERSION=${VERSION:-0.6.2a}
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
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
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION-src.tar.bz2
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
-exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
# The Makefile's don't respect directory variables given to configure.
|
||||
# Let's fix that with a few other additional cleanups.
|
||||
patch -p1 < $CWD/translations.patch
|
||||
sed -i 's|\/games|\/bin|g' data/${PRGNAM}_desktop.template
|
||||
for i in $(find . -name "Makefile.*"); do
|
||||
sed -i \
|
||||
-e "/^bindir/s|games|bin|g" \
|
||||
-e "/^pkgdatadir/s|=.*\/po|= \@localedir\@|" \
|
||||
-e 's|\/games\/|\/|g' $i
|
||||
done
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--localedir=/usr/share/locale \
|
||||
--datadir=/usr/share \
|
||||
--enable-debug=no \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
make install-strip DESTDIR=$PKG
|
||||
|
||||
mkdir -p $PKG/usr/man/man6
|
||||
gzip -9c $CWD/$PRGNAM.6 > $PKG/usr/man/man6/$PRGNAM.6.gz
|
||||
|
||||
# Remove unneeded directories/files.
|
||||
rm -rf $PKG/usr/share/doc
|
||||
rm -f $PKG/usr/share/locale/{*.po,*.pot}
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
AUTHORS ChangeLog COPYING NEWS README TODO \
|
||||
$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 $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
|
@ -1,10 +0,0 @@
|
|||
PRGNAM="supertuxkart"
|
||||
VERSION="0.6.2a"
|
||||
HOMEPAGE="http://supertuxkart.sourceforge.net/"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/supertuxkart/supertuxkart-0.6.2a-src.tar.bz2"
|
||||
MD5SUM="1672795016cc4964506706ac3287621e"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Larry Hajali"
|
||||
EMAIL="larryhaja[at]gmail[dot]com"
|
||||
APPROVED="dsomero"
|
|
@ -1,16 +0,0 @@
|
|||
diff -Naur supertuxkart-0.6.1a.orig/src/file_manager.cpp supertuxkart-0.6.1a/src/file_manager.cpp
|
||||
--- supertuxkart-0.6.1a.orig/src/file_manager.cpp 2009-01-29 01:30:09.000000000 +0000
|
||||
+++ supertuxkart-0.6.1a/src/file_manager.cpp 2009-06-10 13:12:03.000000000 +0000
|
||||
@@ -212,7 +212,12 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
std::string FileManager::getTranslationDir() const
|
||||
{
|
||||
+#if !defined(TRANSLATION_DIR) && !defined(__APPLE__) && !defined(WIN32)
|
||||
+#define TRANSLATION_DIR "/usr/share/locale"
|
||||
+ return TRANSLATION_DIR;
|
||||
+#else
|
||||
return m_root_dir+"/data/po";
|
||||
+#endif
|
||||
} // getTranslationDir
|
||||
|
||||
//-----------------------------------------------------------------------------
|
Loading…
Reference in New Issue