Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97959 - windowmaker does not respect LINGUAS
Summary: windowmaker does not respect LINGUAS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Gnustep project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-04 23:18 UTC by Georgi Georgiev
Modified: 2005-07-05 00:19 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Georgi Georgiev 2005-07-04 23:18:46 UTC
Windowmaker by default builds all possible languages. It would be nice if it respected the LINGUAS variable that it forcefully sets. I've been using this patch to the ebuild of windowmaker for a while now and it works fine:

-       use nls \
-               && export LINGUAS="`ls po/*.po | sed 's:po/\(.*\)\.po$:\1:'`" \
-               || myconf="${myconf} --disable-locale"
+       if use nls; then
+               [ -z "$LINGUAS" ] && LINGUAS="`ls po/*.po | sed 's:po/\(.*\)\.po$:\1:'`"
+               export LINGUAS
+       else
+               myconf="${myconf} --disable-nls --disable-locale"
+       fi
Comment 1 Armando Di Cianno (RETIRED) gentoo-dev 2005-07-05 00:19:11 UTC
fixes in portage -- again: nice patch :-)