Re: tests: fix main symbol duplication

2019-02-08 Thread Pekka Paalanen
On Thu, 7 Feb 2019 18:07:36 +0200 Leonid Bobrov wrote: > From b00351a95d98e4ecc8efe9c7f1e5c56e79fe5f9f Mon Sep 17 00:00:00 2001 > From: Leonid Bobrov > Date: Thu, 7 Feb 2019 18:02:57 +0200 > Subject: [PATCH] tests: fix main symbol duplication Hi Leonid, your approach to fix these issues looks

Re: tests: fix main symbol duplication

2019-02-08 Thread Pekka Paalanen
On Fri, 8 Feb 2019 12:23:06 +0200 Leonid Bobrov wrote: > On Fri, Feb 08, 2019 at 12:09:09PM +0200, Pekka Paalanen wrote: > > Hi Leonid, > > > > Hi Pekka, > > > your approach to fix these issues looks good to me, and the commit > > message explains everything I could ask for, except for

Re: tests: fix main symbol duplication

2019-02-08 Thread Leonid Bobrov
On Fri, Feb 08, 2019 at 12:09:09PM +0200, Pekka Paalanen wrote: > Hi Leonid, > Hi Pekka, > your approach to fix these issues looks good to me, and the commit > message explains everything I could ask for, except for maybe > mentioning that the linker is one from OpenBSD, was it? > >

Re: [PATCH 1/8] tests: fix main symbol duplication

2019-02-08 Thread Pekka Paalanen
On Fri, 8 Feb 2019 15:13:34 +0200 Leonid Bobrov wrote: > So far I got these errors before patching: > > libtool: link: cc -o .libs/headers-test -pthread -Wall -Wextra > -Wno-unused-parameter -g -Wstrict-prototypes -Wmissing-prototypes > -fvisibility=hidden -O2 -pipe tests/headers-test.o >

Re: [PATCH 4/8] gitignore: ignore *.orig files generated by patch(1)

2019-02-08 Thread Pekka Paalanen
On Fri, 8 Feb 2019 15:13:37 +0200 Leonid Bobrov wrote: > Signed-off-by: Leonid Bobrov > --- > .gitignore | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/.gitignore b/.gitignore > index eadea12..8d2c614 100644 > --- a/.gitignore > +++ b/.gitignore > @@ -14,6 +14,7 @@ > *.trs >

Re: [PATCH 2/8] tests: use *BSD replacement for /proc

2019-02-08 Thread Pekka Paalanen
On Fri, 8 Feb 2019 15:13:35 +0200 Leonid Bobrov wrote: > Signed-off-by: Leonid Bobrov > --- > Makefile.am | 2 +- > configure.ac | 12 > tests/test-helpers.c | 33 - > 3 files changed, 45 insertions(+), 2 deletions(-) > > diff

[ANNOUNCE] libxkbcommon 0.8.3

2019-02-08 Thread Ran Benita
Build note: We've had a report that the autotools build doesn't work with the new version of Bison, 3.3. If this happens to you, please switch to using meson. The autotools build will be removed in libxkbcommon 0.9.0. libxkbcommon 0.8.3 == - Fix build of static libraries with

Re: tests: fix main symbol duplication

2019-02-08 Thread Leonid Bobrov
On Fri, Feb 08, 2019 at 12:51:23PM +0200, Pekka Paalanen wrote: > Weird indeed. Did you manually edit the patch, or copy & paste it? > Copied & pasted it, next time I'll include them in MIME > > I don't know how to do that, besides I have no intention to license code > > I submit, so you are

Support OpenBSD

2019-02-08 Thread Leonid Bobrov
From 6b2cd23b0681a7ad253201071d243cbefc1bc0aa Mon Sep 17 00:00:00 2001 From: Leonid Bobrov Date: Thu, 7 Feb 2019 18:02:57 +0200 Subject: [PATCH 1/8] tests: fix main symbol duplication So far I got these errors before patching: libtool: link: cc -o .libs/headers-test -pthread -Wall -Wextra

[PATCH 8/8] configure: detect libdl and librt

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- Makefile.am | 6 +++--- configure.ac | 16 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 426e20a..b973cbe 100644 --- a/Makefile.am +++ b/Makefile.am @@ -71,7 +71,7 @@ nodist_include_HEADERS =

[PATCH 5/8] core: support kqueue

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- Makefile.am | 3 +- configure.ac | 19 +- doc/doxygen/Makefile.am | 3 +- src/{event-loop.c => event-loop-epoll.c} | 4 + src/event-loop-kqueue.c | 825

[PATCH 1/8] tests: fix main symbol duplication

2019-02-08 Thread Leonid Bobrov
So far I got these errors before patching: libtool: link: cc -o .libs/headers-test -pthread -Wall -Wextra -Wno-unused-parameter -g -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden -O2 -pipe tests/headers-test.o tests/headers-protocol-test.o tests/headers-protocol-core-test.o

[PATCH 3/8] server: add *BSD credentials support.

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- configure.ac | 3 ++ src/wayland-server.c | 46 ++ src/wayland-shm.c| 92 +++- 3 files changed, 140 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index

[PATCH 4/8] gitignore: ignore *.orig files generated by patch(1)

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index eadea12..8d2c614 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,7 @@ *.trs *.tar.xz *~ +*.orig *-test .libs .dirstamp -- 2.20.1

[PATCH 7/8] tests: support waitpid()

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- configure.ac| 7 ++ tests/test-compositor.c | 23 +++-- tests/test-runner.c | 55 ++--- 3 files changed, 80 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index

[PATCH 6/8] client: define EPROTO if it's not defined

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- src/wayland-client.h | 4 1 file changed, 4 insertions(+) diff --git a/src/wayland-client.h b/src/wayland-client.h index 9f70fa3..524f79d 100644 --- a/src/wayland-client.h +++ b/src/wayland-client.h @@ -36,6 +36,10 @@ #ifndef WAYLAND_CLIENT_H #define

[PATCH 2/8] tests: use *BSD replacement for /proc

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- Makefile.am | 2 +- configure.ac | 12 tests/test-helpers.c | 33 - 3 files changed, 45 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index cce4d73..52c7895 100644 ---

Re: [PATCH 3/8] server: add *BSD credentials support.

2019-02-08 Thread Pekka Paalanen
On Fri, 8 Feb 2019 15:13:36 +0200 Leonid Bobrov wrote: > Signed-off-by: Leonid Bobrov > --- > configure.ac | 3 ++ > src/wayland-server.c | 46 ++ > src/wayland-shm.c| 92 +++- > 3 files changed, 140 insertions(+), 1

[PATCH 5/6] core: support kqueue

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- Makefile.am | 3 +- configure.ac | 19 +- doc/doxygen/Makefile.am | 3 +- src/{event-loop.c => event-loop-epoll.c} | 4 + src/event-loop-kqueue.c | 825

[PATCH 3/6] client: define EPROTO if it's not defined

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- src/wayland-client.h | 4 1 file changed, 4 insertions(+) diff --git a/src/wayland-client.h b/src/wayland-client.h index 9f70fa3..690c446 100644 --- a/src/wayland-client.h +++ b/src/wayland-client.h @@ -39,4 +39,8 @@ #include "wayland-client-core.h"

[PATCH 4/6] tests: use *BSD replacement for /proc

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- Makefile.am | 3 ++- configure.ac | 12 tests/test-helpers.c | 31 ++- 3 files changed, 44 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 489f581..8a6fa6e 100644 ---

[PATCH 6/6] core: define SO_PEERCRED if it's not defined

2019-02-08 Thread Leonid Bobrov
--- src/wayland-os.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/wayland-os.h b/src/wayland-os.h index 321e34d..28e3350 100644 --- a/src/wayland-os.h +++ b/src/wayland-os.h @@ -41,6 +41,9 @@ wl_os_queue_create_cloexec(void); int wl_os_accept_cloexec(int sockfd, struct sockaddr

[PATCH 2/6] configure: detect libdl and librt

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- Makefile.am | 8 configure.ac | 16 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index cce4d73..489f581 100644 --- a/Makefile.am +++ b/Makefile.am @@ -71,7 +71,7 @@ nodist_include_HEADERS =

[PATCH 1/6] tests: fix main symbol duplication

2019-02-08 Thread Leonid Bobrov
So far I got these errors before patching: libtool: link: cc -o .libs/headers-test -pthread -Wall -Wextra -Wno-unused-parameter -g -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden -O2 -pipe tests/headers-test.o tests/headers-protocol-test.o tests/headers-protocol-core-test.o

[PATCH 5/9] core: support kqueue

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- Makefile.am | 3 +- configure.ac | 19 +- doc/doxygen/Makefile.am | 3 +- src/{event-loop.c => event-loop-epoll.c} | 4 + src/event-loop-kqueue.c | 825

[PATCH 3/9] client: define EPROTO if it's not defined

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- src/wayland-client.h | 4 1 file changed, 4 insertions(+) diff --git a/src/wayland-client.h b/src/wayland-client.h index 9f70fa3..690c446 100644 --- a/src/wayland-client.h +++ b/src/wayland-client.h @@ -39,4 +39,8 @@ #include "wayland-client-core.h"

[PATCH 4/9] tests: use *BSD replacement for /proc

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- Makefile.am | 1 + configure.ac | 12 tests/test-helpers.c | 31 ++- 3 files changed, 43 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 489f581..435957f 100644 ---

[PATCH 8/9] server: add *BSD credentials support

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- configure.ac | 3 +++ src/wayland-server.c | 35 +++ src/wayland-shm.c| 10 ++ 3 files changed, 48 insertions(+) diff --git a/configure.ac b/configure.ac index 3c227a2..15535ff 100644 --- a/configure.ac +++

[PATCH 1/9] tests: fix main symbol duplication

2019-02-08 Thread Leonid Bobrov
So far I got these errors before patching: libtool: link: cc -o .libs/headers-test -pthread -Wall -Wextra -Wno-unused-parameter -g -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden -O2 -pipe tests/headers-test.o tests/headers-protocol-test.o tests/headers-protocol-core-test.o

[PATCH 9/9] tests: add OS-specific tracing to runner

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- configure.ac| 3 +++ tests/test-runner.c | 22 +- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 15535ff..40cbd08 100644 --- a/configure.ac +++ b/configure.ac @@ -101,6 +101,9 @@

[PATCH 6/9] core: define SO_PEERCRED if it's not defined

2019-02-08 Thread Leonid Bobrov
--- src/wayland-os.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/wayland-os.h b/src/wayland-os.h index 321e34d..28e3350 100644 --- a/src/wayland-os.h +++ b/src/wayland-os.h @@ -41,6 +41,9 @@ wl_os_queue_create_cloexec(void); int wl_os_accept_cloexec(int sockfd, struct sockaddr

[PATCH 7/9] tests: support waitpid()

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- configure.ac| 4 tests/test-compositor.c | 25 +++-- tests/test-runner.c | 29 - 3 files changed, 55 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index

[PATCH 2/9] configure: detect libdl and librt

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- Makefile.am | 8 configure.ac | 16 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index cce4d73..489f581 100644 --- a/Makefile.am +++ b/Makefile.am @@ -71,7 +71,7 @@ nodist_include_HEADERS =

[PATCH v2 4/9] tests: use *BSD replacement for /proc

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- Makefile.am | 1 + configure.ac | 12 tests/test-helpers.c | 31 ++- 3 files changed, 43 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 489f581..435957f 100644 ---

[PATCH v2 2/9] configure: detect libdl and librt

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- Makefile.am | 6 +++--- configure.ac | 16 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index f47d055..489f581 100644 --- a/Makefile.am +++ b/Makefile.am @@ -71,7 +71,7 @@ nodist_include_HEADERS =

[PATCH v2 9/9] tests: add OS-specific tracing to runner

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- configure.ac| 3 +++ tests/test-runner.c | 22 +- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 15535ff..40cbd08 100644 --- a/configure.ac +++ b/configure.ac @@ -101,6 +101,9 @@

[PATCH v2 7/9] tests: support waitpid()

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- configure.ac| 4 tests/test-compositor.c | 25 +++-- tests/test-runner.c | 29 - 3 files changed, 55 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index

[PATCH v2 6/9] core: define SO_PEERCRED if it's not defined

2019-02-08 Thread Leonid Bobrov
--- src/wayland-os.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/wayland-os.h b/src/wayland-os.h index 321e34d..28e3350 100644 --- a/src/wayland-os.h +++ b/src/wayland-os.h @@ -41,6 +41,9 @@ wl_os_queue_create_cloexec(void); int wl_os_accept_cloexec(int sockfd, struct sockaddr

[PATCH v2 5/9] core: support kqueue

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- Makefile.am | 3 +- configure.ac | 19 +- doc/doxygen/Makefile.am | 3 +- src/{event-loop.c => event-loop-epoll.c} | 4 + src/event-loop-kqueue.c | 825

[PATCH v2 1/9] tests: fix main symbol duplication

2019-02-08 Thread Leonid Bobrov
So far I got these errors before patching: libtool: link: cc -o .libs/headers-test -pthread -Wall -Wextra -Wno-unused-parameter -g -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden -O2 -pipe tests/headers-test.o tests/headers-protocol-test.o tests/headers-protocol-core-test.o

[PATCH v2 3/9] client: define EPROTO if it's not defined

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- src/wayland-client.h | 4 1 file changed, 4 insertions(+) diff --git a/src/wayland-client.h b/src/wayland-client.h index 9f70fa3..690c446 100644 --- a/src/wayland-client.h +++ b/src/wayland-client.h @@ -39,4 +39,8 @@ #include "wayland-client-core.h"

[PATCH v2 8/9] server: add *BSD credentials support

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- configure.ac | 3 +++ src/wayland-server.c | 35 +++ src/wayland-shm.c| 10 ++ 3 files changed, 48 insertions(+) diff --git a/configure.ac b/configure.ac index 3c227a2..15535ff 100644 --- a/configure.ac +++

[PATCH v3 10/10] shm: use workaround if mremap() is not available

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- configure.ac | 4 src/wayland-shm.c | 30 ++ 2 files changed, 34 insertions(+) diff --git a/configure.ac b/configure.ac index 40cbd08..f49ca24 100644 --- a/configure.ac +++ b/configure.ac @@ -104,6 +104,10 @@

[PATCH v3 05/10] core: support kqueue

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- Makefile.am | 3 +- configure.ac | 19 +- doc/doxygen/Makefile.am | 3 +- src/{event-loop.c => event-loop-epoll.c} | 4 + src/event-loop-kqueue.c | 800

[PATCH v3 07/10] tests: support waitpid()

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- configure.ac| 4 tests/test-compositor.c | 25 +++-- tests/test-runner.c | 29 - 3 files changed, 55 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index

[PATCH v3 06/10] core: define SO_PEERCRED if it's not defined

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- src/wayland-os.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/wayland-os.h b/src/wayland-os.h index 321e34d..28e3350 100644 --- a/src/wayland-os.h +++ b/src/wayland-os.h @@ -41,6 +41,9 @@ wl_os_queue_create_cloexec(void); int

[PATCH v3 03/10] client: define EPROTO if it's not defined

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- src/wayland-client.h | 4 1 file changed, 4 insertions(+) diff --git a/src/wayland-client.h b/src/wayland-client.h index 9f70fa3..690c446 100644 --- a/src/wayland-client.h +++ b/src/wayland-client.h @@ -39,4 +39,8 @@ #include "wayland-client-core.h"

[PATCH v3 08/10] server: add *BSD credentials support

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- configure.ac | 3 +++ src/wayland-server.c | 35 +++ src/wayland-shm.c| 10 ++ 3 files changed, 48 insertions(+) diff --git a/configure.ac b/configure.ac index 3c227a2..15535ff 100644 --- a/configure.ac +++

[PATCH v3 04/10] tests: use *BSD replacement for /proc

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- Makefile.am | 1 + configure.ac | 12 tests/test-helpers.c | 31 ++- 3 files changed, 43 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 489f581..435957f 100644 ---

[PATCH v3 01/10] tests: fix main symbol duplication

2019-02-08 Thread Leonid Bobrov
So far I got these errors before patching: libtool: link: cc -o .libs/headers-test -pthread -Wall -Wextra -Wno-unused-parameter -g -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden -O2 -pipe tests/headers-test.o tests/headers-protocol-test.o tests/headers-protocol-core-test.o

[PATCH v3 02/10] configure: detect libdl and librt

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- Makefile.am | 6 +++--- configure.ac | 16 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index f47d055..489f581 100644 --- a/Makefile.am +++ b/Makefile.am @@ -71,7 +71,7 @@ nodist_include_HEADERS =

[PATCH v3 09/10] tests: add OS-specific tracing to runner

2019-02-08 Thread Leonid Bobrov
Signed-off-by: Leonid Bobrov --- configure.ac| 3 +++ tests/test-runner.c | 22 +- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 15535ff..40cbd08 100644 --- a/configure.ac +++ b/configure.ac @@ -101,6 +101,9 @@