1 |
I think thats the basic idea... The thing would be that portage should provide |
2 |
a couple of functions to easy the process of adding an entry to the menu. |
3 |
|
4 |
Somethink like |
5 |
|
6 |
add_menu(){ |
7 |
mkdir -p ${MENUDIR} |
8 |
cat >> ${MENUDIR}/${PN} << EOF |
9 |
?package(${P}): section="$2" icon="$3" title="$4" longtitle="$5" needs="$1" |
10 |
command="oo$1" $mimetypes_item |
11 |
EOF |
12 |
} |
13 |
|
14 |
So in an ebuild you could have... |
15 |
|
16 |
add_menu Applications/Games amor.png "A waste of cpu" "Amor, a game" x11 |
17 |
|
18 |
Of course this is just a quick idea, I think that the function could be better |
19 |
implemented so the way to call it is more straight forward. |
20 |
|
21 |
Regards |
22 |
Mario |
23 |
|
24 |
|
25 |
El Mié 17 Abr 2002 13:08, Jon Nelson escribió: |
26 |
> On Wed, 17 Apr 2002 20:23:06 +0300 |
27 |
> |
28 |
> Dan Armak <danarmak@g.o> wrote: |
29 |
> > On Wednesday 17 April 2002 18:07, Mario Andres Yepes C wrote: |
30 |
> > > Just a Question. |
31 |
> > > |
32 |
> > > Would'nt be a good idea to implement a menu system for window managers |
33 |
> > > a la Debian??? |
34 |
> > |
35 |
> > Azarah and me and some others discussed it on IRC a couple of days ago. |
36 |
> > We basically agreed that it should be done, so if you have any special |
37 |
> > requests/ideas/proposals, now's the time :-) |
38 |
> |
39 |
> Basically I think Debian has the best menu system around. |
40 |
> Why not simply port it? |