tigervnc: 1.8.0pre20170211 -> 1.8.0pre20170419
This commit is contained in:
parent
f79a5fc30d
commit
63b294eb0c
@ -1,27 +1,29 @@
|
|||||||
{ stdenv, fetchFromGitHub, xorg
|
{ stdenv, fetchFromGitHub
|
||||||
, autoconf, automake, cvs, libtool, nasm, pixman, xkeyboard_config
|
, xorg, xkeyboard_config, zlib
|
||||||
, fontDirectories, libgcrypt, gnutls, pam, flex, bison, gettext
|
, libjpeg_turbo, pixman, fltk
|
||||||
, cmake, libjpeg_turbo, fltk, nettle, libiconv, libtasn1
|
, fontDirectories
|
||||||
}:
|
, cmake, gettext, libtool
|
||||||
|
, glproto, mesa_glu
|
||||||
|
, gnutls, pam, nettle
|
||||||
|
, xterm }:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.8.0pre20170211";
|
version = "1.8.0pre20170419";
|
||||||
name = "tigervnc-${version}";
|
name = "tigervnc-${version}";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "TigerVNC";
|
owner = "TigerVNC";
|
||||||
repo = "tigervnc";
|
repo = "tigervnc";
|
||||||
sha256 = "10bs6394ya953gmak8g2d3n133vyfrryq9zq6dc27g8s6lw0mrbh";
|
sha256 = "1y3fn7dwlkm7ilqn8bwyqj3bw7s7clnv7d4jml4wyvfihzz9j90b";
|
||||||
rev = "b6c46a1a99a402d5d17b1afafc4784ce0958d6ec";
|
rev = "v1.7.90";
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit fontDirectories;
|
inherit fontDirectories;
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed -i -e 's,$(includedir)/pixman-1,${if stdenv ? cross then pixman.crossDrv else pixman}/include/pixman-1,' unix/xserver/hw/vnc/Makefile.am
|
sed -i -e '/^\$cmd \.= " -pn";/a$cmd .= " -xkbdir ${xkeyboard_config}/etc/X11/xkb";' unix/vncserver
|
||||||
sed -i -e '/^\$cmd \.= " -pn";/a$cmd .= " -xkbdir ${if stdenv ? cross then xkeyboard_config.crossDrv else xkeyboard_config}/etc/X11/xkb";' unix/vncserver
|
|
||||||
fontPath=
|
fontPath=
|
||||||
for i in $fontDirectories; do
|
for i in $fontDirectories; do
|
||||||
for j in $(find $i -name fonts.dir); do
|
for j in $(find $i -name fonts.dir); do
|
||||||
@ -67,27 +69,23 @@ stdenv.mkDerivation rec {
|
|||||||
make TIGERVNC_SRCDIR=`pwd`/../.. install
|
make TIGERVNC_SRCDIR=`pwd`/../.. install
|
||||||
popd
|
popd
|
||||||
rm -f $out/lib/xorg/protocol.txt
|
rm -f $out/lib/xorg/protocol.txt
|
||||||
|
|
||||||
|
wrapProgram $out/bin/vncserver \
|
||||||
|
--prefix PATH : ${stdenv.lib.makeBinPath (with xorg; [ xterm twm xsetroot ]) }
|
||||||
'';
|
'';
|
||||||
|
|
||||||
crossAttrs = {
|
buildInputs = with xorg; [
|
||||||
buildInputs = (map (x : x.crossDrv) (buildInputs ++ [
|
libjpeg_turbo fltk pixman
|
||||||
xorg.fixesproto xorg.damageproto xorg.xcmiscproto xorg.bigreqsproto xorg.randrproto xorg.renderproto
|
gnutls pam nettle
|
||||||
xorg.fontsproto xorg.videoproto xorg.compositeproto xorg.scrnsaverproto xorg.resourceproto
|
fixesproto damageproto compositeproto randrproto
|
||||||
xorg.libxkbfile xorg.libXfont xorg.libpciaccess xorg.xineramaproto
|
xcmiscproto bigreqsproto randrproto renderproto
|
||||||
]));
|
fontsproto videoproto scrnsaverproto resourceproto presentproto
|
||||||
};
|
utilmacros libXtst libXext libX11 libXext libICE libXi libSM libXft
|
||||||
|
libxkbfile libXfont2 libpciaccess xineramaproto
|
||||||
|
glproto mesa_glu
|
||||||
|
] ++ xorgserver.buildInputs;
|
||||||
|
|
||||||
buildInputs =
|
nativeBuildInputs = [ cmake zlib gettext libtool ] ++ xorg.xorgserver.nativeBuildInputs;
|
||||||
[ xorg.libX11 xorg.libXext gettext xorg.libICE xorg.libXtst xorg.libXi xorg.libSM xorg.libXft
|
|
||||||
nasm libgcrypt gnutls pam pixman libjpeg_turbo fltk xorg.xineramaproto
|
|
||||||
xorg.libXinerama xorg.libXcursor nettle libiconv libtasn1
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs =
|
|
||||||
[ autoconf automake cvs xorg.utilmacros xorg.fontutil libtool flex bison
|
|
||||||
cmake gettext
|
|
||||||
]
|
|
||||||
++ xorg.xorgserver.nativeBuildInputs;
|
|
||||||
|
|
||||||
propagatedNativeBuildInputs = xorg.xorgserver.propagatedNativeBuildInputs;
|
propagatedNativeBuildInputs = xorg.xorgserver.propagatedNativeBuildInputs;
|
||||||
|
|
||||||
|
@ -4504,9 +4504,7 @@ with pkgs;
|
|||||||
tftp-hpa = callPackage ../tools/networking/tftp-hpa {};
|
tftp-hpa = callPackage ../tools/networking/tftp-hpa {};
|
||||||
|
|
||||||
tigervnc = callPackage ../tools/admin/tigervnc {
|
tigervnc = callPackage ../tools/admin/tigervnc {
|
||||||
fontDirectories = [ xorg.fontadobe75dpi xorg.fontmiscmisc xorg.fontcursormisc
|
fontDirectories = [ xorg.fontadobe75dpi xorg.fontmiscmisc xorg.fontcursormisc xorg.fontbhlucidatypewriter75dpi ];
|
||||||
xorg.fontbhlucidatypewriter75dpi ];
|
|
||||||
fltk = fltk13;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
tightvnc = callPackage ../tools/admin/tightvnc {
|
tightvnc = callPackage ../tools/admin/tightvnc {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user