[PATCH libinput 1.8] tools: Fix race in (autotools) install

2017-08-09 Thread Jussi Kukkonen
exec/data distinction is done based on install dir so compat scripts must be moved in exec hook. This should fix this occasional failure: | install: cannot change permissions of | ‘/usr/bin/libinput-debug-events.compat’: No such file or directory Signed-off-by: Jussi Kukkonen --- Admittedly

Re: [PATCH][weston] configure.ac: Add --with-wayland-scanner-path

2017-05-24 Thread Jussi Kukkonen
On 23 May 2017 at 14:51, Quentin Glidic wrote: >> >> >> Also add a AC_SUBST-call (it seems previously the pkg-config value was >> >> never substituted into Makefiles). >> > >> > It was, AC_PATH_PROG() does call AC_SUBST(). >> >> Sure, AC_PATH_PROG() works. As I said, it's the value _from pkg-c

Re: [PATCH][weston] configure.ac: Add --with-wayland-scanner-path

2017-05-23 Thread Jussi Kukkonen
> > On 5/23/17 10:05 AM, Jussi Kukkonen wrote: >> >> Modify wayland-scanner lookup: Use the path given by pkg-config >> but offer an option to override the path with >> "--with-wayland-scanner-path=PATH". The latter is useful for >> cross-compile situa

[PATCH][weston] configure.ac: Add --with-wayland-scanner-path

2017-05-23 Thread Jussi Kukkonen
Modify wayland-scanner lookup: Use the path given by pkg-config but offer an option to override the path with "--with-wayland-scanner-path=PATH". The latter is useful for cross-compile situations. AC_PATH_PROG is no longer used. Also add a AC_SUBST-call (it seems previously the pkg-config value w

Re: Double-checking the correct way to find wayland-scanner

2017-05-18 Thread Jussi Kukkonen
On 18 May 2017 at 15:57, Pekka Paalanen wrote: > On Thu, 18 May 2017 13:59:25 +0300 > Jussi Kukkonen wrote: > > > Hi, > > > > I'd like to fix/standardize how several wayland using projects do > > wayland-scanner lookups (because many of them require patc

Double-checking the correct way to find wayland-scanner

2017-05-18 Thread Jussi Kukkonen
Hi, I'd like to fix/standardize how several wayland using projects do wayland-scanner lookups (because many of them require patching when cross-compiling in Yocto) and wanted to double check that I'm arguing for the right thing... The problem cases for us are like this mesa example: > PKG_CHECK_

[PATCHv2 weston] include stdint.h for int32_t/uint32_t

2016-07-19 Thread Jussi Kukkonen
Signed-off-by: Jussi Kukkonen --- clients/editor.c| 1 + clients/eventdemo.c | 1 + clients/ivi-shell-user-interface.c | 1 + clients/keyboard.c | 1 + clients/multi-resource.c| 1 + clients/nested-client.c | 1

Re: [PATCH weston] shared: include stdint.h for int32_t

2016-07-18 Thread Jussi Kukkonen
On 18 July 2016 at 12:09, Eric Engestrom wrote: > On Mon, Jul 18, 2016 at 09:53:20AM +0100, Eric Engestrom wrote: > > On Sat, Jul 16, 2016 at 11:32:49PM +0300, Jussi Kukkonen wrote: > > > This fixes build on musl. > > > > > > Signed-off-by: Jussi Kukkonen

[PATCH weston] shared: include stdint.h for int32_t

2016-07-16 Thread Jussi Kukkonen
This fixes build on musl. Signed-off-by: Jussi Kukkonen --- shared/xalloc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/shared/xalloc.h b/shared/xalloc.h index 85fccb4..484de2d 100644 --- a/shared/xalloc.h +++ b/shared/xalloc.h @@ -30,6 +30,7 @@ extern "C" { #endif

Re: yocto bb file for wayland-protocol package

2016-04-26 Thread Jussi Kukkonen
On 21 April 2016 at 14:22, 이양우 wrote: > Im trying to build wayland 1.9.91 for TI ARM target board.. > > But it looks require wayland-protocols??.bb I already have wayland.bb > Weston.bb. > > Anyone give me example for wayland-protocols.bb Yocto/oe-core is still at wayland/weston 1.9 (versions f

[PATCH v2 wayland-protocols] configure.ac: Don't use AC_CANONICAL_* macro calls

2016-02-18 Thread Jussi Kukkonen
Check autoconfs $cross_compiling instead as AC_CANONICAL_HOST call will fail if the host cpu is not recognised (which can happen when e.g. Yocto builds for "allarch"). Signed-off-by: Jussi Kukkonen --- configure.ac | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) di

Re: [PATCH wayland-protocols] configure.ac: Don't use AC_CANONICAL_* macro calls

2016-02-18 Thread Jussi Kukkonen
On 18 February 2016 at 14:38, Quentin Glidic < sardemff7+wayl...@sardemff7.net> wrote: > On 18/02/2016 13:29, Jussi Kukkonen wrote: > >> There's nothing in the build that requires knowledge of target or >> host architecture, yet the calls will fail if the host cp

[PATCH wayland-protocols] configure.ac: Don't use AC_CANONICAL_* macro calls

2016-02-18 Thread Jussi Kukkonen
There's nothing in the build that requires knowledge of target or host architecture, yet the calls will fail if the host cpu is not recognised (which happens when e.g. Yocto builds for "allarch"). Signed-off-by: Jussi Kukkonen --- configure.ac | 3 --- 1 file changed, 3 deletions

[PATCH weston] configure.ac: add explicit enable/disable for lcms

2015-11-27 Thread Jussi Kukkonen
This is useful for reproducable builds. Signed-off-by: Jussi Kukkonen --- This was originally sent by Tim Orling on May 2014. I've moved the AM_CONDITIONAL below the test as requested in Kristians review. He also said AM_CONDITIONAL needs to key off have_lcms but I believe that would