Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9562 - app-games suggestions
Summary: app-games suggestions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-23 12:22 UTC by SpanKY
Modified: 2002-12-16 22:05 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2002-10-23 12:22:43 UTC
PURPOSE:
to standardize how Gentoo handles games

PROBLEMS:
(1) there is some complaints about the $PATH of Gentoo being too bloated
(2) installation of games is completely dependant on the ebuild author
    and/or dev who commits the ebuild
    - permissions set with the group 'games' in mind, others do nothing
    - installing games to /opt, to /usr, to /usr/share/$PN, etc...

POSSIBLE SOLUTIONS:
we create an app-games eclass that uses variables/functions to control:
 - install destination for games
 - permissions on games/files
Comment 1 phoen][x 2002-10-25 13:18:34 UTC
20:06 <@SpanKY> so we put libraries/binaries into /usr/games, pixmaps and such
into /usr/share/games, and score files into /var/games (and we add an env.d
entry for /var/games)

what about the flags? "root:games o-rwx" would be nice imho.

-phoen][x-
Comment 2 José Alberto Suárez López 2002-10-25 14:42:29 UTC
it's ok for me
Comment 3 Chad Huneycutt (RETIRED) gentoo-dev 2002-11-20 11:21:34 UTC
I'm confused why this is necessary.  How are games any different than any other
application?  I hate the bloated /usr/bin as much as the next guy, but that is
the consisten place to put them.  As for binary-only stuff like Quake and UT, I
would be in favor of an /opt/bin directory to help with PATH problems.
Comment 4 SpanKY gentoo-dev 2002-11-20 15:55:45 UTC
we need standardization for games ... where the files go, who has access to them, so 
on and so forth ... 
 
we (bass, phoenix, and myself) consider 'games' to be of a different sort than any of 
the other packages because they are ... well ... games ... 
 
to fix the $PATH problem we have a seperate folder for binaries of games 
to fix the permissions issue, we have the ebuilds use variables/functions from the 
eclass 
 
most people dont want access to games while they are root, so we seperate out 
games from everything else and people 'opt in' for access to the games 
Comment 5 Chad Huneycutt (RETIRED) gentoo-dev 2002-11-20 16:24:42 UTC
Okay, in attempting to argue some more against this, I have talked myself into
it.  For the record, my biggest hangup is with putting stuff in /usr/games. 
Although it is not against the FHS (which explicitly mentions it as an optional
"secondary hierarchy"), it opens the door for classifying all of our other
categories under /usr as well (admin,arch,office,sci,etc.).

Here is what changed my mind and I think the strongest argument for what you
propose: according to the FHS, the whole reason for the / and /usr split is so
that /usr/ can be shared read only in part or in full among like systems.  By
separating games into /usr/games, systems can choose whether or not to mount
them at all, depending on the function of the machine.

I think eclasses for all groups of applications are a good idea, in general, and
we should look for other groups that would benefit from them.
Comment 6 SpanKY gentoo-dev 2002-12-16 22:05:49 UTC
phear the games.eclass