Skip to contentSkip to conversation

xserver_xorg-server: fix dbus/udev configure problem

PATCH New spdawson at gmail.com 2 participants 2 messages Sep 23, 2012

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 xserver_xorg-server: fix dbus/udev configure problem

From: Simon Dawson <[email protected]>

If both the dbus and udev packages are selected, then the configure step for the xserver_xorg-server package fails as follows.

configure: error: Hotplugging through both libudev and dbus/hal not allowed

The configure script no longer allows both the --enable-config-dbus and --enable-config-udev options to be specified.

This patch changes the xserver_xorg-server makefile to use udev in preference to dbus, when both are available.

---
v2: As suggested by Peter Korsgaard, prefer udev to dbus

 .../xserver_xorg-server/xserver_xorg-server.mk     |   10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
package/x11r7/xserver_xorg-server/xserver_xorg-server.mk +4 -6
index a19122d..8018a89 100644
@@ -104,16 +104,14 @@ XSERVER_XORG_SERVER_DEPENDENCIES += tslib
 XSERVER_XORG_SERVER_CONF_OPT += --enable-tslib LDFLAGS="-lts"
 endif
 
+ifeq ($(BR2_PACKAGE_UDEV),y)
+XSERVER_XORG_SERVER_DEPENDENCIES += udev
+XSERVER_XORG_SERVER_CONF_OPT += --enable-config-udev
+else
 ifeq ($(BR2_PACKAGE_DBUS),y)
 XSERVER_XORG_SERVER_DEPENDENCIES += dbus
 XSERVER_XORG_SERVER_CONF_OPT += --enable-config-dbus
 endif
-
-ifeq ($(BR2_PACKAGE_UDEV),y)
-XSERVER_XORG_SERVER_CONF_OPT += --enable-config-udev
-XSERVER_XORG_SERVER_DEPENDENCIES += udev
-else
-XSERVER_XORG_SERVER_CONF_OPT += --disable-config-udev
 endif
 
 ifeq ($(BR2_PACKAGE_FREETYPE),y)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH v2 1/1 xserver_xorg-server: fix dbus/udev configure problem

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"spdawson" == spdawson <[email protected]> writes:

spdawson> From: Simon Dawson <[email protected]>

spdawson> If both the dbus and udev packages are selected, then the spdawson> configure step for the xserver_xorg-server package fails as spdawson> follows.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard