Re: Prerequisites to build wayland / weston without x?

2014-12-04 Thread Pekka Paalanen
On Fri, 05 Dec 2014 14:06:11 +1100 scsijon wrote: > I have just spent an hour or so trying to find it, and although your > documentation etc is good, this doesn't seem to be in it, or give me a > hint where to find it! > > What I am after is a list of prerequisites to build wayland / weston >

[ANNOUNCE] libinput 0.7.0

2014-12-04 Thread Peter Hutterer
A new release of libinput, 0.7, is available. A main focus in this cycle was to get to almost feature parity with the current X-based input stack. Things libinput gained since 0.6: * devices can be disabled/enabled at runtime. This includes smart disabling of touchpads when a USB mouse is plugg

Prerequisites to build wayland / weston without x?

2014-12-04 Thread scsijon
I have just spent an hour or so trying to find it, and although your documentation etc is good, this doesn't seem to be in it, or give me a hint where to find it! What I am after is a list of prerequisites to build wayland / weston from scratch with the following basepoint, I don't want to bui

Re: [PATCH libinput] udev: only apply default calibration on absolute devices

2014-12-04 Thread Jonas Ådahl
On Fri, Dec 05, 2014 at 01:46:07PM +1000, Peter Hutterer wrote: > Fixes a crash if the LIBINPUT_CALIBRATION_MATRIX is set for a relative > device. > > https://bugs.freedesktop.org/show_bug.cgi?id=86993 > > Signed-off-by: Peter Hutterer Reviewed-by: Jonas Ådahl > --- > src/udev-seat.c | 3 ++-

Re: [PATCH libinput] Split libinput-util into a noinst helper library

2014-12-04 Thread Jonas Ådahl
On Fri, Dec 05, 2014 at 01:54:56PM +1000, Peter Hutterer wrote: > Fixes distcheck (broken with automake 1.14.1 and 1.13.4) > > make[2]: Entering directory '../libinput-0.7.0/_build/test' > Makefile:926: ../src/.deps/libinput-util.Plo: No such file or directory > make[2]: *** No rule to make ta

[PATCH libinput] Split libinput-util into a noinst helper library

2014-12-04 Thread Peter Hutterer
Fixes distcheck (broken with automake 1.14.1 and 1.13.4) make[2]: Entering directory '../libinput-0.7.0/_build/test' Makefile:926: ../src/.deps/libinput-util.Plo: No such file or directory make[2]: *** No rule to make target '../src/.deps/libinput-util.Plo'. Stop. make[2]: Leaving directory '

[PATCH libinput] udev: only apply default calibration on absolute devices

2014-12-04 Thread Peter Hutterer
Fixes a crash if the LIBINPUT_CALIBRATION_MATRIX is set for a relative device. https://bugs.freedesktop.org/show_bug.cgi?id=86993 Signed-off-by: Peter Hutterer --- src/udev-seat.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/udev-seat.c b/src/udev-seat.c index f7a3d

Re: [PATCH] doc: Add config check for doxygen 1.8.0+.

2014-12-04 Thread Bill Spitzak
After some tries I found that if you put the word "compare" into the search you will find something other than info about how to ask which version of autotools you are running. On 12/04/2014 02:39 AM, sardemff7+wayl...@sardemff7.net wrote: On 2014-12-03 21:39, Bill Spitzak wrote: Thanks! You

[PATCH weston v2 17/17] configure: add an option to allow building only the libraries

2014-12-04 Thread Giulio Camuffo
the --enable/disable-weston-binaries emable or disable the creation of the 'weston', 'weston-launch' and all the binaries that are installed in $prefix/lib/libexec. This allows, together with --enable-clients, to only build the libraries, making possible to build and install different libweston ver

[PATCH weston v2 02/17] don't use weston_config in the backends code

2014-12-04 Thread Giulio Camuffo
This is to make them usable by future libweston users, since they will not use weston_config. weston_config is still used in the backends entry points, which will later on live in their own files. --- src/compositor-drm.c | 305 +-- src/compositor-fb

[PATCH weston v2 06/17] build a libweston.so used by the weston binary

2014-12-04 Thread Giulio Camuffo
--- Makefile.am | 30 +++--- src/input.c | 2 +- 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/Makefile.am b/Makefile.am index acb7d1f..d6bd6aa 100644 --- a/Makefile.am +++ b/Makefile.am @@ -45,17 +45,14 @@ AM_CPPFLAGS =

[PATCH weston v2 04/17] compositor: add API to manage compositor instances

2014-12-04 Thread Giulio Camuffo
--- src/compositor-drm.c | 2 +- src/compositor-wayland.c | 4 +-- src/compositor-x11.c | 2 +- src/compositor.c | 86 +++- src/compositor.h | 9 +++-- 5 files changed, 67 insertions(+), 36 deletions(-) diff --git a/src/compo

[PATCH weston v2 07/17] libweston: allow compositors to define the logging behavior

2014-12-04 Thread Giulio Camuffo
--- Makefile.am | 4 +-- src/compositor.h | 5 ++-- src/log.c| 69 ++--- src/weston.c | 78 4 files changed, 90 insertions(+), 66 deletions(-) diff --git a/Makefile.am b/Makefil

[PATCH weston v2 05/17] compositor: move the main() to a new weston.c file

2014-12-04 Thread Giulio Camuffo
--- Makefile.am | 1 + src/compositor.c | 764 src/weston.c | 804 +++ 3 files changed, 805 insertions(+), 764 deletions(-) create mode 100644 src/weston.c diff --git a/Makefile.am

[PATCH weston v2 16/17] libweston: version the libweston .so's and the weston include and lib paths

2014-12-04 Thread Giulio Camuffo
To be able to install many libweston versions at the same time add a '-1' to the .so's name, such as libweston-1.so. Additionally, add it also to the weston sdk include directory and the lib/weston directory. --- Makefile.am | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --

[PATCH weston v2 10/17] text: build the text-backend in weston

2014-12-04 Thread Giulio Camuffo
It uses the weston_client_launch API, which is not available in libweston. --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 386fd85..bb0ecff 100644 --- a/Makefile.am +++ b/Makefile.am @@ -61,7 +61,6 @@ libweston_la_SOURCES =

[PATCH weston v2 13/17] libweston: make a shared library for compositor launchers

2014-12-04 Thread Giulio Camuffo
--- Makefile.am | 21 +- src/weston-launch.c | 698 + src/weston-launcher.c | 769 ++ src/weston-launcher.h | 45 +++ 4 files changed, 845 insertions(+), 688 deletions(-) create mode 100644 s

[PATCH weston v2 15/17] libweston: libweston-ify xwayland

2014-12-04 Thread Giulio Camuffo
This creates a new library, libweston-xwayland.so with the entry point to easily spawn a xwayland server. The xwayland module now links to that library. --- Makefile.am| 40 -- xwayland/launcher.c| 155 - xwayland/xwayland-module

[PATCH weston v2 14/17] libweston: expose the wayland backend API

2014-12-04 Thread Giulio Camuffo
--- Makefile.am | 1 + src/compositor-wayland.c | 37 ++- src/compositor-wayland.h | 51 3 files changed, 71 insertions(+), 18 deletions(-) create mode 100644 src/compositor-wayland.h diff --git a/Make

[PATCH weston v2 11/17] libweston: expose the X11 backend's API

2014-12-04 Thread Giulio Camuffo
--- Makefile.am | 1 + src/compositor-x11.c | 5 +++-- src/compositor-x11.h | 27 +++ 3 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 src/compositor-x11.h diff --git a/Makefile.am b/Makefile.am index bb0ecff..e35b33e 100644 --- a/Makefile.a

[PATCH weston v2 12/17] libweston: expose the drm backend's API

2014-12-04 Thread Giulio Camuffo
--- Makefile.am | 1 + src/compositor-drm.c | 62 +--- src/compositor-drm.h | 60 ++ 3 files changed, 76 insertions(+), 47 deletions(-) create mode 100644 src/compositor-drm.h diff --git a/M

[PATCH weston v2 09/17] libweston: handle the screenshoot and record bindings in weston.c

2014-12-04 Thread Giulio Camuffo
Move the code launching the screenshooter client and implementing the screenshot protocol out of libweston, and make screenshooter.c a generic way to hook screenshoot protocols into weston. --- desktop-shell/shell.c | 2 - src/compositor.h | 5 +- src/screenshooter.c | 176 -

[PATCH weston v2 08/17] libweston: move the child process launching and monitoring to weston

2014-12-04 Thread Giulio Camuffo
libweston still internally uses those functions, so it is not linkable yet by other compositors. --- src/compositor.c | 144 -- src/weston.c | 145 +++ 2 files changed, 145 insertions(+), 14

[PATCH weston v2 03/17] compositor: remove the weston_config field from weston_compositor

2014-12-04 Thread Giulio Camuffo
Instead of the central weston_config pointer we now store it in some module-specific pointers. This way we can remove them one by one. --- desktop-shell/shell.c | 8 +--- desktop-shell/shell.h | 1 + fullscreen-shell/fullscreen-shell.c | 3 ++- ivi-shell/hmi-cont

[PATCH weston v2 00/17] libweston

2014-12-04 Thread Giulio Camuffo
This is the second version of libwayland, rebased on top of master. There are no big differences. Apart a few fixes, the main new thing is that libweston.so is now libweston-1.so, and also $prefix/lib/weston is not $prefix/lib/weston-1. Same thing for $prefix/include/weston. The '-1' is supposed to

Re: [PATCH weston-ivi-shell v8 00/13] a reference shell for In-Vehicle Infotainment system

2014-12-04 Thread Pekka Paalanen
On Thu, 27 Nov 2014 09:00:03 +0200 Pekka Paalanen wrote: > On Thu, 27 Nov 2014 13:07:20 +0900 > Nobuhiko Tanibata wrote: > > > This is version 8 of ivi_shell patches reviewed by Pekka Paalanen > > . > > > > Vesion 7 can be found here: > > > > http://lists.freedesktop.org/archives/wayland-dev

Re: [PATCH weston v2 2/2] compositor: Implement JSON-timeline logging

2014-12-04 Thread sardemff7+wayland
On 2014-12-04 12:23, Pekka Paalanen wrote: On Tue, 02 Dec 2014 12:12:28 -0800 Bill Spitzak wrote: I think you should make an emit(FILE*, const char*) function that prints a quoted string or null, instead of doing this repeatedly. Such a function could also convert non-printable characters to es

Re: [PATCH weston v2 2/2] compositor: Implement JSON-timeline logging

2014-12-04 Thread Pekka Paalanen
On Tue, 02 Dec 2014 12:12:28 -0800 Bill Spitzak wrote: > On 12/02/2014 05:45 AM, Pekka Paalanen wrote: > > From: Pekka Paalanen > > > + if (!s->get_label || s->get_label(s, d, sizeof(d)) < 0) { > > + d[0] = '\0'; > > + q = ""; > > + } > > + > > + fprintf(ctx->out, "{ \

Re: [PATCH wayland] tests: fix memory leak

2014-12-04 Thread Pekka Paalanen
On Wed, 3 Dec 2014 11:44:47 +0100 Marek Chalupa wrote: > On 1 December 2014 at 11:42, Pekka Paalanen wrote: > > > On Fri, 21 Nov 2014 11:18:33 +0100 > > Marek Chalupa wrote: > > > > > We didn't free the struct client that we got from client_connect() > > > > > > Signed-off-by: Marek Chalupa >

Re: [PATCH] doc: Add config check for doxygen 1.8.0+.

2014-12-04 Thread sardemff7+wayland
On 2014-12-03 21:39, Bill Spitzak wrote: Thanks! You know I tried searching for "version" in the autotools documents, but did not find this. That documentation is pretty incomplete. Not incomplete at all. You should search harder next time. ;-)