| Summary: | nethack installs platform dependant data into /usr/share | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Thomas Weidner <3.14159> |
| Component: | [OLD] Games | Assignee: | Mira Ressel <aranea> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
nethack-3.4.3-r1.ebuild
my updated nethack ebuild |
||
|
Description
Thomas Weidner
2005-06-30 18:31:10 UTC
You should definitely feel free to attach a patch to address that. /usr/lib is generally not used for games what's wrong with /usr/lib/games/nethack? looks perfectly nice to me. debian also does it this way. see comment #1 hmm, i just checked, and we're not Debian; fancy that
use the ${GAMES_LIBDIR} variable for the base
Created attachment 62512 [details]
nethack-3.4.3-r1.ebuild
i dislike nethack so please test this ebuild for us
the ebuild works for me but i think the main nethack data file currently
/usr/share/games/nethack/nhdat is also plattform dependant as the datafile
"compiler" seems to write raw C structs to the file. i think the best idea
whould be moving the whole nethack dir to ${GAMES_LIBDIR} and installing the x11
tiles in some location like /usr/share/pixmaps/nethack/ ?
it's weekend now, so i am short of time per se, i'll have a look when having
more time (i also have some exams ATM).
Created attachment 62662 [details]
my updated nethack ebuild
- sets HACKDIR to ${GAMES_LIBDIR}/nethack.
- installs x11 tiles and pixmaps to /usr/share/pixmaps/nethack
- installs fonts to /usr/share/fonts/nethack
- updates /etc/X11/app-defaults/NetHack to make nethack find the x11 data.
I don't think Nethack's tiles properly belong in /usr/share/pixmaps; that's where icons go, not tilesets. IMO /usr/share/pixmaps would be called /usr/share/icons if it was meant for icons only. also the tiles go to a pixmaps subdir and aren't directly "visible" under pixmaps. is there any reference material on that topic? I think /usr/share/pixmaps/nethack is fine. Okay, I've been informed that installing tiles into /uxr/share/pixmaps is dumb; none of the other games ebuilds sticks tiles there, just icons. Consider this a WONTFIX on my part [even though I'm not a Gentoo dev]. As of -r4, the nethack binary is no longer in /usr/share. nhdat still is, though; I haven't decided yet how to handle that. Fixed in nethack-3.4.3-r5. |