Skip to content

Commit ffe8d1b

Browse files
authored
mesa: 24.3.4 -> 25.0.0 (#383432)
2 parents 0ce9de0 + ca34824 commit ffe8d1b

File tree

23 files changed

+129
-168
lines changed

23 files changed

+129
-168
lines changed

pkgs/applications/emulators/wine/base.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ lib.optionalAttrs (buildScript != null) { builder = buildScript; }
9898
++ lib.optionals gtkSupport [ pkgs.gtk3 pkgs.glib ]
9999
++ lib.optionals openclSupport [ pkgs.opencl-headers pkgs.ocl-icd ]
100100
++ lib.optionals tlsSupport [ pkgs.openssl pkgs.gnutls ]
101-
++ lib.optionals (openglSupport && !stdenv.hostPlatform.isDarwin) [ pkgs.libGLU pkgs.libGL pkgs.mesa.osmesa pkgs.libdrm ]
101+
++ lib.optionals (openglSupport && !stdenv.hostPlatform.isDarwin) [ pkgs.libGLU pkgs.libGL pkgs.libdrm ]
102102
++ lib.optionals stdenv.hostPlatform.isDarwin darwinFrameworks
103103
++ lib.optionals (x11Support) (with pkgs.xorg; [
104104
libX11 libXcomposite libXcursor libXext libXfixes libXi libXrandr libXrender libXxf86vm

pkgs/applications/video/kodi/unwrapped.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
, libcrossguid, libmicrohttpd
1919
, bluez, doxygen, giflib, glib, harfbuzz, lcms2, libidn2, libpthreadstubs, libtasn1
2020
, libplist, p11-kit, zlib, flatbuffers, fstrcmp, rapidjson
21-
, lirc, mesa
21+
, lirc, mesa-gl-headers
2222
, x11Support ? true, libX11, xorgproto, libXt, libXmu, libXext, libXinerama, libXrandr, libXtst, libXfixes, xdpyinfo, libXdmcp
2323
, dbusSupport ? true, dbus
2424
, joystickSupport ? true, cwiid
@@ -122,7 +122,7 @@ in stdenv.mkDerivation (finalAttrs: {
122122
bluez giflib glib harfbuzz lcms2 libpthreadstubs
123123
ffmpeg flatbuffers fstrcmp rapidjson
124124
lirc
125-
mesa # uses eglext_angle.h, which is not provided by glvnd
125+
mesa-gl-headers
126126
]
127127
++ lib.optionals x11Support [
128128
libX11 xorgproto libXt libXmu libXext.dev libXdmcp

pkgs/by-name/he/hey-mail/package.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
wrapGAppsHook3,
2222
writeScript,
2323
atk,
24-
mesa,
24+
libgbm,
2525
cups,
2626
systemd,
2727
alsa-lib,
@@ -53,7 +53,7 @@ let
5353
libxkbcommon
5454
libGL
5555
atk
56-
mesa
56+
libgbm
5757
cups
5858
systemd
5959
alsa-lib

pkgs/by-name/ma/magpie/package.nix

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,15 @@
2525
libXtst,
2626
libinput,
2727
libdrm,
28+
libgbm,
2829
gsettings-desktop-schemas,
2930
glib,
3031
gtk3,
3132
gnome-desktop,
3233
pipewire,
3334
libgudev,
3435
libwacom,
35-
mesa,
36+
mesa-gl-headers,
3637
meson,
3738
nix-update-script,
3839
validatePkgConfig,
@@ -86,7 +87,7 @@ stdenv.mkDerivation (finalAttrs: {
8687
libXtst
8788
libcap_ng
8889
graphene
89-
mesa # actually uses eglmesaext
90+
mesa-gl-headers
9091
];
9192

9293
nativeBuildInputs = [
@@ -114,6 +115,7 @@ stdenv.mkDerivation (finalAttrs: {
114115
gtk3
115116
libcanberra
116117
libdrm
118+
libgbm
117119
libgudev
118120
libinput
119121
libstartup_notification

pkgs/by-name/mu/muffin/package.nix

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
json-glib,
1616
libcanberra,
1717
libdrm,
18+
libgbm,
1819
libgnomekbd,
1920
libgudev,
2021
libinput,
@@ -24,7 +25,7 @@
2425
libXdamage,
2526
libxkbcommon,
2627
libXtst,
27-
mesa,
28+
mesa-gl-headers,
2829
meson,
2930
ninja,
3031
pipewire,
@@ -84,6 +85,7 @@ stdenv.mkDerivation rec {
8485
gtk3
8586
libcanberra
8687
libdrm
88+
libgbm
8789
libgnomekbd
8890
libgudev
8991
libinput
@@ -104,7 +106,7 @@ stdenv.mkDerivation rec {
104106
json-glib
105107
libXtst
106108
graphene
107-
mesa # actually uses eglmesaext
109+
mesa-gl-headers
108110
];
109111

110112
mesonFlags = [

pkgs/by-name/mu/mutter/package.nix

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
libXau,
3737
libinput,
3838
libdrm,
39+
libgbm,
3940
libei,
4041
libdisplay-info,
4142
gsettings-desktop-schemas,
@@ -50,7 +51,7 @@
5051
libwacom,
5152
libSM,
5253
xwayland,
53-
mesa,
54+
mesa-gl-headers,
5455
meson,
5556
gnome-settings-daemon,
5657
xorgserver,
@@ -101,7 +102,7 @@ stdenv.mkDerivation (finalAttrs: {
101102
propagatedBuildInputs = [
102103
# required for pkg-config to detect mutter-mtk
103104
graphene
104-
mesa # actually uses eglmesaext
105+
mesa-gl-headers
105106
];
106107

107108
nativeBuildInputs = [
@@ -133,6 +134,7 @@ stdenv.mkDerivation (finalAttrs: {
133134
harfbuzz
134135
libcanberra
135136
libdrm
137+
libgbm
136138
libei
137139
libdisplay-info
138140
libGL

pkgs/by-name/mu/mutter46/package.nix

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
libXau,
3535
libinput,
3636
libdrm,
37+
libgbm,
3738
libei,
3839
libdisplay-info,
3940
gsettings-desktop-schemas,
@@ -48,7 +49,7 @@
4849
libwacom,
4950
libSM,
5051
xwayland,
51-
mesa,
52+
mesa-gl-headers,
5253
meson,
5354
gnome-settings-daemon,
5455
xorgserver,
@@ -97,7 +98,7 @@ stdenv.mkDerivation (finalAttrs: {
9798
propagatedBuildInputs = [
9899
# required for pkg-config to detect mutter-mtk
99100
graphene
100-
mesa # actually uses eglmesaext
101+
mesa-gl-headers
101102
];
102103

103104
nativeBuildInputs = [
@@ -128,6 +129,7 @@ stdenv.mkDerivation (finalAttrs: {
128129
harfbuzz
129130
libcanberra
130131
libdrm
132+
libgbm
131133
libei
132134
libdisplay-info
133135
libgudev

pkgs/by-name/or/orca-slicer/package.nix

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
hicolor-icon-theme,
2828
ilmbase,
2929
libpng,
30-
mesa,
3130
mpfr,
3231
nlopt,
3332
opencascade-occt_7_6,
@@ -107,9 +106,6 @@ stdenv.mkDerivation rec {
107106
hicolor-icon-theme
108107
ilmbase
109108
libpng
110-
mesa
111-
mesa.osmesa
112-
mesa.drivers
113109
mpfr
114110
nlopt
115111
opencascade-occt_7_6
@@ -129,6 +125,8 @@ stdenv.mkDerivation rec {
129125
./patches/0001-not-for-upstream-CMakeLists-Link-against-webkit2gtk-.patch
130126
# Link opencv_core and opencv_imgproc instead of opencv_world
131127
./patches/dont-link-opencv-world-orca.patch
128+
# Don't link osmesa
129+
./patches/no-osmesa.patch
132130
# The changeset from https://github.com/SoftFever/OrcaSlicer/pull/7650, can be removed when that PR gets merged
133131
# Allows disabling the update nag screen
134132
(fetchpatch {
@@ -169,8 +167,6 @@ stdenv.mkDerivation rec {
169167

170168
NIX_LDFLAGS = toString [
171169
(lib.optionalString withSystemd "-ludev")
172-
"-L${mesa.osmesa}/lib"
173-
"-L${mesa.drivers}/lib"
174170
"-L${boost186}/lib"
175171
"-lboost_log"
176172
"-lboost_log_setup"
@@ -194,20 +190,16 @@ stdenv.mkDerivation rec {
194190
"-DBOOST_LOG_NO_LIB=OFF"
195191
"-DCMAKE_CXX_FLAGS=-DGL_SILENCE_DEPRECATION"
196192
"-DCMAKE_EXE_LINKER_FLAGS=-Wl,--no-as-needed"
197-
"-DCMAKE_EXE_LINKER_FLAGS=-Wl,-rpath,${mesa.drivers}/lib -Wl,-rpath,${mesa.osmesa}/lib"
198193
"-DORCA_VERSION_CHECK_DEFAULT=OFF"
199194
];
200195

201196
preFixup = ''
202197
gappsWrapperArgs+=(
203198
--prefix LD_LIBRARY_PATH : "$out/lib:${
204199
lib.makeLibraryPath [
205-
mesa.drivers
206-
mesa.osmesa
207200
glew
208201
]
209202
}"
210-
--prefix LIBGL_DRIVERS_PATH : "${mesa.drivers}/lib/dri"
211203
--set WEBKIT_DISABLE_COMPOSITING_MODE 1
212204
)
213205
'';
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/src/slic3r/CMakeLists.txt b/src/slic3r/CMakeLists.txt
2+
index e695acd48..174e233e6 100644
3+
--- a/src/slic3r/CMakeLists.txt
4+
+++ b/src/slic3r/CMakeLists.txt
5+
@@ -587,7 +587,7 @@ elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux")
6+
FIND_LIBRARY(WAYLAND_EGL_LIBRARIES NAMES wayland-egl)
7+
FIND_LIBRARY(WAYLAND_CLIENT_LIBRARIES NAMES wayland-client)
8+
find_package(CURL REQUIRED)
9+
- target_link_libraries(libslic3r_gui ${DBUS_LIBRARIES} OSMesa)
10+
+ target_link_libraries(libslic3r_gui ${DBUS_LIBRARIES})
11+
target_link_libraries(libslic3r_gui
12+
OpenGL::EGL
13+
${WAYLAND_SERVER_LIBRARIES}

pkgs/by-name/qq/qqmusic/package.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
libdbusmenu,
2222
libglvnd,
2323
libpulseaudio,
24-
mesa,
2524
nspr,
2625
nss,
2726
pango,
@@ -62,7 +61,6 @@ stdenv.mkDerivation (finalAttrs: {
6261
libdbusmenu
6362
libglvnd
6463
libpulseaudio
65-
mesa
6664
nspr
6765
nss
6866
pango

0 commit comments

Comments
 (0)