1 |
That's interesting! Could you please send me your friends prog? As far as I |
2 |
understand he doesn't mind releasing the source. |
3 |
|
4 |
On Friday 30 May 2003 15:09, Spider wrote: |
5 |
> hi folks, this came as a reply when I bounced the initial mail to a |
6 |
> friend of mine whom I have been discussing implementation and so on with |
7 |
> (quite a while before any discussion on the list) |
8 |
> |
9 |
> |
10 |
> //Spider |
11 |
> |
12 |
> |
13 |
> |
14 |
> |
15 |
> begin forwarded message: |
16 |
> |
17 |
> Date: Fri, 30 May 2003 17:02:25 +0200 |
18 |
> From: redhog <redhog@×××××××××.net> |
19 |
> To: Spider <spider@g.o> |
20 |
> Subject: Re: Fw: [gentoo-dev] [PROPOSAL] Menu system for all gentoo |
21 |
> wm's. |
22 |
> |
23 |
> |
24 |
> Kan du fwd:a mitt svar kanske? |
25 |
> |
26 |
> ----- |
27 |
> Hi! |
28 |
> First of all both Debian and Mdk does have such systems. But they are |
29 |
> different, with different file-formats. In addition, |
30 |
> http://www.freedesktop.org/standards/desktop-entry-spec/desktop-entry-spec. |
31 |
>html |
32 |
> |
33 |
> specifies a third format, which is used by GNOME and KDE at the moment. |
34 |
> The system in Debian is quite broken, and the implementation (the hack |
35 |
> to convert from their format to the ones of the different |
36 |
> window-managers) even more so. Esepecially when it comes to translating |
37 |
> and transforming the menu. |
38 |
> We at TakeIT/Jamtlinux are currently using Debian (don't hate us for |
39 |
> that folks!) for a system for high-schools, and thus translation into |
40 |
> our native language, aswell as "dumbing-down" the menu (moving all but |
41 |
> the most frequently used apps to a special sub-menu), is very important |
42 |
> for our application. As the current Debian hack is so broken, I decided |
43 |
> |
44 |
> to hack a new implementation of it, in Python. I succeeded with a |
45 |
> minimal version (supporting the same input format and output to the |
46 |
> GNOME/KDE format) of this in just an eavening (the old hack was written |
47 |
> in C, and thus much clumsier than mine), and continued with support for |
48 |
> different input sources, like the one specified by freedesktop.org. |
49 |
> The program reads a set of menu-sources (files or directory structures) |
50 |
> of different formats using input-modules, stores all tanslations find in |
51 |
> |
52 |
> the input-files and combines them with ones provided in special |
53 |
> translation/language-packs, filters the entries using simple |
54 |
> python-expressions, transforms them (for example their paths down |
55 |
> through the menu-tree) using other such expressions, combines all the |
56 |
> entries to a tree, translates them using the stored translations, and |
57 |
> finally exports them to one or more destination files/directory |
58 |
> structures using output-modules for the different fomats. |
59 |
> This hack is totally independent of the Debian distribution as such (it |
60 |
> depends only on the Python language), and I wouldn't mind if you |
61 |
> included it in your distribution and/or added some more input our output |
62 |
> |
63 |
> modules. |
64 |
> /Egil |
65 |
|
66 |
-- |
67 |
Sergey Kuleshov <svyatogor@g.o> |
68 |
Let the Force be with us! |
69 |
|
70 |
|
71 |
-- |
72 |
gentoo-dev@g.o mailing list |