← Back to team overview

ubuntu-phone team mailing list archive

Re: Desktop file parsing - lets standardize

 

On 11/12/2013 08:56 AM, Gerry Boland wrote:
> Hi folks,
> Ryan Lortie and Lars Ubernickel were at this years FreeDesktop Summit
> [1]. One thing they've mentioned to me is the fact that it was decided
> to have a binary cache of desktop files, to improve access and searching
> of that data.
> 
> This reminded me that our desktop file parsing situation is a bit of a
> mess. Right now we have multiple approaches:
> - unity (Qt) launcher uses QSettings ini file parser [should be standard
> compliant]
> - unity-mir/qtubuntu (Qt) has it's own super-basic parser, which needs
> to be replaced
> - upstart-app-launch (bash/C) has a tiny C util to read the "Exec"
> strong from a desktop file
> - click lenses (Vala) use GLib.KeyFile, another ini file parser
> [standard compliant]
> and there's probably more. Since we use many GTK-based tools,
> GDesktopAppInfo is often used too.
> 

One more that is in the archive is python[3]-xdg. rdepends show these are used
by quite a few applications. Not sure how it ties in with caching, but thought
I'd mention it...

-- 
Jamie Strandboge                 http://www.ubuntu.com/

Attachment: signature.asc
Description: OpenPGP digital signature


References