From: Ciaran McCreesh <ciaran.mccreesh@googlemail.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] RFC: l10n.eclass
Date: Fri, 20 Jul 2012 18:35:50 +0100 [thread overview]
Message-ID: <20120720183550.24b52be3@googlemail.com> (raw)
In-Reply-To: <CAJ0EP40r11E2CsGZfgMLKE1V4UT=KaFbYnrMM1TQrdV+rKJ+Og@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1782 bytes --]
On Fri, 20 Jul 2012 13:29:24 -0400
Mike Gilbert <floppym@gentoo.org> wrote:
> > If you dep upon foo[linguas_en(+)] and linguas_en isn't in IUSE,
> > what happens?
> >
>
> Firstly, if there are no linugas_ flags in IUSE, I can't see any point
> in such a dependency.
If linguas_ is in IUSE for some versions and not others. You know, as
(+) dependencies always expect.
> > It's not a normal environment variable, and it never has been.
>
> It was a normal variable before someone added it to USE_EXPAND. From
> cvs, it looks like that happened in 2005 or so.
...which is plenty long enough to have dealt with the consequences.
> >> For most gettext packages, there is absolutely no reason that the
> >> ebuild maintainer should have to keep track of every translation
> >> available in a given package across version bumps. If you change
> >> this behavior in a future EAPI, you will break this.
> >
> > Don't use a USE_EXPAND variable if you don't want USE_EXPAND
> > behaviour.
>
> I beleive LINGUAS originates from the autoconf macros (po.m4) provided
> by the gettext package. I believe we added it to USE_EXPAND some time
> after it was implemented in gettext. This "just works" given the
> current portage behavior.
The problem with "just works" is that it "just works unless you look
closely or unless you try to do something slightly non-trivial". We're
not dealing with a small system here, so we need to move beyond "just
works (sort of)" to "correct". We can't provide people with the
features they're asking for without that.
> Perhaps we need to provide a cleaner way for ebuilds to specify if a
> given variable should be treated as a USE_EXPAND or not.
USE_EXPAND isn't a per ebuild setting.
--
Ciaran McCreesh
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2012-07-20 17:38 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-19 6:45 [gentoo-dev] RFC: l10n.eclass Ben de Groot
2012-07-19 13:14 ` Ralph Sennhauser
2012-07-19 15:37 ` Ben de Groot
2012-07-20 7:33 ` Ralph Sennhauser
2012-07-23 12:29 ` Ben de Groot
2012-07-23 15:22 ` Ralph Sennhauser
2012-07-19 16:15 ` Ciaran McCreesh
2012-07-19 21:13 ` Zac Medico
2012-07-19 22:34 ` Mike Gilbert
2012-07-20 6:54 ` Ciaran McCreesh
2012-07-20 16:39 ` Mike Gilbert
2012-07-20 17:09 ` Ciaran McCreesh
2012-07-20 17:29 ` Mike Gilbert
2012-07-20 17:35 ` Ciaran McCreesh [this message]
2012-07-20 17:43 ` Alexandre Rostovtsev
2012-07-20 17:46 ` Alexandre Rostovtsev
2012-07-20 17:54 ` Ciaran McCreesh
2012-07-20 18:37 ` Alexandre Rostovtsev
2012-07-20 18:41 ` Ciaran McCreesh
2012-07-20 19:15 ` Alexandre Rostovtsev
2012-07-20 19:17 ` Ciaran McCreesh
2012-07-20 19:48 ` Alexandre Rostovtsev
2012-07-20 20:02 ` Ciaran McCreesh
2012-07-20 20:10 ` Alexandre Rostovtsev
2012-07-20 20:15 ` Ciaran McCreesh
2012-07-20 20:11 ` Ian Stakenvicius
2012-07-20 19:05 ` Ian Stakenvicius
2012-07-20 19:13 ` Ciaran McCreesh
2012-07-20 20:08 ` Ian Stakenvicius
2012-07-20 17:44 ` Michał Górny
2012-07-20 18:03 ` Alexandre Rostovtsev
2012-07-20 17:55 ` Mike Gilbert
2012-07-20 18:03 ` Ciaran McCreesh
2012-07-20 18:09 ` Mike Gilbert
2012-07-20 18:15 ` Ciaran McCreesh
2012-07-19 22:44 ` Mike Gilbert
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=20120720183550.24b52be3@googlemail.com \
--to=ciaran.mccreesh@googlemail.com \
--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