diff options
author | miwi <miwi@FreeBSD.org> | 2012-05-26 00:51:40 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2012-05-26 00:51:40 +0800 |
commit | 2e68588f46b3a276df88592caaf2892e91f3db7c (patch) | |
tree | 25d18ced465bc32a1ac2cd07fdcfa1ffc804124a /x11-wm/xfce4-session/files | |
parent | 473703feaf8f28917e7b8e28b763358245149825 (diff) | |
download | freebsd-ports-gnome-2e68588f46b3a276df88592caaf2892e91f3db7c.tar.gz freebsd-ports-gnome-2e68588f46b3a276df88592caaf2892e91f3db7c.tar.zst freebsd-ports-gnome-2e68588f46b3a276df88592caaf2892e91f3db7c.zip |
- Welcome XFCE 4.10 to the portstree!
Special Thanks to: rene, Olivier Duchateau <duchateau.olivier@gmail.com>
Submitted by: Olivier Duchateau <duchateau.olivier@gmail.com>
Tested by: phw
Diffstat (limited to 'x11-wm/xfce4-session/files')
-rw-r--r-- | x11-wm/xfce4-session/files/patch-scripts_xflock4 | 11 | ||||
-rw-r--r-- | x11-wm/xfce4-session/files/patch-xfce4-session_xfsm-shutdown-helper.c | 12 | ||||
-rw-r--r-- | x11-wm/xfce4-session/files/pkg-message.in | 17 |
3 files changed, 34 insertions, 6 deletions
diff --git a/x11-wm/xfce4-session/files/patch-scripts_xflock4 b/x11-wm/xfce4-session/files/patch-scripts_xflock4 new file mode 100644 index 000000000000..710df27a036f --- /dev/null +++ b/x11-wm/xfce4-session/files/patch-scripts_xflock4 @@ -0,0 +1,11 @@ +--- scripts/xflock4.orig 2012-04-28 22:43:27.000000000 +0200 ++++ scripts/xflock4 2012-05-16 22:18:05.000000000 +0200 +@@ -21,7 +21,7 @@ + # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + # + +-PATH=/bin:/usr/bin ++PATH=/bin:/usr/bin:/usr/local/bin + export PATH + + # Lock by xscreensaver or gnome-screensaver, if a respective daemon is running diff --git a/x11-wm/xfce4-session/files/patch-xfce4-session_xfsm-shutdown-helper.c b/x11-wm/xfce4-session/files/patch-xfce4-session_xfsm-shutdown-helper.c index 22d633728719..f806b768bb81 100644 --- a/x11-wm/xfce4-session/files/patch-xfce4-session_xfsm-shutdown-helper.c +++ b/x11-wm/xfce4-session/files/patch-xfce4-session_xfsm-shutdown-helper.c @@ -1,12 +1,12 @@ ---- xfce4-session/xfsm-shutdown-helper.c.orig 2010-11-03 21:11:37.000000000 +0100 -+++ xfce4-session/xfsm-shutdown-helper.c 2010-11-16 17:15:07.000000000 +0100 -@@ -58,6 +58,9 @@ - #include <errno.h> +--- xfce4-session/xfsm-shutdown.c.orig 2012-04-28 22:43:27.000000000 +0200 ++++ xfce4-session/xfsm-shutdown.c 2012-05-17 20:32:41.000000000 +0200 +@@ -52,6 +52,9 @@ + #include <signal.h> #endif +#include <sys/param.h> +#include <sys/user.h> +#include <sys/sysctl.h> - #include <dbus/dbus.h> - #include <dbus/dbus-glib-lowlevel.h> + #include <dbus/dbus-glib.h> + #include <dbus/dbus-glib-lowlevel.h> diff --git a/x11-wm/xfce4-session/files/pkg-message.in b/x11-wm/xfce4-session/files/pkg-message.in new file mode 100644 index 000000000000..9d0d6db98941 --- /dev/null +++ b/x11-wm/xfce4-session/files/pkg-message.in @@ -0,0 +1,17 @@ +To be able to shutdown or reboot your system, you'll have to add a .pkla file +in %%LOCALBASE%%/etc/polkit-1/localauthority/50-local.d directory. Which looks +like this (replace PUTYOURGROUPHERE by your group): + +[Restart] +Identity=unix-group:PUTYOURGROUPHERE +Action=org.freedesktop.consolekit.system.restart +ResultAny=yes +ResultInactive=yes +ResultActive=yes + +[Shutdown] +Identity=unix-group:PUTYOURGROUPHERE +Action=org.freedesktop.consolekit.system.stop +ResultAny=yes +ResultInactive=yes +ResultActive=yes |