From 7219a09001291ef236ad8ac02713096bec0d0c08 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sat, 14 Jun 2008 20:55:48 +0000 Subject: [PATCH] * 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 --- pkgs/build-support/opengl/mesa-switch.sh | 45 ---------------------- pkgs/games/quake3/game/builder.sh | 7 ---- pkgs/games/quake3/game/default.nix | 26 +++++++++++-- pkgs/games/quake3/wrapper/builder.sh | 24 +++--------- pkgs/games/quake3/wrapper/default.nix | 11 ++++-- pkgs/games/ut2004demo/default.nix | 1 - pkgs/games/ut2004demo/make-wrapper.sh | 4 -- pkgs/misc/screensavers/rss-glx/default.nix | 12 +++--- pkgs/top-level/all-packages.nix | 8 ++-- 9 files changed, 45 insertions(+), 93 deletions(-) delete mode 100644 pkgs/build-support/opengl/mesa-switch.sh delete mode 100644 pkgs/games/quake3/game/builder.sh 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 <$out/bin/quake3 < $out/bin/ut2004demo <