Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Dec 26, 2018

Conversation

City-busz
Copy link
Contributor

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:

  • Add NoDisplay=true property.
  • Move out the file from /usr/share/applications directory.

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

This makes appstream-generator to ignore this desktop entry.
@hbons hbons merged commit c0ed43f into hbons:master Dec 26, 2018
@hbons
Copy link
Owner

hbons commented Dec 26, 2018

Thanks once more. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants