From d978e45135ea95749d6cb828ade17f67c7e83da2 Mon Sep 17 00:00:00 2001 From: novel Date: Fri, 14 Jul 2017 15:05:45 +0000 Subject: deskutils/virt-manager: update to 1.4.1 - Update to 1.4.1 - Drop patch-virtManager_viewers.py as it was previously cherry-picked from upstream, but it's included into this release PR: 220515 Submitted by: Yonas Yanfa --- deskutils/virt-manager/Makefile | 3 +- deskutils/virt-manager/distinfo | 6 ++-- .../files/patch-virtManager_viewers.py | 35 ---------------------- 3 files changed, 4 insertions(+), 40 deletions(-) delete mode 100644 deskutils/virt-manager/files/patch-virtManager_viewers.py (limited to 'deskutils') diff --git a/deskutils/virt-manager/Makefile b/deskutils/virt-manager/Makefile index b05d55a8da82..16ad89e343da 100644 --- a/deskutils/virt-manager/Makefile +++ b/deskutils/virt-manager/Makefile @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= virt-manager -PORTVERSION= 1.4.0 -PORTREVISION= 1 +PORTVERSION= 1.4.1 CATEGORIES= deskutils net-mgmt MASTER_SITES= http://virt-manager.org/download/sources/${PORTNAME}/ \ LOCAL/jgh/deskutils/${PORTNAME}/ diff --git a/deskutils/virt-manager/distinfo b/deskutils/virt-manager/distinfo index b97699ff0f5a..230df86a5560 100644 --- a/deskutils/virt-manager/distinfo +++ b/deskutils/virt-manager/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1467501076 -SHA256 (virt-manager-1.4.0.tar.gz) = bf31a40cc48500cbf87a0e93a5838fc3f6ce4e2fa03f8bce6aa2615625e6caca -SIZE (virt-manager-1.4.0.tar.gz) = 2667631 +TIMESTAMP = 1499586319 +SHA256 (virt-manager-1.4.1.tar.gz) = e6c549999f14fbda210c07821910bfa35c086542e166f8b00d7c83717e9f3944 +SIZE (virt-manager-1.4.1.tar.gz) = 2715863 diff --git a/deskutils/virt-manager/files/patch-virtManager_viewers.py b/deskutils/virt-manager/files/patch-virtManager_viewers.py deleted file mode 100644 index dd6ec8e3dc12..000000000000 --- a/deskutils/virt-manager/files/patch-virtManager_viewers.py +++ /dev/null @@ -1,35 +0,0 @@ ---- virtManager/viewers.py.orig 2016-06-17 21:37:47 UTC -+++ virtManager/viewers.py -@@ -538,16 +538,23 @@ class SpiceViewer(Viewer): - GObject.GObject.connect(self._spice_session, "channel-new", - self._channel_new_cb) - -- self._usbdev_manager = SpiceClientGLib.UsbDeviceManager.get( -- self._spice_session) -- self._usbdev_manager.connect("auto-connect-failed", -- self._usbdev_redirect_error) -- self._usbdev_manager.connect("device-error", -- self._usbdev_redirect_error) -+ # Distros might have usb redirection compiled out, like OpenBSD -+ # https://bugzilla.redhat.com/show_bug.cgi?id=1348479 -+ try: -+ self._usbdev_manager = SpiceClientGLib.UsbDeviceManager.get( -+ self._spice_session) -+ self._usbdev_manager.connect("auto-connect-failed", -+ self._usbdev_redirect_error) -+ self._usbdev_manager.connect("device-error", -+ self._usbdev_redirect_error) - -- autoredir = self.config.get_auto_redirection() -- if autoredir: -- gtk_session.set_property("auto-usbredir", True) -+ autoredir = self.config.get_auto_redirection() -+ if autoredir: -+ gtk_session.set_property("auto-usbredir", True) -+ except: -+ self._usbdev_manager = None -+ logging.debug("Error initializing spice usb device manager", -+ exc_info=True) - - - ##################### -- cgit