Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 43733 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]
domenuicon.diff
domenuicon.diff (text/plain), 1.05 KB, created by
Stefan Schweizer (RETIRED)
on 2004-11-11 12:01:43 UTC
(
hide
)
Description:
domenuicon.diff
Filename:
MIME Type:
Creator:
Stefan Schweizer (RETIRED)
Created:
2004-11-11 12:01:43 UTC
Size:
1.05 KB
patch
obsolete
>--- /home/stefan/eutils.eclass 2004-11-11 20:35:30.590270080 +0100 >+++ /usr/portage/eclass/eutils.eclass 2004-11-11 20:57:06.141316384 +0100 >@@ -1516,3 +1516,49 @@ > einfo "Note: 'emerge gentoolkit' to get revdep-rebuild" > fi > } >+ >+domenu() { >+ for i in ${*} >+ do >+ if [ -f "${i}" ]; >+ then >+ if (echo $i | grep "\.desktop$">/dev/null) >+ then >+ echo ">>> domenu: making ${i} menu entry..." >+ insinto /usr/share/applications >+ doins ${i} >+ fi >+ elif [ -d "${i}" ]; >+ then >+ for j in $(ls ${i}/*.desktop) >+ do >+ echo ">>> domenu: making ${j} menu entry..." >+ insinto /usr/share/applications >+ doins ${j} >+ done >+ fi >+ done >+} >+ >+doicon() { >+ for i in ${*} >+ do >+ if [ -f "${i}" ]; >+ then >+ if (echo $i | grep "\.png$">/dev/null) >+ then >+ echo ">>> doicon: installing ${i} icon..." >+ insinto /usr/share/pixmaps >+ doins ${i} >+ fi >+ elif [ -d "${i}" ]; >+ then >+ for j in $(ls ${i}/*.png) >+ do >+ echo ">>> doicon: installing ${j} icon..." >+ insinto /usr/share/pixmaps >+ doins ${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 Raw
Actions:
View
Attachments on
bug 25756
:
15360
|
15361
|
15362
|
17313
|
17826
|
18315
|
30438
|
42578
|
42579
|
43733
|
43775
|
43948