Bastien Nocera
a218a5efdd
virtual-image: Fix typo
2020-04-14 13:51:01 +02:00
Bastien Nocera
c6ae8e58a4
elan: Fix typo
2020-04-14 13:50:49 +02:00
Bastien Nocera
87c7894c28
synaptics: Fix typos
2020-04-14 13:47:48 +02:00
Marco Trevisan (Treviño)
e7ff4f705c
tests: Import FPrint only during execution not when parsing
...
The unittest_parser script would try to import FPrint gi module, but it
would fail as per the fact that none is installed yet, so make sure that
we don't load any FPrint module until we try to actually run the tests
2020-03-27 21:19:09 +00:00
Marco Trevisan (Treviño)
c26588942a
ci: Print coverage data once available so that gitlab can parse it
2020-03-27 00:00:07 +01:00
Laurent Bigonville
3d68cddfe7
Properly set the dependencies in the pkg-config file
...
The public API uses gio and gobject header, ensure that these are in the
list of Required pkg-config modules, otherwise they are added to
Required.private which is not OK.
2020-03-20 11:13:06 +00:00
Benjamin Berg
96fba323b9
meson: Fix linking issue of libfprint with newer gcc
...
It appears the order of linking is relevant in this case, change it to
fix some linking issues.
It may be that there are better solutions to this problem.
2020-03-20 12:05:14 +01:00
Benjamin Berg
bd4f118b5e
ci: Update CI after the fdo template changes
...
The CI definition needs to be updated to work with the new fdo
templates.
2020-03-20 12:05:14 +01:00
Benjamin Berg
9d4b5ad682
Revert "ci: Fix CI syntax error"
...
This reverts commit bd500b2235 .
The fix from the commit was not correct.
See https://gitlab.freedesktop.org/libfprint/libfprint/-/merge_requests/124
2020-03-20 12:05:08 +01:00
Benjamin Berg
ca788b6de2
Revert "ci: Fix unknown keys in CI"
...
This reverts commit ebe5cb58ba .
The fix from the commit was not correct.
See https://gitlab.freedesktop.org/libfprint/libfprint/-/merge_requests/124
2020-03-20 12:04:58 +01:00
Bastien Nocera
90ccf9a0af
vfs0050: Fix incorrect destructor for GError
2020-03-13 10:23:52 +01:00
Bastien Nocera
2581f1aa32
aes1610: Fix memory leak
...
Fix small memory leak when reading some data that's not going to be
processed.
2020-03-13 10:23:52 +01:00
Bastien Nocera
ebe5cb58ba
ci: Fix unknown keys in CI
...
Fix:
root config contains unknown keys: container_fedora_build
2020-03-13 10:14:59 +01:00
Bastien Nocera
bd500b2235
ci: Fix CI syntax error
...
Fix CI syntax error:
container_fedora_build: unknown keys in `extends` (.fedora@container-build)
Caused by changes in the wayland CI templates:
https://gitlab.freedesktop.org/wayland/ci-templates/-/commit/4a73f030d0602042cfa44ed94dc5e744b52f57aa
2020-03-13 10:08:58 +01:00
Bastien Nocera
8fa50d667c
ci: s/flatpack/flatpak/
...
“Flatpack” is for IKEA furniture.
2020-03-13 10:08:58 +01:00
Laurent Bigonville
18fd52457d
Release to experimental
2020-02-27 16:28:59 +01:00
Marco Trevisan (Treviño)
2ae8b74e60
meson: Add fpi-compat.h to the private headers
2020-02-27 06:03:21 +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
Benjamin Berg
f4ec816a6b
tests: Cast to correct pointer type rather than gpointer
...
This is just a small cleanup
2020-02-19 16:42:30 +01:00
Benjamin Berg
9e2a7235e3
tests: Fix reading of gboolean into pointer
...
Otherwise the payload will be lost later on when using GPOINTER_TO_INT
to cast it back.
See: #236
2020-02-19 16:42:30 +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