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 09:50:34 -0400	[thread overview]
Message-ID: <1127829035.31328.32.camel@cgianelloni.nuvox.net> (raw)
In-Reply-To: <20050927150701.49592bf5@eusebe>

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

On Tue, 2005-09-27 at 15:07 +0200, Thomas de Grenier de Latour wrote:
> On Tue, 27 Sep 2005 08:35:43 -0400
> Chris Gianelloni <wolf31o2@gentoo.org> wrote:
> 
> > Unfortunately, even trying to add -linguas_fr to package.use,
> > still results in the French language pack being installed over
> > the English.  
> 
> This reminds me bug #104573: it was the same problem where some
> LINGUAS="fr" users didn't want to have manpages-fr installed. The
> workaround used there was to add the "nls" USE flag. This way you
> separate the "do you want some translations?" question from the
> "what translations do you want?" question.

Actually, I like this idea.  It isn't perfect, but it allows one to add
-nls for the package in package.use to turn off translations.  It still
doesn't completely solve the problem, however.

The user in question has LINGUAS="en_US fr" but wants the English
translation.  This would be fine for this user, but what if the user had
wanted the French translation and not English?

> But sure, it's more a workaround than an ideal solution.
> 
> > For one, things in USE_EXPAND would need to be negate-able in
> > package.use.  
> 
> It may be a problem if an ebuild relies on the USE flags being
> coherent with the env var itself.  I don't have example of such
> ebuilds in mind though, but i guess it could happen that, for
> instance, on one hand the LINGUAS var is used by autotools to
> choose the locales to install, and on the other hand the linguas_*
> flags are used to add some help files or spell dicts: this could
> result in some kind of half-translated apps, maybe even broken
> apps, i don't know...

I hadn't considered this situation, as I was stuck thinking of binary
apps (nwn and civ-ctp).

-- 
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 --]

  reply	other threads:[~2005-09-27 13:54 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
2005-09-27 13:07   ` Thomas de Grenier de Latour
2005-09-27 13:50     ` Chris Gianelloni [this message]
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=1127829035.31328.32.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