xapp_xinit: only makes sense if there is an X server
PATCH 1/2 xapp_xinit: only makes sense if there is an X server
From: "Arnout Vandecappelle (Essensium/Mind)" <[email protected]>
--- package/x11r7/xapp_xinit/Config.in | 2 ++ 1 file changed, 2 insertions(+)
package/x11r7/xapp_xinit/Config.in +2 -0
@@ -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
Signature · 1 line
1.7.10.4
PATCH 2/2 xapp_xinit depends on mcookie, not xserver_xorg-server
From: "Arnout Vandecappelle (Essensium/Mind)" <[email protected]>
mcookie is not actually used by the Xorg server; it is used by xinit to generate a xauth cookie before starting the server.
Verified with 'ack-grep -a mcookie build/x*' in an output directory with all packages selected. The only other package that matches is x11vnc: it does a runtime check for mcookie and falls back on /dev/random if it's missing.
--- package/x11r7/xapp_xinit/Config.in | 2 ++ package/x11r7/xserver_xorg-server/Config.in | 1 - 2 files changed, 2 insertions(+), 1 deletion(-)
package/x11r7/xapp_xinit/Config.in +2 -0
@@ -2,6 +2,8 @@ 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 + # Runtime dependency; mcookie is also in util-linux + select BR2_PACKAGE_MCOOKIE if !BR2_PACKAGE_UTIL_LINUX select BR2_PACKAGE_XAPP_XAUTH select BR2_PACKAGE_XLIB_LIBX11 help
package/x11r7/xserver_xorg-server/Config.in +0 -1
@@ -1,7 +1,6 @@ config BR2_PACKAGE_XSERVER_XORG_SERVER bool "xorg-server" select BR2_PACKAGE_LIBDRM if BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR - select BR2_PACKAGE_MCOOKIE # We need a SHA1 implementation. If either openssl or # libgcrypt are already part of the build, we'll use one of # them, otherwise, use the small libsha1 library.
Signature · 1 line
1.7.10.4
PATCH 1/2 xapp_xinit: only makes sense if there is an X server
In reply to Arnout Vandecappelle (Essensium/Mind)Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Arnout" == Arnout Vandecappelle (Essensium/Mind) <[email protected]> writes:
Arnout> From: "Arnout Vandecappelle (Essensium/Mind)" <[email protected]> Arnout> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]> Arnout> ---
Arnout> package/x11r7/xapp_xinit/Config.in | 2 ++
Arnout> 1 file changed, 2 insertions(+)
Arnout> diff --git a/package/x11r7/xapp_xinit/Config.in b/package/x11r7/xapp_xinit/Config.in Arnout> index 9ac2817..30981c3 100644
Arnout> --- a/package/x11r7/xapp_xinit/Config.in
Arnout> +++ b/package/x11r7/xapp_xinit/Config.in
Arnout> @@ -1,5 +1,7 @@
Arnout> config BR2_PACKAGE_XAPP_XINIT
Arnout> bool "xinit"
Arnout> + # Runtime dependency: can't start an X server unless there is one
Arnout> + depends on BR2_PACKAGE_XSERVER_XORG_SERVER
XAPP_XDM selects XINIT, so I also added the dependency here and committed both patches, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/2 xapp_xinit: only makes sense if there is an X server
Quoted 13 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Arnout" == Arnout Vandecappelle (Essensium/Mind)<[email protected]> writes:
Arnout> From: "Arnout Vandecappelle (Essensium/Mind)"<[email protected]> Arnout> Signed-off-by: Arnout Vandecappelle (Essensium/Mind)<[email protected]> Arnout> --- Arnout> package/x11r7/xapp_xinit/Config.in | 2 ++Arnout> 1 file changed, 2 insertions(+)
Arnout> diff --git a/package/x11r7/xapp_xinit/Config.in b/package/x11r7/xapp_xinit/Config.in Arnout> index 9ac2817..30981c3 100644 Arnout> --- a/package/x11r7/xapp_xinit/Config.in Arnout> +++ b/package/x11r7/xapp_xinit/Config.in Arnout> @@ -1,5 +1,7 @@
Quoted 7 lines
Arnout> config
BR2_PACKAGE_XAPP_XINIT
Arnout> bool "xinit"
Arnout> + # Runtime dependency: can't start an X server unless there is one
Arnout> + depends onBR2_PACKAGE_XSERVER_XORG_SERVER
XAPP_XDMselects XINIT, so I also added the dependency here and committed both patches, thanks.
And xdm obviously doesn't make much sense without an X server...
Regards,
Arnout
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