On Sun, Jun 19, 2005 at 07:48:27PM +0300, Alin Nastac wrote:
> Jason Stubbs wrote:
> 
> >So there have been many complaints about how USE_EXPANDed flags don't belong 
> >in IUSE. There haven't actually been any reasons given though. :P
> net-dialup/pppconfig-2.3.11-r1 depends on LINGUAS, but the list of
> supported languages is created in pkg_unpack, based on what tarball
> contains.
> 
> The IUSE thing would raise 2 problems:
>  - lower maintainability - not really a major problem
>  - if user wants all languages, it will be forced to select them one by
> one - now if LINGUAS is empty, all available languages gets installed.

We're talking about USE_EXPANDed USE flags. The LINGUAS variable will
still exist and the way you use LINGUAS in net-dialup/pppconfig doesn't
involve USE flags. So you don't need to add them to IUSE. We currently
don't have a policy that enforces the use of the expanded linguas_* USE
flags instead of directly using the LINGUAS variable. Maybe we should
first decide, if it's OK to use LINGUAS directly. If not, we need to
modify the packages, which is tricky for packages like pppconfig that
take the list of available languages from the tarball.

IMHO using the linguas_* USE flags makes better binary packages because
the USE flags are handled by portage and shown on emerge -pv output.
Portage will merge the binary package using the compiled USE flags and
will not react on current USE settings. Same is for LINGUAS, but using
the USE flags the user knows on emerge -pv with which language support
the package was compiled.

Sven

-- 
Sven Wegener
Gentoo Linux Developer
http://www.gentoo.org/

Attachment: pgp39zvYjMEer.pgp
Description: PGP signature

Reply via email to