Summary: | ebuild: games-action/armagetronad | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | basic <basic> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | filip, gentoo, matteo-ml, mmacleod, s_aldinger, telefrancisco |
Priority: | High | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://sourceforge.net/projects/armagetronad/ | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Ebuild for armagetron advanced
Install script for armagetron advanced armagetronad-2.7.1.ebuild armagetronad-wrapper |
Description
basic
2004-09-30 09:08:00 UTC
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. :) Created attachment 54053 [details]
Ebuild for armagetron advanced
Created attachment 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.
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 attachment 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.
Created attachment 54653 [details]
armagetronad-wrapper
Basically the wrapper created by the original make install with paths changed
to work with gentoo's games file structure.
docs go in /usr/share/doc/${PF} Added to portage 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. http://www.gentoo.org/proj/en/desktop/games/#doc_chap5_sect9 Please file a new bug. This one is RESOLVED. *** Bug 94540 has been marked as a duplicate of this bug. *** |