diff --git a/seatd.changes b/seatd.changes index f5c2e54..a581226 100644 --- a/seatd.changes +++ b/seatd.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Mar 25 19:29:37 UTC 2021 - Denys Kondratenko + +- enable logind for the libseat (disabled by default) + * fixes errors during login, see: + https://github.com/openSUSE/openSUSEway/issues/37 + * this works with libsystemd >= 237 with new API: + sd_bus_match_signal + ------------------------------------------------------------------- Tue Mar 16 08:58:30 UTC 2021 - Michael Vetter diff --git a/seatd.spec b/seatd.spec index a3a627f..1942163 100644 --- a/seatd.spec +++ b/seatd.spec @@ -28,6 +28,13 @@ BuildRequires: meson BuildRequires: ninja BuildRequires: pkgconfig BuildRequires: scdoc + +%if 0%{?suse_version} > 1520 +#15.2 don't have needed API +#https://github.com/systemd/systemd/commit/b423e4fb73866e529869b348efb7169ee91f00c9 +BuildRequires: pkgconfig(libsystemd) >= 237 +%endif + BuildRequires: pkgconfig(systemd) Requires: libseat1 = %{version} @@ -54,7 +61,13 @@ Development files for %{name}. %autosetup -p1 %build +%if 0%{?suse_version} > 1520 +#15.2 don't have needed API +%meson -Dlogind=enabled +%else %meson +%endif + %meson_build %install