[Buildroot] [PATCH 1/1] package/{mesa3d, mesa3d-headers}: bump version to 25.2.2
Romain Naour
romain.naour at smile.fr
Wed Sep 10 20:13:34 UTC 2025
Hello Bernd, All,
Le 10/09/2025 à 13:49, Romain Naour a écrit :
> Hello Bernd, All,
>
> Le 09/09/2025 à 18:13, Bernd Kuhls a écrit :
>> Rebased patch 0001.
>>
>> Removed Gallium xa state tracker:
>> https://gitlab.freedesktop.org/mesa/mesa/-/commit/3be2c47db2318ebe9222c80bf981038df4374b2d
>>
>> Legacy handling for blind option BR2_PACKAGE_MESA3D_NEEDS_XA is not
>> necessary.
>>
>> Release notes:
>> https://lists.freedesktop.org/archives/mesa-announce/2025-August/000815.html
>> https://lists.freedesktop.org/archives/mesa-announce/2025-August/000818.html
>> https://lists.freedesktop.org/archives/mesa-announce/2025-September/000820.html
>
> On such complex package, can you try at least one of the testsuite case were
> mesa3d is enabled?
>
> test_flutter.py:24: BR2_PACKAGE_MESA3D=y
> test_glslsandbox_player.py:19: BR2_PACKAGE_MESA3D=y
> test_glxinfo.py:21: BR2_PACKAGE_MESA3D=y
> test_kmscube.py:20: BR2_PACKAGE_MESA3D=y
> test_mesa3d.py:17: BR2_PACKAGE_MESA3D=y
> test_python_pyqt5.py:30: BR2_PACKAGE_MESA3D=y
> test_weston.py:24: BR2_PACKAGE_MESA3D=y
>
> At least the TestMesa3DRusticl one?
> (I understand that each of them requires time, resources and CI minutes)
>
>>
>> Signed-off-by: Bernd Kuhls <bernd at kuhls.net>
>> ---
>> package/mesa3d-headers/mesa3d-headers.mk | 2 +-
>> ...-meson-option-to-disable-optional-neon-suppor.patch | 6 +++---
>> package/mesa3d/Config.in | 9 ---------
>> package/mesa3d/mesa3d.hash | 6 +++---
>> package/mesa3d/mesa3d.mk | 10 ++--------
>> 5 files changed, 9 insertions(+), 24 deletions(-)
>>
>> diff --git a/package/mesa3d-headers/mesa3d-headers.mk b/package/mesa3d-headers/mesa3d-headers.mk
>> index 5cd05cc9ff..5932d73f2c 100644
>> --- a/package/mesa3d-headers/mesa3d-headers.mk
>> +++ b/package/mesa3d-headers/mesa3d-headers.mk
>> @@ -12,7 +12,7 @@ endif
>>
>> # Not possible to directly refer to mesa3d variables, because of
>> # first/second expansion trickery...
>> -MESA3D_HEADERS_VERSION = 25.1.8
>> +MESA3D_HEADERS_VERSION = 25.2.2
>> MESA3D_HEADERS_SOURCE = mesa-$(MESA3D_HEADERS_VERSION).tar.xz
>> MESA3D_HEADERS_SITE = https://archive.mesa3d.org
>> MESA3D_HEADERS_DL_SUBDIR = mesa3d
>> diff --git a/package/mesa3d/0001-vc4-add-meson-option-to-disable-optional-neon-suppor.patch b/package/mesa3d/0001-vc4-add-meson-option-to-disable-optional-neon-suppor.patch
>> index 04b33a7856..52e23e35da 100644
>> --- a/package/mesa3d/0001-vc4-add-meson-option-to-disable-optional-neon-suppor.patch
>> +++ b/package/mesa3d/0001-vc4-add-meson-option-to-disable-optional-neon-suppor.patch
>> @@ -10,7 +10,7 @@ to force disabling it at compile time.
>> Upstream: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4114
>> Signed-off-by: Peter Seiderer <ps.report at gmx.net>
>> Signed-off-by: Bernd Kuhls <bernd at kuhls.net>
>> -[rebased for 20.2.0, 20.3.0, 21.1.0, 23.1.0, 23.2.0, 24.3.0 & 25.1.0]
>> +[rebased for 20.2.0, 20.3.0, 21.1.0, 23.1.0, 23.2.0, 24.3.0, 25.1.0 & 25.2.0]
>
> This is a long list. Only the last one is really relevant since we package only
> one mesa3d version at the time.
>
> I'll run some tests, just to double check.
Tests are successful:
TestGlxinfo
TestMesa3DRusticl
TestWeston
Applied to master, thanks.
Best regards,
Romain
>
> Best regards,
> Romain
>
>
>> Signed-off-by: Peter Seiderer <ps.report at gmx.net>
>> [fix syntax error after previous rebases]
>> ---
>> @@ -23,8 +23,8 @@ diff --git a/meson.options b/meson.options
>> index 8e0bf2a..1cf0e07 100644
>> --- a/meson.options
>> +++ b/meson.options
>> -@@ -117,6 +117,13 @@ option(
>> - description : 'enable gallium va frontend.',
>> +@@ -131,6 +131,13 @@ option(
>> + description : 'enable gallium mediafoundation frontend tests.',
>> )
>>
>> +option(
>> diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in
>> index 924437f033..d2003fce42 100644
>> --- a/package/mesa3d/Config.in
>> +++ b/package/mesa3d/Config.in
>> @@ -102,12 +102,6 @@ config BR2_PACKAGE_MESA3D_DRIVER
>> bool
>> select BR2_PACKAGE_XLIB_LIBXSHMFENCE if BR2_PACKAGE_XORG7
>>
>> -# Gallium xa state tracker.
>> -# Quote from mesa3d meson.build: "XA state tracker requires at least
>> -# one of the following gallium drivers: nouveau, freedreno, i915, svga.
>> -config BR2_PACKAGE_MESA3D_NEEDS_XA
>> - bool
>> -
>> # OpenGL GLX and Gallium VDPAU both needs X11
>> config BR2_PACKAGE_MESA3D_NEEDS_X11
>> bool
>> @@ -194,7 +188,6 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU
>> bool "Gallium nouveau driver"
>> select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
>> select BR2_PACKAGE_LIBDRM_NOUVEAU
>> - select BR2_PACKAGE_MESA3D_NEEDS_XA
>> select BR2_PACKAGE_LLVM_RTTI if BR2_PACKAGE_MESA3D_LLVM
>> select BR2_PACKAGE_MESA3D_RUSTICL_SUPPORTED_DRIVER
>> help
>> @@ -266,7 +259,6 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SVGA
>> depends on BR2_i386 || BR2_x86_64
>> select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
>> select BR2_PACKAGE_LIBDRM_VMWGFX
>> - select BR2_PACKAGE_MESA3D_NEEDS_XA
>> help
>> This is a virtual GPU driver for VMWare virtual machines.
>>
>> @@ -282,7 +274,6 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_TEGRA
>> select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
>> select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU
>> select BR2_PACKAGE_LIBDRM_NOUVEAU
>> - select BR2_PACKAGE_MESA3D_NEEDS_XA
>> help
>> Adds support for Nvidia Tegra GPUs, requires nouveau.
>>
>> diff --git a/package/mesa3d/mesa3d.hash b/package/mesa3d/mesa3d.hash
>> index a3858d398d..d76b384e26 100644
>> --- a/package/mesa3d/mesa3d.hash
>> +++ b/package/mesa3d/mesa3d.hash
>> @@ -1,6 +1,6 @@
>> -# From https://lists.freedesktop.org/archives/mesa-announce/2025-August/000817.html
>> -sha256 5cf1571d0d646d90047f3d93f57acc787cf88ec7e95efe172c555b492c30fb71 mesa-25.1.8.tar.xz
>> -sha512 98435d52a2855c71b15060785c225dc674b3565545a8581a5dd501605a04f9d597636282f1bce61e7a2e8ee98c31ecf7fbccab594571e31bc8b827e18e98aaa5 mesa-25.1.8.tar.xz
>> +# From https://lists.freedesktop.org/archives/mesa-announce/2025-September/000820.html
>> +sha256 43d7abcd4aa8049d8fd75538344a374104765e81e17b4a6314cee2c0160e4412 mesa-25.2.2.tar.xz
>> +sha512 69cd7ed33d0856e227a0219a9d09e5eb2fad28162276b5971bff4f7102cf58b0d914131ad6543562cba230ce6fb9b2076d3b156b1b8c375e74722a143aee5379 mesa-25.2.2.tar.xz
>> # License
>> sha256 0d1a0472ecc81830e75c20d59b0ea02841e3db21255e0ebad97ab682c54d6615 docs/license.rst
>> sha256 323c587d0ccf10e376f8bf9a7f31fb4ca6078105194b42e0b1e0ee2bc9bde71f licenses/MIT
>> diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk
>> index e94bafed8c..9ab0ffdfc3 100644
>> --- a/package/mesa3d/mesa3d.mk
>> +++ b/package/mesa3d/mesa3d.mk
>> @@ -5,7 +5,7 @@
>> ################################################################################
>>
>> # When updating the version, please also update mesa3d-headers
>> -MESA3D_VERSION = 25.1.8
>> +MESA3D_VERSION = 25.2.2
>> MESA3D_SOURCE = mesa-$(MESA3D_VERSION).tar.xz
>> MESA3D_SITE = https://archive.mesa3d.org
>> MESA3D_LICENSE = MIT, SGI, Khronos
>> @@ -92,15 +92,9 @@ ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_GLX),y)
>> MESA3D_CONF_OPTS += \
>> -Dglx=dri \
>> -Dglx-direct=true
>> -ifeq ($(BR2_PACKAGE_MESA3D_NEEDS_XA),y)
>> -MESA3D_CONF_OPTS += -Dgallium-xa=enabled
>> -else
>> -MESA3D_CONF_OPTS += -Dgallium-xa=disabled
>> -endif
>> else
>> MESA3D_CONF_OPTS += \
>> - -Dglx=disabled \
>> - -Dgallium-xa=disabled
>> + -Dglx=disabled
>> endif
>>
>> ifeq ($(BR2_ARM_CPU_HAS_NEON),y)
>
More information about the buildroot
mailing list