Package: uuu
Version: 1.5.141-1
Tags:    patch

Here is a patch for mfgtools to add Appstream metainfo XML announcing
the hardware handled by this package.

Including this information in the package will ensure programs mapping
hardware to packages using Appstream information, like the isenkram
package, will know that this package is useful on machines where the USB
IDs are discovered.

diff --git a/debian/copyright b/debian/copyright
index 5911c26..8003583 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -14,6 +14,29 @@ Files: debian/*
 Copyright: 2020 Henry-Nicolas Tourneur <deb...@nilux.be>
 License: BSD-3-clause
 
+Files: debian/uuu.metainfo.xml
+Copyright: 2024 Petter Reinholdtsen
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
+
 License: BSD-3-clause
  Redistribution and use in source and binary forms, with or without 
modification,
  are permitted provided that the following conditions are met:
diff --git a/debian/uuu.install b/debian/uuu.install
new file mode 100644
index 0000000..c4e0bfd
--- /dev/null
+++ b/debian/uuu.install
@@ -0,0 +1 @@
+debian/uuu.metainfo.xml usr/share/metainfo
diff --git a/debian/uuu.metainfo.xml b/debian/uuu.metainfo.xml
new file mode 100644
index 0000000..5da0baf
--- /dev/null
+++ b/debian/uuu.metainfo.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component>
+  <id>com.github.NXPmicro.mfgtools</id>
+  <metadata_license>MIT</metadata_license>
+  <name>mfgtools</name>
+  <summary>Freescale/NXP I.MX Chip image deploy tools</summary>
+  <description>
+    <p>Universal update utility for I.MX CPUs. It can be used to
+    e.g. burn uboot or a rootfs into the emmc.</p>
+  </description>
+  <provides>
+    <modalias>usb:v1FC9p012Fd*</modalias>
+    <modalias>usb:v1FC9p0129d*</modalias>
+    <modalias>usb:v1FC9p0147d*</modalias>
+    <modalias>usb:v15A2p004Fd*</modalias>
+    <modalias>usb:v1FC9p013Ed*</modalias>
+    <modalias>usb:v1FC9p0146d*</modalias>
+    <modalias>usb:v1FC9p014Ad*</modalias>
+    <modalias>usb:v1FC9p014Bd*</modalias>
+    <modalias>usb:v1FC9p014Ed*</modalias>
+    <modalias>usb:v1FC9p015Dd*</modalias>
+    <modalias>usb:v15A2p0076d*</modalias>
+    <modalias>usb:v15A2p0054d*</modalias>
+    <modalias>usb:v15A2p0061d*</modalias>
+    <modalias>usb:v15A2p0063d*</modalias>
+    <modalias>usb:v15A2p0071d*</modalias>
+    <modalias>usb:v15A2p007Dd*</modalias>
+    <modalias>usb:v15A2p0080d*</modalias>
+    <modalias>usb:v1FC9p0128d*</modalias>
+    <modalias>usb:v1FC9p0126d*</modalias>
+    <modalias>usb:v1FC9p0135d*</modalias>
+    <modalias>usb:v1FC9p0134d*</modalias>
+    <modalias>usb:v1FC9p012Bd*</modalias>
+    <modalias>usb:v0525pB4A4d*</modalias>
+    <modalias>usb:v0525pB4A4d*</modalias>
+    <modalias>usb:v1FC9p0151d*</modalias>
+    <modalias>usb:v0525pB4A4d*</modalias>
+    <modalias>usb:v3016p1001d*</modalias>
+    <modalias>usb:v3016p1001d*</modalias>
+    <modalias>usb:v066Fp9AFEd*</modalias>
+    <modalias>usb:v066Fp9BFFd*</modalias>
+    <modalias>usb:v1FC9p0153d*</modalias>
+    <modalias>usb:v0525pA4A5d*</modalias>
+    <modalias>usb:v18D1p0D02d*</modalias>
+    <modalias>usb:v3016p0001d*</modalias>
+    <modalias>usb:v1FC9p0152d*</modalias>
+    <modalias>usb:v0483p0AFBd*</modalias>
+  </provides>
+</component>

-- 
Happy hacking
Petter Reinholdtsen

Reply via email to