From: Mario Andres Yepes C <marioy@logos.upb.edu.co>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] Menu System
Date: Wed, 17 Apr 2002 17:29:46 -0500 [thread overview]
Message-ID: <200204171729.46831.marioy@logos.upb.edu.co> (raw)
In-Reply-To: <20020417130833.6250e75b.jnelson@jamponi.net>
I think thats the basic idea... The thing would be that portage should provide
a couple of functions to easy the process of adding an entry to the menu.
Somethink like
add_menu(){
mkdir -p ${MENUDIR}
cat >> ${MENUDIR}/${PN} << EOF
?package(${P}): section="$2" icon="$3" title="$4" longtitle="$5" needs="$1"
command="oo$1" $mimetypes_item
EOF
}
So in an ebuild you could have...
add_menu Applications/Games amor.png "A waste of cpu" "Amor, a game" x11
Of course this is just a quick idea, I think that the function could be better
implemented so the way to call it is more straight forward.
Regards
Mario
El Mié 17 Abr 2002 13:08, Jon Nelson escribió:
> On Wed, 17 Apr 2002 20:23:06 +0300
>
> Dan Armak <danarmak@gentoo.org> wrote:
> > On Wednesday 17 April 2002 18:07, Mario Andres Yepes C wrote:
> > > Just a Question.
> > >
> > > Would'nt be a good idea to implement a menu system for window managers
> > > a la Debian???
> >
> > Azarah and me and some others discussed it on IRC a couple of days ago.
> > We basically agreed that it should be done, so if you have any special
> > requests/ideas/proposals, now's the time :-)
>
> Basically I think Debian has the best menu system around.
> Why not simply port it?
next prev parent reply other threads:[~2002-04-17 22:30 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-17 15:07 [gentoo-dev] Menu System Mario Andres Yepes C
2002-04-17 15:18 ` Grant Goodyear
2002-04-17 15:19 ` Jano Lukac
2002-04-17 15:16 ` John Dee
2002-04-17 17:23 ` Dan Armak
2002-04-17 18:08 ` Jon Nelson
2002-04-17 18:56 ` Martin Schlemmer
2002-04-17 22:29 ` Mario Andres Yepes C [this message]
2002-04-18 3:41 ` Tod M Neidt
2002-04-18 4:07 ` Jon Nelson
2002-04-18 4:22 ` Tod M Neidt
2002-04-18 16:01 ` Jon Nelson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200204171729.46831.marioy@logos.upb.edu.co \
--to=marioy@logos.upb.edu.co \
--cc=gentoo-dev@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox