mirror of
https://gitlab.freedesktop.org/libfprint/fprintd.git
synced 2025-12-20 15:10:06 +01:00
Fprintd is dependent on the deprecated dbus-glib, also this doesn't provide various features we can take advantage of, like the ones for async authentication mechanism. So, remove all the dbus-glib dependencies and simplify the code, but without any further refactor, and keeping everything as it used to work, while this will give room for further improvements in subsequent commits. Internally, we just use dbus-codegen to generate the skeletons, and we use the generated FprintdDBusManager with composition, while we implement the device skeleton interface in FprintDevice, so that we don't have to use it as a proxy, and keep being closer to what it used to be with dbus-glib. Fixes: #61
34 lines
617 B
Meson
34 lines
617 B
Meson
libfprintd_utils_dep = declare_dependency(
|
|
include_directories: [
|
|
include_directories('../src'),
|
|
include_directories('../pam'),
|
|
],
|
|
dependencies: [
|
|
glib_dep,
|
|
gio_dep,
|
|
gio_unix_dep,
|
|
],
|
|
sources: [
|
|
fprintd_dbus_sources,
|
|
],
|
|
link_with: [
|
|
libfprintd_private
|
|
],
|
|
)
|
|
|
|
utils = [
|
|
'delete',
|
|
'enroll',
|
|
'list',
|
|
'verify',
|
|
]
|
|
|
|
fprintd_utils = []
|
|
|
|
foreach util: utils
|
|
fprintd_utils += executable('fprintd-' + util,
|
|
sources: util + '.c',
|
|
dependencies: libfprintd_utils_dep,
|
|
install: true,
|
|
)
|
|
endforeach
|