Merge #34461: mesa -> libGL* rename
This will just bit rot otherwise. Almost nothing gets rebuilt.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{ stdenv, fetchurl, fetchFromGitHub, glib, glibc, git,
|
||||
rlwrap, curl, pkgconfig, perl, makeWrapper, tzdata, ncurses,
|
||||
libX11, pango, cairo, gtk2, gdk_pixbuf, gtkglext,
|
||||
mesa_glu, libXmu, libXt, libICE, libSM }:
|
||||
libGLU, libXmu, libXt, libICE, libSM }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "factor-lang-${version}";
|
||||
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ git rlwrap curl perl makeWrapper
|
||||
libX11 pango cairo gtk2 gdk_pixbuf gtkglext
|
||||
mesa_glu libXmu libXt libICE libSM ];
|
||||
libGLU libXmu libXt libICE libSM ];
|
||||
|
||||
buildPhase = ''
|
||||
make $(bash ./build-support/factor.sh make-target) GIT_LABEL=heads/master-${rev}
|
||||
@@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
|
||||
# to be a generic solution here.
|
||||
find $(echo ${stdenv.lib.makeLibraryPath [
|
||||
glib libX11 pango cairo gtk2 gdk_pixbuf gtkglext
|
||||
mesa_glu libXmu libXt libICE libSM ]} | sed -e 's#:# #g') -name \*.so.\* > $TMPDIR/so.lst
|
||||
libGLU libXmu libXt libICE libSM ]} | sed -e 's#:# #g') -name \*.so.\* > $TMPDIR/so.lst
|
||||
|
||||
(echo $(cat $TMPDIR/so.lst | wc -l) "libs found in cache \`/etc/ld.so.cache'";
|
||||
for l in $(<$TMPDIR/so.lst);
|
||||
@@ -72,7 +72,7 @@ stdenv.mkDerivation rec {
|
||||
wrapProgram $out/bin/factor --prefix LD_LIBRARY_PATH : \
|
||||
"${stdenv.lib.makeLibraryPath [ glib
|
||||
libX11 pango cairo gtk2 gdk_pixbuf gtkglext
|
||||
mesa_glu libXmu libXt libICE libSM ]}"
|
||||
libGLU libXmu libXt libICE libSM ]}"
|
||||
|
||||
sed -ie 's#/bin/.factor-wrapped#/lib/factor/factor#g' $out/bin/factor
|
||||
mv $out/bin/.factor-wrapped $out/lib/factor/factor
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, lib, fetchurl, file, glib, libxml2, libav_0_8, ffmpeg, libxslt
|
||||
, mesa_noglu , xorg, alsaLib, fontconfig, freetype, pango, gtk2, cairo
|
||||
, libGL , xorg, alsaLib, fontconfig, freetype, pango, gtk2, cairo
|
||||
, gdk_pixbuf, atk }:
|
||||
|
||||
# TODO: Investigate building from source instead of patching binaries.
|
||||
@@ -51,7 +51,7 @@ let drv = stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
rpath = lib.makeLibraryPath ([
|
||||
stdenv.cc.cc stdenv.cc.libc glib libxml2 libav_0_8 ffmpeg libxslt mesa_noglu
|
||||
stdenv.cc.cc stdenv.cc.libc glib libxml2 libav_0_8 ffmpeg libxslt libGL
|
||||
alsaLib fontconfig freetype pango gtk2 cairo gdk_pixbuf atk
|
||||
] ++ (with xorg; [
|
||||
libX11 libXext libXtst libXi libXp libXt libXrender libXxf86vm
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
, libav_0_8
|
||||
, ffmpeg
|
||||
, libxslt
|
||||
, mesa_noglu
|
||||
, libGL
|
||||
, freetype
|
||||
, fontconfig
|
||||
, gtk2
|
||||
@@ -177,7 +177,7 @@ let result = stdenv.mkDerivation rec {
|
||||
* libXt is only needed on amd64
|
||||
*/
|
||||
libraries =
|
||||
[stdenv.cc.libc glib libxml2 libav_0_8 ffmpeg libxslt mesa_noglu xorg.libXxf86vm alsaLib fontconfig freetype pango gtk2 cairo gdk_pixbuf atk] ++
|
||||
[stdenv.cc.libc glib libxml2 libav_0_8 ffmpeg libxslt libGL xorg.libXxf86vm alsaLib fontconfig freetype pango gtk2 cairo gdk_pixbuf atk] ++
|
||||
(if swingSupport then [xorg.libX11 xorg.libXext xorg.libXtst xorg.libXi xorg.libXp xorg.libXt xorg.libXrender stdenv.cc.cc] else []);
|
||||
|
||||
rpath = stdenv.lib.strings.makeLibraryPath libraries;
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
, libxml2
|
||||
, ffmpeg_2
|
||||
, libxslt
|
||||
, mesa_noglu
|
||||
, libGL
|
||||
, freetype
|
||||
, fontconfig
|
||||
, gtk2
|
||||
@@ -136,7 +136,7 @@ let result = stdenv.mkDerivation rec {
|
||||
* libXt is only needed on amd64
|
||||
*/
|
||||
libraries =
|
||||
[stdenv.cc.libc glib libxml2 ffmpeg_2 libxslt mesa_noglu xorg.libXxf86vm alsaLib fontconfig freetype pango gtk2 cairo gdk_pixbuf atk zlib elfutils] ++
|
||||
[stdenv.cc.libc glib libxml2 ffmpeg_2 libxslt libGL xorg.libXxf86vm alsaLib fontconfig freetype pango gtk2 cairo gdk_pixbuf atk zlib elfutils] ++
|
||||
(if swingSupport then [xorg.libX11 xorg.libXext xorg.libXtst xorg.libXi xorg.libXp xorg.libXt xorg.libXrender stdenv.cc.cc] else []);
|
||||
|
||||
rpath = stdenv.lib.strings.makeLibraryPath libraries;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, lib, fetchurl, unzip, makeWrapper, setJavaClassPath
|
||||
, zulu, glib, libxml2, libav_0_8, ffmpeg, libxslt, mesa_noglu, alsaLib
|
||||
, zulu, glib, libxml2, libav_0_8, ffmpeg, libxslt, libGL, alsaLib
|
||||
, fontconfig, freetype, gnome2, cairo, gdk_pixbuf, atk, xorg
|
||||
, swingSupport ? true }:
|
||||
|
||||
@@ -15,7 +15,7 @@ let
|
||||
extension = if stdenv.isDarwin then "zip" else "tar.gz";
|
||||
|
||||
libraries = [
|
||||
stdenv.cc.libc glib libxml2 libav_0_8 ffmpeg libxslt mesa_noglu
|
||||
stdenv.cc.libc glib libxml2 libav_0_8 ffmpeg libxslt libGL
|
||||
xorg.libXxf86vm alsaLib fontconfig freetype gnome2.pango
|
||||
gnome2.gtk cairo gdk_pixbuf atk
|
||||
] ++ (lib.optionals swingSupport (with xorg; [
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, lib, fetchurl, unzip, makeWrapper, setJavaClassPath
|
||||
, zulu, glib, libxml2, libav_0_8, ffmpeg, libxslt, mesa_noglu, alsaLib
|
||||
, zulu, glib, libxml2, libav_0_8, ffmpeg, libxslt, libGL, alsaLib
|
||||
, fontconfig, freetype, gnome2, cairo, gdk_pixbuf, atk, xorg, zlib
|
||||
, swingSupport ? true }:
|
||||
|
||||
@@ -15,7 +15,7 @@ let
|
||||
extension = if stdenv.isDarwin then "zip" else "tar.gz";
|
||||
|
||||
libraries = [
|
||||
stdenv.cc.libc glib libxml2 libav_0_8 ffmpeg libxslt mesa_noglu
|
||||
stdenv.cc.libc glib libxml2 libav_0_8 ffmpeg libxslt libGL
|
||||
xorg.libXxf86vm alsaLib fontconfig freetype gnome2.pango
|
||||
gnome2.gtk cairo gdk_pixbuf atk zlib
|
||||
] ++ (lib.optionals swingSupport (with xorg; [
|
||||
|
||||
@@ -632,7 +632,7 @@ self: super: {
|
||||
phash = markBroken super.phash;
|
||||
|
||||
# https://github.com/deech/fltkhs/issues/16
|
||||
# linking fails because the build doesn't pull in the mesa libraries
|
||||
# linking fails because the build doesn't pull in the libGLU_combined libraries
|
||||
fltkhs = markBroken super.fltkhs;
|
||||
fltkhs-fluid-examples = dontDistribute super.fltkhs-fluid-examples;
|
||||
|
||||
|
||||
@@ -221,7 +221,7 @@ self: super: builtins.intersectAttrs super {
|
||||
wxcore = super.wxcore.override { wxGTK = pkgs.wxGTK30; };
|
||||
|
||||
# Test suite wants to connect to $DISPLAY.
|
||||
hsqml = dontCheck (addExtraLibrary (super.hsqml.override { qt5 = pkgs.qt5Full; }) pkgs.mesa);
|
||||
hsqml = dontCheck (addExtraLibrary (super.hsqml.override { qt5 = pkgs.qt5Full; }) pkgs.libGLU_combined);
|
||||
|
||||
# Tests attempt to use NPM to install from the network into
|
||||
# /homeless-shelter. Disabled.
|
||||
@@ -350,7 +350,7 @@ self: super: builtins.intersectAttrs super {
|
||||
# https://github.com/deech/fltkhs/issues/16
|
||||
fltkhs = overrideCabal super.fltkhs (drv: {
|
||||
libraryToolDepends = (drv.libraryToolDepends or []) ++ [pkgs.autoconf];
|
||||
librarySystemDepends = (drv.librarySystemDepends or []) ++ [pkgs.fltk13 pkgs.mesa_noglu pkgs.libjpeg];
|
||||
librarySystemDepends = (drv.librarySystemDepends or []) ++ [pkgs.fltk13 pkgs.libGL pkgs.libjpeg];
|
||||
});
|
||||
|
||||
# https://github.com/skogsbaer/hscurses/pull/26
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
, libxml2, libxslt, ncurses, openssl, perl, autoreconfHook
|
||||
, openjdk ? null # javacSupport
|
||||
, unixODBC ? null # odbcSupport
|
||||
, mesa ? null, wxGTK ? null, wxmac ? null, xorg ? null # wxSupport
|
||||
, libGLU_combined ? null, wxGTK ? null, wxmac ? null, xorg ? null # wxSupport
|
||||
}:
|
||||
|
||||
{ baseName ? "erlang"
|
||||
@@ -17,7 +17,7 @@
|
||||
, enableKernelPoll ? true
|
||||
, javacSupport ? false, javacPackages ? [ openjdk ]
|
||||
, odbcSupport ? false, odbcPackages ? [ unixODBC ]
|
||||
, wxSupport ? true, wxPackages ? [ mesa wxGTK xorg.libX11 ]
|
||||
, wxSupport ? true, wxPackages ? [ libGLU_combined wxGTK xorg.libX11 ]
|
||||
, preUnpack ? "", postUnpack ? ""
|
||||
, patches ? [], patchPhase ? "", prePatch ? "", postPatch ? ""
|
||||
, configureFlags ? [], configurePhase ? "", preConfigure ? "", postConfigure ? ""
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
assert wxSupport -> (if stdenv.isDarwin
|
||||
then wxmac != null
|
||||
else mesa != null && wxGTK != null && xorg != null);
|
||||
else libGLU_combined != null && wxGTK != null && xorg != null);
|
||||
|
||||
assert odbcSupport -> unixODBC != null;
|
||||
assert javacSupport -> openjdk != null;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, zlib, sqlite, gmp, libffi, cairo,
|
||||
ncurses, freetype, mesa, libpng, libtiff, libjpeg, readline, libsndfile,
|
||||
ncurses, freetype, libGLU_combined, libpng, libtiff, libjpeg, readline, libsndfile,
|
||||
libxml2, freeglut, libsamplerate, pcre, libevent, libedit, yajl,
|
||||
python3, openssl, glfw, pkgconfig, libpthreadstubs, libXdmcp, libmemcached
|
||||
}:
|
||||
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
|
||||
|
||||
buildInputs = [
|
||||
zlib sqlite gmp libffi cairo ncurses freetype
|
||||
mesa libpng libtiff libjpeg readline libsndfile libxml2
|
||||
libGLU_combined libpng libtiff libjpeg readline libsndfile libxml2
|
||||
freeglut libsamplerate pcre libevent libedit yajl
|
||||
pkgconfig glfw openssl libpthreadstubs libXdmcp
|
||||
libmemcached python3
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromBitbucket, pkgconfig, SDL2, mesa, openal, luajit,
|
||||
{ stdenv, fetchFromBitbucket, pkgconfig, SDL2, libGLU_combined, openal, luajit,
|
||||
libdevil, freetype, physfs, libmodplug, mpg123, libvorbis, libogg,
|
||||
libtheora, which, autoconf, automake, libtool
|
||||
}:
|
||||
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [
|
||||
SDL2 mesa openal luajit libdevil freetype physfs libmodplug mpg123
|
||||
SDL2 libGLU_combined openal luajit libdevil freetype physfs libmodplug mpg123
|
||||
libvorbis libogg libtheora autoconf which libtool automake
|
||||
];
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, pkgconfig
|
||||
, SDL, mesa, openal, lua
|
||||
, SDL, libGLU_combined, openal, lua
|
||||
, libdevil, freetype, physfs
|
||||
, libmodplug, mpg123, libvorbis, libogg
|
||||
}:
|
||||
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [
|
||||
SDL mesa openal lua
|
||||
SDL libGLU_combined openal lua
|
||||
libdevil freetype physfs libmodplug mpg123 libvorbis libogg
|
||||
];
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, pkgconfig
|
||||
, SDL, mesa, openal, lua
|
||||
, SDL, libGLU_combined, openal, lua
|
||||
, libdevil, freetype, physfs
|
||||
, libmodplug, mpg123, libvorbis, libogg
|
||||
}:
|
||||
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [
|
||||
SDL mesa openal lua
|
||||
SDL libGLU_combined openal lua
|
||||
libdevil freetype physfs libmodplug mpg123 libvorbis libogg
|
||||
];
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, pkgconfig
|
||||
, SDL2, mesa, openal, luajit
|
||||
, SDL2, libGLU_combined, openal, luajit
|
||||
, libdevil, freetype, physfs
|
||||
, libmodplug, mpg123, libvorbis, libogg
|
||||
}:
|
||||
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [
|
||||
SDL2 mesa openal luajit
|
||||
SDL2 libGLU_combined openal luajit
|
||||
libdevil freetype physfs libmodplug mpg123 libvorbis libogg
|
||||
];
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, libX11, xproto, indent, readline, gsl, freeglut, mesa, SDL
|
||||
{stdenv, fetchurl, libX11, xproto, indent, readline, gsl, freeglut, libGLU_combined, SDL
|
||||
, blas, libbfd, intltool, gettext, zlib, libSM}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
libX11 libSM xproto indent readline gsl freeglut mesa SDL blas libbfd
|
||||
libX11 libSM xproto indent readline gsl freeglut libGLU_combined SDL blas libbfd
|
||||
intltool gettext zlib
|
||||
];
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, gfortran, readline, ncurses, perl, flex, texinfo, qhull
|
||||
, libsndfile, portaudio, libX11, graphicsmagick, pcre, pkgconfig, mesa, fltk
|
||||
, libsndfile, portaudio, libX11, graphicsmagick, pcre, pkgconfig, libGLU_combined, fltk
|
||||
, fftw, fftwSinglePrec, zlib, curl, qrupdate, openblas, arpack, libwebp
|
||||
, qt ? null, qscintilla ? null, ghostscript ? null, llvm ? null, hdf5 ? null,glpk ? null
|
||||
, suitesparse ? null, gnuplot ? null, jdk ? null, python ? null, overridePlatforms ? null
|
||||
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
|
||||
++ (stdenv.lib.optional (jdk != null) jdk)
|
||||
++ (stdenv.lib.optional (gnuplot != null) gnuplot)
|
||||
++ (stdenv.lib.optional (python != null) python)
|
||||
++ (stdenv.lib.optionals (!stdenv.isDarwin) [ mesa libX11 ])
|
||||
++ (stdenv.lib.optionals (!stdenv.isDarwin) [ libGLU_combined libX11 ])
|
||||
;
|
||||
|
||||
# makeinfo is required by Octave at runtime to display help
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, pythonPackages, pkgconfig, SDL2
|
||||
, libpng, ffmpeg, freetype, glew, mesa, fribidi, zlib
|
||||
, libpng, ffmpeg, freetype, glew, libGLU_combined, fribidi, zlib
|
||||
, glib
|
||||
}:
|
||||
|
||||
@@ -26,13 +26,13 @@ stdenv.mkDerivation {
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [
|
||||
python cython wrapPython
|
||||
SDL2 libpng ffmpeg freetype glew mesa fribidi zlib pygame_sdl2 glib
|
||||
SDL2 libpng ffmpeg freetype glew libGLU_combined fribidi zlib pygame_sdl2 glib
|
||||
];
|
||||
|
||||
pythonPath = [ pygame_sdl2 ];
|
||||
|
||||
RENPY_DEPS_INSTALL = stdenv.lib.concatStringsSep "::" (map (path: "${path}") [
|
||||
SDL2 SDL2.dev libpng ffmpeg ffmpeg.out freetype glew.dev glew.out mesa fribidi zlib
|
||||
SDL2 SDL2.dev libpng ffmpeg ffmpeg.out freetype glew.dev glew.out libGLU_combined fribidi zlib
|
||||
]);
|
||||
|
||||
buildPhase = ''
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{ stdenv, fetchurl, unzip, xlibs, mesa }:
|
||||
{ stdenv, fetchurl, unzip, xlibs, libGLU_combined }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "AntTweakBar-1.16";
|
||||
|
||||
buildInputs = [ unzip xlibs.libX11 mesa ];
|
||||
buildInputs = [ unzip xlibs.libX11 libGLU_combined ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/project/anttweakbar/AntTweakBar_116.zip";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, fetchpatch, pkgconfig, audiofile, libcap, libiconv
|
||||
, openglSupport ? false, mesa_noglu, mesa_glu
|
||||
, openglSupport ? false, libGL, libGLU
|
||||
, alsaSupport ? true, alsaLib
|
||||
, x11Support ? hostPlatform == buildPlatform, libXext, libICE, libXrandr
|
||||
, pulseaudioSupport ? true, libpulseaudio
|
||||
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
||||
optionals x11Support [ libXext libICE libXrandr ] ++
|
||||
optional alsaSupport alsaLib ++
|
||||
optional stdenv.isLinux libcap ++
|
||||
optionals openglSupport [ mesa_noglu mesa_glu ] ++
|
||||
optionals openglSupport [ libGL libGLU ] ++
|
||||
optional pulseaudioSupport libpulseaudio ++
|
||||
optional stdenv.isDarwin Cocoa;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, lib, fetchurl, pkgconfig, audiofile
|
||||
, openglSupport ? false, mesa_noglu
|
||||
, openglSupport ? false, libGL
|
||||
, alsaSupport ? true, alsaLib
|
||||
, x11Support ? true, libICE, libXi, libXScrnSaver, libXcursor, libXinerama, libXext, libXxf86vm, libXrandr
|
||||
, waylandSupport ? true, wayland, wayland-protocols, libxkbcommon
|
||||
@@ -15,7 +15,7 @@
|
||||
# PulseAudio.
|
||||
assert !stdenv.isDarwin -> alsaSupport || pulseaudioSupport;
|
||||
|
||||
assert openglSupport -> (stdenv.isDarwin || mesa_noglu != null && x11Support);
|
||||
assert openglSupport -> (stdenv.isDarwin || libGL != null && x11Support);
|
||||
|
||||
let
|
||||
configureFlagsFun = attrs: [
|
||||
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
|
||||
++ [ libiconv ];
|
||||
|
||||
buildInputs = [ audiofile ] ++
|
||||
lib.optional openglSupport mesa_noglu ++
|
||||
lib.optional openglSupport libGL ++
|
||||
lib.optional alsaSupport alsaLib ++
|
||||
lib.optional dbusSupport dbus ++
|
||||
lib.optional udevSupport udev ++
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, darwin, fetchurl, SDL2, freetype, mesa_noglu }:
|
||||
{ stdenv, darwin, fetchurl, SDL2, freetype, libGL }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "SDL2_ttf-${version}";
|
||||
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0xljwcpvd2knrjdfag5b257xqayplz55mqlszrqp0kpnphh5xnrl";
|
||||
};
|
||||
|
||||
buildInputs = [ SDL2 freetype mesa_noglu ]
|
||||
buildInputs = [ SDL2 freetype libGL ]
|
||||
++ stdenv.lib.optional stdenv.isDarwin darwin.libobjc;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ stdenv, fetchFromGitHub, texinfo, libXext, xextproto, libX11, xproto
|
||||
, libXpm, libXt, libXcursor, alsaLib, cmake, zlib, libpng, libvorbis
|
||||
, libXxf86dga, libXxf86misc, xf86dgaproto, xf86miscproto
|
||||
, xf86vidmodeproto, libXxf86vm, openal, mesa, kbproto, libjpeg, flac
|
||||
, xf86vidmodeproto, libXxf86vm, openal, libGLU_combined, kbproto, libjpeg, flac
|
||||
, inputproto, libXi, fixesproto, libXfixes, freetype, libopus, libtheora
|
||||
, physfs, enet, pkgconfig, gtk2, pcre, libpulseaudio, libpthreadstubs
|
||||
, libXdmcp
|
||||
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [
|
||||
texinfo libXext xextproto libX11 xproto libXpm libXt libXcursor
|
||||
alsaLib cmake zlib libpng libvorbis libXxf86dga libXxf86misc
|
||||
xf86dgaproto xf86miscproto xf86vidmodeproto libXxf86vm openal mesa
|
||||
xf86dgaproto xf86miscproto xf86vidmodeproto libXxf86vm openal libGLU_combined
|
||||
kbproto libjpeg flac
|
||||
inputproto libXi fixesproto libXfixes
|
||||
enet libtheora freetype physfs libopus pkgconfig gtk2 pcre libXdmcp
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ stdenv, fetchurl, texinfo, libXext, xextproto, libX11, xproto
|
||||
, libXpm, libXt, libXcursor, alsaLib, cmake, zlib, libpng, libvorbis
|
||||
, libXxf86dga, libXxf86misc, xf86dgaproto, xf86miscproto
|
||||
, xf86vidmodeproto, libXxf86vm, openal, mesa }:
|
||||
, xf86vidmodeproto, libXxf86vm, openal, libGLU_combined }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "allegro-${version}";
|
||||
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [
|
||||
texinfo libXext xextproto libX11 xproto libXpm libXt libXcursor
|
||||
alsaLib cmake zlib libpng libvorbis libXxf86dga libXxf86misc
|
||||
xf86dgaproto xf86miscproto xf86vidmodeproto libXxf86vm openal mesa
|
||||
xf86dgaproto xf86miscproto xf86vidmodeproto libXxf86vm openal libGLU_combined
|
||||
];
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
, libXext
|
||||
, python3
|
||||
, ocl-icd
|
||||
, mesa_noglu
|
||||
, libGL
|
||||
, makeWrapper
|
||||
, beignet
|
||||
}:
|
||||
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
|
||||
libXdmcp
|
||||
libXdamage
|
||||
ocl-icd
|
||||
mesa_noglu
|
||||
libGL
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, unzip, cmake, mesa, freeglut, libX11, xproto, inputproto
|
||||
{ stdenv, fetchurl, unzip, cmake, libGLU_combined, freeglut, libX11, xproto, inputproto
|
||||
, libXi, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [
|
||||
unzip cmake mesa freeglut libX11 xproto inputproto libXi
|
||||
unzip cmake libGLU_combined freeglut libX11 xproto inputproto libXi
|
||||
];
|
||||
|
||||
cmakeFlags = [ "-DBOX2D_INSTALL=ON" "-DBOX2D_BUILD_SHARED=ON" ];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, mesa, freeglut, darwin }:
|
||||
{ stdenv, fetchFromGitHub, cmake, libGLU_combined, freeglut, darwin }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "bullet-${version}";
|
||||
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ cmake ] ++
|
||||
(if stdenv.isDarwin
|
||||
then with darwin.apple_sdk.frameworks; [ Cocoa OpenGL ]
|
||||
else [mesa freeglut]);
|
||||
else [libGLU_combined freeglut]);
|
||||
|
||||
patches = [ ./gwen-narrowing.patch ];
|
||||
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
, libintlOrEmpty, expat, zlib, libpng, pixman, fontconfig, freetype, xorg
|
||||
, gobjectSupport ? true, glib
|
||||
, xcbSupport ? true # no longer experimental since 1.12
|
||||
, glSupport ? true, mesa_noglu ? null # mesa is no longer a big dependency
|
||||
, glSupport ? true, libGL ? null # libGLU_combined is no longer a big dependency
|
||||
, pdfSupport ? true
|
||||
, darwin
|
||||
}:
|
||||
|
||||
assert glSupport -> mesa_noglu != null;
|
||||
assert glSupport -> libGL != null;
|
||||
|
||||
let inherit (stdenv.lib) optional optionals; in
|
||||
|
||||
@@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
|
||||
with xorg; [ libXext fontconfig expat freetype pixman zlib libpng libXrender ]
|
||||
++ optionals xcbSupport [ libxcb xcbutil ]
|
||||
++ optional gobjectSupport glib
|
||||
++ optional glSupport mesa_noglu
|
||||
++ optional glSupport libGL
|
||||
; # TODO: maybe liblzo but what would it be for here?
|
||||
|
||||
configureFlags = if stdenv.isDarwin then [
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, cmake, freeglut, mesa, glfw2, glew, libX11, xproto
|
||||
{ stdenv, fetchurl, cmake, freeglut, libGLU_combined, glfw2, glew, libX11, xproto
|
||||
, inputproto, libXi, libXmu
|
||||
}:
|
||||
|
||||
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs =
|
||||
[ freeglut mesa glfw2 glew libX11 xproto inputproto libXi libXmu ];
|
||||
[ freeglut libGLU_combined glfw2 glew libX11 xproto inputproto libXi libXmu ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/bin
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchFromGitHub, SDL, mesa, rebar, erlang, opencl-headers, ocl-icd }:
|
||||
{stdenv, fetchFromGitHub, SDL, libGLU_combined, rebar, erlang, opencl-headers, ocl-icd }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.2.3";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, glib, pkgconfig, mesa, libX11, libXext, libXfixes
|
||||
{ stdenv, fetchurl, glib, pkgconfig, libGLU_combined, libX11, libXext, libXfixes
|
||||
, libXdamage, libXcomposite, libXi, libxcb, cogl, pango, atk, json-glib,
|
||||
gobjectIntrospection, gtk3, gnome3
|
||||
}:
|
||||
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ gtk3 ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
propagatedBuildInputs =
|
||||
[ libX11 mesa libXext libXfixes libXdamage libXcomposite libXi cogl pango
|
||||
[ libX11 libGLU_combined libXext libXfixes libXdamage libXcomposite libXi cogl pango
|
||||
atk json-glib gobjectIntrospection libxcb
|
||||
];
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, mesa_noglu, glib, gdk_pixbuf, xorg, libintlOrEmpty
|
||||
{ stdenv, fetchurl, pkgconfig, libGL, glib, gdk_pixbuf, xorg, libintlOrEmpty
|
||||
, pangoSupport ? true, pango, cairo, gobjectIntrospection, wayland, gnome3
|
||||
, gstreamerSupport ? true, gst_all_1 }:
|
||||
|
||||
@@ -25,7 +25,7 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
propagatedBuildInputs = with xorg; [
|
||||
glib gdk_pixbuf gobjectIntrospection wayland
|
||||
mesa_noglu libXrandr libXfixes libXcomposite libXdamage
|
||||
libGL libXrandr libXfixes libXcomposite libXdamage
|
||||
]
|
||||
++ libintlOrEmpty
|
||||
++ stdenv.lib.optionals gstreamerSupport [ gst_all_1.gstreamer
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, mesa }:
|
||||
{ fetchurl, stdenv, libGLU_combined }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "coin3d-${version}";
|
||||
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
./sbhashentry.patch
|
||||
];
|
||||
|
||||
buildInputs = [ mesa ];
|
||||
buildInputs = [ libGLU_combined ];
|
||||
|
||||
meta = {
|
||||
homepage = http://www.coin3d.org/;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, utilmacros, python
|
||||
, mesa, libX11
|
||||
, libGLU_combined, libX11
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig utilmacros python ];
|
||||
buildInputs = [ mesa libX11 ];
|
||||
buildInputs = [ libGLU_combined libX11 ];
|
||||
|
||||
preConfigure = stdenv.lib.optional stdenv.isDarwin ''
|
||||
substituteInPlace configure --replace build_glx=no build_glx=yes
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, SDL, mesa, rebar, erlang}:
|
||||
{stdenv, fetchurl, SDL, libGLU_combined, rebar, erlang}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "esdl-1.3.1";
|
||||
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ erlang rebar ];
|
||||
propagatedBuildInputs = [ SDL mesa ];
|
||||
propagatedBuildInputs = [ SDL libGLU_combined ];
|
||||
|
||||
buildPhase = ''
|
||||
rebar compile
|
||||
|
||||
@@ -102,7 +102,7 @@
|
||||
#, opencl ? null # OpenCL code
|
||||
, opencore-amr ? null # AMR-NB de/encoder & AMR-WB decoder
|
||||
#, opencv ? null # Video filtering
|
||||
, openglExtlib ? false, mesa ? null # OpenGL rendering
|
||||
, openglExtlib ? false, libGLU_combined ? null # OpenGL rendering
|
||||
#, openh264 ? null # H.264/AVC encoder
|
||||
, openjpeg_1 ? null # JPEG 2000 de/encoder
|
||||
, opensslExtlib ? false, openssl ? null
|
||||
@@ -225,7 +225,7 @@ assert gnutls != null -> !opensslExtlib;
|
||||
assert libxcbshmExtlib -> libxcb != null;
|
||||
assert libxcbxfixesExtlib -> libxcb != null;
|
||||
assert libxcbshapeExtlib -> libxcb != null;
|
||||
assert openglExtlib -> mesa != null;
|
||||
assert openglExtlib -> libGLU_combined != null;
|
||||
assert opensslExtlib -> gnutls == null && openssl != null && nonfreeLicensing;
|
||||
assert nvenc -> nvidia-video-sdk != null && nonfreeLicensing;
|
||||
|
||||
@@ -406,7 +406,7 @@ stdenv.mkDerivation rec {
|
||||
libogg libopus libssh libtheora libvdpau libvorbis libvpx libwebp libX11
|
||||
libxcb libXv lzma openal openjpeg_1 libpulseaudio rtmpdump opencore-amr
|
||||
samba SDL2 soxr speex vid-stab wavpack x264 x265 xavs xvidcore zeromq4 zlib
|
||||
] ++ optional openglExtlib mesa
|
||||
] ++ optional openglExtlib libGLU_combined
|
||||
++ optionals nonfreeLicensing [ fdk_aac openssl ]
|
||||
++ optional ((isLinux || isFreeBSD) && libva != null) libva
|
||||
++ optionals isLinux [ alsaLib libraw1394 libv4l ]
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
, libtheora, libva, libvorbis, libvpx, lzma, libpulseaudio, soxr
|
||||
, x264, x265, xvidcore, zlib, libopus
|
||||
, hostPlatform
|
||||
, openglSupport ? false, mesa ? null
|
||||
, openglSupport ? false, libGLU_combined ? null
|
||||
# Build options
|
||||
, runtimeCpuDetectBuild ? true # Detect CPU capabilities at runtime
|
||||
, multithreadBuild ? true # Multithreading via pthreads/win32 threads
|
||||
@@ -60,7 +60,7 @@ let
|
||||
vaapiSupport = reqMin "0.6" && ((isLinux || isFreeBSD) && !isArm);
|
||||
in
|
||||
|
||||
assert openglSupport -> mesa != null;
|
||||
assert openglSupport -> libGLU_combined != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
@@ -152,7 +152,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [
|
||||
bzip2 fontconfig freetype gnutls libiconv lame libass libogg libtheora
|
||||
libvdpau libvorbis lzma soxr x264 x265 xvidcore zlib libopus
|
||||
] ++ optional openglSupport mesa
|
||||
] ++ optional openglSupport libGLU_combined
|
||||
++ optionals (!isDarwin && !isArm) [ libvpx libpulseaudio ] # Need to be fixed on Darwin and ARM
|
||||
++ optional ((isLinux || isFreeBSD) && !isArm) libva
|
||||
++ optional isLinux alsaLib
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, composableDerivation, fetchurl, pkgconfig, xlibsWrapper, inputproto, libXi
|
||||
, freeglut, mesa, libjpeg, zlib, libXinerama, libXft, libpng
|
||||
, freeglut, libGLU_combined, libjpeg, zlib, libXinerama, libXft, libpng
|
||||
, cfg ? {}
|
||||
, darwin, libtiff, freetype
|
||||
}:
|
||||
@@ -29,7 +29,7 @@ composableDerivation.composableDerivation {} {
|
||||
# this could be tidied up (?).. eg why does it require freeglut without glSupport?
|
||||
edf { name = "cygwin"; } # use the CygWin libraries default=no
|
||||
// edf { name = "debug"; } # turn on debugging default=no
|
||||
// edf { name = "gl"; enable = { buildInputs = [ mesa ]; }; } # turn on OpenGL support default=yes
|
||||
// edf { name = "gl"; enable = { buildInputs = [ libGLU_combined ]; }; } # turn on OpenGL support default=yes
|
||||
// edf { name = "shared"; } # turn on shared libraries default=no
|
||||
// edf { name = "threads"; } # enable multi-threading support
|
||||
// edf { name = "quartz"; enable = { buildInputs = "quartz"; }; } # don't konw yet what quartz is # use Quartz instead of Quickdraw (default=no)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, xlibsWrapper, libpng, libjpeg, libtiff, zlib, bzip2, libXcursor
|
||||
, libXrandr, mesa, libXft, libXfixes, xinput
|
||||
, libXrandr, libGLU_combined, libXft, libXfixes, xinput
|
||||
, CoreServices }:
|
||||
|
||||
let
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [
|
||||
xlibsWrapper libpng libjpeg libtiff zlib bzip2 libXcursor libXrandr
|
||||
libXft mesa libXfixes xinput
|
||||
libXft libGLU_combined libXfixes xinput
|
||||
] ++ stdenv.lib.optional stdenv.isDarwin CoreServices;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, libXi, libXrandr, libXxf86vm, mesa_noglu, mesa_glu, xlibsWrapper, cmake }:
|
||||
{ stdenv, fetchurl, libXi, libXrandr, libXxf86vm, libGL, libGLU, xlibsWrapper, cmake }:
|
||||
|
||||
let version = "3.0.0";
|
||||
in stdenv.mkDerivation {
|
||||
@@ -11,12 +11,12 @@ in stdenv.mkDerivation {
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
buildInputs = [ libXi libXrandr libXxf86vm mesa_noglu mesa_glu xlibsWrapper cmake ];
|
||||
buildInputs = [ libXi libXrandr libXxf86vm libGL libGLU xlibsWrapper cmake ];
|
||||
|
||||
cmakeFlags = stdenv.lib.optionals stdenv.isDarwin [
|
||||
"-DOPENGL_INCLUDE_DIR=${mesa_noglu}/include"
|
||||
"-DOPENGL_gl_LIBRARY:FILEPATH=${mesa_noglu}/lib/libGL.dylib"
|
||||
"-DOPENGL_glu_LIBRARY:FILEPATH=${mesa_glu}/lib/libGLU.dylib"
|
||||
"-DOPENGL_INCLUDE_DIR=${libGL}/include"
|
||||
"-DOPENGL_gl_LIBRARY:FILEPATH=${libGL}/lib/libGL.dylib"
|
||||
"-DOPENGL_glu_LIBRARY:FILEPATH=${libGLU}/lib/libGLU.dylib"
|
||||
"-DFREEGLUT_BUILD_DEMOS:BOOL=OFF"
|
||||
"-DFREEGLUT_BUILD_STATIC:BOOL=OFF"
|
||||
];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, libusb, pkgconfig, freeglut, mesa, libXi, libXmu }:
|
||||
{ stdenv, fetchFromGitHub, cmake, libusb, pkgconfig, freeglut, libGLU_combined, libXi, libXmu }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "freenect-${version}";
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0qmbagfkxjgbwd2ajn7i5lkic9gx5y02bsnmqm7cjay99zfw9ifx";
|
||||
};
|
||||
|
||||
buildInputs = [ libusb freeglut mesa libXi libXmu ];
|
||||
buildInputs = [ libusb freeglut libGLU_combined libXi libXmu ];
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, freetype, mesa}:
|
||||
{stdenv, fetchurl, freetype, libGLU_combined}:
|
||||
|
||||
let
|
||||
name = "ftgl-2.1.3-rc5";
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation {
|
||||
sha256 = "0nsn4s6vnv5xcgxcw6q031amvh2zfj2smy1r5mbnjj2548hxcn2l";
|
||||
};
|
||||
|
||||
buildInputs = [ freetype mesa ];
|
||||
buildInputs = [ freetype libGLU_combined ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{stdenv, fetchurl, mesa, freeglut, libX11, libXt, libXmu, libXi, libXext}:
|
||||
{stdenv, fetchurl, libGLU_combined, freeglut, libX11, libXt, libXmu, libXi, libXext}:
|
||||
stdenv.mkDerivation {
|
||||
name = "gle-3.1.0";
|
||||
buildInputs = [mesa freeglut libX11 libXt libXmu libXi libXext];
|
||||
buildInputs = [libGLU_combined freeglut libX11 libXt libXmu libXi libXext];
|
||||
src = fetchurl {
|
||||
urls = [
|
||||
"mirror://sourceforge/project/gle/gle/gle-3.1.0/gle-3.1.0.tar.gz"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, mesa_glu, x11, libXmu, libXi
|
||||
{ stdenv, fetchurl, libGLU, x11, libXmu, libXi
|
||||
, buildPlatform, hostPlatform
|
||||
, AGL ? null
|
||||
}:
|
||||
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ x11 libXmu libXi ] ++ optionals stdenv.isDarwin [ AGL ];
|
||||
propagatedBuildInputs = [ mesa_glu ]; # GL/glew.h includes GL/glu.h
|
||||
propagatedBuildInputs = [ libGLU ]; # GL/glew.h includes GL/glu.h
|
||||
|
||||
patchPhase = ''
|
||||
sed -i 's|lib64|lib|' config/Makefile.linux
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, mesa_glu, xlibsWrapper, libXmu, libXi
|
||||
{ stdenv, fetchurl, libGLU, xlibsWrapper, libXmu, libXi
|
||||
, buildPlatform, hostPlatform
|
||||
}:
|
||||
|
||||
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
outputs = [ "bin" "out" "dev" "doc" ];
|
||||
|
||||
buildInputs = [ xlibsWrapper libXmu libXi ];
|
||||
propagatedBuildInputs = [ mesa_glu ]; # GL/glew.h includes GL/glu.h
|
||||
propagatedBuildInputs = [ libGLU ]; # GL/glew.h includes GL/glu.h
|
||||
|
||||
patchPhase = ''
|
||||
sed -i 's|lib64|lib|' config/Makefile.linux
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, mesa_glu, mesa_noglu, libX11, libXext }:
|
||||
{ stdenv, fetchurl, libGLU, libGL, libX11, libXext }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "glfw-2.7.9";
|
||||
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "17c2msdcb7pn3p8f83805h1c216bmdqnbn9hgzr1j8wnwjcpxx6i";
|
||||
};
|
||||
|
||||
buildInputs = [ mesa_glu mesa_noglu libX11 libXext ];
|
||||
buildInputs = [ libGLU libGL libX11 libXext ];
|
||||
|
||||
buildPhase = ''
|
||||
make x11
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, lib, fetchFromGitHub, cmake, mesa_noglu, libXrandr, libXinerama, libXcursor, libX11
|
||||
{ stdenv, lib, fetchFromGitHub, cmake, libGL, libXrandr, libXinerama, libXcursor, libX11
|
||||
, darwin, fixDarwinDylibNames
|
||||
}:
|
||||
|
||||
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
propagatedBuildInputs = [ mesa_noglu ];
|
||||
propagatedBuildInputs = [ libGL ];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{stdenv, fetchurl, freeglut, mesa, libXmu, libXext, libX11, libXi}:
|
||||
{stdenv, fetchurl, freeglut, libGLU_combined, libXmu, libXext, libX11, libXi}:
|
||||
stdenv.mkDerivation {
|
||||
name = "glui-2.35";
|
||||
buildInputs = [freeglut mesa libXmu libXext libX11 libXi];
|
||||
buildInputs = [freeglut libGLU_combined libXmu libXext libX11 libXi];
|
||||
preConfigure = ''cd src'';
|
||||
installPhase = ''
|
||||
mkdir -p "$out"/{bin,lib,share/glui/doc,include}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
, openjpeg, libopus, librsvg
|
||||
, wildmidi, fluidsynth, libvdpau, wayland
|
||||
, libwebp, xvidcore, gnutls, mjpegtools
|
||||
, mesa, libintlOrEmpty, libgme
|
||||
, libGLU_combined, libintlOrEmpty, libgme
|
||||
, openssl, x265, libxml2
|
||||
}:
|
||||
|
||||
@@ -61,7 +61,7 @@ stdenv.mkDerivation rec {
|
||||
libmodplug mpeg2dec mpg123
|
||||
openjpeg libopus librsvg
|
||||
fluidsynth libvdpau
|
||||
libwebp xvidcore gnutls mesa
|
||||
libwebp xvidcore gnutls libGLU_combined
|
||||
libgme openssl x265 libxml2
|
||||
]
|
||||
++ libintlOrEmpty
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gst-plugins-base, bzip2, libva, wayland
|
||||
, libdrm, udev, xorg, mesa, yasm, gstreamer, gst-plugins-bad, nasm
|
||||
, libdrm, udev, xorg, libGLU_combined, yasm, gstreamer, gst-plugins-bad, nasm
|
||||
, libvpx, python
|
||||
}:
|
||||
|
||||
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [
|
||||
gstreamer gst-plugins-base gst-plugins-bad libva wayland libdrm udev
|
||||
xorg.libX11 xorg.libXext xorg.libXv xorg.libXrandr xorg.libSM
|
||||
xorg.libICE mesa nasm libvpx python
|
||||
xorg.libICE libGLU_combined nasm libvpx python
|
||||
];
|
||||
|
||||
preConfigure = "
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchzip, mesa, unzip, libXrandr, libX11, libXxf86vm }:
|
||||
{ stdenv, fetchzip, libGLU_combined, unzip, libXrandr, libX11, libXxf86vm }:
|
||||
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||
mkdir -p $out/lib
|
||||
'';
|
||||
|
||||
buildInputs = [ unzip mesa libXrandr libX11 libXxf86vm ];
|
||||
buildInputs = [ unzip libGLU_combined libXrandr libX11 libXxf86vm ];
|
||||
|
||||
meta = {
|
||||
homepage = http://irrlicht.sourceforge.net/;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, lib, fetchurl, unzip, jdk, pkgconfig, gtk2
|
||||
, libXt, libXtst, libXi, mesa, webkit, libsoup, xorg
|
||||
, libXt, libXtst, libXi, libGLU_combined, webkit, libsoup, xorg
|
||||
, pango, gdk_pixbuf, glib
|
||||
}:
|
||||
|
||||
@@ -36,7 +36,7 @@ in stdenv.mkDerivation rec {
|
||||
sourceRoot = ".";
|
||||
|
||||
nativeBuildInputs = [ unzip pkgconfig ];
|
||||
buildInputs = [ jdk gtk2 libXt libXtst libXi mesa webkit libsoup ];
|
||||
buildInputs = [ jdk gtk2 libXt libXtst libXi libGLU_combined webkit libsoup ];
|
||||
|
||||
NIX_LFLAGS = (map (x: "-L${lib.getLib x}/lib") [ xorg.libX11 pango gdk_pixbuf glib ]) ++
|
||||
[ "-lX11" "-lpango-1.0" "-lgdk_pixbuf-2.0" "-lglib-2.0" ];
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, pkgconfig, libtool, perl, bsdbuild, gettext, mandoc
|
||||
, libpng, libjpeg, xlibsWrapper, libXinerama, freetype, SDL, mesa
|
||||
, libpng, libjpeg, xlibsWrapper, libXinerama, freetype, SDL, libGLU_combined
|
||||
, libsndfile, portaudio, mysql, fontconfig
|
||||
}:
|
||||
|
||||
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
"--enable-nls=yes"
|
||||
"--with-gettext=${gettext}"
|
||||
"--with-jpeg=${libjpeg.dev}"
|
||||
"--with-gl=${mesa}"
|
||||
"--with-gl=${libGLU_combined}"
|
||||
"--with-mysql=${mysql.connector-c}"
|
||||
"--with-manpages=yes"
|
||||
];
|
||||
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ pkgconfig libtool gettext ];
|
||||
|
||||
buildInputs = [
|
||||
bsdbuild perl xlibsWrapper libXinerama SDL mesa mysql.connector-c mandoc
|
||||
bsdbuild perl xlibsWrapper libXinerama SDL libGLU_combined mysql.connector-c mandoc
|
||||
freetype.dev libpng libjpeg.dev fontconfig portaudio libsndfile
|
||||
];
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, libjpeg, libpng, libmng, lcms1, libtiff, openexr, mesa_noglu
|
||||
{ stdenv, fetchurl, libjpeg, libpng, libmng, lcms1, libtiff, openexr, libGL
|
||||
, libX11, pkgconfig, OpenGL
|
||||
}:
|
||||
|
||||
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
buildInputs = [ libjpeg libpng libmng lcms1 libtiff openexr mesa_noglu libX11 ]
|
||||
buildInputs = [ libjpeg libpng libmng lcms1 libtiff openexr libGL libX11 ]
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ OpenGL ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchFromGitHub, autoreconfHook, python2, pkgconfig, mesa_noglu, libX11, libXext, glproto }:
|
||||
{stdenv, fetchFromGitHub, autoreconfHook, python2, pkgconfig, libGL_driver, libX11, libXext, glproto }:
|
||||
|
||||
# Git version is needed for EGL and GLES handling.
|
||||
|
||||
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
NIX_CFLAGS_COMPILE = [
|
||||
"-UDEFAULT_EGL_VENDOR_CONFIG_DIRS"
|
||||
"-DDEFAULT_EGL_VENDOR_CONFIG_DIRS=\"${mesa_noglu.driverLink}/share/glvnd/egl_vendor.d\""
|
||||
"-DDEFAULT_EGL_VENDOR_CONFIG_DIRS=\"${libGL_driver.driverLink}/share/glvnd/egl_vendor.d\""
|
||||
];
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ mkDerivation, lib, fetchFromGitHub, extra-cmake-modules
|
||||
, qtbase, qtmultimedia, qtquick1, qttools
|
||||
, mesa, libX11
|
||||
, libGLU_combined, libX11
|
||||
, libass, openal, ffmpeg, libuchardet
|
||||
, alsaLib, libpulseaudio, libva
|
||||
}:
|
||||
@@ -14,7 +14,7 @@ mkDerivation rec {
|
||||
nativeBuildInputs = [ extra-cmake-modules qttools ];
|
||||
buildInputs = [
|
||||
qtbase qtmultimedia qtquick1
|
||||
mesa libX11
|
||||
libGLU_combined libX11
|
||||
libass openal ffmpeg libuchardet
|
||||
alsaLib libpulseaudio libva
|
||||
];
|
||||
@@ -28,9 +28,9 @@ mkDerivation rec {
|
||||
};
|
||||
|
||||
# Make sure libqtav finds its libGL dependancy at both link and run time
|
||||
# by adding mesa to rpath. Not sure why it wasn't done automatically like
|
||||
# the other libraries as `mesa` is part of our `buildInputs`.
|
||||
NIX_CFLAGS_LINK = [ "-Wl,-rpath,${mesa}/lib"];
|
||||
# by adding libGLU_combined to rpath. Not sure why it wasn't done automatically like
|
||||
# the other libraries as `libGLU_combined` is part of our `buildInputs`.
|
||||
NIX_CFLAGS_LINK = [ "-Wl,-rpath,${libGLU_combined}/lib"];
|
||||
|
||||
preFixup = ''
|
||||
mkdir -p "$out/bin"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromBitbucket, cmake, SDL, mesa, upx, zlib }:
|
||||
{ stdenv, fetchFromBitbucket, cmake, SDL, libGLU_combined, upx, zlib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
cmakeFlags="-DLIBTCOD_SAMPLES=OFF";
|
||||
|
||||
buildInputs = [ cmake SDL mesa upx zlib ];
|
||||
buildInputs = [ cmake SDL libGLU_combined upx zlib ];
|
||||
|
||||
meta = {
|
||||
description = "API for roguelike games";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, autoreconfHook, mesa }:
|
||||
{ stdenv, fetchurl, autoreconfHook, libGLU_combined }:
|
||||
|
||||
let version = "1.0.1"; in
|
||||
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = [ mesa ];
|
||||
buildInputs = [ libGLU_combined ];
|
||||
|
||||
meta = {
|
||||
homepage = http://dri.freedesktop.org/wiki/S3TC;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, autoreconfHook, mesa }:
|
||||
{ stdenv, fetchurl, autoreconfHook, libGLU_combined }:
|
||||
|
||||
let version = "1.0"; in
|
||||
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = [ mesa ];
|
||||
buildInputs = [ libGLU_combined ];
|
||||
|
||||
meta = {
|
||||
description = "A patent-free S3TC compatible implementation";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ stdenv, lib, fetchFromGitHub, autoreconfHook, pkgconfig
|
||||
, libXext, libdrm, libXfixes, wayland, libffi, libX11
|
||||
, mesa_noglu
|
||||
, libGL
|
||||
, minimal ? true, libva
|
||||
}:
|
||||
|
||||
@@ -20,13 +20,13 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
|
||||
buildInputs = [ libdrm ]
|
||||
++ lib.optionals (!minimal) [ libva libX11 libXext libXfixes wayland libffi mesa_noglu ];
|
||||
++ lib.optionals (!minimal) [ libva libX11 libXext libXfixes wayland libffi libGL ];
|
||||
# TODO: share libs between minimal and !minimal - perhaps just symlink them
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
configureFlags = [
|
||||
"--with-drivers-path=${mesa_noglu.driverLink}/lib/dri"
|
||||
"--with-drivers-path=${libGL.driverLink}/lib/dri"
|
||||
] ++ lib.optionals (!minimal) [ "--enable-glx" ];
|
||||
|
||||
installFlags = [
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, pkgconfig, libX11, libpthreadstubs, libXau, libXdmcp
|
||||
, libXext, libvdpau, glib, libva, ffmpeg, mesa_glu }:
|
||||
, libXext, libvdpau, glib, libva, ffmpeg, libGLU }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libvdpau-va-gl-${version}";
|
||||
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
buildInputs = [ libX11 libpthreadstubs libXau libXdmcp libXext libvdpau glib libva ffmpeg mesa_glu ];
|
||||
buildInputs = [ libX11 libpthreadstubs libXau libXdmcp libXext libvdpau glib libva ffmpeg libGLU ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/i-rinat/libvdpau-va-gl;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, xorg, mesa_noglu }:
|
||||
{ stdenv, fetchurl, pkgconfig, xorg, libGL }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libvdpau-1.1.1";
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
propagatedBuildInputs = [ xorg.libX11 ];
|
||||
|
||||
configureFlags = stdenv.lib.optional stdenv.isLinux
|
||||
"--with-module-dir=${mesa_noglu.driverLink}/lib/vdpau";
|
||||
"--with-module-dir=${libGL.driverLink}/lib/vdpau";
|
||||
|
||||
installFlags = [ "moduledir=$(out)/lib/vdpau" ];
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchurl
|
||||
, threadingSupport ? true # multi-threading
|
||||
, openglSupport ? false, freeglut ? null, mesa ? null # OpenGL (required for vwebp)
|
||||
, openglSupport ? false, freeglut ? null, libGLU_combined ? null # OpenGL (required for vwebp)
|
||||
, pngSupport ? true, libpng ? null # PNG image format
|
||||
, jpegSupport ? true, libjpeg ? null # JPEG image format
|
||||
, tiffSupport ? true, libtiff ? null # TIFF image format
|
||||
@@ -14,7 +14,7 @@
|
||||
, libwebpdecoderSupport ? true # Build libwebpdecoder
|
||||
}:
|
||||
|
||||
assert openglSupport -> ((freeglut != null) && (mesa != null));
|
||||
assert openglSupport -> ((freeglut != null) && (libGLU_combined != null));
|
||||
assert pngSupport -> (libpng != null);
|
||||
assert jpegSupport -> (libjpeg != null);
|
||||
assert tiffSupport -> (libtiff != null);
|
||||
@@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
buildInputs = [ ]
|
||||
++ optionals openglSupport [ freeglut mesa ]
|
||||
++ optionals openglSupport [ freeglut libGLU_combined ]
|
||||
++ optional pngSupport libpng
|
||||
++ optional jpegSupport libjpeg
|
||||
++ optional tiffSupport libtiff
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, requireFile, cmake, mesa, libX11, libXi }:
|
||||
{ stdenv, requireFile, cmake, libGLU_combined, libX11, libXi }:
|
||||
|
||||
let
|
||||
sourceInfo = rec {
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
inherit (sourceInfo) name version;
|
||||
buildInputs = [ cmake mesa libX11 libXi ];
|
||||
buildInputs = [ cmake libGLU_combined libX11 libXi ];
|
||||
|
||||
sourceRoot = "liquidfun/Box2D/";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, pkgconfig, intltool, alsaLib, libpulseaudio, speex, gsm
|
||||
, libopus, ffmpeg, libX11, libXv, mesa, glew, libtheora, libvpx, SDL, libupnp
|
||||
, libopus, ffmpeg, libX11, libXv, libGLU_combined, glew, libtheora, libvpx, SDL, libupnp
|
||||
, ortp, libv4l, libpcap, srtp, fetchFromGitHub, cmake, bctoolbox, doxygen
|
||||
, python, libXext, libmatroska, openssl, fetchpatch
|
||||
}:
|
||||
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
propagatedBuildInputs = [
|
||||
alsaLib libpulseaudio speex gsm libopus
|
||||
ffmpeg libX11 libXv mesa glew libtheora libvpx SDL libupnp
|
||||
ffmpeg libX11 libXv libGLU_combined glew libtheora libvpx SDL libupnp
|
||||
ortp libv4l libpcap srtp bctoolbox libXext libmatroska
|
||||
openssl
|
||||
];
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
}:
|
||||
|
||||
/** Packaging design:
|
||||
- The basic mesa ($out) contains headers and libraries (GLU is in mesa_glu now).
|
||||
- The basic mesa ($out) contains headers and libraries (GLU is in libGLU now).
|
||||
This or the mesa attribute (which also contains GLU) are small (~ 2 MB, mostly headers)
|
||||
and are designed to be the buildInput of other packages.
|
||||
- DRI drivers are compiled into $drivers output, which is much bigger and
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchFromGitHub, libX11, unzip, cmake, ois, freetype, libuuid,
|
||||
boost, pkgconfig, withOgre ? false, ogre ? null, mesa ? null } :
|
||||
boost, pkgconfig, withOgre ? false, ogre ? null, libGLU_combined ? null } :
|
||||
|
||||
let
|
||||
renderSystem = if withOgre then "3" else "4";
|
||||
@@ -17,7 +17,7 @@ in stdenv.mkDerivation rec {
|
||||
enableParallelBuilding = true;
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ libX11 unzip cmake ois freetype libuuid boost (if withOgre then ogre else mesa) ];
|
||||
buildInputs = [ libX11 unzip cmake ois freetype libuuid boost (if withOgre then ogre else libGLU_combined) ];
|
||||
|
||||
# Tools are disabled due to compilation failures.
|
||||
cmakeFlags = [ "-DMYGUI_BUILD_TOOLS=OFF" "-DMYGUI_BUILD_DEMOS=OFF" "-DMYGUI_RENDERSYSTEM=${renderSystem}" ];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, ruby, opencl-headers, mesa_noglu }:
|
||||
{stdenv, fetchurl, ruby, opencl-headers, libGL }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ocl-icd-${version}";
|
||||
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ opencl-headers ];
|
||||
|
||||
postPatch = ''
|
||||
sed -i 's,"/etc/OpenCL/vendors","${mesa_noglu.driverLink}/etc/OpenCL/vendors",g' ocl_icd_loader.c
|
||||
sed -i 's,"/etc/OpenCL/vendors","${libGL.driverLink}/etc/OpenCL/vendors",g' ocl_icd_loader.c
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ fetchFromGitHub, stdenv, lib
|
||||
, cmake, mesa
|
||||
, cmake, libGLU_combined
|
||||
, freetype, freeimage, zziplib, randrproto, libXrandr
|
||||
, libXaw, freeglut, libXt, libpng, boost, ois
|
||||
, xproto, libX11, libXmu, libSM, pkgconfig
|
||||
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs =
|
||||
[ cmake mesa
|
||||
[ cmake libGLU_combined
|
||||
freetype freeimage zziplib randrproto libXrandr
|
||||
libXaw freeglut libXt libpng boost ois
|
||||
xproto libX11 libXmu libSM pkgconfig
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ fetchurl, stdenv, lib
|
||||
, cmake, mesa
|
||||
, cmake, libGLU_combined
|
||||
, freetype, freeimage, zziplib, randrproto, libXrandr
|
||||
, libXaw, freeglut, libXt, libpng, boost, ois
|
||||
, xproto, libX11, libXmu, libSM, pkgconfig
|
||||
@@ -24,7 +24,7 @@ stdenv.mkDerivation {
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs =
|
||||
[ cmake mesa
|
||||
[ cmake libGLU_combined
|
||||
freetype freeimage zziplib randrproto libXrandr
|
||||
libXaw freeglut libXt libpng boost ois
|
||||
xproto libX11 libXmu libSM pkgconfig
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, mesa, tcl, tk, file, libXmu, cmake, libtool, qt4,
|
||||
{stdenv, fetchurl, libGLU_combined, tcl, tk, file, libXmu, cmake, libtool, qt4,
|
||||
ftgl, freetype}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0vpmnb0k5y2f7lpmwx9pg9yfq24zjvnsak5alzacncfm1hv9b6cd";
|
||||
};
|
||||
|
||||
buildInputs = [ mesa tcl tk file libXmu libtool qt4 ftgl freetype cmake ];
|
||||
buildInputs = [ libGLU_combined tcl tk file libXmu libtool qt4 ftgl freetype cmake ];
|
||||
|
||||
# Fix for glibc 2.26
|
||||
postPatch = ''
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, mesa, freeglut, glew, libXmu, libXext, libX11
|
||||
{stdenv, fetchurl, libGLU_combined, freeglut, glew, libXmu, libXext, libX11
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1ysazynm759gnw1rdhn9xw9nixnzrlzrc462340a6iif79fyqlnr";
|
||||
};
|
||||
|
||||
buildInputs = [mesa freeglut glew libXmu libXext libX11];
|
||||
buildInputs = [libGLU_combined freeglut glew libXmu libXext libX11];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, unzip, re2, openfx, zlib, ilmbase, mesa, openexr }:
|
||||
{ stdenv, fetchFromGitHub, unzip, re2, openfx, zlib, ilmbase, libGLU_combined, openexr }:
|
||||
|
||||
stdenv.mkDerivation rec
|
||||
{
|
||||
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec
|
||||
-I${openfx.dev}/include/OpenFX
|
||||
'';
|
||||
|
||||
buildInputs = [ unzip re2 openfx zlib ilmbase mesa openexr ];
|
||||
buildInputs = [ unzip re2 openfx zlib ilmbase libGLU_combined openexr ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ lib, stdenv, fetchurl, fetchFromGitHub, cmake, pkgconfig, xorg, mesa_glu
|
||||
, mesa_noglu, glew, ocl-icd, python3
|
||||
{ lib, stdenv, fetchurl, fetchFromGitHub, cmake, pkgconfig, xorg, libGLU
|
||||
, libGL, glew, ocl-icd, python3
|
||||
, cudaSupport ? false, cudatoolkit
|
||||
}:
|
||||
|
||||
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
buildInputs =
|
||||
[ cmake pkgconfig mesa_glu mesa_noglu ocl-icd python3
|
||||
[ cmake pkgconfig libGLU libGL ocl-icd python3
|
||||
# FIXME: these are not actually needed, but the configure script wants them.
|
||||
glew xorg.libX11 xorg.libXrandr xorg.libXxf86vm xorg.libXcursor
|
||||
xorg.libXinerama xorg.libXi
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, lib, fetchFromGitHub, cmake, pkgconfig, doxygen, mesa_noglu, glew
|
||||
{ stdenv, lib, fetchFromGitHub, cmake, pkgconfig, doxygen, libGL, glew
|
||||
, xorg , ffmpeg, python3 , libjpeg, libpng, libtiff, eigen
|
||||
, Carbon ? null, Cocoa ? null
|
||||
}:
|
||||
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ cmake pkgconfig doxygen ];
|
||||
|
||||
buildInputs = [
|
||||
mesa_noglu
|
||||
libGL
|
||||
glew
|
||||
xorg.libX11
|
||||
ffmpeg
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, unzip, cmake, freeglut, mesa, zlib, swig, python, doxygen, xorg }:
|
||||
{ stdenv, fetchFromGitHub, unzip, cmake, freeglut, libGLU_combined, zlib, swig, python, doxygen, xorg }:
|
||||
|
||||
stdenv.mkDerivation rec
|
||||
{
|
||||
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec
|
||||
outputs = [ "dev" "out" "lib" ];
|
||||
|
||||
nativeBuildInputs = [ unzip cmake doxygen ];
|
||||
buildInputs = [ freeglut mesa zlib swig python xorg.libXi xorg.libXmu ];
|
||||
buildInputs = [ freeglut libGLU_combined zlib swig python xorg.libXi xorg.libXmu ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, lib, fetchurl, cmake, mesa, pkgconfig, libpulseaudio
|
||||
{ stdenv, lib, fetchurl, cmake, libGLU_combined, pkgconfig, libpulseaudio
|
||||
, qt4 ? null, extra-cmake-modules ? null, qtbase ? null, qttools ? null
|
||||
, withQt5 ? false
|
||||
, debug ? false }:
|
||||
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
[ mesa libpulseaudio ]
|
||||
[ libGLU_combined libpulseaudio ]
|
||||
++ (if withQt5 then [ qtbase qttools ] else [ qt4 ]);
|
||||
|
||||
nativeBuildInputs =
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
, motif ? null # motif or lesstif
|
||||
|
||||
# For enableQT, enableXM, enableOpenGLX11, enableRaytracerX11.
|
||||
, mesa ? null
|
||||
, libGLU_combined ? null
|
||||
, xlibsWrapper ? null
|
||||
, libXmu ? null
|
||||
}:
|
||||
@@ -40,7 +40,7 @@ assert enableQT -> qt != null;
|
||||
assert enableXM -> motif != null;
|
||||
|
||||
# OpenGL/X11 User Interface and Visualisation drivers.
|
||||
assert enableQT || enableXM || enableOpenGLX11 || enableRaytracerX11 -> mesa != null;
|
||||
assert enableQT || enableXM || enableOpenGLX11 || enableRaytracerX11 -> libGLU_combined != null;
|
||||
assert enableQT || enableXM || enableOpenGLX11 || enableRaytracerX11 -> xlibsWrapper != null;
|
||||
assert enableQT || enableXM || enableOpenGLX11 || enableRaytracerX11 -> libXmu != null;
|
||||
|
||||
@@ -81,8 +81,8 @@ let
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
buildInputs = [ cmake clhep expat zlib xercesc qt motif mesa xlibsWrapper libXmu ];
|
||||
propagatedBuildInputs = [ g4data clhep expat zlib xercesc qt motif mesa xlibsWrapper libXmu ];
|
||||
buildInputs = [ cmake clhep expat zlib xercesc qt motif libGLU_combined xlibsWrapper libXmu ];
|
||||
propagatedBuildInputs = [ g4data clhep expat zlib xercesc qt motif libGLU_combined xlibsWrapper libXmu ];
|
||||
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ fetchurl, fetchpatch, stdenv, mesa, freeglut, SDL
|
||||
{ fetchurl, fetchpatch, stdenv, libGLU_combined, freeglut, SDL
|
||||
, libXi, libSM, libXmu, libXext, libX11 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
mesa freeglut SDL
|
||||
libGLU_combined freeglut SDL
|
||||
|
||||
# The following libs ought to be propagated build inputs of Mesa.
|
||||
libXi libSM libXmu libXext libX11
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
, cursorSupport ? true, libXcursor ? null
|
||||
, threadSupport ? true
|
||||
, mysqlSupport ? false, mysql ? null
|
||||
, openglSupport ? false, mesa ? null, libXmu ? null
|
||||
, openglSupport ? false, libGLU_combined ? null, libXmu ? null
|
||||
, xlibsWrapper, xextproto, zlib, libjpeg, libpng, which
|
||||
}:
|
||||
|
||||
@@ -15,7 +15,7 @@ assert xrenderSupport -> xftSupport && libXrender != null;
|
||||
assert xrandrSupport -> libXrandr != null && randrproto != null;
|
||||
assert cursorSupport -> libXcursor != null;
|
||||
assert mysqlSupport -> mysql != null;
|
||||
assert openglSupport -> mesa != null && libXmu != null;
|
||||
assert openglSupport -> libGLU_combined != null && libXmu != null;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "qt-3.3.8";
|
||||
@@ -40,7 +40,7 @@ stdenv.mkDerivation {
|
||||
-qt-gif
|
||||
-I${xextproto}/include
|
||||
${if openglSupport then "-dlopen-opengl
|
||||
-L${mesa}/lib -I${mesa}/include
|
||||
-L${libGLU_combined}/lib -I${libGLU_combined}/include
|
||||
-L${libXmu.out}/lib -I${libXmu.dev}/include" else ""}
|
||||
${if threadSupport then "-thread" else "-no-thread"}
|
||||
${if xrenderSupport then "-xrender -L${libXrender.out}/lib -I${libXrender.dev}/include" else "-no-xrender"}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
, hostPlatform
|
||||
, libXrender, libXinerama, libXcursor, libXmu, libXv, libXext
|
||||
, libXfixes, libXrandr, libSM, freetype, fontconfig, zlib, libjpeg, libpng
|
||||
, libmng, which, mesaSupported, mesa, mesa_glu, openssl, dbus, cups, pkgconfig
|
||||
, libmng, which, libGLSupported, libGL, libGLU, openssl, dbus, cups, pkgconfig
|
||||
, libtiff, glib, icu, mysql, postgresql, sqlite, perl, coreutils, libXi
|
||||
, buildMultimedia ? stdenv.isLinux, alsaLib, gstreamer, gst-plugins-base
|
||||
, buildWebkit ? (stdenv.isLinux || stdenv.isDarwin)
|
||||
@@ -76,7 +76,7 @@ stdenv.mkDerivation rec {
|
||||
icu = icu.out;
|
||||
libXfixes = libXfixes.out;
|
||||
glibc = stdenv.cc.libc.out;
|
||||
openglDriver = if mesaSupported then mesa.driverLink else "/no-such-path";
|
||||
openglDriver = if libGLSupported then libGL.driverLink else "/no-such-path";
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "fix-medium-font.patch";
|
||||
@@ -159,7 +159,7 @@ stdenv.mkDerivation rec {
|
||||
[ libXrender libXrandr libXinerama libXcursor libXext libXfixes libXv libXi
|
||||
libSM zlib libpng openssl dbus freetype fontconfig glib ]
|
||||
# Qt doesn't directly need GLU (just GL), but many apps use, it's small and doesn't remain a runtime-dep if not used
|
||||
++ optional mesaSupported mesa_glu
|
||||
++ optional libGLSupported libGLU
|
||||
++ optional ((buildWebkit || buildMultimedia) && stdenv.isLinux ) alsaLib
|
||||
++ optionals (buildWebkit || buildMultimedia) [ gstreamer gst-plugins-base ];
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ top-level attribute to `top-level/all-packages.nix`.
|
||||
{
|
||||
newScope,
|
||||
stdenv, fetchurl, makeSetupHook, makeWrapper,
|
||||
bison, cups ? null, harfbuzz, mesa, perl,
|
||||
bison, cups ? null, harfbuzz, libGL, perl,
|
||||
gstreamer, gst-plugins-base, gtk3, dconf,
|
||||
|
||||
# options
|
||||
@@ -66,7 +66,7 @@ let
|
||||
qtbase = callPackage ../modules/qtbase.nix {
|
||||
inherit (srcs.qtbase) src version;
|
||||
patches = patches.qtbase;
|
||||
inherit bison cups harfbuzz mesa;
|
||||
inherit bison cups harfbuzz libGL;
|
||||
withGtk3 = true; inherit dconf gtk3;
|
||||
inherit developerBuild decryptSslTraffic;
|
||||
};
|
||||
|
||||
@@ -27,7 +27,7 @@ existing packages here and modify it as necessary.
|
||||
{
|
||||
newScope,
|
||||
stdenv, fetchurl, makeSetupHook, makeWrapper,
|
||||
bison, cups ? null, harfbuzz, mesa, perl,
|
||||
bison, cups ? null, harfbuzz, libGL, perl,
|
||||
gstreamer, gst-plugins-base,
|
||||
|
||||
# options
|
||||
@@ -74,7 +74,7 @@ let
|
||||
inherit mkDerivation;
|
||||
|
||||
qtbase = callPackage ../modules/qtbase.nix {
|
||||
inherit bison cups harfbuzz mesa;
|
||||
inherit bison cups harfbuzz libGL;
|
||||
inherit (srcs.qtbase) src version;
|
||||
patches = patches.qtbase;
|
||||
inherit developerBuild decryptSslTraffic;
|
||||
|
||||
@@ -18,7 +18,7 @@ top-level attribute to `top-level/all-packages.nix`.
|
||||
{
|
||||
newScope,
|
||||
stdenv, fetchurl, makeSetupHook, makeWrapper,
|
||||
bison, cups ? null, harfbuzz, mesa, perl,
|
||||
bison, cups ? null, harfbuzz, libGL, perl,
|
||||
gstreamer, gst-plugins-base, gtk3, dconf,
|
||||
|
||||
# options
|
||||
@@ -66,7 +66,7 @@ let
|
||||
qtbase = callPackage ../modules/qtbase.nix {
|
||||
inherit (srcs.qtbase) src version;
|
||||
patches = patches.qtbase;
|
||||
inherit bison cups harfbuzz mesa;
|
||||
inherit bison cups harfbuzz libGL;
|
||||
withGtk3 = true; inherit dconf gtk3;
|
||||
inherit developerBuild decryptSslTraffic;
|
||||
};
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
withGtk3 ? false, dconf ? null, gtk3 ? null,
|
||||
|
||||
# options
|
||||
mesaSupported ? (!stdenv.isDarwin),
|
||||
mesa,
|
||||
libGLSupported ? (!stdenv.isDarwin),
|
||||
libGL,
|
||||
buildExamples ? false,
|
||||
buildTests ? false,
|
||||
developerBuild ? false,
|
||||
@@ -69,7 +69,7 @@ stdenv.mkDerivation {
|
||||
libX11 libXcomposite libXext libXi libXrender libxcb libxkbcommon xcbutil
|
||||
xcbutilimage xcbutilkeysyms xcbutilrenderutil xcbutilwm
|
||||
]
|
||||
++ lib.optional mesaSupported mesa
|
||||
++ lib.optional libGLSupported libGL
|
||||
);
|
||||
|
||||
buildInputs =
|
||||
@@ -142,11 +142,11 @@ stdenv.mkDerivation {
|
||||
# Note on the above: \x27 is a way if including a single-quote
|
||||
# character in the sed string arguments.
|
||||
else
|
||||
lib.optionalString mesaSupported
|
||||
lib.optionalString libGLSupported
|
||||
''
|
||||
sed -i mkspecs/common/linux.conf \
|
||||
-e "/^QMAKE_INCDIR_OPENGL/ s|$|${mesa.dev or mesa}/include|" \
|
||||
-e "/^QMAKE_LIBDIR_OPENGL/ s|$|${mesa.out}/lib|"
|
||||
-e "/^QMAKE_INCDIR_OPENGL/ s|$|${libGL.dev or libGL}/include|" \
|
||||
-e "/^QMAKE_LIBDIR_OPENGL/ s|$|${libGL.out}/lib|"
|
||||
''
|
||||
);
|
||||
|
||||
@@ -208,7 +208,7 @@ stdenv.mkDerivation {
|
||||
# 10.10
|
||||
]
|
||||
else
|
||||
lib.optional mesaSupported ''-DNIXPKGS_MESA_GL="${mesa.out}/lib/libGL"''
|
||||
lib.optional libGLSupported ''-DNIXPKGS_MESA_GL="${libGL.out}/lib/libGL"''
|
||||
++ lib.optionals withGtk3
|
||||
[
|
||||
''-DNIXPKGS_QGTK3_XDG_DATA_DIRS="${gtk3}/share/gsettings-schemas/${gtk3.name}"''
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, mesa, glew, freetype, fontconfig, fribidi, libX11 }:
|
||||
{ stdenv, fetchurl, libGLU_combined, glew, freetype, fontconfig, fribidi, libX11 }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "quesoglc";
|
||||
version = "0.7.2";
|
||||
@@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
|
||||
url = "mirror://sourceforge/${pname}/${name}.tar.bz2";
|
||||
sha256 = "0cf9ljdzii5d4i2m23gdmf3kn521ljcldzq69lsdywjid3pg5zjl";
|
||||
};
|
||||
buildInputs = [ mesa glew freetype fontconfig fribidi libX11 ];
|
||||
buildInputs = [ libGLU_combined glew freetype fontconfig fribidi libX11 ];
|
||||
# FIXME: Configure fails to use system glew.
|
||||
meta = with stdenv.lib; {
|
||||
description = "A free implementation of the OpenGL Character Renderer";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, plib, freeglut, xproto, libX11, libXext, xextproto, libXi
|
||||
, inputproto, libICE, libSM, libXt, libXmu, mesa, boost, zlib, libjpeg, freealut
|
||||
, inputproto, libICE, libSM, libXt, libXmu, libGLU_combined, boost, zlib, libjpeg, freealut
|
||||
, openscenegraph, openal, expat, cmake, apr
|
||||
, curl
|
||||
}:
|
||||
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ plib freeglut xproto libX11 libXext xextproto libXi inputproto
|
||||
libICE libSM libXt libXmu mesa boost zlib libjpeg freealut
|
||||
libICE libSM libXt libXmu libGLU_combined boost zlib libjpeg freealut
|
||||
openscenegraph openal expat cmake apr curl ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchsvn, SDL, autoconf, automake, libtool, gtk2, m4, pkgconfig, mesa, makeWrapper }:
|
||||
{ stdenv, fetchsvn, SDL, autoconf, automake, libtool, gtk2, m4, pkgconfig, libGLU_combined, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "smpeg-svn${version}";
|
||||
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs = [ SDL gtk2 mesa ];
|
||||
buildInputs = [ SDL gtk2 libGLU_combined ];
|
||||
|
||||
nativeBuildInputs = [ autoconf automake libtool m4 pkgconfig makeWrapper ];
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, gnum4, pkgconfig, python2
|
||||
, intel-gpu-tools, libdrm, libva, libX11, mesa_noglu, wayland, libXext
|
||||
, intel-gpu-tools, libdrm, libva, libX11, libGL, wayland, libXext
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook gnum4 pkgconfig python2 ];
|
||||
|
||||
buildInputs = [ intel-gpu-tools libdrm libva libX11 libXext mesa_noglu wayland ];
|
||||
buildInputs = [ intel-gpu-tools libdrm libva libX11 libXext libGL wayland ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, libvdpau, mesa, libva, pkgconfig }:
|
||||
{ stdenv, fetchurl, libvdpau, libGLU_combined, libva, pkgconfig }:
|
||||
let
|
||||
libvdpau08patch = (fetchurl { url = "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-libvdpau-0.8.patch?revision=1.1";
|
||||
name = "libva-vdpau-driver-0.7.4-libvdpau-0.8.patch";
|
||||
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
}) ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ libvdpau mesa libva ];
|
||||
buildInputs = [ libvdpau libGLU_combined libva ];
|
||||
|
||||
preConfigure = ''
|
||||
patch -p0 < ${libvdpau08patch} # use -p0 instead of -p1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, mesa_noglu, epoxy, libX11 }:
|
||||
{ stdenv, fetchurl, pkgconfig, libGLU, epoxy, libX11 }:
|
||||
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "a549e351e0eb2ad1df471386ddcf85f522e7202808d1616ee9ff894209066e1a";
|
||||
};
|
||||
|
||||
buildInputs = [ mesa_noglu epoxy libX11 ];
|
||||
buildInputs = [ libGLU epoxy libX11 ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, unzip, cmake, mesa }:
|
||||
{ stdenv, fetchFromGitHub, unzip, cmake, libGLU_combined }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${date}";
|
||||
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "032q295d68w34rk5q8nfqdd29s55n00bfik84y7xzkjrpspaprlh";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip cmake mesa ];
|
||||
buildInputs = [ unzip cmake libGLU_combined ];
|
||||
|
||||
doCheck = false; # FIXME: test failure
|
||||
checkTarget = "test";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, fetchpatch, cmake, mesa, libX11, xproto, libXt
|
||||
{ stdenv, fetchurl, fetchpatch, cmake, libGLU_combined, libX11, xproto, libXt
|
||||
, qtLib ? null
|
||||
# Darwin support
|
||||
, Cocoa, CoreServices, DiskArbitration, IOKit, CFNetwork, Security, GLUT, OpenGL
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs =
|
||||
if !stdenv.isDarwin
|
||||
then [ cmake mesa libX11 xproto libXt ] ++ optional (qtLib != null) qtLib
|
||||
then [ cmake libGLU_combined libX11 xproto libXt ] ++ optional (qtLib != null) qtLib
|
||||
else [ cmake qtLib xpc CoreServices DiskArbitration IOKit cf-private
|
||||
CFNetwork Security ApplicationServices CoreText IOSurface ImageIO
|
||||
OpenGL GLUT ];
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchgit, fetchFromGitHub, cmake, pkgconfig, git, python3,
|
||||
python3Packages, glslang, spirv-tools, x11, libxcb, libXrandr,
|
||||
libXext, wayland, mesa_noglu, makeWrapper }:
|
||||
libXext, wayland, libGL, makeWrapper }:
|
||||
|
||||
let
|
||||
version = "1.0.61.1";
|
||||
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBUILD_WSI_MIR_SUPPORT=OFF"
|
||||
"-DFALLBACK_DATA_DIRS=${mesa_noglu.driverLink}/share:/usr/local/share:/usr/share"
|
||||
"-DFALLBACK_DATA_DIRS=${libGL.driverLink}/share:/usr/local/share:/usr/share"
|
||||
];
|
||||
|
||||
outputs = [ "out" "dev" "demos" ];
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
, pkgconfig, gettext, gobjectIntrospection, libnotify, gnutls
|
||||
, gtk3, wayland, libwebp, enchant, xlibs, libxkbcommon, epoxy, at-spi2-core
|
||||
, libxml2, libsoup, libsecret, libxslt, harfbuzz, libpthreadstubs, pcre, nettle, libtasn1, p11-kit
|
||||
, libidn, libedit, readline, mesa, libintlOrEmpty
|
||||
, libidn, libedit, readline, libGLU_combined, libintlOrEmpty
|
||||
, enableGeoLocation ? true, geoclue2, sqlite
|
||||
, enableGtk2Plugins ? false, gtk2 ? null
|
||||
, gst-plugins-base, gst-plugins-bad
|
||||
@@ -93,7 +93,7 @@ stdenv.mkDerivation rec {
|
||||
] ++ optional enableGeoLocation geoclue2
|
||||
++ optional enableGtk2Plugins gtk2
|
||||
++ (with xlibs; [ libXdmcp libXt libXtst ])
|
||||
++ optionals stdenv.isDarwin [ libedit readline mesa ]
|
||||
++ optionals stdenv.isDarwin [ libedit readline libGLU_combined ]
|
||||
++ optional stdenv.isLinux wayland;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchFromGitHub, fetchpatch, cmake, pkgconfig
|
||||
, wayland, pixman, libxkbcommon, libinput, xcbutilwm, xcbutilimage, mesa_noglu
|
||||
, wayland, pixman, libxkbcommon, libinput, xcbutilwm, xcbutilimage, libGL
|
||||
, libX11, dbus_libs, wayland-protocols
|
||||
, libpthreadstubs, libXdmcp, libXext
|
||||
, withOptionalPackages ? true, zlib, valgrind, doxygen
|
||||
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
|
||||
buildInputs = [
|
||||
wayland pixman libxkbcommon libinput xcbutilwm xcbutilimage mesa_noglu
|
||||
wayland pixman libxkbcommon libinput xcbutilwm xcbutilimage libGL
|
||||
libX11 dbus_libs wayland-protocols
|
||||
libpthreadstubs libXdmcp libXext ]
|
||||
++ stdenv.lib.optionals withOptionalPackages [ zlib valgrind doxygen ];
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig
|
||||
, wayland, mesa_noglu, wayland-protocols, libinput, libxkbcommon, pixman
|
||||
, wayland, libGL, wayland-protocols, libinput, libxkbcommon, pixman
|
||||
, xcbutilwm, libX11, libcap, xcbutilimage
|
||||
}:
|
||||
|
||||
@@ -24,7 +24,7 @@ in stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ meson ninja pkgconfig ];
|
||||
|
||||
buildInputs = [
|
||||
wayland mesa_noglu wayland-protocols libinput libxkbcommon pixman
|
||||
wayland libGL wayland-protocols libinput libxkbcommon pixman
|
||||
xcbutilwm libX11 libcap xcbutilimage
|
||||
];
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gtk2, libXinerama, libSM, libXxf86vm, xf86vidmodeproto
|
||||
, gstreamer, gst-plugins-base, GConf, libX11, cairo
|
||||
, withMesa ? true, mesa_glu ? null, mesa_noglu ? null
|
||||
, withMesa ? true, libGLU ? null, libGL ? null
|
||||
, compat24 ? false, compat26 ? true, unicode ? true,
|
||||
}:
|
||||
|
||||
assert withMesa -> mesa_glu != null && mesa_noglu != null;
|
||||
assert withMesa -> libGLU != null && libGL != null;
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ gtk2 libXinerama libSM libXxf86vm xf86vidmodeproto gstreamer gst-plugins-base GConf libX11 cairo ]
|
||||
++ optional withMesa mesa_glu;
|
||||
++ optional withMesa libGLU;
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
|
||||
"${libXinerama.dev}/include ${libSM.dev}/include ${libXxf86vm.dev}/include";
|
||||
SEARCH_LIB =
|
||||
"${libXinerama.out}/lib ${libSM.out}/lib ${libXxf86vm.out}/lib "
|
||||
+ optionalString withMesa "${mesa_glu.out}/lib ${mesa_noglu.out}/lib ";
|
||||
+ optionalString withMesa "${libGLU.out}/lib ${libGL.out}/lib ";
|
||||
|
||||
# Work around a bug in configure.
|
||||
NIX_CFLAGS_COMPILE = [ "-DHAVE_X11_XLIB_H=1" "-lX11" "-lcairo" "-Wno-narrowing" ];
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{ stdenv, fetchurl, pkgconfig, gtk2, libXinerama, libSM, libXxf86vm, xf86vidmodeproto
|
||||
, gstreamer, gst-plugins-base, GConf, setfile
|
||||
, withMesa ? true, mesa_glu ? null, mesa_noglu ? null
|
||||
, withMesa ? true, libGLU ? null, libGL ? null
|
||||
, compat24 ? false, compat26 ? true, unicode ? true
|
||||
, Carbon ? null, Cocoa ? null, Kernel ? null, QuickTime ? null, AGL ? null
|
||||
}:
|
||||
|
||||
assert withMesa -> mesa_glu != null && mesa_noglu != null;
|
||||
assert withMesa -> libGLU != null && libGL != null;
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
@@ -31,7 +31,7 @@ stdenv.mkDerivation {
|
||||
buildInputs =
|
||||
[ gtk2 libXinerama libSM libXxf86vm xf86vidmodeproto gstreamer
|
||||
gst-plugins-base GConf ]
|
||||
++ optional withMesa mesa_glu
|
||||
++ optional withMesa libGLU
|
||||
++ optionals stdenv.isDarwin [ setfile Carbon Cocoa Kernel QuickTime ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
@@ -48,7 +48,7 @@ stdenv.mkDerivation {
|
||||
# allow building on 64-bit
|
||||
[ "--with-cocoa" "--enable-universal-binaries" "--with-macosx-version-min=10.7" ];
|
||||
|
||||
SEARCH_LIB = "${mesa_glu.out}/lib ${mesa_noglu.out}/lib ";
|
||||
SEARCH_LIB = "${libGLU.out}/lib ${libGL.out}/lib ";
|
||||
|
||||
preConfigure = "
|
||||
substituteInPlace configure --replace 'SEARCH_INCLUDE=' 'DUMMY_SEARCH_INCLUDE='
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ stdenv, fetchFromGitHub, fetchurl, fetchpatch, pkgconfig
|
||||
, gtk2, gtk3, libXinerama, libSM, libXxf86vm
|
||||
, xf86vidmodeproto , gstreamer, gst-plugins-base, GConf, setfile
|
||||
, withMesa ? true, mesa_glu ? null, mesa_noglu ? null
|
||||
, withMesa ? true, libGLU ? null, libGL ? null
|
||||
, compat24 ? false, compat26 ? true, unicode ? true
|
||||
, withGtk2 ? true
|
||||
, withWebKit ? false, webkitgtk24x-gtk2 ? null, webkitgtk218x ? null
|
||||
@@ -9,7 +9,7 @@
|
||||
}:
|
||||
|
||||
|
||||
assert withMesa -> mesa_glu != null && mesa_noglu != null;
|
||||
assert withMesa -> libGLU != null && libGL != null;
|
||||
assert withWebKit -> (if withGtk2 then webkitgtk24x-gtk2 else webkitgtk218x) != null;
|
||||
|
||||
with stdenv.lib;
|
||||
@@ -30,7 +30,7 @@ stdenv.mkDerivation {
|
||||
buildInputs =
|
||||
[ (if withGtk2 then gtk2 else gtk3) libXinerama libSM libXxf86vm xf86vidmodeproto gstreamer
|
||||
gst-plugins-base GConf ]
|
||||
++ optional withMesa mesa_glu
|
||||
++ optional withMesa libGLU
|
||||
++ optional withWebKit (if withGtk2 then webkitgtk24x-gtk2 else webkitgtk218x)
|
||||
++ optionals stdenv.isDarwin [ setfile Carbon Cocoa Kernel QTKit ];
|
||||
|
||||
@@ -62,7 +62,7 @@ stdenv.mkDerivation {
|
||||
++ optionals withWebKit
|
||||
["--enable-webview" "--enable-webview-webkit"];
|
||||
|
||||
SEARCH_LIB = "${mesa_glu.out}/lib ${mesa_noglu.out}/lib ";
|
||||
SEARCH_LIB = "${libGLU.out}/lib ${libGL.out}/lib ";
|
||||
|
||||
preConfigure = "
|
||||
substituteInPlace configure --replace 'SEARCH_INCLUDE=' 'DUMMY_SEARCH_INCLUDE='
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, xorg, alsaLib, mesa, aalib
|
||||
{ stdenv, fetchurl, pkgconfig, xorg, alsaLib, libGLU_combined, aalib
|
||||
, libvorbis, libtheora, speex, zlib, libdvdcss, perl, ffmpeg
|
||||
, flac, libcaca, libpulseaudio, libmng, libcdio, libv4l, vcdimager
|
||||
, libmpcdec
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [
|
||||
xorg.libX11 xorg.libXv xorg.libXinerama xorg.libxcb xorg.libXext
|
||||
alsaLib mesa aalib libvorbis libtheora speex perl ffmpeg flac
|
||||
alsaLib libGLU_combined aalib libvorbis libtheora speex perl ffmpeg flac
|
||||
libcaca libpulseaudio libmng libcdio libv4l vcdimager libmpcdec
|
||||
];
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user