From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7692 invoked by uid 1002); 31 May 2003 14:22:34 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 5012 invoked from network); 31 May 2003 14:22:26 -0000 From: Svyatogor Reply-To: svyatogor@gentoo.org To: gentoo-dev@gentoo.org Date: Sat, 31 May 2003 17:17:28 +0000 User-Agent: KMail/1.5.2 References: <20030530170936.782fa567.spider@gentoo.org> In-Reply-To: <20030530170936.782fa567.spider@gentoo.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200305311717.28515.svyatogor@gentoo.org> Subject: Re: Fw: [gentoo-dev] [PROPOSAL] Menu system for all gentoo wm's. X-Archives-Salt: ee2c6220-4ee8-4d08-8188-9eb2d8cd3485 X-Archives-Hash: 5cd8900ef8d37736aad8bfcd6f435611 That's interesting! Could you please send me your friends prog? As far as I understand he doesn't mind releasing the source. On Friday 30 May 2003 15:09, Spider wrote: > hi folks, this came as a reply when I bounced the initial mail to a > friend of mine whom I have been discussing implementation and so on with > (quite a while before any discussion on the list) > > > //Spider > > > > > begin forwarded message: > > Date: Fri, 30 May 2003 17:02:25 +0200 > From: redhog > To: Spider > Subject: Re: Fw: [gentoo-dev] [PROPOSAL] Menu system for all gentoo > wm's. > > > Kan du fwd:a mitt svar kanske? > > ----- > Hi! > First of all both Debian and Mdk does have such systems. But they are > different, with different file-formats. In addition, > http://www.freedesktop.org/standards/desktop-entry-spec/desktop-entry-spec. >html > > specifies a third format, which is used by GNOME and KDE at the moment. > The system in Debian is quite broken, and the implementation (the hack > to convert from their format to the ones of the different > window-managers) even more so. Esepecially when it comes to translating > and transforming the menu. > We at TakeIT/Jamtlinux are currently using Debian (don't hate us for > that folks!) for a system for high-schools, and thus translation into > our native language, aswell as "dumbing-down" the menu (moving all but > the most frequently used apps to a special sub-menu), is very important > for our application. As the current Debian hack is so broken, I decided > > to hack a new implementation of it, in Python. I succeeded with a > minimal version (supporting the same input format and output to the > GNOME/KDE format) of this in just an eavening (the old hack was written > in C, and thus much clumsier than mine), and continued with support for > different input sources, like the one specified by freedesktop.org. > The program reads a set of menu-sources (files or directory structures) > of different formats using input-modules, stores all tanslations find in > > the input-files and combines them with ones provided in special > translation/language-packs, filters the entries using simple > python-expressions, transforms them (for example their paths down > through the menu-tree) using other such expressions, combines all the > entries to a tree, translates them using the stored translations, and > finally exports them to one or more destination files/directory > structures using output-modules for the different fomats. > This hack is totally independent of the Debian distribution as such (it > depends only on the Python language), and I wouldn't mind if you > included it in your distribution and/or added some more input our output > > modules. > /Egil -- Sergey Kuleshov Let the Force be with us! -- gentoo-dev@gentoo.org mailing list