[Xfce4-commits] [apps/xfce4-screensaver] 01/01: Add /usr/lib and /usr/libexec as trusted engine paths (bug #14883) - Enables local installs with access to existing screensavers

noreply at xfce.org noreply at xfce.org
Thu Nov 22 12:05:57 CET 2018


This is an automated email from the git hooks/post-receive script.

b   l   u   e   s   a   b   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-screensaver.

commit cd6e2e20db505fd1934d3b5a54bf07470e81c441
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Thu Nov 22 06:05:10 2018 -0500

    Add /usr/lib and /usr/libexec as trusted engine paths (bug #14883)
    - Enables local installs with access to existing screensavers
---
 NEWS                   | 2 ++
 src/gs-theme-manager.c | 5 +++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/NEWS b/NEWS
index 5a536cb..19fdf4a 100644
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,8 @@
     non-functional
 - Bug Fixes:
   - Replaced Help link with a link to the Xfce Documentation (Xfce #14877)
+  - Added /usr/lib and /usr/libexec as trusted engine paths, enables
+    local installs with access to existing screensavers (Xfce #14883)
   - Fixed screen blanking and locking on BSD (Xfce #14846)
   - Fixed lock screen crash on laptop lid-close events (GTK #1466)
   - Fixed daemon crash when scrolling through available themes
diff --git a/src/gs-theme-manager.c b/src/gs-theme-manager.c
index 2b4418a..60edfea 100644
--- a/src/gs-theme-manager.c
+++ b/src/gs-theme-manager.c
@@ -64,8 +64,9 @@ static const char *known_engine_locations[] = {
 #endif
     LIBEXECDIR "/xscreensaver",
     LIBDIR "/xscreensaver",
-    NULL
-};
+    "/usr/libexec/xscreensaver",
+    "/usr/lib/xscreensaver",
+    NULL};
 
 /* Returns the full path to the queried command */
 static char *

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list