[PATCH libinput 8/8] Mark the log function as attribute printf

2014-06-05 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- src/libinput.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/libinput.h b/src/libinput.h index d771e21..b4cb5e5 100644 --- a/src/libinput.h +++ b/src/libinput.h @@ -31,6 +31,9 @@ extern "C" { #include #include +#define LIBINPU

[PATCH libinput 6/8] test: drop TEST_CFLAGS

2014-06-05 Thread Peter Hutterer
We're using the same flags for everything anyway, drop the custom flags Signed-off-by: Peter Hutterer --- test/Makefile.am | 13 ++--- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/test/Makefile.am b/test/Makefile.am index 53a3300..70e83d4 100644 --- a/test/Makefile.am +

[PATCH libinput 7/8] test: add --verbose flag to litests

2014-06-05 Thread Peter Hutterer
Sometimes it's handy to see what libinput prints out while running a test. This breaks test-log if run with --verbose. Checking that the default log priority hasn't changed obviously doesn't work if we change it on demand. Signed-off-by: Peter Hutterer --- test/litest.c | 23

[PATCH libinput 4/8] test: fix compiler warnings for missing field initializers

2014-06-05 Thread Peter Hutterer
litest-trackpoint.c:38:1: warning: missing initializer for field 'touch_down' of 'struct litest_device_interface' [-Wmissing-field-initializers] and similar Signed-off-by: Peter Hutterer --- test/litest-mouse.c | 1 + test/litest-trackpoint.c | 1 + 2 files changed, 2 insertions(+) diff -

[PATCH libinput 3/8] test: fix compiler warnings for missing prototypes

2014-06-05 Thread Peter Hutterer
litest-wacom-touch.c:31:6: warning: no previous prototype for 'litest_wacom_touch_setup' [-Wmissing-prototypes] and similar Signed-off-by: Peter Hutterer --- test/litest-synaptics-st.c | 3 ++- test/litest-synaptics.c| 3 ++- test/litest-wacom-touch.c | 3 ++- 3 files changed, 6 insertions

[PATCH libinput 1/8] Drop empty FFI_CFLAGS

2014-06-05 Thread Peter Hutterer
Leftover from weston Signed-off-by: Peter Hutterer --- src/Makefile.am | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 3337a83..ff93911 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -38,7 +38,6 @@ libinput_la_LDFLAGS = -version-info $(LIBINPUT_L

[PATCH libinput 5/8] test: silence compiler warning for C++ build test

2014-06-05 Thread Peter Hutterer
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default] Since gcc also complains about adding -Wno-strict-prototypes we have to handle the two separately. A side-effect here: now that we promote the GCC_CFLAGS to AM_CFLAGS, litest.la is

[PATCH libinput 2/8] test: fix compiler warning for is_debugger_attached

2014-06-05 Thread Peter Hutterer
litest.c:207:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] Signed-off-by: Peter Hutterer --- test/litest.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/litest.c b/test/litest.c index 6e31e36..d287215 100644 --- a/test/litest.c +++ b/test/l

Re: Sharing meta-data between DMA-BUF exporter and importer

2014-06-05 Thread Daniel Stone
Hi, On 5 June 2014 07:49, Pekka Paalanen wrote: > Then thinking about how that would work over a protocol like Wayland; A > client is creating a buffer, and wants the compositor to present it, > putting it on a hardware overlay if possible, or even scanning it > out directly. We would like to k