From 1c37d517f59a3e89ee967ad6ae4803e6f0c57132 Mon Sep 17 00:00:00 2001 From: Leigh Scott Date: Nov 29 2018 12:55:41 +0000 Subject: Add conf to remove useless wayland sessions --- diff --git a/50-remove-wayland-session.conf b/50-remove-wayland-session.conf new file mode 100644 index 0000000..90ad03f --- /dev/null +++ b/50-remove-wayland-session.conf @@ -0,0 +1,2 @@ +[LightDM] +sessions-directory=/usr/share/xsessions diff --git a/lightdm.spec b/lightdm.spec index 22b97b9..487ebe8 100644 --- a/lightdm.spec +++ b/lightdm.spec @@ -7,7 +7,7 @@ Name: lightdm Summary: A cross-desktop Display Manager Version: 1.28.0 -Release: 2%{?dist} +Release: 3%{?dist} # library/bindings are LGPLv2 or LGPLv3, the rest GPLv3+ License: (LGPLv2 or LGPLv3) and GPLv3+ @@ -28,6 +28,7 @@ Source22: 50-session-wrapper.conf Source23: 50-user-authority-in-system-dir.conf Source24: 50-xserver-command.conf Source25: 50-disable-guest.conf +Source26: 50-remove-wayland-session.conf # Upstreamed: Patch0: %{giturl}/pull/5.patch#/lightdm-1.25.1-disable_dmrc.patch @@ -192,7 +193,7 @@ rm -fv %{buildroot}%{_libdir}/lib*.la %{__install} -Dpm 0644 %{SOURCE14} %{buildroot}%{_sysconfdir}/logrotate.d/lightdm %{__install} -Dpm 0644 %{SOURCE15} %{buildroot}%{_datadir}/polkit-1/rules.d/lightdm.rules %{__install} -pm 0644 %{SOURCE20} %{SOURCE21} %{SOURCE22} %{SOURCE23} \ - %{SOURCE24} %{SOURCE25} %{buildroot}%{_datadir}/lightdm/lightdm.conf.d/ + %{SOURCE24} %{SOURCE25} %{SOURCE26} %{buildroot}%{_datadir}/lightdm/lightdm.conf.d/ # Move DBus config to proper location. # why is this needed? -- rex @@ -301,6 +302,9 @@ fi %changelog +* Thu Nov 29 2018 Leigh Scott - 1.28.0-3 +- Add conf to remove useless wayland sessions + * Wed Sep 26 2018 Rex Dieter - 1.28.0-2 - revert over-aggressive use of %%name macro - lightdm.pam: move 'session...system-auth' before gnome_keyring/kwallet (#1581495,#1631220)