public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Chris Gianelloni <wolf31o2@gentoo.org>
To: Heinrich Wendel <lanius@gentoo.org>
Cc: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] Gentoo Menu - Bash vs. Python Rule files
Date: 14 Aug 2003 06:56:33 -0400	[thread overview]
Message-ID: <1060858593.19236.75.camel@vertigo> (raw)
In-Reply-To: <200308140145.55260.lanius@gentoo.org>

[-- Attachment #1: Type: text/plain, Size: 2741 bytes --]

On Wed, 2003-08-13 at 19:45, Heinrich Wendel wrote:
> > the "generated by parser or ebuild" that is simple enough.  The parser
> > should *never* create files in the "legacy" locations, but only in the
> > location where we designate the Gentoo menu system would go.  Any files
> > in the legacy locations would be placed by the package/ebuild and should
> > not be considered authorative for our menu system, but rather should be
> > parsed to *create* our menu system.  For example, if I create an ebuild
> > that copies a .desktop file to /usr/share/gnome/apps/Internet and call a
> > make_gentoo_menu function at the end of my ebuild, then it should parse
> > the file and add it appropriately to the Gentoo menu location.  In this
> > same token, I should be able to manually create a file in
> > /usr/share/applications or /usr/share/gnome/apps/Office or
> > /usr/share/applnk and then run a script, say update-menu, and it should
> > parse all of the legacy locations and add any new files to the Gentoo
> > menu system.  Essentially, we should create a new menu system that is
> > independent of the others, rather than trying to fix the others.  It
> > would be fairly trivial to patch the window managers to get their
> > information from the Gentoo-created menus as opposed to the intensive
> > problem of "fixing" every application that even thinks of installing a
> > menu item.  This is of course my opinion, but I am trying to keep this
> > all on -dev so we can get some good feedback from the users, as they're
> > the ones really requesting it.
> 
> How can we make a menu for KDE without writing to /usr/kde/3.1/share/applnk or 
> /usr/share/applnk ???

You don't.  Read the part of my comment that I left in this message. 
Rather than add OUR menu system to /usr/kde/3.1/share/applnk, we should
patch KDE/Gnome/*box/etc (actually quite simple) to use
/usr/share/gentoo-menu or wherever we decide the Gentoo menu should go. 
This saves the problem of having to edit every ebuild right now to
implement this, allows for a "Gentoo Menu" support which can easily be
turned on or off via FEATURES, and gives us a single location for our
entire menu structure, rather than duplicating our parsed menus all over
the filesystem.  After all, if I have Gnome, KDE, WindowMaker,
AfterStep, and Fluxbox installed, the current proposal would have to
create 5 separate menus and maintain them to keep everything accurate. 
Under my proposal, it would only have to maintain ONE and all 5 window
managers would use it.  At this point you can use ANY version of ANY
spec we wish to support, and we don't have to wait on anyone else to
support it.

-- 
Chris Gianelloni
Developer, Gentoo Linux

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2003-08-14 10:52 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-13 16:44 [gentoo-dev] Gentoo Menu - Bash vs. Python Rule files Heinrich Wendel
2003-08-13 17:19 ` Svyatogor
2003-08-13 17:52 ` Sven Vermeulen
2003-08-13 17:56 ` Spider
2003-08-13 18:32   ` Adam Porich
2003-08-13 19:21     ` Philippe Lafoucrière
2003-08-13 19:19 ` [gentoo-dev] " thomas weidner
2003-08-13 20:38 ` [gentoo-dev] " Chris Gianelloni
2003-08-13 20:38   ` Heinrich Wendel
2003-08-13 21:08     ` Chris Gianelloni
2003-08-13 21:16       ` Heinrich Wendel
2003-08-13 21:50         ` Chris Gianelloni
2003-08-13 21:55         ` Peter Ruskin
2003-08-13 22:17           ` Heinrich Wendel
2003-08-13 23:35             ` Chris Gianelloni
2003-08-14  0:36               ` Heinrich Wendel
2003-08-13 23:48             ` Peter Ruskin
2003-08-14  3:00               ` Mike Frysinger
2003-08-14  8:11                 ` [gentoo-dev] Gentoo Menu - Some Comments Svyatogor
2003-08-14 10:02                   ` Peter Ruskin
2003-08-14 11:10                     ` Chris Gianelloni
2003-08-14 11:31                     ` Stuart Herbert
2003-08-14 11:45                       ` John
2003-08-14 12:00                         ` Chris Gianelloni
2003-08-14 12:01                       ` Svyatogor
2003-08-14 15:05                         ` Stuart Herbert
2003-08-14 11:34                     ` Svyatogor
2003-08-14 11:46                       ` Chris Gianelloni
2003-08-14 11:46                       ` Paul de Vrieze
2003-08-14 12:02                         ` Seemant Kulleen
2003-08-13 22:31           ` [gentoo-dev] Gentoo Menu - Bash vs. Python Rule files Fred Van Andel
2003-08-13 23:09           ` Mike Frysinger
2003-08-13 23:12             ` Heinrich Wendel
2003-08-13 22:14 ` Fred Van Andel
2003-08-13 22:48   ` Heinrich Wendel
2003-08-13 22:54     ` Fred Van Andel
2003-08-14 10:47     ` Chris Gianelloni
2003-08-13 22:54   ` Spider
2003-08-13 22:57     ` Heinrich Wendel
2003-08-14  0:11       ` Spider
2003-08-14 10:49       ` Chris Gianelloni
2003-08-14 10:24   ` Paul de Vrieze
2003-08-14 11:17     ` Chris Gianelloni
2003-08-14 11:22       ` Paul de Vrieze
2003-08-14 11:43         ` Chris Gianelloni
     [not found] ` <200308140000.47539.lanius@gentoo.org>
2003-08-13 23:47   ` Chris Gianelloni
2003-08-13 23:45     ` Heinrich Wendel
2003-08-14  0:10       ` Heinrich Wendel
2003-08-14 10:59         ` Chris Gianelloni
2003-08-14 10:56       ` Chris Gianelloni [this message]
2003-08-14 11:10         ` Toby Dickenson
2003-08-14 11:19           ` Chris Gianelloni
2003-08-14 11:28         ` Svyatogor
2003-08-14 11:37           ` Chris Gianelloni
2003-08-14 11:53             ` Paul de Vrieze

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=1060858593.19236.75.camel@vertigo \
    --to=wolf31o2@gentoo.org \
    --cc=gentoo-dev@gentoo.org \
    --cc=lanius@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