[Pkg-privacy-maintainers] Bug#1106145: AppStream metadata still missing for pidgin-otr because of a typo

asciiwolf at seznam.cz asciiwolf at seznam.cz
Tue May 20 11:14:38 BST 2025


Package: pidgin-otr
Version: 4.0.2-4




Even though the AppStream metainfo file was added, the AppStream metadata 
are still missing (incorrect):

https://appstream.debian.org/sid/main/metainfo/pidgin-otr.html
https://appstream.debian.org/sid/main/issues/pidgin-otr.html

And the OTR Add-on is not available on the Pidgin page in GNOME Software / 
KDE Discover.

The file looks correct and validates fine using appstreamcli, except for the
broken bugtracker url (but that should not be a problem):

$ appstreamcli validate ca.cypherpunks.otr.pidgin_otr.metainfo.xml
W: ca.cypherpunks.otr.pidgin_otr:31: url-not-reachable
     https://bugs.otr.im/projects/pidgin-otr - Failed to download file: 
Failed to connect to
     bugs.otr.im port 443 after 3143 ms: Could not connect to server

✘ Validation failed: warnings: 1

However, the second validator gives a more clear clue:

$ appstream-util validate ca.cypherpunks.otr.pidgin_otr.metainfo.xml
ca.cypherpunks.otr.pidgin_otr.metainfo.xml: FAILED:
• tag-missing           : <extends> is not present
Validation of files failed

And when looking at the official spec, the problem can be seen:

https://freedesktop.org/software/appstream/docs/sect-Metadata-Addon.html

The "<extends>" tag should directly contain the original app id instead of 
it being nested in the "<id>" tags as it is with the pidgin-otr metadata.

In other words, the extends tag section should be changed to:

<extends>im.pidgin.Pidgin</extends>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-privacy-maintainers/attachments/20250520/10da3b27/attachment.htm>


More information about the Pkg-privacy-maintainers mailing list