On Thu, Jan 30, 2014 at 01:56:24PM +0000, Dominique Leuenberger a.k.a. Dimstar wrote:
Careful not to confuse appdata and appstream data... appdata is the file you find in /usr/share/appdata (one per application) and appstream is the collection... which is sadly enough distributed / expected to be called appdata.xml.gz (yeah... very confusing).
My point was more that the brp-72-extract-appdata script does not look at /usr/share/appdata, but checks /usr/share/applications, which is completely wrong.
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.
zypp should especially put the appdata.xml.gz into /var/cache/appdata (IIRC.. will have to validate) and extract the corresponding icons.tar.gz in the right location.. that's how gnome-software could make use of them; and preferably, they are updated based on the repo metadata.
Yeah, I know. (I still believe that it's bad design, though, it should instead ask packagekit about the data.) 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