From 0ca3eb8f790ca2c0095e20ac362f78e3714332d1 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Sat, 13 Mar 2021 21:09:54 +0000 Subject: [PATCH] meson: require wlroots 0.13.0 after 15ebd2529477 src/server.c:93:61: error: too few arguments to function call, expected 2, have 1 server->backend = wlr_backend_autocreate(server->wl_display); ~~~~~~~~~~~~~~~~~~~~~~ ^ subprojects/wlroots/include/wlr/backend.h:43:21: note: 'wlr_backend_autocreate' declared here struct wlr_backend *wlr_backend_autocreate(struct wl_display *display, ^ src/xdg.c:180:2: warning: implicit declaration of function 'wlr_xdg_surface_for_each_popup_surface' is invalid in C99 [-Wimplicit-function-declaration] wlr_xdg_surface_for_each_popup_surface(view->xdg_surface, iterator, data); ^ ld: error: undefined symbol: wlr_xdg_surface_for_each_popup_surface >>> referenced by xdg.c:180 (src/xdg.c:180) >>> labwc.p/src_xdg.c.o:(xdg_toplevel_view_for_each_popup_surface) --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 8530075a..4317e5bc 100644 --- a/meson.build +++ b/meson.build @@ -41,7 +41,7 @@ if wlroots_proj.found() wlroots_conf = wlroots_proj.get_variable('conf_data') wlroots_has_xwayland = wlroots_conf.get('WLR_HAS_XWAYLAND') == 1 else - wlroots = dependency('wlroots', version: '>= 0.11.0') + wlroots = dependency('wlroots', version: '>= 0.13.0') wlroots_has_xwayland = cc.get_define('WLR_HAS_XWAYLAND', prefix: '#include ', dependencies: wlroots) == '1' endif wayland_server = dependency('wayland-server')