Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 83599

Summary: games-fps/ut2004 USE-flag nightmare
Product: Gentoo Linux Reporter: Christian Parpart (RETIRED) <trapni>
Component: [OLD] GamesAssignee: Chris Gianelloni (RETIRED) <wolf31o2>
Status: RESOLVED WONTFIX    
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

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".