[PATCH] shared: struct timespec is in time.h

2017-10-01 Thread Yann E. MORIN
declaration timespec_sub(struct timespec *r, ^~~~ [...] Indeed, struct timespec is defined in time.h, so we must include it. Signed-off-by: "Yann E. MORIN" --- shared/timespec-util.h | 1 + 1 file changed, 1 insertion(+) diff --git a/shared/timespe

Re: [PATCH v2] configure: add option to disable tests

2017-04-02 Thread Yann E. MORIN
Hello, On 2017-03-08 18:25 +0100, Yann E. MORIN spake thusly: > When building for a product, tests are not needed. > > Besides, one test requires a C++ compiler, which is not always > available. > > So, add an option to configure to disable building tests altogether. > >

Re: [PATCH v2] configure: better check for the C++ compiler

2017-04-02 Thread Yann E. MORIN
Hello, On 2017-03-08 18:23 +0100, Yann E. MORIN spake thusly: > When a C++ compiler is not found, then AC_PROG_CXX will set CXX to > 'false'. > > However, we test that we can find $CXX, and indeed false exists in > the PATH, for virtually all systems we have a chance t

[PATCH v2] configure: add option to disable tests

2017-03-08 Thread Yann E. MORIN
When building for a product, tests are not needed. Besides, one test requires a C++ compiler, which is not always available. So, add an option to configure to disable building tests altogether. Signed-off-by: "Yann E. MORIN" Reviewed-by: Eric Engestrom Tested-by: Eric Engestrom -

[PATCH v2] configure: better check for the C++ compiler

2017-03-08 Thread Yann E. MORIN
arly wrong. Improve our hack by trying to run the C++ compiler with a benign call, that should succeed if the CXX is really a C++ compiler: tell it to dump its pre-defined macros. Signed-off-by: "Yann E. MORIN" Reviewed-by: Peter Hutterer --- Changes v1 -> v2: - fix typo in commit log

Re: [PATCH] [wayland] configure: add option to disable tests

2017-03-08 Thread Yann E. MORIN
Eric, All, On 2017-03-08 14:50 +, Eric Engestrom spake thusly: > On Sunday, 2017-03-05 11:53:18 +0100, Yann E. MORIN wrote: > > When building for a product, tests are not needed. > > > > Besides, one test requires a C++ compiler, which is not always > > available.

Re: [PATCH] [wayland] configure: better check for the C++ compiler

2017-03-08 Thread Yann E. MORIN
Peter, All, On 2017-03-08 16:52 +1000, Peter Hutterer spake thusly: > On Sun, Mar 05, 2017 at 03:17:36PM +0100, Yann E. MORIN wrote: > > When a C++ compiler is not found, then AC_PROG_CXX will set CXX to > > 'false'. > > urgh... that is a rather unexpected behaviou

Re: [PATCH] [wayland] configure: better check for the C++ compiler

2017-03-07 Thread Yann E. MORIN
itch to comparing against "false". Thanks for the feedback! :-) Regards, Yann E. MORIN. > On Sun, Mar 5, 2017 at 6:17 AM, Yann E. MORIN wrote: > > When a C++ compiler is not found, then AC_PROG_CXX will set CXX to > > 'false'. > > > > However, we test that w

[PATCH] [wayland] configure: better check for the C++ compiler

2017-03-05 Thread Yann E. MORIN
arly wrong. Improve our hack by trying to run the C++ compiler with a benign call, that should succeed if the CXX is really a C++ compiler: tell it to dump its pre-defined macros. Signed-off-by: "Yann E. MORIN" --- Note: this is not a replacement for the patch I sent earlier [0].

[PATCH] [wayland] configure: add option to disable tests

2017-03-05 Thread Yann E. MORIN
When building for a product, tests are not needed. Besides, one test requires a C++ compiler, which is not always available. So, add an option to configure to disable building tests altogether. Signed-off-by: "Yann E. MORIN" --- Makefile.am | 3 ++- configure.ac | 8 2 fil

Re: [PATCH] tests: add missing include

2017-01-23 Thread Yann E. MORIN
Pekka, All, On 2017-01-23 14:15 +0200, Pekka Paalanen spake thusly: > On Sun, 22 Jan 2017 10:36:25 -0800 > Yong Bakos wrote: > > > On Jan 22, 2017, at 5:50 AM, Yann E. MORIN > > > wrote: > > > > > > The int32_t type is defined in stdint.h. > >

[PATCH] tests: add missing include

2017-01-22 Thread Yann E. MORIN
The int32_t type is defined in stdint.h. The musl C library is very conservative in the headers that it internally includes, and stdint.h is not included by any other header, unlike with glibc or uClibc, which breaks the build. Add the missing header. Signed-off-by: "Yann E. MORIN"

Re: [PATCH] configure: search for lib with clock_getres()

2017-01-15 Thread Yann E. MORIN
Quentin, All, On 2017-01-15 13:51 +0100, Quentin Glidic spake thusly: > On 19/12/2016 18:20, Yann E. MORIN wrote: > >Like clock_gettime(), clock_getres() is in -lrt for glibc < 2.17. > >Add a check for it, like is done for clock_gettime(). > > > >Fixes: > >

Re: [PATCH] configure: search for lib with clock_getres()

2016-12-30 Thread Yann E. MORIN
Hello, On 2016-12-19 18:20 +0100, Yann E. MORIN spake thusly: > Like clock_gettime(), clock_getres() is in -lrt for glibc < 2.17. > Add a check for it, like is done for clock_gettime(). Ping? ;-) And best wishes for 2017! ;-) Regards, Yann E. MORIN. > Fixes: &

[PATCH] configure: search for lib with clock_getres()

2016-12-19 Thread Yann E. MORIN
Like clock_gettime(), clock_getres() is in -lrt for glibc < 2.17. Add a check for it, like is done for clock_gettime(). Fixes: http://autobuild.buildroot.net/results/bce/bcecdbbce4a99eb1e9bfbf519857bf94d8952037/ Signed-off-by: "Yann E. MORIN" --- Makefile.am | 1 + con

Re: [PATCH] libweston/compositor-rdp: fix no-break space U+A0 (U8+C2A0)

2016-08-15 Thread Yann E. MORIN
Quentin, All, On 2016-08-15 16:24 +0200, Quentin Glidic spake thusly: > On 14/08/2016 14:34, Yann E. MORIN wrote: > >On 2016-08-09 20:11 +0200, Yann E. MORIN spake thusly: > >>There is a UTF-8 no-break space (U+A0, U8+C2A0) in the definition of > >>macro NSC_RESET in th

Re: [PATCH] libweston/compositor-rdp: fix no-break space U+A0 (U8+C2A0)

2016-08-14 Thread Yann E. MORIN
Hello All, On 2016-08-09 20:11 +0200, Yann E. MORIN spake thusly: > There is a UTF-8 no-break space (U+A0, U8+C2A0) in the definition of > macro NSC_RESET in the case of 1.2.2 <= FreeRDP < 2.0. > > This is causing build issues (\302 is 0xC2, \240 is 0x

[PATCH] libweston/compositor-rdp: fix no-break space U+A0 (U8+C2A0)

2016-08-09 Thread Yann E. MORIN
x that by using a plain, boring space U+20. Signed-off-by: "Yann E. MORIN" --- libweston/compositor-rdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libweston/compositor-rdp.c b/libweston/compositor-rdp.c index 11f5f05..ee81300 100644 --- a/libweston/compos

Re: [PATCH weston] compositor-rpi: Fix input initialization

2014-02-06 Thread Yann E. MORIN
e drm and fbdev backends > do. I know it's already been applied, but just to confirm: Tested-by: "Yann E. MORIN" Thank you! :-) Regards, Yann E. MORIN. -- .-..------.----. | Yann E. MORIN | Real-Time Em

Re: [PATCH weston] compositor-rpi: Fix input initialization

2014-02-04 Thread Yann E. MORIN
e drm and fbdev backends > do. Thank you! I'm still in Brussels after FOSDEM, so I'll be in a position to test this when I'm back home Wednesday evening (UTC+1). Regards, Yann E. MORIN. -- .-..------.----. | Ya

Re: weston-1.4.0: rpi-backend is broken

2014-01-27 Thread Yann E. MORIN
Pekka, All, On 2014-01-26 21:15 +0100, Yann E. MORIN spake thusly: > On 2014-01-26 21:51 +0200, Pekka Paalanen spake thusly: > > On Sun, 26 Jan 2014 19:08:47 +0100 > > "Yann E. MORIN" wrote: > > > I'm trying to run wayland+weston 1.4.0 on the

Re: weston-1.4.0: rpi-backend is broken

2014-01-26 Thread Yann E. MORIN
Pekka, All, On 2014-01-26 21:51 +0200, Pekka Paalanen spake thusly: > On Sun, 26 Jan 2014 19:08:47 +0100 > "Yann E. MORIN" wrote: > > I'm trying to run wayland+weston 1.4.0 on the raspberry pi with > > the rpi-backend. > > > > Running weston f

weston-1.4.0: rpi-backend is broken

2014-01-26 Thread Yann E. MORIN
d firmware I use are the latest from their repositories, namely: userland: cset 5cecd5a firmware: cset 940dc3b I'm now stuck, and out of options on my side. Any idea what I should try next to solve this? What info did I miss that would help solving this