mirror of
https://src.fedoraproject.org/rpms/virt-manager.git
synced 2025-07-16 09:04:55 +00:00
Update to 0.6.0 release with additional fixes from rawhide/F10
This commit is contained in:
@@ -1,5 +1 @@
|
||||
*.src.rpm
|
||||
.build*.log
|
||||
x86_64
|
||||
i686
|
||||
virt-manager-0.5.4.tar.gz
|
||||
virt-manager-0.6.0.tar.gz
|
||||
|
2
sources
2
sources
@@ -1 +1 @@
|
||||
9de921b119e897c28fb10335ca88e6dc virt-manager-0.5.4.tar.gz
|
||||
fd0acd111f180a0766b08d5f42cf5468 virt-manager-0.6.0.tar.gz
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -1,30 +0,0 @@
|
||||
diff -rup virt-manager-0.5.4.orig/src/virtManager/config.py virt-manager-0.5.4.new/src/virtManager/config.py
|
||||
--- virt-manager-0.5.4.orig/src/virtManager/config.py 2008-03-10 20:17:51.000000000 -0400
|
||||
+++ virt-manager-0.5.4.new/src/virtManager/config.py 2008-05-09 13:42:21.000000000 -0400
|
||||
@@ -37,6 +37,9 @@ CONSOLE_KEYGRAB_MOUSEOVER = 2
|
||||
DEFAULT_XEN_IMAGE_DIR = "/var/lib/xen/images"
|
||||
DEFAULT_XEN_SAVE_DIR = "/var/lib/xen/dump"
|
||||
|
||||
+DEFAULT_VIRT_IMAGE_DIR = "/var/lib/libvirt/images"
|
||||
+DEFAULT_VIRT_SAVE_DIR = "/var/lib/libvirt"
|
||||
+
|
||||
class vmmConfig:
|
||||
def __init__(self, appname, appversion, gconf_dir, glade_dir, icon_dir, data_dir):
|
||||
self.appname = appname
|
||||
@@ -332,12 +335,16 @@ class vmmConfig:
|
||||
def get_default_image_dir(self, connection):
|
||||
if connection.get_type() == "Xen":
|
||||
return DEFAULT_XEN_IMAGE_DIR
|
||||
+ elif os.access(DEFAULT_VIRT_IMAGE_DIR, os.W_OK):
|
||||
+ return DEFAULT_VIRT_IMAGE_DIR
|
||||
else:
|
||||
return os.getcwd()
|
||||
|
||||
def get_default_save_dir(self, connection):
|
||||
if connection.get_type() == "Xen":
|
||||
return DEFAULT_XEN_SAVE_DIR
|
||||
+ elif os.access(DEFAULT_VIRT_SAVE_DIR, os.W_OK):
|
||||
+ return DEFAULT_VIRT_SAVE_DIR
|
||||
else:
|
||||
return os.getcwd()
|
||||
|
@@ -1,46 +0,0 @@
|
||||
changeset: 830:2893744f29b0
|
||||
user: "Daniel P. Berrange <berrange@redhat.com>"
|
||||
date: Thu Aug 21 12:29:33 2008 +0100
|
||||
files: src/virtManager/connection.py
|
||||
description:
|
||||
Fix check for policykit
|
||||
|
||||
|
||||
diff -r 043e6981cb84 -r 2893744f29b0 src/virtManager/connection.py
|
||||
--- a/src/virtManager/connection.py Thu Aug 21 12:06:35 2008 +0100
|
||||
+++ b/src/virtManager/connection.py Thu Aug 21 12:29:33 2008 +0100
|
||||
@@ -38,7 +38,10 @@
|
||||
from virtManager.netdev import vmmNetDevice
|
||||
from virtManager.storagepool import vmmStoragePool
|
||||
|
||||
-LIBVIRT_POLICY_FILE = "/usr/share/PolicyKit/policy/libvirtd.policy"
|
||||
+LIBVIRT_POLICY_FILES = [
|
||||
+ "/usr/share/PolicyKit/policy/libvirtd.policy",
|
||||
+ "/usr/share/PolicyKit/policy/org.libvirt.unix.policy"
|
||||
+]
|
||||
|
||||
def get_local_hostname():
|
||||
try:
|
||||
@@ -137,7 +140,12 @@
|
||||
|
||||
self.readOnly = readOnly
|
||||
if not self.is_remote() and os.getuid() != 0 and self.uri != "qemu:///session":
|
||||
- if not os.path.exists(LIBVIRT_POLICY_FILE):
|
||||
+ hasPolkit = False
|
||||
+ for f in LIBVIRT_POLICY_FILES:
|
||||
+ if os.path.exists(f):
|
||||
+ hasPolkit = True
|
||||
+
|
||||
+ if not hasPolkit:
|
||||
self.readOnly = True
|
||||
|
||||
self.state = self.STATE_DISCONNECTED
|
||||
@@ -460,6 +468,7 @@
|
||||
try:
|
||||
flags = 0
|
||||
if self.readOnly:
|
||||
+ logging.info("Caller requested read only connection")
|
||||
flags = libvirt.VIR_CONNECT_RO
|
||||
|
||||
self.vmm = libvirt.openAuth(self.uri,
|
||||
|
@@ -1,14 +0,0 @@
|
||||
diff -rup virt-manager-0.5.4.orig/src/virtManager/connection.py virt-manager-0.5.4/src/virtManager/connection.py
|
||||
--- virt-manager-0.5.4.orig/src/virtManager/connection.py 2008-03-10 20:17:51.000000000 -0400
|
||||
+++ virt-manager-0.5.4/src/virtManager/connection.py 2008-03-13 13:51:14.000000000 -0400
|
||||
@@ -336,6 +336,9 @@ class vmmConnection(gobject.GObject):
|
||||
self.connectThread.start()
|
||||
|
||||
def _do_creds_polkit(self, action):
|
||||
+ if os.getuid() == 0:
|
||||
+ logging.debug("Skipping policykit check as root")
|
||||
+ return 0
|
||||
logging.debug("Doing policykit for %s" % action)
|
||||
bus = dbus.SessionBus()
|
||||
obj = bus.get_object("org.gnome.PolicyKit", "/org/gnome/PolicyKit/Manager")
|
||||
Only in virt-manager-0.5.4/src/virtManager: connection.py~
|
98
virt-manager-0.6.0-conn-details-sensitivity.patch
Normal file
98
virt-manager-0.6.0-conn-details-sensitivity.patch
Normal file
@@ -0,0 +1,98 @@
|
||||
# HG changeset patch
|
||||
# User "Cole Robinson <crobinso@redhat.com>"
|
||||
# Date 1221748433 14400
|
||||
# Node ID 7bedb4d693bdc674392ca334e7ee94f1b818b8f8
|
||||
# Parent 4148e2986cc51b01937b8bed2e103ac50e4d882a
|
||||
Allow seeing connection details when conn disconnected, just desensitive all the add wizards.
|
||||
|
||||
diff -r 4148e2986cc5 -r 7bedb4d693bd src/virtManager/engine.py
|
||||
--- a/src/virtManager/engine.py Wed Sep 17 07:53:00 2008 -0400
|
||||
+++ b/src/virtManager/engine.py Thu Sep 18 10:33:53 2008 -0400
|
||||
@@ -118,7 +118,8 @@
|
||||
|
||||
|
||||
def _do_connection_changed(self, connection):
|
||||
- if connection.get_state() == connection.STATE_ACTIVE:
|
||||
+ if connection.get_state() == connection.STATE_ACTIVE or \
|
||||
+ connection.get_state() == connection.STATE_CONNECTING:
|
||||
return
|
||||
|
||||
hvuri = connection.get_uri()
|
||||
diff -r 4148e2986cc5 -r 7bedb4d693bd src/virtManager/host.py
|
||||
--- a/src/virtManager/host.py Wed Sep 17 07:53:00 2008 -0400
|
||||
+++ b/src/virtManager/host.py Thu Sep 18 10:33:53 2008 -0400
|
||||
@@ -29,6 +29,7 @@
|
||||
|
||||
from virtinst import Storage
|
||||
|
||||
+from virtManager.connection import vmmConnection
|
||||
from virtManager.createnet import vmmCreateNetwork
|
||||
from virtManager.createpool import vmmCreatePool
|
||||
from virtManager.createvol import vmmCreateVolume
|
||||
@@ -158,6 +159,8 @@
|
||||
self.conn.connect("pool-started", self.refresh_storage_pool)
|
||||
self.conn.connect("pool-stopped", self.refresh_storage_pool)
|
||||
|
||||
+ self.conn.connect("state-changed", self.conn_state_changed)
|
||||
+
|
||||
self.window.signal_autoconnect({
|
||||
"on_menu_file_close_activate": self.close,
|
||||
"on_vmm_host_delete_event": self.close,
|
||||
@@ -181,9 +184,7 @@
|
||||
})
|
||||
|
||||
self.conn.connect("resources-sampled", self.refresh_resources)
|
||||
- self.refresh_resources()
|
||||
- self.reset_pool_state()
|
||||
- self.reset_net_state()
|
||||
+ self.reset_state()
|
||||
|
||||
def show(self):
|
||||
# Update autostart value
|
||||
@@ -208,6 +209,12 @@
|
||||
self.window.get_widget("config-autoconnect").get_active():
|
||||
self.conn.toggle_autoconnect()
|
||||
|
||||
+ def reset_state(self):
|
||||
+ self.refresh_resources()
|
||||
+ self.reset_pool_state()
|
||||
+ self.reset_net_state()
|
||||
+ self.conn_state_changed()
|
||||
+
|
||||
def refresh_resources(self, ignore=None):
|
||||
self.window.get_widget("performance-cpu").set_text("%d %%" % self.conn.cpu_time_percentage())
|
||||
vm_memory = self.conn.pretty_current_memory()
|
||||
@@ -221,6 +228,11 @@
|
||||
memory_vector = self.conn.current_memory_vector()
|
||||
memory_vector.reverse()
|
||||
self.memory_usage_graph.set_property("data_array", memory_vector)
|
||||
+
|
||||
+ def conn_state_changed(self, ignore1=None):
|
||||
+ state = (self.conn.get_state() == vmmConnection.STATE_ACTIVE)
|
||||
+ self.window.get_widget("net-add").set_sensitive(state)
|
||||
+ self.window.get_widget("pool-add").set_sensitive(state)
|
||||
|
||||
# -------------------------
|
||||
# Virtual Network functions
|
||||
diff -r 4148e2986cc5 -r 7bedb4d693bd src/virtManager/manager.py
|
||||
--- a/src/virtManager/manager.py Wed Sep 17 07:53:00 2008 -0400
|
||||
+++ b/src/virtManager/manager.py Thu Sep 18 10:33:53 2008 -0400
|
||||
@@ -668,10 +668,8 @@
|
||||
self.window.get_widget("vm-open").set_sensitive(False)
|
||||
if conn.get_state() == vmmConnection.STATE_DISCONNECTED:
|
||||
self.window.get_widget("vm-delete").set_sensitive(True)
|
||||
- self.window.get_widget("menu_host_details").set_sensitive(False)
|
||||
else:
|
||||
self.window.get_widget("vm-delete").set_sensitive(False)
|
||||
- self.window.get_widget("menu_host_details").set_sensitive(True)
|
||||
if conn.get_state() == vmmConnection.STATE_ACTIVE:
|
||||
self.window.get_widget("vm-new").set_sensitive(True)
|
||||
self.window.get_widget("menu_file_restore_saved").set_sensitive(True)
|
||||
@@ -680,6 +678,7 @@
|
||||
self.window.get_widget("menu_file_restore_saved").set_sensitive(False)
|
||||
self.window.get_widget("menu_edit_details").set_sensitive(False)
|
||||
self.window.get_widget("menu_edit_delete").set_sensitive(False)
|
||||
+ self.window.get_widget("menu_host_details").set_sensitive(True)
|
||||
|
||||
def popup_vm_menu(self, widget, event):
|
||||
tuple = widget.get_path_at_pos(int(event.x), int(event.y))
|
19
virt-manager-0.6.0-connect-variable-typo.patch
Normal file
19
virt-manager-0.6.0-connect-variable-typo.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
# HG changeset patch
|
||||
# User "Cole Robinson <crobinso@redhat.com>"
|
||||
# Date 1224534507 14400
|
||||
# Node ID 57f3422417b38bb6c4d834283f7bd85c368fccf0
|
||||
# Parent fd4db4f02a84dadce38293214fc04721c1a8cc15
|
||||
Fix variable typo.
|
||||
|
||||
diff -r fd4db4f02a84 -r 57f3422417b3 src/virtManager/manager.py
|
||||
--- a/src/virtManager/manager.py Mon Oct 20 10:49:21 2008 -0400
|
||||
+++ b/src/virtManager/manager.py Mon Oct 20 16:28:27 2008 -0400
|
||||
@@ -430,7 +430,7 @@
|
||||
(gtype, host, port, transport, username) = vm.get_graphics_console()
|
||||
if gtype == "vnc":
|
||||
self.emit("action-show-console", uri, vmuuid)
|
||||
- elif not connect.is_remote():
|
||||
+ elif not connection.is_remote():
|
||||
self.emit("action-show-terminal", uri, vmuuid)
|
||||
else:
|
||||
self.emit("action-refresh-console", uri, vmuuid)
|
21
virt-manager-0.6.0-fix-virt-type-desc.patch
Normal file
21
virt-manager-0.6.0-fix-virt-type-desc.patch
Normal file
@@ -0,0 +1,21 @@
|
||||
diff -rup virt-manager-0.6.0/src/vmm-create.glade new/src/vmm-create.glade
|
||||
--- virt-manager-0.6.0/src/vmm-create.glade 2008-09-10 15:37:12.000000000 -0400
|
||||
+++ new/src/vmm-create.glade 2008-11-25 12:08:47.161923000 -0500
|
||||
@@ -871,7 +871,7 @@
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label296">
|
||||
<property name="visible">True</property>
|
||||
- <property name="label" translatable="yes">Lightweight method of virtualizing machines. Limits operating system choices because the OS must be specially modified to support paravirtualization. Better performance than fully virtualized systems.</property>
|
||||
+ <property name="label" translatable="yes">Lightweight method of virtualizing machines. Limits operating system choices because the OS must be specially modified to support paravirtualization, but yeilds better performance than fully virtualized systems.</property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">True</property>
|
||||
<property name="justify">GTK_JUSTIFY_LEFT</property>
|
||||
@@ -949,7 +949,7 @@
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label297">
|
||||
<property name="visible">True</property>
|
||||
- <property name="label" translatable="yes">Involves hardware simulation, allowing for a greater range of operating systems (does not require OS modification). Slower than paravirtualized systems.</property>
|
||||
+ <property name="label" translatable="yes">Involves hardware simulation, allowing for a greater range of virtual devices and operating systems (does not require OS modification).</property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">True</property>
|
||||
<property name="justify">GTK_JUSTIFY_LEFT</property>
|
18
virt-manager-0.6.0-multiple-sound-dev.patch
Normal file
18
virt-manager-0.6.0-multiple-sound-dev.patch
Normal file
@@ -0,0 +1,18 @@
|
||||
# HG changeset patch
|
||||
# User "Cole Robinson <crobinso@redhat.com>"
|
||||
# Date 1224789319 14400
|
||||
# Node ID 1851cbb03705561a2e603606d73eb4ebde7ac405
|
||||
# Parent 4e7c3f99f0db513e0d8325c5bf485643a164f601
|
||||
Don't add sound devices multiple times.
|
||||
|
||||
diff -r 4e7c3f99f0db -r 1851cbb03705 src/virtManager/create.py
|
||||
--- a/src/virtManager/create.py Thu Oct 23 11:45:27 2008 -0400
|
||||
+++ b/src/virtManager/create.py Thu Oct 23 15:15:19 2008 -0400
|
||||
@@ -643,6 +643,7 @@
|
||||
"".join(traceback.format_exc()))
|
||||
return False
|
||||
|
||||
+ guest.sound_devs = []
|
||||
try:
|
||||
if self.get_config_sound():
|
||||
guest.sound_devs.append(virtinst.VirtualAudio(model="es1370"))
|
13
virt-manager-0.6.0-polkit-root.patch
Normal file
13
virt-manager-0.6.0-polkit-root.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff -rup virt-manager-0.6.0/src/virtManager/connection.py new/src/virtManager/connection.py
|
||||
--- virt-manager-0.6.0/src/virtManager/connection.py 2008-09-10 19:17:43.170355000 -0400
|
||||
+++ new/src/virtManager/connection.py 2008-09-10 19:19:58.124618000 -0400
|
||||
@@ -376,6 +376,9 @@ class vmmConnection(gobject.GObject):
|
||||
self.connectThread.start()
|
||||
|
||||
def _do_creds_polkit(self, action):
|
||||
+ if os.getuid() == 0:
|
||||
+ logging.debug("Skipping policykit check as root")
|
||||
+ return 0
|
||||
logging.debug("Doing policykit for %s" % action)
|
||||
bus = dbus.SessionBus()
|
||||
|
30
virt-manager-0.6.0-populate-hostinfo-early.patch
Normal file
30
virt-manager-0.6.0-populate-hostinfo-early.patch
Normal file
@@ -0,0 +1,30 @@
|
||||
# HG changeset patch
|
||||
# User "Cole Robinson <crobinso@redhat.com>"
|
||||
# Date 1223313666 14400
|
||||
# Node ID 270e1697b81ac143df54e111e2e1bed5006ad49c
|
||||
# Parent 9f5d5b6940c5a266f7b3a087f41face4713feec2
|
||||
populate hostinfo earlier in tick function so it isn't accessed uninitialized.
|
||||
|
||||
diff -r 9f5d5b6940c5 -r 270e1697b81a src/virtManager/connection.py
|
||||
--- a/src/virtManager/connection.py Mon Oct 06 12:56:11 2008 -0400
|
||||
+++ b/src/virtManager/connection.py Mon Oct 06 13:21:06 2008 -0400
|
||||
@@ -869,6 +869,8 @@
|
||||
if self.state != self.STATE_ACTIVE:
|
||||
return
|
||||
|
||||
+ self.hostinfo = self.vmm.getInfo()
|
||||
+
|
||||
# Poll for new virtual network objects
|
||||
(startNets, stopNets, newNets,
|
||||
oldNets, self.nets) = self._update_nets()
|
||||
@@ -911,10 +913,6 @@
|
||||
|
||||
# Finally, we sample each domain
|
||||
now = time()
|
||||
- try:
|
||||
- self.hostinfo = self.vmm.getInfo()
|
||||
- except:
|
||||
- logging.warn("Unable to get host information")
|
||||
|
||||
updateVMs = self.vms
|
||||
if noStatsUpdate:
|
97
virt-manager-0.6.0-update-potfiles.patch
Normal file
97
virt-manager-0.6.0-update-potfiles.patch
Normal file
@@ -0,0 +1,97 @@
|
||||
# HG changeset patch
|
||||
# User "Cole Robinson <crobinso@redhat.com>"
|
||||
# Date 1224004952 14400
|
||||
# Node ID ba26f6f584144bce5f33fdc19b5e6d09adbba8d2
|
||||
# Parent 7442ab043062ab4270b2de7ec23007866c7d5158
|
||||
Update POTFILES to reflect reality.
|
||||
|
||||
diff -r 7442ab043062 -r ba26f6f58414 po/POTFILES.in
|
||||
--- a/po/POTFILES.in Tue Oct 07 10:09:03 2008 -0400
|
||||
+++ b/po/POTFILES.in Tue Oct 14 13:22:32 2008 -0400
|
||||
@@ -1,45 +1,47 @@
|
||||
src/virt-manager.desktop.in.in
|
||||
-src/vmm-about.glade
|
||||
-src/vmm-details.glade
|
||||
-src/vmm-add-hardware.glade
|
||||
-src/vmm-host.glade
|
||||
-src/vmm-choose-cd.glade
|
||||
-src/vmm-manager.glade
|
||||
-src/vmm-create.glade
|
||||
-src/vmm-open-connection.glade
|
||||
-src/vmm-create-net.glade
|
||||
-src/vmm-preferences.glade
|
||||
-src/vmm-create-pool.glade
|
||||
-src/vmm-progress.glade
|
||||
-src/vmm-create-vol.glade
|
||||
src/virt-manager.py.in
|
||||
src/virt-manager.schemas.in
|
||||
+src/virtManager/IPy.py
|
||||
+src/virtManager/__init__.py
|
||||
src/virtManager/about.py
|
||||
+src/virtManager/addhardware.py
|
||||
+src/virtManager/asyncjob.py
|
||||
+src/virtManager/choosecd.py
|
||||
+src/virtManager/config.py
|
||||
+src/virtManager/connect.py
|
||||
src/virtManager/connection.py
|
||||
+src/virtManager/create.py
|
||||
+src/virtManager/createmeter.py
|
||||
src/virtManager/createnet.py
|
||||
+src/virtManager/createpool.py
|
||||
+src/virtManager/createvol.py
|
||||
+src/virtManager/details.py
|
||||
+src/virtManager/domain.py
|
||||
src/virtManager/engine.py
|
||||
-src/virtManager/IPy.py
|
||||
+src/virtManager/error.py
|
||||
+src/virtManager/host.py
|
||||
+src/virtManager/keyring.py
|
||||
+src/virtManager/manager.py
|
||||
src/virtManager/netdev.py
|
||||
+src/virtManager/network.py
|
||||
+src/virtManager/opticalhelper.py
|
||||
+src/virtManager/preferences.py
|
||||
+src/virtManager/remote.py
|
||||
src/virtManager/secret.py
|
||||
-src/virtManager/addhardware.py
|
||||
-src/virtManager/connect.py
|
||||
-src/virtManager/create.py
|
||||
-src/virtManager/createvol.py
|
||||
-src/virtManager/createpool.py
|
||||
+src/virtManager/serialcon.py
|
||||
+src/virtManager/storagepool.py
|
||||
src/virtManager/storagevol.py
|
||||
-src/virtManager/storagepool.py
|
||||
-src/virtManager/error.py
|
||||
-src/virtManager/keyring.py
|
||||
-src/virtManager/network.py
|
||||
-src/virtManager/serialcon.py
|
||||
-src/virtManager/asyncjob.py
|
||||
-src/virtManager/details.py
|
||||
-src/virtManager/host.py
|
||||
-src/virtManager/preferences.py
|
||||
-src/virtManager/config.py
|
||||
-src/virtManager/createmeter.py
|
||||
-src/virtManager/domain.py
|
||||
-src/virtManager/__init__.py
|
||||
-src/virtManager/manager.py
|
||||
-src/virtManager/remote.py
|
||||
src/virtManager/util.py
|
||||
+src/vmm-about.glade
|
||||
+src/vmm-add-hardware.glade
|
||||
+src/vmm-choose-cd.glade
|
||||
+src/vmm-create-net.glade
|
||||
+src/vmm-create-pool.glade
|
||||
+src/vmm-create-vol.glade
|
||||
+src/vmm-create.glade
|
||||
+src/vmm-details.glade
|
||||
+src/vmm-host.glade
|
||||
+src/vmm-manager.glade
|
||||
+src/vmm-open-connection.glade
|
||||
+src/vmm-preferences.glade
|
||||
+src/vmm-progress.glade
|
||||
diff -r 7442ab043062 -r ba26f6f58414 po/POTFILES.skip
|
||||
--- a/po/POTFILES.skip Tue Oct 07 10:09:03 2008 -0400
|
||||
+++ b/po/POTFILES.skip Tue Oct 14 13:22:32 2008 -0400
|
||||
@@ -1,1 +0,0 @@
|
||||
-src/virt-manager.desktop.in
|
70391
virt-manager-0.6.0-update-translations.patch
Normal file
70391
virt-manager-0.6.0-update-translations.patch
Normal file
File diff suppressed because it is too large
Load Diff
20
virt-manager-0.6.0-vol-copy-popup.patch
Normal file
20
virt-manager-0.6.0-vol-copy-popup.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
# HG changeset patch
|
||||
# User "Cole Robinson <crobinso@redhat.com>"
|
||||
# Date 1224708808 14400
|
||||
# Node ID c44f1d9698091da7ce8e368aba30c68b580b5c10
|
||||
# Parent e3c76e40eb2e5d468c8ff61f87f1dd87ef903120
|
||||
Only popup vol copy path menu on right click (not any click)
|
||||
|
||||
diff -r e3c76e40eb2e -r c44f1d969809 src/virtManager/host.py
|
||||
--- a/src/virtManager/host.py Wed Oct 22 16:48:15 2008 -0400
|
||||
+++ b/src/virtManager/host.py Wed Oct 22 16:53:28 2008 -0400
|
||||
@@ -614,6 +614,9 @@
|
||||
self.window.get_widget("vol-delete").set_sensitive(True)
|
||||
|
||||
def popup_vol_menu(self, widget, event):
|
||||
+ if event.button != 3:
|
||||
+ return
|
||||
+
|
||||
tup = widget.get_path_at_pos(int(event.x), int(event.y))
|
||||
if tup == None:
|
||||
return False
|
@@ -7,8 +7,8 @@
|
||||
%define _extra_release %{?dist:%{dist}}%{!?dist:%{?extra_release:%{extra_release}}}
|
||||
|
||||
Name: virt-manager
|
||||
Version: 0.5.4
|
||||
Release: 5%{_extra_release}
|
||||
Version: 0.6.0
|
||||
Release: 0%{_extra_release}
|
||||
Summary: Virtual Machine Manager
|
||||
|
||||
Group: Applications/Emulators
|
||||
@@ -18,18 +18,24 @@ Source0: http://virt-manager.org/download/sources/%{name}/%{name}-%{version}.tar
|
||||
Source1: %{name}.pam
|
||||
Source2: %{name}.console
|
||||
Patch1: %{name}-%{version}-polkit-root.patch
|
||||
Patch2: %{name}-%{version}-i18n.patch
|
||||
Patch3: %{name}-%{version}-image-dir.patch
|
||||
Patch4: %{name}-%{version}-polkit-check.patch
|
||||
Patch2: %{name}-%{version}-conn-details-sensitivity.patch
|
||||
Patch3: %{name}-%{version}-populate-hostinfo-early.patch
|
||||
Patch4: %{name}-%{version}-update-potfiles.patch
|
||||
Patch5: %{name}-%{version}-update-translations.patch
|
||||
Patch6: %{name}-%{version}-multiple-sound-dev.patch
|
||||
Patch7: %{name}-%{version}-vol-copy-popup.patch
|
||||
Patch8: %{name}-%{version}-connect-variable-typo.patch
|
||||
Patch9: %{name}-%{version}-fix-virt-type-desc.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
# These two are just the oldest version tested
|
||||
Requires: pygtk2 >= 1.99.12-6
|
||||
Requires: gnome-python2-gconf >= 1.99.11-7
|
||||
# Absolutely require this version or newer
|
||||
Requires: libvirt-python >= 0.4.0
|
||||
Requires: libvirt-python >= 0.4.5
|
||||
# Definitely does not work with earlier due to python API changes
|
||||
Requires: dbus-python >= 0.61
|
||||
Requires: dbus-x11
|
||||
# Might work with earlier, but this is what we've tested
|
||||
Requires: gnome-keyring >= 0.4.9
|
||||
# Minimum we've tested with
|
||||
@@ -37,10 +43,16 @@ Requires: gnome-keyring >= 0.4.9
|
||||
# will work just fine - keyring functionality will simply be
|
||||
# disabled
|
||||
Requires: gnome-python2-gnomekeyring >= 2.15.4
|
||||
Requires: gnome-python2-gnomevfs >= 2.15.4
|
||||
%if "%{fedora}" <= "9"
|
||||
Requires: gnome-python2
|
||||
%else
|
||||
Requires: gnome-python2-gnome
|
||||
%endif
|
||||
# Minimum we've tested with
|
||||
Requires: libxml2-python >= 2.6.23
|
||||
# Required to install Xen guests
|
||||
Requires: python-virtinst >= 0.300.3-6.fc9
|
||||
# Required to install Xen & QEMU guests
|
||||
Requires: python-virtinst >= 0.400.0
|
||||
# Required for loading the glade UI
|
||||
Requires: pygtk2-libglade
|
||||
# Required for our graphics which are currently SVG format
|
||||
@@ -51,14 +63,23 @@ Requires: vte >= 0.12.2
|
||||
Requires: usermode
|
||||
# For online help
|
||||
Requires: scrollkeeper
|
||||
# For the guest console
|
||||
# For console widget
|
||||
Requires: gtk-vnc-python >= 0.3.4
|
||||
# For local authentication against PolicyKit
|
||||
Requires: PolicyKit-gnome
|
||||
|
||||
BuildRequires: pygtk2-devel
|
||||
BuildRequires: gtk2-devel
|
||||
BuildRequires: pygobject2-devel
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: pango-devel
|
||||
BuildRequires: atk-devel
|
||||
BuildRequires: cairo-devel
|
||||
BuildRequires: gettext
|
||||
BuildRequires: scrollkeeper
|
||||
BuildRequires: intltool
|
||||
|
||||
Requires(pre): GConf2
|
||||
Requires(post): GConf2
|
||||
Requires(preun): GConf2
|
||||
@@ -66,9 +87,11 @@ Requires(post): desktop-file-utils
|
||||
Requires(postun): desktop-file-utils
|
||||
|
||||
%description
|
||||
Virtual Machine Manager provides a graphical tool for administering
|
||||
virtual machines such as Xen. It uses libvirt as the backend management
|
||||
API.
|
||||
Virtual Machine Manager provides a graphical tool for administering virtual
|
||||
machines for KVM, Xen, and QEmu. Start, stop, add or remove virtual devices,
|
||||
connect to a graphical or serial console, and see resource usage statistics
|
||||
for existing VMs on local or remote machines. Uses libvirt as the backend
|
||||
management API.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
@@ -76,12 +99,16 @@ API.
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
@@ -166,11 +193,14 @@ fi
|
||||
%{_datadir}/dbus-1/services/%{name}.service
|
||||
|
||||
%changelog
|
||||
* Thu Oct 2 2008 Daniel P. Berrange <berrange@redhat.com> - 0.5.4-5.fc9
|
||||
- Fix polkit policy file check (rhbz #464069)
|
||||
|
||||
* Fri May 9 2008 Daniel P. Berrange <berrange@redhat.com> - 0.5.4-4.fc9
|
||||
- Default disk images to /var/lib/libvirt/images
|
||||
* Mon Dec 1 2008 Cole Robinson <crobinso@redhat.com> - 0.6.0-1.fc9
|
||||
- Update to 0.6.0 release with additional fixes from rawhide/F10
|
||||
- Add libvirt storage management support
|
||||
- Basic support for remote guest installation
|
||||
- Merge VM console and details windows
|
||||
- Poll avahi for libvirtd advertisement
|
||||
- Hypervisor autoconnect option
|
||||
- Add sound emulation when creating new guests
|
||||
|
||||
* Thu Apr 3 2008 Daniel P. Berrange <berrange@redhat.com> - 0.5.4-3.fc9
|
||||
- Updated sr, de, fi, it, pl translations
|
||||
|
Reference in New Issue
Block a user