diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2008-06-14 20:55:48 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2008-06-14 20:55:48 +0000 |
commit | 7219a09001291ef236ad8ac02713096bec0d0c08 (patch) | |
tree | f14a36e929e646e9977f3f4bbccd64b6d1516860 /pkgs/build-support | |
parent | 80b2254cbb90bfb93dbe1bb5a58866db68e17ae4 (diff) | |
download | nixlib-7219a09001291ef236ad8ac02713096bec0d0c08.tar nixlib-7219a09001291ef236ad8ac02713096bec0d0c08.tar.gz nixlib-7219a09001291ef236ad8ac02713096bec0d0c08.tar.bz2 nixlib-7219a09001291ef236ad8ac02713096bec0d0c08.tar.lz nixlib-7219a09001291ef236ad8ac02713096bec0d0c08.tar.xz nixlib-7219a09001291ef236ad8ac02713096bec0d0c08.tar.zst nixlib-7219a09001291ef236ad8ac02713096bec0d0c08.zip |
* ioquake: updated to 1.34rc3.
* rss-glx: fixed the build. * Removed the OpenGL wrapper stuff, it's no longer needed (thanks to the RUNPATH you just need to put the appropriate libGL.so in the LD_LIBRARY_PATH). svn path=/nixpkgs/trunk/; revision=12093
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/opengl/mesa-switch.sh | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/pkgs/build-support/opengl/mesa-switch.sh b/pkgs/build-support/opengl/mesa-switch.sh deleted file mode 100644 index 7b9dfe390610..000000000000 --- a/pkgs/build-support/opengl/mesa-switch.sh +++ /dev/null @@ -1,45 +0,0 @@ -profileName=opengl -profileDir=/nix/var/nix/profiles -profile=$profileDir/$profileName - -if test -z "$OPENGL_DRIVER"; then - if test -d "$profile/lib"; then - OPENGL_DRIVER=$profile - fi - # OpenGL driver for current X server on NixOS. - if test -d /var/run/opengl-driver; then - OPENGL_DRIVER=/var/run/opengl-driver - fi -fi - -if test -z "$OPENGL_DRIVER"; then - - cat <<EOF -====================================================================== -This program uses OpenGL for 3D graphics. For best performance, you -should use a hardware-accelerated implementation of OpenGL. Since you -have not enabled one, a software implementation (Mesa) will be used. -This will probably be quite slow. - -This program will look for a hardware-accelerated implementation of -OpenGL in the "$profileName" profile of your Nix installation. For -instance, to enable the (hopefully) accelerated driver provided by -your (non-NixOS) Linux distribution, try - - $ nix-env -p $profile -i xorg-sys-opengl - -Alternatively, you can set the OPENGL_DRIVER environment variable to -point at the package containing the OpenGL implementation. -====================================================================== - -EOF - - OPENGL_DRIVER=$mesa -fi - -export LD_LIBRARY_PATH=$LD_LIBRARY_PATH${LD_LIBRARY_PATH:+:}$OPENGL_DRIVER/lib - -hook="$OPENGL_DRIVER/nix-support/opengl-hook" -if test -e "$hook"; then - source "$hook" -fi |