#1147571 dh-appstream: Generates wrong <font> in metainfo

#1147571#5
Date:
2026-09-13 06:41:18 UTC
From:
To:
The metainfo for fonts generated by dh-appstream generates <font> only with
the family name.

$ grep '<font>' /usr/share/metainfo/org.debian.fonts.fonts-havana.metainfo.xml
    <font>Havana</font>
$

But according to the AppStream metainfo spec, it should contain the full font name,
including the style.

https://www.freedesktop.org/software/appstream/docs/sect-Metadata-Fonts.html#tag-font-provides

#1147571#12
Date:
2026-09-15 06:48:46 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
dh-appstream, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1147571@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Germann <bage@debian.org> (supplier of updated dh-appstream package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 15 Sep 2026 08:20:15 +0200
Source: dh-appstream
Architecture: source
Version: 0.2
Distribution: unstable
Urgency: medium
Maintainer: Debian Commons <dh-appstream@packages.debian.org>
Changed-By: Bastian Germann <bage@debian.org>
Closes: 1147571
Changes:
 dh-appstream (0.2) unstable; urgency=medium
 .
   * Generate font provides based on fullname (Closes: #1147571)
Checksums-Sha1:
 4e7be23bcf0645c09a5c5877059420f0f996973a 1378 dh-appstream_0.2.dsc
 3c2ed2e5d61ca7f610afde9407cb0c10a51cbb9e 9016 dh-appstream_0.2.tar.xz
 db370b35860d746e63cc2c8a52a967d57f602d8d 4999 dh-appstream_0.2_source.buildinfo
Checksums-Sha256:
 fc04759fb937fd80afb7cb5ee2f59d0d8ea5756a977182eb90cb249a970ad7f7 1378 dh-appstream_0.2.dsc
 dd9b4c3f57de61eee60974dfdbf462546b03f79fc9a5307d85f10dc1c2d65ca1 9016 dh-appstream_0.2.tar.xz
 8dd5acb809efdac8fcf58f474159611e235303eefed3573a02f355500e0d7ddd 4999 dh-appstream_0.2_source.buildinfo
Files:
 2533ddbf19a89035521879e5a4cbc43f 1378 text optional dh-appstream_0.2.dsc
 1dd6c6c4f43d4dfc7a0dff0a86cba352 9016 text optional dh-appstream_0.2.tar.xz
 95400cb2cca48167cdb2c22860ce460b 4999 text optional dh-appstream_0.2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmqo4/EQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFNJsC/9qDJfUNHTKb4qD9Bq1I26D6hdTqdCjSmSC
35bDcUJcWwvS7w4btZJqPfSMG1AqiCA/wxo1bWhR+LcOAjWIEoQji9Px56qNPbQJ
QkKeydG5PRfpYLy5f9p/541o3cIq/u07IiHCwhUFVIeoPip9yjbj8HqXzapMDpcv
Jo1bX1qpt1c7pKpzcJIlcpvYwIok5nz8b70J/rX1ZZgyiyGMQiDmdV9Nq4Zz70Oy
RMAhVeYQBdmzmt74jdrQrbViomW15soUUYwdQFtWxqLD0LMV/ti7u1A6Z5e8nsZg
JDwOBSAuL7P6bq9bEh5HKfBYjXyCXu0v+ARkEvYGe1Ce/9pP9pEPzcZgI0cFYnUl
FRBxzByIEknvQj3T4LAG+NwIfL/asBSond4w1/SgmN3AeNNGJKEJQwhhtNzRAXc1
v7AaP9Mwy8J5IeX7TcouIZchbmJupZXqZ4taMIdFCxtRFprEB1ZQKqfOkMTdZE3y
AS0lWpKLwjWTBrqnBSac2yernA1sS+s=
=Xcwy
-----END PGP SIGNATURE-----