lib: Use GLib and libusb directly for debug output

Use GLib internally to output debug information, and tell about
libusb's LIBUSB_DEBUG envvar for libusb debug.

fp_set_debug() is now a no-op.

https://bugs.freedesktop.org/show_bug.cgi?id=106552
This commit is contained in:
Bastien Nocera
2018-05-23 17:48:55 +02:00
parent 363a1b3371
commit 32fcfde86b
30 changed files with 90 additions and 151 deletions

View File

@@ -9,6 +9,7 @@ project('libfprint', [ 'c', 'cpp' ],
meson_version: '>= 0.45.0')
add_project_arguments([ '-D_GNU_SOURCE' ], language: 'c')
add_project_arguments([ '-DG_LOG_DOMAIN="libfprint"' ], language: 'c')
libfprint_conf = configuration_data()