<pre style='margin:0'>
Dan Villiom Podlaski Christiansen (danchr) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/f9a1f23c20e8a2c244d523b53b0ddc2810b0bc3c">https://github.com/macports/macports-ports/commit/f9a1f23c20e8a2c244d523b53b0ddc2810b0bc3c</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit f9a1f23c20e8a2c244d523b53b0ddc2810b0bc3c
</span>Author: Dan Villiom Podlaski Christiansen <danchr@macports.org>
AuthorDate: Tue Jun 13 10:34:47 2017 +0200
<span style='display:block; white-space:pre;color:#404040;'> virt-manager: bump to 1.4.1
</span>---
gnome/virt-manager/Portfile | 8 ++--
.../catch-failure-to-setup-usbdev-manager.diff | 49 ----------------------
2 files changed, 3 insertions(+), 54 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/virt-manager/Portfile b/gnome/virt-manager/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c7cd1ca..f9864dc 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/virt-manager/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/virt-manager/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem 1.0
</span> PortGroup python 1.0
PortGroup github 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup virt-manager virt-manager 1.4.0 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup virt-manager virt-manager 1.4.1 v
</span> categories gnome emulators
supported_archs noarch
maintainers {danchr @danchr} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,8 +26,8 @@ long_description \
</span> \
The primary use on macOS is for remote administration of Linux boxes.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 4aa2a0ee3410ad79d27a8d65f6edb90fee9b75e8 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 bf31a40cc48500cbf87a0e93a5838fc3f6ce4e2fa03f8bce6aa2615625e6caca
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 49eb78ddc7b7b23e7b7357270b195b884961d429 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 e6c549999f14fbda210c07821910bfa35c086542e166f8b00d7c83717e9f3944
</span>
python.default_version 27
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -36,8 +36,6 @@ post-patch {
</span> virt-clone virt-convert virt-install virt-manager virt-xml
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles catch-failure-to-setup-usbdev-manager.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> depends_build port:intltool
depends_lib \
port:py${python.version}-gobject3 \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/virt-manager/files/catch-failure-to-setup-usbdev-manager.diff b/gnome/virt-manager/files/catch-failure-to-setup-usbdev-manager.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 628924d..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/virt-manager/files/catch-failure-to-setup-usbdev-manager.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,49 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# HG changeset patch
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# User Cole Robinson <crobinso@redhat.com>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Date 1466514092 14400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Tue Jun 21 09:01:32 2016 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Node ID 8ee2439ccb6120cee4781630a632367ca31d7d97
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Parent 389fb0b3e120b226186e5a61214dd7d3dff3959b
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-viewers: spice: Catch failure to setup usbdev manager
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Since some distros like openbsd don't compile support for
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-usb redirection, which makes this fail
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-https://bugzilla.redhat.com/show_bug.cgi?id=1348479
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git virtManager/viewers.py virtManager/viewers.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- virtManager/viewers.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ virtManager/viewers.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -538,16 +538,23 @@ class SpiceViewer(Viewer):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- GObject.GObject.connect(self._spice_session, "channel-new",
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- self._channel_new_cb)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- self._usbdev_manager = SpiceClientGLib.UsbDeviceManager.get(
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- self._spice_session)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- self._usbdev_manager.connect("auto-connect-failed",
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- self._usbdev_redirect_error)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- self._usbdev_manager.connect("device-error",
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- self._usbdev_redirect_error)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ # Distros might have usb redirection compiled out, like OpenBSD
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ # https://bugzilla.redhat.com/show_bug.cgi?id=1348479
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ try:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ self._usbdev_manager = SpiceClientGLib.UsbDeviceManager.get(
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ self._spice_session)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ self._usbdev_manager.connect("auto-connect-failed",
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ self._usbdev_redirect_error)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ self._usbdev_manager.connect("device-error",
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ self._usbdev_redirect_error)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- autoredir = self.config.get_auto_redirection()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- if autoredir:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- gtk_session.set_property("auto-usbredir", True)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ autoredir = self.config.get_auto_redirection()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if autoredir:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ gtk_session.set_property("auto-usbredir", True)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ except:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ self._usbdev_manager = None
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ logging.debug("Error initializing spice usb device manager",
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ exc_info=True)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #####################
</span></pre><pre style='margin:0'>
</pre>