Commit Graph

1190 Commits

Author SHA1 Message Date
Iain Lane 9b19329530 control: Point Vcs-* to salsa/ubuntu-dev-team/libfprint 2020-03-02 15:50:26 +00:00
Marco Trevisan (Treviño) f164d4f4cb Update changelog 2020-02-28 18:19:25 +01:00
Marco Trevisan (Treviño) a8e81cdabb debian/control: Point Vcs tag to the ubuntu branch 2020-02-28 18:18:32 +01:00
Marco Trevisan (Treviño) 57790cf413 debian/README.tod.md: Added informations about the TOD fork 2020-02-28 17:58:07 +01:00
Marco Trevisan (Treviño) 453aed42d6 debian/control: Set ubuntu as maintainer 2020-02-28 17:58:07 +01:00
Marco Trevisan (Treviño) a93bdd27d4 debian: Add libfprint-2-tod library and headers
Add packaging for libfprint-TOD
2020-02-28 17:58:07 +01:00
Marco Trevisan (Treviño) 562401943b Update upstream source from tag 'upstream/1.90.1+tod1'
Update to upstream version '1.90.1+tod1'
with Debian dir c02802d539
2020-02-28 17:56:54 +01:00
Marco Trevisan (Treviño) 0442d58a11 New upstream version 1.90.1+tod1 2020-02-28 17:56:53 +01:00
Marco Trevisan (Treviño) b1cf057468 Bump libfprint-tod version to v1.90.1+tod1 2020-02-28 17:49:44 +01:00
Marco Trevisan (Treviño) b2a78ddadc README.tod.md: Add a basic readme file 2020-02-28 17:49:44 +01:00
Marco Trevisan (Treviño) d9e208a0d7 debian/watch: Monitor libfprint-tod versions only 2020-02-28 17:11:21 +01:00
Marco Trevisan (Treviño) 0646cc7b66 debian/gbp.conf: Use 'upstream-tod' branch as our upstream branch 2020-02-28 17:11:21 +01:00
Marco Trevisan (Treviño) 3db8cec669 debian/gbp.conf: Track ubuntu branch 2020-02-28 15:59:30 +01:00
Laurent Bigonville 18fd52457d Release to experimental 2020-02-27 16:28:59 +01:00
Marco Trevisan (Treviño) 19225aaa3e meson: Add fpi-compat.h to the private headers 2020-02-27 06:04:20 +01:00
Marco Trevisan (Treviño) 7b7fc2423e tod: Simplify the lib versioning as per upstream libname based on soname
No need to keep track of both revisions, as now that's part of the name
2020-02-27 05:58:33 +01:00
Marco Trevisan (Treviño) 337fe867e9 tod-shared-loader: Only allow drivers starting with "lib" prefix 2020-02-27 05:26:32 +01:00
Marco Trevisan (Treviño) 49fd3a5035 Merge tag 'v1.90.1' into tod
Tag 1.90.1
2020-02-27 05:24:32 +01:00
Sebastien Bacher fd87b0daf6 Use the correct indentation for the previous changes 2020-02-24 17:31:53 +01:00
Sebastien Bacher 21a02ce472 * debian/rules:
- don't fail the build on s390x test results, upstream stated that
    fixing those is low priority for them since there is no real
    usecase for fingerprint authentification on that architecture.
2020-02-24 17:30:38 +01:00
Sebastien Bacher e2a4e3900e * debian/patches/git_reading_pointer.patch:
- backport an upstream fix for a test issue
2020-02-24 17:22:39 +01:00
Laurent Bigonville 6392dbcb80 debian/control: Add libcairo-dev and python3 to build-dependencies as they are explicitly required for some tests 2020-02-13 17:37:30 +01:00
Laurent Bigonville cb5346069f Release to unstable 2020-02-13 16:36:07 +01:00
Laurent Bigonville acbab37922 d/p/udev-rules-creation-add-Debian-specifics.patch: Avoid unprivileged users to be able to read the devices, this is not necessary and could lead to fingerprint images being captured. 2020-02-13 11:21:19 +01:00
Laurent Bigonville 477213a6c9 debian/control: Bump Standards-Version to 4.5.0 (no further changes) 2020-02-13 11:17:48 +01:00
Laurent Bigonville d0ddfbfa4f The soname changed again, adjust it accordingly 2020-02-13 11:17:48 +01:00
Laurent Bigonville bca8ec86b8 debian/gbp.conf: Upstream tags have changed format 2020-02-13 11:17:48 +01:00
Laurent Bigonville 338dae9dc4 New upstream release (1.90.1)
New upstream release (1.90.1) and bump libglib2.0-dev and meson minimal versions
2020-02-13 11:17:43 +01:00
Laurent Bigonville b5c714185d Update upstream source from tag 'upstream/1.90.1'
Update to upstream version '1.90.1'
with Debian dir 0b911193c7
2020-02-12 18:13:09 +01:00
Laurent Bigonville b3d4a61194 New upstream version 1.90.1 2020-02-12 18:13:06 +01:00
Benjamin Berg 66c9e4a829 Update for 1.90.1 release v1.90.1 2020-02-10 12:20:25 +01:00
Marco Trevisan (Treviño) 0bb8ad1313 tests: Make meson be aware of the single python unit tests
Scan for the unit tests in virtual-image suite and handle them individually
2020-02-10 11:41:40 +01:00
Marco Trevisan (Treviño) 6eb06697e9 tests/virtual-image: Use introspection names for errors 2020-02-10 11:41:40 +01:00
Marco Trevisan (Treviño) 355cae1bbd fp-device: Return error if trying to list a storage-less device
Devices with no storage don't allow listing prints, and if we try to do
that, we'd end up in trying to call a NULL function pointer, causing a crash

So always check if the device has storage before calling the list vfunc, and
if we fail, return an error.

Include an unit-test to verify this situation
2020-02-10 11:41:40 +01:00
Marco Trevisan (Treviño) 15a90eb451 meson: Use gnu99 as default C standard 2020-02-10 11:41:40 +01:00
Marco Trevisan (Treviño) 82ba69b1df meson: Depends on gusb 0.2.0, but only enable tests on 0.3.0 2020-02-10 11:41:40 +01:00
Marco Trevisan (Treviño) ccd42bdece gitignore: Remove autotools ignores, add _build 2020-02-10 11:41:40 +01:00
Benjamin Berg e19a1a6550 meson: Create include directories in build tree
Without this we get warnings like the following:

  cc1: warning: .../_build/libfprint/nbis/libfprint-include: No such file or directory [-Wmissing-include-dirs]
2020-02-10 11:41:40 +01:00
Benjamin Berg 5ac770c614 tests: Return skip error if import fails
Rather than backtracing, just print the exception and return a skip
error if the import fails.
2020-02-10 11:41:40 +01:00
Marco Trevisan (Treviño) 5faf8498d9 compat: Use new GDate autoptr and define if needed 2020-02-10 11:41:40 +01:00
Marco Trevisan (Treviño) cfbd5d27b7 comapt: Add FpDeviceClass compatibility autoptr and use it 2020-02-10 11:41:37 +01:00
Benjamin Berg 169ca1ba77 compat: Add compatibility defines for older GLib
We are already using a number of defines and autoptrs from newer GLib
releases. Add the appropriate compatibility defines rather than removing
the corresponding code.

Closes: #222
2020-02-10 11:40:40 +01:00
Marco Trevisan (Treviño) bb08d2e3c2 ci: Use extends to define extra libfprint variables
This allows to merge the values when included instead of replacing the whole
variables stanza.
2020-02-05 20:00:07 +01:00
Marco Trevisan (Treviño) ca5143ffa5 ci: Exclude flatpak job from the schedules 2020-02-05 19:37:42 +01:00
Marco Trevisan (Treviño) 7eb10178b8 ci: Use a template to define libfprint dependencies
This allows to share the configuration with fprintd
2020-02-05 18:04:00 +01:00
Marco Trevisan (Treviño) 2c9e252ca4 meson: Use versioned name for autosuspend udev rules
Given distros may have the previous value around, let's rename this too
2020-01-23 17:25:38 +01:00
Marco Trevisan (Treviño) 23fab3a20a Change SONAME and all the library paths to libfprint-2
To avoid conflicts with previous libfprint version and make sure that the
target version is the correct one (plus to allow parallel install in some
distros), let's use a versioned naming for the library keeping the abi
version in sync.

Fixes #223
2020-01-23 17:09:58 +01:00
Marco Trevisan (Treviño) 24e9363a46 doc/meson: Use ignore_headers instead of scan_args 2020-01-23 17:00:08 +01:00
Marco Trevisan (Treviño) a12d316aa4 meson: Use project name for log domain 2020-01-23 17:00:04 +01:00
Benjamin Berg 88461d53ec upekts: Fix use-after-free in an error condition
The callback function would continue processing even after having failed
the SSM already. This causes further invalid operations on the SSM.

This error was found using a coverity scan.
2020-01-21 14:19:33 +00:00