From 2abe309b15093b6e356c6229f37581b2a6905ae3 Mon Sep 17 00:00:00 2001 From: vasilito Date: Thu, 9 Jul 2026 14:56:48 +0300 Subject: [PATCH] =?UTF-8?q?KWin:=20switch=20libepoxy-stub=E2=86=92libepoxy?= =?UTF-8?q?=20(real=203D=20dispatch)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replaced the libepoxy-stub (hardcoded inline stubs returning 0 for all EGL/GLES extension queries) with the real libepoxy v6.0 2026 recipe. libepoxy builds against Mesa EGL/GLES2 with full function pointer dispatch via epoxy_*_resolve(). The real recipe was already populated with full source (meson build, dispatch_egl.c, dispatch_glx.c, etc.) but was never wired into KWin. libudev-stub remains until libudev source is populated. This unblocks KWin's cmake configure step which needs real epoxy::epoxy cmake target with actual GL/EGL function pointer resolution, not the hardcoded-zero stub. --- local/recipes/kde/kwin/recipe.toml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/local/recipes/kde/kwin/recipe.toml b/local/recipes/kde/kwin/recipe.toml index 06fda407ff..2dd5a97d6e 100644 --- a/local/recipes/kde/kwin/recipe.toml +++ b/local/recipes/kde/kwin/recipe.toml @@ -1,11 +1,11 @@ # KWin — real cmake build of the KDE Wayland compositor/window manager. # null+8 Wayland crash is verified FIXED in qtwaylandscanner (commits # de2d74c37e + 882c2974ec). Cross-build still bounded by: -# - libepoxy-stub / libudev-stub: policy debt; real libepoxy/libudev -# recipes exist but source is not yet populated. Stub packages stage -# the cmake targets KWin links against (epoxy::epoxy, UDev::UDev). -# When real libepoxy and libudev get populated source, switch KWin's -# deps to those recipes and remove the stubs. +# - libudev-stub: policy debt; real libudev recipe exists but source is +# not yet populated. Stub provides UDev::UDev cmake target KWin needs. +# - libepoxy: switched from stub to real libepoxy v6.0 2026 (2026-07-09). +# Provides epoxy::epoxy cmake target with real EGL/GLES function pointer +# dispatch, replacing the hardcoded-zero stub. # - KF6Svg: KF6::Svg is not built on Redox. KWin's CMakeLists touches # the target in optional paths; the recipe stubs it locally. # - Sensors / UiTools: removed from CMakeLists.txt (these components @@ -44,7 +44,7 @@ dependencies = [ "kdecoration", "kf6-kcmutils", "plasma-wayland-protocols", - "libepoxy-stub", + "libepoxy", "libudev-stub", "wayland-protocols", "redbear-compositor",