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)
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)
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
Marco Trevisan (Treviño)
3650ef8137
debian/control: Add explicit tests dependency on python3
...
It's already required since we do require python modules, but let's make
it more explicit to please lintian
2023-08-21 13:07:06 +02:00
Marco Trevisan (Treviño)
95c2ac7085
Upload to mantic
2023-08-17 21:53:59 +02:00
Marco Trevisan (Treviño)
a362755b04
Update changelog
2023-08-17 21:53:03 +02:00
Marco Trevisan (Treviño)
7338440264
debian/patches: Use assets from correct paths
2023-08-17 21:47:02 +02:00
Marco Trevisan (Treviño)
7ba960911a
debian/patches: Install current tod driver for installed tests
2023-08-17 21:06:32 +02:00
Marco Trevisan (Treviño)
2ddb480d42
debian/tests: Run installed tests as regression tests
2023-08-17 20:33:49 +02:00
Marco Trevisan (Treviño)
1b62b88dba
debian/patches: Drop, applied upstream
2023-08-17 20:33:49 +02:00
Marco Trevisan (Treviño)
390dc89a5b
debian: Add libfprint-2-tests package
2023-08-17 20:33:49 +02:00
Marco Trevisan (Treviño)
e325b5b552
debian/libfprint-2-2.postinst: Devices triggers updated
2023-08-17 20:33:47 +02:00
Marco Trevisan (Treviño)
8941e79fea
New upstream release
2023-08-17 20:33:00 +02:00
Marco Trevisan (Treviño)
a57951458e
Update upstream source from tag 'upstream/1.94.6+tod1'
...
Update to upstream version '1.94.6+tod1'
with Debian dir 28838af4e4
2023-08-17 19:53:13 +02:00
Marco Trevisan (Treviño)
2751494b8e
New upstream version 1.94.6+tod1
2023-08-17 19:53:04 +02:00
Marco Trevisan (Treviño)
c848abd272
tests: Add TOD installed tests
2023-08-17 19:45:37 +02:00
Marco Trevisan (Treviño)
3cc1e483fc
tod: Adjust syntax as per new uncrustify
2023-08-17 05:31:28 +02:00
Marco Trevisan (Treviño)
8c6973aa26
Merge tag 'v1.94.6' into tod
...
v1.94.6
Git-EVTag-v0-SHA512: e1afaf08552dd3bc8e20229f4e8e141236a2133ce69cd3c68332e68483fb80a471ac0d7da1eedd6e4b0944b729433ac26e86ec12ef3accc78f86b1331150e185
2023-08-17 05:26:05 +02:00
Marco Trevisan (Treviño)
135a015b6a
Release 1.94.6
2023-08-17 05:08:04 +02:00
Marco Trevisan (Treviño)
903ee43b2d
ci: Do not force-rebuild if an image with such tag exists
2023-06-28 16:35:16 +02:00
Marco Trevisan (Treviño)
8562f8a964
ci: Use meson commands only to setup, compile and install
...
Old ones are semi-deprecated, so let's adjust to what upstream suggests
2023-06-28 16:35:16 +02:00
Marco Trevisan (Treviño)
5ff794c105
ci: Run installed tests
2023-06-28 16:35:16 +02:00
Marco Trevisan (Treviño)
f68e0972c2
ci: Auto-Retry jobs on infrastructure failures
2023-06-28 16:35:16 +02:00
Marco Trevisan (Treviño)
ba3cc04e84
tests: Add support for installed tests
...
They allow distrubtions to check whether libfprint continues working as
expected, in different contexts.
2023-06-28 16:35:16 +02:00
Marco Trevisan (Treviño)
3d4cf44f9b
ci: Add gnome-desktop-testing to the image
...
It can be used to run the installed tests.
2023-06-28 16:23:45 +02:00
Marco Trevisan (Treviño)
8e702012fd
ci: Use debuginfo-install to install debug symbols
...
dnf doesn't seem to handle the plugin well in rawhide:
bash-5.2# dnf -y debuginfo-install glib2
Unknown argument "debuginfo-install" for command "dnf5".
Add "--help" for more information about the arguments.
2023-06-28 15:58:48 +02:00
Marco Trevisan (Treviño)
f49879b522
tests/virtual-image: Support passing specific FP_PRINTS_PATH env variable
2023-06-24 00:28:04 +02:00
Marco Trevisan (Treviño)
5e0bf2446b
meson: Bump requirements to 0.56 and adapt deprecated functions
2023-06-24 00:28:04 +02:00
Marco Trevisan (Treviño)
4d96a3efaa
tests/virtual-device: Check that removed devices are not in context anymore
2023-06-23 18:20:04 +02:00
Marco Trevisan (Treviño)
c27d72e3a1
tests/virtual-device: Do not preserve context on unplug tests
...
The unplug tests assume that the device is removed from the context once
they run, however we may have left the device around in a removed state
causing other tests to fail.
So isolate them in a new class where we create context and device
instances every time we run a test case.
2023-06-22 06:59:00 +02:00
Marco Trevisan (Treviño)
0819df6988
virtual-device: Reset transient parameters on deinit
...
Tests may change some options so we need to reset these values, even
though some may need not to be reserved when not in keep-alive mode.
2023-06-22 06:55:44 +02:00
Marco Trevisan (Treviño)
28579239a6
tests/virtual-device: Reset keep alive status when test is done
...
We don't want this to be preserved across tests, since it's meant to be
used inside a single test case.
2023-06-22 06:55:44 +02:00
Marco Trevisan (Treviño)
e48d2b467a
tests/virtual-device: Restore default enroll steps on tearDown
...
When running the tests as a single script we may leave the device in an
inconsistent state, so reset the enroll steps when done.
2023-06-22 06:55:44 +02:00
Marco Trevisan (Treviño)
1c589336a2
meson: Remove duplicate gnome imports
2023-06-22 06:55:44 +02:00
Marco Trevisan (Treviño)
9fd2ccff29
virtual-device-listener: Always return task even if we got zero bytes
...
See: https://gitlab.gnome.org/GNOME/glib/-/issues/1346
2023-03-15 15:26:37 +00:00
Marco Trevisan (Treviño)
b6223a9d0a
test-fpi-device: Only push pragma -wdanging-pointer in newer GCC versions
...
It may not be supported and warn otherwise
2023-03-15 15:23:17 +00:00
Marco Trevisan (Treviño)
5e98f10011
ci: Do not require coverage to always happen
...
meson coverage could be broken in some cases, so let's ignore the error
for now if it happens.
2023-03-15 16:18:17 +01:00
Marco Trevisan (Treviño)
e7ca05e1bf
ci: Use proper name for valgrind junit file
2023-03-15 16:18:17 +01:00
Marco Trevisan (Treviño)
677c50fc51
fprint-list-supported-devices: Do not double-free usb_list
...
We were leaking the spi_list instead.
2023-03-15 14:50:41 +01:00
Marco Trevisan (Treviño)
673aba6846
Upload to unstable
2022-10-14 01:09:06 +02:00
Marco Trevisan (Treviño)
3d6d5901a9
Update changelog
2022-10-14 01:06:23 +02:00
Marco Trevisan (Treviño)
01a462580b
debian/docs: Update reference to README.md and remove TODO
2022-10-14 01:06:16 +02:00
Marco Trevisan (Treviño)
73ceb9e39c
debian/patches: Cherry-pick post-release upstream cleanups
2022-10-14 00:59:50 +02:00
Marco Trevisan (Treviño)
81230b793c
debian/libfprint-2-2.postinst: Devices triggers updated
2022-10-14 00:55:33 +02:00
Marco Trevisan (Treviño)
42c823205b
New upstream release
2022-10-14 00:55:31 +02:00
Marco Trevisan (Treviño)
8bb07377ab
Update upstream source from tag 'upstream/1.94.5'
...
Update to upstream version '1.94.5'
with Debian dir 704eca5787
2022-10-14 00:55:30 +02:00
Marco Trevisan (Treviño)
3b901ff205
New upstream version 1.94.5
2022-10-14 00:55:22 +02:00
Marco Trevisan (Treviño)
b0380415c0
debian/source: Remove include-binaries file, we've none now
2022-10-14 00:18:33 +02:00
Marco Trevisan (Treviño)
6395dda012
fp-image: Remove config.h inclusion in fpi-header
...
And also avoid defining a function we expose depending on it's presency.
2022-10-13 20:35:52 +00:00
Marco Trevisan (Treviño)
54bb0c12e6
fpi-image: Check for PIXMAN presency using #ifdef
...
That's a defined variable that may be there or not, and currently we
warn with:
- fpi-image.c:29:5: warning: "HAVE_PIXMAN" is not defined, evaluates to 0
2022-10-13 20:35:52 +00:00
Marco Trevisan (Treviño)
1f1ed80dbf
test-device-fake: Add more logging showing the current device action
2022-10-13 20:31:28 +00:00
Marco Trevisan (Treviño)
36bcb24b3a
fp-device: Move FpDevice private functions to public library
...
This these functions are not really needed by anything else than
FpDevice, so move them back to the cpp file, so that we don't expose
them in the private library, given that we don't need them
2022-10-13 20:31:28 +00:00
Marco Trevisan (Treviño)
ddacf07e3b
meson: Actually bump the version to 1.94.5
2022-10-13 20:31:28 +00:00
Marco Trevisan (Treviño)
819a16842b
Update changelog
2022-10-13 21:07:46 +02:00
Marco Trevisan (Treviño)
3d6814d48d
debian/libfprint-2-tod1.symbols: Add new drivers symbols
2022-10-13 20:52:50 +02:00
Marco Trevisan (Treviño)
6e00b172be
debian/patches: Drop all (applied upstream)
2022-10-13 20:52:49 +02:00
Marco Trevisan (Treviño)
87a9171d28
debian/libfprint-2-2.postinst: Devices triggers updated
2022-10-13 20:52:48 +02:00
Marco Trevisan (Treviño)
66337f7008
New upstream release
2022-10-13 20:52:27 +02:00
Marco Trevisan (Treviño)
e41df1a318
Update upstream source from tag 'upstream/1.94.5+tod1'
...
Update to upstream version '1.94.5+tod1'
with Debian dir 4e0429ec4f
2022-10-13 20:52:27 +02:00
Marco Trevisan (Treviño)
ac36b213ad
New upstream version 1.94.5+tod1
2022-10-13 20:52:19 +02:00
Marco Trevisan (Treviño)
3ea2ee8a76
tod: Change namespace of internal functions to tod_*
...
In this way we don't have the risk of them being exported because
starting with `fpi_*`.
2022-10-13 20:42:31 +02:00
Marco Trevisan (Treviño)
17818cffe6
ci: allow failure on valgrind job
...
We have tests depending on external libraries that must not be updated
just to fix such issues
2022-10-13 20:21:15 +02:00
Marco Trevisan (Treviño)
18ca916c4d
tod: Add fpi_device_suspend and fpi_device_resume to 1.94 version
2022-10-13 20:12:14 +02:00
Marco Trevisan (Treviño)
082b335300
Merge tag 'v1.94.5' into tod
...
v1.94.5
* New driver: fpcmoc, supporting various FPC MOC Fingerprint Sensors
* goodixmoc: New PIDs 0x6014, 0x6094, 0x631C, 0x634C, 0x6384, 0x659A.
* goodixmoc: Support resetting device on firmware failure due to corrupted DB.
* elanmoc: New PIDs 0x0c88, 0x0c8c, 0x0c8d.
* synaptics: New PID 0x0104.
* upektc: New PID 0x2017.
* Fixed various memory leaks
* More tests
Git-EVTag-v0-SHA512: a36e4b627ffc830a78932266119b73e53921965990bd1b6cae6fd8d166b1b8e62f5a538151a74b82a2a2d83a4ab7399ed17cb2bef39441f881a38a24252e4efa
2022-10-13 20:08:10 +02:00
Marco Trevisan (Treviño)
2e79e6f353
tod-goodix-wrapper: Fix syntax as per uncrustify
2022-10-13 20:06:13 +02:00
Marco Trevisan (Treviño)
e96669208b
test-fp-context-tod: Try to open/close a device from the public library
...
We need to skip this for devices with no close vfunc (like the SSM one)
2022-10-13 20:06:13 +02:00
Marco Trevisan (Treviño)
f2816024e0
test-device-fake: Add more logging showing the current device action
2022-10-13 20:06:13 +02:00
Marco Trevisan (Treviño)
2f3d9240b7
tod-symbols: Define other macros that could be useful in future
2022-10-13 19:46:26 +02:00
Marco Trevisan (Treviño)
c36310fed1
tod: Force libfprint-tod to be a shared library and link whole with private
...
Also unset the private library if set and make libfprint to only link
with the tod one.
This fixes the issue we had with wrong symbols shared by multiple
libraries
2022-10-13 19:45:17 +02:00
Marco Trevisan (Treviño)
c04d15bbf1
fp-device: Move FpDevice private functions to public library
...
This these functions are not really needed by anything else than
FpDevice, so move them back to the cpp file, so that we don't expose
them in the private library, given that we don't need them
2022-10-13 19:42:50 +02:00
Marco Trevisan (Treviño)
8e7e5bf710
tests: Add tests to ensure that we don't duplicate symbols in libraries
...
We have an issue where some symbols are exposed by both the tod library
and the public one, and this may lead to big issues like GType's being
defined multiple times.
So add a test checking whether this is working
See: 3v1n0/libfprint#1
2022-10-13 19:41:39 +02:00
Marco Trevisan (Treviño)
4824380f79
Revert "fpi-device: Avoid using device action strings"
...
This reverts commit fbffb62ecb .
2022-10-13 14:09:25 +02:00
Marco Trevisan (Treviño)
994dfaf51f
Upload to kinetic
2022-10-13 13:55:39 +02:00
Marco Trevisan (Treviño)
932d320670
Update changelog
2022-10-13 13:54:52 +02:00
Marco Trevisan (Treviño)
62a048ea6f
debian/patches: Improve testing for various drivers
2022-10-13 13:50:55 +02:00
Marco Trevisan (Treviño)
bacb72183d
debian/patches: Add support for more device PIDs supported upstream
2022-10-13 13:50:55 +02:00
Marco Trevisan (Treviño)
3dd06634d5
elanmoc: Add support for more supported PIDs
...
And include more tests for specific cases.
LP: #1989314
2022-10-13 13:50:55 +02:00
Marco Trevisan (Treviño)
86961a9429
Release 1.94.5
2022-10-13 05:57:04 +02:00
Marco Trevisan (Treviño)
3ca20a8e70
ci: Do not run two image rebuild pipelines on schedules
2022-10-13 05:37:12 +02:00
Marco Trevisan (Treviño)
3100404419
ci: Install more debug symbols
2022-10-13 05:27:44 +02:00
Marco Trevisan (Treviño)
892c9767a2
tests: Be stricter on valgrind leak checks
...
We used to ignore leaks, and we are ending up in having various of them,
so let's make valgrind to exit with error when using the valgrind test
setup (so in CI) to catch them better.
2022-10-13 05:20:28 +02:00
Marco Trevisan (Treviño)
2718dc02e0
vfs0050: Initialize the usb transfer buffer when allocating it
...
Ensure that the memory that we're going to populate via USB transfer is
initialized, otherwise valgrind may complain about (even if that's not
really an issue).
2022-10-13 05:04:03 +02:00
Marco Trevisan (Treviño)
abd7c66833
fp-device: Do not setup current action before updating temperature
...
At every action we update the device temperature, and this can
potentially lead to a failure, if the temperature is too hot.
However in such case we were failing a task that we had just stolen,
causing an error, tasks never returning and the device was left in an
undefined state.
So, just return early in case temperature is too hot, as we don't really
need to have the current task or action set at this point because
there's no active action to cancel yet.
This was causing random errors when running tests under valgrind
2022-10-13 05:04:03 +02:00
Marco Trevisan (Treviño)
8716ddb07a
fp-print: Fix a typo in documentation
2022-10-13 05:04:03 +02:00