mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
Added x2vnc, a tool to control physically close but formally remote VNC display as an extension of local one.
svn path=/nixpkgs/trunk/; revision=11148
This commit is contained in:
parent
5204d562cc
commit
7698f380a0
28
pkgs/tools/X11/x2vnc/1.7.2.nix
Normal file
28
pkgs/tools/X11/x2vnc/1.7.2.nix
Normal file
@ -0,0 +1,28 @@
|
||||
|
||||
args : with args; with builderDefs {src="";} null;
|
||||
let localDefs = builderDefs (rec {
|
||||
src = /* put a fetchurl here */
|
||||
fetchurl {
|
||||
url = http://fredrik.hubbe.net/x2vnc/x2vnc-1.7.2.tar.gz;
|
||||
sha256 = "00bh9j3m6snyd2fgnzhj5vlkj9ibh69gfny9bfzlxbnivb06s1yw";
|
||||
};
|
||||
|
||||
buildInputs = [libX11 xproto xextproto libXext libXrandr randrproto];
|
||||
doCreatePrefix = FullDepEntry (''
|
||||
ensureDir $out
|
||||
'') ["defEnsureDir"];
|
||||
configureFlags = [];
|
||||
}) args null; /* null is a terminator for sumArgs */
|
||||
in with localDefs;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "x2vnc-"+version;
|
||||
builder = writeScript (name + "-builder")
|
||||
(textClosure localDefs
|
||||
[doConfigure doCreatePrefix doMakeInstall doForceShare doPropagate]);
|
||||
meta = {
|
||||
description = "
|
||||
x2vnc - program to control remote VNC server.
|
||||
";
|
||||
inherit src;
|
||||
};
|
||||
}
|
@ -5613,6 +5613,13 @@ rec {
|
||||
|
||||
x11vnc = x11vncFun null;
|
||||
|
||||
x2vncFun = lib.sumArgs (selectVersion ../tools/X11/x2vnc "1.7.2") {
|
||||
inherit builderDefs;
|
||||
inherit (xlibs) libX11 xproto xextproto libXext libXrandr randrproto;
|
||||
};
|
||||
|
||||
x2vnc = x2vncFun null;
|
||||
|
||||
xara = import ../applications/graphics/xara {
|
||||
inherit fetchurl stdenv autoconf automake libtool gettext cvs wxGTK
|
||||
pkgconfig libxml2 zip libpng libjpeg shebangfix perl freetype;
|
||||
|
Loading…
Reference in New Issue
Block a user