Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 97612

Summary: sys-apps/man: honour $LINGUAS for USE=nls
Product: Gentoo Linux Reporter: Martin von Gagern <Martin.vGagern>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: VERIFIED DUPLICATE    
Severity: enhancement    
Priority: High    
Version: 2005.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to man-1.6.ebuild

Description Martin von Gagern 2005-07-01 06:08:00 UTC
If USE=nls and LINGUAS is set, only the requested languages of man pages should be built.
Comment 1 Martin von Gagern 2005-07-01 06:08:38 UTC
Created attachment 62401 [details, diff]
Patch to man-1.6.ebuild
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-07-01 06:14:48 UTC
IMHO, it would be better to solve this globally in Bug 96283.
Comment 3 Martin von Gagern 2005-07-01 06:59:03 UTC
I think LINGUAS is the better approach. But this shoul perhaps be discussed
somewhere more general, e.g. in this bug 96283. Anyway, as far as I can see,
this solution based on locales.build is still somewhat in the future. So for now
it would be easy to apply this patch, and if at some time it is decided to use
locales.build, all ebuilds using LINGUAS should be reviewed anyway.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-07-01 07:25:59 UTC
(In reply to comment #3)
> I think LINGUAS is the better approach.

Yeah, I agree. Anyway, some solution is needed so that we don't have to install
useless cruft.
Comment 5 SpanKY gentoo-dev 2005-07-01 10:53:45 UTC
i misunderstood the issue

use localepurge ... updating the man ebuild is wrong

*** This bug has been marked as a duplicate of 96283 ***
Comment 6 Martin von Gagern 2005-07-01 15:31:39 UTC
Why should I build some stuff only to delete it afterwards? Why not skip
building it in the first place, especially if the configure script supports it?
Comment 7 SpanKY gentoo-dev 2005-07-02 07:51:57 UTC
fair enough, added patch to cvs