[totem/wip/hadess/libx11-threads: 46/48] build: Require libx11 1.8




commit 6f8beaf870ef126d729502d859c8d2433286070c
Author: Bastien Nocera <hadess hadess net>
Date:   Wed May 4 11:36:09 2022 +0200

    build: Require libx11 1.8
    
    Require a version of libX11 new enough that it will initialise threads
    support itself.
    
    See https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/afcdb6fb0045c6186aa83d9298f327a7ec1b2cb9

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 5d9e7e4bc..c77dc828b 100644
--- a/meson.build
+++ b/meson.build
@@ -138,7 +138,7 @@ gio_dep = dependency('gio-2.0', version: '>= 2.43.4')
 gtk_dep = dependency('gtk+-3.0', version: gtk_req_version)
 targets = gtk_dep.get_pkgconfig_variable('targets')
 if targets.split(' ').contains('x11')
-  x11_dep = dependency('x11')
+  x11_dep = dependency('x11', version: '>= 1.8')
 else
   x11_dep = dependency('', required : false)
 endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]