From owner-svn-ports-all@freebsd.org Thu Sep 17 16:15:12 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 58EB29CE258; Thu, 17 Sep 2015 16:15:12 +0000 (UTC) (envelope-from jgh@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 497041593; Thu, 17 Sep 2015 16:15:12 +0000 (UTC) (envelope-from jgh@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t8HGFCP1070568; Thu, 17 Sep 2015 16:15:12 GMT (envelope-from jgh@FreeBSD.org) Received: (from jgh@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t8HGFBEs070565; Thu, 17 Sep 2015 16:15:11 GMT (envelope-from jgh@FreeBSD.org) Message-Id: <201509171615.t8HGFBEs070565@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jgh set sender to jgh@FreeBSD.org using -f From: Jason Helfman Date: Thu, 17 Sep 2015 16:15:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r397122 - in head/deskutils/virt-manager: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Sep 2015 16:15:12 -0000 Author: jgh Date: Thu Sep 17 16:15:10 2015 New Revision: 397122 URL: https://svnweb.freebsd.org/changeset/ports/397122 Log: - address location of cpu_map.xml in capabilities.py [1] - Use GtkVnc.Display() not GtkVnc.Display.new() [2] - bump portrev Both of these issues have been addressed upstream by crobinso@redhat.com: [1] https://github.com/virt-manager/virt-manager/commit/b15c44923c9af9d42d04a508de0d9cc8744dc73e [2] https://github.com/virt-manager/virt-manager/commit/5df6757a0bd9b8f4dcca17a73bad3d9fe46d7823 PR: 203152 [2] Submitted by: yonas@fizk.net [2], daniel@morante.net (via mail) [1] Added: head/deskutils/virt-manager/files/patch-virtManager_viewers.py (contents, props changed) head/deskutils/virt-manager/files/patch-virtinst_capabilities.py (contents, props changed) Modified: head/deskutils/virt-manager/Makefile Modified: head/deskutils/virt-manager/Makefile ============================================================================== --- head/deskutils/virt-manager/Makefile Thu Sep 17 15:50:13 2015 (r397121) +++ head/deskutils/virt-manager/Makefile Thu Sep 17 16:15:10 2015 (r397122) @@ -2,6 +2,7 @@ PORTNAME= virt-manager PORTVERSION= 1.2.1 +PORTREVISION= 1 CATEGORIES= deskutils net-mgmt MASTER_SITES= http://virt-manager.org/download/sources/${PORTNAME}/ \ LOCAL/jgh/deskutils/${PORTNAME}/ Added: head/deskutils/virt-manager/files/patch-virtManager_viewers.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/virt-manager/files/patch-virtManager_viewers.py Thu Sep 17 16:15:10 2015 (r397122) @@ -0,0 +1,11 @@ +--- virtManager/viewers.py.orig 2015-05-31 18:53:44 UTC ++++ virtManager/viewers.py +@@ -272,7 +272,7 @@ class VNCViewer(Viewer): + ################### + + def _init_widget(self): +- self._display = GtkVnc.Display.new() ++ self._display = GtkVnc.Display() + + # Make sure viewer doesn't force resize itself + self._display.set_force_size(False) Added: head/deskutils/virt-manager/files/patch-virtinst_capabilities.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/virt-manager/files/patch-virtinst_capabilities.py Thu Sep 17 16:15:10 2015 (r397122) @@ -0,0 +1,29 @@ +--- virtinst/capabilities.py.orig 2015-05-31 18:53:44 UTC ++++ virtinst/capabilities.py +@@ -19,6 +19,8 @@ + # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + # MA 02110-1301 USA. + ++import logging ++import os + import re + + from .cpu import CPU as DomainCPU +@@ -52,10 +54,15 @@ class _CPUMapFileValues(XMLBuilder): + cpu_map.xml + """ + # This is overwritten as part of the test suite +- _cpu_filename = "/usr/share/libvirt/cpu_map.xml" ++ _cpu_filename = "/usr/local/share/libvirt/cpu_map.xml" + + def __init__(self, conn): +- xml = file(self._cpu_filename).read() ++ if os.path.exists(self._cpu_filename): ++ xml = file(self._cpu_filename).read() ++ else: ++ xml = None ++ logging.debug("CPU map file not found: %s", self._cpu_filename) ++ + XMLBuilder.__init__(self, conn, parsexml=xml) + + self._archmap = {}