From 810a26940d8359e057dac5cbbb98f1076867a97a917dafed906920951bf40b55 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Wed, 24 Oct 2018 15:17:41 +0000 Subject: [PATCH] Accepting request 644322 from home:vpereirabr:branches:X11:xfce - add add-light-locker-support.patch to add support to light-locker to xflock4 OBS-URL: https://build.opensuse.org/request/show/644322 OBS-URL: https://build.opensuse.org/package/show/X11:xfce/xfce4-session?expand=0&rev=136 --- add-light-locker-support.patch | 14 ++++++++++++++ xfce4-session.changes | 5 +++++ xfce4-session.spec | 2 ++ 3 files changed, 21 insertions(+) create mode 100644 add-light-locker-support.patch diff --git a/add-light-locker-support.patch b/add-light-locker-support.patch new file mode 100644 index 0000000..117ddb4 --- /dev/null +++ b/add-light-locker-support.patch @@ -0,0 +1,14 @@ +Index: scripts/xflock4 +=================================================================== +--- scripts/xflock4.orig ++++ scripts/xflock4 +@@ -27,7 +27,8 @@ export PATH + # Lock by xscreensaver or gnome-screensaver, if a respective daemon is running + for lock_cmd in \ + "xscreensaver-command -lock" \ +- "gnome-screensaver-command --lock" ++ "gnome-screensaver-command --lock" \ ++ "light-locker-command -l" + do + $lock_cmd >/dev/null 2>&1 && exit + done diff --git a/xfce4-session.changes b/xfce4-session.changes index 0406b74..7252fe8 100644 --- a/xfce4-session.changes +++ b/xfce4-session.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 24 08:54:47 UTC 2018 - vpereira@suse.com + +- add add-light-locker-support.patch to add support to light-locker + ------------------------------------------------------------------- Sat Dec 30 13:15:51 UTC 2017 - seife+obs@b1-systems.com diff --git a/xfce4-session.spec b/xfce4-session.spec index b003128..cc7f56b 100644 --- a/xfce4-session.spec +++ b/xfce4-session.spec @@ -34,6 +34,7 @@ Patch1: xfce4-session-adapt-session-scripts.patch Patch2: xfce4-session-Make-verbose-logging-conditional.patch # PATCH-FIX-OPENSUSE xfce4-session-systemd-user-addons.patch seife+dev@b1-systems.com -- fix systemd-user session settings Patch3: xfce4-session-systemd-user-addons.patch +Patch4: add-light-locker-support.patch BuildRequires: iceauth BuildRequires: intltool BuildRequires: update-desktop-files @@ -120,6 +121,7 @@ This package provides the upstream look and feel for the Xfce Session Manager. %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p0 %build xdt-autogen