Kid3 listed twice on the KDE apps page

Urs Fleisch urs.fleisch at gmail.com
Tue Aug 6 15:57:54 BST 2024


Hi Ben,

I tried to solve the issue in the following way:

The name (and all translated names) of kid3-qt is now "Kid3-qt" and no
longer "Kid3" as the KDE app. So there are no longer double entries. I also
added a paragraph to explain the differences between kid3 and kid3-qt.

I mentioned that the kid3-qt link to Discover did not work because the part
of the id was kid3_qt instead of kid3-qt because otherwise appstreamcli
complains about the hyphen. So I thought "let it complain, I go back to the
hyphen", but then the CI will fail, the information about the hyphen has
become a warning in later versions of appstreamcli. So I used the latest
version (via flatpak run org.freedesktop.appstream.cli) and read the
documentation:

https://www.freedesktop.org/software/appstream/docs/chap-Validation.html:
The section about cid-rdns-contains-hyphen says that "hyphens are only
allowed in the last segment of a component ID". And the Appstream Metadata
Quickstart docs (
https://freedesktop.org/software/appstream/docs/chap-Quickstart.html#qsr-app-contents)
say about the "id" that "if your application's .desktop file is named
org.example.FooBar.desktop, a good component-id would be
org.example.FooBar.". So I followed this advice and removed the .desktop
suffix from the id leaving the ids for the two Kid3 packages as
"org.kde.kid3" and "org.kde.kid3-qt". The hyphen is now in the "last
segment" and passes the appstream validation. Problem solved.

But I rejoiced too soon (but I was not really surprised since most KDE
applications seem to use ids ending with ".desktop", so I expected removing
it would mean trouble)! Now neither the Discover links for kid3 nor for
kid3-qt work, which actually makes it worse than before. It seems that
following the guidelines and stripping the ".desktop" from the id leads to
invalid links. Or do I have to add something? The docs
https://freedesktop.org/software/appstream/docs/chap-Metadata.html mention
a <replaces><id>OLDID</id></replaces> tag which should be added when an id
is renamed. Would that help or what would you suggest?

Best regards,
Urs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-www/attachments/20240806/31013166/attachment.htm>


More information about the kde-www mailing list