util/uuid: replace with util/token, remove libuuid

Use 128-bit hexadecimal string tokens generated with /dev/urandom
instead of UUIDs for xdg-foreign handles, removing the libuuid
dependency. Update readme and CI. Closes #2830.

build: remove xdg-foreign feature

With no external dependencies required, there's no reason not to always
build it. Remove WLR_HAS_XDG_FOREIGN as well.
This commit is contained in:
Ryan Farley 2021-04-07 13:10:43 -05:00 committed by Simon Ser
parent 5a178c4a23
commit b29ac8fbac
14 changed files with 44 additions and 81 deletions

View file

@ -9,13 +9,6 @@ if not features.get('xwayland')
else
subdir('xwayland')
endif
if not features.get('xdg-foreign')
exclude_files += [
'types/wlr_xdg_foreign_v1.h',
'types/wlr_xdg_foreign_v2.h',
'types/wlr_xdg_foreign_registry.h',
]
endif
install_subdir('wlr',
install_dir: get_option('includedir'),