virt-manager: update to 1.0.1, fix & update dependencies, gtk3 support
- Vte, add gtk3 support, enable introspection, update to 0.35.90
- Spice-gtk, add gtk3 support
- gtk-vnc, add gtk3 support
- Add libvirt-glib (thanks @bjornfor)
- Add usbredir
- qemu, enable usbredir
- spice-gtk, enable usbredir
- virt-manager, update to 1.0.1
[Bjørn:
* Set namePrefix = "" to preserve package name "virt-manager"
(instead of "python2.7-virt-manager")
* Add dconf to GIO_EXTRA_MODULES to get persistent settings in
virt-manager. Without it:
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
* Add ${gtk3}/share to XDG_DATA_DIRS to unbreak "Take Screenshot"
feature (fixes "Settings schema 'org.gtk.Settings.FileChooser' is not installed")
* gtk-vnc: don't pull "pkgs" attrset for optionalString, use stdenv.lib.optionalString instead.
]
2014-03-23 17:12:07 +00:00
|
|
|
{ stdenv, fetchurl, gobjectIntrospection
|
2016-10-01 12:31:10 +01:00
|
|
|
, gnutls, cairo, libtool, glib, pkgconfig, libtasn1
|
2015-05-27 20:42:15 +01:00
|
|
|
, libffi, cyrus_sasl, intltool, perl, perlPackages, libpulseaudio
|
2016-10-01 12:34:44 +01:00
|
|
|
, kbproto, libX11, libXext, xextproto, libgcrypt, gtk3, vala_0_32
|
2016-10-01 12:31:10 +01:00
|
|
|
, libogg, libgpgerror, pythonPackages }:
|
2014-01-06 22:35:39 +00:00
|
|
|
|
2016-09-25 22:19:40 +01:00
|
|
|
let
|
2016-10-01 12:31:10 +01:00
|
|
|
inherit (pythonPackages) pygobject3 python;
|
2016-09-25 22:19:40 +01:00
|
|
|
in stdenv.mkDerivation rec {
|
2014-01-06 22:35:39 +00:00
|
|
|
name = "gtk-vnc-${version}";
|
2017-02-15 13:00:49 +00:00
|
|
|
version = "0.7.0";
|
2014-01-06 22:35:39 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-02-15 13:00:49 +00:00
|
|
|
url = "mirror://gnome/sources/gtk-vnc/${stdenv.lib.strings.substring 0 3 version}/${name}.tar.xz";
|
|
|
|
sha256 = "0gj8dpy3sj4dp810gy67spzh5f0jd8aqg69clcwqjcskj1yawbiw";
|
2011-01-13 22:21:09 +00:00
|
|
|
};
|
|
|
|
|
2017-09-14 20:24:37 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2014-01-06 22:35:39 +00:00
|
|
|
buildInputs = [
|
2017-09-14 20:24:37 +01:00
|
|
|
python gnutls cairo libtool glib libffi libgcrypt
|
2015-05-27 20:42:15 +01:00
|
|
|
intltool cyrus_sasl libpulseaudio perl perlPackages.TextCSV
|
2015-05-16 18:58:29 +01:00
|
|
|
gobjectIntrospection libogg libgpgerror
|
2017-09-14 20:24:37 +01:00
|
|
|
gtk3 vala_0_32 pygobject3
|
|
|
|
];
|
2011-01-13 22:21:09 +00:00
|
|
|
|
2014-01-06 22:35:39 +00:00
|
|
|
NIX_CFLAGS_COMPILE = "-fstack-protector-all";
|
2011-01-13 22:21:09 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--with-python"
|
|
|
|
"--with-examples"
|
|
|
|
];
|
|
|
|
|
2015-06-25 14:07:16 +01:00
|
|
|
# Fix broken .la files
|
|
|
|
preFixup = ''
|
2015-10-11 20:59:52 +01:00
|
|
|
sed 's,-lgpg-error,-L${libgpgerror.out}/lib -lgpg-error,' -i $out/lib/*.la
|
2015-06-25 14:07:16 +01:00
|
|
|
'';
|
|
|
|
|
2014-01-06 22:35:39 +00:00
|
|
|
meta = with stdenv.lib; {
|
2011-01-13 22:21:09 +00:00
|
|
|
description = "A GTK VNC widget";
|
virt-manager: update to 1.0.1, fix & update dependencies, gtk3 support
- Vte, add gtk3 support, enable introspection, update to 0.35.90
- Spice-gtk, add gtk3 support
- gtk-vnc, add gtk3 support
- Add libvirt-glib (thanks @bjornfor)
- Add usbredir
- qemu, enable usbredir
- spice-gtk, enable usbredir
- virt-manager, update to 1.0.1
[Bjørn:
* Set namePrefix = "" to preserve package name "virt-manager"
(instead of "python2.7-virt-manager")
* Add dconf to GIO_EXTRA_MODULES to get persistent settings in
virt-manager. Without it:
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
* Add ${gtk3}/share to XDG_DATA_DIRS to unbreak "Take Screenshot"
feature (fixes "Settings schema 'org.gtk.Settings.FileChooser' is not installed")
* gtk-vnc: don't pull "pkgs" attrset for optionalString, use stdenv.lib.optionalString instead.
]
2014-03-23 17:12:07 +00:00
|
|
|
maintainers = with maintainers; [ raskin offline ];
|
2014-01-06 22:35:39 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.lgpl21;
|
2011-01-13 22:21:09 +00:00
|
|
|
};
|
2014-01-06 22:35:39 +00:00
|
|
|
|
2011-01-13 22:21:09 +00:00
|
|
|
passthru = {
|
|
|
|
updateInfo = {
|
|
|
|
downloadPage = "http://ftp.gnome.org/pub/GNOME/sources/gtk-vnc";
|
|
|
|
};
|
|
|
|
};
|
2014-01-06 22:35:39 +00:00
|
|
|
}
|