[Lunar-commits] <moonbase> Subject: xorg-server: optionally enable dbus

Zachary McGrew zmcgrew at lunar-linux.org
Sun Aug 9 08:58:43 CEST 2009


commit e9244dd509d833b378077234cdb9ace4f41aac7d
Author: Paul Bredbury <brebs at sent.com>
Date:   Sat Aug 8 23:58:43 2009 -0700

    Subject: xorg-server: optionally enable dbus
    
    Strange that dbus isn't enabled by default.
---
 xorg7/xorg-server/BUILD     |    5 +++++
 xorg7/xorg-server/CONFIGURE |    2 ++
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/xorg7/xorg-server/BUILD b/xorg7/xorg-server/BUILD
index 177172a..def79ed 100644
--- a/xorg7/xorg-server/BUILD
+++ b/xorg7/xorg-server/BUILD
@@ -12,6 +12,11 @@
 #    OPTS="$OPTS --disable-glx --disable-glx-tlx"
 #  fi &&
 
+  if [[ "$USE_DBUS" = "y" ]]; then
+    # Creates /etc/dbus-1/system.d/xorg-server.conf
+    OPTS+=" --enable-config-dbus"
+  fi &&
+
   OPTS+=" --enable-composite --enable-aiglx                   \
           --enable-install-libxf86config                      \
           --with-dri-driver-path=${MODULE_PREFIX}/lib/dri "  &&
diff --git a/xorg7/xorg-server/CONFIGURE b/xorg7/xorg-server/CONFIGURE
index 7bf847c..fadf0fb 100644
--- a/xorg7/xorg-server/CONFIGURE
+++ b/xorg7/xorg-server/CONFIGURE
@@ -1 +1,3 @@
 #mquery USE_NVIDIA "Do you intend to use the NVIDIA binary driver?" n
+
+mquery USE_DBUS "Enable use of D-Bus?" n


More information about the Lunar-commits mailing list