Accepting request 935644 from home:fbui:branches:X11:Wayland

- Enable logind support for Leap too
  Leap 15.3 ships systemd v246 which has the relevant API
  (sd_bus_match_signal) needed for enabling logind support. Since
  previous versions of Leap are not supported anymore, let's enable it
  unconditionally.

OBS-URL: https://build.opensuse.org/request/show/935644
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/seatd?expand=0&rev=16
This commit is contained in:
Michael Vetter 2021-12-06 09:01:26 +00:00 committed by Git OBS Bridge
parent 7973fb8e31
commit 2236ada2d6
2 changed files with 10 additions and 9 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sat Dec 4 08:41:18 UTC 2021 - Franck Bui <fbui@suse.com>
- Enable logind support for Leap too
Leap 15.3 ships systemd v246 which has the relevant API
(sd_bus_match_signal) needed for enabling logind support. Since
previous versions of Leap are not supported anymore, let's enable it
unconditionally.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Oct 20 08:28:19 UTC 2021 - Michael Vetter <mvetter@suse.com> Wed Oct 20 08:28:19 UTC 2021 - Michael Vetter <mvetter@suse.com>

View File

@ -30,11 +30,7 @@ BuildRequires: pkgconfig
BuildRequires: scdoc BuildRequires: scdoc
BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(systemd)
Requires: libseat1 = %{version} Requires: libseat1 = %{version}
%if 0%{?suse_version} > 1520
#15.2 don't have needed API
#https://github.com/systemd/systemd/commit/b423e4fb73866e529869b348efb7169ee91f00c9
BuildRequires: pkgconfig(libsystemd) >= 237 BuildRequires: pkgconfig(libsystemd) >= 237
%endif
%description %description
Seat management takes care of mediating access to shared devices (graphics, input), without requiring the applications needing access to be root. Seat management takes care of mediating access to shared devices (graphics, input), without requiring the applications needing access to be root.
@ -59,12 +55,7 @@ Development files for %{name}.
%autosetup -p1 %autosetup -p1
%build %build
%if 0%{?suse_version} > 1520
#15.2 don't have needed API
%meson -Dlibseat-logind=systemd %meson -Dlibseat-logind=systemd
%else
%meson
%endif
%meson_build %meson_build