Patchwork [WIP,12/20] x11vnc: Add PACKAGECONFIG for xfixes, xinerama, xrandr and xdamage

login
register
mail settings
Submitter Martin Jansa
Date Aug. 29, 2013, 4:02 p.m.
Message ID <f774e0b175fe470e3df929b79df3c2e669094cb8.1377792006.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/57015/
State New
Headers show

Comments

Martin Jansa - Aug. 29, 2013, 4:02 p.m.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/recipes-graphics/x11vnc/x11vnc_0.9.13.bb | 6 ++++++
 1 file changed, 6 insertions(+)
Ross Burton - Sept. 2, 2013, 5:07 p.m.
On 29 August 2013 17:02, Martin Jansa <martin.jansa@gmail.com> wrote:
> +PACKAGECONFIG ??= ""
> +PACKAGECONFIG[xfixes] = "--with-xfixes,--without-xfixes,libxfixes"
> +PACKAGECONFIG[xinerama] = "--with-xinerama,--without-xinerama,libxinerama"
> +PACKAGECONFIG[xrandr] = "--with-xrandr,--without-xrandr,libxrandr"
> +PACKAGECONFIG[xdamage] = "--with-xdamage,--without-xdamage,libxdamage"

xfixes/xdamage are incredibly useful for VNC servers.  Can you make
xfixes/xrandr/xdamage dependencies, leaving just xinerama a disabled
option.

Ross

Patch

diff --git a/meta/recipes-graphics/x11vnc/x11vnc_0.9.13.bb b/meta/recipes-graphics/x11vnc/x11vnc_0.9.13.bb
index 4b8bed4..7c404e3 100644
--- a/meta/recipes-graphics/x11vnc/x11vnc_0.9.13.bb
+++ b/meta/recipes-graphics/x11vnc/x11vnc_0.9.13.bb
@@ -18,5 +18,11 @@  SRC_URI = "${SOURCEFORGE_MIRROR}/libvncserver/x11vnc/${PV}/x11vnc-${PV}.tar.gz\
 SRC_URI[md5sum] = "a372ec4fe8211221547b1c108cf56e4c"
 SRC_URI[sha256sum] = "f6829f2e629667a5284de62b080b13126a0736499fe47cdb447aedb07a59f13b"
 
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[xfixes] = "--with-xfixes,--without-xfixes,libxfixes"
+PACKAGECONFIG[xinerama] = "--with-xinerama,--without-xinerama,libxinerama"
+PACKAGECONFIG[xrandr] = "--with-xrandr,--without-xrandr,libxrandr"
+PACKAGECONFIG[xdamage] = "--with-xdamage,--without-xdamage,libxdamage"
+
 inherit autotools