[totem/wip/hadess/libx11-threads: 1/3] build: Require libx11 1.8




commit bdf1c142709284766759de86f1261d398491d412
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 4eb542e09..e4a204db2 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]