2011-11-10 20:06:02 +01:00
|
|
|
{ stdenv, fetchurl, openssl, zlib, libjpeg, xorg, coreutils }:
|
2008-02-22 04:06:12 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2011-11-09 17:44:49 +01:00
|
|
|
name = "x11vnc-0.9.13";
|
2010-07-29 20:55:16 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/libvncserver/${name}.tar.gz";
|
2011-11-09 17:44:49 +01:00
|
|
|
sha256 = "0fzib5xb1vbs8kdprr4z94v0fshj2c5hhaz69llaarwnc8p9z0pn";
|
2010-07-29 20:55:16 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs =
|
|
|
|
[ xorg.libXfixes xorg.fixesproto openssl xorg.libXdamage
|
|
|
|
xorg.damageproto zlib xorg.libX11 xorg.xproto libjpeg
|
|
|
|
xorg.libXtst xorg.libXinerama xorg.xineramaproto xorg.libXrandr
|
|
|
|
xorg.randrproto xorg.libXext xorg.xextproto xorg.inputproto
|
|
|
|
xorg.recordproto xorg.libXi xorg.libXrender xorg.renderproto
|
|
|
|
];
|
|
|
|
|
2010-12-06 19:01:46 +01:00
|
|
|
preConfigure = ''
|
|
|
|
configureFlags="--mandir=$out/share/man"
|
2011-11-10 20:06:02 +01:00
|
|
|
|
|
|
|
substituteInPlace x11vnc/unixpw.c \
|
|
|
|
--replace '"/bin/su"' '"/var/setuid-wrappers/su"' \
|
|
|
|
--replace '"/bin/true"' '"${coreutils}/bin/true"'
|
2011-11-11 04:11:09 +01:00
|
|
|
|
|
|
|
substituteInPlace x11vnc/ssltools.h \
|
2013-02-16 17:29:28 +01:00
|
|
|
--replace /bin/su /var/setuid-wrappers/su \
|
2011-11-11 04:11:09 +01:00
|
|
|
--replace xdpyinfo ${xorg.xdpyinfo}/bin/xdpyinfo
|
2010-12-06 19:01:46 +01:00
|
|
|
'';
|
|
|
|
|
2008-02-22 04:06:12 +01:00
|
|
|
meta = {
|
2009-03-03 14:27:40 +01:00
|
|
|
description = "A VNC server connected to a real X11 screen";
|
2010-07-29 20:55:16 +02:00
|
|
|
homepage = http://www.karlrunge.com/x11vnc/;
|
2008-02-22 04:06:12 +01:00
|
|
|
};
|
|
|
|
}
|