initial commit

This commit is contained in:
Ward from fusion-voyager-3 2024-03-17 16:34:25 +03:00
parent b45df01eb5
commit 9d44753b9c
26 changed files with 1849 additions and 100 deletions

10
debian/README.source vendored Normal file
View File

@ -0,0 +1,10 @@
The libfprint-2-2 postinst script calls udevadmin trigger for all the supported
USB readers. The list of readers used in that file is generated using the gbp
import hook when `gbp import-orig` (via --uscan or with a tarball) is used.
Alternatively it can be called manually by using:
GBP_SOURCES_DIR=. debian/update-udev-triggers.sh
When preparing a new upstream release, this script should be called against the
upstream provided .hwdb file.

6
debian/changelog vendored
View File

@ -1,5 +1,5 @@
upstream-name (pkgver-pkgrel) distro_codename; urgency=medium libfprint (1:1.94.7-100pika1) pikauwu; urgency=medium
* Initial release. (Closes: #nnnn) <nnnn is the bug number of your ITP> * New upstream release
-- ferreo <harderthanfire@gmail.com> Wed, 18 Jan 2023 21:48:14 +0000 -- Marco Trevisan (Treviño) <marco@ubuntu.com> Wed, 23 Aug 2023 01:11:51 +0200

165
debian/control vendored
View File

@ -1,19 +1,150 @@
Source: upstream-name Source: libfprint
Section: admin
Priority: optional Priority: optional
Maintainer: name <email> Section: libs
Standards-Version: 4.6.1 Maintainer: FingerForce Team <fingerforce-devel@lists.alioth.debian.org>
Build-Depends: debhelper-compat (= 13) Uploaders: Ulises Vitulli <dererk@debian.org>,
Rules-Requires-Root: no Marco Trevisan <marco@ubuntu.com>
Build-Depends: debhelper-compat (= 13),
gir1.2-gobject-2.0-dev <!nogir>,
gir1.2-gio-2.0-dev <!nogir>,
gobject-introspection,
gtk-doc-tools,
libcairo-dev <!nocheck>,
libgirepository1.0-dev,
libglib2.0-dev,
libgudev-1.0-dev,
libgusb-dev,
libnss3-dev,
libpixman-1-dev,
meson,
python3 <!nocheck>,
python3-cairo <!nocheck>,
python3-gi <!nocheck>,
systemd-dev,
umockdev <!nocheck>
Build-Depends-Indep: libglib2.0-doc <!nodoc>, libgusb-doc <!nodoc>
Standards-Version: 4.6.2
Homepage: https://www.freedesktop.org/wiki/Software/fprint/libfprint
Vcs-Browser: https://salsa.debian.org/debian/libfprint
Vcs-Git: https://salsa.debian.org/debian/libfprint.git
Package: pkgname1 Package: libfprint-2-2
Architecture: linux-any Architecture: any
# Delete any of these lines if un-used Depends: ${misc:Depends}, ${shlibs:Depends}
Depends: ${misc:Depends}, depends Pre-Depends: ${misc:Pre-Depends}
Recommends: high priority optdepends Description: async fingerprint library of fprint project, shared libraries
Conflicts: conflicts The fprint project aims to support for consumer fingerprint reader devices.
Suggests: low priority optdepends .
Breaks: also conflicts!? Previously, Linux support for such devices has been scattered amongst different
Provides: provides projects (many incomplete) and inconsistent in that application developers
# would have to implement support for each type of fingerprint reader separately.
Description: pkgdesc The idea is to change that by providing a central system to support all the
fingerprint readers as it's possible to get hands on.
.
libfprint is the centre of efforts, this component does the dirty job of
talking to fingerprint reading devices, and processing fingerprint data.
.
This library depends on the new libusb, which performs asynchronous callbacks,
allowing fprint to perform non-blocking device tasks.
.
This package provides shared libraries.
Package: libfprint-2-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends: gir1.2-fprint-2.0 (= ${binary:Version}),
libfprint-2-2 (= ${binary:Version}),
${misc:Depends},
${gir:Depends},
Provides: ${gir:Provides},
Suggests: libfprint-2-doc
Description: async fingerprint library of fprint project, development headers
The fprint project aims to support for consumer fingerprint reader devices.
.
Previously, Linux support for such devices has been scattered amongst different
projects (many incomplete) and inconsistent in that application developers
would have to implement support for each type of fingerprint reader separately.
The idea is to change that by providing a central system to support all the
fingerprint readers as it's possible to get hands on.
.
libfprint is the centre of efforts, this component does the dirty job of
talking to fingerprint reading devices, and processing fingerprint data.
.
This library depends on the new libusb, which performs asynchronous callbacks,
allowing fprint to perform non-blocking device tasks.
.
This package provides development headers.
Package: libfprint-2-doc
Section: doc
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends}
Description: async fingerprint library of fprint project, API documentation
The fprint project aims to support for consumer fingerprint reader devices.
.
Previously, Linux support for such devices has been scattered amongst different
projects (many incomplete) and inconsistent in that application developers
would have to implement support for each type of fingerprint reader separately.
The idea is to change that by providing a central system to support all the
fingerprint readers as it's possible to get hands on.
.
libfprint is the centre of efforts, this component does the dirty job of
talking to fingerprint reading devices, and processing fingerprint data.
.
This library depends on the new libusb, which performs asynchronous callbacks,
allowing fprint to perform non-blocking device tasks.
.
This package provides the API documentation.
Package: gir1.2-fprint-2.0
Architecture: any
Multi-Arch: same
Section: introspection
Depends: ${gir:Depends}, ${misc:Depends}, ${shlibs:Depends}
Pre-Depends: ${misc:Pre-Depends}
Description: async fingerprint library of fprint project, gir bindings
The fprint project aims to support for consumer fingerprint reader devices.
.
Previously, Linux support for such devices has been scattered amongst different
projects (many incomplete) and inconsistent in that application developers
would have to implement support for each type of fingerprint reader separately.
The idea is to change that by providing a central system to support all the
fingerprint readers as it's possible to get hands on.
.
libfprint is the centre of efforts, this component does the dirty job of
talking to fingerprint reading devices, and processing fingerprint data.
.
This library depends on the new libusb, which performs asynchronous callbacks,
allowing fprint to perform non-blocking device tasks.
.
This package can be used by other packages using the GIRepository format to
generate dynamic bindings.
Package: libfprint-2-tests
Architecture: any
Depends: gir1.2-fprint-2.0 (= ${binary:Version}),
libfprint-2-2 (= ${binary:Version}),
python3,
python3-cairo,
python3-gi,
umockdev,
${misc:Depends}, ${shlibs:Depends}
Description: Tests for async fingerprint library of fprint project
The fprint project aims to support for consumer fingerprint reader devices.
.
Previously, Linux support for such devices has been scattered amongst different
projects (many incomplete) and inconsistent in that application developers
would have to implement support for each type of fingerprint reader separately.
The idea is to change that by providing a central system to support all the
fingerprint readers as it's possible to get hands on.
.
libfprint is the centre of efforts, this component does the dirty job of
talking to fingerprint reading devices, and processing fingerprint data.
.
This library depends on the new libusb, which performs asynchronous callbacks,
allowing fprint to perform non-blocking device tasks.
.
This package contains test programs, designed to be run as part of a
regression testsuite.

45
debian/copyright vendored
View File

@ -0,0 +1,45 @@
This package was debianized by Ulises Vitulli <uvitulli@fi.uba.ar> on
Fri, 19 Sep 2008 05:14:30 -0300.
It was downloaded from <http://reactivated.net/fprint/wiki/Libfprint>
Upstream Authors, and Copyright:
Copyright © 2007 Daniel Drake <dsd@gentoo.org>
Copyright © 2006-2007 Timo Hoenig <thoenig@suse.de>
Copyright © 2006 Pavel Machek <pavel@suse.cz>
Copyright © 1999 Erik Walthinsen <omega@cse.ogi.edu>
Copyright © 2004,2006 Thomas Vander Stichele <thomas at apestaart dot org>
Copyright © 2007 Cyrille Bagard
Copyright © 2007 Vasily Khoruzhick
Copyright © 2007 Jan-Michael Brummer <buzz2@gmx.de>
Copyright © 2007 Anthony Bretaudeau <wxcover@users.sourceforge.net>
License:
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
The files under libfprint/nbis directory has this license:
This software was developed at the National Institute of Standards and
Technology (NIST) by employees of the Federal Government in the course
of their official duties. Pursuant to title 17 Section 105 of the
United States Code, this software is not subject to copyright protection
and is in the public domain. NIST assumes no responsibility whatsoever for
its use by other parties, and makes no guarantees, expressed or implied,
about its quality, reliability, or any other characteristic.
The Debian packaging is © 2008, Ulises Vitulli <uvitulli@fi.uba.ar> and is
licensed under the LGPL v2.1, see `/usr/share/common-licenses/LGPL-2.1'.

2
debian/docs vendored Normal file
View File

@ -0,0 +1,2 @@
NEWS
README.md

8
debian/gbp-post-import-hook.sh vendored Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh
set -e
dch -v"$GBP_DEBIAN_VERSION" "New upstream release"
git add debian/changelog
debcommit
debian/update-udev-triggers.sh

17
debian/gbp.conf vendored Normal file
View File

@ -0,0 +1,17 @@
[DEFAULT]
pristine-tar = True
debian-branch = debian
upstream-vcs-tag = v%(version)s
[buildpackage]
sign-tags = True
[dch]
multimaint-merge = True
[import-orig]
postimport = debian/gbp-post-import-hook.sh
[pq]
patch-numbers = False

1
debian/gir1.2-fprint-2.0.install vendored Normal file
View File

@ -0,0 +1 @@
usr/lib/${DEB_HOST_MULTIARCH}/girepository-1.0/FPrint-*.typelib

3
debian/libfprint-2-2.install vendored Normal file
View File

@ -0,0 +1,3 @@
usr/lib/udev/hwdb.d/
usr/lib/udev/rules.d/
usr/lib/${DEB_HOST_MULTIARCH}/libfprint-[0-9].so.*

View File

@ -0,0 +1,3 @@
# For security reasons, we don't want the fingerprint readers to be accessible
# by unprivileged users
udev-rule-missing-uaccess

315
debian/libfprint-2-2.postinst vendored Normal file
View File

@ -0,0 +1,315 @@
#!/bin/sh
set -e
#DEBHELPER#
if [ "$1" = "configure" -o "$1" = "upgrade" ] && command -V udevadm >/dev/null 2>&1; then
# apply hwdb rules at package installation, see
# <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683863#27>
# NOTA BENE: after the DEBHELPER section since dh_installudev
# adds stuff there
# The devices ID list is auto-generated using the gbp postimport hook
# see debian/README.sources for more details.
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=1600 || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=1660 || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=1680 || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=1681 || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=1682 || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=1683 || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=1684 || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=1685 || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=1686 || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=1687 || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=1688 || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=1689 || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=168a || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=168b || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=168c || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=168d || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=168e || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=168f || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2500 || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2580 || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2550 || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2810 || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2660 || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2680 || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2681 || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2682 || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2683 || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2684 || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2685 || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2686 || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2687 || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2688 || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2689 || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=268a || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=268b || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=268c || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=268d || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=268e || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=268f || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2691 || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=5731 || true
udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=5501 || true
udevadm trigger --action=add --attr-match=idVendor=1c7a --attr-match=idProduct=0570 || true
udevadm trigger --action=add --attr-match=idVendor=1c7a --attr-match=idProduct=0571 || true
udevadm trigger --action=add --attr-match=idVendor=1c7a --attr-match=idProduct=0582 || true
udevadm trigger --action=add --attr-match=idVendor=1c7a --attr-match=idProduct=05a1 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0903 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0907 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c01 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c02 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c03 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c04 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c05 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c06 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c07 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c08 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c09 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c0a || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c0b || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c0c || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c0d || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c0e || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c0f || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c10 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c11 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c12 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c13 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c14 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c15 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c16 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c17 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c18 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c19 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c1a || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c1b || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c1c || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c1d || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c1e || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c1f || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c20 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c21 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c22 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c23 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c24 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c25 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c26 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c27 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c28 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c29 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c2a || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c2b || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c2c || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c2d || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c2e || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c2f || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c30 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c31 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c32 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c33 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c3d || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c42 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c4b || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c4d || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c4f || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c63 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c6e || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c58 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c7d || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c7e || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c82 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c88 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c8c || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c8d || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c99 || true
udevadm trigger --action=add --attr-match=idVendor=1c7a --attr-match=idProduct=0603 || true
udevadm trigger --action=add --attr-match=idVendor=2808 --attr-match=idProduct=9e48 || true
udevadm trigger --action=add --attr-match=idVendor=2808 --attr-match=idProduct=d979 || true
udevadm trigger --action=add --attr-match=idVendor=2808 --attr-match=idProduct=a959 || true
udevadm trigger --action=add --attr-match=idVendor=10a5 --attr-match=idProduct=ffe0 || true
udevadm trigger --action=add --attr-match=idVendor=10a5 --attr-match=idProduct=a305 || true
udevadm trigger --action=add --attr-match=idVendor=10a5 --attr-match=idProduct=da04 || true
udevadm trigger --action=add --attr-match=idVendor=10a5 --attr-match=idProduct=d805 || true
udevadm trigger --action=add --attr-match=idVendor=10a5 --attr-match=idProduct=d205 || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=5840 || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=6014 || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=6092 || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=6094 || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=609c || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=60a2 || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=60a4 || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=60bc || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=6304 || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=631c || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=633c || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=634c || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=6384 || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=639c || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=63ac || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=63bc || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=63cc || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=6496 || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=6582 || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=6584 || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=658c || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=6592 || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=6594 || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=659a || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=659c || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=6a94 || true
udevadm trigger --action=add --attr-match=idVendor=298d --attr-match=idProduct=1010 || true
udevadm trigger --action=add --attr-match=idVendor=0bda --attr-match=idProduct=5813 || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=00bd || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=00df || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=00f9 || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=00fc || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=00c2 || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=0100 || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=00f0 || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=0103 || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=0123 || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=0124 || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=0126 || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=0129 || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=0168 || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=015f || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=0104 || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=0173 || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=0106 || true
udevadm trigger --action=add --attr-match=idVendor=147e --attr-match=idProduct=2016 || true
udevadm trigger --action=add --attr-match=idVendor=147e --attr-match=idProduct=1000 || true
udevadm trigger --action=add --attr-match=idVendor=147e --attr-match=idProduct=1001 || true
udevadm trigger --action=add --attr-match=idVendor=0483 --attr-match=idProduct=2015 || true
udevadm trigger --action=add --attr-match=idVendor=0483 --attr-match=idProduct=2017 || true
udevadm trigger --action=add --attr-match=idVendor=147e --attr-match=idProduct=3001 || true
udevadm trigger --action=add --attr-match=idVendor=147e --attr-match=idProduct=2020 || true
udevadm trigger --action=add --attr-match=idVendor=045e --attr-match=idProduct=00bc || true
udevadm trigger --action=add --attr-match=idVendor=045e --attr-match=idProduct=00bd || true
udevadm trigger --action=add --attr-match=idVendor=045e --attr-match=idProduct=00ca || true
udevadm trigger --action=add --attr-match=idVendor=05ba --attr-match=idProduct=0007 || true
udevadm trigger --action=add --attr-match=idVendor=05ba --attr-match=idProduct=0008 || true
udevadm trigger --action=add --attr-match=idVendor=05ba --attr-match=idProduct=000a || true
udevadm trigger --action=add --attr-match=idVendor=061a --attr-match=idProduct=0110 || true
udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=0050 || true
udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=0001 || true
udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=0005 || true
udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=0008 || true
udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=0010 || true
udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=0011 || true
udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=0015 || true
udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=0017 || true
udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=0018 || true
udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=0091 || true
udevadm trigger --action=add --attr-match=idVendor=047d --attr-match=idProduct=00f2 || true
udevadm trigger --action=add --attr-match=idVendor=04e8 --attr-match=idProduct=730b || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=036b || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c00 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c4c || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c57 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c5e || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c5a || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c6c || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c70 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c72 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=0c77 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=2706 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=3032 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=3057 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=3104 || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=310d || true
udevadm trigger --action=add --attr-match=idVendor=04f3 --attr-match=idProduct=3128 || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=0081 || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=0088 || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=008a || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=009a || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=009b || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=00a2 || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=00a8 || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=00b7 || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=00bb || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=00be || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=00c4 || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=00cb || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=00c9 || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=00d8 || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=00da || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=00dc || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=00e4 || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=00e7 || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=00e9 || true
udevadm trigger --action=add --attr-match=idVendor=06cb --attr-match=idProduct=00fd || true
udevadm trigger --action=add --attr-match=idVendor=0a5c --attr-match=idProduct=5801 || true
udevadm trigger --action=add --attr-match=idVendor=0a5c --attr-match=idProduct=5805 || true
udevadm trigger --action=add --attr-match=idVendor=0a5c --attr-match=idProduct=5834 || true
udevadm trigger --action=add --attr-match=idVendor=0a5c --attr-match=idProduct=5840 || true
udevadm trigger --action=add --attr-match=idVendor=0a5c --attr-match=idProduct=5841 || true
udevadm trigger --action=add --attr-match=idVendor=0a5c --attr-match=idProduct=5842 || true
udevadm trigger --action=add --attr-match=idVendor=0a5c --attr-match=idProduct=5843 || true
udevadm trigger --action=add --attr-match=idVendor=0a5c --attr-match=idProduct=5844 || true
udevadm trigger --action=add --attr-match=idVendor=0a5c --attr-match=idProduct=5845 || true
udevadm trigger --action=add --attr-match=idVendor=0bda --attr-match=idProduct=5812 || true
udevadm trigger --action=add --attr-match=idVendor=10a5 --attr-match=idProduct=0007 || true
udevadm trigger --action=add --attr-match=idVendor=10a5 --attr-match=idProduct=9200 || true
udevadm trigger --action=add --attr-match=idVendor=10a5 --attr-match=idProduct=9800 || true
udevadm trigger --action=add --attr-match=idVendor=10a5 --attr-match=idProduct=e340 || true
udevadm trigger --action=add --attr-match=idVendor=1188 --attr-match=idProduct=9545 || true
udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=0007 || true
udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=003a || true
udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=003c || true
udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=003d || true
udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=003f || true
udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=0090 || true
udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=0092 || true
udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=0094 || true
udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=0097 || true
udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=009d || true
udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=00ab || true
udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=00a6 || true
udevadm trigger --action=add --attr-match=idVendor=147e --attr-match=idProduct=1002 || true
udevadm trigger --action=add --attr-match=idVendor=1491 --attr-match=idProduct=0088 || true
udevadm trigger --action=add --attr-match=idVendor=16d1 --attr-match=idProduct=1027 || true
udevadm trigger --action=add --attr-match=idVendor=1c7a --attr-match=idProduct=0300 || true
udevadm trigger --action=add --attr-match=idVendor=1c7a --attr-match=idProduct=0575 || true
udevadm trigger --action=add --attr-match=idVendor=1c7a --attr-match=idProduct=0576 || true
udevadm trigger --action=add --attr-match=idVendor=1c7a --attr-match=idProduct=0577 || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=5042 || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=5110 || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=5117 || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=5120 || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=5125 || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=5201 || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=521d || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=5301 || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=530c || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=532d || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=5335 || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=533c || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=5381 || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=5385 || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=538c || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=538d || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=5395 || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=5503 || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=550a || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=550c || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=5584 || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=55a2 || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=55a4 || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=55b4 || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=5740 || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=5e0a || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=581a || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=589a || true
udevadm trigger --action=add --attr-match=idVendor=27c6 --attr-match=idProduct=6382 || true
udevadm trigger --action=add --attr-match=idVendor=2808 --attr-match=idProduct=9338 || true
udevadm trigger --action=add --attr-match=idVendor=2808 --attr-match=idProduct=93a9 || true
udevadm trigger --action=add --attr-match=idVendor=298d --attr-match=idProduct=2020 || true
udevadm trigger --action=add --attr-match=idVendor=298d --attr-match=idProduct=2033 || true
udevadm trigger --action=add --attr-match=idVendor=3538 --attr-match=idProduct=0930 || true
fi
exit 0

17
debian/libfprint-2-2.postinst.in vendored Normal file
View File

@ -0,0 +1,17 @@
#!/bin/sh
set -e
#DEBHELPER#
if [ "$1" = "configure" -o "$1" = "upgrade" ] && command -V udevadm >/dev/null 2>&1; then
# apply hwdb rules at package installation, see
# <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683863#27>
# NOTA BENE: after the DEBHELPER section since dh_installudev
# adds stuff there
# The devices ID list is auto-generated using the gbp postimport hook
# see debian/README.sources for more details.
@UDEVADM_TRIGGERS@
fi
exit 0

94
debian/libfprint-2-2.symbols vendored Normal file
View File

@ -0,0 +1,94 @@
libfprint-2.so.2 libfprint-2-2 #MINVER#
* Build-Depends-Package: libfprint-2-dev
LIBFPRINT_2.0.0@LIBFPRINT_2.0.0 1:1.90.1
fp_context_enumerate@LIBFPRINT_2.0.0 1:1.90.1
fp_context_get_devices@LIBFPRINT_2.0.0 1:1.90.1
fp_context_get_type@LIBFPRINT_2.0.0 1:1.90.1
fp_context_new@LIBFPRINT_2.0.0 1:1.90.1
fp_device_capture@LIBFPRINT_2.0.0 1:1.90.1
fp_device_capture_finish@LIBFPRINT_2.0.0 1:1.90.1
fp_device_capture_sync@LIBFPRINT_2.0.0 1:1.90.1
fp_device_clear_storage@LIBFPRINT_2.0.0 1:1.94.1
fp_device_clear_storage_finish@LIBFPRINT_2.0.0 1:1.94.1
fp_device_clear_storage_sync@LIBFPRINT_2.0.0 1:1.94.1
fp_device_close@LIBFPRINT_2.0.0 1:1.90.1
fp_device_close_finish@LIBFPRINT_2.0.0 1:1.90.1
fp_device_close_sync@LIBFPRINT_2.0.0 1:1.90.1
fp_device_delete_print@LIBFPRINT_2.0.0 1:1.90.1
fp_device_delete_print_finish@LIBFPRINT_2.0.0 1:1.90.1
fp_device_delete_print_sync@LIBFPRINT_2.0.0 1:1.90.1
fp_device_enroll@LIBFPRINT_2.0.0 1:1.90.1
fp_device_enroll_finish@LIBFPRINT_2.0.0 1:1.90.1
fp_device_enroll_sync@LIBFPRINT_2.0.0 1:1.90.1
fp_device_error_get_type@LIBFPRINT_2.0.0 1:1.90.1
fp_device_error_quark@LIBFPRINT_2.0.0 1:1.90.1
fp_device_feature_get_type@LIBFPRINT_2.0.0 1:1.94.1
fp_device_get_device_id@LIBFPRINT_2.0.0 1:1.90.1
fp_device_get_driver@LIBFPRINT_2.0.0 1:1.90.1
fp_device_get_features@LIBFPRINT_2.0.0 1:1.94.1
fp_device_get_finger_status@LIBFPRINT_2.0.0 1:1.90.4
fp_device_get_name@LIBFPRINT_2.0.0 1:1.90.1
fp_device_get_nr_enroll_stages@LIBFPRINT_2.0.0 1:1.90.1
fp_device_get_scan_type@LIBFPRINT_2.0.0 1:1.90.1
fp_device_get_temperature@LIBFPRINT_2.0.0 1:1.94.1
fp_device_get_type@LIBFPRINT_2.0.0 1:1.90.1
fp_device_has_feature@LIBFPRINT_2.0.0 1:1.94.1
fp_device_has_storage@LIBFPRINT_2.0.0 1:1.90.1
fp_device_identify@LIBFPRINT_2.0.0 1:1.90.1
fp_device_identify_finish@LIBFPRINT_2.0.0 1:1.90.1
fp_device_identify_sync@LIBFPRINT_2.0.0 1:1.90.1
fp_device_is_open@LIBFPRINT_2.0.0 1:1.90.1
fp_device_list_prints@LIBFPRINT_2.0.0 1:1.90.1
fp_device_list_prints_finish@LIBFPRINT_2.0.0 1:1.90.1
fp_device_list_prints_sync@LIBFPRINT_2.0.0 1:1.90.1
fp_device_open@LIBFPRINT_2.0.0 1:1.90.1
fp_device_open_finish@LIBFPRINT_2.0.0 1:1.90.1
fp_device_open_sync@LIBFPRINT_2.0.0 1:1.90.1
fp_device_resume@LIBFPRINT_2.0.0 1:1.94.1
fp_device_resume_finish@LIBFPRINT_2.0.0 1:1.94.1
fp_device_resume_sync@LIBFPRINT_2.0.0 1:1.94.1
fp_device_retry_get_type@LIBFPRINT_2.0.0 1:1.90.1
fp_device_retry_quark@LIBFPRINT_2.0.0 1:1.90.1
fp_device_supports_capture@LIBFPRINT_2.0.0 1:1.90.1
fp_device_supports_identify@LIBFPRINT_2.0.0 1:1.90.1
fp_device_suspend@LIBFPRINT_2.0.0 1:1.94.1
fp_device_suspend_finish@LIBFPRINT_2.0.0 1:1.94.1
fp_device_suspend_sync@LIBFPRINT_2.0.0 1:1.94.1
fp_device_type_get_type@LIBFPRINT_2.0.0 1:1.90.1
fp_device_verify@LIBFPRINT_2.0.0 1:1.90.1
fp_device_verify_finish@LIBFPRINT_2.0.0 1:1.90.1
fp_device_verify_sync@LIBFPRINT_2.0.0 1:1.90.1
fp_finger_get_type@LIBFPRINT_2.0.0 1:1.90.1
fp_finger_status_flags_get_type@LIBFPRINT_2.0.0 1:1.90.4
fp_image_detect_minutiae@LIBFPRINT_2.0.0 1:1.90.1
fp_image_detect_minutiae_finish@LIBFPRINT_2.0.0 1:1.90.1
fp_image_device_get_type@LIBFPRINT_2.0.0 1:1.90.1
fp_image_get_binarized@LIBFPRINT_2.0.0 1:1.90.1
fp_image_get_data@LIBFPRINT_2.0.0 1:1.90.1
fp_image_get_height@LIBFPRINT_2.0.0 1:1.90.1
fp_image_get_minutiae@LIBFPRINT_2.0.0 1:1.90.1
fp_image_get_ppmm@LIBFPRINT_2.0.0 1:1.90.1
fp_image_get_type@LIBFPRINT_2.0.0 1:1.90.1
fp_image_get_width@LIBFPRINT_2.0.0 1:1.90.1
fp_image_new@LIBFPRINT_2.0.0 1:1.90.1
fp_minutia_get_coords@LIBFPRINT_2.0.0 1:1.90.1
fp_print_compatible@LIBFPRINT_2.0.0 1:1.90.1
fp_print_deserialize@LIBFPRINT_2.0.0 1:1.90.1
fp_print_equal@LIBFPRINT_2.0.0 1:1.90.1
fp_print_get_description@LIBFPRINT_2.0.0 1:1.90.1
fp_print_get_device_id@LIBFPRINT_2.0.0 1:1.90.1
fp_print_get_device_stored@LIBFPRINT_2.0.0 1:1.90.1
fp_print_get_driver@LIBFPRINT_2.0.0 1:1.90.1
fp_print_get_enroll_date@LIBFPRINT_2.0.0 1:1.90.1
fp_print_get_finger@LIBFPRINT_2.0.0 1:1.90.1
fp_print_get_image@LIBFPRINT_2.0.0 1:1.90.1
fp_print_get_type@LIBFPRINT_2.0.0 1:1.90.1
fp_print_get_username@LIBFPRINT_2.0.0 1:1.90.1
fp_print_new@LIBFPRINT_2.0.0 1:1.90.1
fp_print_serialize@LIBFPRINT_2.0.0 1:1.90.1
fp_print_set_description@LIBFPRINT_2.0.0 1:1.90.1
fp_print_set_enroll_date@LIBFPRINT_2.0.0 1:1.90.1
fp_print_set_finger@LIBFPRINT_2.0.0 1:1.90.1
fp_print_set_username@LIBFPRINT_2.0.0 1:1.90.1
fp_scan_type_get_type@LIBFPRINT_2.0.0 1:1.90.1
fp_temperature_get_type@LIBFPRINT_2.0.0 1:1.94.1

4
debian/libfprint-2-dev.install vendored Normal file
View File

@ -0,0 +1,4 @@
usr/include/libfprint-[0-9]/*.h
usr/lib/${DEB_HOST_MULTIARCH}/libfprint-[0-9].so
usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig/libfprint-[0-9].pc
usr/share/gir-1.0/FPrint-*.gir

1
debian/libfprint-2-doc.install vendored Normal file
View File

@ -0,0 +1 @@
usr/share/gtk-doc/*/libfprint-*

2
debian/libfprint-2-tests.install vendored Normal file
View File

@ -0,0 +1,2 @@
usr/libexec/installed-tests/libfprint-[0-9]
usr/share/installed-tests/libfprint-[0-9]

93
debian/rules vendored
View File

@ -1,80 +1,25 @@
#!/usr/bin/make -f #!/usr/bin/make -f
## See debhelper(7) (uncomment to enable). export DPKG_GENSYMBOLS_CHECK_LEVEL = 2
## Output every command that modifies files on the build system.
export DH_VERBOSE = 1
## === Set paths env vars === BUILDDIR = $(CURDIR)/obj-$(DEB_HOST_GNU_TYPE)
## Source directory, called upon by $(srcdir) # Configuration arguments
srcdir = $(shell debian/scripts/get_pwd.sh) CONFIG_ARGS = \
## The Root of package number one, called upon by $(pkgdir1) -Dudev_hwdb=enabled \
pkgdir1 = $(srcdir)/debian/pkgdir1 -Dudev_rules=enabled \
## The Root of package number two, you can add as many of these as you like -Ddrivers=all \
pkgdir2 = $(srcdir)/debian/pkgdir2 -Dgtk-examples=false
## If building a singular package you can remove the number, and as you guessed you call upon it with $(pkgdir)
# pkgdir = $(srcdir)/debian/pkgdir
## === End end of region ===
## === the chain of command ===
## debuild runs a chain of dh functions in the following order:
## dh_testdir
## dh_clean
## dh_auto_clean
## dh_update_autotools_config
## dh_autoreconf
## dh_auto_configure
## dh_prep
## dh_build
## dh_auto_build
## dh_install
## dh_auto_install
## dh_installdocs
## dh_installchangelogs
## dh_perl
## dh_link
## dh_strip_nondeterminism
## dh_compress
## dh_fixperms
## dh_missing
## dh_dwz
## dh_strip
## dh_makeshlibs
## dh_shlibdeps
## dh_installdeb
## dh_gencontrol
## but you are most likely to only need to override the following:
## dh_clean
## dh_auto_configure
## dh_build
## dh_install
## === End end of region ===
## === overriding dh functions ===
## by default all dh functions will run a specific command based on the build system selected by "dh $@"
## if you have a makefile that does everything you need this is fine,
## but most likely you have no MakeFile and you want to add your own commands
## Note : overrides must be places above %:
## So here's a few examples:
## overriding dh_clean to make it not delete rust vendor files:
#override_dh_clean:
# echo "disabled"
## overriding dh_auto_configure to add custom configs:
#override_dh_auto_configure:
# $(srcdir)/configure -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_DATADIR=/usr/share -DCMAKE_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu -DBUILD_PLUGIN=OFF
## overriding dh_install to install files to a package:
#override_dh_auto_configure:
# mkdir -p $(pkgdir1)/usr/bin
# cp $(srcdir)/pikman $(pkgdir1)/usr/bin/
## === End end of region ===
## This here will start the build:
%: %:
dh $@ dh $@ --with gir
override_dh_auto_configure:
dh_auto_configure -- $(CONFIG_ARGS)
override_dh_auto_test:
dh_auto_test -- -C $(BUILDDIR) --timeout-multiplier 5
override_dh_auto_clean:
rm -rf tests/__pycache__
dh_auto_clean

View File

@ -1,2 +0,0 @@
#! /bin/sh
env | grep -w "PWD" | cut -c5-

32
debian/update-udev-triggers.sh vendored Executable file
View File

@ -0,0 +1,32 @@
#!/bin/bash
set -e
srcdir="${GBP_SOURCES_DIR:-.}"
debpath="$(dirname "$0")"
autosuspend_file="$srcdir/data/autosuspend.hwdb"
commands_lines=()
while IFS= read -r line; do
if [[ $line =~ ^usb:v([A-Fa-f0-9]{4})p([A-Fa-f0-9]{4}) ]]; then
vendor="$(echo "${BASH_REMATCH[1]}" | tr '[:upper:]' '[:lower:]')"
product="$(echo "${BASH_REMATCH[2]}" | tr '[:upper:]' '[:lower:]')"
commands_lines+=("\tudevadm trigger --action=add --attr-match=idVendor=$vendor --attr-match=idProduct=$product || true")
fi
done < "$autosuspend_file"
UDEVADM_TRIGGERS=$( IFS=$'\n'; echo -e "${commands_lines[*]}" )
export UDEVADM_TRIGGERS
for i in "$debpath"/libfprint-*.post*.in; do
out="${i%.in}"
perl -pe 's/\@UDEVADM_TRIGGERS\@/`printenv UDEVADM_TRIGGERS`/e' "$i" > "$out"
if [ -n "$GBP_BRANCH" ]; then
if ! git diff-index --quiet HEAD -- "$out"; then
git add "$out"
dch "${out#$srcdir}: Devices triggers updated"
git add debian/changelog
debcommit
fi
fi
done

4
debian/upstream/metadata vendored Normal file
View File

@ -0,0 +1,4 @@
---
Bug-Database: https://gitlab.freedesktop.org/libfprint/libfprint/-/issues
Bug-Submit: https://gitlab.freedesktop.org/libfprint/libfprint/-/issues/new
Repository-Browse: https://gitlab.freedesktop.org/libfprint/libfprint

4
debian/watch vendored Normal file
View File

@ -0,0 +1,4 @@
version=4
https://gitlab.freedesktop.org/libfprint/@PACKAGE@/tags?sort=updated_desc \
archive/v(?:[^/]*)/@PACKAGE@-v(\d\S*)@ARCHIVE_EXT@

View File

@ -3,9 +3,11 @@
DEBIAN_FRONTEND=noninteractive DEBIAN_FRONTEND=noninteractive
# Clone Upstream # Clone Upstream
mkdir -p ./src-pkg-name git clone -b v1.94.7 https://gitlab.freedesktop.org/libfprint/libfprint ./libfprintd-2-2
cp -rvf ./debian ./src-pkg-name/ cp -rvf ./debian ./libfprintd-2-2/
cd ./src-pkg-name/ cd ./libfprintd-2-2/
for i in $(cat ../patches/series | grep -v '^#') ; do echo "Applying Patch: $i" && patch -Np1 -i ../patches/$i || bash -c "echo "Applying Patch $i Failed!" && exit 2"; done
# Get build deps # Get build deps
apt-get build-dep ./ -y apt-get build-dep ./ -y

1002
patches/469.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,70 @@
From: =?utf-8?b?Ik1hcmNvIFRyZXZpc2FuIChUcmV2acOxbyki?= <mail@3v1n0.net>
Date: Tue, 20 Feb 2024 08:22:42 +0100
Subject: build: Look for sh just once
Origin: https://gitlab.freedesktop.org/libfprint/libfprint/commit/4b72f27d
Forwarded: yes
---
meson.build | 1 +
tests/meson.build | 10 +++++-----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/meson.build b/meson.build
index 435827c..28ee27a 100644
--- a/meson.build
+++ b/meson.build
@@ -91,6 +91,7 @@ gusb_dep = dependency('gusb', version: '>= 0.2.0')
mathlib_dep = cc.find_library('m', required: false)
# The following dependencies are only used for tests
+sh = find_program('sh', required: true)
cairo_dep = dependency('cairo', required: false)
# introspection scanning and Gio-2.0.gir
diff --git a/tests/meson.build b/tests/meson.build
index f68ed40..8c8f5d0 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -151,7 +151,7 @@ if get_option('introspection')
endif
else
test(vdtest,
- find_program('sh'),
+ sh,
args: ['-c', 'exit 77']
)
endif
@@ -205,7 +205,7 @@ if get_option('introspection')
endif
else
test(driver_test,
- find_program('sh'),
+ sh,
args: ['-c', 'exit 77']
)
endif
@@ -224,13 +224,13 @@ if get_option('introspection')
else
warning('Skipping all driver tests as introspection bindings are missing')
test('virtual-image',
- find_program('sh'),
+ sh,
args: ['-c', 'exit 77']
)
foreach driver_test: drivers_tests
test(driver_test,
- find_program('sh'),
+ sh,
args: ['-c', 'exit 77']
)
endforeach
@@ -273,7 +273,7 @@ foreach test_name: unit_tests
# Create a dummy test that always skips instead
warning('Test @0@ cannot be compiled due to missing dependencies'.format(test_name))
test(test_name,
- find_program('sh'),
+ sh,
suite: ['unit-tests'],
args: ['-c', 'exit 77'],
)

View File

@ -0,0 +1,36 @@
From: =?utf-8?b?Ik1hcmNvIFRyZXZpc2FuIChUcmV2acOxbyki?= <mail@3v1n0.net>
Date: Tue, 20 Feb 2024 08:24:12 +0100
Subject: build/tests: Skip a test if the test requires it during inspection
In case we don't have dependencies, we should skip the test, otherwise
we can just fail at test time
Origin: https://gitlab.freedesktop.org/libfprint/libfprint/commit/7dbb21e7
Forwarded: yes
---
tests/meson.build | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/tests/meson.build b/tests/meson.build
index 8c8f5d0..dc3b70e 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -100,11 +100,17 @@ if get_option('introspection')
base_args = files(vdtest + '.py')
suite = ['virtual-driver']
- r = run_command(unittest_inspector, files(vdtest + '.py'), check: true)
+ r = run_command(unittest_inspector, files(vdtest + '.py'), check: false)
unit_tests = r.stdout().strip().split('\n')
if r.returncode() == 0 and unit_tests.length() > 0
suite += vdtest
+ elif r.returncode() == 77
+ test(vdtest,
+ sh,
+ args: ['-c', 'exit 77']
+ )
+ continue
else
unit_tests = [vdtest]
endif

3
patches/series Normal file
View File

@ -0,0 +1,3 @@
build-Look-for-sh-just-once.patch
build-tests-Skip-a-test-if-the-test-requires-it-during-in.patch
469.patch