Merge #226415: mesa_23_0: 23.0.1 -> 23.0.2

...into staging

+9 -26
pkgs/development/libraries/mesa/22.3.7.nix pkgs/development/libraries/mesa/22.3.nix
-4
pkgs/development/libraries/mesa/23.0.1.nix
··· 1 - import ./generic.nix { 2 - version = "23.0.1"; 3 - hash = "sha256-6OWGhWtViTq66b3NuYtBwIHZCbsfrzcubnJiMHvzSt8="; 4 - }
···
+4
pkgs/development/libraries/mesa/23.0.nix
···
··· 1 + import ./generic.nix { 2 + version = "23.0.2"; 3 + hash = "sha256-G30zmfxvFvAwNh+SXTPrx2AMv5gJRYL1R3W2oRgFKec="; 4 + }
-7
pkgs/development/libraries/mesa/generic.nix
··· 133 134 ./opencl.patch 135 ./disk_cache-include-dri-driver-path-in-cache-key.patch 136 - 137 - # FIXME: submitted upstream at https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22133 138 - # Remove when no longer applicable 139 - (fetchpatch { 140 - url = "https://gitlab.freedesktop.org/mesa/mesa/-/commit/1457f1b752f59258c0b33558619b0063b4ce6280.diff"; 141 - hash = "sha256-WFemyfmCWY4rJMfGxVZdYeGQvGcOTEDMrRt5OIWp348="; 142 - }) 143 ]; 144 145 postPatch = ''
··· 133 134 ./opencl.patch 135 ./disk_cache-include-dri-driver-path-in-cache-key.patch 136 ]; 137 138 postPatch = ''
+5 -15
pkgs/top-level/all-packages.nix
··· 22560 # Default libGLU 22561 libGLU = mesa_glu; 22562 22563 - # When a new patch is out, add a new mesa attribute with the exact patch version 22564 - # Remove old mesa attributes when they're unused. 22565 - # Try to keep the previous version around for a bit in case there are new bugs. 22566 - mesa_22_3_7 = darwin.apple_sdk_11_0.callPackage ../development/libraries/mesa/22.3.7.nix { 22567 inherit (darwin.apple_sdk_11_0.frameworks) OpenGL; 22568 inherit (darwin.apple_sdk_11_0.libs) Xplugin; 22569 }; 22570 - mesa_23_0_1 = darwin.apple_sdk_11_0.callPackage ../development/libraries/mesa/23.0.1.nix { 22571 inherit (darwin.apple_sdk_11_0.frameworks) OpenGL; 22572 inherit (darwin.apple_sdk_11_0.libs) Xplugin; 22573 }; 22574 - # Bump this immediately on patches; wait a bit for minor versions 22575 - mesa_22 = mesa_22_3_7; 22576 - mesa_23 = mesa_23_0_1; 22577 - # Bump on staging only, tonnes of packages depend on it. 22578 - # See https://github.com/NixOS/nixpkgs/issues/218232 22579 - # Major versions should be bumped when they have proven to be reasonably stable 22580 - # FIXME: split up libgbm properly 22581 - # darwin: deferred until stabilized; e.g. see around: 22582 - # https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21859 22583 - mesa = if stdenv.isDarwin then mesa_22_3_7 else mesa_23_0_1; 22584 22585 mesa_glu = callPackage ../development/libraries/mesa-glu { 22586 inherit (darwin.apple_sdk.frameworks) ApplicationServices;
··· 22560 # Default libGLU 22561 libGLU = mesa_glu; 22562 22563 + # Keep Mesa 22.3 for now because 23.0 does not build on Darwin. 22564 + # FIXME: remove, also investigate why we even need Mesa on Darwin. 22565 + mesa_22_3 = darwin.apple_sdk_11_0.callPackage ../development/libraries/mesa/22.3.nix { 22566 inherit (darwin.apple_sdk_11_0.frameworks) OpenGL; 22567 inherit (darwin.apple_sdk_11_0.libs) Xplugin; 22568 }; 22569 + mesa_23_0 = darwin.apple_sdk_11_0.callPackage ../development/libraries/mesa/23.0.nix { 22570 inherit (darwin.apple_sdk_11_0.frameworks) OpenGL; 22571 inherit (darwin.apple_sdk_11_0.libs) Xplugin; 22572 }; 22573 + mesa = if stdenv.isDarwin then mesa_22_3 else mesa_23_0; 22574 22575 mesa_glu = callPackage ../development/libraries/mesa-glu { 22576 inherit (darwin.apple_sdk.frameworks) ApplicationServices;