Adding virtualgl (and therefore, libjpeg-turbo, a SIMD API-compatible libjpeg)
svn path=/nixpkgs/trunk/; revision=22553
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
{stdenv, fetchurl, mesa, libX11, openssl, libXext, libjpeg_turbo}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "virtualgl-2.1.4";
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/virtualgl/VirtualGL-2.1.4.tar.gz;
|
||||
sha256 = "d455e599620473a07711196615e59c73d08a7f392a9fcf60a6bc05d82809d89d";
|
||||
};
|
||||
|
||||
patches = [ ./xshm.patch ];
|
||||
|
||||
preInstall =''
|
||||
export makeFlags="prefix=$out"
|
||||
'';
|
||||
|
||||
buildInputs = [ mesa libX11 openssl libXext libjpeg_turbo ];
|
||||
|
||||
meta = {
|
||||
homepage = http://www.virtualgl.org/;
|
||||
description = "X11 GL rendering in a remote computer with full 3D hw acceleration";
|
||||
license = "free"; # many parts under different free licenses
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
diff --git a/util/fbx.c b/util/fbx.c
|
||||
index 06ea835..0d89842 100644
|
||||
--- a/util/fbx.c
|
||||
+++ b/util/fbx.c
|
||||
@@ -15,6 +15,8 @@
|
||||
// This library abstracts fast frame buffer access
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
+#include <X11/Xmd.h>
|
||||
+#include <X11/extensions/shmproto.h>
|
||||
#include "fbx.h"
|
||||
|
||||
#define MINWIDTH 160
|
||||
Reference in New Issue
Block a user