From 196e8ad0f6e45e4300eab2877d57859e84370854 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Mon, 12 Jul 2010 22:15:36 +0000 Subject: [PATCH] TigerVNC (without the server Xvnc still) svn path=/nixpkgs/trunk/; revision=22568 --- pkgs/tools/admin/tigervnc/default.nix | 17 +++++++++++++++++ pkgs/top-level/all-packages.nix | 5 +++++ 2 files changed, 22 insertions(+) create mode 100644 pkgs/tools/admin/tigervnc/default.nix diff --git a/pkgs/tools/admin/tigervnc/default.nix b/pkgs/tools/admin/tigervnc/default.nix new file mode 100644 index 000000000000..8f14a9bd9cc2 --- /dev/null +++ b/pkgs/tools/admin/tigervnc/default.nix @@ -0,0 +1,17 @@ +{stdenv, fetchurl, libX11, libXext, gettext, libICE, libXtst, libXi, libSM}: + +stdenv.mkDerivation { + name = "tigervnc-1.0.1"; + src = fetchurl { + url = mirror://sourceforge/tigervnc/tigervnc-1.0.1.tar.gz; + sha256 = "06qxavpq6d71ca224yxvr9h5ynydqhaz2nf06ajin5kjjdliphsr"; + }; + + preConfigure = '' + cd unix + ''; + + configureFlags = "--enable-nls"; + + buildInputs = [ libX11 libXext gettext libICE libXtst libXi libSM ]; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 61d9e764ef1b..af1b796c39f2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1816,6 +1816,11 @@ let inherit fetchcvs stdenv autoconf automake libtool; }; + tigervnc = import ../tools/admin/tigervnc { + inherit fetchurl stdenv gettext; + inherit (xlibs) libX11 libXext libICE libXtst libXi libSM; + }; + tightvnc = import ../tools/admin/tightvnc { inherit fetchurl stdenv x11 zlib libjpeg perl; inherit (xlibs) imake gccmakedep libXmu libXaw libXpm libXp xauth;