Marco Trevisan (Treviño)
7f35c374ec
Merge tag 'debian/1%1.94.7-2' into ubuntu
...
libfprint Debian release 1:1.94.7-2
2024-02-20 09:24:23 +01:00
Marco Trevisan (Treviño)
b6df70ce0c
debian/libfprint-2-2.postinst: Devices triggers updated
2024-02-20 09:12:18 +01:00
Marco Trevisan (Treviño)
4efdb738c5
New upstream release
2024-02-20 09:12:17 +01:00
Marco Trevisan (Treviño)
8060f4bce8
Update upstream source from tag 'upstream/1.94.7+tod1'
...
Update to upstream version '1.94.7+tod1'
with Debian dir 06d2027ceb
2024-02-20 09:12:17 +01:00
Marco Trevisan (Treviño)
ef6d9ebfd6
New upstream version 1.94.7+tod1
2024-02-20 09:12:13 +01:00
Marco Trevisan (Treviño)
76a95ce45f
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
2024-02-20 08:58:28 +01:00
Marco Trevisan (Treviño)
90668816e3
build: Look for sh just once
2024-02-20 08:58:28 +01:00
Marco Trevisan (Treviño)
bfb4272674
tests/tod-drivers: Test tod driver 1.94.1 not 1.94.0 as it was not released
2024-02-20 08:58:28 +01:00
Marco Trevisan (Treviño)
72922217fa
tests/tod-drivers: Update binaries as per a test leak fix
2024-02-20 08:58:28 +01:00
Marco Trevisan (Treviño)
9e53d14fc4
Upload to unstable
2024-02-20 08:42:26 +01:00
Marco Trevisan (Treviño)
4427093248
Update changelog
2024-02-20 08:42:20 +01:00
Marco Trevisan (Treviño)
c2b0b14c79
debian/control: Add gir depends and provides fields to dev package
2024-02-20 08:39:15 +01:00
Marco Trevisan (Treviño)
20ba90212b
debian/control: Add build-dependency on gir1.2-{gobject,gio}-2.0-dev
2024-02-20 08:35:46 +01:00
Marco Trevisan (Treviño)
9e05793948
debian/patches: Cherry-pick patches to ignore tests missing dependencies
...
Closes : #1059027
2024-02-20 08:28:59 +01:00
Marco Trevisan (Treviño)
b972866b25
tests/libfprint.supp: Ignore bash leaks
2024-02-20 07:47:12 +01:00
Marco Trevisan (Treviño)
eb8ce585c6
tests: Add test files for tod 1.94.7 version
2024-02-20 07:25:35 +01:00
Marco Trevisan (Treviño)
11ad450af1
libfprint/tod/build: Require libgusb dependency on pkgconfig
...
We include the directories so we definitely need to depend on it at
compile time.
2024-02-20 07:19:51 +01:00
Marco Trevisan (Treviño)
619827ac7a
tests: Use FP_DRIVERS_ALLOWLIST variable instead of old one
2024-02-20 07:02:25 +01:00
Marco Trevisan (Treviño)
ecc33b5cc6
fpi-image: Add docstring for FPI_IMAGE_NONE
2024-02-20 07:00:07 +01:00
Marco Trevisan (Treviño)
ef99359428
Merge tag 'v1.94.7' into tod
...
2024-02-20: v1.94.7 release
Highlights:
* synaptics: fix enroll identify problem after user reset database.
* synaptics: New PIDs 0x0173, 0x0106, 0x0124.
* goodixmoc: New PID 0x6582.
* build: Do not require bash to build, only posix sh.
* fp-image: Simplify minutiae detection tasks.
* GLib 2.68 is now required to build libfprint.
New drivers:
* realtek (PID 0x5813).
* focaltech_moc (PIDs 0x9E48, 0xD979, 0xA959).
* egismoc (PIDs 0x0582, 0x05a1).
Git-EVTag-v0-SHA512: 17cc50269368e861ea751af2a3ff957329191ca66832033bb71995e8e9e56f86af955559b147217a19f218af5b1eec0fd2bce5dd2b4f4381be48ef3d6610003d
2024-02-20 06:59:53 +01:00
Marco Trevisan (Treviño)
034efaa849
Upload to unstable
2024-02-20 06:46:40 +01:00
Marco Trevisan (Treviño)
55036d3e5f
Update changelog
2024-02-20 06:46:09 +01:00
Marco Trevisan (Treviño)
005af841f8
debian: use udev.pc to place udev rules and hwdb
...
Closes : #1058843
2024-02-20 06:39:21 +01:00
Marco Trevisan (Treviño)
afd5ef4690
debian/patches: Drop, applied upstream
2024-02-20 06:34:26 +01:00
Marco Trevisan (Treviño)
d5f19e380b
debian/libfprint-2-2.postinst: Devices triggers updated
2024-02-20 06:30:10 +01:00
Marco Trevisan (Treviño)
b9fefd1ed0
New upstream release
2024-02-20 06:30:08 +01:00
Marco Trevisan (Treviño)
f1fdf3dd88
Update upstream source from tag 'upstream/1.94.7'
...
Update to upstream version '1.94.7'
with Debian dir 1c92bfb17d
2024-02-20 06:30:08 +01:00
Marco Trevisan (Treviño)
4c0d5aff6a
New upstream version 1.94.7
2024-02-20 06:30:05 +01:00
Marco Trevisan (Treviño)
bebe8565cd
Release 1.94.7
2024-02-20 01:09:54 +01:00
Marco Trevisan (Treviño)
5501dc7b47
build: Stop using deprecated dep.get_pkgconfig_variable() method
...
Use generic get_variable() instead
2024-02-20 01:02:00 +01:00
Marco Trevisan (Treviño)
3e5ab6fdad
egismoc: Convert value check values to big endian only when needed
...
Since the driver seem to require a big-endian value it's just better
to use architecture native endianness to compute the check value and
eventually just convert to big endian as the chip wants.
2024-02-19 23:38:40 +01:00
Marco Trevisan (Treviño)
5462db9901
egismoc: Convert the check value to little endian
...
In this way we can support the big-endian architectures too.
2024-02-19 23:38:40 +01:00
Marco Trevisan (Treviño)
59dc585ccd
egismoc: Simplify check bytes computation
...
We use big endian values for generating the check bytes, but we can do
the same logic in a simpler way.
2024-02-19 23:38:40 +01:00
Marco Trevisan (Treviño)
6768bd0ff4
egismoc: Use strictly sized types to hold check bytes contents
...
So we are sure about the size we're sending at compile time too.
2024-02-19 23:38:40 +01:00
Marco Trevisan (Treviño)
ed1815c3d9
build: Allow testing more drivers in both big and little endian
...
I've tested them in a s390x host and many more tests work fine, so let's
enable them.
2024-02-19 23:38:40 +01:00
Marco Trevisan (Treviño)
057c209beb
build: Build-depend on glib 2.68
...
GLib 2.68 is now more than 3 years old, so we can definitely start
using it without thinking too much.
This allows us to drop lots of compat code that we had around.
And like the previous commit tells us, it will also help us to have
more correct code around.
2024-02-19 22:23:02 +01:00
Marco Trevisan (Treviño)
90c4afded4
cleanup: Use non-const pointers for non constant cases
...
We had various cases in which we were using const pointers for
non constant data, and in fact we were allocating and free'ing
them.
So let's handle all these case properly, so that we won't have
newer GLib complaining at us!
2024-02-19 22:14:14 +01:00
Marco Trevisan (Treviño)
f8f28a066b
egismoc: Simplify fingerprint id and firmware reading
...
We can do copy and duplicate in oneshot since we are handling strings
after all.
2024-02-19 17:25:21 +01:00
Marco Trevisan (Treviño)
adc66edd8d
egismoc: Implement suspension properly
...
In case of suspension we can't just cancel the operations but
also return when completed, and this may not happen immediately
if there are ongoing operations.
This is automagically handled by libfprint internals, but in order
to make it happen, we need to cancel the ongoing operations and then
mark it completed. libfprint will then wait for the task completion
before actually marking the device as suspended.
2024-02-19 17:21:58 +01:00
Marco Trevisan (Treviño)
9af211cc89
egismoc: Use device cancellable on transfers
2024-02-19 17:12:12 +01:00
Marco Trevisan (Treviño)
904bddd988
egismoc: Use g_new0 instead of g_malloc to make the type clearer
2024-02-19 17:12:12 +01:00
Marco Trevisan (Treviño)
8badfa84e9
egismoc: Assert that current transfer is unset when setting it
...
We need to ensure that we are not overwriting the instance transfer, so
that we can be sure that we are only doing one transfer at time.
Also we need to ensure that the ssm unsetting it, is the owner of it.
2024-02-19 17:12:12 +01:00
Marco Trevisan (Treviño)
b97efa6fed
egismoc: Assert that task ssm is unset when setting it
...
We need to ensure that we are not overwriting the instance SSM, so that
we can be sure that we are only doing one operation at time.
Also we need to ensure that the task unsetting it, is the owner of it.
2024-02-19 17:12:12 +01:00
Marco Trevisan (Treviño)
6767cd1a4f
egismoc: Ensure that the command callback is after SSM is completed
...
We need to make sure that we won't trigger a callback when a SSM is
already in progress or we may end up overwriting it
2024-02-19 17:12:12 +01:00
Marco Trevisan (Treviño)
226b6abfab
egismoc: Use an autopointer to cleanup error on command done callback
2024-02-19 17:12:12 +01:00
Marco Trevisan (Treviño)
9e2c14d64e
egismoc: Clarify delete print ownership in delete callback
2024-02-19 17:12:12 +01:00
Marco Trevisan (Treviño)
92aeb53ee8
egismoc: Simplify egismoc identification stage handling
2024-02-19 17:12:12 +01:00
Marco Trevisan (Treviño)
87f68e3ac1
egismoc: Avoid gotos in init code, just handle the errors immediately
2024-02-19 17:12:12 +01:00
Marco Trevisan (Treviño)
8073a5dc34
egismoc: Remove unused increments
...
This is also to please static analyzer
2024-02-19 17:12:12 +01:00
Marco Trevisan (Treviño)
eb09156244
egismoc: Clear enrolled IDs using nicer GLib api
2024-02-19 17:12:12 +01:00
Marco Trevisan (Treviño)
b8cfb95b49
egismoc: Ensure we've enough null bytes at the end of strings
2024-02-19 17:12:12 +01:00
Marco Trevisan (Treviño)
a7843add0f
egismoc: Do not initialize to zero twice
2024-02-19 17:12:12 +01:00
Marco Trevisan (Treviño)
b0f0322726
egismoc: Indentation and syntax fixes
2024-02-19 17:12:12 +01:00
Marco Trevisan (Treviño)
7476faba68
data, libfprint: Update list of unsupported drivers
2024-02-19 16:16:02 +01:00
Marco Trevisan (Treviño)
e05fbaa8ab
realtek: Do not initialize variables in switch cases
...
Handles scan-build warning
2024-02-13 14:54:42 +00:00
Marco Trevisan (Treviño)
61f9346aaf
realtek: Do not leak an error
...
Found by scan-build.
2024-02-13 14:54:42 +00:00
Marco Trevisan (Treviño)
d878148b5e
ci: Expose scan build artifacts on failures
...
That's the only case we care about
2024-02-13 14:54:42 +00:00
Marco Trevisan (Treviño)
ee509c7ee6
libfprint/fprint-list-udev-hwdb: Update unsupported list from wiki
2024-02-13 15:28:53 +01:00
Marco Trevisan (Treviño)
2fa0975dec
cleanup: Address some newer uncrustify syntax cleanups
2024-02-13 15:25:15 +01:00
Marco Trevisan (Treviño)
f3ab1f996f
fp-context: use g_strv_contains instead of manual labor
2024-02-13 15:25:15 +01:00
Marco Trevisan (Treviño)
92c5fc4643
cleanup: Use allow/deny lists instead of color based ones
...
There was nothing racist on those names here (what? Do human races even
exist?!), but let's avoid any confusion.
2024-02-13 15:19:47 +01:00
Marco Trevisan (Treviño)
85ec9ec5b2
ci: Allow flatpak failure
...
It's not a critical thing, so if it fails (as it does currently) we
should not block on that.
2024-02-13 14:42:18 +01:00
Marco Trevisan (Treviño)
b8933d8f81
fp-print: Do not check compile-time macros at runtime
2024-02-13 14:36:46 +01:00
Marco Trevisan (Treviño)
5a1253e37c
fp-image: Do not start thread detection task thread if already running
2023-11-24 21:02:50 +01:00
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
Marco Trevisan (Treviño)
2414dbdbd4
libfprint/fprint-list-udev-hwdb: Update unsupported devices from wiki
2023-09-27 19:44:37 +02: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
Marco Trevisan (Treviño)
af5c5064b9
Upload to mantic
2023-09-07 17:59:33 +02:00
Marco Trevisan (Treviño)
05e069937b
Update changelog
2023-09-07 17:55:54 +02: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)
843ca987aa
Merge tag 'debian/1%1.94.6-1' into ubuntu
...
libfprint Debian release 1:1.94.6-1
2023-08-23 01:24:15 +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)
31168e8f83
Upload to mantic
2023-08-23 00:31:57 +02:00
Marco Trevisan (Treviño)
3eadf227e4
Update changelog
2023-08-23 00:31:52 +02:00
Marco Trevisan (Treviño)
3e6500c2b9
debian/rules: Always force building udev hwdb
...
We are more updated than systemd, so let's use libfprint own rules
2023-08-23 00:31:37 +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)
cf18fc3b68
debian/intian-overrides: Update lintian syntax to ignore built drivers
2023-08-21 13:07:09 +02:00
Marco Trevisan (Treviño)
362bbfae13
debian/patches: Use proper rpath and permissions on installed libraries
2023-08-21 13:07:09 +02:00