On 22 December 2017 at 02:53, Davis Roman <davis.roma...@gmail.com> wrote: > > Hello, > > I'd like to put a vnc server on my target. > > My embedded target has an onboard display and runs an application that > drives the display directly via the framebuffer. ( no xorg onboard ) > > I would like to use x11vnc ( with the --rawfb option ) however I'm > having a hard time justifying the load of dependencies that it brings > along with it. (Almost 100MB.) > > With the --rawfb option, x11vnc does not require a X server ( just > libX11) to be onboard however I'm required to add x11 to > DISTRO_FEATURES otherwise x11vnc won't compile. > > (x11vnc even drags gtk3 along with it which seems unnecessary.) > > My goal is to only add the minimum number of x11vnc depencies. > > Any advice on how to slim this down would be appreciated.
>From glancing at https://github.com/LibVNC/x11vnc/blob/master/configure.ac it appears that you can tell it to build without X: If you want to build x11vnc without X support (e.g. for -rawfb use only > or for native Mac OS X), specify the --without-x configure option. I'd use PACKAGECONFIG to respect the x11 DISTRO_FEATURE and enable/disable building with X. Ross
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto