Files
RedBear-OS/recipes/libs
vasilito bfbf128d58 mesa: migrate to upstream git + external patches (Rule 2 policy fix, v6.0 2026)
Per local/AGENTS.md Rule 2 (NO OVERLAY-STYLE PATCHES — AMENDED 2026), big
external projects must NOT have source forks in local/sources/. Mesa's
Red Bear edits now live as external patches in local/patches/mesa/,
matching the established pipewire and wireplumber migration pattern
(commits 8ff9da2ff, 722f0c452).

The 3 patches were recovered from git history (commit 89d1306c8^ —
the migration that deleted them) and renamed to the modern Rule 2
NN-prefix naming for lexical-order application:

  01-virgl-redox-disk-cache.patch     (P4 from old series, 49 lines)
  02-gbm-dumb-prime-export.patch     (P5 from old series, 56 lines)
  03-platform-redox-gpu-probe.patch  (P6 from old series, 264 lines)

These patches disable the virgl disk cache (dl_iterate_phdr is missing
on Redox), add the GBM dumb prime export for cross-GPU buffer sharing,
and implement the platform/redox GPU probe path needed for EGL/Vulkan
on Redox.

The recipe now points at upstream Redox mesa
(https://gitlab.redox-os.org/redox-os/mesa, branch redox-24.0) and
applies the patches via a git apply loop in [build].script with
correct path resolution (2 dots from recipes/libs/mesa/ to project root).

Fixes the broken state where the recipe referenced the now-deleted
local/sources/mesa/ fork.
2026-06-09 23:20:32 +03:00
..
2026-04-17 13:33:17 +01:00