On Thu, Jan 30, 2014 at 01:42:15PM +0000, Dominique Leuenberger a.k.a. Dimstar wrote:
A good starting point would be to look at (and improve) brp-extract-appdata package in openSUSE (which is used to do some extracting).
in openSUSE 13.1 we provide a gnome-software-appdata which collects all *.appdata from all packages (there is also an appdata.xml.gz published, but not used by zypper).
(It unfortunatelly collects from the wrong directory, so the data is not useful at all...)
So in short: OBS does the right things on openSUSE for example.. what we're missing is that zypper copies the appdata.xml.gz (and related icons!) to the right cache location (a zypp plugin is missing for that).
Btw: Factory's libzypp already parses the appdata.xml.gz file. Dunno if 'zypper se -t application' already works, though. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org