mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
xwayland: require xcb-xfixes 1.15
xcb-xfixes 1.15 was released back in 2022. Let's simplify our build setup by requiring it.
This commit is contained in:
parent
37992cf3b8
commit
221b37355f
3 changed files with 11 additions and 18 deletions
|
|
@ -1,13 +1,13 @@
|
|||
xwayland_libs = []
|
||||
xwayland_required = [
|
||||
'xcb',
|
||||
'xcb-composite',
|
||||
'xcb-ewmh',
|
||||
'xcb-icccm',
|
||||
'xcb-render',
|
||||
'xcb-res',
|
||||
'xcb-xfixes',
|
||||
]
|
||||
xwayland_required = {
|
||||
'xcb': [],
|
||||
'xcb-composite': [],
|
||||
'xcb-ewmh': [],
|
||||
'xcb-icccm': [],
|
||||
'xcb-render': [],
|
||||
'xcb-res': [],
|
||||
'xcb-xfixes': '>=1.15',
|
||||
}
|
||||
xwayland_optional = {
|
||||
'xcb-errors': 'Required for printing X11 errors.',
|
||||
}
|
||||
|
|
@ -37,8 +37,9 @@ if not xwayland.found()
|
|||
subdir_done()
|
||||
endif
|
||||
|
||||
foreach lib : xwayland_required
|
||||
foreach lib, version : xwayland_required
|
||||
dep = dependency(lib,
|
||||
version: version,
|
||||
required: get_option('xwayland'),
|
||||
not_found_message: '\n'.join(msg).format(lib),
|
||||
)
|
||||
|
|
@ -93,6 +94,3 @@ wlr_files += files(
|
|||
)
|
||||
wlr_deps += xwayland_libs
|
||||
features += { 'xwayland': true }
|
||||
|
||||
have = cc.has_function('xcb_xfixes_set_client_disconnect_mode', dependencies: xwayland_libs)
|
||||
internal_config.set10('HAVE_XCB_XFIXES_SET_CLIENT_DISCONNECT_MODE', have)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue