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

Bug 111899

Summary: man and locale LINGUAS support feedback
Product: Gentoo Linux Reporter: Sandro Bonazzola (RETIRED) <sanchan>
Component: Current packagesAssignee: Charlie Shepherd (RETIRED) <masterdriverz>
Status: RESOLVED CANTFIX    
Severity: enhancement CC: dev, karol.jurak, robert.bradbury, sandro.bonazzola
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sandro Bonazzola (RETIRED) gentoo-dev 2005-11-08 11:23:34 UTC
There quite a lot of ebuilds that does not respect LINGUAS for man pages and
locale data. The list of packages I've tested on my pc with LINGUAS=it that
install other languages man pages and locale data:

x11-base/xorg-x11-6.8.2-r6
app-mobilephone/kmobiletools-0.4.3.1
app-mobilephone/gsmlib-1.11_pre041028
app-mobilephone/scmxx-0.8.0
app-admin/gkrellm-2.2.7
sci-astronomy/ksetispy-0.6.2
app-misc/linux-logo-4.12
sys-devel/gcc-3.4.4-r1
kde-misc/kdiff3-0.9.88
kde-misc/krusader-1.60.0
kde-misc/kbeam-0.61
mail-client/mozilla-thunderbird-1.0.7-r2
media-gfx/sane-backends-1.0.16-r2
sys-apps/util-linux-2.12r-r1
sys-apps/kbd-1.12-r5
sys-apps/help2man-1.35.1
sys-apps/net-tools-1.60-r11
sys-apps/eject-2.1.0
sys-apps/attr-2.4.23
sys-apps/acl-2.2.31
net-misc/whois-4.7.2
net-misc/whois-4.7.8
net-print/cups-1.1.23-r4
dev-libs/eb-4.2
dev-util/subversion-1.2.3-r3
media-sound/alsa-utils-1.0.9a-r1
media-sound/aumix-2.8-r2
app-antivirus/klamav-0.22.1


Reproducible: Always
Steps to Reproduce:
1. export LINGUAS=it
2. emerge any of the above
3. see CONTENTS file for installed files

Actual Results:  
All above packages install at leas one file of other LINGUAS.

Expected Results:  
All the above packages respect LINGUAS.

It's possible remove unwanted man pages and locale data using localepurge. So
removing the unwanted data is quite trivial. But I think that if the support for
the LINGUAS env can be added at the ebuild without do some black magic it should
be added. This bug doesn't cause any loss of function and it may be not so
trivial so I think it could be an enhancement.
Comment 1 Sandro Bonazzola (RETIRED) gentoo-dev 2005-11-11 02:43:33 UTC
app-crypt/gnupg-1.4.2-r2 install ru man pages in /usr/share/man/man1

/usr/share/man/man1/gpg.ru.1.gz

should be installed as /usr/share/man/ru/man1/gpg.1.gz
with LINGUAS=ru.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-11-11 03:06:59 UTC
(In reply to comment #1)
> app-crypt/gnupg-1.4.2-r2 install ru man pages in /usr/share/man/man1

That's a completely separate issue, please keep on topic. Thanks.
Comment 3 Sandro Bonazzola (RETIRED) gentoo-dev 2006-09-06 13:43:35 UTC
Updated list for my current configuration and LINGUAS=it.

app-editors/nano-1.3.12-r1
app-misc/gramps-2.0.11
app-mobilephone/scmxx-0.9.0
app-text/ghostscript-esp-8.15.2_p20060520
dev-libs/libcdio-0.77
games-strategy/wesnoth-1.0.2
media-sound/alsa-utils-1.0.12
media-video/xine-ui-0.99.5_pre20060716
sys-apps/help2man-1.36.4
sys-apps/net-tools-1.60-r12
sys-apps/shadow-4.0.18.1
x11-wm/windowmaker-0.92.0-r3
Comment 4 Charlie Shepherd (RETIRED) gentoo-dev 2006-10-07 06:43:26 UTC
With the patches I submitted in Bug 150097 , you can simply run "equery b `localepurge -p` | sort | uniq" to get a list of locale offenders.

Here is my list:

app-cdr/k3b-0.12.17
app-portage/kuroo-0.80.2-r1
dev-util/subversion-1.4.0
gnome-base/gnome-vfs-2.14.2-r1
media-gfx/fontforge-20060822
media-gfx/gimp-2.3.11
media-gfx/sane-backends-1.0.18-r2
media-sound/alsa-utils-1.0.13
net-misc/knemo-0.4.5
net-misc/neon-0.26.1-r1
net-p2p/nicotine-1.0.8
net-print/cups-1.2.4
sys-apps/acl-2.2.39-r1
sys-apps/attr-2.4.32
sys-apps/eject-2.1.5
sys-apps/kbd-1.12-r8
sys-apps/util-linux-2.12r-r4
x11-libs/libwnck-2.16.0
x11-libs/wxGTK-2.6.3.3

Repeating this after emerge -e world would probably find a _lot_ more.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-10-12 04:54:13 UTC
*** Bug 150999 has been marked as a duplicate of this bug. ***
Comment 6 Charlie Shepherd (RETIRED) gentoo-dev 2006-11-24 03:16:59 UTC
I'd like to clean up a lot of these packages...
Comment 7 Panagiotis Christopoulos (RETIRED) gentoo-dev 2010-09-21 15:39:30 UTC
*** Bug 336136 has been marked as a duplicate of this bug. ***