Package: firmware-zd1211
Version: 1:1.5-12
Tags: patch
User: [email protected]
Usertags: appstream-modalias

It seem like the fix I provided in
<URL: https://bugs.debian.org/1076573 > had a few defects that is
reported by the AppStream parser:

  % appstreamcli validate-tree debian/firmware-zd1211
  net.sourceforge.projects.zd1211.metainfo.xml
    I: net.sourceforge.projects.zd1211:6: summary-first-word-not-capitalized
    E: net.sourceforge.projects.zd1211:~: desktop-app-launchable-missing
    I: net.sourceforge.projects.zd1211:~: content-rating-missing

  ✘ Validation failed: errors: 1, infos: 2, pedantic: 2
  %

The following patch solve all of these.  With the patch in place:

  % appstreamcli validate-tree debian/firmware-zd1211


  ✔ Validation was successful: pedantic: 1
  %

Please include in a unstable upload, as the error from the parser cause
the information to not make it into the AppStream database.

diff --git a/debian/patches/1000-appstream-metainfo.patch 
b/debian/patches/1000-appstream-metainfo.patch
index 9d465e5..c123a7e 100644
--- a/debian/patches/1000-appstream-metainfo.patch
+++ b/debian/patches/1000-appstream-metainfo.patch
@@ -3,7 +3,7 @@ Description: Added AppStream metainfo XML with hardware provide 
info.
  hardware is present.
 Author: Petter Reinholdtsen
 Forwarded: no
-Last-Update: 2024-07-19
+Last-Update: 2025-01-20
 ---
 Index: zd1211-firmware-salsa/net.sourceforge.projects.zd1211.metainfo.xml
 ===================================================================
@@ -11,11 +11,11 @@ Index: 
zd1211-firmware-salsa/net.sourceforge.projects.zd1211.metainfo.xml
 +++ zd1211-firmware-salsa/net.sourceforge.projects.zd1211.metainfo.xml 
2024-07-19 09:27:02.050588922 +0200
 @@ -0,0 +1,79 @@
 +<?xml version="1.0" encoding="UTF-8"?>
-+<component type="desktop">
++<component>
 +  <id>net.sourceforge.projects.zd1211</id>
 +  <metadata_license>MIT</metadata_license>
 +  <name>firmware-zd1211</name>
-+  <summary>binary firmware for the zd1211rw wireless driver</summary>
++  <summary>Binary firmware for the zd1211rw wireless driver</summary>
 +  <description>
 +    <p>Provide the firmware to be used with the zd1211rw Linux kernel
 +    driver for USB wireless dongles based on the following

-- 
Happy hacking
Petter Reinholdtsen

Reply via email to