]> git.mdlowis.com Git - proto/labwc.git/commitdiff
meson: require wlroots 0.13.0 after 15ebd2529477
authorJan Beich <jbeich@FreeBSD.org>
Sat, 13 Mar 2021 21:09:54 +0000 (21:09 +0000)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sat, 13 Mar 2021 23:23:33 +0000 (23:23 +0000)
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

index 8530075a0c5b4959e0696e60af5b371e20d0ac39..4317e5bc3a9cc246b2e5e671080b3cfc6bb07571 100644 (file)
@@ -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 <wlr/config.h>', dependencies: wlroots) == '1'
 endif
 wayland_server  = dependency('wayland-server')