1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

treewide: replace freeglut with libglut

Allow the macOS GLUT framework to be used automatically in many
cases. Packages that specifically search for freeglut or require its
additional APIs should still explicitly depend on it.

Deliberately skip the Haskell package set, which is mostly
automatically generated, and mupdf, which has its own fork of freeglut.
This commit is contained in:
Emily 2024-06-20 05:39:23 +01:00
parent c884bc3260
commit fbda1dbfd6
74 changed files with 150 additions and 150 deletions

View file

@ -7,7 +7,7 @@
, libGL
, libGLU
, glew
, freeglut
, libglut
, libv4l
, libX11
, file
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
libGL
libGLU
glew
freeglut
libglut
libv4l
libX11
];

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, libsndfile, freeglut, alsa-lib, mesa, libGLU, libX11, libXmu
{ lib, stdenv, fetchurl, libsndfile, libglut, alsa-lib, mesa, libGLU, libX11, libXmu
, libXext, libXi }:
stdenv.mkDerivation rec {
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
patches = [ ./pthread.patch ];
buildInputs = [
freeglut
libglut
alsa-lib
mesa
libGLU

View file

@ -1,5 +1,5 @@
{ mkDerivation, lib, fetchurl, cmake, pkg-config, qtbase, qt5, libGLU, libGL
, freeglut ? null, openal ? null, SDL2 ? null }:
, libglut ? null, openal ? null, SDL2 ? null }:
mkDerivation rec {
pname = "yabause";
@ -11,7 +11,7 @@ mkDerivation rec {
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ qtbase qt5.qtmultimedia libGLU libGL freeglut openal SDL2 ];
buildInputs = [ qtbase qt5.qtmultimedia libGLU libGL libglut openal SDL2 ];
patches = [
./linkage-rwx-linux-elf.patch

View file

@ -3,7 +3,7 @@
, fetchFromGitLab
, alsa-lib
, fftw
, freeglut
, libglut
, freetype
, glew
, libjack2
@ -33,7 +33,7 @@ stdenv.mkDerivation {
buildInputs = [
alsa-lib
fftw
freeglut.dev
libglut.dev
freetype
glew
libjack2

View file

@ -4,7 +4,7 @@
, libjpeg
, libGLU
, libGL
, freeglut
, libglut
, zlib
, cmake
, libX11
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ cmake ];
buildInputs = [ libjpeg libGLU libGL freeglut zlib libX11 libxml2 libpng libXxf86vm ];
buildInputs = [ libjpeg libGLU libGL libglut zlib libX11 libxml2 libpng libXxf86vm ];
postPatch = ''
sed -i -e '/GECKO/d' CMakeLists.txt

View file

@ -1,7 +1,7 @@
{ boost
, cmake
, fetchFromGitHub
, freeglut
, libglut
, freetype
, glew
, libjpeg
@ -93,7 +93,7 @@ stdenv.mkDerivation {
buildInputs = [
boost
freeglut
libglut
freetype
glew
libjpeg

View file

@ -1,8 +1,8 @@
{ stdenv, lib, fetchzip, freeglut, libXmu, libXi, libX11, libICE, libGLU, libGL, libSM
{ stdenv, lib, fetchzip, libglut, libXmu, libXi, libX11, libICE, libGLU, libGL, libSM
, libXext, glibc, lua, luabind, glfw, libgccjit, dialog, makeWrapper
}:
let
lpath = lib.makeLibraryPath [ libXmu libXi libX11 freeglut libICE libGLU libGL libSM libXext glibc lua glfw luabind libgccjit ];
lpath = lib.makeLibraryPath [ libXmu libXi libX11 libglut libICE libGLU libGL libSM libXext glibc lua glfw luabind libgccjit ];
in
stdenv.mkDerivation rec {
pname = "iceSL";

View file

@ -62,7 +62,7 @@ in buildFHSEnv {
fontconfig SDL2_ttf
# Mednafen
freeglut mesa_glu
libglut mesa_glu
# MESS
expat

View file

@ -2,7 +2,7 @@
, jbig2dec, libjpeg , darwin
, enableX11 ? true, libX11, libXext, libXi, libXrandr
, enableCurl ? true, curl, openssl
, enableGL ? true, freeglut, libGLU
, enableGL ? true, libglut, libGLU
}:
let
@ -33,14 +33,14 @@ in stdenv.mkDerivation rec {
makeFlags = [ "prefix=$(out) USE_SYSTEM_LIBS=yes" ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ freetype harfbuzz openjpeg jbig2dec libjpeg freeglut libGLU ]
buildInputs = [ freetype harfbuzz openjpeg jbig2dec libjpeg libglut libGLU ]
++ lib.optionals enableX11 [ libX11 libXext libXi libXrandr ]
++ lib.optionals enableCurl [ curl openssl ]
++ lib.optionals enableGL (
if stdenv.isDarwin then
with darwin.apple_sdk.frameworks; [ GLUT OpenGL ]
else
[ freeglut libGLU ])
[ libglut libGLU ])
;
outputs = [ "bin" "dev" "out" "man" "doc" ];

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, freeglut, gtk2, gtkglext
{ lib, stdenv, fetchFromGitHub, pkg-config, libglut, gtk2, gtkglext
, libjpeg_turbo, libtheora, libXmu, lua, libGLU, libGL, perl, autoreconfHook
}:
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config autoreconfHook ];
buildInputs = [
freeglut gtk2 gtkglext lua perl
libglut gtk2 gtkglext lua perl
libjpeg_turbo libtheora libXmu libGLU libGL
];

View file

@ -4,7 +4,7 @@
, libX11
, libGL
, libGLU
, freeglut }:
, libglut }:
stdenv.mkDerivation rec {
pname = "antiprism";
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ libX11 libGLU libGL.dev freeglut.dev ];
buildInputs = [ libX11 libGLU libGL.dev libglut.dev ];
meta = with lib; {
homepage = "https://www.antiprism.com";

View file

@ -5,7 +5,7 @@
, makeWrapper
, libGLU
, libGL
, freeglut
, libglut
, mpfr
, gmp
, pkgsHostTarget
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
]);
buildInputs = [
freeglut
libglut
libGL
libGLU
mpfr

View file

@ -10,7 +10,7 @@
, libGL
, libXmu
, libXi
, freeglut
, libglut
, libjpeg
, libtool
, wxGTK32
@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
libGL
libXmu
libXi
freeglut
libglut
libjpeg
wxGTK32
gtk3

View file

@ -2,7 +2,7 @@
, autoPatchelfHook
, dpkg
, fetchurl
, freeglut
, libglut
, gcc-unwrapped
, libGL
, libGLU
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
];
buildInputs = [
freeglut
libglut
gcc-unwrapped.lib
libGL
libGLU

View file

@ -162,7 +162,7 @@ rec {
vulkan-loader
flac
freeglut
libglut
libjpeg
libpng12
libpulseaudio

View file

@ -6,7 +6,7 @@
, dbus
, libepoxy
, fetchFromGitHub
, freeglut
, libglut
, freetype
, gtk2-x11
, lib
@ -58,7 +58,7 @@ stdenv.mkDerivation (finalAttrs: {
curl
dbus
libepoxy
freeglut
libglut
freetype
gtk2-x11
libGL

View file

@ -1,4 +1,4 @@
{ alsa-lib, at-spi2-core, cmake, curl, dbus, libepoxy, fetchFromGitHub, freeglut
{ alsa-lib, at-spi2-core, cmake, curl, dbus, libepoxy, fetchFromGitHub, libglut
, freetype, gcc-unwrapped, gtk3, lib, libGL, libXcursor, libXdmcp, libXext
, libXinerama, libXrandr, libXtst, libdatrie, libjack2, libpsl, libselinux
, libsepol, libsysprof-capture, libthai, libxkbcommon, pcre, pkg-config
@ -24,7 +24,7 @@ stdenv.mkDerivation (finalAttrs: {
curl
dbus
libepoxy
freeglut
libglut
freetype
gtk3
libGL

View file

@ -5,7 +5,7 @@
, dbus
, libepoxy
, fetchFromGitHub
, freeglut
, libglut
, freetype
, gtk3
, lib
@ -59,7 +59,7 @@ stdenv.mkDerivation (finalAttrs: {
curl
dbus
libepoxy
freeglut
libglut
freetype
gtk3
libGL

View file

@ -1,7 +1,7 @@
{ lib
, cmake
, fetchFromGitHub
, freeglut
, libglut
, libGL
, libheif
, libjpeg
@ -36,7 +36,7 @@ stdenv.mkDerivation (finalAttrs: {
] ++ lib.optionals enableJPGCodec [
libjpeg
] ++ lib.optionals enableOpenGL [
freeglut
libglut
libGL
];

View file

@ -3,7 +3,7 @@
, fetchFromGitHub
, cmake
, ffmpeg
, freeglut
, libglut
, freeimage
, glew
, glfw
@ -44,7 +44,7 @@ stdenv.mkDerivation {
buildInputs = [
ffmpeg
freeglut
libglut
freeimage
glew
glfw

View file

@ -5,7 +5,7 @@
alsa-lib,
fetchurl,
flac,
freeglut,
libglut,
libGL,
libGLU,
libX11,
@ -39,7 +39,7 @@ stdenv.mkDerivation (finalAttrs: {
SDL2
SDL2_net
flac
freeglut
libglut
libcdio
libjack2
libsamplerate

View file

@ -3,7 +3,7 @@
stdenv,
fetchurl,
pkg-config,
freeglut,
libglut,
gtk2,
libGLU,
}:
@ -27,7 +27,7 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [ pkg-config ];
buildInputs = [
freeglut
libglut
gtk2
libGLU
];

View file

@ -235,7 +235,7 @@ filterAndCreateOverrides {
cuda_demo_suite =
{
freeglut,
libglut,
libcufft,
libcurand,
libGLU,
@ -244,7 +244,7 @@ filterAndCreateOverrides {
}:
prevAttrs: {
buildInputs = prevAttrs.buildInputs ++ [
freeglut
libglut
libcufft.lib
libcurand.lib
libGLU

View file

@ -35,7 +35,7 @@
wayland,
xorg,
zlib,
freeglut,
libglut,
libGLU,
libsForQt5,
libtiff,
@ -85,7 +85,7 @@ backendStdenv.mkDerivation rec {
buildInputs =
lib.optionals (lib.versionOlder version "11") [
libsForQt5.qt5.qtwebengine
freeglut
libglut
libGLU
]
++ [

View file

@ -1,6 +1,6 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, zlib, sqlite, gmp, libffi, cairo,
ncurses, freetype, libGLU, libGL, libpng, libtiff, libjpeg, readline, libsndfile,
libxml2, freeglut, libsamplerate, pcre, libevent, libedit, yajl,
libxml2, libglut, libsamplerate, pcre, libevent, libedit, yajl,
python3, openssl, glfw, pkg-config, libpthreadstubs, libXdmcp, libmemcached
}:
@ -30,7 +30,7 @@ stdenv.mkDerivation {
buildInputs = [
zlib sqlite gmp libffi cairo ncurses freetype
libGLU libGL libpng libtiff libjpeg readline libsndfile libxml2
freeglut libsamplerate pcre libevent libedit yajl
libglut libsamplerate pcre libevent libedit yajl
glfw openssl libpthreadstubs libXdmcp
libmemcached python3
];

View file

@ -4,7 +4,7 @@
, cmake
, libGLU
, libGL
, freeglut
, libglut
, libX11
, libXcursor
, libXinerama
@ -39,7 +39,7 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [
libGLU
libGL
freeglut
libglut
libX11
libXcursor
libXinerama

View file

@ -4,7 +4,7 @@
, cmake
, libGLU
, libGL
, freeglut
, libglut
, Cocoa
, OpenGL
}:
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ cmake ];
buildInputs = lib.optionals stdenv.isLinux [ libGLU libGL freeglut ]
buildInputs = lib.optionals stdenv.isLinux [ libGLU libGL libglut ]
++ lib.optionals stdenv.isDarwin [ Cocoa OpenGL ];
postPatch = ''

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake, libGLU, libGL, freeglut
{ lib, stdenv, fetchFromGitHub, cmake, libGLU, libGL, libglut
, Cocoa, OpenGL
}:
@ -18,7 +18,7 @@ stdenv.mkDerivation {
};
nativeBuildInputs = [ cmake ];
buildInputs = lib.optionals stdenv.isLinux [ libGLU libGL freeglut ]
buildInputs = lib.optionals stdenv.isLinux [ libGLU libGL libglut ]
++ lib.optionals stdenv.isDarwin [ Cocoa OpenGL ];
patches = [ ./gwen-narrowing.patch ];

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, cmake, freeglut, libGLU, libGL, glfw2, glew, libX11, xorgproto
{ lib, stdenv, fetchurl, cmake, libglut, libGLU, libGL, glfw2, glew, libX11, xorgproto
, libXi, libXmu, fetchpatch, libXrandr
}:
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
buildInputs =
[ freeglut libGLU libGL glfw2 glew libX11 xorgproto libXi libXmu libXrandr ];
[ libglut libGLU libGL glfw2 glew libX11 xorgproto libXi libXmu libXrandr ];
postInstall = ''
mkdir -p $out/bin

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, cmake, libusb1, pkg-config, freeglut, libGLU, libGL, libXi, libXmu
{ stdenv, lib, fetchFromGitHub, cmake, libusb1, pkg-config, libglut, libGLU, libGL, libXi, libXmu
, GLUT, Cocoa
}:
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-Lb5mrl9jiI1Z9UOAlP+bBPNoKNxm5VSrFZRvifEfhoU=";
};
buildInputs = [ libusb1 freeglut libGLU libGL libXi libXmu ]
buildInputs = [ libusb1 libglut libGLU libGL libXi libXmu ]
++ lib.optionals stdenv.isDarwin [ GLUT Cocoa ];
nativeBuildInputs = [ cmake pkg-config ];

View file

@ -3,7 +3,7 @@
, fetchFromGitHub
, autoreconfHook
, doxygen
, freeglut
, libglut
, freetype
, libGL
, libGLU
@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
] else [
libGL
libGLU
freeglut
libglut
]);
configureFlags = [

View file

@ -6,7 +6,7 @@
, libpng
, libGL
, libGLU
, freeglut
, libglut
, darwin
}:
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
] ++ lib.optionals (!stdenv.isDarwin) [
libGL
libGLU
freeglut
libglut
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.OpenGL
];

View file

@ -1,8 +1,8 @@
{lib, stdenv, fetchurl, freeglut, libX11, libXt, libXmu, libXi, libXext, libGL, libGLU}:
{lib, stdenv, fetchurl, libglut, libX11, libXt, libXmu, libXi, libXext, libGL, libGLU}:
stdenv.mkDerivation rec {
pname = "gle";
version = "3.1.0";
buildInputs = [libGLU libGL freeglut libX11 libXt libXmu libXi libXext];
buildInputs = [libGLU libGL libglut libX11 libXt libXmu libXi libXext];
src = fetchurl {
urls = [
"mirror://sourceforge/project/gle/gle/gle-${version}/gle-${version}.tar.gz"

View file

@ -1,6 +1,6 @@
{ lib, stdenv
, fetchFromGitHub
, freeglut
, libglut
, libGL
, libGLU
, libX11
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
sha256 = "0qg2y8w95s03zay1qsqs8pqxxlg6l9kwm7rrs1qmx0h22sxb360i";
};
buildInputs = [ freeglut libGLU libGL libXmu libXext libX11 libXi ];
buildInputs = [ libglut libGLU libGL libXmu libXext libX11 libXi ];
installPhase = ''
mkdir -p "$out"/{bin,lib,share/glui/doc,include}

View file

@ -2,7 +2,7 @@
, fetchFromGitHub
, cmake
, pkg-config
, freeglut
, libglut
, lapack
, libusb1
, blas
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [
freeglut
libglut
lapack
libusb1
blas

View file

@ -1,6 +1,6 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, libtool
, threadingSupport ? true # multi-threading
, openglSupport ? false, freeglut, libGL, libGLU # OpenGL (required for vwebp)
, openglSupport ? false, libglut, libGL, libGLU # OpenGL (required for vwebp)
, pngSupport ? true, libpng # PNG image format
, jpegSupport ? true, libjpeg # JPEG image format
, tiffSupport ? true, libtiff # TIFF image format
@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook libtool ];
buildInputs = [ ]
++ lib.optionals openglSupport [ freeglut libGL libGLU ]
++ lib.optionals openglSupport [ libglut libGL libGLU ]
++ lib.optionals pngSupport [ libpng ]
++ lib.optionals jpegSupport [ libjpeg ]
++ lib.optionals tiffSupport [ libtiff ]

View file

@ -12,7 +12,7 @@
, pugixml
, zziplib
# linux
, freeglut
, libglut
, libGL
, libGLU
, libICE
@ -75,7 +75,7 @@ let
pugixml
zziplib
] ++ lib.optionals stdenv.isLinux [
freeglut
libglut
libGL
libGLU
libICE

View file

@ -10,7 +10,7 @@
, minizip-ng
# Only required on Linux
, glew
, freeglut
, libglut
# Only required on Darwin
, Carbon
, GLUT
@ -64,7 +64,7 @@ stdenv.mkDerivation rec {
pystring
imath
minizip-ng
] ++ lib.optionals stdenv.hostPlatform.isLinux [ glew freeglut ]
] ++ lib.optionals stdenv.hostPlatform.isLinux [ glew libglut ]
++ lib.optionals stdenv.hostPlatform.isDarwin [ Carbon GLUT Cocoa ]
++ lib.optionals pythonBindings [ python3Packages.python python3Packages.pybind11 ]
++ lib.optionals buildApps [
@ -75,7 +75,7 @@ stdenv.mkDerivation rec {
cmakeFlags = [
"-DOCIO_INSTALL_EXT_PACKAGES=NONE"
"-DOCIO_USE_SSE2NEON=OFF"
# GPU test fails with: freeglut (GPU tests): failed to open display ''
# GPU test fails with: libglut (GPU tests): failed to open display ''
"-DOCIO_BUILD_GPU_TESTS=OFF"
"-Dminizip-ng_INCLUDE_DIR=${minizip-ng}/include/minizip-ng"
] ++ lib.optional (!pythonBindings) "-DOCIO_BUILD_PYTHON=OFF"

View file

@ -1,4 +1,4 @@
{lib, stdenv, fetchurl, libGLU, libGL, freeglut, glew, libXmu, libXext, libX11
{lib, stdenv, fetchurl, libGLU, libGL, libglut, glew, libXmu, libXext, libX11
, qmake, GLUT, fixDarwinDylibNames }:
stdenv.mkDerivation rec {
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
++ lib.optional stdenv.isDarwin fixDarwinDylibNames;
buildInputs = [ glew ]
++ lib.optionals stdenv.isLinux [ libGLU libGL freeglut libXmu libXext libX11 ]
++ lib.optionals stdenv.isLinux [ libGLU libGL libglut libXmu libXext libX11 ]
++ lib.optional stdenv.isDarwin GLUT;
doCheck = false;

View file

@ -3,7 +3,7 @@
, fetchFromGitHub
, unzip
, cmake
, freeglut
, libglut
, libGLU
, libGL
, zlib
@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
darwin.apple_sdk.frameworks.Cocoa
darwin.apple_sdk.frameworks.GLUT
] ++ lib.optionals (!stdenv.isDarwin) [
freeglut
libglut
libGLU
libGL
];

View file

@ -1,4 +1,4 @@
{ fetchurl, fetchpatch, lib, stdenv, libGLU, libGL, freeglut, SDL
{ fetchurl, fetchpatch, lib, stdenv, libGLU, libGL, libglut, SDL
, libXi, libSM, libXmu, libXext, libX11 }:
stdenv.mkDerivation rec {
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
];
propagatedBuildInputs = [
libGLU libGL freeglut SDL
libGLU libGL libglut SDL
# The following libs ought to be propagated build inputs of Mesa.
libXi libSM libXmu libXext libX11

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake, libminc, bicpl, freeglut, mesa_glu, GLUT }:
{ lib, stdenv, fetchFromGitHub, cmake, libminc, bicpl, libglut, mesa_glu, GLUT }:
stdenv.mkDerivation rec {
pname = "bicgl";
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
buildInputs = [ libminc bicpl mesa_glu ]
++ lib.optionals stdenv.isDarwin [ GLUT ]
++ lib.optionals stdenv.isLinux [ freeglut ];
++ lib.optionals stdenv.isLinux [ libglut ];
cmakeFlags = [
"-DLIBMINC_DIR=${libminc}/lib/cmake"

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, plib, freeglut, xorgproto, libX11, libXext, libXi
{ lib, stdenv, fetchurl, plib, libglut, xorgproto, libX11, libXext, libXi
, libICE, libSM, libXt, libXmu, libGLU, libGL, boost179, zlib, libjpeg, freealut
, openscenegraph, openal, expat, cmake, apr, xz
, curl
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ cmake ];
buildInputs = [ plib freeglut xorgproto libX11 libXext libXi
buildInputs = [ plib libglut xorgproto libX11 libXext libXi
libICE libSM libXt libXmu libGLU libGL boost179 zlib libjpeg freealut
openscenegraph openal expat apr curl xz ];

View file

@ -129,7 +129,7 @@ let
nativeLibs = [ pkgs.libGLU ];
});
cl-glut = super.cl-glut.overrideLispAttrs (o: {
nativeLibs = [ pkgs.freeglut ];
nativeLibs = [ pkgs.libglut ];
});
cl-glfw = super.cl-glfw.overrideLispAttrs (o: {
nativeLibs = [ pkgs.glfw ];

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, ocaml, findlib, libGLU, libGL, freeglut, camlp-streams, darwin } :
{ lib, stdenv, fetchFromGitHub, ocaml, findlib, libGLU, libGL, libglut, camlp-streams, darwin } :
if lib.versionOlder ocaml.version "4.06"
then throw "lablgl is not available for OCaml ${ocaml.version}"
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
strictDeps = true;
nativeBuildInputs = [ ocaml findlib ];
buildInputs = [ freeglut camlp-streams ];
buildInputs = [ libglut camlp-streams ];
propagatedBuildInputs = [
libGLU
libGL

View file

@ -32,7 +32,7 @@ buildPythonPackage rec {
--replace '"GL",' '"${pkgs.libGL}/lib/libGL${ext}",' \
--replace '"GLU",' '"${pkgs.libGLU}/lib/libGLU${ext}",' \
--replace '"GLX",' '"${pkgs.libglvnd}/lib/libGLX${ext}",' \
--replace '"glut",' '"${pkgs.freeglut}/lib/libglut${ext}",' \
--replace '"glut",' '"${pkgs.libglut}/lib/libglut${ext}",' \
--replace '"GLESv1_CM",' '"${pkgs.libGL}/lib/libGLESv1_CM${ext}",' \
--replace '"GLESv2",' '"${pkgs.libGL}/lib/libGLESv2${ext}",' \
--replace '"gle",' '"${pkgs.gle}/lib/libgle${ext}",' \
@ -40,14 +40,14 @@ buildPythonPackage rec {
substituteInPlace OpenGL/platform/egl.py \
--replace "('OpenGL','GL')" "('${pkgs.libGL}/lib/libOpenGL${ext}', '${pkgs.libGL}/lib/libGL${ext}')" \
--replace "'GLU'," "'${pkgs.libGLU}/lib/libGLU${ext}'," \
--replace "'glut'," "'${pkgs.freeglut}/lib/libglut${ext}'," \
--replace "'glut'," "'${pkgs.libglut}/lib/libglut${ext}'," \
--replace "'GLESv1_CM'," "'${pkgs.libGL}/lib/libGLESv1_CM${ext}'," \
--replace "'GLESv2'," "'${pkgs.libGL}/lib/libGLESv2${ext}'," \
--replace "'gle'," '"${pkgs.gle}/lib/libgle${ext}",' \
--replace "'EGL'," "'${pkgs.libGL}/lib/libEGL${ext}',"
substituteInPlace OpenGL/platform/darwin.py \
--replace "'OpenGL'," "'${pkgs.libGL}/lib/libGL${ext}'," \
--replace "'GLUT'," "'${pkgs.freeglut}/lib/libglut${ext}',"
--replace "'GLUT'," "'${pkgs.libglut}/lib/libglut${ext}',"
''
+ ''
# https://github.com/NixOS/nixpkgs/issues/76822

View file

@ -6,7 +6,7 @@
, cmake
, pkg-config
, glew
, freeglut
, libglut
, opencl-headers
, ocl-icd
}:
@ -26,7 +26,7 @@ let
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ glew freeglut opencl-headers ocl-icd ];
buildInputs = [ glew libglut opencl-headers ocl-icd ];
installPhase = ''
runHook preInstall

View file

@ -6,7 +6,7 @@
, cmake
, pkg-config
, glew
, freeglut
, libglut
, opencl-headers
, ocl-icd
}:
@ -26,7 +26,7 @@ let
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ glew freeglut opencl-headers ocl-icd ];
buildInputs = [ glew libglut opencl-headers ocl-icd ];
installPhase = ''
runHook preInstall

View file

@ -1,4 +1,4 @@
{ lib, stdenv, makeSetupHook, fetchFromGitHub, libelf, which, pkg-config, freeglut
{ lib, stdenv, makeSetupHook, fetchFromGitHub, libelf, which, pkg-config, libglut
, avrgcc, avrlibc
, libGLU, libGL
, GLUT }:
@ -32,7 +32,7 @@ in stdenv.mkDerivation rec {
nativeBuildInputs = [ which pkg-config avrgcc ]
++ lib.optional stdenv.isDarwin setupHookDarwin;
buildInputs = [ libelf freeglut libGLU libGL ]
buildInputs = [ libelf libglut libGLU libGL ]
++ lib.optional stdenv.isDarwin GLUT;
# remove forbidden references to $TMPDIR

View file

@ -6,7 +6,7 @@
, SDL2_mixer
, fontconfig
, freealut
, freeglut
, libglut
, ftgl
, gettext
, glpng
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
SDL2_mixer
fontconfig
freealut
freeglut
libglut
ftgl
glpng
libGL

View file

@ -5,7 +5,7 @@
, xorgproto
, libGL ? null
, libGLU ? null
, freeglut ? null
, libglut ? null
}:
stdenv.mkDerivation rec {
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
buildInputs = [ libX11 zlib xorgproto ]
++ lib.optional (libGL != null) libGL
++ lib.optional (libGLU != null) libGLU
++ lib.optional (freeglut != null) freeglut;
++ lib.optional (libglut != null) libglut;
preConfigure = ''
substituteInPlace src/Makefile.in \

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, pkg-config, gtk2, freeglut, SDL, SDL_mixer, libGLU, libGL, libXi, libXmu }:
{ lib, stdenv, fetchurl, pkg-config, gtk2, libglut, SDL, SDL_mixer, libGLU, libGL, libXi, libXmu }:
stdenv.mkDerivation rec {
pname = "crack-attack";
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ gtk2 freeglut SDL SDL_mixer libGLU libGL libXi libXmu ];
buildInputs = [ gtk2 libglut SDL SDL_mixer libGLU libGL libXi libXmu ];
hardeningDisable = [ "format" ];
enableParallelBuilding = true;

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, libGLU, libGL, libX11, xorgproto, tcl, freeglut, freetype
{ lib, stdenv, fetchurl, libGLU, libGL, libX11, xorgproto, tcl, libglut, freetype
, sfml, libXi
, libXmu, libXext, libXt, libSM, libICE
, libpng, pkg-config, gettext, intltool
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config intltool ];
buildInputs = [
libGLU libGL libX11 xorgproto tcl freeglut freetype
libGLU libGL libX11 xorgproto tcl libglut freetype
sfml libXi
libXmu libXext libXt libSM libICE
libpng gettext

View file

@ -1,5 +1,5 @@
{ lib, stdenv, fetchurl, wrapQtAppsHook
, freeglut, freealut, libGLU, libGL, libICE, libjpeg, openal, openscenegraph, plib
, libglut, freealut, libGLU, libGL, libICE, libjpeg, openal, openscenegraph, plib
, libSM, libunwind, libX11, xorgproto, libXext, libXi
, libXmu, libXt, simgear, zlib, boost, cmake, libpng, udev, fltk13, apr
, makeDesktopItem, qtbase, qtdeclarative, glew, curl
@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake wrapQtAppsHook ];
buildInputs = [
freeglut freealut libGLU libGL libICE libjpeg openal openscenegraph plib
libglut freealut libGLU libGL libICE libjpeg openal openscenegraph plib
libSM libunwind libX11 xorgproto libXext libXi
libXmu libXt simgear zlib boost libpng udev fltk13 apr qtbase
glew qtdeclarative curl

View file

@ -1,5 +1,5 @@
{ lib, stdenv, fetchurl
, libGLU, libGL, SDL, freeglut, SDL_mixer, autoconf, automake, libtool
, libGLU, libGL, SDL, libglut, SDL_mixer, autoconf, automake, libtool
}:
stdenv.mkDerivation rec {
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ automake autoconf ];
buildInputs = [ libGLU libGL SDL freeglut SDL_mixer libtool ];
buildInputs = [ libGLU libGL SDL libglut SDL_mixer libtool ];
meta = with lib; {
description = "Air combat simulator";

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, libX11, freeglut, glew, libXNVCtrl, libXext, lib }:
{ stdenv, fetchFromGitHub, libX11, libglut, glew, libXNVCtrl, libXext, lib }:
stdenv.mkDerivation rec {
pname = "gl-gsync-demo";
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "1innsmpsd9n9ih80v16rhj2ijrl28jd7x6a4jmxdirba7mjibm8d";
};
buildInputs = [ libX11 freeglut glew libXNVCtrl libXext ];
buildInputs = [ libX11 libglut glew libXNVCtrl libXext ];
installPhase = ''
runHook preInstall

View file

@ -1,4 +1,4 @@
{ stdenv, SDL2_image_2_6, SDL2_ttf, SDL2_net, fpc, haskell, ffmpeg_4, freeglut
{ stdenv, SDL2_image_2_6, SDL2_ttf, SDL2_net, fpc, haskell, ffmpeg_4, libglut
, lib, fetchurl, cmake, pkg-config, lua5_1, SDL2, SDL2_mixer
, zlib, libpng, libGL, libGLU, physfs
, qtbase, qttools, wrapQtAppsHook
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
SDL2_ttf SDL2_net SDL2 SDL2_mixer SDL2_image_2_6
fpc lua5_1
llvm # hard-requirement on aarch64, for some reason not strictly necessary on x86-64
ffmpeg_4 freeglut physfs
ffmpeg_4 libglut physfs
qtbase
] ++ lib.optional withServer ghc;
@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
];
qtWrapperArgs = [
"--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libGL libGLU freeglut physfs ]}"
"--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libGL libGLU libglut physfs ]}"
];
meta = with lib; {

View file

@ -7,7 +7,7 @@
, SDL2_mixer
, fontconfig
, freealut
, freeglut
, libglut
, gettext
, libGL
, libGLU
@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
SDL2_mixer
fontconfig
freealut
freeglut
libglut
libGL
libGLU
openal

View file

@ -2,7 +2,7 @@
, stdenv
, fetchFromGitHub
, makeWrapper
, freeglut
, libglut
, libGLU
, libGL
}:
@ -19,7 +19,7 @@ stdenv.mkDerivation {
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ freeglut libGL libGLU ];
buildInputs = [ libglut libGL libGLU ];
patchPhase = ''
sed -i "s;font24.raw;$out/share/font24.raw;g" display.c
@ -33,7 +33,7 @@ stdenv.mkDerivation {
cp font24.raw $out/share
wrapProgram $out/bin/nw \
--prefix LD_LIBRARY_PATH ":" ${freeglut}/lib \
--prefix LD_LIBRARY_PATH ":" ${libglut}/lib \
--prefix LD_LIBRARY_PATH ":" ${libGLU}/lib \
--prefix LD_LIBRARY_PATH ":" ${libGL}/lib
'';

View file

@ -1,5 +1,5 @@
{ lib, stdenv, fetchurl
, libGLU, libGL, libXi, libXt, libXext, libX11, libXmu, freeglut
, libGLU, libGL, libXi, libXt, libXext, libX11, libXmu, libglut
}:
stdenv.mkDerivation rec {
@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
version = "1.01";
patchversion = "9";
buildInputs = [ libGLU libGL libXi libXt libXext libX11 libXmu freeglut ];
buildInputs = [ libGLU libGL libXi libXt libXext libX11 libXmu libglut ];
src = fetchurl {
url = "mirror://debian/pool/main/s/space-orbit/space-orbit_${version}.orig.tar.gz";

View file

@ -1,4 +1,4 @@
{ fetchurl, lib, stdenv, libGLU, libGL, freeglut, libX11, plib, openal, freealut, libXrandr, xorgproto,
{ fetchurl, lib, stdenv, libGLU, libGL, libglut, libX11, plib, openal, freealut, libXrandr, xorgproto,
libXext, libSM, libICE, libXi, libXt, libXrender, libXxf86vm, openscenegraph, expat,
libpng, zlib, bash, SDL2, SDL2_mixer, enet, libjpeg, cmake, pkg-config, libvorbis, runtimeShell, curl, copyDesktopItems, makeDesktopItem }:
@ -75,7 +75,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config cmake copyDesktopItems ];
buildInputs = [ libpng libGLU libGL freeglut libX11 plib openal freealut libXrandr xorgproto
buildInputs = [ libpng libGLU libGL libglut libX11 plib openal freealut libXrandr xorgproto
libXext libSM libICE libXi libXt libXrender libXxf86vm zlib bash expat
SDL2 SDL2_mixer enet libjpeg openscenegraph libvorbis curl ];

View file

@ -162,7 +162,7 @@ in buildFHSEnv rec {
gtk2
bzip2
flac
freeglut
libglut
libjpeg
libpng
libpng12

View file

@ -1,4 +1,4 @@
{ fetchpatch, fetchurl, lib, stdenv, libGLU, freeglut, libX11, plib, openal, freealut, libXrandr, xorgproto,
{ fetchpatch, fetchurl, lib, stdenv, libGLU, libglut, libX11, plib, openal, freealut, libXrandr, xorgproto,
libXext, libSM, libICE, libXi, libXt, libXrender, libXxf86vm, libvorbis,
libpng, zlib, makeWrapper }:
@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
'';
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ libGLU freeglut libX11 plib openal freealut libXrandr xorgproto
buildInputs = [ libGLU libglut libX11 plib openal freealut libXrandr xorgproto
libXext libSM libICE libXi libXt libXrender libXxf86vm libpng zlib libvorbis ];
installTargets = "install datainstall";

View file

@ -13,7 +13,7 @@
, libgtop
, boost179
, tinyxml
, freeglut
, libglut
, libGLU
, libGL
, glee
@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
libgtop
boost179
tinyxml
freeglut
libglut
libGLU
libGL
glee

View file

@ -1,5 +1,5 @@
{ lib, stdenv, fetchzip, qtbase, qtscxml, cmake, asciidoc
, docbook_xsl, json_c, mesa_glu, freeglut, trace-cmd, pkg-config
, docbook_xsl, json_c, mesa_glu, libglut, trace-cmd, pkg-config
, libtraceevent, libtracefs, freefont_ttf, wrapQtAppsHook, qtwayland
}:
@ -16,7 +16,7 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [ pkg-config cmake wrapQtAppsHook ];
buildInputs = [ qtbase qtscxml qtwayland json_c mesa_glu freeglut libtraceevent libtracefs trace-cmd ];
buildInputs = [ qtbase qtscxml qtwayland json_c mesa_glu libglut libtraceevent libtracefs trace-cmd ];
cmakeFlags = [
"-D_INSTALL_PREFIX=${placeholder "out"}"

View file

@ -1,6 +1,6 @@
{ lib, stdenv, fetchurl
, autoreconfHook, bison, glm, flex, wrapQtAppsHook, cmake, pkg-config
, freeglut, ghostscriptX, imagemagick, fftw, eigen, libtirpc
, libglut, ghostscriptX, imagemagick, fftw, eigen, libtirpc
, boehmgc, libGLU, libGL, ncurses, readline, gsl, libsigsegv
, python3, qtbase, qtsvg, boost
, zlib, perl, curl
@ -46,7 +46,7 @@ stdenv.mkDerivation (finalAttrs: {
propagatedBuildInputs = [
glm
] ++ lib.optionals stdenv.isLinux [
freeglut libGLU libGL
libglut libGLU libGL
] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
OpenGL GLUT Cocoa
]);

View file

@ -1,7 +1,7 @@
{ lib, stdenv, fetchhg
, autoreconfHook
, boost
, freeglut
, libglut
, glew
, gsl
, lcms2
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-0gCUSdg3HR3YeIbOByEBCZh2zGlYur6DeCOzUM53fdc=";
};
buildInputs = [ boost freeglut glew gsl lcms2 libpng libtiff libGLU libGL vigra ];
buildInputs = [ boost libglut glew gsl lcms2 libpng libtiff libGLU libGL vigra ];
nativeBuildInputs = [ autoreconfHook help2man perl pkg-config texliveSmall ];

View file

@ -1,7 +1,7 @@
{ lib
, stdenv
, fetchurl
, freeglut
, libglut
, libGL
, libGLU
, libX11
@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
];
buildInputs = [
freeglut
libglut
libX11
libXext
libGL

View file

@ -1,5 +1,5 @@
{ lib, stdenv, mkDerivation, fetchurl, cmake, pkg-config, darwin
, openexr, zlib, imagemagick6, libGLU, libGL, freeglut, fftwFloat
, openexr, zlib, imagemagick6, libGLU, libGL, libglut, fftwFloat
, fftw, gsl, libexif, perl, qtbase, netpbm
, enableUnfree ? false, opencv2
}:
@ -35,7 +35,7 @@ mkDerivation rec {
] ++ (if stdenv.isDarwin then (with darwin.apple_sdk.frameworks; [
OpenGL GLUT
]) else [
libGLU libGL freeglut
libGLU libGL libglut
]) ++ lib.optional enableUnfree (opencv2.override { enableUnfree = true; });
patches = [ ./glut.patch ./threads.patch ./pfstools.patch ./pfsalign.patch ];

View file

@ -2,7 +2,7 @@
, fetchFromGitLab
, lib
, cmake
, freeglut
, libglut
, libGL
, libGLU
, libglvnd
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [
freeglut
libglut
libGL
libGLU
libglvnd

View file

@ -1,5 +1,5 @@
{ lib, stdenv, fetchFromGitHub
, libGL, libGLU, freeglut, libX11 }:
, libGL, libGLU, libglut, libX11 }:
stdenv.mkDerivation rec {
pname = "twilight";
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
sha256 = "0mmmi4jj8yd8wnah6kx5na782sjycszgzim33dfalr0ph361m4pz";
};
buildInputs = [ libGL libGLU freeglut libX11 ];
buildInputs = [ libGL libGLU libglut libX11 ];
installPhase = ''
install -Dm755 twilight $out/bin/twilight

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, freeglut, libGL, libGLU }:
{ lib, stdenv, fetchFromGitHub, autoreconfHook, libglut, libGL, libGLU }:
stdenv.mkDerivation rec {
pname = "hdaps-gl";
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ freeglut libGL libGLU ];
buildInputs = [ libglut libGL libGLU ];
meta = with lib; {
description = "GL-based laptop model that rotates in real-time via hdaps";

View file

@ -2864,7 +2864,7 @@ with pkgs;
x16-run = x16.run;
yabause = libsForQt5.callPackage ../applications/emulators/yabause {
freeglut = null;
libglut = null;
openal = null;
};
@ -36441,11 +36441,11 @@ with pkgs;
construoBase = lowPrio (callPackage ../games/construo {
libGL = null;
libGLU = null;
freeglut = null;
libglut = null;
});
construo = construoBase.override {
inherit libGL libGLU freeglut;
inherit libGL libGLU libglut;
};
crack_attack = callPackage ../games/crack-attack { };

View file

@ -19594,7 +19594,7 @@ with self; {
};
# FIXME: try with libGL + libGLU instead of libGLU libGL
buildInputs = [ pkgs.libGLU pkgs.libGL pkgs.libGLU pkgs.freeglut pkgs.xorg.libX11 pkgs.xorg.libXi pkgs.xorg.libXmu pkgs.xorg.libXext pkgs.xdummy ];
buildInputs = [ pkgs.libGLU pkgs.libGL pkgs.libGLU pkgs.libglut pkgs.xorg.libX11 pkgs.xorg.libXi pkgs.xorg.libXmu pkgs.xorg.libXext pkgs.xdummy ];
patches = [ ../development/perl-modules/perl-opengl.patch ];
@ -20301,7 +20301,7 @@ with self; {
nativeBuildInputs = with pkgs; [ autoPatchelfHook libGL.dev glibc.dev mesa_glu.dev ];
buildInputs = [ DevelChecklib TestDeep TestException TestWarn ] ++
(with pkgs; [ gsl freeglut xorg.libXmu xorg.libXi ]);
(with pkgs; [ gsl libglut xorg.libXmu xorg.libXi ]);
propagatedBuildInputs = [
AstroFITSHeader