Merge libxkbcommon and disable gles on mesa-x11

This commit is contained in:
Wildan M 2026-06-07 15:17:57 +07:00
parent 5c70677c08
commit 57aa833983
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79
9 changed files with 26 additions and 39 deletions

View File

@ -13,7 +13,7 @@ dependencies = [
"libxext", "libxext",
"libxfixes", "libxfixes",
"libxxf86vm", "libxxf86vm",
"mesa-x11", "mesa",
"x11proto", "x11proto",
"zlib", "zlib",
] ]
@ -21,6 +21,6 @@ script = """
DYNAMIC_INIT DYNAMIC_INIT
cookbook_meson \ cookbook_meson \
-Degl=yes \ -Degl=yes \
-Dglx=yes \ -Dglx=no \
-Dtests=false -Dtests=false
""" """

View File

@ -2,15 +2,25 @@
[source] [source]
tar = "https://xkbcommon.org/download/libxkbcommon-1.7.0.tar.xz" tar = "https://xkbcommon.org/download/libxkbcommon-1.7.0.tar.xz"
blake3 = "5001ca0b8562feeef2010bf16c05657e3875fda3ed5fdedbf48b9135e5cdfcbc" blake3 = "5001ca0b8562feeef2010bf16c05657e3875fda3ed5fdedbf48b9135e5cdfcbc"
patches = [
"redox.patch"
]
[build] [build]
template = "meson" template = "custom"
mesonflags = [
"-Denable-wayland=false",
"-Denable-x11=false"
]
dependencies = [ dependencies = [
"libxml2", "libxml2",
"xz", "xz",
"zlib", "zlib",
"libpthread-stubs",
"libxau",
"x11proto",
"xcb-proto",
"libxcb",
] ]
script = """
DYNAMIC_INIT
cookbook_meson \
-Denable-wayland=false \
-Denable-x11=true
"""

View File

@ -1,4 +1,4 @@
diff --color -ruwN source/meson.build source-new/meson.build diff -ruwN source/meson.build source-new/meson.build
--- source/meson.build 2024-03-24 04:23:43.000000000 +0700 --- source/meson.build 2024-03-24 04:23:43.000000000 +0700
+++ source-new/meson.build 2025-10-29 10:55:30.355297899 +0700 +++ source-new/meson.build 2025-10-29 10:55:30.355297899 +0700
@@ -637,8 +637,6 @@ @@ -637,8 +637,6 @@
@ -31,7 +31,7 @@ diff --color -ruwN source/meson.build source-new/meson.build
if get_option('enable-xkbregistry') if get_option('enable-xkbregistry')
test( test(
'registry', 'registry',
diff --color -ruwN source/src/x11/util.c source-new/src/x11/util.c diff -ruwN source/src/x11/util.c source-new/src/x11/util.c
--- source/src/x11/util.c 2024-03-24 04:23:43.000000000 +0700 --- source/src/x11/util.c 2024-03-24 04:23:43.000000000 +0700
+++ source-new/src/x11/util.c 2025-10-29 15:03:58.879274347 +0700 +++ source-new/src/x11/util.c 2025-10-29 15:03:58.879274347 +0700
@@ -39,7 +39,7 @@ @@ -39,7 +39,7 @@

View File

@ -15,7 +15,7 @@ dependencies = [
# "glib", # "glib",
"gtk3", "gtk3",
"pango", "pango",
"libxkbcommon-x11", "libxkbcommon",
"libice", "libice",
"mesa-x11", "mesa-x11",
"x11proto-kb", "x11proto-kb",

View File

@ -17,7 +17,7 @@ dependencies = [
# "glib", # "glib",
"gtk3", "gtk3",
"pango", "pango",
"libxkbcommon-x11", "libxkbcommon",
"libice", "libice",
"mesa-x11", "mesa-x11",
"x11proto-kb", "x11proto-kb",

View File

@ -13,7 +13,7 @@ dependencies = [
"freetype2", "freetype2",
"gtk3", "gtk3",
"pango", "pango",
"libxkbcommon-x11", "libxkbcommon",
"libice", "libice",
"mesa-x11", "mesa-x11",
"nspr", "nspr",

View File

@ -7,7 +7,7 @@ blake3 = "3b54ed52759339e545a7a5f602946abc0164c37eb801e79c0cb40f93dbae53d2"
dependencies = [ dependencies = [
"cairo", "cairo",
"libev", "libev",
"libxkbcommon-x11", "libxkbcommon",
"pango", "pango",
"pcre2", "pcre2",
"startup-notification", "startup-notification",

View File

@ -1,25 +0,0 @@
# TODO: Conflict with libxkbcommon-x11
# TODO: Keyboard not working, see patches
[source]
tar = "https://xkbcommon.org/download/libxkbcommon-1.7.0.tar.xz"
blake3 = "5001ca0b8562feeef2010bf16c05657e3875fda3ed5fdedbf48b9135e5cdfcbc"
patches = [ "redox.patch" ]
[build]
template = "custom"
dependencies = [
"libxml2",
"xz",
"zlib",
"libpthread-stubs",
"libxau",
"x11proto",
"xcb-proto",
"libxcb",
]
script = """
DYNAMIC_INIT
cookbook_meson \
-Denable-wayland=false \
-Denable-x11=true
"""

View File

@ -24,9 +24,11 @@ script = """
DYNAMIC_INIT DYNAMIC_INIT
cookbook_meson \ cookbook_meson \
-Ddri-drivers-path=/usr/lib/dri \ -Ddri-drivers-path=/usr/lib/dri \
-Degl=enabled \ -Degl=disabled \
-Dglx=dri \ -Dglx=dri \
-Dllvm=enabled \ -Dllvm=enabled \
-Dgles1=disabled \
-Dgles2=disabled \
-Dplatforms=x11 \ -Dplatforms=x11 \
-Dshader-cache=disabled -Dshader-cache=disabled
""" """