`appstream-builder` failing to generate appstream data with default installation paths
In Solus i noticed that appstream-builder
is failing to generate appstream data for this package with the default installation paths. This will likely affect other distributions using appstream-builder as well e.g. Fedora, RHEL.
It gives the following reason:
<vetos>
<veto>Has no Icon</veto>
</vetos>
This is likely due to the icon path (e.g. /usr/share/icons/hicolor/16x16/apps/akregator.png) not matching the id (org.kde.akregator.desktop)
I recommend changing the appstream id to <id>org.kde.akregator</id>
, provide a launchable desktop-id type <launchable type="desktop-id">org.kde.akregator.desktop</launchable>
and rename the installed icons to org.kde.akregator.png (e.g. /usr/share/icons/hicolor/16x16/apps/org.kde.akregator.png). This should be enough for appstream-builder to match up the appstream xml file to the .desktop and icon files.