From: Daniel Golle Date: Mon, 14 Jul 2025 22:43:38 +0000 (+0100) Subject: libxkbcommon: never run Python-based tests X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=12b1d85ea12d3520a2ae7969831eb6c6cc99712b;p=feed%2Fvideo.git libxkbcommon: never run Python-based tests Unfortunately there is no way to disable running the Python/Jinja2-based tests, so patch mesion.build in order to not fail in case of Python dependency problems on the host. Signed-off-by: Daniel Golle --- diff --git a/libs/libxkbcommon/patches/100-no-python.patch b/libs/libxkbcommon/patches/100-no-python.patch new file mode 100644 index 0000000..aaa4a2a --- /dev/null +++ b/libs/libxkbcommon/patches/100-no-python.patch @@ -0,0 +1,11 @@ +--- a/meson.build ++++ b/meson.build +@@ -783,7 +783,7 @@ test( + pymod = import('python') + python = pymod.find_installation('python3', modules: ['jinja2'], required: false) + has_merge_modes_tests = python.found() and python.language_version().version_compare('>=3.11') +-if has_merge_modes_tests ++if false + script = find_program('scripts/update-merge-modes-tests.py') + merge_modes_tests = [meson.project_name()] + # NOTE: The following tests deal with third-party XKB compilers and are