Add AppStream metadata#246
Conversation
|
Is this something that only makes sense to install on Linux based systems? Should it be disabled on non-Linux? |
|
I don't have strong opinions about this. I honestly doubt that potential sunxi-tools users will need something like this to find out they can use it based on hardware detection. At the same time it is a FDO spec and it looks like we won't really need to update it unless we add a new binary so it probably doesn't hurt to include it. |
|
Disclaimer: I know next to nothing about this AppStream stuff, I'm (belatedly) forwarding a patch which was supplied to me as the Debian package maintainer.
AIUI FDO specs are generally cross platform, at least cross-Unix platform. I don't know if anything on e.g. the *BSD's exists which consumes this but I guess it's at least theoretically possible.
FWIW the patch was supplied by one of the authors of Isenkram "Suggest packages to install when inserting new hardware (GUI popup)". I think possibly things like the GNOME and KDE software centers might also support it? But in general I share your doubt, but also:
Seems about right to me. I'm not really sure that the list of the binaries is the most important bit, once there is a match on the USB device (the |
I guess probably no harm adding it since it's a separate install target. |
|
I don't mind having that, if it helps some people, then why not, doesn't seem to hurt. Just would be good to have someone with experience to have a look at the XML file. If no one shows up within a few days, I would just merge it anyway - since it seems to make @ijc's life easier ;-) |
Sounds like a plan! |
apritzel
left a comment
There was a problem hiding this comment.
I have no real clue about AppStream, but found those issues when skimming over the XML file.
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html This was provided by Petter Reinholdtsen in https://bugs.debian.org/1076627 and has been included in the Debian packages for a couple of years. In that bug the usefulness is described as: > 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. Signed-off-by: Ian Campbell <ijc@debian.org>
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html
This was provided by Petter Reinholdtsen in https://bugs.debian.org/1076627 and has been included in the Debian packages for a couple of years. In that bug the usefulness is described as:
Unsure why I didn't forward this at the time...