8000 CMake: Ensure .desktop file installed location matches the metainfo by joebonrichie · Pull Request #205 · flacon/flacon · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@joebonrichie
Copy link

misc/com.github.Flacon.metainfo.xml.in defines the tag as:

<launchable type="desktop-id">com.github.Flacon.desktop</launchable>

If the installed location and the desktop-id don't match then appstream-builder is unable to find an icon for the project, causing the appstream generation to fail.

Fixes appstream generation on Solus and probably other distros.

Test case:

file flacon-7.0.1-12-1-x86_64.eopkg
appstream-builder --packages-dir=. --include-failed

Verify that flacon no longer shows up in the example-failed.xml.gz file.

`misc/com.github.Flacon.metainfo.xml.in` defines the <launchable> tag as:

`<launchable type="desktop-id">com.github.Flacon.desktop</launchable>`

If the installed location and the desktop-id don't match then appstream-builder
is unable to find an icon for the project, causing the appstream generation to fail.

Fixes appstream generation on Solus and probably other distros.

Test case:

`file flacon-7.0.1-12-1-x86_64.eopkg`
`appstream-builder --packages-dir=. --include-failed`

Verify that flacon no longer shows up in the `example-failed.xml.gz` file.
@joebonrichie joebonrichie marked this pull request as draft June 8, 2023 14:57
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.

1 participant

0