Commit Graph

1741 Commits

Author SHA1 Message Date
Marco Trevisan (Treviño) 81e53c422d virtual-device: Add support for changing the device scan type 2021-01-25 17:40:15 +01:00
Marco Trevisan (Treviño) be0b4ae2bb tests/virtual-device: Trigger new scans when we got progress callback 2021-01-25 17:40:15 +01:00
Marco Trevisan (Treviño) 56bcf1ffdd virtual-device: Add command to change the number of enroll stages
As per this don't use the class value anymore at enroll phase, as it may
differ.
2021-01-25 17:40:15 +01:00
Marco Trevisan (Treviño) 665de7813b fpi-device: Ensure we're receiving a valid number of enroll stages 2021-01-25 17:40:15 +01:00
Marco Trevisan (Treviño) a291d17f26 virtual-device: Properly cleanup the virtual devices data
Ensure we call the parent finalize function and cleanup local data
2021-01-25 17:40:15 +01:00
Marco Trevisan (Treviño) e8886dbc6b virtual-device: Support all the configured enrolling stages 2021-01-25 17:40:15 +01:00
Marco Trevisan (Treviño) 3d6fb15b5c virtual-device: Add API to change current finger status 2021-01-25 17:40:15 +01:00
Marco Trevisan (Treviño) 43d0dfdd8f virtual-device-storage: Set needed finger state on enroll and verify 2021-01-25 17:40:15 +01:00
Marco Trevisan (Treviño) 50f522583e virtual-device: Set needed finger state on enroll and verify 2021-01-25 17:40:15 +01:00
Marco Trevisan (Treviño) f0443ba2f3 virtual-device: Add support for reporting device Retry "errors" 2021-01-25 17:40:15 +01:00
Marco Trevisan (Treviño) 546f35132c tests/virtual-device: Use FPrint.DeviceError values to send errors 2021-01-25 17:40:15 +01:00
Marco Trevisan (Treviño) ce9527d2cb virtual-device: Wait for delayed commands to be processed
This allows to mimick the image device better, so that we can start an
operation and send the commands within some delay.
2021-01-25 17:40:13 +01:00
Marco Trevisan (Treviño) acb91a10df debian/patches/series: Add missing reference to the shared-library patch 2021-01-21 21:08:37 +01:00
Marco Trevisan (Treviño) 0e23cc18d4 debian/update-udev-triggers.sh: handle some minor shellcheck warnings 2021-01-21 19:59:25 +01:00
Marco Trevisan (Treviño) ec469dd2e1 Upload to experimental 2021-01-21 19:53:12 +01:00
Marco Trevisan (Treviño) 038fd70b28 Update changelog 2021-01-21 19:52:44 +01:00
Marco Trevisan (Treviño) 97b6e243b8 debian/update-udev-triggers.sh: Use perl to replace file content
envsubst is nice but may be not installed and can be confusing, so let's
use perl (+ printenv) to replace our file content.
2021-01-21 19:52:44 +01:00
Marco Trevisan (Treviño) 067020b36e debian/libfprint-2-2.postinst: Upgrade as per upstream hwdb
Blacklisted devices can be now removed from the trigger list as we don't
add them to plugdev anymore.
2021-01-21 19:34:13 +01:00
Marco Trevisan (Treviño) 4c4b444f21 debian: Generate postinst devices list automatically at gbp import phase
Alternatively provide a script to keep the post-inst script updated
2021-01-21 19:34:13 +01:00
Marco Trevisan (Treviño) b97f10d63d debian/patches: Explicitly mark libfprint as a shared library 2021-01-21 19:34:13 +01:00
Marco Trevisan (Treviño) 20d9b79584 New upstream version 1.90.7+git1 2021-01-21 19:23:22 +01:00
Marco Trevisan (Treviño) 327a8047b9 New upstream version 1.90.7+git1 2021-01-21 19:17:25 +01:00
Marco Trevisan (Treviño) 742513ee87 New upstream version 1.90.7+git1 2021-01-21 19:13:37 +01:00
Marco Trevisan (Treviño) e13a070cb5 debian/rules: Don't remove the meson generated private values from pc file
This is now generated correctly by upstream, so no need to drop anything
from it.
2021-01-21 17:41:02 +01:00
Benjamin Berg 89890dbd1f build: Explicitly mark libfprint as a shared library
While meson suggests to always use 'library' this leads to some unwanted
behaviors when it comes to generate pkg-config files for it, as they
will include `Libs.Private` / `Required.private` fields that should not
be really part of a shared library as libfprint is meant to be used.
2021-01-21 17:36:41 +01:00
Marco Trevisan (Treviño) 0978747035 debian/rules: Manually set udev hwdb directory (was rules dir before) 2021-01-21 17:24:41 +01:00
Marco Trevisan (Treviño) eb21b898aa libfprint-2-2.install: Install hwdb file 2021-01-21 17:24:41 +01:00
Marco Trevisan (Treviño) 5f902c9298 debian/rules: Do not autorename upstream rules file anymore
It's not there, while there's no point to rename the hwdb one.
2021-01-21 17:24:41 +01:00
Marco Trevisan (Treviño) 3ccd267ad2 debian/patches: Use hwdb to store device autosuspend rules and drop debian specifics
Upstream will use an hwdb to store the device autosuspend (that will be
included in systemd also, so libfprint packagin may stop shipping it at
later point), so use it earlier.

Drop the debian specific rules to set the devices part of the `plugdev`
group as such devices should not be ever readable by an user, but the
access should be managed through a libfprint-based service (frpintd at
the date).
2021-01-21 17:24:34 +01:00
fengqiangguo e0c41c5444 goodixmoc: Fix some big/little endian support issues
Goodix driver is not working fine in BigEndian architectures. This
commit fixes some of these issues.

Related: #236
2021-01-21 16:21:06 +00:00
Marco Trevisan (Treviño) f2c4614779 gbp.conf: Prepare for experimental branching 2021-01-21 17:15:13 +01:00
Marco Trevisan (Treviño) c8a14db3d5 Upload to unstable 2021-01-21 17:10:57 +01:00
Marco Trevisan (Treviño) 8960e7f974 Update changelog 2021-01-21 17:10:06 +01:00
Marco Trevisan (Treviño) 8b7f8dc77b debian/libfprint-2-2.postinst: Regenerate the list based on new IDs 2021-01-21 17:06:51 +01:00
Marco Trevisan (Treviño) 702c58152c debian/patches: Skip udev rules tests when not all drivers are compiled 2021-01-21 17:01:50 +01:00
Marco Trevisan (Treviño) 3b83157e9b build: Skip the hwdb test if not all drivers are really enabled 2021-01-21 15:55:44 +00:00
Marco Trevisan (Treviño) 57f836a0f6 udev-hwdb: Generate autosuspend list using a sorted list 2021-01-21 15:55:44 +00:00
Marco Trevisan (Treviño) 170924ee4f test-generated-hwdb: Just use diff to compare for being more informative 2021-01-21 15:55:44 +00:00
Marco Trevisan (Treviño) dd326c90c2 Upload to unstable 2021-01-21 13:38:59 +01:00
Marco Trevisan (Treviño) 8e5b192b00 Update changelog 2021-01-21 13:38:54 +01:00
Marco Trevisan (Treviño) eaff869235 debian/patches: Ensure that umockdev tests will pass with libusb 1.0.24
Closes: #977848, #978256
2021-01-21 13:32:48 +01:00
Marco Trevisan (Treviño) 36e8ef7ad9 debian/patches: Include upstream udev fixes and use hardcoded rules
Fixes the multi-arch file conflict
2021-01-21 13:29:50 +01:00
Benjamin Berg 63bfaf4f60 tests: Add trailing newline to busname/devname sysfs attributes
libusb 1.0.24 now expects busnum/devnum to be \n terminated. Update the
device descriptions accordingly.

https://github.com/martinpitt/umockdev/issues/115
2021-01-21 11:28:47 +00:00
Marco Trevisan (Treviño) 2f6adce2fa data: Keep using versioned libname for hwdb file 2021-01-21 01:17:02 +01:00
Marco Trevisan (Treviño) 018641ad20 build: Ensure we process the data dir 2021-01-21 00:58:08 +01:00
Marco Trevisan (Treviño) a342ae72af debian/patches: Refresh, dropping merged 2021-01-21 00:31:17 +01:00
Marco Trevisan (Treviño) 90142ed596 New upstream release 2021-01-21 00:09:14 +01:00
Marco Trevisan (Treviño) 261ab7cc82 Update upstream source from tag 'upstream/1.90.7'
Update to upstream version '1.90.7'
with Debian dir 6c3497e22e
2021-01-21 00:09:14 +01:00
Marco Trevisan (Treviño) 0ac97568dc New upstream version 1.90.7 2021-01-21 00:09:08 +01:00
Benjamin Berg 8ded064e65 tests: Add test based on the new virtual devices
Co-authored-by: Marco Trevisan (Treviño) <mail@3v1n0.net>
2021-01-20 23:21:41 +01:00