From b29ac8fbaceeac7f902fc75bb94a13b9cd9a0465 Mon Sep 17 00:00:00 2001 From: Ryan Farley Date: Wed, 7 Apr 2021 13:10:43 -0500 Subject: 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. --- util/meson.build | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'util/meson.build') diff --git a/util/meson.build b/util/meson.build index 9d3f1587..5e31cbbe 100644 --- a/util/meson.build +++ b/util/meson.build @@ -6,11 +6,6 @@ wlr_files += files( 'shm.c', 'signal.c', 'time.c', + 'token.c', ) - -if features.get('xdg-foreign') - add_project_arguments('-DHAS_LIBUUID=@0@'.format(uuid.found().to_int()), language: 'c') - wlr_deps += uuid - wlr_files += files('uuid.c') -endif -- cgit v1.2.3