[Buildroot] [git commit] xapp_xinit/xdm: only makes sense if there is an X server

Peter Korsgaard jacmet at sunsite.dk
Sun Jan 20 20:20:24 UTC 2013


commit: http://git.buildroot.net/buildroot/commit/?id=1a111ffd21473c4862c1ce3404c103ac3a46372d
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

[Peter: also add dependency for xdm (which selects xinit)]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
 package/x11r7/xapp_xdm/Config.in   |    2 ++
 package/x11r7/xapp_xinit/Config.in |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/package/x11r7/xapp_xdm/Config.in b/package/x11r7/xapp_xdm/Config.in
index b1c50d5..c962993 100644
--- a/package/x11r7/xapp_xdm/Config.in
+++ b/package/x11r7/xapp_xdm/Config.in
@@ -1,5 +1,7 @@
 config BR2_PACKAGE_XAPP_XDM
 	bool "xdm"
+	# Runtime dependency: can't start an X server unless there is one
+	depends on BR2_PACKAGE_XSERVER_XORG_SERVER
 	select BR2_PACKAGE_XAPP_XINIT
 	select BR2_PACKAGE_XAPP_SESSREG
 	select BR2_PACKAGE_XAPP_XRDB
diff --git a/package/x11r7/xapp_xinit/Config.in b/package/x11r7/xapp_xinit/Config.in
index 9ac2817..30981c3 100644
--- a/package/x11r7/xapp_xinit/Config.in
+++ b/package/x11r7/xapp_xinit/Config.in
@@ -1,5 +1,7 @@
 config BR2_PACKAGE_XAPP_XINIT
 	bool "xinit"
+	# Runtime dependency: can't start an X server unless there is one
+	depends on BR2_PACKAGE_XSERVER_XORG_SERVER
 	select BR2_PACKAGE_XAPP_XAUTH
 	select BR2_PACKAGE_XLIB_LIBX11
 	help


More information about the buildroot mailing list