mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-23 08:56:29 -05:00
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:
parent
5a178c4a23
commit
b29ac8fbac
14 changed files with 44 additions and 81 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue