diff mbox

x11vnc: make x11vnc select libvncserver

Message ID 20170430083532.12941-1-martink@posteo.de
State Superseded
Headers show

Commit Message

Martin Kepplinger April 30, 2017, 8:35 a.m. UTC
x11vnc needs libvncserver, so select it explicitely.

In case of missing libvncserver, we see build failures like this:

http://autobuild.buildroot.net/results/34f/34f8045e772b96293cc7d25bd61ac0aa5842824f/

Signed-off-by: Martin Kepplinger <martink@posteo.de>
---
 package/x11vnc/Config.in | 1 +
 1 file changed, 1 insertion(+)

Comments

Baruch Siach April 30, 2017, 8:43 a.m. UTC | #1
Hi Martin,

On Sun, Apr 30, 2017 at 10:35:32AM +0200, Martin Kepplinger wrote:
> x11vnc needs libvncserver, so select it explicitely.
> 
> In case of missing libvncserver, we see build failures like this:
> 
> http://autobuild.buildroot.net/results/34f/34f8045e772b96293cc7d25bd61ac0aa5842824f/
> 
> Signed-off-by: Martin Kepplinger <martink@posteo.de>
> ---
>  package/x11vnc/Config.in | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/x11vnc/Config.in b/package/x11vnc/Config.in
> index 0909b9aec..4542c5080 100644
> --- a/package/x11vnc/Config.in
> +++ b/package/x11vnc/Config.in
> @@ -5,6 +5,7 @@ config BR2_PACKAGE_X11VNC
>  	select BR2_PACKAGE_XLIB_LIBXT
>  	select BR2_PACKAGE_XLIB_LIBXEXT
>  	select BR2_PACKAGE_XLIB_LIBXTST
> +	select BR2_PACKAGE_LIBVNCSERVER

Since this is a build time dependency, you need to add it to 
X11VNC_DEPENDENCIES to make sure libvncserver builds before x11vnc.

You also need to propagate the additional BR2_PACKAGE_LIBVNCSERVER dependency, 
!BR2_nios2.

baruch
diff mbox

Patch

diff --git a/package/x11vnc/Config.in b/package/x11vnc/Config.in
index 0909b9aec..4542c5080 100644
--- a/package/x11vnc/Config.in
+++ b/package/x11vnc/Config.in
@@ -5,6 +5,7 @@  config BR2_PACKAGE_X11VNC
 	select BR2_PACKAGE_XLIB_LIBXT
 	select BR2_PACKAGE_XLIB_LIBXEXT
 	select BR2_PACKAGE_XLIB_LIBXTST
+	select BR2_PACKAGE_LIBVNCSERVER
 	help
 	  VNC server for X11 display