Commit b1cf0574 authored by Marco Trevisan's avatar Marco Trevisan
Browse files

Bump libfprint-tod version to v1.90.1+tod1

parent b2a78dda
Pipeline #113996 failed with stages
in 4 minutes and 57 seconds
### libfprint-TOD v1
- First public release
- Based on [libfprint 1.90.1](https://gitlab.freedesktop.org/libfprint/libfprint/-/releases#v1.90.1)
- Bumped TOD version to 1
### Highlights of the Drivers API changes
Both the driver and external APIs have changed, as both the verify and the identify functions now have early reporting mechanisms.
- Added API for early report of matching results or retry errors
- Verify and identification completion functions have been simplified
- Support variadic arguments in error functions
- Various re-definitions of ownership handling
- Add convenience API to change state after a timeout
- Add unit tests for all the drivers API
### Drivers required changes
As per the early report mechanism, drivers need to adapt, in particular:
- New pkg-config dependency name is `libfprint-2-tod-1`
- Verification and Identification API for non-image drivers has changed and drivers need to both `report` the result of the action and complete it:
- `fpi_device_{verify,identify}_report` must inform whether a match/no-match or identification happened or report a *retry error*.
- `fpi_device_{verify,identify}_complete` must be called once the device has completed the verification / identification process, in case reporting device errors (not retry ones!)
You can see examples of changes needed in the [reference example driver](https://gitlab.freedesktop.org/3v1n0/libfprint-tod-example-driver/-/commit/8308f84f7d1cfd1b9ed0936c13c73b43a4a46772) or the [upstream synaptics driver](https://gitlab.freedesktop.org/libfprint/libfprint/-/merge_requests/112/diffs)
project('libfprint', [ 'c', 'cpp' ],
version: '1.90.1',
version: '1.90.1+tod1',
license: 'LGPLv2.1+',
default_options: [
'buildtype=debugoptimized',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment