Package: heimdall-flash Version: 2.0.2-2 Tags: patch User: p...@hungry.com Usertags: appstream-modalias
Here is a patch 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/heimdall-flash-frontend.install b/debian/heimdall-flash-frontend.install index 13267ab..da64cda 100644 --- a/debian/heimdall-flash-frontend.install +++ b/debian/heimdall-flash-frontend.install @@ -1 +1,2 @@ usr/bin/heimdall-frontend /usr/bin/ +ht.sr.git.grimler.Heimdall.metadata.xml /usr/share/metainfo diff --git a/debian/patches/1000-appstream-metainfo.patch b/debian/patches/1000-appstream-metainfo.patch new file mode 100644 index 0000000..6d42d99 --- /dev/null +++ b/debian/patches/1000-appstream-metainfo.patch @@ -0,0 +1,49 @@ +Description: <short summary of the patch> + TODO: Put a short summary on the line above and replace this paragraph + with a longer explanation of this change. Complete the meta-information + with other relevant fields (see below for details). To make it easier, the + information below has been extracted from the changelog. Adjust it or drop + it. + . + heimdall-flash (2.0.2-2.1) UNRELEASED; urgency=medium + . + * Drop myself from Uploaders. +Author: Nicholas D Steeves <s...@debian.org> + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>) +Bug: <upstream-bugtracker-url> +Bug-Debian: https://bugs.debian.org/<bugnumber> +Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber> +Forwarded: (no|not-needed|<patch-forwarded-url>) +Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>) +Reviewed-By: <name and email of someone who approved/reviewed the patch> +Last-Update: 2024-07-14 + +Index: heimdall-flash-salsa/ht.sr.git.grimler.Heimdall.metadata.xml +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ heimdall-flash-salsa/ht.sr.git.grimler.Heimdall.metadata.xml 2024-07-14 22:06:16.008127804 +0200 +@@ -0,0 +1,18 @@ ++<?xml version="1.0" encoding="UTF-8"?> ++<component> ++ <id>ht.sr.git.grimler.heimdal</id> ++ <metadata_license>MIT</metadata_license> ++ <name>heimdall-flash-frontend</name> ++ <summary>tool for flashing firmware on Samsung Galaxy S devices - Qt GUI</summary> ++ <description> ++ <p>Heimdall is a tool for flashing firmware (aka ROMs) onto ++ Samsung Galaxy S devices over a USB connection. It accomplishes ++ this using the same protocol as Odin, Samsung's internal ++ Windows-only firmware updater.</p> ++ </description> ++ <provides> ++ <modalias>usb:v04E8p6601d*</modalias> ++ <modalias>usb:v04E8p685Dd*</modalias> ++ <modalias>usb:v04E8p68C3d*</modalias> ++ </provides> ++</component> diff --git a/debian/patches/series b/debian/patches/series index 41bc53d..e38c527 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ 0001-Force-type-of-linux-OS-be-unbuntu-like.patch +1000-appstream-metainfo.patch I will also take the liberty to commit this patch to the git repository on salsa as soon as I know the BTS report number for this request. -- Happy hacking Petter Reinholdtsen