Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 17925 Details for
Bug 13616
per package USE flags and KEYWORDS
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ebuild.sh+emerge-2.0.49-r4-per_package_use_flags.patch
ebuild.sh+emerge-2.0.49-r4-per_package_use_flags.patch (text/plain), 2.22 KB, created by
Max Kalika (RETIRED)
on 2003-09-17 15:49:31 UTC
(
hide
)
Description:
ebuild.sh+emerge-2.0.49-r4-per_package_use_flags.patch
Filename:
MIME Type:
Creator:
Max Kalika (RETIRED)
Created:
2003-09-17 15:49:31 UTC
Size:
2.22 KB
patch
obsolete
>--- ebuild.sh 2003-08-25 10:03:04.000000000 -0700 >+++ ebuild.sh 2003-08-25 11:53:07.000000000 -0700 >@@ -83,14 +83,16 @@ > > use() { > local x >- for x in ${USE}; do >+ for x in ${PUSE} ${USE}; do > if [ "${x}" == "${1}" ]; then > if [ -r /dev/fd/1 ]; then > tty --quiet < /dev/stdout || echo "${x}" > else >- echo "${x}" >+ echo "${x}" > fi > return 0 >+ elif [ "${x}" == "-${1}" ]; then >+ return 1 > fi > done > return 1 >--- /tmp/emerge 2003-09-17 14:35:36.898966008 -0700 >+++ emerge 2003-09-17 15:40:45.549760768 -0700 >@@ -587,9 +587,17 @@ > > update_spinner() > >- myuse=portage.settings["USE"] > if len(mybigkey) == 3: > mytype,myroot,mykey=mybigkey >+ myuse=string.split(portage.settings["USE"]) >+ for x in portage.dep_getpuse(mykey): >+ if x[0]=="-": >+ myuse.remove(x[1:]) >+ myuse.append(x) >+ else: >+ myuse.remove("-"+x) >+ myuse.append(x) >+ myuse=string.join(myuse) > else: > mytype,myroot,mykey,myuse=mybigkey > >@@ -1074,13 +1082,16 @@ > > iuse="" > if "--verbose" in myopts: >+ myiuse=portage.dep_getpuse(x[2]) > for ebuild_iuse in string.split(portage.portdb.aux_get(x[2],["IUSE"])[0], " "): >- try: >- if (portage.usesplit.index(ebuild_iuse) >= 0) : >- iuse=iuse+red("+"+ebuild_iuse)+" " >- except ValueError: >- if ebuild_iuse != "": >- iuse=iuse+blue("-"+ebuild_iuse)+" " >+ if ebuild_iuse in myiuse: >+ iuse=iuse+darkred("+"+ebuild_iuse)+" " >+ elif "-"+ebuild_iuse in myiuse: >+ iuse=iuse+darkblue("-"+ebuild_iuse)+" " >+ elif ebuild_iuse in portage.usesplit: >+ iuse=iuse+red("+"+ebuild_iuse)+" " >+ elif ebuild_iuse != "": >+ iuse=iuse+blue("-"+ebuild_iuse)+" " > > xs=portage.pkgsplit(x[2]) > if xs[2]=="r0": >@@ -1842,8 +1853,8 @@ > else: > myvars=['GENTOO_MIRRORS', 'CONFIG_PROTECT', 'CONFIG_PROTECT_MASK', > 'PORTDIR', 'DISTDIR', 'PKGDIR', 'PORTAGE_TMPDIR', 'PORTDIR_OVERLAY', >- 'USE', 'COMPILER', 'CHOST', 'CFLAGS', 'CXXFLAGS','ACCEPT_KEYWORDS', >- 'MAKEOPTS', 'AUTOCLEAN', 'SYNC', 'FEATURES'] >+ 'USE', 'PKGUSE', 'COMPILER', 'CHOST', 'CFLAGS', 'CXXFLAGS', >+ 'ACCEPT_KEYWORDS', 'MAKEOPTS', 'AUTOCLEAN', 'SYNC', 'FEATURES'] > myvars.sort() > for x in myvars: > print x+'="'+portage.settings[x]+'"'
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 13616
:
7155
|
7156
|
7264
|
7265
|
9218
|
9219
|
10588
|
10589
|
12254
|
12255
|
13752
|
13753
|
14390
|
14678
|
14679
|
14847
|
14873
|
15239
|
15240
|
15241
|
15291
|
15303
|
15304
|
15347
|
15348
|
15349
|
15614
|
15715
|
16609
|
16610
|
16611
|
16768
| 17925 |
17926
|
19128
|
20637
|
20652
|
21575
|
21577