1 |
On Thursday 14 August 2003 01:45, Heinrich Wendel wrote: |
2 |
> On Thursday 14 August 2003 01:47, Chris Gianelloni wrote: |
3 |
> > On Wed, 2003-08-13 at 18:00, Heinrich Wendel wrote: |
4 |
> > > You are right, it takes a lot of work. But the problem is that we want |
5 |
> > > to have flexible menus, via the menu-spec. How should this transparent |
6 |
> > > parser know in which category it should put the entry? The gnome/kde |
7 |
> > > categories are not compatible with the categories listened in the |
8 |
> > > menu-spec. And how can you know that the entries in /usr/share/applnk |
9 |
> > > are generated by our parser or by an ebuild? |
10 |
> > |
11 |
> > First off, using a spec that is not in use but will be in use is rather |
12 |
> > pointless, as you are doing WAY more work than need be done. The better |
13 |
> > way to go about it would be to create optional support for the new |
14 |
> > specifications and build to the current implementations. I, quite |
15 |
> > personally, couldn't care if this is the way things are "going to be" in |
16 |
> > KDE/Gnome/*box/etc. I only care how they are now. Create some |
17 |
> > conditionals which check for versions and match themselves to that |
18 |
> > specification. The menu structure should fairly well match what is |
19 |
> > being put out by the upstream maintainers as well as possible. As for |
20 |
> > the "generated by parser or ebuild" that is simple enough. The parser |
21 |
> > should *never* create files in the "legacy" locations, but only in the |
22 |
> > location where we designate the Gentoo menu system would go. Any files |
23 |
> > in the legacy locations would be placed by the package/ebuild and should |
24 |
> > not be considered authorative for our menu system, but rather should be |
25 |
> > parsed to *create* our menu system. For example, if I create an ebuild |
26 |
> > that copies a .desktop file to /usr/share/gnome/apps/Internet and call a |
27 |
> > make_gentoo_menu function at the end of my ebuild, then it should parse |
28 |
> > the file and add it appropriately to the Gentoo menu location. In this |
29 |
> > same token, I should be able to manually create a file in |
30 |
> > /usr/share/applications or /usr/share/gnome/apps/Office or |
31 |
> > /usr/share/applnk and then run a script, say update-menu, and it should |
32 |
> > parse all of the legacy locations and add any new files to the Gentoo |
33 |
> > menu system. Essentially, we should create a new menu system that is |
34 |
> > independent of the others, rather than trying to fix the others. It |
35 |
> > would be fairly trivial to patch the window managers to get their |
36 |
> > information from the Gentoo-created menus as opposed to the intensive |
37 |
> > problem of "fixing" every application that even thinks of installing a |
38 |
> > menu item. This is of course my opinion, but I am trying to keep this |
39 |
> > all on -dev so we can get some good feedback from the users, as they're |
40 |
> > the ones really requesting it. |
41 |
> |
42 |
> How can we make a menu for KDE without writing to /usr/kde/3.1/share/applnk |
43 |
> or /usr/share/applnk ??? |
44 |
|
45 |
Sorry, now i see it, you want to patch KDE. Interesting idea, but I don't |
46 |
think this is the way to go, take a look at *box and others, they don't |
47 |
support .desktop at all, it would be more work than the other way I think. |
48 |
|
49 |
> |
50 |
> mfg, Heinrich :) |
51 |
> |
52 |
> -- |
53 |
> gentoo-dev@g.o mailing list |
54 |
|
55 |
|
56 |
-- |
57 |
gentoo-dev@g.o mailing list |