Accepting request 881388 from home:stdden:branches:X11:Wayland

- 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

OBS-URL: https://build.opensuse.org/request/show/881388
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/seatd?expand=0&rev=7
This commit is contained in:
Michael Vetter 2021-03-26 07:39:38 +00:00 committed by Git OBS Bridge
parent 4a6ef7a526
commit 711857cf25
2 changed files with 22 additions and 0 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Mar 25 19:29:37 UTC 2021 - Denys Kondratenko <stdden@opensuse.org>
- 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 <mvetter@suse.com>

View File

@ -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