Re: How to auto-start "gtk3-demo" under weston from console?

2015-02-10 Thread Pekka Paalanen
On Fri, 23 Jan 2015 18:08:24 +0800 Jeff Chua wrote: > I can use weston-laucher to start weston. But it won't start any > program. > > I wanto to auto-start "gtk3-demo" under weston from console. Is that > possible? > > > This is a scan client so upon power on, it'll start weston and the > scan

[PATCH v2 libinput 2/3] Add a udev bits to assign LIBINPUT_DEVICE_GROUP

2015-02-10 Thread Peter Hutterer
The easiest way to get a device group is by looking at the phys path of the input device (which looks like usb-:00:14.0-1/input1) and dropping the /inputX bit. The rest is the same for devices that belong together. Ideally we could just take ATTRS{phys} but we can't select substrings to drop i

Re: [PATCH libinput 2/3] Add a rules file to assign LIBINPUT_DEVICE_GROUP

2015-02-10 Thread Benjamin Tissoires
Hi Peter, On Tue, Feb 10, 2015 at 1:50 AM, Peter Hutterer wrote: > Ideally we could just take ATTRS{phys} but we can't select substrings to drop > into ENV so we re-assemble it manually. > > Eventually this will likely end up in a RUN callout, but for now this will do. > > Signed-off-by: Peter Hu

Re: [PATCH weston 1/2] configure.ac: Don't look for Xwayland in the weston install destination

2015-02-10 Thread Derek Foreman
On 10/02/15 09:22 AM, sardemff7+wayl...@sardemff7.net wrote: > On 2015-02-10 03:15, Bryce Harrington wrote: >> Turns out the issue I've run into is that the --with-xserver-path >> setting doesn't get passed down into distcheck, which calls configure >> like this: >> >>&& $(am__cd) $(dis

Re: [PATCH weston 1/2] configure.ac: Don't look for Xwayland in the weston install destination

2015-02-10 Thread sardemff7+wayland
On 2015-02-10 03:15, Bryce Harrington wrote: Turns out the issue I've run into is that the --with-xserver-path setting doesn't get passed down into distcheck, which calls configure like this: && $(am__cd) $(distdir)/_build \ && ../configure \ $(AM_DISTCHECK_CON

Re: [PATCH libinput 2/3] Add a rules file to assign LIBINPUT_DEVICE_GROUP

2015-02-10 Thread sardemff7+wayland
On 2015-02-10 07:50, Peter Hutterer wrote: diff --git a/configure.ac b/configure.ac index f47c5a4..2420f86 100644 --- a/configure.ac +++ b/configure.ac @@ -69,6 +69,15 @@ fi AC_SUBST(GCC_CFLAGS) AC_SUBST(GCC_CXXFLAGS) +AC_ARG_WITH(udev-rules-dir, +AS_HELP_STRING([--with-udev-rule