Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143092 - acroread-7.0.8 is installed with non-english interface
Summary: acroread-7.0.8 is installed with non-english interface
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-07 07:51 UTC by antonmx
Modified: 2006-08-08 00:58 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 antonmx 2006-08-07 07:51:58 UTC
in the make.conf I have
    LINGUAS="en ru ja"
and
    USE="nls"
When I perform
    emerge acroread
the package is installed in japanese language. While it is only the third of three in the LINGUAS and main system language is english. I can overcome this problem inserting
    app-text/acroread -nls 
in the keyword file or using
    LINGUAS="-ja" emerge acroread
However I think it's not a clever idea to do something what must be done automatically. Moreover, I am not sure that in both these cases the support of japanese documents is installed (what is critical to me). 

Looking at the correspondent ebuild file  (/usr/portage/app-text/acroread/acroread-7.0.8.ebuild) I have noticed that incerting "en" to the LINS variable and "enu" to the SRCS variable solves the problem. Therefore the strings  in  the following form looks more adequate to me:
    LINS=("en" "de"  "fr"  "ja"  "ko" "zh_CN" "zh_TW")
    SRCS=("enu" "deu" "fra" "jpn" "kor" "chs" "cht")

So can you do these changes in the official ebuild? Or there are some reasons why it is done like this?
Thanks in advance,
Anton.
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2006-08-08 00:58:42 UTC
Most people have set LINGUAS="fr en" for example - with en being the last language. That is why the ebuild relies on use -nls for people that do not want it in their local language.

Sorry but I do not have intentions to change it at this point - I would if you could make a perfect ebuild that can install both languages. It has been noted in another bug that it is possible to do so