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
|
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. :)
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?
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?
That's what I used, yes, but /usr/games/bin is not in the path by default, as
far as I can tell.
It isn't supposed to be unless you're in the games group.
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.
docs go in /usr/share/doc/${PF}
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.
*** Bug 94540 has been marked as a duplicate of this bug. ***