Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7161 - description of new USE flags
Summary: description of new USE flags
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: USE Variable HOWTO (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: John Davis (zhen) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-28 07:16 UTC by Seemant Kulleen (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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


Attachments
added all the new USE variable from the use.desc (gentoo-howto.diff,6.00 KB, patch)
2002-09-12 21:03 UTC, Eric Stockbridge
Details | Diff
add use flags to use howto (use-howto.diff,1.89 KB, patch)
2002-09-13 16:33 UTC, Eric Stockbridge
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Seemant Kulleen (RETIRED) gentoo-dev 2002-08-28 07:16:02 UTC
Hi Stuart, can you take a look at the USE Variable HOWTO and then give me a
writeup on the USE flags that you have added into use.desc?  Just plain text
will do.

Cheers
Comment 1 Stuart Bouyer (RETIRED) gentoo-dev 2002-08-28 10:56:50 UTC
copied from email sent to gentoo-core

At the moment there are only 3 flags related to CJK: cjk, canna and
freewnn. All three flags should probably go in the "Other Useful Flags section"

cjk is used to add Japanese, Chinese or Korean specific support (rather
than the broader nls support) to the following packages: php, mod_php,
w3m, and mutt. It probably should also be used for the korean patch for
gaim also.

The cjk, partially files a hole in portage at the moment - letting a
user chose one or more languages for support. The addition of a LANG
variable would be a better solution, I think, and would allow the
removal of this flag. 

canna and freewnn are only used in kinput2. kinput2 can use either or
both of these conversion engines, but the decision must be made at
compile time. This was the only way I could think to get around not
making the user install both conversion engines. If anyone else has a
more elegant solution I'm more than willing to retire these flags.

Stuart Bouyer (aka StuBear)
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2002-09-01 03:33:24 UTC
Stuart, I rather think you can just have one of the two flags and still
accomplish the goal.  What I would do is make a flag for the more popular of the
two alternatives, and then: use that || whatever_options_for_the_other_one

waddayathink?
Comment 3 Stuart Bouyer (RETIRED) gentoo-dev 2002-09-01 08:09:25 UTC
Seemant,

How do we handle the case when the user wants both engines installed then?

Kinput can be compiled with support for canna or freewnn or canna + freewnn (
the user then chooses which to use at run time with a flag). Actually there are
2 or three others that it can also use, but they are  commercial variants ans
aren't as popular on Linux/FreeBSD.

The either/or choice is easy with one flag, but I couldn't figure out how to add
support for both with only 1 flag.

It would be nice if we could do something like USE="kengine={canna, freewnn,
skk}". This would also be a great option for language support USE="nls={jp, en,
de}" to get support for Japanese, English and German.
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2002-09-11 09:47:45 UTC
zhen, please append to the USE HOWTO...
Comment 5 John Davis (zhen) (RETIRED) gentoo-dev 2002-09-11 11:26:29 UTC
I added stubear's flags to the guide under the "other useful flags section".
Take a look and see how it looks...

//ZhEN
Comment 6 Eric Stockbridge 2002-09-12 21:03:02 UTC
Created attachment 3874 [details, diff]
added all the new USE variable from the use.desc
Comment 7 John Davis (zhen) (RETIRED) gentoo-dev 2002-09-13 12:04:09 UTC
Eric,
Once again, good job, I will take a look at this and add it to the USE doc.

//ZhEN

Comment 8 John Davis (zhen) (RETIRED) gentoo-dev 2002-09-13 12:06:44 UTC
Hey Eric,
what version of the doc were you using? Was it after my submissions? Reason i'm
asking is because the patch failed. If you need the latest guide from cvs, you
can mail me, or just grab it from cvs ;-)

Thanks, 
//ZhEN
Comment 9 Eric Stockbridge 2002-09-13 16:33:22 UTC
Created attachment 3899 [details, diff]
add use flags to use howto

sorry the first patch was to add use variables to the devel guide this one adds
them to the use guide
Comment 10 John Davis (zhen) (RETIRED) gentoo-dev 2002-09-15 10:00:27 UTC
Commited the changes.

//ZhEN
Comment 11 John Davis (zhen) (RETIRED) gentoo-dev 2002-09-17 14:24:33 UTC
I commited this.

//ZhEN