Discussion:
Bug#838350: cheese: Please announce supported hardware using AppStream
Add Reply
Petter Reinholdtsen
2016-09-20 08:30:01 UTC
Reply
Permalink
Package: cheese
Version: 3.21.92-1
Severity: wishlist
User: ***@hungry.com
Usertags: appstream-modalias

Hi.

The cheese package is one of the packages in the Debian archive that
should be proposed for installation when a given hardware dongle is
inserted or available. Thanks to the appstream system, this can now be
announced in a way other tools can use and act on. I've written the
isenkram system to ask the current user if hardware specific packages
should be installed when a new dongle is installed or already present on
a machine, and isenkram now uses appstream as one source for hardware to
package mappings.

You can read more about this on my blog,
<URL: http://people.skolelinux.org/pere/blog/Using_appstream_with_isenkram_to_install_hardware_related_packages_in_Debian.html >.

Instructions on how to create the metadata XML file can be found in
<URL: https://wiki.debian.org/AppStream/Guidelines >.

It would be great if you could add an appstream metainfo file to the
cheese package, with content similar to this:

<?xml version="1.0" encoding="UTF-8"?>
<component>
[...]
<provides>
<modalias>usb:v*p*d*dc*dsc*dp*ic0Eisc01ip*</modalias>
<modalias>lkmodule:videodev</modalias>
</provides>
</component>

The idea is to map cheese to all USB video cameras and everything
working with V4L2. If there are other hardware ids also supported by
the package, please add those too. :)
--
Happy hacking
Petter Reinholdtsen
Petter Reinholdtsen
2024-07-14 10:10:01 UTC
Reply
Permalink
Control: tags -1 + patch

Here is an untested patch against the current git repo on salsa to
implement the change:

diff --git a/data/org.gnome.Cheese.appdata.xml.in b/data/org.gnome.Cheese.appdata.xml.in
index ce1e31c2..2edb6edd 100644
--- a/data/org.gnome.Cheese.appdata.xml.in
+++ b/data/org.gnome.Cheese.appdata.xml.in
@@ -61,4 +61,8 @@
<url>https://gitlab.gnome.org/GNOME/cheese/raw/3.38.0/NEWS</url>
</release>
</releases>
+ <provides>
+ <modalias>usb:v*p*d*dc*dsc*dp*ic0Eisc01ip*</modalias>
+ <modalias>lkmodule:videodev</modalias>
+ </provides>
</component>
--
Happy hacking
Petter Reinholdtsen
Petter Reinholdtsen
2025-01-21 09:20:01 UTC
Reply
Permalink
Is there anything I can to do help get this AppStream information
uploaded into unstable?
--
Happy hacking
Petter Reinholdtsen
Loading...