Commits:
-
e6f5e508
by Marius Vlad at 2023-05-19T11:05:54+03:00
libweston,shared/meson:build Add xkbcommon missing depends
This is because e619a65b091, 'libweston: move gl-borders code into
helper lib' and 6293ab1f90fdaf, 'libweston, shared: Move out
weston_shell_get_binding_modifier' moved things out of libweston, and
libweston implicitly depends on xkbcommon.
Rather than just depending on dep_xkbcommon use the deps_for_libweston_users
which includes some other dependencies as well. Had to move it out
of libweston/meson.build and include it in the main meson.build as
libweston/meson.build would have a circular dependency on
libweston/meson.build file.
This fixes the following build issue:
[ 5s] FAILED: libweston/libgl-borders.a.p/gl-borders.c.o
[ 5s] cc -Ilibweston/libgl-borders.a.p -Ilibweston -I../libweston -I. -I.. -Iinclude -I../include -I/usr/include/wayland -I/usr/include/pixman-1 -I/usr/include/cairo
-I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/webp -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -Wmissing-prototypes
-Wno-unused-parameter -Wno-shift-negative-value -Wno-missing-field-initializers -Wno-pedantic -Wundef -fvisibility=hidden -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3
-fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -fPIC -MD -MQ libweston/libgl-borders.a.p/gl-borders.c.o -MF
libweston/libgl-borders.a.p/gl-borders.c.o.d -o libweston/libgl-borders.a.p/gl-borders.c.o -c ../libweston/gl-borders.c
[ 5s] In file included from ../libweston/renderer-gl/gl-renderer.h:32,
[ 5s] from ../libweston/gl-borders.h:28,
[ 5s] from ../libweston/gl-borders.c:31:
[ 5s] ../include/libweston/libweston.h:39:10: fatal error: xkbcommon/xkbcommon.h: No such file or directory
[ 4s] FAILED: shared/libshared.a.p/config-parser.c.o
[ 4s] cc -Ishared/libshared.a.p -Ishared -I../shared -I. -I.. -Iinclude -I../include -I/usr/include/wayland -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall
-Winvalid-pch -Wextra -Wpedantic -std=gnu99 -Wmissing-prototypes -Wno-unused-parameter -Wno-shift-negative-value -Wno-missing-field-initializers -Wno-pedantic -Wundef -fvisibility=hidden -O2
-Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -fPIC -MD -MQ
shared/libshared.a.p/config-parser.c.o -MF shared/libshared.a.p/config-parser.c.o.d -o shared/libshared.a.p/config-parser.c.o -c ../shared/config-parser.c
[ 4s] In file included from ../shared/config-parser.c:44:
[ 4s] ../include/libweston/libweston.h:39:10: fatal error: xkbcommon/xkbcommon.h: No such file or directory
Reported-by: Jan Engelhardt <jengelh@inai.de>
Signed-off-by: Jan Engelhardt <jengelh@inai.de>
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
(cherry picked from commit e1c41338361839c799e9702a31a318196f12329d)
-
d39fc4da
by Marius Vlad at 2023-05-19T11:05:58+03:00
tests/meson.build: Add missing dependency for xcb-client-helper
This fixes the following build issue:
[ 6s] cc -Itests/libtest-xwayland-client.a.p -Itests -I../tests -I. -I.. -Iinclude -I../include -Iprotocol -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall
-Winvalid-pch -Wextra -Wpedantic -std=gnu99 -Wmissing-prototypes -Wno-unused-parameter -Wno-shift-negative-value -Wno-missing-field-initializers -Wno-pedantic -Wundef -fvisibility=hidden -O2
-Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -fPIC -MD -MQ
tests/libtest-xwayland-client.a.p/xcb-client-helper.c.o -MF tests/libtest-xwayland-client.a.p/xcb-client-helper.c.o.d -o tests/libtest-xwayland-client.a.p/xcb-client-helper.c.o -c
../tests/xcb-client-helper.c
[ 6s] ../tests/xcb-client-helper.c:39:10: fatal error: wayland-client.h: No such file or directory
Reported-by: Jan Engelhardt <jengelh@inai.de>
Signed-off-by: Jan Engelhardt <jengelh@inai.de>
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
(cherry picked from commit 9e1c2056cfe4bae5b91d661d60d26081a9ca9000)
-
502162d5
by Marius Vlad at 2023-05-25T12:11:45+03:00
build: bump to version 12.0.1 for the point release
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
4 changed files:
Changes:
libweston/meson.build
... |
... |
@@ -112,11 +112,6 @@ lib_weston = shared_library( |
112
|
112
|
dependencies: deps_libweston
|
113
|
113
|
)
|
114
|
114
|
|
115
|
|
-deps_for_libweston_users = [
|
116
|
|
- dep_wayland_server,
|
117
|
|
- dep_pixman,
|
118
|
|
- dep_xkbcommon,
|
119
|
|
-]
|
120
|
115
|
|
121
|
116
|
# For external users, like Weston.
|
122
|
117
|
dep_libweston_public = declare_dependency(
|
... |
... |
@@ -255,6 +250,7 @@ lib_gl_borders = static_library( |
255
|
250
|
dependencies: [
|
256
|
251
|
dep_lib_cairo_shared,
|
257
|
252
|
dep_egl, # for gl-renderer.h
|
|
253
|
+ deps_for_libweston_users,
|
258
|
254
|
],
|
259
|
255
|
build_by_default: false,
|
260
|
256
|
install: false
|
meson.build
1
|
1
|
project('weston',
|
2
|
2
|
'c',
|
3
|
|
- version: '12.0.0',
|
|
3
|
+ version: '12.0.1',
|
4
|
4
|
default_options: [
|
5
|
5
|
'warning_level=3',
|
6
|
6
|
'c_std=gnu99',
|
... |
... |
@@ -153,6 +153,13 @@ prog_python = import('python').find_installation('python3') |
153
|
153
|
files_xxd_py = files('tools/xxd.py')
|
154
|
154
|
cmd_xxd = [ prog_python, files_xxd_py, '@INPUT@', '@OUTPUT@' ]
|
155
|
155
|
|
|
156
|
+deps_for_libweston_users = [
|
|
157
|
+ dep_wayland_server,
|
|
158
|
+ dep_pixman,
|
|
159
|
+ dep_xkbcommon,
|
|
160
|
+]
|
|
161
|
+
|
|
162
|
+
|
156
|
163
|
subdir('include')
|
157
|
164
|
subdir('protocol')
|
158
|
165
|
subdir('shared')
|
shared/meson.build
... |
... |
@@ -7,7 +7,8 @@ srcs_libshared = [ |
7
|
7
|
'process-util.c',
|
8
|
8
|
'hash.c',
|
9
|
9
|
]
|
10
|
|
-deps_libshared = [dep_wayland_client, dep_wayland_server, dep_pixman]
|
|
10
|
+deps_libshared = [dep_wayland_client, dep_wayland_server,
|
|
11
|
+ dep_pixman, deps_for_libweston_users]
|
11
|
12
|
|
12
|
13
|
lib_libshared = static_library(
|
13
|
14
|
'shared',
|
tests/meson.build
... |
... |
@@ -323,7 +323,8 @@ if get_option('xwayland') |
323
|
323
|
include_directories: common_inc,
|
324
|
324
|
dependencies: [
|
325
|
325
|
dep_pixman, dep_xcb_xwayland,
|
326
|
|
- xcb_dep, xcb_cursor_dep
|
|
326
|
+ xcb_dep, xcb_cursor_dep,
|
|
327
|
+ dep_wayland_client,
|
327
|
328
|
],
|
328
|
329
|
install: false,
|
329
|
330
|
)
|
|