Commit Graph

1473 Commits

Author SHA1 Message Date
Marco Trevisan (Treviño) 41e05b1133 test-fpi-device: Don't compare error pointers that have been cleared
During verify/identify complete we replace the error pointer that the driver
returned with another error we created, after clearing that one.

However, when we initialize a new error the compiler may reuse the same
allocation of the cleared one, and this might lead to a test failure.

So, don't be so fragile and ignore the pointer check
2020-04-15 14:19:53 +02:00
Bastien Nocera 579e01359b fp-print: Fix sign-compare warnings
libfprint/fp-print.c: In function ‘fp_print_equal’:
libfprint/fp-print.c:596:21: warning: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘unsigned int’} [-Wsign-compare]
  596 |       for (i = 0; i < self->prints->len; i++)
      |                     ^
libfprint/fp-print.c: In function ‘fp_print_serialize’:
libfprint/fp-print.c:667:21: warning: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘unsigned int’} [-Wsign-compare]
  667 |       for (i = 0; i < print->prints->len; i++)
      |                     ^
libfprint/fp-print.c: In function ‘fp_print_deserialize’:
libfprint/fp-print.c:823:21: warning: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘gsize’ {aka ‘long unsigned int’} [-Wsign-compare]
  823 |       for (i = 0; i < g_variant_n_children (prints); i++)
      |                     ^
2020-04-15 12:48:05 +02:00
Bastien Nocera cc887c1a37 libfprint: Fix typos 2020-04-14 13:51:02 +02:00
Bastien Nocera fdd2d6abf8 fprint-list: Fix typos in Copyright statements 2020-04-14 13:51:02 +02:00
Bastien Nocera 6bf29108a1 examples: Fix typo 2020-04-14 13:51:02 +02:00
Bastien Nocera d0751ae06b tests/elan: Fix typos 2020-04-14 13:51:02 +02:00
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
Iain Lane 657dffe962 Finalise changelog 2020-03-03 09:21:37 +00:00
Iain Lane e67392d535 Update changelog 2020-03-03 08:42:22 +00:00
Iain Lane 209f0ade93 Fix the version in the symbols file
Gbp-Dch: Ignore
2020-03-03 08:42:20 +00:00
Iain Lane 91badb1f6e Rename the .install / .symbols files too
Gbp-Dch: Ignore
2020-03-03 08:33:04 +00:00
Marco Trevisan (Treviño) f791577134 debian/control: Make package to match soname, rename to libfprint-2-tod1 2020-03-03 09:01:27 +01:00
Iain Lane 3029be82d8 Finalise changelog 2020-03-02 17:10:54 +00:00
Iain Lane 1b8614c25f Update changelog 2020-03-02 17:10:54 +00:00
Iain Lane f9cb4dc91c gbp.conf: Specify ubuntu tag pattern
Gbp-Dch: Ignore
2020-03-02 17:10:54 +00:00
Iain Lane 27cda550a6 debian/libfprint-2-tod-1.symbols: Add +tod1 version
Gbp-Dch: Ignore
2020-03-02 16:43:17 +00:00
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) 2ae8b74e60 meson: Add fpi-compat.h to the private headers 2020-02-27 06:03:21 +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