Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48449 - app-admin/webalizer's ebuild don't support language selection.
Summary: app-admin/webalizer's ebuild don't support language selection.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jonathan Smith (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 9988
Blocks:
  Show dependency tree
 
Reported: 2004-04-20 04:32 UTC by Minati jean michel
Modified: 2005-07-08 21:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to allow language selection for webalizer. (webalizer-2.01.10-r4.ebuild.diff,693 bytes, patch)
2004-04-20 04:41 UTC, Minati jean michel
Details | Diff
Another kind of support for webalizer language (webalizer-language-support.diff,1.50 KB, patch)
2005-03-15 06:50 UTC, Arnaud Launay
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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