Package: libgphoto2-6t64
Version: 2.5.28-2
Tags: patch
User: p...@hungry.com
Usertags: appstream-modalias
X-Debbugs-CC: Matthias Klumpp <m...@debian.org>

The Appstream metadata XML content do not show up in the Appstream
database for Debian Unstable.  I am not sure why.  According to
<URL: https://appstream.debian.org/sid/main/issues/libgphoto2-6t64.html >,
there is a duplicate ID error and a missing homepage warning.  I do not
understand the duplicate ID issue, as the old package seem to be removed
from unstable, but guess the missing homepage warning can be easily
fixed using the following patch.

The appstream metadata file can be checked using this command after
package build:

  appstreamcli validate-tree  --no-net --explain debian/libgphoto2-6t64

CC to the appstream maintainer, in case Matthias got a clue why the XML
is not accepted.

diff --git a/debian/libgphoto2.metainfo.xml b/debian/libgphoto2.metainfo.xml
index 8483802c1..fdd7fcd12 100644
--- a/debian/libgphoto2.metainfo.xml
+++ b/debian/libgphoto2.metainfo.xml
@@ -11,6 +11,7 @@
     and PTP, or vendor-specific protocols.
     </p>
   </description>
+  <url type="homepage">https://github.com/gphoto/libgphoto2/</url>
   <provides>
     <modalias>usb:v1908p1320d*</modalias>
     <modalias>usb:v1908p1320d*</modalias>

-- 
Happy hacking
Petter Reinholdtsen

Reply via email to