pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/mesa



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Nov 28 22:07:06 UTC 2026

Modified Files:
        pkgsrc/graphics/mesa: Makefile PLIST distinfo
        pkgsrc/graphics/mesa/patches:
            patch-src_gallium_auxiliary_pipe-loader_pipe__loader__drm.c
Added Files:
        pkgsrc/graphics/mesa/patches:
            patch-src_intel_compiler_brw_brw__print.cpp

Log Message:
mesa: update to 26.3.1.

Mesa 26.3.1 Release Notes / 2026-11-18
======================================

Mesa 26.3.1 is a bug fix release which fixes bugs found since the 26.3.0 release.

Mesa 26.3.1 implements the OpenGL 4.6 API, but the version reported by
glGetString(GL_VERSION) or glGetIntegerv(GL_MAJOR_VERSION) /
glGetIntegerv(GL_MINOR_VERSION) depends on the particular driver being used.
Some drivers don't support all the features required in OpenGL 4.6. OpenGL
4.6 is **only** available if requested at context creation.
Compatibility contexts may report a lower version depending on each driver.

Mesa 26.3.1 implements the OpenCL 3.1 API, but the version reported by
the CL_DEVICE_VERSION, CL_DEVICE_NUMERIC_VERSION and CL_DEVICE_OPENCL_C_ALL_VERSIONS
clGetDeviceInfo queries depends on the particular driver being used.

Mesa 26.3.1 implements the Vulkan 1.4 API, but the version reported by
the apiVersion property of the VkPhysicalDeviceProperties struct
depends on the particular driver being used.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/graphics/mesa/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/graphics/mesa/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/graphics/mesa/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/graphics/mesa/patches/patch-src_gallium_auxiliary_pipe-loader_pipe__loader__drm.c
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/graphics/mesa/patches/patch-src_intel_compiler_brw_brw__print.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/mesa/Makefile
diff -u pkgsrc/graphics/mesa/Makefile:1.7 pkgsrc/graphics/mesa/Makefile:1.8
--- pkgsrc/graphics/mesa/Makefile:1.7   Sat Nov 28 09:09:02 2026
+++ pkgsrc/graphics/mesa/Makefile       Sat Nov 28 22:07:06 2026
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.7 2026/11/28 09:09:02 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2026/11/28 22:07:06 wiz Exp $
 #
 # needs recursive bumps for _every_ update due to
 # lib/libgallium-${PKGVERSION}.so
 
-DISTNAME=      mesa-26.2.8
-PKGREVISION=   2
+DISTNAME=      mesa-26.3.1
 CATEGORIES=    graphics
 MASTER_SITES=  https://mesa.freedesktop.org/archive/
 MASTER_SITES+= https://mesa3d.org/archive/

Index: pkgsrc/graphics/mesa/PLIST
diff -u pkgsrc/graphics/mesa/PLIST:1.1 pkgsrc/graphics/mesa/PLIST:1.2
--- pkgsrc/graphics/mesa/PLIST:1.1      Mon Nov 23 10:29:51 2026
+++ pkgsrc/graphics/mesa/PLIST  Sat Nov 28 22:07:06 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2026/11/23 10:29:51 adam Exp $
+@comment $NetBSD: PLIST,v 1.2 2026/11/28 22:07:06 wiz Exp $
 ${PLIST.kms}include/EGL/egl.h
 ${PLIST.kms}include/EGL/eglext.h
 ${PLIST.kms}include/EGL/eglext_angle.h
@@ -115,6 +115,7 @@ share/drirc.d/00-r600-defaults.conf
 share/drirc.d/00-radeonsi-defaults.conf
 ${PLIST.vulkan}share/drirc.d/00-radv-defaults.conf
 ${PLIST.svga}share/drirc.d/00-vmwgfx-defaults.conf
+share/drirc.d/01-radv-performance.conf
 share/examples/mesa/00-mesa-defaults.conf
 ${PLIST.vulkan}${PLIST.arm}share/vulkan/icd.d/broadcom_icd.${MACHINE_ARCH}.json
 ${PLIST.vulkan}${PLIST.arm}share/vulkan/icd.d/freedreno_icd.${MACHINE_ARCH}.json

Index: pkgsrc/graphics/mesa/distinfo
diff -u pkgsrc/graphics/mesa/distinfo:1.5 pkgsrc/graphics/mesa/distinfo:1.6
--- pkgsrc/graphics/mesa/distinfo:1.5   Sat Nov 28 09:09:02 2026
+++ pkgsrc/graphics/mesa/distinfo       Sat Nov 28 22:07:06 2026
@@ -1,15 +1,16 @@
-$NetBSD: distinfo,v 1.5 2026/11/28 09:09:02 wiz Exp $
+$NetBSD: distinfo,v 1.6 2026/11/28 22:07:06 wiz Exp $
 
-BLAKE2s (mesa-26.2.8.tar.xz) = 871dbcf659f4db65b092714c840b1a0afd81541ceaf00e073ad35c91d77c4250
-SHA512 (mesa-26.2.8.tar.xz) = 5161492b96fcc2085a50d8a62db4e0ff5c2aeb9d50fdf9ffb4950052078dbea3d1e1bd0e17dd692dc93ec9645e18d0949fec52b2d5c6a0d1fe4ed39f813b409b
-Size (mesa-26.2.8.tar.xz) = 68811796 bytes
+BLAKE2s (mesa-26.3.1.tar.xz) = fc011f0c8dda9d33b2d606e624c187cc6b1d6f15dcaa0df72fac6bd919cb0682
+SHA512 (mesa-26.3.1.tar.xz) = 9d56fe98a0b3199f671363c1e3c195eaf5a7465cff6b4fddf6663ca2272537f950b666c466468f5e94318d660f6ef503c4e523feda42c0d1ef89b31392a26272
+Size (mesa-26.3.1.tar.xz) = 91661844 bytes
 SHA1 (patch-meson.build) = ec79ae9343e4f05263ee7c1235d02efd28c224fc
 SHA1 (patch-src_egl_drivers_dri2_platform__drm.c) = 4c47f261cab39bc6ae9aa63bb9fde2f69be606f0
-SHA1 (patch-src_gallium_auxiliary_pipe-loader_pipe__loader__drm.c) = c6958cf29da9154c673f8c64790ac2bb46ed74bd
+SHA1 (patch-src_gallium_auxiliary_pipe-loader_pipe__loader__drm.c) = 79dfeaf6a9edeed7b0f02f7a99174f32b15a7cde
 SHA1 (patch-src_gallium_auxiliary_vl_vl__csc.c) = 4a67a1ca8ffc10171ccd60123d4222970e5b7a6e
 SHA1 (patch-src_gallium_drivers_r600_sfn_sfn__valuefactory.cpp) = dce7340ac40e0d32e6ee00288538b30dc5d7d526
 SHA1 (patch-src_glx_glxclient.h) = 4812c1b17bfff6cb43192790aa5cfee5c6c3149d
 SHA1 (patch-src_glx_glxcurrent.c) = be95c084b834275ca65a38f446487c68889e1ab5
+SHA1 (patch-src_intel_compiler_brw_brw__print.cpp) = 31ae4d70d0cb3b857f8a797259425b0f8e70c705
 SHA1 (patch-src_intel_compiler_gen_gen__private.h) = a45ad64b465ba0bc55b55bdecc35e75eae797af4
 SHA1 (patch-src_util_build__id.c) = 7a9547bbda9d2fb9f0018ccf27b70b59e497aa2c
 SHA1 (patch-src_util_futex.c) = 4ad0d60e008fe8b5a4bb600e32e8f155d6c95b37

Index: pkgsrc/graphics/mesa/patches/patch-src_gallium_auxiliary_pipe-loader_pipe__loader__drm.c
diff -u pkgsrc/graphics/mesa/patches/patch-src_gallium_auxiliary_pipe-loader_pipe__loader__drm.c:1.1 pkgsrc/graphics/mesa/patches/patch-src_gallium_auxiliary_pipe-loader_pipe__loader__drm.c:1.2
--- pkgsrc/graphics/mesa/patches/patch-src_gallium_auxiliary_pipe-loader_pipe__loader__drm.c:1.1        Mon Nov 23 10:29:52 2026
+++ pkgsrc/graphics/mesa/patches/patch-src_gallium_auxiliary_pipe-loader_pipe__loader__drm.c    Sat Nov 28 22:07:06 2026
@@ -1,4 +1,4 @@
-$NetBSD: patch-src_gallium_auxiliary_pipe-loader_pipe__loader__drm.c,v 1.1 2026/11/23 10:29:52 adam Exp $
+$NetBSD: patch-src_gallium_auxiliary_pipe-loader_pipe__loader__drm.c,v 1.2 2026/11/28 22:07:06 wiz Exp $
 
 * From FreeBSD ports / DragonFly dports graphics/mesa-dri
 
@@ -25,14 +25,14 @@ v2: Clarify the linking topic in the com
 
 * Extended for NetBSD.
 
---- src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c.orig   2025-01-22 18:12:23.000000000 +0000
+--- src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c.orig   2026-11-18 15:56:09.000000000 +0000
 +++ src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c
-@@ -239,6 +239,16 @@ pipe_loader_drm_probe_fd(struct pipe_loa
+@@ -210,7 +210,17 @@ pipe_loader_drm_probe_fd(struct pipe_loader_device **d
     return ret;
  }
  
 +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) || defined(__NetBSD__)
-+static int
+ static int
 +open_drm_minor(int minor)
 +{
 +   char path[PATH_MAX];
@@ -41,10 +41,11 @@ v2: Clarify the linking topic in the com
 +}
 +#endif
 +
- static int
++static int
  open_drm_render_node_minor(int minor)
  {
-@@ -251,7 +261,19 @@ open_drm_render_node_minor(int minor)
+    char path[PATH_MAX];
+@@ -222,7 +232,19 @@ pipe_loader_drm_probe_internal(struct pipe_loader_devi
  static int
  pipe_loader_drm_probe_internal(struct pipe_loader_device **devs, int ndev, bool zink)
  {
@@ -64,7 +65,7 @@ v2: Clarify the linking topic in the com
  
     for (i = DRM_RENDER_NODE_MIN_MINOR, j = 0;
          i <= DRM_RENDER_NODE_MAX_MINOR; i++) {
-@@ -266,6 +288,11 @@ pipe_loader_drm_probe_internal(struct pi
+@@ -237,6 +259,11 @@ pipe_loader_drm_probe_internal(struct pipe_loader_devi
           continue;
        }
  
@@ -76,7 +77,7 @@ v2: Clarify the linking topic in the com
        if (j < ndev) {
           devs[j] = dev;
        } else {
-@@ -275,6 +302,48 @@ pipe_loader_drm_probe_internal(struct pi
+@@ -246,6 +273,48 @@ pipe_loader_drm_probe_internal(struct pipe_loader_devi
        j++;
     }
  

Added files:

Index: pkgsrc/graphics/mesa/patches/patch-src_intel_compiler_brw_brw__print.cpp
diff -u /dev/null pkgsrc/graphics/mesa/patches/patch-src_intel_compiler_brw_brw__print.cpp:1.1
--- /dev/null   Sat Nov 28 22:07:06 2026
+++ pkgsrc/graphics/mesa/patches/patch-src_intel_compiler_brw_brw__print.cpp    Sat Nov 28 22:07:06 2026
@@ -0,0 +1,21 @@
+$NetBSD: patch-src_intel_compiler_brw_brw__print.cpp,v 1.1 2026/11/28 22:07:06 wiz Exp $
+
+C11 defines that are missing in NetBSD.
+
+--- src/intel/compiler/brw/brw_print.cpp.orig  2026-11-28 21:58:07.337830963 +0000
++++ src/intel/compiler/brw/brw_print.cpp
+@@ -6,6 +6,14 @@
+ #include <float.h>
+ #include <math.h>
+ 
++#ifndef DBL_DECIMAL_DIG
++#define DBL_DECIMAL_DIG 10
++#endif
++
++#ifndef FLT_DECIMAL_DIG
++#define FLT_DECIMAL_DIG 6
++#endif
++
+ #include "brw_cfg.h"
+ #include "brw_shader.h"
+ #include "brw_private.h"



Home | Main Index | Thread Index | Old Index