Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]How to define the language ,when I emerge packages ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
uuhan
n00b
n00b


Joined: 26 Aug 2012
Posts: 20

PostPosted: Wed Sep 19, 2012 11:00 am    Post subject: [solved]How to define the language ,when I emerge packages ? Reply with quote

When I emerge -pv <some package> , I find some package I want just owns linguas="* B" ,but I prefer A's linguas . I need the linguas of A ,but if it does not exist , I can use B substituted . I know I can define both A and B in my make.conf, but I do not need B when they both exist . I try to write a file /etc/portage/package.linguas , like package.use , package.accept_keywords , to define a specialized LINGUAS value ,but it seems does not work . So what can I do to satisfy my need ? :wink:

Last edited by uuhan on Wed Sep 19, 2012 3:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 3886
Location: Irgendwo im Nirgendwo

PostPosted: Wed Sep 19, 2012 11:09 am    Post subject: Reply with quote

linguas get expanded to normal USE-Flags.
linguas="de fr" will get USE="linguas_de linguas_fr".
So you can simply add per-package-entries to package.use in the form of
pkg-cat/pkg-name linguas_A
_________________
"der mac dennoch wesen geil"
Wolfram von Eschenbach, Parzival (Buch 1, Z. 7).
Ein frühes Statement gegen Windows.

My overlay
Back to top
View user's profile Send private message
uuhan
n00b
n00b


Joined: 26 Aug 2012
Posts: 20

PostPosted: Wed Sep 19, 2012 3:28 pm    Post subject: Reply with quote

franzf wrote:
linguas get expanded to normal USE-Flags.
linguas="de fr" will get USE="linguas_de linguas_fr".
So you can simply add per-package-entries to package.use in the form of
pkg-cat/pkg-name linguas_A

Amazing, it works .. Thank you so much .BTW , why it did not announced in the Gentoo Installation Guide ?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum