From 501e3f193f90127c7837dbb04f77419c7f7ea87e Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Fri, 29 Sep 2023 07:24:30 -0500 Subject: [PATCH] launcher-libseat: Don't depend on dbus The libseat launcher doesn't directly use dbus functions. Signed-off-by: Derek Foreman --- libweston/launcher-libseat.c | 1 - libweston/meson.build | 5 ----- 2 files changed, 6 deletions(-) diff --git a/libweston/launcher-libseat.c b/libweston/launcher-libseat.c index 1b984c22..dbe736cf 100644 --- a/libweston/launcher-libseat.c +++ b/libweston/launcher-libseat.c @@ -40,7 +40,6 @@ #include -#include #include #include #include "weston-log-internal.h" diff --git a/libweston/meson.build b/libweston/meson.build index dc24eebe..28758130 100644 --- a/libweston/meson.build +++ b/libweston/meson.build @@ -198,17 +198,12 @@ if get_option('deprecated-launcher-logind') warning('deprecated-launcher-logind is enabled. This will go away, see https://gitlab.freedesktop.org/wayland/weston/-/issues/488') endif if get_option('launcher-libseat') - if not get_option('dbus') - error('dbus support is required for launcher-libseat') - endif - libseat_dep = dependency('libseat', version: '>= 0.4') config_h.set('HAVE_LIBSEAT', '1') srcs_session_helper += [ 'launcher-libseat.c', ] deps_session_helper += [ - dep_dbus, libseat_dep, ] endif