Commit Graph

2001 Commits

Author SHA1 Message Date
Marco Trevisan (Treviño) 2b008b52d7 fp-image: Simplify minutiae detection tasks
We can just use a GTask to handle the detection while using the
finish function to process the results to the image, so that it
is more predictable when this happens and it does not depend on
a thread returning.

Also remove data duplication when possible, this class wasn't
fully safe anyway to be used concurrently, so there's no point
to copy data when not needed. Also added the hard constraint to
not proceed with minutiae detection if something else is already
doing this.

At the same time we can mark the task to finish early on
cancellation.
2023-11-21 16:43:04 +00:00
Marco Trevisan (Treviño) 83939abe10 fp-image: Add FP_IMAGE_NONE flags definition 2023-11-21 16:43:04 +00:00
Marco Trevisan (Treviño) 16d02b3ed5 fp-image: Remove unused ref_count flag
It's an object so we already ref-count it.
2023-11-21 16:43:04 +00:00
huan_huang 79be91831c drivers: add realtek rts5813 driver 2023-10-27 13:21:06 +00:00
Aris Lin 427139f347 synaptics: Add new PID 0x0106 2023-10-24 14:56:15 +08:00
Aris Lin 3ebd2c3f97 synaptics: Add new PID 0x0173 2023-10-19 14:25:09 +08:00
Marco Trevisan (Treviño) 2414dbdbd4 libfprint/fprint-list-udev-hwdb: Update unsupported devices from wiki 2023-09-27 19:44:37 +02:00
swbgdx 0eae0e8cc0 goodixmoc: Add PID 0x6582 2023-09-27 16:10:03 +00:00
Marco Trevisan (Treviño) efba965b0c ci: Build flatpak using gnome master
Also bump dependencies versions
2023-09-27 17:47:38 +02:00
Marco Trevisan (Treviño) 26d2c77c3d ci: Allow manual flatpak build in any fork and MR 2023-09-27 17:29:24 +02:00
Marco Trevisan (Treviño) eb01d7c97d ci: Fix building flatpak using GNOME 42 runtime
Use versioned ci template so we are sure what we're using
2023-09-27 17:10:31 +02:00
Vincent Huang 5bff5bfea6 synaptics: Add null check to prevent g_propagate_error assertion failure 2023-09-11 16:58:33 +08:00
Vincent Huang 206e92218c synaptics: fix enroll_identify problem after user reset database 2023-09-01 09:47:12 +00:00
Marco Trevisan (Treviño) ccb57e4a3a Upload to unstable 2023-08-24 09:19:31 +02:00
Marco Trevisan (Treviño) b2828faa4b Update changelog 2023-08-24 09:19:07 +02:00
Marco Trevisan (Treviño) 5b04729625 debian/control: Update standards-version to 4.6.2, no change needed 2023-08-24 09:17:56 +02:00
Marco Trevisan (Treviño) af4d774a08 debian/rules: Remove python cache files on clean
Closes: #1047209
2023-08-23 01:47:13 +02:00
Marco Trevisan (Treviño) b885874329 debian/changelog: Remove fixup line 2023-08-23 01:43:21 +02:00
Marco Trevisan (Treviño) a530bb66b0 Upload to unstable 2023-08-23 01:11:51 +02:00
Marco Trevisan (Treviño) d057cc311f Update changelog 2023-08-23 01:11:05 +02:00
Marco Trevisan (Treviño) 381ea2292d debian/patches: Remove execution bit from test asset 2023-08-23 01:10:47 +02:00
Marco Trevisan (Treviño) fcbabf6cbd fixup! debian/patches: Use assets from correct paths 2023-08-23 01:10:16 +02:00
Marco Trevisan (Treviño) af3dca9003 tests/egis0570/capture.pcapng: Remove execution permission 2023-08-22 23:08:55 +00:00
Marco Trevisan (Treviño) 9ea3bba116 debian/rules: Always force building udev hwdb
We are more updated than systemd, so let's use libfprint own rules

Closes: #1024309
2023-08-23 00:59:55 +02:00
Marco Trevisan (Treviño) 8c238c83f2 debian/patches: Use assets from correct paths 2023-08-23 00:57:00 +02:00
Marco Trevisan (Treviño) 4c1b3b4da3 debian: Add libfprint-2-tests package 2023-08-23 00:57:00 +02:00
Marco Trevisan (Treviño) c676c281ba debian/patches: Drop, applied upstream 2023-08-23 00:57:00 +02:00
Marco Trevisan (Treviño) 196f8a9ea4 debian/libfprint-2-2.postinst: Devices triggers updated 2023-08-23 00:57:00 +02:00
Marco Trevisan (Treviño) 1b4dbf28f2 New upstream release 2023-08-23 00:57:00 +02:00
Marco Trevisan (Treviño) 557189329b Update upstream source from tag 'upstream/1.94.6'
Update to upstream version '1.94.6'
with Debian dir 95f93b760e
2023-08-23 00:57:00 +02:00
Marco Trevisan fabb09bbd7 Merge branch 'scrub-obsolete' into 'debian'
Remove unnecessary constraints

See merge request debian/libfprint!5
2023-08-22 22:56:37 +00:00
Marco Trevisan (Treviño) 0fdda75219 New upstream version 1.94.6 2023-08-23 00:43:29 +02:00
Marco Trevisan (Treviño) b924d715c9 ci: Move build dir during installed tests so we check that we don't use built artifacts 2023-08-21 14:19:27 +00:00
Marco Trevisan (Treviño) 1372d6f081 tests: Use native GTest utils to generate assets names 2023-08-21 14:19:27 +00:00
Marco Trevisan (Treviño) 135a015b6a Release 1.94.6 v1.94.6 2023-08-17 05:08:04 +02:00
swbgdx 96645eaa7a goodixmoc: Add PID 0x633C and 0x6304 2023-08-17 01:37:56 +00:00
hermanlin d37b255a11 elanmoc: add PID 0x0C99 2023-07-10 11:17:27 +08:00
Marco Trevisan (Treviño) 903ee43b2d ci: Do not force-rebuild if an image with such tag exists 2023-06-28 16:35:16 +02:00
Marco Trevisan (Treviño) 8562f8a964 ci: Use meson commands only to setup, compile and install
Old ones are semi-deprecated, so let's adjust to what upstream suggests
2023-06-28 16:35:16 +02:00
Marco Trevisan (Treviño) 5ff794c105 ci: Run installed tests 2023-06-28 16:35:16 +02:00
Marco Trevisan (Treviño) f68e0972c2 ci: Auto-Retry jobs on infrastructure failures 2023-06-28 16:35:16 +02:00
Marco Trevisan (Treviño) ba3cc04e84 tests: Add support for installed tests
They allow distrubtions to check whether libfprint continues working as
expected, in different contexts.
2023-06-28 16:35:16 +02:00
Marco Trevisan (Treviño) 3d4cf44f9b ci: Add gnome-desktop-testing to the image
It can be used to run the installed tests.
2023-06-28 16:23:45 +02:00
Marco Trevisan (Treviño) 8e702012fd ci: Use debuginfo-install to install debug symbols
dnf doesn't seem to handle the plugin well in rawhide:

  bash-5.2# dnf -y debuginfo-install glib2
    Unknown argument "debuginfo-install" for command "dnf5".
    Add "--help" for more information about the arguments.
2023-06-28 15:58:48 +02:00
Marco Trevisan (Treviño) f49879b522 tests/virtual-image: Support passing specific FP_PRINTS_PATH env variable 2023-06-24 00:28:04 +02:00
Marco Trevisan (Treviño) 5e0bf2446b meson: Bump requirements to 0.56 and adapt deprecated functions 2023-06-24 00:28:04 +02:00
Marco Trevisan (Treviño) 4d96a3efaa tests/virtual-device: Check that removed devices are not in context anymore 2023-06-23 18:20:04 +02:00
Marco Trevisan (Treviño) c27d72e3a1 tests/virtual-device: Do not preserve context on unplug tests
The unplug tests assume that the device is removed from the context once
they run, however we may have left the device around in a removed state
causing other tests to fail.

So isolate them in a new class where we create context and device
instances every time we run a test case.
2023-06-22 06:59:00 +02:00
Marco Trevisan (Treviño) 0819df6988 virtual-device: Reset transient parameters on deinit
Tests may change some options so we need to reset these values, even
though some may need not to be reserved when not in keep-alive mode.
2023-06-22 06:55:44 +02:00
Marco Trevisan (Treviño) 28579239a6 tests/virtual-device: Reset keep alive status when test is done
We don't want this to be preserved across tests, since it's meant to be
used inside a single test case.
2023-06-22 06:55:44 +02:00