CVE and update status of the FreeBSD ports tree4,526 unaddressed CVEs in 616 portsAll times are CET

Port details

graphics/mesa-dri26.2.2_1

OpenGL hardware acceleration drivers for DRI2+

Maintainer
x11@FreeBSD.org
Packages
mesa-dri 26.2.2_1
Upstream
Higher version available: 26.2.5
CPE
mesa3d:mesa
WWW
https://www.mesa3d.org/
Links
cgit · VuXML

Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE

None. There is no CVE without a VuXML entry for this version.

VuXML only (0) · listed, port not fixed yet

None. pkg audit reports nothing for this version.

Fixed (0)

No VuXML entries for this package.

Commits (236)

Hiroki Tagato (tagattie) · 26.2.2_1
*/*: Bump port revision after spirv-tools update (36c50e5bf7cc)
06582a0423
Sergey A. Osokin (osa)
graphics/mesa*: update to 26.2.2

PR:		298129
Approved by:	x11 (arrowd, maintainer)

Sponsored by:	tipi.work
29df97d33d
Dima Panov (fluffy)
graphics/mesa-dri: fix panfrost packaging on aarch64

While here, allow VMWare svga driver on aarch64

Approved by:	x11 (arrowd)
b98f58caf4
Gleb Popov (arrowd)
graphics/mesa-*: update to 26.2.1

Differential Revision: https://reviews.freebsd.org/D58728
Co-authored-by:	Gleb Popov <arrowd@FreeBSD.org>
f8519cdf7c
Sergey A. Osokin (osa)
graphics/mesa-*: update to 26.1.7

PR:		297483
Approved by:	x11 (arrowd, maintainer)

Sponsored by:	tipi.work
4f168a7269
Sergey A. Osokin (osa)
graphics/mesa-*: update to 26.1.6

PR:		297150
Approved by:	x11 (arrowd, maintainer)

Sponsored by:	tipi.work
a17560b3ca
Hiroki Tagato (tagattie)
*/*: Bump port revision after spirv-tools update (f6a550749269)
e77979c168
Olivier Cochard (olivier)
graphics/mesa-dri: enable H.264/H.265 Vulkan Video codecs

PR:		296968
Approved by:	arrowd
84fd498712
Sergey A. Osokin (osa)
graphics/mesa*: update to 26.1.5

PR:		296821
Approved by:	x11 (arrowd, maintainer)

Sponsored by:	tipi.work
1153289f95
Sergey A. Osokin (osa)
graphics/mesa-{dri,libs}: update: 26.1.3 -> 26.1.4

PR:		296590
Approrved by:	x11 (maintainer, arrowd)

Sponsored by:	tipi.work
e3bdea42a0
Gleb Popov (arrowd)
graphics/mesa-{dri,libs}: Enable virgl and consequently gallium-va unconditionally

PR:		296405
Tested by:	fuz
f57f553392
Gleb Popov (arrowd)
graphics/mesa-{dri,libs}: Update to 26.1.3
763dec4501
Gleb Popov (arrowd)
graphics/mesa-dri: Fix plist when X11 is off

According to ${WRKSRC}/src/meson.build code the X11 platform is required for DRI.

PR:		296084
7aeb4998df
Gleb Popov (arrowd)
graphics/mesa-dri: Make zink unconditional

This driver is enabled by default upstream for everything but Darwin. Enabling
it adds a miniscule of build time, but simplifies packaging.

PR:		296084
9cce689a80
Gleb Popov (arrowd)
graphics/mesa-dri: Make glslang an unconditional build dependency

Strictly speaking, glslang is only needed for Vulkan drivers, but this isn't
a heavy dependency.

PR:		296094
Reported by:	Oleh Hushchenkov <o.hushchenkov@gmail.com>
73d82232c4
Gleb Popov (arrowd)
graphics/mesa-{dri,libs}: Fix building with iris and anv off

Move the pkgconfig related CONFIGURE_ENV knob to a common place instead of
activating it depending on options.

PR:		296094
Reported by:	Oleh Hushchenkov <o.hushchenkov@gmail.com>
e8496063d0
Gleb Popov (arrowd)
graphics/mesa-dri: Fix building when both r600 and radeonsi are off

PR:		296094
c5d5674f37
Gleb Popov (arrowd)
graphics/mesa-{dri,libs}: Fix vaapi for AMD

VA bits end up being compiled into the libgallium.so giant library, which is
shipped by mesa-libs. This means that we should make libva an unconditional
build dep for mesa-libs. In turn this makes no sense to disable VA in mesa-dri.

Luckily, libva is a pretty thin dep.

Reported by:	flo
a5ad594928
Gleb Popov (arrowd)
graphics/mesa-dri: Refine BUILD_DEPENDS of crocus and panfrost

Reported by:	pkg-fallout (arm64)
25caaf0c5d
Gleb Popov (arrowd)
graphics/mesa-{dri,libs}: Drop patches that are now included upstream

Reported by:	kenrap
a5cacc156c
Gleb Popov (arrowd)
graphics/mesa-{dri,libs}: Update to 26.0.6

PR:		294957
Co-authored-by:	Gleb Popov <arrowd@FreeBSD.org>
823c5a85df
Gleb Popov (arrowd)
lang/clover: remove port
672021ea49
Gleb Popov (arrowd)
graphics/libosmesa: remove port
39aeda359a
Gleb Popov (arrowd)
graphics/mesa-gallium-v{a,dpau}: Merge into graphics/mesa-dri
e539472f26
Gleb Popov (arrowd)
graphics/mesa-{dri,libs}: Update to 25.2.8

PR:		294948
Co-authored-by:	Gleb Popov <arrowd@FreeBSD.org>
b91b541fc6
Dimitry Andric (dim)
graphics/mesa-dri: fix builds against llvm 20 and 21

Add several upstream patches, as patch-llvm-20-* and patch-llvm-21-*, to
make mesa build against llvm 20 and 21. Whenever mesa gets updated to a
new version which includes those changes, the patches can easily be
removed.

PR:		290809, 290874
MFH:		2026Q2
e45b1bd302
Hiroki Tagato (tagattie)
*/*: Bump port revision after spirv-tools update (312c7d7e67c2)
522eba26e1
Hiroki Tagato (tagattie)
*/*: Bump port revision after spirv-tools update (691d023921f3)
be3cf7dfe6
Hiroki Tagato (tagattie)
*/*: Bump port revision after spirv-tools update (ec3b7d6b9107)
6d81aa7e95
Hiroki Tagato (tagattie)
*/*: bump port revision after spirv-tools update (1fcdc76337bc)
19cee39960
Emmanuel Vadot (manu)
graphics/mesa: Add py-packaging as BUILD_DEP

- Due to the deprecation of distutils a version check in the meson.build code is failing
- This is fixed by adding py-packaging which is default approach for getting the version
- Note: We are not adding py-setuptools as distutils is a fallback approach to getting the version

PR:	287567
46f45d8357
Jan Beich (jbeich)
graphics/glslang: update to 15.4.0

Changes:	https://github.com/KhronosGroup/glslang/releases/tag/15.4.0
Reported by:	GitHub (watch releases)
79c1483eda
Jan Beich (jbeich)
graphics/spirv-tools: update to 2025.3.r1

Changes:	https://github.com/KhronosGroup/SPIRV-Tools/compare/v2025.2.rc1...v2025.3.rc1
Reported by:	Repology
17c48bcecb
Robert Clausecker (fuz)
graphics/mesa-libs: fix build on armv7 with LLVM 19

Approved by:	portmgr (build fix blanket)
MFH:		2025Q2
d4b2a35afa
Jan Beich (jbeich)
graphics/glslang: update to 15.3.0

Changes:	https://github.com/KhronosGroup/glslang/releases/tag/15.3.0
Reported by:	GitHub (watch releases)
808f64e9a3
Jan Beich (jbeich)
graphics/spirv-tools: update to 2025.2.r1

Changes:	https://github.com/KhronosGroup/SPIRV-Tools/compare/v2025.1...v2025.2.rc1
Reported by:	Repology
00045e68e1
Emmanuel Vadot (manu)
Revert "graphics/mesa-dri: Drop radeonsi for i386"

i386 radeonsi_dri.so is still needed by wine.

This reverts commit 69000ee2eb1c7167cd9542468ac674f3bb38b94c.

Reported by:	jbeich
Sponsored by:	Beckhoff Automation GmbH & Co. KG
10a572d0b8
Emmanuel Vadot (manu)
graphics/mesa-dri: Drop radeonsi for i386

We've never supported amdgpu for i386 in drm-*-kmod so no need mesa.

Sponsored by:   Beckhoff Automation GmbH & Co. KG
113d022ba2
Gleb Popov (arrowd)
graphics/mesa-dri: Add upstream patch fixing the bogus close() call

PR:		283851
Approved by:	x11 (maintainer timeout)
0b3f2f14f0
Jung-uk Kim (jkim)
graphics/mesa-dri: fix build with clang 19

Reviewed by:	manu
Tested by:	jbeich
PR:		282316
13d55b0eaa
Emmanuel Vadot (manu)
graphics/mesa-dri: Remove intel-rt from MESON_ARGS

This isn't needed after 17257d707a58595d2a5c3cc95cdf2966f397b8f1.

PR:	281111
16852ed437
Emmanuel Vadot (manu)
graphics/mesa: Update to 24.1.7

Release notes (24.1.6):	https://lists.freedesktop.org/archives/mesa-dev/2024-August/226294.html
Release notes:	https://lists.freedesktop.org/archives/mesa-dev/2024-August/226303.html

Differential Revision:	https://reviews.freebsd.org/D46478
Sponsored by:		Beckhoff Automation GmbH & Co. KG
ec87669831
Emmanuel Vadot (manu)
devel/libclc: Flavorize the port

Defines some flavors for llvm15 to llvm18 for libclc.
This will allow users to use a different LLVM_DEFAULT without having
to rely on the default one (llvm15 for now).

PR:		280863
Sponsored by:	Beckhoff Automation GmbH & Co. KG
c01e7d09ad
Emmanuel Vadot (manu)
graphics/mesa-dri: Always disable intel-rt on !amd64

Since anv is only included for x86(-64) the MESON_ON isn't added to MESON_ARGS.
So explicitely disable intel-rt on !amd64 since it doesn't work.

Reported by:	eduardo@freebsd.org
Spoonsored by:	Beckhoff Automation GmbH & Co. KG
17257d707a
Emmanuel Vadot (manu)
graphics/mesa: Unbreak on !amd64

Disable intel-rt for all arches except amd64 as it's only supported there.

PR:		 280979
Sponsored by:	Beckhoff Automation GmbH & Co. KG
e313acaea3
Emmanuel Vadot (manu)
graphics/mesa: Update to 24.1.5

Release notes:	https://lists.freedesktop.org/archives/mesa-dev/2024-May/226222.html
Release notes:	https://lists.freedesktop.org/archives/mesa-dev/2024-June/226223.html
Release notes:	https://lists.freedesktop.org/archives/mesa-dev/2024-June/226249.html
Release notes:	https://lists.freedesktop.org/archives/mesa-dev/2024-July/226272.html
Release notes:	https://lists.freedesktop.org/archives/mesa-dev/2024-July/226279.html
Release notes:	https://lists.freedesktop.org/archives/mesa-dev/2024-July/226289.html

Sponsored by:		Beckhoff Automation GmbH & Co. KG
Differential Revision:	https://reviews.freebsd.org/D46229
277dfdc8d5
Emmanuel Vadot (manu)
graphics/mesa-dri: unbreak radv=OFF

The Intel Vulkan driver also needs it.

Fixes:		efb0c89e59bd ("graphics/mesa-dri: Convert gallium and vulkan driver to port options")
PR:		280071
Sponsored by:	Beckhoff Automation GmbH & Co. KG
142029e560
Emmanuel Vadot (manu)
graphics/mesa-dri: Convert gallium and vulkan driver to port options

Instead of selecting the one by arches add options.
This will help users who doesn't want some features.
The default are still the same based on the specific arch.
No functional changes intended.

Differential Revision:	https://reviews.freebsd.org/D45754
Inspired by:		graphics/mesa-devel
Reviewed by:		bapt
Sponsored by:		Beckhoff Automation GmbH & Co. KG
efb0c89e59
Emmanuel Vadot (manu)
graphics/mesa: Fix X11 options

We need to disable xlib-lease otherwise meson will fail to configure the port

Differential Revision:	https://reviews.freebsd.org/D45744
Reviewed by:		bapt
Sponsored by:		Beckhoff Automation GmbH & Co. KG
a26876a1e5
Emmanuel Vadot (manu)
graphics/mesa: Simplify x11/wayland option

Simply use X11 for x11 support as it's done for all other ports.
Same for Wayland, just use WAYLAND.

While here always use xcb and xrandr for X11 support in mesa-dri as we
always build a vulkan driver (swrast).

Differential Revision:	https://reviews.freebsd.org/D45743
Reviewed by:		bapt
Sponsored by:		Beckhoff Automation GmbH & Co. KG
aa6c9614c0