Bastien Nocera
73625233f6
build: Remove autotools support
2020-02-05 16:54:54 +01:00
Marco Trevisan (Treviño)
e10417a907
verify: Constify username
...
utils/verify.c:191:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
191 | username = "";
| ^
2020-02-05 15:25:35 +01:00
Marco Trevisan (Treviño)
8f75563920
enroll: Fix usernames memory leak
...
usernames was not freed on exit.
2020-02-05 15:25:35 +01:00
Marco Trevisan (Treviño)
2e00c7a4b1
enroll: Always use allocated memory for finger name
...
Given that finger_name is set by GOptionEntry, make sure it's always
using allocated memory.
../utils/enroll.c:38:28: error: initialization discards ‘const’ qualifier
from pointer target type [-Werror=discarded-qualifiers]
38 | static char *finger_name = "right-index-finger";
| ^~~~~~~~~~~~~~~~~~~~
2020-02-05 15:25:35 +01:00
Marco Trevisan (Treviño)
eb6dbb6953
build: Add meson build system
...
Reuse the generated dbus interface .xml files from fprintd to avoid
unnecessary copies.
2020-02-05 15:25:35 +01:00
Bastien Nocera
c6e72c5f28
pam: Add include for asprintf to copy/paste header
2020-01-23 18:45:43 +01:00
Bastien Nocera
b690daa95f
all: Call setlocale() at the start of main()
...
This fixes some broken characters in the fprintd debug output.
2020-01-14 13:51:46 +01:00
Bastien Nocera
d0df422f9b
all: Bump required glib version
...
Require the same version of glib as libfprint, and remove support for
very old versions.
2019-12-18 17:03:37 +01:00
Benjamin Berg
882740f8a1
utils: Use new print deletion API
...
Use the new API that works by claiming the device and then deleting the
prints.
Fixes : #26
2019-12-05 17:54:21 +01:00
Benjamin Berg
3db69c2c2f
utils: Move test binaries into utils
...
These utilities are generally useful beyond only testing purproses. And,
since it is desirable to have automated tests inside the tests
subdirecty, it makes sense to move them elsewhere.
2019-12-03 17:08:03 +01:00