828d0defd4
The previous commit13d0543c2introduced Phase 2.1 (Mesa EGL Wayland migration) and was reverted ina88b43b71. This re-applies the change directly to the mainline recipe. Per the NO OVERLAY-STYLE PATCHES policy in AGENTS.md: - Red Bear is a FULL FORK. recipes/ is the source of truth. - The local/recipes/libs/mesa/ fork approach was overlay-style and is being removed. - Direct edits to the mainline recipe are the correct pattern. Changes to recipes/libs/mesa/recipe.toml: - Remove 'liborbital' from dependencies - Add 'libwayland' and 'wayland-protocols' to dependencies - Replace '-lorbital' link flag with: -lwayland-client -lwayland-server -lwayland-egl -lwayland-drm - Change '-Dplatforms=redox' to '-Dplatforms=wayland' The mesa source's platform_redox.c (which includes <orbital.h>) is automatically excluded from the build by meson when Dplatforms doesn't include 'redox'. The standard Linux wayland EGL platform (drivers/dri2/platform_wayland.c) is enabled. Side changes: - Remove local/recipes/libs/mesa/ (the overlay fork) - Update local/docs/CONSOLE-TO-KDE-DESKTOP-PLAN.md to reflect Phase 2.1 status The recipe still points at the upstream redox mesa git source (per AGENTS.md: 'Upstream gitlab URLs are temporary ... but unmodified upstream packages with pinned revisions' is allowed). To complete the full-fork model, a future step is to fork the mesa source to local/sources/mesa/ and switch the recipe to use path = '...'.