-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jose O Gonzalez Sent: Friday, December 16, 2005 12:21 PM To: [email protected] Subject: SPAM-LOW: Re: [E-devel] Is there a library within E to parse .desktop type files?
On Thu, 15 Dec 2005 11:25:36 +0900 Carsten writes: >> On Thu, 15 Dec 2005 10:14:41 +0800 Phuah Yee Keat >> <[EMAIL PROTECTED]> babbled: >> >> > Hi, >> > >> > I have checked the way KDM does autodetection of the sessions that >> are >> > available on the system, it uses its own set of ".desktop" files >> (which >> > we can just copy), and check to see if the executables are in the >> system. >> > >> > I have did a quick check on the e_libs, but sees no library to >> parse >> > .desktop files, does Enlightenment need to parse these .desktop >> files to >> > be compliant with freedesktop? >> >> no - there's no lib/code to do it in cvs - but e17genmenu is an >> importer. it >> imports fd.o menus. fd.o menu configs are a pita to deal with. a >> REAL PAIN. ask >> devilhorns. parsing a .desktop file isnt so hard though - unlike the >> xml mess >> that is the menu spec. > > Better XML support by efls is something that should really >be looked into.. For better or worse, this is something that is >quickly becoming a 'must' for many things.. (and I would bet that >if the edje 'edc' file format were in XML, one would see a lot >more attention to this nice tool that Carsten created). > > jose. EXML was cool, but I think its not receiving any love recently. I used it sometime back and wrote a small tutorial on it viz a viz libxml2 for small purposes. I guess we just need to put it back on track (hey....don't look at me :) ) As for edc's being in XML format... I have one response.... *ugh*. XML is unnecessarily verbose for the kind of thing edje is trying to accomplish *IMOHO*, though, if someone wanted to write an edcML parser that allows one to work in XML and spit out edcs, it will definitely suite the purpose you're alluding to (I guess anyone that needs it badly will start writing it). Personally, I prefer as *plain text* replacement when doing Data Interchange b/w systems (config files are ok too, just make the XML simple), but that's just me. Essien ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
