Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83599 - games-fps/ut2004 USE-flag nightmare
Summary: games-fps/ut2004 USE-flag nightmare
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High trivial (vote)
Assignee: Chris Gianelloni (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-28 13:16 UTC by Christian Parpart (RETIRED)
Modified: 2005-02-28 13:43 UTC (History)
0 users

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 Christian Parpart (RETIRED) gentoo-dev 2005-02-28 13:16:36 UTC
the ut2004 ebuild contains useflag 'dedicated' indicating that it's being installed for dedicated server use only. and it's having a useflag 'opengl' indicating that it's for client use only. though, you can install it either as a server version _or_ as a client version. Having now two useflags that exclude each other is not ideal. Instead, I propose in removing the 'opengl' useflag, as OpenGL is a must when installing as a client (that is: non-dedicated) which is the exact case when the 'dedicated' useflag is NOT set.

this is how it's now:
     19 RDEPEND="games-fps/ut2004-data
     20     games-fps/ut2004-bonuspack-ece
     21     opengl? ( virtual/opengl )
     22     dedicated? ( app-misc/screen )"

this is my proposed fix (removing opengl useflag from ebuild):
     19 RDEPEND="games-fps/ut2004-data
     20     games-fps/ut2004-bonuspack-ece
     21     !dedicated ( virtual/opengl )
     22     dedicated? ( app-misc/screen )"

Regards,
Christian Parpart.
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2005-02-28 13:43:54 UTC
Umm... opengl and dedicated are not mutually exclusive.  You can install with USE="dedicated opengl" and have the ability to use it as a client *and* as a dedicated server.  That is why it is the way it is (same with most of the other games that support dedicated).

If you want a client-only, then USE="opengl -dedicated".

If you want a server-only, then USE="-opengl dedicated".

If you want both, then USE="opengl dedicated".