You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 10, 2024. It is now read-only.
This causes problems. The point of Appstream IDs is for each app has a unique one, but for it to be the same for that app across all distribution channels. If the same app has different Appstream IDs in different distribution channels, then it'll 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:
The top one is the Flathub version, the bottom one is provided by my distro's packages.
If you unify the AppStream IDs (ideally standardizing on a reverse-DNS style such as io.github.Hexchat), then Discover and GNOME Software (and similar apps) can perform de-duplication correctly, marking both as the same app and offering the user the choice of which version they want to install.
Note: once you change the AppStream ID, 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."io.github.Hexchat.desktop")
Add the following line to hexchat.appdata.xml.in: <launchable type="desktop-id">hexchat.desktop</launchable>
HexChat's Appstream ID on Flathub is
io.github.Hexchat
(https://github.com/flathub/io.github.Hexchat/blob/master/io.github.Hexchat.json#L2)But HexChat's Appstream file uses a different Appstream ID:
hexchat.desktop
(https://github.com/hexchat/hexchat/blob/master/data/misc/hexchat.appdata.xml.in#L3)This causes problems. The point of Appstream IDs is for each app has a unique one, but for it to be the same for that app across all distribution channels. If the same app has different Appstream IDs in different distribution channels, then it'll 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:
The top one is the Flathub version, the bottom one is provided by my distro's packages.
If you unify the AppStream IDs (ideally standardizing on a reverse-DNS style such as
io.github.Hexchat
), then Discover and GNOME Software (and similar apps) can perform de-duplication correctly, marking both as the same app and offering the user the choice of which version they want to install.Note: once you change the AppStream ID, you will need to do one of the following to retain the connection between the AppStream data and the desktop file:
<launchable type="desktop-id">hexchat.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]
The text was updated successfully, but these errors were encountered: