From pere at hungry.com Thu Jul 25 04:55:48 2024 From: pere at hungry.com (Petter Reinholdtsen) Date: Thu, 25 Jul 2024 05:55:48 +0200 Subject: [Fingerforce-devel] Bug#840778: fprintd: Please announce supported hardware using AppStream In-Reply-To: <2fl4lq0bwuk.fsf@diskless.uio.no> References: <2flvawu7pkk.fsf@diskless.uio.no> <2flvawu7pkk.fsf@diskless.uio.no> <4df33425-c8bc-ea02-9873-b7f585d8385d@bigon.be> <2fl4lq0bwuk.fsf@diskless.uio.no> <2flvawu7pkk.fsf@diskless.uio.no> Message-ID: Control: tags -1 + patch [Petter Reinholdtsen] > In this case, I suspect users should be recommended to install > fprintd? I had a closer look, and suspect both fprintd and libpam-fprintd should be recommended on machines with the supported hardware. Here is a patch that should implement it. diff --git a/debian/fprintd.install b/debian/fprintd.install index 22550e4..8524215 100755 --- a/debian/fprintd.install +++ b/debian/fprintd.install @@ -14,3 +14,4 @@ usr/share/dbus-1/system.d/net.reactivated.Fprint.conf usr/share/locale/*/LC_MESSAGES/fprintd.mo usr/share/man/man1/fprintd.1 usr/share/polkit-1/actions/net.reactivated.fprint.device.policy +org.freedesktop.fprint.fprintd.metainfo.xml usr/share/metainfo diff --git a/debian/libpam-fprintd.install b/debian/libpam-fprintd.install index f766236..54a1ac3 100644 --- a/debian/libpam-fprintd.install +++ b/debian/libpam-fprintd.install @@ -1,3 +1,4 @@ debian/pam-configs/* usr/share/pam-configs/ usr/lib/*/security/pam_fprintd.so usr/share/man/man8/pam_fprintd.8 +org.freedesktop.fprint.fprintd.libpam.metainfo.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..a860e5e --- /dev/null +++ b/debian/patches/1000-appstream-metainfo.patch @@ -0,0 +1,56 @@ +Description: Added AppStream metainfo XML with hardware provide info. + This allow isenkram to propose this package when the hardware is + present. +Author: Petter Reinholdtsen +Forwarded: no +Last-Update: 2024-07-25 +--- +Index: fprintd-salsa/org.freedesktop.fprint.fprintd.metainfo.xml +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ fprintd-salsa/org.freedesktop.fprint.fprintd.metainfo.xml 2024-07-25 01:26:53.597373892 +0200 +@@ -0,0 +1,18 @@ ++ ++ ++ org.freedesktop.fprint.fprintd ++ MIT ++ fprintd ++ D-Bus daemon for fingerprint reader access ++ ++

fprintd is a D-Bus daemon that offers libfprint functionality ++ over the D-Bus interprocess communication bus. By adding this ++ daemon layer above libfprint, various problems related to multiple ++ applications simultaneously competing for fingerprint readers get ++ solved.

++
++ https://www.freedesktop.org/wiki/Software/fprint/fprintd ++ ++ usb:v147Ep2020d* ++ ++
+Index: fprintd-salsa/org.freedesktop.fprint.fprintd.libpam.metainfo.xml +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ fprintd-salsa/org.freedesktop.fprint.fprintd.libpam.metainfo.xml 2024-07-25 01:29:34.278820575 +0200 +@@ -0,0 +1,21 @@ ++ ++ ++ org.freedesktop.fprint.fprintd.libpam ++ MIT ++ libpam-fprintd ++ PAM module for fingerprint authentication through fprintd ++ ++

fprintd is a D-Bus daemon that offers libfprint functionality ++ over the D-Bus interprocess communication bus. By adding this ++ daemon layer above libfprint, various problems related to multiple ++ applications simultaneously competing for fingerprint readers get ++ solved.

++ ++

This package provides a PAM module for fingerprint-based ++ authentication via fprintd.

++
++ https://www.freedesktop.org/wiki/Software/fprint/fprintd ++ ++ usb:v147Ep2020d* ++ ++
diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..42e8b1a --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +1000-appstream-metainfo.patch -- Happy hacking Petter Reinholdtsen From owner at bugs.debian.org Thu Jul 25 05:00:03 2024 From: owner at bugs.debian.org (Debian Bug Tracking System) Date: Thu, 25 Jul 2024 04:00:03 +0000 Subject: [Fingerforce-devel] Processed: Re: fprintd: Please announce supported hardware using AppStream References: <2flvawu7pkk.fsf@diskless.uio.no> Message-ID: Processing control commands: > tags -1 + patch Bug #840778 [fprintd] fprintd: Please announce supported hardware using AppStream Added tag(s) patch. -- 840778: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840778 Debian Bug Tracking System Contact owner at bugs.debian.org with problems