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 18:12:07 +01:00
|
|
|
{ stdenv, fetchurl, gobjectIntrospection
|
2016-10-01 13:31:10 +02:00
|
|
|
, gnutls, cairo, libtool, glib, pkgconfig, libtasn1
|
2015-05-27 21:42:15 +02:00
|
|
|
, libffi, cyrus_sasl, intltool, perl, perlPackages, libpulseaudio
|
2016-10-01 13:34:44 +02:00
|
|
|
, kbproto, libX11, libXext, xextproto, libgcrypt, gtk3, vala_0_32
|
2016-10-01 13:31:10 +02:00
|
|
|
, libogg, libgpgerror, pythonPackages }:
|
2014-01-06 23:35:39 +01:00
|
|
|
|
2016-09-25 23:19:40 +02:00
|
|
|
let
|
2016-10-01 13:31:10 +02:00
|
|
|
inherit (pythonPackages) pygobject3 python;
|
2016-09-25 23:19:40 +02:00
|
|
|
in stdenv.mkDerivation rec {
|
2014-01-06 23:35:39 +01:00
|
|
|
name = "gtk-vnc-${version}";
|
2017-02-15 14:00:49 +01:00
|
|
|
version = "0.7.0";
|
2014-01-06 23:35:39 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-02-15 14:00:49 +01:00
|
|
|
url = "mirror://gnome/sources/gtk-vnc/${stdenv.lib.strings.substring 0 3 version}/${name}.tar.xz";
|
|
|
|
sha256 = "0gj8dpy3sj4dp810gy67spzh5f0jd8aqg69clcwqjcskj1yawbiw";
|
2011-01-13 23:21:09 +01:00
|
|
|
};
|
|
|
|
|
2014-01-06 23:35:39 +01:00
|
|
|
buildInputs = [
|
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 18:12:07 +01:00
|
|
|
python gnutls cairo libtool pkgconfig glib libffi libgcrypt
|
2015-05-27 21:42:15 +02:00
|
|
|
intltool cyrus_sasl libpulseaudio perl perlPackages.TextCSV
|
2015-05-16 19:58:29 +02:00
|
|
|
gobjectIntrospection libogg libgpgerror
|
2016-10-01 13:34:44 +02:00
|
|
|
gtk3 vala_0_32 pygobject3 ];
|
2011-01-13 23:21:09 +01:00
|
|
|
|
2014-01-06 23:35:39 +01:00
|
|
|
NIX_CFLAGS_COMPILE = "-fstack-protector-all";
|
2011-01-13 23:21:09 +01:00
|
|
|
configureFlags = [
|
|
|
|
"--with-python"
|
|
|
|
"--with-examples"
|
|
|
|
];
|
|
|
|
|
2015-06-25 15:07:16 +02:00
|
|
|
# Fix broken .la files
|
|
|
|
preFixup = ''
|
2015-10-11 21:59:52 +02:00
|
|
|
sed 's,-lgpg-error,-L${libgpgerror.out}/lib -lgpg-error,' -i $out/lib/*.la
|
2015-06-25 15:07:16 +02:00
|
|
|
'';
|
|
|
|
|
2014-01-06 23:35:39 +01:00
|
|
|
meta = with stdenv.lib; {
|
2011-01-13 23:21:09 +01: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 18:12:07 +01:00
|
|
|
maintainers = with maintainers; [ raskin offline ];
|
2014-01-06 23:35:39 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.lgpl21;
|
2011-01-13 23:21:09 +01:00
|
|
|
};
|
2014-01-06 23:35:39 +01:00
|
|
|
|
2011-01-13 23:21:09 +01:00
|
|
|
passthru = {
|
|
|
|
updateInfo = {
|
|
|
|
downloadPage = "http://ftp.gnome.org/pub/GNOME/sources/gtk-vnc";
|
|
|
|
};
|
|
|
|
};
|
2014-01-06 23:35:39 +01:00
|
|
|
}
|