From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: * X-Spam-Status: No, score=2.0 required=5.0 tests=DKIM_ADSP_NXDOMAIN,DMARC_NONE, MAILING_LIST_MULTI,RDNS_NONE autolearn=no autolearn_force=no version=4.0.0 Received: from logos.upb.edu.co (unknown [200.3.144.3]) by chiba.3jane.net (Postfix) with ESMTP id C6787ACA88 for ; Wed, 17 Apr 2002 17:30:35 -0500 (CDT) Received: from webmaste.upb.edu.co (webmaste.upb.edu.co [200.3.144.21]) by logos.upb.edu.co (8.11.6/8.11.6) with ESMTP id g3HMRoB10578 for ; Wed, 17 Apr 2002 17:27:50 -0500 Content-Type: text/plain; charset="iso-8859-1" From: Mario Andres Yepes C To: gentoo-dev@gentoo.org Subject: Re: [gentoo-dev] Menu System Date: Wed, 17 Apr 2002 17:29:46 -0500 X-Mailer: KMail [version 1.4] References: <200204171007.54557.marioy@logos.upb.edu.co> <200204172023.06703.danarmak@gentoo.org> <20020417130833.6250e75b.jnelson@jamponi.net> In-Reply-To: <20020417130833.6250e75b.jnelson@jamponi.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200204171729.46831.marioy@logos.upb.edu.co> X-ECS-MailScanner: Limpio de virus Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: 5b7fc1a8-8d49-4a6e-9b55-910a2b9dec88 X-Archives-Hash: ef9396a374555361424728e326c946eb I think thats the basic idea... The thing would be that portage should pr= ovide=20 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=3D"$2" icon=3D"$3" title=3D"$4" longtitle=3D"$5"= needs=3D"$1"=20 command=3D"oo$1" $mimetypes_item=20 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 b= etter=20 implemented so the way to call it is more straight forward. Regards Mario =09 El Mi=E9 17 Abr 2002 13:08, Jon Nelson escribi=F3: > On Wed, 17 Apr 2002 20:23:06 +0300 > > Dan Armak 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 manag= ers > > > a la Debian??? > > > > Azarah and me and some others discussed it on IRC a couple of days ag= o. > > We basically agreed that it should be done, so if you have any specia= l > > requests/ideas/proposals, now's the time :-) > > Basically I think Debian has the best menu system around. > Why not simply port it?