Skip to content

Commit 63b294e

Browse files
committedMay 7, 2017
tigervnc: 1.8.0pre20170211 -> 1.8.0pre20170419
1 parent f79a5fc commit 63b294e

File tree

2 files changed

+28
-32
lines changed

2 files changed

+28
-32
lines changed
 

‎pkgs/tools/admin/tigervnc/default.nix

+26-28
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,29 @@
1-
{ stdenv, fetchFromGitHub, xorg
2-
, autoconf, automake, cvs, libtool, nasm, pixman, xkeyboard_config
3-
, fontDirectories, libgcrypt, gnutls, pam, flex, bison, gettext
4-
, cmake, libjpeg_turbo, fltk, nettle, libiconv, libtasn1
5-
}:
1+
{ stdenv, fetchFromGitHub
2+
, xorg, xkeyboard_config, zlib
3+
, libjpeg_turbo, pixman, fltk
4+
, fontDirectories
5+
, cmake, gettext, libtool
6+
, glproto, mesa_glu
7+
, gnutls, pam, nettle
8+
, xterm }:
69

710
with stdenv.lib;
811

912
stdenv.mkDerivation rec {
10-
version = "1.8.0pre20170211";
13+
version = "1.8.0pre20170419";
1114
name = "tigervnc-${version}";
1215

1316
src = fetchFromGitHub {
1417
owner = "TigerVNC";
1518
repo = "tigervnc";
16-
sha256 = "10bs6394ya953gmak8g2d3n133vyfrryq9zq6dc27g8s6lw0mrbh";
17-
rev = "b6c46a1a99a402d5d17b1afafc4784ce0958d6ec";
19+
sha256 = "1y3fn7dwlkm7ilqn8bwyqj3bw7s7clnv7d4jml4wyvfihzz9j90b";
20+
rev = "v1.7.90";
1821
};
1922

2023
inherit fontDirectories;
2124

2225
patchPhase = ''
23-
sed -i -e 's,$(includedir)/pixman-1,${if stdenv ? cross then pixman.crossDrv else pixman}/include/pixman-1,' unix/xserver/hw/vnc/Makefile.am
24-
sed -i -e '/^\$cmd \.= " -pn";/a$cmd .= " -xkbdir ${if stdenv ? cross then xkeyboard_config.crossDrv else xkeyboard_config}/etc/X11/xkb";' unix/vncserver
26+
sed -i -e '/^\$cmd \.= " -pn";/a$cmd .= " -xkbdir ${xkeyboard_config}/etc/X11/xkb";' unix/vncserver
2527
fontPath=
2628
for i in $fontDirectories; do
2729
for j in $(find $i -name fonts.dir); do
@@ -67,27 +69,23 @@ stdenv.mkDerivation rec {
6769
make TIGERVNC_SRCDIR=`pwd`/../.. install
6870
popd
6971
rm -f $out/lib/xorg/protocol.txt
70-
'';
7172
72-
crossAttrs = {
73-
buildInputs = (map (x : x.crossDrv) (buildInputs ++ [
74-
xorg.fixesproto xorg.damageproto xorg.xcmiscproto xorg.bigreqsproto xorg.randrproto xorg.renderproto
75-
xorg.fontsproto xorg.videoproto xorg.compositeproto xorg.scrnsaverproto xorg.resourceproto
76-
xorg.libxkbfile xorg.libXfont xorg.libpciaccess xorg.xineramaproto
77-
]));
78-
};
73+
wrapProgram $out/bin/vncserver \
74+
--prefix PATH : ${stdenv.lib.makeBinPath (with xorg; [ xterm twm xsetroot ]) }
75+
'';
7976

80-
buildInputs =
81-
[ xorg.libX11 xorg.libXext gettext xorg.libICE xorg.libXtst xorg.libXi xorg.libSM xorg.libXft
82-
nasm libgcrypt gnutls pam pixman libjpeg_turbo fltk xorg.xineramaproto
83-
xorg.libXinerama xorg.libXcursor nettle libiconv libtasn1
84-
];
77+
buildInputs = with xorg; [
78+
libjpeg_turbo fltk pixman
79+
gnutls pam nettle
80+
fixesproto damageproto compositeproto randrproto
81+
xcmiscproto bigreqsproto randrproto renderproto
82+
fontsproto videoproto scrnsaverproto resourceproto presentproto
83+
utilmacros libXtst libXext libX11 libXext libICE libXi libSM libXft
84+
libxkbfile libXfont2 libpciaccess xineramaproto
85+
glproto mesa_glu
86+
] ++ xorgserver.buildInputs;
8587

86-
nativeBuildInputs =
87-
[ autoconf automake cvs xorg.utilmacros xorg.fontutil libtool flex bison
88-
cmake gettext
89-
]
90-
++ xorg.xorgserver.nativeBuildInputs;
88+
nativeBuildInputs = [ cmake zlib gettext libtool ] ++ xorg.xorgserver.nativeBuildInputs;
9189

9290
propagatedNativeBuildInputs = xorg.xorgserver.propagatedNativeBuildInputs;
9391

‎pkgs/top-level/all-packages.nix

+2-4
Original file line numberDiff line numberDiff line change
@@ -4504,9 +4504,7 @@ with pkgs;
45044504
tftp-hpa = callPackage ../tools/networking/tftp-hpa {};
45054505

45064506
tigervnc = callPackage ../tools/admin/tigervnc {
4507-
fontDirectories = [ xorg.fontadobe75dpi xorg.fontmiscmisc xorg.fontcursormisc
4508-
xorg.fontbhlucidatypewriter75dpi ];
4509-
fltk = fltk13;
4507+
fontDirectories = [ xorg.fontadobe75dpi xorg.fontmiscmisc xorg.fontcursormisc xorg.fontbhlucidatypewriter75dpi ];
45104508
};
45114509

45124510
tightvnc = callPackage ../tools/admin/tightvnc {
@@ -11386,7 +11384,7 @@ with pkgs;
1138611384
b43Firmware_6_30_163_46 = callPackage ../os-specific/linux/firmware/b43-firmware/6.30.163.46.nix { };
1138711385

1138811386
b43FirmwareCutter = callPackage ../os-specific/linux/firmware/b43-firmware-cutter { };
11389-
11387+
1139011388
bt-fw-converter = callPackage ../os-specific/linux/firmware/bt-fw-converter { };
1139111389

1139211390
broadcom-bt-firmware = callPackage ../os-specific/linux/firmware/broadcom-bt-firmware { };

0 commit comments

Comments
 (0)