tigervnc: fix ctrl-* keys, eg ctrl-c ctrl-v ctrl-d by applying patch to fltk
I'm unsure about - is it ok to apply this patch globally, or should it be overridden for tigervnc only? - how many rebuilds it triggers - whether it was neccessary to update to latest dev version (seems to work) The bug report indicates that others distros just includes this patch (?) Cf. #1498. vcunat: the patch should be usable globally, as e.g. Arch does it. Using autoreconfHook doesn't work for me, maybe --force is bad for it.
This commit is contained in:
parent
a8a5a59059
commit
577c20c23b
@ -1,5 +1,8 @@
|
|||||||
{ composableDerivation, fetchurl, pkgconfig, x11, inputproto, libXi
|
{ composableDerivation, fetchurl, pkgconfig, x11, inputproto, libXi
|
||||||
, freeglut, mesa, libjpeg, zlib, libXinerama, libXft, libpng }:
|
, freeglut, mesa, libjpeg, zlib, libXinerama, libXft, libpng
|
||||||
|
|
||||||
|
, automake, autoconf, libtool
|
||||||
|
}:
|
||||||
|
|
||||||
let inherit (composableDerivation) edf; in
|
let inherit (composableDerivation) edf; in
|
||||||
|
|
||||||
@ -14,7 +17,12 @@ composableDerivation.composableDerivation {} {
|
|||||||
|
|
||||||
propagatedBuildInputs = [ x11 inputproto libXi freeglut ];
|
propagatedBuildInputs = [ x11 inputproto libXi freeglut ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
enableParallelBilding = true;
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkgconfig
|
||||||
|
automake autoconf libtool # only required because of patch
|
||||||
|
];
|
||||||
|
|
||||||
flags =
|
flags =
|
||||||
# this could be tidied up (?).. eg why does it require freeglut without glSupport?
|
# this could be tidied up (?).. eg why does it require freeglut without glSupport?
|
||||||
@ -46,4 +54,11 @@ composableDerivation.composableDerivation {} {
|
|||||||
description = "A C++ cross-platform light-weight GUI library binding";
|
description = "A C++ cross-platform light-weight GUI library binding";
|
||||||
homepage = http://www.fltk.org;
|
homepage = http://www.fltk.org;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# https://bugs.archlinux.org/task/36186
|
||||||
|
(fetchurl {
|
||||||
|
url = "https://bugs.archlinux.org/task/36186?getfile=10750";
|
||||||
|
sha256 = "1hpb1i87nc3zw6mgpgf3bfv557ci930bsn6rwlhaif51nlqd2wbj";
|
||||||
|
}) ];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user