hbons / SparkleShare

Share and collaborate by syncing with any Git repository instantly. Linux, macOS, and Windows.
https://sparkleshare.org
Other
4.88k stars 579 forks source link

Add X-AppStream-Ignore property to autostart file #1884

Closed City-busz closed 5 years ago

City-busz commented 5 years ago

This makes appstream-generator to ignore this desktop entry. Since this enty does not specify an individual application, it should be omitted from processing into the AppStream database.

Without this line, appstream-generator tries to process this file, and shows the following error:

SparkleShare.Autostart.desktop
Errors

metainfo-no-summary
Component does not contain a short summary. Ensure that the components metainfo file has a summary tag, or that its .desktop file has a Comment= field set.
More information can be found in the Desktop Entry specification and the MetaInfo specification.

Other ways to avoid this error:

See also: https://github.com/ximion/appstream-generator/blob/78bfe323a272c6c099d7fba90aaa769a6e758124/src/asgen/handlers/desktopparser.d#L122

hbons commented 5 years ago

Thanks once more. :)