Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 78552 Details for
Bug 10013
Request: USE Flags handle '+flag'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Adds an option for displaying a plus ('+') symbol before activated USE flags to `emerge`
Add_plus_symbol_display_option.patch (text/plain), 3.21 KB, created by
email_deleted_GqKU
on 2006-01-31 02:56:46 UTC
(
hide
)
Description:
Adds an option for displaying a plus ('+') symbol before activated USE flags to `emerge`
Filename:
MIME Type:
Creator:
email_deleted_GqKU
Created:
2006-01-31 02:56:46 UTC
Size:
3.21 KB
patch
obsolete
>### >### Adds an option for displaying a plus ('+') symbol before activated USE flags to Emerge >### >### See: https://bugs.gentoo.org/show_bug.cgi?id=10013 >### > >diff -uNr portage-2.1_pre4-r1_(Original)/bin/emerge portage-2.1_pre4-r1/bin/emerge >--- portage-2.1_pre4-r1_(Original)/bin/emerge 2006-01-28 01:49:48.000000000 +0100 >+++ portage-2.1_pre4-r1/bin/emerge 2006-01-31 11:09:13.000000000 +0100 >@@ -175,6 +175,7 @@ > "--changelog", "--columns", "--cols", > "--debug", "--deep", > "--digest", >+"--display-plus-symbol-before-activated-use-flags", > "--emptytree", > "--fetchonly", "--fetch-all-uri", > "--getbinpkg", "--getbinpkgonly", >@@ -1505,12 +1506,20 @@ > disabled = [] > for flag in cur_iuse: > if flag in cur_use: >- if is_new or flag in old_use and all_flags: >- enabled.append(red(flag)) >- elif flag not in old_iuse: >- enabled.append(yellow(flag)+"%") >- elif flag not in old_use: >- enabled.append(green(flag)+"*") >+ if "--display-plus-symbol-before-activated-use-flags" in myopts: >+ if is_new or flag in old_use and all_flags: >+ enabled.append(red("+"+flag)) >+ elif flag not in old_iuse: >+ enabled.append(yellow("+"+flag)+"%") >+ elif flag not in old_use: >+ enabled.append(green("+"+flag)+"*") >+ else: >+ if is_new or flag in old_use and all_flags: >+ enabled.append(red(flag)) >+ elif flag not in old_iuse: >+ enabled.append(yellow(flag)+"%") >+ elif flag not in old_use: >+ enabled.append(green(flag)+"*") > else: > if is_new or flag in old_iuse and flag not in old_use and all_flags: > disabled.append(blue("-"+flag)) >diff -uNr portage-2.1_pre4-r1_(Original)/man/emerge.1 portage-2.1_pre4-r1/man/emerge.1 >--- portage-2.1_pre4-r1_(Original)/man/emerge.1 2006-01-28 01:49:49.000000000 +0100 >+++ portage-2.1_pre4-r1/man/emerge.1 2006-01-31 11:12:15.000000000 +0100 >@@ -248,6 +248,9 @@ > As an example, this catches updates in libraries that are not directly > listed in the dependencies of a package. > .TP >+.BR "\-\-display-plus-symbol-before-activated-use-flags " >+Displays a plus ('+') symbol before activated USE flags, for readability. >+.TP > .BR "\-\-emptytree " (\fB\-e\fR) > Reinstalls all world packages and their dependencies to the current USE > specifications while differing from the installed set of packages as >diff -uNr portage-2.1_pre4-r1_(Original)/pym/emergehelp.py portage-2.1_pre4-r1/pym/emergehelp.py >--- portage-2.1_pre4-r1_(Original)/pym/emergehelp.py 2006-01-28 01:49:48.000000000 +0100 >+++ portage-2.1_pre4-r1/pym/emergehelp.py 2006-01-31 11:12:37.000000000 +0100 >@@ -168,6 +168,10 @@ > print " example, this catches updates in libraries that are not directly" > print " listed in the dependencies of a package." > print >+ print " "+green("--display-plus-symbol-before-activated-use-flags") >+ print " Displays a plus ('+') symbol before activated USE flags," >+ print " for readability." >+ print > print " "+green("--emptytree")+" ("+green("-e")+" short option)" > print " Virtually tweaks the tree of installed packages to contain" > print " nothing. This is great to use together with --pretend. This makes"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 10013
: 78552