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

2013-12-17 Thread Adrian Negreanu
From: Adrian Negreanu 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 :1188: error: invalid integer (2) Signed-

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

2013-09-27 Thread Adrian Negreanu
From: Adrian Negreanu 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 --- src/launcher-util.c | 28 1 file changed, 24 insertions(+), 4

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

2013-09-26 Thread Adrian Negreanu
From: Adrian Negreanu Signed-off-by: Adrian Negreanu --- 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 @@ -190,7 +190,7 @@ AM_CONDITIONAL([ENABLE_FBDEV_COMPOSITOR

[PATCH weston] add libhybris support

2013-09-06 Thread Adrian Negreanu
-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 Negreanu

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

2013-08-12 Thread Adrian Negreanu
From: Adrian Negreanu Signed-off-by: Adrian Negreanu --- 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/clients/simple-egl.c @@ -38,6 +38,8 @@ #include

[PATCH] remove dependency on EGL_KHR_surfaceless_context

2013-08-12 Thread Adrian Negreanu
From: Adrian Negreanu 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 --- clients/window.c | 5 - 1 file changed, 5 deletions(-) diff --git a/clients/window.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 --- src/compositor-fbdev.c |9 + 1 file changed, 9 insertions(+) diff --git a/src/compositor-fbdev.c b/src/compositor-fbdev.c index 9c3d17e..d2d8fe8 100644 --- a/src

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

2013-07-02 Thread Adrian Negreanu
From: Adrian Negreanu Signed-off-by: Adrian Negreanu --- 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 @@ -52,6 +52,22 @@ AC_CHECK_DECL(CLOCK_MONOTONIC