What's required to show jpg in shared memory

2015-02-24 Thread Michael Johnson
-Hi all, I just need a little help.  I created a little program loosely based on the "Hello Wayland" tutorial.  In tutorial they use a file called images.bin, and state: " This image file contains the hardcoded images for

[PATCH libinput 2/2] test: add protocol A touch screen tests

2015-02-24 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- test/Makefile.am | 1 + test/litest-protocol-a-touch-screen.c | 97 +++ test/litest.c | 2 + test/litest.h | 2 + test/pointer.c| 2 +- t

Re: [PATCH weston] configure.ac: make use of wayland-scanner.pc

2015-02-24 Thread Bill Spitzak
On 02/24/2015 02:43 AM, Pekka Paalanen wrote: On Mon, 23 Feb 2015 11:20:36 -0800 Bill Spitzak wrote: On 02/22/2015 11:52 PM, Pekka Paalanen wrote: I'll give Bill and Daniels a chance to comment, but meanwhile: Reviewed-by: Bryce Harrington My only concern is that trying to build Waylan

Re: [PATCH weston] configure.ac: make use of wayland-scanner.pc

2015-02-24 Thread Bill Spitzak
This sounds good to me. Thanks for running the test, I got swamped with other stuff and could not get to it. I think the reason it does not fail is that the output of wayland-scanner is in the git repository and therefore it does not need to be run the first time. I suppose it would fail if so

Re: [PATCH wayland] Enhance wayland-scanner so it can use files for input and output.

2015-02-24 Thread Bryce Harrington
On Wed, Feb 25, 2015 at 12:45:56AM +0200, Jussi Pakkanen wrote: > * Enhance wayland-scanner so it can use files for input and output > > Signed-off-by: Jussi Pakkanen Hi Jussi, In the future please generate your patches using `git format-patch` and send them with `git send-email`. For

Re: [PATCH v2 libinput 00/26] tablet: support the remaining tools

2015-02-24 Thread Peter Hutterer
On Tue, Feb 24, 2015 at 11:16:32AM -0500, Benjamin Tissoires wrote: > Hi Peter, > > On Tue, Feb 24, 2015 at 1:21 AM, Peter Hutterer > wrote: > > > > This is a v2 of the patchset here > > http://lists.freedesktop.org/archives/wayland-devel/2015-February/020036.html > > but reshuffled, rebased and

Re: [PATCH libinput 23/26] tools: only print the tablet axes we have on the tool

2015-02-24 Thread Peter Hutterer
On Tue, Feb 24, 2015 at 12:55:23PM -0500, Benjamin Tissoires wrote: > On Tue, Feb 24, 2015 at 1:21 AM, Peter Hutterer > wrote: > > This doesn't really have an effect, since we don't set the per-tool axes > > correctly yet. > > Actually we do now. :) oops, rebase detritus. removed, thanks. Cheer

Re: [PATCH libinput 21/26] tablet: support artpen rotation

2015-02-24 Thread Peter Hutterer
On Tue, Feb 24, 2015 at 12:53:51PM -0500, Benjamin Tissoires wrote: > On Tue, Feb 24, 2015 at 1:21 AM, Peter Hutterer > wrote: > > Signed-off-by: Peter Hutterer > > --- > > src/evdev-tablet.c | 35 +++- > > src/evdev-tablet.h | 6 > > src/libinput.h | 3 +- > > test/ta

[PATCH v2 libinput] tablet: expand the button mask to allow for BTN_LEFT, RIGHT, MIDDLE

2015-02-24 Thread Peter Hutterer
Expand the mask to fit KEY_CNT buttons, the mouse has LMR buttons and a few more, trying to squash the range is more error-prone than having the full key range instead. Signed-off-by: Peter Hutterer --- Changes to v1: - use ARRAY_LENGTH rather than sizeof so we don't depend on unsigned char - ren

Re: [PATCH libinput 18/26] tablet: rely on libwacom to give us the right tablet axes

2015-02-24 Thread Peter Hutterer
On Tue, Feb 24, 2015 at 12:48:47PM -0500, Benjamin Tissoires wrote: > On Tue, Feb 24, 2015 at 1:21 AM, Peter Hutterer > wrote: > > Signed-off-by: Peter Hutterer > > --- > > src/evdev-tablet.c | 50 +- > > 1 file changed, 33 insertions(+), 17 deleti

[PATCH wayland] Enhance wayland-scanner so it can use files for input and output.

2015-02-24 Thread Jussi Pakkanen
* Enhance wayland-scanner so it can use files for input and output Signed-off-by: Jussi Pakkanen src/scanner.c | 24 +++- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/src/scanner.c b/src/scanner.c index 1f1e59a..809a339 100644 --- a/src/scanner.c +++

Re: [PATCH libinput 11/26] tablet: use libwacom to identify tablets for left-handedness

2015-02-24 Thread Peter Hutterer
On Tue, Feb 24, 2015 at 11:53:55AM -0500, Benjamin Tissoires wrote: > On Tue, Feb 24, 2015 at 1:21 AM, Peter Hutterer > wrote: > > A tablet hotplug event is rare and not a time-critical event, so we load the > > database on tablet init and throw it away again. > > > > Signed-off-by: Peter Hutterer

Re: [PATCH libinput 03/26] test: fix double comparison macros

2015-02-24 Thread Peter Hutterer
On Tue, Feb 24, 2015 at 11:20:49AM -0500, Benjamin Tissoires wrote: > On Tue, Feb 24, 2015 at 1:21 AM, Peter Hutterer > wrote: > > args needs to be within () to ensure correct calculation > > > > Signed-off-by: Peter Hutterer > > --- > > test/litest.h | 12 ++-- > > 1 file changed, 6 ins

Re: [PATCH v2 weston] tests: Rename wayland-test to weston-test

2015-02-24 Thread Bryce Harrington
On Tue, Feb 24, 2015 at 09:32:14AM -0600, Derek Foreman wrote: > wayland-test isn't and will never be wayland protocol, it's weston internal. > > Renamed wayland-test to weston-test, and wl_test to weston_test. > > Also added a Big Fat Warning to the description of weston_test to try to > keep pe

Re: [PATCH v2 libinput 00/26] tablet: support the remaining tools

2015-02-24 Thread Benjamin Tissoires
On Tue, Feb 24, 2015 at 11:16 AM, Benjamin Tissoires wrote: > Hi Peter, > > On Tue, Feb 24, 2015 at 1:21 AM, Peter Hutterer > wrote: >> >> This is a v2 of the patchset here [snipped] > Again, I'll try to review the patches one by one. So, I am starving (lunch time) and I am not sure I will have

Re: [PATCH libinput 23/26] tools: only print the tablet axes we have on the tool

2015-02-24 Thread Benjamin Tissoires
On Tue, Feb 24, 2015 at 1:21 AM, Peter Hutterer wrote: > This doesn't really have an effect, since we don't set the per-tool axes > correctly yet. Actually we do now. :) Cheers, Benjamin > > Signed-off-by: Peter Hutterer > --- > tools/event-debug.c | 106 > +++

Re: [PATCH libinput 18/26] tablet: rely on libwacom to give us the right tablet axes

2015-02-24 Thread Benjamin Tissoires
On Tue, Feb 24, 2015 at 1:21 AM, Peter Hutterer wrote: > Signed-off-by: Peter Hutterer > --- > src/evdev-tablet.c | 50 +- > 1 file changed, 33 insertions(+), 17 deletions(-) > > diff --git a/src/evdev-tablet.c b/src/evdev-tablet.c > index 2b90e08.

Re: [PATCH libinput 16/26] tablet: add support for libinput_tool_has_button

2015-02-24 Thread Benjamin Tissoires
On Tue, Feb 24, 2015 at 1:21 AM, Peter Hutterer wrote: > libwacom can tell us how many buttons we have per stylus, so we map those into > BTN_STYLUS and BTN_STYLUS2. > BTN_TOUCH is set on all styli. > > Signed-off-by: Peter Hutterer > --- > src/evdev-tablet.c | 73 >

Re: [PATCH libinput 15/26] tablet: expand the button mask to allow for BTN_LEFT, RIGHT, MIDDLE

2015-02-24 Thread Benjamin Tissoires
On Tue, Feb 24, 2015 at 1:21 AM, Peter Hutterer wrote: > Expand the mask to fit KEY_CNT buttons, the mouse has LMR buttons and a few > more, trying to squash the range is more error-prone than having the full key > range instead. > > Signed-off-by: Peter Hutterer > --- > src/evdev-tablet.c | 82

Re: [ANNOUNCE] wayland 1.7.0

2015-02-24 Thread Daniel Stone
Hi, On 23 February 2015 at 07:30, Pekka Paalanen wrote: > On Fri, 20 Feb 2015 14:29:18 -0800 > Bryce Harrington wrote: >> Alternatively, maybe we would want the displayed docs to match current >> git? If so, then maybe a cronjob would be in order? > > Hmm. That'd be almost like a CI service exc

Re: [PATCH libinput 11/26] tablet: use libwacom to identify tablets for left-handedness

2015-02-24 Thread Benjamin Tissoires
On Tue, Feb 24, 2015 at 1:21 AM, Peter Hutterer wrote: > A tablet hotplug event is rare and not a time-critical event, so we load the > database on tablet init and throw it away again. > > Signed-off-by: Peter Hutterer > --- > configure.ac | 14 ++ > src/Makefile.am

Re: [PATCH libinput 08/26] tablet: document what the tool type means

2015-02-24 Thread Benjamin Tissoires
On Tue, Feb 24, 2015 at 1:21 AM, Peter Hutterer wrote: > It's a rough guide only, but still precise enough to make some decisions. > > Signed-off-by: Peter Hutterer > --- > src/libinput.h | 32 +++- > 1 file changed, 23 insertions(+), 9 deletions(-) > > diff --git a/s

Re: [PATCH libinput 03/26] test: fix double comparison macros

2015-02-24 Thread Benjamin Tissoires
On Tue, Feb 24, 2015 at 1:21 AM, Peter Hutterer wrote: > args needs to be within () to ensure correct calculation > > Signed-off-by: Peter Hutterer > --- > test/litest.h | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/test/litest.h b/test/litest.h > index 45

rdp-backend

2015-02-24 Thread Jeff Sadowski
I wanted to try out the Gnome Desktop on Wayland under Fedora 21 2 things I am missing out on is a x11vnc replacement and an xdotool replacement. rdp-backend may be able to replace x11vnc? I am trying to use the rdp-backend with my displayed desktop on my HDMI output. Is this possible? Could I

Re: Experiment: compiling Wayland and Weston with Meson

2015-02-24 Thread Jussi Pakkanen
On Tue, Feb 24, 2015 at 5:19 PM, Hardening wrote: > > The presentation "Making build systems not suck" from LCA2015 is a good > > overview of Meson: https://www.youtube.com/watch?v=KPi0AuVpxLI > > > > That's about it. I hope you find it interesting, > > A big +1 for the patch on src/scanner.c tha

Re: Experiment: compiling Wayland and Weston with Meson

2015-02-24 Thread Hardening
Le 21/02/2015 22:16, Jussi Pakkanen a écrit : > Hi all > > I'm working on a new build system called Meson. As part of development I > take open source projects and rewrite their build systems to ensure it > fulfils real world requirement. This time I took Wayland and Weston. > [...] > > For mo

[PATCH wayland] extend WAYLAND_DISPLAY semantic and make server socket path configurable using environment

2015-02-24 Thread Davide Bettio
commit e8b37de8e084d4e50a12bd2911657d54c0ebd9ed Author: Davide Bettio Date: Tue Feb 24 12:40:49 2015 +0100 * Extend WAYLAND_DISPLAY and name parameter semantics to support absolute paths. For example WAYLAND_DISPLAY="/my/path/wayland-2" or connect_to_socket("/my/path/wayland-2").

Re: [PATCH weston] configure.ac: make use of wayland-scanner.pc

2015-02-24 Thread Pekka Paalanen
On Mon, 23 Feb 2015 11:20:36 -0800 Bill Spitzak wrote: > On 02/22/2015 11:52 PM, Pekka Paalanen wrote: > > >> I'll give Bill and Daniels a chance to comment, but meanwhile: > >> > >> Reviewed-by: Bryce Harrington > > My only concern is that trying to build Wayland from scratch on a > machine