[Lunar-commits] <moonbase-xfce> xfce4-session: Added systemd support patch.

Peter de Ridder peter at lunar-linux.org
Sun Feb 10 23:25:38 CET 2013


commit 758145eb33a1b97bcdc2c5ed686f8a7edd2eeb1d
Author: Peter de Ridder <peter at lunar-linux.org>
Date: Sun, 10 Feb 2013 14:25:38 -0800
URL: https://github.com/lunar-linux/moonbase-xfce/commit/758145eb33a1b97bcdc2c5ed686f8a7edd2eeb1d

xfce4-session: Added systemd support patch.

Enable systemd support for shutdown and reboot.
---
  xfce4-session/BUILD   | +3/-0     
  xfce4-session/DEPENDS | +3/-0     
  xfce4-session/DETAILS | +5/-3     
  3 files changed, 11 insertions(+), 3 deletions(-)

--- a/xfce4-session/BUILD
+++ b/xfce4-session/BUILD
@@ -3,6 +3,9 @@
   # http://bugzilla.xfce.org/show_bug.cgi?id=6920
   OPTS+=" --disable-static" &&
 
+  patch_it $SOURCE2 1 &&
+  xdt-autogen &&
+
   default_build
 
 ) > $C_FIFO 2>&1
--- a/xfce4-session/DEPENDS
+++ b/xfce4-session/DEPENDS
@@ -5,6 +5,9 @@ depends dbus-glib
 depends xfce4-panel
 depends iceauth
 
+# for applying the patch
+depends xfce4-dev-tools
+
 optional_depends gnome-keyring "--enable-libgnome-keyring" "--disable-libgnome-keyring" "Gnome keyring support"
 
 #optional runtime dependencies
--- a/xfce4-session/DETAILS
+++ b/xfce4-session/DETAILS
@@ -1,9 +1,11 @@
           MODULE=xfce4-session
-           MAJOR=4.10
-         VERSION=$MAJOR.0
+         VERSION=4.10.0
           SOURCE=$MODULE-$VERSION.tar.bz2
-      SOURCE_URL=http://archive.xfce.org/src/xfce/$MODULE/$MAJOR
+         SOURCE2=$MODULE-$VERSION-add-systemd-support.patch
+      SOURCE_URL=http://archive.xfce.org/src/xfce/$MODULE/${VERSION::4}
+     SOURCE2_URL=$PATCH_URL
       SOURCE_VFY=sha1:a956b67816fb06c50990c604d0a09c402b20302c
+     SOURCE2_VFY=sha1:f075d9a4c810c8a8917f0fd980bec691d97520e5
         WEB_SITE=http://www.xfce.org/projects/xfce4-session
          ENTERED=20030715
          UPDATED=20120429




More information about the Lunar-commits mailing list