Re: Fwd: Re: libxkbcommon compilation instructions

2014-05-27 Thread Peter Hutterer
On Tue, May 27, 2014 at 03:36:39PM -0700, Bill Spitzak wrote: > On 05/25/2014 11:08 PM, Pekka Paalanen wrote: > >On Sun, 25 May 2014 13:41:08 -0700 > >Bill Spitzak wrote: > > > >>On 05/24/2014 12:45 AM, Pekka Paalanen wrote: > >>>- --with-xkb-config-root should not be needed, xkeyboard-config > >>

Re: [PATCH libinput 0/24] Tablet support

2014-05-27 Thread Chandler Paul
On Tue, 2014-05-27 at 23:32 -0400, Chandler Paul wrote: > On Wed, 2014-05-28 at 12:48 +1000, Peter Hutterer wrote: > > On Tue, May 27, 2014 at 03:40:07PM -0700, Jason Gerecke wrote: > > > On Tue, May 27, 2014 at 3:20 PM, Peter Hutterer > > > wrote: > > > > On Tue, May 27, 2014 at 04:32:14PM -0400,

Re: [PATCH libinput 0/24] Tablet support

2014-05-27 Thread Chandler Paul
On Wed, 2014-05-28 at 12:48 +1000, Peter Hutterer wrote: > On Tue, May 27, 2014 at 03:40:07PM -0700, Jason Gerecke wrote: > > On Tue, May 27, 2014 at 3:20 PM, Peter Hutterer > > wrote: > > > On Tue, May 27, 2014 at 04:32:14PM -0400, Chandler Paul wrote: > > >> On Tue, 2014-05-27 at 13:11 -0700, Ja

Re: [PATCH libinput 0/24] Tablet support

2014-05-27 Thread Peter Hutterer
On Tue, May 27, 2014 at 03:40:07PM -0700, Jason Gerecke wrote: > On Tue, May 27, 2014 at 3:20 PM, Peter Hutterer > wrote: > > On Tue, May 27, 2014 at 04:32:14PM -0400, Chandler Paul wrote: > >> On Tue, 2014-05-27 at 13:11 -0700, Jason Gerecke wrote: > >> > I've been away from my computer for most

mapping of keyboard symbols in linux/input.h that wayland uses

2014-05-27 Thread Rohit Nandan
I am taking input from the keyboard and handler function give me key press in the form of symbols in linux/input.h . How to map them to their real char value. Nothing similar to xlookupstring.Shall I declare them in thier only? Thanks Rohit Nandan ___ w

Re: [PATCH libinput 0/24] Tablet support

2014-05-27 Thread Chandler Paul
On Tue, 2014-05-27 at 15:40 -0700, Jason Gerecke wrote: > On Tue, May 27, 2014 at 3:20 PM, Peter Hutterer > wrote: > > On Tue, May 27, 2014 at 04:32:14PM -0400, Chandler Paul wrote: > >> On Tue, 2014-05-27 at 13:11 -0700, Jason Gerecke wrote: > >> > I've been away from my computer for most of the

Re: [PATCH libinput 0/24] Tablet support

2014-05-27 Thread Jason Gerecke
On Tue, May 27, 2014 at 3:52 PM, Peter Hutterer wrote: > On Tue, May 27, 2014 at 01:11:31PM -0700, Jason Gerecke wrote: >> I've been away from my computer for most of the (long) weekend up >> here, so apologies for being a bit quiet :) >> >> >> On Sun, May 25, 2014 at 7:13 PM, Peter Hutterer >> w

Getting egl clients to work

2014-05-27 Thread Bill Spitzak
On 05/25/2014 11:22 PM, Pekka Paalanen wrote: I suppose this refers to the DRI2 protocol for X11. I believe it is an internal detail in getting Mesa EGL working properly under X11 for Weston itself. This doesn't apply to totally different graphics stacks like the Nvidia proprietary. This has no

Re: [PATCH libinput 0/24] Tablet support

2014-05-27 Thread Peter Hutterer
On Tue, May 27, 2014 at 01:11:31PM -0700, Jason Gerecke wrote: > I've been away from my computer for most of the (long) weekend up > here, so apologies for being a bit quiet :) > > > On Sun, May 25, 2014 at 7:13 PM, Peter Hutterer > wrote: > > On Fri, May 23, 2014 at 10:34:10PM -0400, Chandler P

Re: [PATCH libinput 0/24] Tablet support

2014-05-27 Thread Chandler Paul
On Wed, 2014-05-28 at 08:20 +1000, Peter Hutterer wrote: > On Tue, May 27, 2014 at 04:32:14PM -0400, Chandler Paul wrote: > > On Tue, 2014-05-27 at 13:11 -0700, Jason Gerecke wrote: > > > I've been away from my computer for most of the (long) weekend up > > > here, so apologies for being a bit quie

Re: [PATCH libinput 0/24] Tablet support

2014-05-27 Thread Jason Gerecke
On Tue, May 27, 2014 at 3:20 PM, Peter Hutterer wrote: > On Tue, May 27, 2014 at 04:32:14PM -0400, Chandler Paul wrote: >> On Tue, 2014-05-27 at 13:11 -0700, Jason Gerecke wrote: >> > I've been away from my computer for most of the (long) weekend up >> > here, so apologies for being a bit quiet :)

Fwd: Re: libxkbcommon compilation instructions

2014-05-27 Thread Bill Spitzak
On 05/25/2014 11:08 PM, Pekka Paalanen wrote: On Sun, 25 May 2014 13:41:08 -0700 Bill Spitzak wrote: On 05/24/2014 12:45 AM, Pekka Paalanen wrote: - --with-xkb-config-root should not be needed, xkeyboard-config instead is. xkeyboard-config is a package, that provides keyboard layout/key

Re: [PATCH libinput 0/24] Tablet support

2014-05-27 Thread Peter Hutterer
On Tue, May 27, 2014 at 04:32:14PM -0400, Chandler Paul wrote: > On Tue, 2014-05-27 at 13:11 -0700, Jason Gerecke wrote: > > I've been away from my computer for most of the (long) weekend up > > here, so apologies for being a bit quiet :) > > > There's a subtlety on the protocol side of things tha

Re: libepoxy configure problem

2014-05-27 Thread Bill Spitzak
I have been able to reliably reproduce the problem: Build and install mesa into a local $WLD directory. Also remove/rename/usr/include/EGL/eglplatform.h. This will simulate a system where the global install does not include mesa, but you have built a local copy. Remove (or rename) these two

Re: libepoxy configure problem

2014-05-27 Thread Bill Spitzak
Yes, they were there, but for some reason the libepoxy autogen.sh did not see them until after I installed some other software. On 05/27/2014 12:02 PM, Jasper St. Pierre wrote: mesa installs these headers: http://cgit.freedesktop.org/mesa/mesa/tree/include/EGL/eglplatform.h On Tue, May 27, 20

Re: [PATCH libinput 0/24] Tablet support

2014-05-27 Thread Chandler Paul
On Tue, 2014-05-27 at 13:11 -0700, Jason Gerecke wrote: > I've been away from my computer for most of the (long) weekend up > here, so apologies for being a bit quiet :) > There's a subtlety on the protocol side of things that can't be > ignored. When normalizing data, you want to be careful to pr

Re: [PATCH libinput 0/24] Tablet support

2014-05-27 Thread Jason Gerecke
I've been away from my computer for most of the (long) weekend up here, so apologies for being a bit quiet :) On Sun, May 25, 2014 at 7:13 PM, Peter Hutterer wrote: > On Fri, May 23, 2014 at 10:34:10PM -0400, Chandler Paul wrote: >> On Fri, 2014-05-23 at 17:00 +1000, Peter Hutterer wrote: >> > I

Re: libepoxy configure problem

2014-05-27 Thread Jasper St. Pierre
mesa installs these headers: http://cgit.freedesktop.org/mesa/mesa/tree/include/EGL/eglplatform.h On Tue, May 27, 2014 at 2:46 PM, Bill Spitzak wrote: > On 05/24/2014 12:45 AM, Pekka Paalanen wrote: > > - No idea why you needed the CPPFLAGS for libepoxy, I certainly >>didn't need it and it

libepoxy configure problem

2014-05-27 Thread Bill Spitzak
On 05/24/2014 12:45 AM, Pekka Paalanen wrote: - No idea why you needed the CPPFLAGS for libepoxy, I certainly didn't need it and it should not be needed. Not to mention that variables set for configure should be arguments, not environment. If there is a problem, it needs to be fixed lib

Re: query fullscreen size to pass that value in callback calling glviewport.

2014-05-27 Thread Jasper St. Pierre
The window size comes in the "configure" event, which is similar to X11's ConfigureNotify. See: http://cgit.freedesktop.org/wayland/weston/tree/clients/simple-egl.c#n269 If you're still using wl_shell_surface, then see: http://cgit.freedesktop.org/wayland/weston/tree/clients/simple-egl.c?h=1.4#n

Re: [PATCH 1/5] Always build wayland-scanner

2014-05-27 Thread Jasper St. Pierre
You need to use AS_IF instead of shell 'if' if you want to use AC_SUBST inside a conditional. On Tue, May 27, 2014 at 3:23 AM, Thierry Reding wrote: > On Tue, May 27, 2014 at 09:22:30AM +0300, Pekka Paalanen wrote: > > On Mon, 19 May 2014 17:12:39 +0200 > > Thierry Reding wrote: > > > > > From:

Re: [PATCH 2/5] Remove wayland_protocoldir definition

2014-05-27 Thread Pekka Paalanen
On Tue, 27 May 2014 09:49:28 +0200 Thierry Reding wrote: > On Tue, May 27, 2014 at 09:43:09AM +0300, Pekka Paalanen wrote: > > On Mon, 19 May 2014 17:12:40 +0200 > > Thierry Reding wrote: > > > > > From: Thierry Reding > > > > > > This is mostly useless and can be confusing in makefiles. The

Re: [RFC libinput] tools: add a tool for GUI-based debugging

2014-05-27 Thread Peter Hutterer
On 27/05/2014 18:09 , Jonas Ådahl wrote: On Tue, May 27, 2014 at 04:45:42PM +1000, Peter Hutterer wrote: Looking at debugging output is nice but not useful when testing for the feel of a device. Add a tool that presents a canvas and draws the various events onto it. --- Still a bit rough and doe

[PATCH] weston: Fix memleak issue in compositor.c

2014-05-27 Thread Srivardhan Hebbar
This fix is upon "Hardening " patch. [PATCH 2/2] Handle OOM with signal events. Signed-off-by: Srivardhan Hebbar --- src/compositor.c | 23 +-- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index 574db2d..f233101 100644

query fullscreen size to pass that value in callback calling glviewport.

2014-05-27 Thread Rohit Nandan
I have a app with all opengl and egl function calls which is backed up by a window system library. In wayland case I have added fullscreen option using F11 handler in window system library exactly like simple-egl but here my redraw function is outside that library so glviewport and app size is not

Re: [PATCH weston 1/4] Handle requests using outputs that have been unplugged

2014-05-27 Thread Pekka Paalanen
On Tue, 27 May 2014 10:47:44 +0300 Pekka Paalanen wrote: > Hi, > > I see you posted a v2 of this patch, but I think my comments below are > still valid. > > > On Mon, 19 May 2014 18:23:45 +0100 > Neil Roberts wrote: > > > diff --git a/src/compositor.c b/src/compositor.c > > index 574db2d..ea

Re: [PATCH libinput 5/6] touchpad: Don't allow diagonal scrolling

2014-05-27 Thread Jonas Ådahl
On Tue, May 27, 2014 at 04:43:01PM +1000, Peter Hutterer wrote: > On Mon, May 26, 2014 at 09:06:50PM +1000, Peter Hutterer wrote: > > On 26/05/2014 16:32 , Hans de Goede wrote: > > >Hi, > > > > > >On 05/25/2014 10:34 AM, Jonas Ådahl wrote: > > >>On Fri, May 23, 2014 at 04:06:26PM +0200, Hans de Goe

Re: [RFC libinput] tools: add a tool for GUI-based debugging

2014-05-27 Thread Jonas Ådahl
On Tue, May 27, 2014 at 04:45:42PM +1000, Peter Hutterer wrote: > Looking at debugging output is nice but not useful when testing for the feel > of a device. Add a tool that presents a canvas and draws the various events > onto it. > --- > Still a bit rough and doesn't handle button/key events yet

Re: [PATCH 2/5] Remove wayland_protocoldir definition

2014-05-27 Thread Thierry Reding
On Tue, May 27, 2014 at 09:43:09AM +0300, Pekka Paalanen wrote: > On Mon, 19 May 2014 17:12:40 +0200 > Thierry Reding wrote: > > > From: Thierry Reding > > > > This is mostly useless and can be confusing in makefiles. The pattern > > rules defined in the makefile snippet are generic enough to a

Re: [PATCH weston 1/4] Handle requests using outputs that have been unplugged

2014-05-27 Thread Pekka Paalanen
Hi, I see you posted a v2 of this patch, but I think my comments below are still valid. On Mon, 19 May 2014 18:23:45 +0100 Neil Roberts wrote: > Previously when an output was unplugged the clients' resources for it > were left around and if they were used in a request it could cause > Weston t

Re: [PATCH 1/5] Always build wayland-scanner

2014-05-27 Thread Thierry Reding
On Tue, May 27, 2014 at 09:22:30AM +0300, Pekka Paalanen wrote: > On Mon, 19 May 2014 17:12:39 +0200 > Thierry Reding wrote: > > > From: Thierry Reding > > > > When cross-compiling, wayland-scanner cannot be used to generate files > > because it is built for the host architecture. To overcome t

[PATCH] compositor-wayland: Fix compiler warning

2014-05-27 Thread Thierry Reding
From: Thierry Reding sizeof returns size_t, for which the correct printf specifier is %zu. Fixes the following warning when building for ARMv7. src/compositor-wayland.c: In function 'wayland_output_get_shm_buffer': src/compositor-wayland.c:260:3: warning: format '%ld' expects arg

[PATCH] build: Silence libtoolize warnings

2014-05-27 Thread Thierry Reding
From: Thierry Reding When running the autogen.sh script, libtoolize complains thusly: libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding `-