Skip to contentSkip to conversation

allow xserver without the systemd login daemon.

PATCH Superseded Sagaert Johan 2 participants 2 messages Mar 29, 2015 – Mar 31, 2015

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 allow xserver without the systemd login daemon.

Thanks to Noel Vellemans for the hint.

---
Patch v1->v2 :
added else clause as suggested by Thomas.

---
 package/x11r7/xserver_xorg-server/xserver_xorg-server.mk | 10 ++++++++++
 1 file changed, 10 insertions(+)
package/x11r7/xserver_xorg-server/xserver_xorg-server.mk +10 -0
index bb5381c..c290734 100644
@@ -64,6 +64,16 @@ XSERVER_XORG_SERVER_CONF_OPTS = \
 	--with-fontrootdir=/usr/share/fonts/X11/ \
 	--$(if $(BR2_PACKAGE_XSERVER_XORG_SERVER_XVFB),en,dis)able-xvfb
 
+ifeq ($(BR2_PACKAGE_SYSTEMD),y)
+XSERVER_XORG_CONF_OPTS += \
+	--with-systemd-daemon \
+	--enable-systemd-logind
+else
+XSERVER_XORG_CONF_OPTS += \
+	--without-systemd-daemon \
+	--disable-systemd-logind
+endif
+
 ifeq ($(BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR),y)
 XSERVER_XORG_SERVER_CONF_OPTS += --enable-xorg
 XSERVER_XORG_SERVER_DEPENDENCIES += libpciaccess
Signature · 1 line
2.3.3
#1 lore raw

PATCH v2 1/1 allow xserver without the systemd login daemon.

Sorry, I should have replied here of course...

Quoted 15 lines · Sagaert Johan

Thanks to Noel Vellemans for the hint.

---
Patch v1->v2 :
added else clause as suggested by Thomas.

---
 package/x11r7/xserver_xorg-server/xserver_xorg-server.mk | 10 ++++++++++
 1 file changed, 10 insertions(+)
package/x11r7/xserver_xorg-server/xserver_xorg-server.mk +0 -0
index bb5381c..c290734 100644

package/x11r7/xserver_xorg-server/xserver_xorg-server.mk XSERVER_XORG_SERVER_CONF_OPTS = \ · line 70

Quoted 7 lines
package/x11r7/xserver_xorg-server/xserver_xorg-server.mk +4 -0
@@ -64,6 +64,16 @@ XSERVER_XORG_SERVER_CONF_OPTS = \
 	--with-fontrootdir=/usr/share/fonts/X11/ \
 	--$(if $(BR2_PACKAGE_XSERVER_XORG_SERVER_XVFB),en,dis)able-xvfb
 
+ifeq ($(BR2_PACKAGE_SYSTEMD),y)
+XSERVER_XORG_CONF_OPTS += \
+	--with-systemd-daemon \
+	--enable-systemd-logind

XSERVER_XORG_DEPENDENCIES += systemd

Regards,
Arnout

Quoted 10 lines
package/x11r7/xserver_xorg-server/xserver_xorg-server.mk +6 -0
+else
+XSERVER_XORG_CONF_OPTS += \
+	--without-systemd-daemon \
+	--disable-systemd-logind
+endif
+
 ifeq ($(BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR),y)
 XSERVER_XORG_SERVER_CONF_OPTS += --enable-xorg
 XSERVER_XORG_SERVER_DEPENDENCIES += libpciaccess
Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F