Connect to the session message bus using libdbus-1

This is the first step of migrating the desktop notifications over to
pure DBus.
This commit is contained in:
Robbert van der Helm
2022-10-28 16:01:43 +02:00
parent d94d7e886b
commit d1b3de5fc0
5 changed files with 112 additions and 1 deletions
+4
View File
@@ -240,6 +240,10 @@ else
# version now.
bitsery_dep = dependency('bitsery', version : '>=5.2.0')
endif
# The DBus headers are also only accessed through the include path. We don't
# link to libdbus-1 to make soname changes don't completely break yabridge.
dbus_dep = dependency('dbus-1').partial_dependency(compile_args : true, includes : true)
function2_dep = dependency('function2', version : '>=4.0.0')
ghc_filesystem_dep = dependency('ghc_filesystem', modules : 'ghcFilesystem::ghc_filesystem', version : '>=1.5.0')
threads_dep = dependency('threads')