%datadir or %datadir/games for games?

Hans de Goede j.w.r.degoede at hhs.nl
Sat Mar 4 10:13:02 UTC 2006



Ville Skyttä wrote:
> On Sat, 2006-03-04 at 09:45 +0100, Hans de Goede wrote:
> 
>> Ern, /usr/games isn't mentioned elsewhere in the doc and is very 
>> deprecated. I believe they forgot to update this part of the doc when 
>> /usr/games got removed.
> 
> Disagreed.  Chapter 4, The /usr Hierarchy, specific options of FHS 2.3,
> http://www.pathname.com/fhs/pub/fhs-2.3.html#SPECIFICOPTIONS9
> 
>    games    Games and educational binaries (optional)
> 
> The intention as far as I understand it (based on the above wording and
> practical implementations in for example Debian, Mandriva and FreeBSD)
> is that /usr/games is a dir that (c|sh)ould be in $PATH.
> 

Ah, I did a ctrl+f on /usr/games and that didn't show up.

> However, as far as I know, /usr/games has never been in the default
> $PATH of any Red Hat originated distribution, so /usr/bin/foo
> -> /usr/games/foo symlinks  should be provided by the packager (or
> binaries installed to /usr/games by upstream moved to /usr/bin).
> 

I say move the binaries to /usr/bin

>> I vote for /use/share/games/xxx because /usr/share is already rather 
>> crowded.
> 
> +1
> 
> What to do with arch-specific game files that are not variable game data
> is somewhat unaddressed by the FHS as far as I can tell.  I'd opt for
> using %{_libdir}/games/$gamename or %{_libdir}/$gamename for them. 

I say be consistent if we do /usr/share/games/xxx we should also do 
/use/lib/games/xxx

> The
> FE nethack package is one such example, IMO the game dir should be moved
> from /usr/games/nethack-* to %{_libdir}/games/nethack-*
> 

Yes, add Maelstrom the the list which puts a dir under /usr/games, this 
should be moved to /usr/share/games or /usr/lib/games depending on if 
its archdependent or not.

Regards,

Hans






More information about the fedora-extras-list mailing list