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

Bug 48449

Summary: app-admin/webalizer's ebuild don't support language selection.
Product: Gentoo Linux Reporter: Minati jean michel <magnet>
Component: New packagesAssignee: Jonathan Smith (RETIRED) <smithj>
Status: RESOLVED FIXED    
Severity: normal CC: web-apps
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 9988    
Bug Blocks:    
Attachments: Patch to allow language selection for webalizer.
Another kind of support for webalizer language

Description Minati jean michel 2004-04-20 04:32:14 UTC
the ebuild for webalizer don t support language selection.the configure  need to deal with --with-language.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Minati jean michel 2004-04-20 04:41:50 UTC
Created attachment 29685 [details, diff]
Patch to allow language selection for webalizer.

This patch allow the ebuild to look for the value of $LC_ALL, then it look in
/usr/share/locale/locale.alias,to check which language is it.then check if
webalizer is availaible in this language.if not default ( english ) is choosen.
Comment 2 Christian Gut 2005-01-12 01:54:42 UTC
shouldn't ebuilds generally use the $LINGUAS variable for such things?
Comment 3 Arnaud Launay 2005-03-15 06:50:42 UTC
Created attachment 53522 [details, diff]
Another kind of support for webalizer language

Diff against webalizer-2.01.10-r7.ebuild
Comment 4 Arnaud Launay 2005-03-15 06:53:49 UTC
Just submitted another patch, which looks for the WEBALIZER_LANG variable, much like what is done for cameras support selection in media-libs/libgphoto2; this is much flexible than messing with system variables, and can be included in /etc/make.conf (for example, I prefer having my system using default english error messages, but customers like to have their webalizer output in their own lang...)
Comment 5 Jonathan Smith (RETIRED) gentoo-dev 2005-07-08 21:06:05 UTC
neither of these patches worked quite correctly, and they were both rather large
and bulky... thanks for the patches though, they gave me a quick place to start

i implemented a few lines of bash magic which got the job done using LINGUAS. i
really do hope thatthe package is fixed to use normal abreviations for languages

it will appear in -r10