public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Chris Gianelloni <wolf31o2@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Dirt: To shove under the rug or not shove under the rug? (aka another round of USE_EXPAND)
Date: Tue, 27 Sep 2005 08:35:43 -0400	[thread overview]
Message-ID: <1127824544.31328.11.camel@cgianelloni.nuvox.net> (raw)
In-Reply-To: <200509271823.25788.jstubbs@gentoo.org>

[-- Attachment #1: Type: text/plain, Size: 2482 bytes --]

On Tue, 2005-09-27 at 18:23 +0900, Jason Stubbs wrote:
> 1) What to do if nothing is set?

Install everything.  If everything cannot be installed, due to
incompatibilities, then die.

> 2) What to do if an invalid value is set?
> 
>    a) install everything

Install everything.  If everything cannot be installed, due to
incompatibilities, then die.

> 3) How to ebuild behave regarding a USE_EXPAND variable?
> 
>    a) install everything chosen that is valid

Yes.

>    b) install only the first that is chosen that is valid
> 
> Of these, 1) and 2) absolutely must be whittled down to one standard. 
> Preferably, 3) should follow one standard as well. Not following one standard 
> will simply lead to users thinking, "but that's not what I wanted..!" It will 
> also lead portage to do needless recompiles due to the information available 
> being limited.
> 
> Next, storing the information of what choices are valid. If it can be 
> guaranteed that all packages supporting a variable (LINGUAS for example) have 
> exactly the same list of choices in all cases, storing the choice list in a 
> global file is acceptable. If not, each package absolutely must list what 
> choices are available for it. Not doing so means the flow may head into 2) in 
> the above list even when the user has set a valid choice for a different 
> package. Again, it's against the user's expectations.

Let's take an example of this...  Neverwinter Nights.  Currently, it
installs the language packs via LINGUAS.  If nothing is selected via
LINGUAS, then it installs English, which is considered the default.
Unfortunately, even trying to add -linguas_fr to package.use, still
results in the French language pack being installed over the English.  I
honestly do not know how to correct this.  I see a couple things that
would be needed.  For one, things in USE_EXPAND would need to be
negate-able in package.use.  The problem with NWN is that only one
language pack may be installed at any given time due to them providing
the same files.

You can see where I've been working with this on bug #106789.

> Anybody not caring enough to fix this, please don't respond with "wah! work!?" 
> You've dug your own hole...

I would love to see this fixed.  I'm guessing that this would mean
defining all of the USE_EXPAND capabilities in IUSE, correct?

-- 
Chris Gianelloni
Release Engineering - Strategic Lead
Games - Developer
Gentoo Linux

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2005-09-27 12:41 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-27  9:23 [gentoo-dev] Dirt: To shove under the rug or not shove under the rug? (aka another round of USE_EXPAND) Jason Stubbs
2005-09-27  9:38 ` Diego 'Flameeyes' Pettenò
2005-09-27 10:12   ` Jason Stubbs
2005-09-27 10:41     ` Diego 'Flameeyes' Pettenò
2005-09-27 12:51       ` Jason Stubbs
2005-09-27 13:44         ` Diego 'Flameeyes' Pettenò
2005-09-27 14:07           ` Kito
2005-09-27 16:27             ` Stephen Bennett
2005-09-27 16:48             ` Brian Harring
2005-09-27 14:25           ` Jason Stubbs
2005-09-27 15:40       ` [gentoo-dev] " Duncan
2005-09-27 12:38     ` [gentoo-dev] " Chris Gianelloni
2005-09-27 15:36       ` Donnie Berkholz
2005-09-27 10:54 ` Thomas de Grenier de Latour
2005-09-27 12:31   ` Jason Stubbs
2005-09-27 12:35 ` Chris Gianelloni [this message]
2005-09-27 13:07   ` Thomas de Grenier de Latour
2005-09-27 13:50     ` Chris Gianelloni
2005-09-27 14:20   ` Jason Stubbs
2005-09-27 15:35 ` Donnie Berkholz
2005-09-28  1:23   ` Jason Stubbs
2005-09-28  3:13     ` Jason Stubbs
2005-09-28  3:58   ` Jason Stubbs
2005-09-28  4:19     ` Donnie Berkholz
2005-09-28  4:45       ` Jason Stubbs
2005-09-28  6:23         ` Donnie Berkholz
2005-09-28  8:03           ` Jason Stubbs
2005-09-28  4:21     ` Jason Stubbs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1127824544.31328.11.camel@cgianelloni.nuvox.net \
    --to=wolf31o2@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox