mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-19 23:21:27 +00:00
various: remove GLEW compatibility workarounds
The restored EGL+GLX compatibility patch allows the default GLEW build to support both EGL and GLX again. Remove package specific overrides that forced `enableEGL = false`.
This commit is contained in:
@@ -76,12 +76,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
bzip2
|
||||
muparser
|
||||
eigen
|
||||
# MeshLab renders through Qt's xcb platform, which creates a GLX context,
|
||||
# and calls glewInit() against it. The default EGL-enabled glew is built
|
||||
# EGL-only (no GLX dispatch table), so glewInit can't read GL_VERSION and
|
||||
# the app fails to launch with "GLEW initialization failed: Missing GL
|
||||
# version". See https://github.com/NixOS/nixpkgs/issues/531470
|
||||
(glew.override { enableEGL = false; })
|
||||
glew
|
||||
gmp
|
||||
levmar
|
||||
qhull
|
||||
|
||||
@@ -127,9 +127,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
buildInputs = [
|
||||
eigen
|
||||
boost
|
||||
# OpenSCAD's GLX offscreen renderer needs GLEW's GLXEW symbols (`__GLXEW_SGIX_pbuffer`, `__GLXEW_SGIX_fbconfig`)
|
||||
# which are not found in the default EGL-enabled glew and causes the build failure in https://github.com/NixOS/nixpkgs/issues/530529
|
||||
(glew.override { enableEGL = false; })
|
||||
glew
|
||||
opencsg
|
||||
cgal_5
|
||||
mpfr
|
||||
|
||||
@@ -117,9 +117,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
qtbase
|
||||
qtmultimedia
|
||||
openal
|
||||
# RPCS3's X11 swap-interval path uses GLEW's GLXEW symbols, which
|
||||
# are not provided in the default EGL-enabled GLEW build.
|
||||
(glew.override { enableEGL = false; })
|
||||
glew
|
||||
vulkan-headers
|
||||
vulkan-loader
|
||||
libpng
|
||||
|
||||
Reference in New Issue
Block a user