[PATCH] AppStream IDs differ between appdata.xml file and Flatpak metadata

Bug #1739713 reported by Nate Graham
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned

Bug Description

Inkscape's Appstream ID on Flathub is "org.inkscape.Inkscape" (https://github.com/flathub/org.inkscape.Inkscape/blob/master/org.inkscape.Inkscape.json#L2)

But Inkscape's appdata.xml file uses a different AppStream ID: "inkscape.desktop" (https://gitlab.com/inkscape/inkscape/blob/master/inkscape.appdata.xml.in#L4)

This causes problems. The point of Appstream IDs is that each app has a unique one; if the same app has different Appstream IDs in different distribution channels, then they'll confusingly show up as different apps in clients that can display content from multiple sources, such as GNOME Software Center and KDE Discover. Here's what it looks like in KDE Discover, for example: https://i.imgur.com/Fh6mNP2.png

I've attached a naive and trivial patch.

Revision history for this message
Nate Graham (pointedstick) wrote :
Revision history for this message
Nate Graham (pointedstick) wrote :

Note: in addition to the patch, you will need to do one of the following to retain the connection between the AppStream data and the desktop file:
- Rename the desktop file to match the AppStream ID (i.e."org.inkscape.Inkscape.desktop")
- Add the following line to inkscape.appdata.xml.in: "<launchable type="desktop-id">inkscape.desktop</launchable>"

Relevant section of the AppStream spec: https://www.freedesktop.org/software/appstream/docs/sect-Metadata-Application.html

[note: not an AppStream expert, take this with a grain of salt, etc]

Revision history for this message
Nate Graham (pointedstick) wrote :

Since this repo seems dead-ish, I've submitted it upstream: https://gitlab.com/inkscape/inkscape/merge_requests/218

Changed in inkscape:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.