<div dir="ltr">On 22 December 2017 at 02:53, Davis Roman <<a href="mailto:davis.roman84@gmail.com">davis.roman84@gmail.com</a>> wrote:<br>><br>> Hello,<br>><br>> Â I'd like to put a vnc server on my target.<br>><br>> My embedded target has an onboard display and runs an application that<br>> drives the display directly via the framebuffer. ( no xorg onboard )<br>><br>> I would like to use x11vnc ( with the --rawfb option ) however I'm<br>> having a hard time justifying the load of dependencies that it brings<br>> along with it. (Almost 100MB.)<br>><br>> With the --rawfb option, x11vnc does not require a X server ( just<br>> libX11) to be onboard however I'm required to add x11 to<br>> DISTRO_FEATURES otherwise x11vnc won't compile.<br>><br>> (x11vnc even drags gtk3 along with it which seems unnecessary.)<br>><br>> My goal is to only add the minimum number of x11vnc depencies.<br>><br>> Any advice on how to slim this down would be appreciated.<br><br><br>From glancing at <a href="https://github.com/LibVNC/x11vnc/blob/master/configure.ac">https://github.com/LibVNC/x11vnc/blob/master/configure.ac</a> it appears that you can tell it to build without X:<br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">If you want to build x11vnc without X support (e.g. for -rawfb use only<br>or for native Mac OS X), specify the --without-x configure option.</blockquote><br>I'd use PACKAGECONFIG to respect the x11 DISTRO_FEATURE and enable/disable building with X.<br><br>Ross<br>Â <br></div>