On 12/01/2014 08:52 PM, Jason Helfman wrote:
On Fri, Nov 21, 2014 at 10:13 AM, Jason Helfman <jgh@xxxxxxxxxxx <mailto:jgh@xxxxxxxxxxx>> wrote: On Fri, Nov 21, 2014 at 5:09 AM, Cole Robinson <crobinso@xxxxxxxxxx <mailto:crobinso@xxxxxxxxxx>> wrote: On 11/20/2014 11:15 PM, Jason Helfman wrote: Hello, I was able to get this imported for FreeBSD, but had to implement a couple of patches for it to work: https://svnweb.freebsd.org/__ports/head/deskutils/virt-__manager/files/patch-__virtManager_config.py?view=__markup&pathrev=372972 <https://svnweb.freebsd.org/ports/head/deskutils/virt-manager/files/patch-virtManager_config.py?view=markup&pathrev=372972> https://svnweb.freebsd.org/__ports/head/deskutils/virt-__manager/files/patch-__virtManager_console.py?view=__markup&pathrev=372972 <https://svnweb.freebsd.org/ports/head/deskutils/virt-manager/files/patch-virtManager_console.py?view=markup&pathrev=372972> This was taken obtained from: https://build.opensuse.org/__package/view_file/openSUSE:__Factory/virt-manager/virt-__manager-Gtk-30.patch# <https://build.opensuse.org/package/view_file/openSUSE:Factory/virt-manager/virt-manager-Gtk-30.patch#> And is reference by a bug here: https://bugzilla.suse.com/__show_bug.cgi?id=901869 <https://bugzilla.suse.com/show_bug.cgi?id=901869> Comments and suggestions are welcome... Thanks for the heads up. I added a comment in that suse bug asking for the patch to be submitted upstream. But if that doesn't materialize in a week, ping back here Any word?
Nope. And looking at the suse RPMs I see a ton of patches that they've never submitted upstream, some which are clear bug fixes... quite frustrating. I've attached their patch, can you try it locally and ensure it fixes your issues? If so I'll push it upstream
Thanks, Cole
Index: virt-manager-1.1.0/virtManager/config.py =================================================================== --- virt-manager-1.1.0.orig/virtManager/config.py +++ virt-manager-1.1.0/virtManager/config.py @@ -20,8 +20,10 @@ import os import logging +import gi from gi.repository import Gio from gi.repository import GLib +gi.require_version('Gtk', '3.0') from gi.repository import Gtk from virtinst import CPU Index: virt-manager-1.1.0/virtManager/console.py =================================================================== --- virt-manager-1.1.0.orig/virtManager/console.py +++ virt-manager-1.1.0/virtManager/console.py @@ -20,10 +20,13 @@ # MA 02110-1301 USA. # +import gi from gi.repository import GObject from gi.repository import Gtk from gi.repository import Gdk +gi.require_version('GtkVnc', '2.0') from gi.repository import GtkVnc +gi.require_version('SpiceClientGtk', '3.0') from gi.repository import SpiceClientGtk from gi.repository import SpiceClientGLib
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list