public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: "Michał Górny" <mgorny@gentoo.org>, gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] RFC: storing predefined INSTALL_MASK directory lists in repos
Date: Sat, 11 Jan 2014 19:11:21 +0200	[thread overview]
Message-ID: <52D17B39.2020302@gmail.com> (raw)
In-Reply-To: <20140111175245.0f9d7466@gentoo.org>

On 11/01/2014 18:52, Michał Górny wrote:
> Dnia 2014-01-11, o godz. 18:15:09
> Alan McKinnon <alan.mckinnon@gmail.com> napisał(a):
> 
>> A far better method from a user point of view is to install the linguas
>> the user explicitly asked for. Your proposal as worded will be taken at
>> first glance to mean "install all linguas, but not XX" as most users
>> won't see the MASK portion and forget to flip the logic around in their
>> head.
> 
> As said on the other mail, I think we could just make portage
> implicitly convert LINGUAS into INSTALL_MASK. That is, use the old
> variable and give it a bit of new behavior.

Do you mean retain LINGUAS in make.conf and remove it from "emerge -p"
output?

I don't know much about how LINGUAS works behind the scenes, but you
seem to be proposing a scheme that works something like this:

1. User specifics what LINGUAS they want in make.conf
2. Portage magically and invisibly installs files only for that LINGUA

That seems a good approach, it unclutters emerge -p output [the amount
of clutter that causes, together with APACHE2_MODULES, CAMERAS,
PHP_MODULES etc is quite unbelievable] and gives the user what they
asked for. If you hide the negative logic in the implementation that is
double bonus

> 
>> How much work is it to get native support for LINGUAS into all ebuilds?
>> That would be the intuitive place considering there is already USE flags
>> for LINGUAS.
> 
> Honestly? I'm all limbs against LINGUAS in its current form. It's just
> extra dumb.
> 
> We have basically two cases:
> 
> 1. packages that make LINGUAS into USE flags and use them to control
> l10n. It's just useless extra work and extra rebuilds for locale
> change.
> 
> 2. packages that respect LINGUAS implicitly. That is, install only some
> of the files silently and you don't even know which were enabled.
> 
> install-mask provides a clean framework to strip linguas with
> binpackage friendliness potential.
> 


-- 
Alan McKinnon
alan.mckinnon@gmail.com



  reply	other threads:[~2014-01-11 17:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-11 10:20 [gentoo-dev] RFC: storing predefined INSTALL_MASK directory lists in repos Michał Górny
2014-01-11 11:53 ` Peter Stuge
2014-01-11 15:19   ` [gentoo-dev] " Duncan
2014-01-11 18:59     ` Peter Stuge
2014-01-13 20:39       ` Donnie Berkholz
2014-01-11 15:56 ` [gentoo-dev] " Luis Ressel
2014-01-11 16:01   ` Michał Górny
2014-01-11 16:15     ` Alan McKinnon
2014-01-11 16:52       ` Michał Górny
2014-01-11 17:11         ` Alan McKinnon [this message]
2014-01-11 17:28           ` Michał Górny
2014-01-11 16:21     ` Luis Ressel
2014-01-11 16:46       ` Michał Górny

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=52D17B39.2020302@gmail.com \
    --to=alan.mckinnon@gmail.com \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=mgorny@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