From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13304 invoked by uid 1002); 31 May 2003 16:48:52 -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 3344 invoked from network); 31 May 2003 16:48:52 -0000 Date: Sat, 31 May 2003 18:48:48 +0200 From: Spider To: gentoo-dev Cc: redhog@redhog.org Message-Id: <20030531184848.47b0d0ac.spider@gentoo.org> In-Reply-To: <200305311717.28515.svyatogor@gentoo.org> References: <20030530170936.782fa567.spider@gentoo.org> <200305311717.28515.svyatogor@gentoo.org> Organization: Chaotic X-Mailer: Sylpheed version 0.9.0 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="=.R'9coe2yr4_VK0" Subject: Re: Fw: [gentoo-dev] [PROPOSAL] Menu system for all gentoo wm's. X-Archives-Salt: d21ca150-0af3-4bc6-b834-ab8a3f2852c1 X-Archives-Hash: 9f5734ad44a141f2279f71cde3ac90db --=.R'9coe2yr4_VK0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit CC'ing him here, he promised me the sourcecode . //Spider begin quote On Sat, 31 May 2003 17:17:28 +0000 Svyatogor wrote: > 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 > -- begin .signature This is a .signature virus! Please copy me into your .signature! See Microsoft KB Article Q265230 for more information. end --=.R'9coe2yr4_VK0 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+2NzyZS9CZTi033kRAnUaAJ99ORNo8JDIcPQCDg0HaZOCfKVqigCffiVy X336/hkAGQTZ+IpmoNf/G/A= =zZ06 -----END PGP SIGNATURE----- --=.R'9coe2yr4_VK0--