Bug 65931 - ebuild: games-action/armagetronad
Bug#: 65931 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: basic@mozdev.org
Component: Games
URL:  http://sourceforge.net/projects/armagetronad/
Summary: ebuild: games-action/armagetronad
Keywords:  EBUILD
Status Whiteboard: 
Opened: 2004-09-30 09:08 0000
Description:   Opened: 2004-09-30 09:08 0000
summary says it all, it's available from
http://sourceforge.net/projects/armagetronad/ and the reason why this is a fork
can be found at http://armagetronad.sourceforge.net/



Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From filip@blueturtle.nu 2005-03-21 05:13:37 0000 -------
As armagetron is masked now (upstream is dead, since z-man joined the
armagetron advanced team), I tried to revise the old ebuild for armagetron
2.6.0. It works for me on amd64 and x86. :)

------- Comment #2 From filip@blueturtle.nu 2005-03-21 05:14:48 0000 -------
Created an attachment (id=54053) [details]
Ebuild for armagetron advanced

------- Comment #3 From filip@blueturtle.nu 2005-03-21 05:16:10 0000 -------
Created an attachment (id=54054) [details]
Install script for armagetron advanced

This script is needed to install armagetron advanced (called by the abuild
above). Put it in the files folder.

------- Comment #4 From Matt MacLeod 2005-03-22 21:31:47 0000 -------
This installed for me, however:

1) It doesn't create an icon in Gnome
2) It doesn't install an executable in the path
3) It scrambled the screen and hard-locked my system when I ran it.

I think it may have tried to switch to an invalid resolution. Do you know offhand what the default is?

------- Comment #5 From filip@blueturtle.nu 2005-03-23 01:25:05 0000 -------
The install-script puts a starter-script in /usr/games/bin, and the command to
start it is "armagetronad". The script checks if you have a ~/.armagetronad
folder, if not - it creates it, then it cd into that directory, and lastly it
exec /usr/games/lib/armagetronad/armagetronad "@"

The first time you start, it tries to detect whether ther is hardware
acceleration. (I think that is accomplished by the starter-script  copying
things into your brand new ~/.armagetronad.)

If you started anything other than the starter-script, it very likely has no
clue about hardware/software rendering, or where the game data is located.

So, is there no armagetronad in /usr/games/bin?

------- Comment #6 From Matt MacLeod 2005-03-23 08:25:14 0000 -------
That's what I used, yes, but /usr/games/bin is not in the path by default, as
far as I can tell.

------- Comment #7 From Chris Gianelloni (RETIRED) 2005-03-23 10:26:01 0000 -------
It isn't supposed to be unless you're in the games group.

------- Comment #8 From Donald R. Gray Jr 2005-03-28 02:32:03 0000 -------
Created an attachment (id=54652) [details]
armagetronad-2.7.1.ebuild

I have been working on this for a few days, it differs from the orig armagetron
ebuild by putting the correct documentation in /usr/share/doc/${PN}, moving the
config dir to ${GAMES_SYSCONFDIR}/${PN} and creating a Gnome link. 

------- Comment #9 From Donald R. Gray Jr 2005-03-28 02:34:23 0000 -------
Created an attachment (id=54653) [details]
armagetronad-wrapper

Basically the wrapper created by the original make install with paths changed
to work with gentoo's games file structure.

------- Comment #10 From Mr. Bones. 2005-03-28 07:31:37 0000 -------
docs go in /usr/share/doc/${PF}

------- Comment #11 From Chris Gianelloni (RETIRED) 2005-06-09 10:13:23 0000 -------
Added to portage

------- Comment #12 From Michael Färber 2005-06-12 08:09:46 0000 -------
On my computer, Armagetron Advanced didn't start at all because it said I had
not enough rights to start /usr/games/lib/armagetronad/armagetronad. Then I saw
that this file was not executable, but a quick "chmod +x
/usr/games/lib/armagetronad/*" solved this.

The only issue I cannot solve myselve is that there is no icon for the menu
entry "Armagetron Advanced". I use XFce4, and this is the only game not having
an icon.

------- Comment #13 From Chris Gianelloni (RETIRED) 2005-06-14 06:49:03 0000 -------
http://www.gentoo.org/proj/en/desktop/games/#doc_chap5_sect9

Please file a new bug.  This one is RESOLVED.

------- Comment #14 From SpanKY 2005-06-28 05:44:07 0000 -------
*** Bug 94540 has been marked as a duplicate of this bug. ***