Bump the Mesa-internal LLVM (kept in feeds/video/libs/llvm/) from
21.1.3 to 22.1.5, and the matching SPIRV-LLVM-Translator from
21.1.1 to 22.1.2.
The SPIRV-LLVM-Translator's major version tracks LLVM's major,
so it caps which LLVM major we can move to. Khronos has now
shipped v22.1.2 (latest in the 22.x series), allowing the LLVM
major bump.
Mesa 26.0.6 sets only a minimum LLVM (>= 18 / 15 / 8 depending
on the requested driver set); no upper bound, so LLVM 22.x is
acceptable.
Two LLVM 22 build-system changes need adapting in the Makefile:
1. LIBCLC_TARGETS_TO_BUILD got stricter target name validation:
'amdgcn--amdhsa' is rejected in favour of 'amdgcn-amd-amdhsa',
and the 32-bit nvptx ('nvptx--', 'nvptx--nvidiacl') targets
were dropped (the 64-bit equivalents remain).
2. libclc bytecode now installs under
'usr/lib/clang/<major>/lib/libclc/' rather than the previous
'usr/share/clc/'. Adjust the SPIR-V .spv copy in Build/Install
to source from the new location (a glob on the major version
avoids re-touching this on the next bump).
The downstream 100-allow-arc-target.patch still applies unchanged.
Link: https://github.com/llvm/llvm-project/releases/tag/llvmorg-22.1.5
Link: https://github.com/KhronosGroup/SPIRV-LLVM-Translator/releases/tag/v22.1.2
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Overview of changes in 1.56.4, 27-06-2025:
* fontconfig: Improve the add_font_file implementation
* fontconfig: Combine font features and style variants
* fontconfig: Make sure font faces stay alive
* win32: Drop some caching
* win32: Make sure font faces stay alive
* win32: Modernize and simplify the code
* win32: Stop synthesizing fonts
* win32: Implement list models
* coretext: Support synthetic small caps
* layout: Avoid assertions in line breaking
* build: Require GLib 2.82
Link: https://gitlab.gnome.org/GNOME/pango/-/raw/1.56.4/NEWS
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Bump from 1.45 to current upstream stable.
1.48 introduces the new 'enum-header' wayland-scanner mode that
generates a *-enum.h header per protocol. wlroots 0.20+ relies
on these. Extend Build/InstallDev to copy
/usr/include/wayland-protocols/*.h into staging so consumers can
include them via <wayland-protocols/...-enum.h>.
Link: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/1.48
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Bug fix release with various build/CI improvements and minor
fixes since 6.0.2.
LTO triggers internal compiler errors when building libassimp
against gcc-14 (with the OpenWrt fortify headers in the LTO
unit). Switch PKG_BUILD_FLAGS to 'gc-sections no-lto' to
unblock the build.
Link: https://github.com/assimp/assimp/releases/tag/v6.0.5
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Bump from 15.4.0 to 16.2.0. Upstream glslang ships the same commit
under two equivalent tags:
* 16.2.0 (semver tag)
* vulkan-sdk-1.4.341.0 (Vulkan SDK release tag)
Both tags resolve to commit f0bd0257c308b9a26562c1a30c4748a0219cc951.
We pick the semver tag here so package-manager version comparisons
stay monotonic relative to the previous 15.4.0 packaging; pinning
to vulkan-sdk-1.4.341.0 would otherwise look like a downgrade to
'1.4.341.0'.
This keeps glslang in lockstep with the rest of the Vulkan SDK
component group (vulkan-headers, vulkan-loader, spirv-headers,
spirv-tools all at vulkan-sdk-1.4.341.0).
Disable LTO via PKG_BUILD_FLAGS:=gc-sections no-lto - upstream
hits a 'inlining failed in call to always_inline vsnprintf:
function body can be overwritten at link time' error during
LTO with the OpenWrt fortify headers in 16.x.
Link: https://github.com/KhronosGroup/glslang/releases/tag/16.2.0
Link: https://github.com/KhronosGroup/glslang/releases/tag/vulkan-sdk-1.4.341.0
Link: https://vulkan.lunarg.com/sdk/home
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Mesa 25.2.4 configuration fails on Python 3.14+ because 'distutils'
has been removed. Adding 'packaging' ensures the version check
for Mako succeeds without falling back to the missing distutils.
Relates to https://github.com/openwrt/video/issues/61
Signed-off-by: Tito Brasolin <tito.brasolin@gmail.com>
The official_releases directory returns 404 for Qt 5.15.16.
Switching to the archive path ensures a reliable primary download.
Fixes#101
Relates to #72
Signed-off-by: Tito Brasolin <tito.brasolin@gmail.com>
The mesa package currently can't compile as Cython dependency fails to
compile with Python >= 3.13 version.
To fix this, bump all the host pip requirements tools to latest stable
version.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Bump libdouble-conversion to 3.3.1 and backport upstream patch for CMake
>= 4.0 version support.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Mesa 25.2 brings a bunch of new features, especially the Panfrost Vulkan
driver saw many improvements.
See https://docs.mesa3d.org/relnotes.html for details about what has
happened since Mesa 25.1.6.
Note that OSMesa as well as the old OpenCL 1.1 support has been dropped.
The new Rusticl OpenCL implementation cannot be supported yet as OpenWrt's
meson integration still lacks support for Rust at this point.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
The choice for the config option 'BUILD_qt5base-gui_OPENGL_OPENGLES2'
and 'BUILD_qt5base-gui_OPENGL_NONE' should only be visible if 'qt5base-gui'
is selected. This also applies to the default value if 'qt5base-gui' is
not selected.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Trying to express the dependency on libatomic conditionally didn't work
well and the effort also simply isn't worth it: given the size of mesa
itself, libatomic is negligable.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Add dependency on libatomic also for non-ARMv6 ARM targets as well as
big-endian ARM (xscale). Obviously they are all unlikely to ever
actually use Mesa.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Support for off-screen rendering ("libOSMesa") has been dropped upstream.
In order to still be able to cross-compile the panfrost driver also on
non-Linux buildhosts, or Linux hosts without libdrm, a patch has been
applied.
This patch has also been submitted upstream via
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36170
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
/usr/share/X11/xkb should point to ../xkeyboard-config-2
Remove the stray extra '../' to fix the symlink.
Fixes: 7873464 ("libxkbcommon: update to 1.10.0")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>