diff options
author | novel <novel@FreeBSD.org> | 2017-07-14 23:05:45 +0800 |
---|---|---|
committer | novel <novel@FreeBSD.org> | 2017-07-14 23:05:45 +0800 |
commit | d978e45135ea95749d6cb828ade17f67c7e83da2 (patch) | |
tree | 18f6675c1d47486734fb711a93b209f177bc1bb7 /deskutils | |
parent | b8d018443d25098fd3310e9814af4cde0a5cb9f2 (diff) | |
download | freebsd-ports-gnome-d978e45135ea95749d6cb828ade17f67c7e83da2.tar.gz freebsd-ports-gnome-d978e45135ea95749d6cb828ade17f67c7e83da2.tar.zst freebsd-ports-gnome-d978e45135ea95749d6cb828ade17f67c7e83da2.zip |
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
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/virt-manager/Makefile | 3 | ||||
-rw-r--r-- | deskutils/virt-manager/distinfo | 6 | ||||
-rw-r--r-- | deskutils/virt-manager/files/patch-virtManager_viewers.py | 35 |
3 files changed, 4 insertions, 40 deletions
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) - - - ##################### |