2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv
|
2019-08-22 15:15:23 +02:00
|
|
|
, fetchurl
|
|
|
|
, fetchpatch
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, gobject-introspection
|
|
|
|
, gnutls
|
|
|
|
, cairo
|
|
|
|
, glib
|
2021-01-17 10:17:16 +01:00
|
|
|
, pkg-config
|
2019-08-22 15:15:23 +02:00
|
|
|
, cyrus_sasl
|
|
|
|
, libpulseaudio
|
|
|
|
, libgcrypt
|
|
|
|
, gtk3
|
|
|
|
, vala
|
|
|
|
, gettext
|
|
|
|
, perl
|
|
|
|
, gnome3
|
2019-08-22 23:14:37 +02:00
|
|
|
, gdk-pixbuf
|
|
|
|
, zlib
|
2019-08-22 15:15:23 +02:00
|
|
|
}:
|
2014-01-06 23:35:39 +01:00
|
|
|
|
2018-08-24 14:36:54 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-22 15:15:23 +02:00
|
|
|
pname = "gtk-vnc";
|
|
|
|
version = "1.0.0";
|
2018-08-24 14:36:54 +02:00
|
|
|
|
|
|
|
outputs = [ "out" "bin" "man" "dev" ];
|
2014-01-06 23:35:39 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-15 10:19:50 +01:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2019-08-22 15:15:23 +02:00
|
|
|
sha256 = "1060ws037v556rx1qhfrcg02859rscksrzr8fq11himdg4d1y6m8";
|
2011-01-13 23:21:09 +01:00
|
|
|
};
|
|
|
|
|
2019-08-22 15:15:23 +02:00
|
|
|
patches = [
|
2019-08-22 23:14:37 +02:00
|
|
|
# Fix undeclared gio-unix-2.0 in example program.
|
2019-08-22 15:15:23 +02:00
|
|
|
(fetchpatch {
|
|
|
|
url = "https://gitlab.gnome.org/GNOME/gtk-vnc/commit/8588bc1c8321152ddc5086ca9b2c03a7f511e0d0.patch";
|
|
|
|
sha256 = "0i1iapsbngl1mhnz22dd73mnzk68qc4n51pqdhnm18zqc8pawvh4";
|
|
|
|
})
|
2018-08-24 14:36:54 +02:00
|
|
|
];
|
2019-08-22 15:15:23 +02:00
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
2021-01-17 10:17:16 +01:00
|
|
|
pkg-config
|
2019-08-22 15:15:23 +02:00
|
|
|
gobject-introspection
|
|
|
|
vala
|
|
|
|
gettext
|
|
|
|
perl # for pod2man
|
2017-09-14 21:24:37 +02:00
|
|
|
];
|
2011-01-13 23:21:09 +01:00
|
|
|
|
2019-08-22 15:15:23 +02:00
|
|
|
buildInputs = [
|
|
|
|
gnutls
|
|
|
|
cairo
|
2019-08-22 23:14:37 +02:00
|
|
|
gdk-pixbuf
|
|
|
|
zlib
|
2019-08-22 15:15:23 +02:00
|
|
|
glib
|
|
|
|
libgcrypt
|
|
|
|
cyrus_sasl
|
|
|
|
libpulseaudio
|
|
|
|
gtk3
|
2011-01-13 23:21:09 +01:00
|
|
|
];
|
|
|
|
|
2018-08-24 14:36:54 +02:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
2019-08-22 23:14:37 +02:00
|
|
|
packageName = pname;
|
2018-11-20 21:03:38 +01:00
|
|
|
versionPolicy = "none";
|
2018-08-24 14:36:54 +02:00
|
|
|
};
|
|
|
|
};
|
2015-06-25 15:07:16 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-08-22 15:15:23 +02:00
|
|
|
description = "GTK VNC widget";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://wiki.gnome.org/Projects/gtk-vnc";
|
2019-08-22 15:15:23 +02:00
|
|
|
license = licenses.lgpl2Plus;
|
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;
|
2011-01-13 23:21:09 +01:00
|
|
|
};
|
2014-01-06 23:35:39 +01:00
|
|
|
}
|