LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-20-2010, 06:00 AM   #1
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,124

Rep: Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198
[testing] armagetronad slackbuild - the real tron cycles


with all the fuss going on with Tron Legacy, I felt the need of doing an old-school light cycle run, and gotta say it's da best! Tron Evolution, eat your earth out!

so I have updated the armagetronad slackbuild script for 12.2 written by hollywoodb (that I was not able to contact to ask for permission for taking over maintainership, as the email is no longer valid ) and submitted it to slackbuilds.org.

if anyone is interested in trying/testing it while the hype is high , you can find it here

http://ponce.cc/slackware/testing/armagetronad/

in pure slack spirit, here are the keys
z - left
x - right
v - brake

Last edited by ponce; 12-20-2010 at 06:02 AM.
 
Old 12-20-2010, 06:57 AM   #2
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,845

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
Well, I gave it a whirl this morning. The build went off without a hitch on my -current box. That's a bit addictive and a lot of fun!
 
Old 12-20-2010, 07:21 AM   #3
kapz
Member
 
Registered: Mar 2009
Location: kernel space
Distribution: Slackware_x64
Posts: 191

Rep: Reputation: 16
Tried the game on 13.1_x64, it works w/o any issues.
The game looks cool in neon theme.It's old school yet fun to play..cheers u up IMO

Last edited by kapz; 12-20-2010 at 07:23 AM.
 
Old 12-20-2010, 02:27 PM   #4
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
I've been playing arma for quite a while and have been too lazy to submit a SlackBuild (mostly because it involved a former maintainer), but I will say that there is a *significant* difference between the stable version (that you are building) and the latest development version. There hasn't been a full version upgrade for *years* yet the development version (at least the client, anyway) has grown very stable and much more full-featured than the stable (0.2.8) version. The dev version requires ftgl and protobuf (both available from slackbuilds.org) and requires bzr (bazaar) to grab the latest sources. Just for completeness' sake, here's the SlackBuild for the 0.3.x branch.
Code:
#!/bin/sh

## Written by T3slider (original name removed due to below)

## 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.

if [ "$(id -u)" != "0" ]; then
    echo "This script must be run as root!"
    exit
fi

set -e

NAME=armagetronad
VERSION=`date +%Y%m%d`
CWD=$(pwd)
TMP=${TMP:-/tmp/t3s}
PKG=$TMP/package-$NAME
BUILD=${BUILD:-1}
TAG=${TAG:-_t3s}
ARCH=${ARCH:-x86_64}
OUTPUT=${OUTPUT:-/tmp}

rm -rf $PKG
mkdir -p $PKG 
rm -rf $TMP/$NAME
cd $TMP || exit 1
bzr branch lp:armagetronad || exit 1
#bzr branch lp:~armagetronad-dev/armagetronad/armagetronad-old-glancing || exit 1
cd $NAME || exit 1

chown -R root:root .
chmod -R u+w,go+r-w,a-s .

if [ "$ARCH" = "i486" ]; then
  SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
  SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
  SLKCFLAGS="-O2 -fPIC"
fi

sh ./bootstrap.sh

### we don't really want to build the uninstaller, but `make install` fails
### without it... For the time being, it will exist in /usr/share/doc/$NAME-$VERSION
### Also using --disable-games since it peppers installation
### paths with 'games' subdirectories and we're handling that manually.
### --enable-useradd is used, but no user is created (see README)

# Need to add lpthread dep for protobuf here, since configure won't find 
# it
LIBS="-lpthread" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
    --prefix=/usr \
    --exec-prefix=/usr \
    --bindir=/usr/games \
    --sysconfdir=/etc \
    --localstatedir=/var \
    --datadir=/usr/share/games \
    --docdir=/usr/doc \
    --enable-glout \
    --enable-master \
    --enable-main \
    --disable-music \
    --disable-dirty \
    --enable-sysinstall \
    --disable-uninstall \
    --enable-useradd \
    --enable-etc \
    --enable-desktop \
    --enable-initscripts=/etc/rc.d \
    --disable-games \
    --enable-binreloc \
    --enable-binreloc-threads \
    || exit 1

make -j7 || make || exit 1
make install DESTDIR=$PKG || exit 1

(cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
) || true

mv $PKG/usr/doc/$NAME $PKG/usr/doc/$NAME-$VERSION
cp -a {AUTHORS,COPYING.txt,DCT.txt,NEWS,README*} $PKG/usr/doc/$NAME-$VERSION
cat $CWD/$NAME.SlackBuild > $PKG/usr/doc/$NAME-$VERSION/$NAME.SlackBuild
rm -rf $PKG/etc/rc.d

#mv $PKG/usr/games/armagetronad-uninstall $PKG/usr/doc/$NAME-$VERSION/
#chmod -x $PKG/usr/doc/$NAME-$VERSION/armagetronad-uninstall
#echo "This uninstaller is included for build purposes, but Slackware's removepkg or pkgtool should be used instead." > $PKG/usr/doc/$NAME-$VERSION/armagetronad-uninstall.README

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

cd $PKG
/sbin/makepkg -l y -c n -p $OUTPUT/$NAME-$VERSION-$ARCH-$BUILD$TAG.tgz
The glancing behaviour for the smartcam is quite different between the stable and development versions, so those who want the old behaviour are forced to use the ~armagetronad-dev/armagetronad/armagetronad-old-glancing branch (and thus would have to comment the first bzr line and uncomment the second). I haven't compiled the old glance branch for quite a while, so I can't remember...but I think you may have to change the `cd $NAME` line since the directory will be named something else (armagetronad-old-glancing I would assume).

Last edited by T3slider; 12-20-2010 at 02:30 PM.
 
1 members found this post helpful.
Old 12-20-2010, 03:17 PM   #5
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,124

Original Poster
Rep: Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198
just adapted a little the slackbuild to build with a snapshot and tried the bazaar r999 (nice revision number, btw) and it seems to work fine

http://ponce.cc/slackware/testing/armagetronad-bzr/

I think I'll soon resubmit the new one

P.S. thank for the infos t3slider

Last edited by ponce; 12-21-2010 at 01:44 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Testing farm pushes real-time Linux into the mainstream LXer Syndicated Linux News 0 11-23-2010 02:30 AM
[Call for testing] ibus SlackBuild grissiom Slackware 6 05-19-2009 10:39 AM
Tron snarl dfowensby Fedora 1 04-24-2006 10:50 PM
Looking for compatibility information on Tron 2.0 and Cedega 5.0.3 CrazyNetwork Linux - Games 4 01-14-2006 12:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration