Hello,

I have recently installed MATE on kfreebsd-amd64. I'm experiencing the
exact same symptoms which are described by the bug submitter in this bug
report.

I suppose since systemd is not available for kfreebsd,
mate-session-manager, should be compiled with "--without-systemd" on
these architectures, so that the reboot and shutdown option will
hopefully  become usable again.

Please find attached a patch that passes "--without-systemd" only on
kfreebsd-* to dh_auto_configure.

Regards,

Markus

From 1601ec7b1cef5ed5ce6051e0013722beb43d4551 Mon Sep 17 00:00:00 2001
From: Markus Koschany <a...@gambaru.de>
Date: Thu, 28 Aug 2014 22:08:07 +0200
Subject: [PATCH] disable systemd on kfreebsd

---
 debian/rules | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index c2aa406..aabcbbc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,13 @@
 
 DHFLAGS=--parallel
 
+DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+ifeq (kfreebsd,$(DEB_HOST_ARCH_OS))
+	SYSTEMD_OPTS := "--without-systemd"
+else
+	SYSTEMD_OPTS := ""
+endif
+
 %:
 	dh $@ $(DHFLAGS)
 
@@ -19,7 +26,8 @@ override_dh_auto_configure:
 		--localstatedir=/var/lib \
 		--libexecdir=/usr/lib \
 		--disable-introspection \
-		--with-gtk=2.0
+		--with-gtk=2.0 \
+		$(SYSTEMD_OPTS)
 
 override_dh_strip:
 	dh_strip --dbg-package=mate-session-manager-dbg
-- 
2.1.0


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to