Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 43775 Details for
Bug 25756
domenu command, required for global menu system (#18638)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
domenuicon.diff
domenuicon.diff (text/plain), 885 bytes, created by
Stefan Schweizer (RETIRED)
on 2004-11-12 04:45:21 UTC
(
hide
)
Description:
domenuicon.diff
Filename:
MIME Type:
Creator:
Stefan Schweizer (RETIRED)
Created:
2004-11-12 04:45:21 UTC
Size:
885 bytes
patch
obsolete
>--- /home/stefan/eutils.eclass 2004-11-11 20:35:30.000000000 +0100 >+++ /usr/portage/eclass/eutils.eclass 2004-11-12 13:11:02.609679040 +0100 >@@ -1516,3 +1516,51 @@ > einfo "Note: 'emerge gentoolkit' to get revdep-rebuild" > fi > } >+ >+domenu() { >+ local i >+ local j >+ for i in ${@} >+ do >+ if [ -f "${i}" ]; >+ then >+ domenuins ${i} >+ elif [ -d "${i}" ]; >+ then >+ for j in ${i}/*.desktop >+ do >+ domenuins ${j} >+ done >+ fi >+ done >+} >+ >+domenuins() { >+ echo ">>> domenu: making ${1} menu entry..." >+ insinto /usr/share/applications >+ doins ${1} >+} >+ >+doiconins() { >+ echo ">>> doicon: installing ${1} icon..." >+ insinto /usr/share/pixmaps >+ doins ${1} >+} >+ >+doicon() { >+ local i >+ local j >+ for i in ${@} >+ do >+ if [ -f "${i}" ]; >+ then >+ doiconins ${i} >+ elif [ -d "${i}" ]; >+ then >+ for j in ${i}/*.png >+ do >+ doiconins ${j} >+ done >+ fi >+ done >+}
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 25756
:
15360
|
15361
|
15362
|
17313
|
17826
|
18315
|
30438
|
42578
|
42579
|
43733
|
43775
|
43948