- bsc#Bug 952241 - virt-manager: LibvirtGLib was imported without
specifying a version first. cde2f0ef-Suppress-gi-warnings-about-lack-of-require_version.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=278
This commit is contained in:
parent
6a92bbd581
commit
10d2977e4e
@ -0,0 +1,31 @@
|
|||||||
|
Subject: Suppress gi warnings about lack of require_version
|
||||||
|
From: Cole Robinson crobinso@redhat.com Thu Sep 3 17:31:43 2015 -0400
|
||||||
|
Date: Thu Sep 3 17:31:43 2015 -0400:
|
||||||
|
Git: cde2f0ef676583d2bedf75b3717cdf97a74ba837
|
||||||
|
|
||||||
|
|
||||||
|
diff --git a/virt-manager b/virt-manager
|
||||||
|
index 2f501e4..0a9d4b4 100755
|
||||||
|
--- a/virt-manager
|
||||||
|
+++ b/virt-manager
|
||||||
|
@@ -28,6 +28,7 @@ import traceback
|
||||||
|
|
||||||
|
import gi
|
||||||
|
from gi.repository import GObject
|
||||||
|
+gi.require_version('LibvirtGLib', '1.0')
|
||||||
|
from gi.repository import LibvirtGLib
|
||||||
|
|
||||||
|
from virtinst import util as util
|
||||||
|
diff --git a/virtinst/osdict.py b/virtinst/osdict.py
|
||||||
|
index b70d387..085b27a 100644
|
||||||
|
--- a/virtinst/osdict.py
|
||||||
|
+++ b/virtinst/osdict.py
|
||||||
|
@@ -23,6 +23,8 @@ import datetime
|
||||||
|
import logging
|
||||||
|
import re
|
||||||
|
|
||||||
|
+import gi
|
||||||
|
+gi.require_version('Libosinfo', '1.0')
|
||||||
|
from gi.repository import Libosinfo as libosinfo
|
||||||
|
|
||||||
|
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 27 13:45:04 MDT 2015 - carnold@suse.com
|
||||||
|
|
||||||
|
- bsc#Bug 952241 - virt-manager: LibvirtGLib was imported without
|
||||||
|
specifying a version first.
|
||||||
|
cde2f0ef-Suppress-gi-warnings-about-lack-of-require_version.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 8 11:47:56 MDT 2015 - carnold@suse.com
|
Thu Oct 8 11:47:56 MDT 2015 - carnold@suse.com
|
||||||
|
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define with_guestfs 0
|
%define with_guestfs 0
|
||||||
%define askpass_package "openssh-askpass"
|
%define askpass_package "openssh-askpass"
|
||||||
%define qemu_user "qemu"
|
%define qemu_user "qemu"
|
||||||
@ -51,6 +52,7 @@ Patch12: 360fe110-add-s390x-arch-support.patch
|
|||||||
Patch13: 590f5a52-urlfetcher-Clear-cached-ftp-connection-on-cleanupLoc.patch
|
Patch13: 590f5a52-urlfetcher-Clear-cached-ftp-connection-on-cleanupLoc.patch
|
||||||
Patch14: 601a82cb-fix-console_type-if-xen.patch
|
Patch14: 601a82cb-fix-console_type-if-xen.patch
|
||||||
Patch15: f30975c3-drop-cow-support.patch
|
Patch15: f30975c3-drop-cow-support.patch
|
||||||
|
Patch16: cde2f0ef-Suppress-gi-warnings-about-lack-of-require_version.patch
|
||||||
# SUSE Only
|
# SUSE Only
|
||||||
Patch70: virtman-desktop.patch
|
Patch70: virtman-desktop.patch
|
||||||
Patch71: virtman-kvm.patch
|
Patch71: virtman-kvm.patch
|
||||||
@ -187,6 +189,7 @@ machine).
|
|||||||
%patch13 -p1
|
%patch13 -p1
|
||||||
%patch14 -p1
|
%patch14 -p1
|
||||||
%patch15 -p1
|
%patch15 -p1
|
||||||
|
%patch16 -p1
|
||||||
# SUSE Only
|
# SUSE Only
|
||||||
%patch70 -p1
|
%patch70 -p1
|
||||||
%patch71 -p1
|
%patch71 -p1
|
||||||
|
@ -9,7 +9,7 @@ Index: virt-manager-1.2.1/virtinst/util.py
|
|||||||
===================================================================
|
===================================================================
|
||||||
--- virt-manager-1.2.1.orig/virtinst/util.py
|
--- virt-manager-1.2.1.orig/virtinst/util.py
|
||||||
+++ virt-manager-1.2.1/virtinst/util.py
|
+++ virt-manager-1.2.1/virtinst/util.py
|
||||||
@@ -558,3 +558,22 @@ def getInstallRepos(enabled_sources_only
|
@@ -559,3 +559,22 @@ def getInstallRepos(enabled_sources_only
|
||||||
zypper_output.insert(0, dom0_inst_source)
|
zypper_output.insert(0, dom0_inst_source)
|
||||||
return (index_dom0, zypper_output)
|
return (index_dom0, zypper_output)
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
References: bnc#907958
|
References: bnc#907958
|
||||||
Sanity check for those who forget '-X' on ssh and try to start virt-manager
|
Sanity check for those who forget '-X' on ssh and try to start virt-manager
|
||||||
Index: virt-manager-1.1.0/virt-manager
|
Index: virt-manager-1.2.1/virt-manager
|
||||||
===================================================================
|
===================================================================
|
||||||
--- virt-manager-1.1.0.orig/virt-manager
|
--- virt-manager-1.2.1.orig/virt-manager
|
||||||
+++ virt-manager-1.1.0/virt-manager
|
+++ virt-manager-1.2.1/virt-manager
|
||||||
@@ -181,8 +181,11 @@ def main():
|
@@ -182,8 +182,11 @@ def main():
|
||||||
from gi.repository import Gtk
|
from gi.repository import Gtk
|
||||||
leftovers = sys.argv[1:]
|
leftovers = sys.argv[1:]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user