Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61662 - k3b 0.11.14 doesen't recognize language when $LINGUAS OR $LANGS are set
Summary: k3b 0.11.14 doesen't recognize language when $LINGUAS OR $LANGS are set
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-25 11:12 UTC by Alexander Roos
Modified: 2004-09-10 03:56 UTC (History)
1 user (show)

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 Alexander Roos 2004-08-25 11:12:42 UTC
There's a failure in the ebuild k3b-0.11.14.ebuild.
When you only have set $LINGUAS OR $LANGS the following command in the ebuild return a null-string:
echo "${LINGUAS} ${LANGS}" | fmt -w 1 | sort | uniq -d

Solution:
Delete "-d" from the command and you get the correct language.
echo "${LINGUAS} ${LANGS}" | fmt -w 1 | sort | uniq

Reproducible: Always
Steps to Reproduce:
1. emerge k3b
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2004-08-25 17:45:43 UTC
The null string is catched via

if [ -n "$MAKE_PO" ] ; then
        SRC_URI="${SRC_URI} mirror://sourceforge/k3b/${I18N}.tar.bz2"
fi

Please reopen, if there's still a problem

Comment 2 meyerm 2004-09-10 03:56:29 UTC
I guess Alexander wouldn't have open this bugreport if it would work ;-)

Well, so I want to append that I just tried to emerge K3B with ~x86 and LINGUAS="de" set and it only shows up in english. Since I must go back now learning I can't investigate further - perhaps later.

Thank you