Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Albert Zeyer <albert.zeyer@...>
Subject: dedicated USE-flag is inconsequent and confusing
Date: Wed, 14 May 2008 13:58:35 +0200

 1.1

Hi!

Jan Kundrát said this topic belongs to the mailinglist.

You can find the related bug-report here:
http://bugs.gentoo.org/show_bug.cgi?id=221967

Content:

>From the name of the USE-flag, you could expect different things:

1. It stands for 'dedicated server', which would mean, that this USE-flag does
enable support for a dedicated server.
(That means also that you would expect, that you have in both cases the whole
GUI; and with enabled USE-flag you get additionally the dedicated server.)

2. It stands for 'dedicated only', which means, all the GUI part is skipped.
(That means you would expect, that you have in both cases the whole GUI and the
dedicated server; and with enabled USE-flag you get only the dedicated server
but not the GUI.)

>From the description, it seems, that there is even a third case where you have
either only the GUI or only the dedicated server (something you would not
except at all).

After all my experiences with USE-flag, I would expect, that a USE-flag which
does not contain the name "no" or "only" does only add a specific feauture but
does not remove anything. Therefore I expected the first case when I saw this
USE-flag for the first time and a lot of ebuilds also use it like this. Though
the second case seems still also valid for me. The third case doesn't make
sense at all for me. (Is there really any ebuild with this behaviour? If so,
this should be fixed.)

Anyway, the behaviour of the USE-flag should be consequent. The whole sense of
USE-flags is to define the behaviour of ebuilds. And normally you define the
USE-flags globally for your system. If there are USE-flags which behave
different on each ebuild, they don't make sense.

For example, on my desktop system, I want to have the first behaviour for all
ebuilds (I want to have both the game itself and the dedicated server). I have
enabled the dedicated USE-flag globaly and it works good for most games I use.
Though, I always need to make some exceptions for some games which is annoying
and should not be.

On my server, I want to have the possibility to get only the dedicated server
but not the GUI. For some own ebuilds, I introduced the USE-flag
'dedicated-only' for this.

To fix the problem, there should be two different USE-flags. One should do the
first behaviour (something like 'dedicated' or 'dedicated-server' or 'server')
and another for the second (something like 'dedicated' or 'nogui' or
'dedicated-only' or 'server-only'). The important thing is to not have a
USE-flag with different behaviours.

So, what do you think?

Greetings,
Albert


-- 
gentoo-dev@g.o mailing list


Replies:
Re: dedicated USE-flag is inconsequent and confusing
-- Marijn Schouten (hkBst)
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Lost Labyrinth
Next by thread:
Re: dedicated USE-flag is inconsequent and confusing
Previous by date:
Re: Fwd: Retiring...
Next by date:
Re: LaTeX documentation


May 29, 2008

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.