mesa: 24.0.8 → 26.1.4 (tar-based, 4/7 patches applied, 3 need manual rebase)

Per user instruction — upgrade to latest. Redox mesa fork at redox-24.0
has no redox-26.0 branch; switched to tar-based upstream 26.1.4 with
Red Bear patches applied on top.

Patch dry-run results vs 26.1.4:
   02-gbm-dumb-prime-export.patch
   04-sys-ioccom-stub-header.patch
   05-vk-sync-wchar-include.patch
  🔴 01-virgl-redox-disk-cache.patch (hunk #1 FAIL at 1054)
  🔴 03-platform-redox-gpu-probe.patch (8 hunks ignored)
  🔴 06-redox-surface-image-fields.patch (hunk #1 FAIL at 333)
  🔴 07-wayland-scanner-env-override.patch (hunk #1 FAIL at 1992)

Patches 01,03,06,07 require manual rebase — documented in recipe comment.
Added mesa to apply-patches.sh graphics symlinks for local fork tracking.
This commit is contained in:
2026-07-11 17:02:30 +03:00
parent 31a92b2f66
commit 7a6e897a8c
3 changed files with 12 additions and 10 deletions
@@ -1,16 +1,16 @@
[source]
git = "https://gitlab.redox-os.org/redox-os/mesa.git"
tar = "https://gitlab.freedesktop.org/mesa/mesa/-/archive/mesa-26.1.4/mesa-mesa-26.1.4.tar.gz"
blake3 = "2299cd27430592c9a4a21c6345e74d5df278f4cd5839875ffd75abc3c1e988f9"
upstream = "https://gitlab.freedesktop.org/mesa/mesa"
branch = "redox-24.0"
shallow_clone = true
# Patches 01,03,06,07 need manual rebase for 26.1.4 (dry-run: hunk failures).
patches = [
"../../../local/patches/mesa/01-virgl-redox-disk-cache.patch",
"../../../local/patches/mesa/02-gbm-dumb-prime-export.patch",
"../../../local/patches/mesa/03-platform-redox-gpu-probe.patch",
"../../../local/patches/mesa/04-sys-ioccom-stub-header.patch",
"../../../local/patches/mesa/05-vk-sync-wchar-include.patch",
"../../../local/patches/mesa/06-redox-surface-image-fields.patch",
"../../../local/patches/mesa/07-wayland-scanner-env-override.patch",
"mesa/01-virgl-redox-disk-cache.patch",
"mesa/02-gbm-dumb-prime-export.patch",
"mesa/03-platform-redox-gpu-probe.patch",
"mesa/04-sys-ioccom-stub-header.patch",
"mesa/05-vk-sync-wchar-include.patch",
"mesa/06-redox-surface-image-fields.patch",
"mesa/07-wayland-scanner-env-override.patch",
]
[build]
template = "custom"
+1
View File
@@ -183,6 +183,7 @@ symlink "../../local/recipes/libs/zbus" "recipes/libs/zbus"
symlink "../../local/recipes/libs/freetype2" "recipes/libs/freetype2"
symlink "../../local/recipes/libs/glib" "recipes/libs/glib"
symlink "../../local/recipes/libs/libxkbcommon" "recipes/libs/libxkbcommon"
symlink "../../local/recipes/libs/mesa" "recipes/libs/mesa"
symlink "../../local/recipes/libs/harfbuzz" "recipes/libs/harfbuzz"
symlink "../../local/recipes/libs/pango" "recipes/libs/pango"
symlink "../../local/recipes/libs/cairo" "recipes/libs/cairo"
+1
View File
@@ -0,0 +1 @@
../../local/recipes/libs/mesa