improving the appstream metadata

kendell clark coffeekingms at gmail.com
Thu Jul 9 23:47:17 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

hi all
I'd like to help improve two key areas of fedora and by extension,
gnome. They both have to do with appstream, which is, I think, what
gnome software uses to display metadata about a package, license,
description, etc. The first is the data itself. Some packages are
missing the metadata. The second has to do with handling of unknown
mime types. Whenever the system comes up with a file type it can't
handle it opens up gnome software to install something that can handle
that type. Usually this results in a generic "unfortunately, we
couldn't find anything to handle this type" message. I'd like to fix
this. I'm just not sure how this works. Looking in my appstream data
in /usr/share/appdata, I see that some applications have two files.
applicationName.appdata.xml, which is the metadata, license,
description, etc. And appName.metainfo.xml, which looks like what I'm
looking for. Would it be at all possible to parse the .desktop file
for  applications and extract the mime type data from there? This
would improve the accuracy significantly since most desktop files say
what mime types they can handle. We could then use the data to
generate either an appstream file or a metainfo file. This might not
need much work, all it would need would be changes to
appstream-builder and possibly either an extension to the freedesktop
desktop file standard or adding extra tags, something like
x-license="license"  and x-description="description". Sorry if I'm
getting a little technical. I'm also trying to figure out how gnome
software finds applications when typed into the search field. Most of
the time, typing in an application name results in a "no application
found" message, even though that app is indeed available. Is this
related to the appstream data again? Or is there something else? A
good example is orca, the screen reader. Type orca into gnome software
and you'll get an error message. I hope this isn't the wrong place to
write this, but it was the only one I could think of.
Thanks for reading
Kendell clark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJVnwgBAAoJEGYgJ5/kqBTdrUoP/21D7NXbfFrURqP653iCnT/1
fVyneOycksS5XkORPTrLuXRjv9H6dXrx7Kxi1yRusgsip4tqoCnYbTjqkii4/Z65
pGVKvA/xt0FmLPRuY8rul8+JgIVwFkJ52VtnLKnRp5wf8qfVHu9OfyED4zZCbqI2
wdtPK6HtAv0R/21eOrMOmY2QUAFid8DR0mk05au25q9STnTEAHlvqgElxIQcVds9
kYtauicDf8Vknle4xuALVZwYHtHbBXFTsmSn5bx5VUDditaRtTpo8/lYI1V7sZ0g
4ihnvJSUNr/M0Rwh1usNXcK9cs740Z/kChrxFBTuZIoeOJ5A5SRW/DjHvMaz+RUP
vQYzIDf71Fq0EAQFBE4eAze7NZGI6TBx1T32p4igFT8C1OMSbF1Zes+8wGu717p6
xOynciLKpN+ZQD2RZpHrH+4eTHZI21dEQ0e4PSw2MoT6sJx8FGpBiyVR0uxDHdR1
lXbG2Cjy821kVEuAGYvu1FAahA0QWuqFKYVVnnXFej0sImNeanfs4twEUD+ewfN/
RT2UUS5rHaT4fO5fPvrhpOuqL/UmSgjhJy7bv62vBN2IR0KfxXgNEWEN/K9h0X6P
wo19717LFk62+EaCtqIp9vj4xT6ObDXzr8kyCGRWDDXR7fCchR8+jlZBTNSO0x9c
xFaC+ksTAIltY5RVwO5R
=8eEK
-----END PGP SIGNATURE-----


More information about the desktop mailing list