[PATCH wayland] scanner: set errno=0 before strtol

2013-12-17 Thread Adrian Negreanu
From: Adrian Negreanu adrian.m.negre...@intel.com POSIX says to set errno=0 before calling strtol since the return value alne cannot tell a failure. on ubuntu armel I get: ../src/wayland-scanner client-header ../../protocol/wayland.xml wayland-client-protocol.h stdin:1188: error: invalid

[PATCH weston] launcher-util: pull in drm only for compositor-drm

2013-09-27 Thread Adrian Negreanu
From: Adrian Negreanu adrian.m.negre...@intel.com Add drm_set_master and drm_drop_master as wrappers for drm(Set|Drop)Master, when building compositor-drm or as empty functions otherwise. Signed-off-by: Adrian Negreanu adrian.m.negre...@intel.com --- src/launcher-util.c | 28

[PATCH weston] compositor-fbdev: drop dependency on libdrm

2013-09-26 Thread Adrian Negreanu
From: Adrian Negreanu adrian.m.negre...@intel.com Signed-off-by: Adrian Negreanu adrian.m.negre...@intel.com --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 7c2da44..a43bf5b 100644 --- a/configure.ac +++ b/configure.ac

[PATCH weston] add libhybris support

2013-09-06 Thread Adrian Negreanu
-headers=android-headers --enable-alinker=jb The android headers are extracted from an AOSP tree, using hybris/utils/extract-headers.sh [1]: https://github.com/android/platform_hardware_libhardware/blob/master/include/hardware/fb.h [2]: https://github.com/libhybris/libhybris Signed-off-by: Adrian

[PATCH] remove dependency on EGL_KHR_surfaceless_context

2013-08-12 Thread Adrian Negreanu
From: Adrian Negreanu adrian.m.negre...@intel.com cairo_egl_device_create(), which is called next, already checks if EGL_KHR_surfaceless_context is available. If not, it fallbacks to pbuffer. Signed-off-by: Adrian Negreanu adrian.m.negre...@intel.com --- clients/window.c | 5 - 1 file

[PATCH simple-egl] fix compile error when EGL_BUFFER_AGE_EXT is missing

2013-08-12 Thread Adrian Negreanu
From: Adrian Negreanu adrian.m.negre...@intel.com Signed-off-by: Adrian Negreanu adrian.m.negre...@intel.com --- clients/simple-egl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clients/simple-egl.c b/clients/simple-egl.c index 54dfe93..4eeba02 100644 --- a/clients/simple-egl.c +++ b

[PATCH] compositor: Setup weston-launch sock in fbdev

2013-07-28 Thread Adrian Negreanu
weston_launcher_open() was failing with: recvmsg: Socket operation on non-socket Signed-off-by: Adrian Negreanu adrian.m.negre...@intel.com --- src/compositor-fbdev.c |9 + 1 file changed, 9 insertions(+) diff --git a/src/compositor-fbdev.c b/src/compositor-fbdev.c index 9c3d17e

[PATCH weston] build: check for INPUT_PROP_MAX in linux/input.h

2013-07-02 Thread Adrian Negreanu
From: Adrian Negreanu adrian.m.negre...@intel.com Signed-off-by: Adrian Negreanu adrian.m.negre...@intel.com --- configure.ac | 16 1 file changed, 16 insertions(+) diff --git a/configure.ac b/configure.ac index 726eb4f..2216e16 100644 --- a/configure.ac +++ b/configure.ac