On Wed, 8 Apr 2009, Renat Golubchyk wrote:

> +++ MPlayer's build system uses the LINGUAS variable for both
> +++ output messages and which man pages to build.  The first
> +++ language in the LINGUAS variable will be used to display
> +++ output messages.  See bug #228799.
> 
> [...]
> 
> My LINGUAS setting has been working with portage, but after conversion 
> to paludis it doesn't although the relevant line in use.conf looks like 
> this:
> 
>   */* LINGUAS:        -* en de ru uk
> 
> Running paludis --info media-video/mplayer | grep LINGUAS produces
> 
>   LINGUAS=de en ru uk
> 
> So, it seems paludis sorts the values before passing them to ebuilds. 
> Unfortunately, mplayer uses the first language in the list to compile in 
> the output messages. Is there a way to tell paludis not to do this?


That line:
*/* LINGUAS: -* en de ru uk

means for all packages, remove any default languages from LINGUAS and add 
'en', 'de', 'ru', and 'uk'.  So, add:

media-video/mplayer LINGUAS: -* en

which means that for mplayer in particular, you only want LINGUAS=en.  
You still need the '*/*' line, too:

*/* LINGUAS: -* en de ru uk
media-video/mplayer LINGUAS: -* en


They're cumulative, so, without the '-*', you could add or subtract a 
language for a particular package or repository or category... e.g.

## things in 'japanese-overlay' get Japanese added
*/*::japanese-overlay LINGUAS: ja

## remove Russian for things in the 'not-russian' category
not-russian/* LINGUAS: -ru


Best,
Ben
_______________________________________________
paludis-user mailing list
[email protected]
http://lists.pioto.org/mailman/listinfo/paludis-user

Reply via email to