[fedora-virt-maint] rpms/python-virtinst/F-9 virtinst-0.400.3-fix-floppy-dev.patch, NONE, 1.1 virtinst-0.400.3-updated-trans.patch, NONE, 1.1 python-virtinst.spec, 1.49, 1.50
Cole Robinson
crobinso at fedoraproject.org
Thu Apr 9 15:46:19 UTC 2009
Author: crobinso
Update of /cvs/pkgs/rpms/python-virtinst/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19345
Modified Files:
python-virtinst.spec
Added Files:
virtinst-0.400.3-fix-floppy-dev.patch
virtinst-0.400.3-updated-trans.patch
Log Message:
Fix adding floppy devices (bz 493408)
Updated translations (bz 493944, bz 494358)
virtinst-0.400.3-fix-floppy-dev.patch:
--- NEW FILE virtinst-0.400.3-fix-floppy-dev.patch ---
# HG changeset patch
# User Cole Robinson <crobinso at redhat.com>
# Date 1237498550 14400
# Node ID fd4baa6410d841f137ea89290c1a8da33c00c3c9
# Parent a55347f926f5cfdcfd9b5234b945ec279190c513
Fix specifying --disk device=floppy
diff -r a55347f926f5 -r fd4baa6410d8 virtinst/FullVirtGuest.py
--- a/virtinst/FullVirtGuest.py Thu Mar 19 17:35:27 2009 -0400
+++ b/virtinst/FullVirtGuest.py Thu Mar 19 17:35:50 2009 -0400
@@ -113,7 +113,10 @@
used_targets = []
for disk in self._install_disks:
if not disk.bus:
- disk.bus = "ide"
+ if disk.device == disk.DEVICE_FLOPPY:
+ disk.bus = "fdc"
+ else:
+ disk.bus = "ide"
used_targets.append(disk.generate_target(used_targets))
for d in self._install_disks:
diff -r a55347f926f5 -r fd4baa6410d8 virtinst/VirtualDisk.py
--- a/virtinst/VirtualDisk.py Thu Mar 19 17:35:27 2009 -0400
+++ b/virtinst/VirtualDisk.py Thu Mar 19 17:35:50 2009 -0400
@@ -813,10 +813,10 @@
return ("sd", 16)
elif self.bus == "xen":
return ("xvd", 16)
+ elif self.bus == "fdc" or self.device == self.DEVICE_FLOPPY:
+ return ("fd", 2)
elif self.bus == "ide":
return ("hd", 4)
- elif self.bus == "floppy" or self.device == self.DEVICE_FLOPPY:
- return ("fd", 2)
else:
return (None, None)
virtinst-0.400.3-updated-trans.patch:
--- NEW FILE virtinst-0.400.3-updated-trans.patch ---
diff -rup virtinst-0.400.3/po/es.po new/po/es.po
--- virtinst-0.400.3/po/es.po 2009-04-09 10:38:31.403059000 -0400
+++ new/po/es.po 2009-04-09 10:38:56.365058000 -0400
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Fedora Spanish Translation of virtinst\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-09-10 14:00-0400\n"
+"POT-Creation-Date: 2009-04-09 10:38-0400\n"
"PO-Revision-Date: 2009-01-20 13:06-0300\n"
"Last-Translator: héctor daniel cabrera <h.daniel.cabrera at gmail.com>\n"
"Language-Team: Fedora Spanish <fedora-trans-es at redhat.com>\n"
@@ -15,1419 +15,2136 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: virt-clone:45
-msgid "What is the name for the cloned virtual machine?"
-msgstr "¿Cuál es el nombre de la máquina virtual clonada?"
+#: virtinst/CapabilitiesParser.py:172
+#, fuzzy, python-format
+msgid "No domains available for virt type '%(type)s', arch %(arch)s."
+msgstr "No existen dominios disponibles para este huésped."
-#: virt-clone:50
-#: virt-clone:60
-#: virt-clone:89
-#: virtinst/cli.py:175
-msgid "ERROR: "
-msgstr "ERROR:"
+#: virtinst/CapabilitiesParser.py:412
+#, python-format
+msgid "for arch '%s'"
+msgstr "para arq '%s'"
-#: virt-clone:55
-msgid "What is the name or uuid of the original virtual machine?"
-msgstr "¿Cuál es el nombre o el uuid de la máquina virtual original?"
+#: virtinst/CapabilitiesParser.py:416
+#, fuzzy, python-format
+msgid "virtualization type '%s'"
+msgstr "Tipo de virtualización '%s' no soportada"
-#: virt-clone:83
-msgid "What would you like to use as the cloned disk (file path)?"
-msgstr "¿Qué (ruta de archivo) le gustarÃa utilizar para el disco clonado?"
+#: virtinst/CapabilitiesParser.py:418
+#, fuzzy
+msgid "any virtualization options"
+msgstr "Opciones del Tipo de Virtualización"
-#: virt-clone:94
+#: virtinst/CapabilitiesParser.py:420
#, python-format
-msgid "This will overwrite the existing path '%s'!\n"
-msgstr "Esto sobrescribirá las rutas existentes '%s'!\n"
-
-#: virt-clone:96
-msgid "Do you really want to use this disk (yes or no)?"
-msgstr "¿Realmente quiere utilizar este disco (si o no)?"
+msgid "Host does not support %(virttype)s %(arch)s"
+msgstr ""
-#: virt-clone:102
-#: virt-install:202
+#: virtinst/CapabilitiesParser.py:433
#, python-format
-msgid "Disk %s is already in use by another guest!\n"
-msgstr "¡El disco %s ya está siendo utilizado por otro huésped!\n"
+msgid ""
+"Host does not support domain type '%(domain)s' for virtualization type '%"
+"(virttype)s' arch '%(arch)s'"
+msgstr ""
-#: virt-clone:103
-#: virt-install:203
-msgid "Do you really want to use the disk (yes or no)? "
-msgstr "¿Realmente quiere utilizar el disco (si o no)?"
+#: virtinst/cli.py:117
+msgid "Exiting at user request."
+msgstr "Saliendo a pedido del usuario."
-#: virt-clone:132
-msgid "Name or uuid for the original guest; The status must be shut off"
-msgstr "Nombre o uuid del huésped original; el status debe ser apagado"
+#: virtinst/cli.py:122
+msgid "Must be root to create Xen guests"
+msgstr "Debe ser root para poder crear un huésped Xen"
-#: virt-clone:136
-msgid "Name for the new guest"
-msgstr "Nombre para el nuevo huésped"
+#: virtinst/cli.py:124
+msgid "Could not find usable default libvirt connection."
+msgstr ""
+"No se ha podido encontrar una conexión por defecto libvirt que sea "
+"utilizable. "
-#: virt-clone:141
-msgid "New UUID for the clone guest; Default is a randomly generated UUID"
-msgstr "Nuevo UUID para el huésped clonado; por defecto se genera en forma aleatoria una UUID"
+#: virtinst/cli.py:146
+#, python-format
+msgid "Force flag is set but input was required. Prompt was: %s"
+msgstr ""
+"Se ha establecido una señal forzada, pero se necesita una entrada. Se pide: %"
+"s "
-#: virt-clone:146
-msgid "New fixed MAC address for the clone guest. Default is a randomly generated MAC"
-msgstr "Nueva dirección MAC adecuada para el huésped clonado. Por defecto se genera en forma aleatoria una MAC "
+#: virtinst/cli.py:149
+#, python-format
+msgid "Prompting disabled, but input was requested. Prompt was: %s"
+msgstr ""
+"Las peticiones están deshabilitadas, pero se solicita una entrada. Se pide: %"
+"s "
-#: virt-clone:151
-msgid "New file to use as the disk image for the new guest"
-msgstr "Nuevo archivo para ser usado como imagen de disco para el nuevo huésped"
+#: virtinst/cli.py:169
+#, python-format
+msgid ""
+"Prompting disabled, but yes/no was requested. Try --force to force 'yes' for "
+"such prompts. Prompt was: %s"
+msgstr ""
+"Las peticiones están deshabilitadas, pero se ha solicitado un si/no. Intente "
+"--force para forzar un \"si\" para este tipo de peticiones. Se pide: %s"
-#: virt-clone:155
-#: virt-image:128
-#: virt-install:317
-msgid "Connect to hypervisor with URI"
-msgstr "Conectar al hipervisor con URI"
+#: virtinst/cli.py:179 virt-clone:48 virt-clone:69 virt-clone:108
+msgid "ERROR: "
+msgstr "ERROR:"
-#: virt-clone:161
-msgid "Force to copy devices (eg, if 'hdc' is a readonly cdrom device, --force-copy=hdc)"
-msgstr "Copiando dispositivos de manera forzada (por ejemplo, si \"hdc\" es un dispositivo cdrom sólo de lectura, --force-copy=hdc)"
+#: virtinst/cli.py:189
+msgid "A name is required for the virtual machine."
+msgstr "Se requiere un nombre para la máquina virtual."
-#: virt-clone:166
-msgid "Do not use a sparse file for the clone's disk image"
-msgstr "No utilice un archivo separado para la imagen del disco de lo clonado"
+#: virtinst/cli.py:197
+msgid "Memory amount is required for the virtual machine."
+msgstr "Se requiere una cantidad de memoria para la máquina virtual."
-#: virt-clone:171
-msgid "Preserve a new file to use as the disk image for the new guest"
-msgstr "Preserve un archivo nuevo para utilizarlo como la imagen del disco del nuevo huésped "
+#: virtinst/cli.py:199
+#, python-format
+msgid "Installs currently require %d megs of RAM."
+msgstr "La instalación actualmente requiere %d megas de RAM."
-#: virt-clone:175
-#: virt-image:137
-#: virt-install:447
-#: virt-pack:109
-msgid "Print debugging information"
-msgstr "Mostrar información de depuración"
+#: virtinst/cli.py:219
+#, python-format
+msgid ""
+"You have asked for more virtual CPUs (%d) than there are physical CPUs (%d) "
+"on the host. This will work, but performance will be poor. Are you sure? "
+"(yes or no)"
+msgstr ""
+"Ha pedido más CPUs virtuales (%d) que los CPUs fÃsicos (%d) en el anfitrión. "
+"Esto podrÃa funcionar, pero el desempeño será pobre. ¿Esta seguro? (si o no)"
-#: virt-clone:177
-#: virt-image:143
-msgid "Do not prompt for input. Answers yes where applicable, terminates for all other prompts"
-msgstr "No solicite entrada. Una respuesta positiva, cuando se aplique, finaliza cualquier otra entrada"
+#: virtinst/cli.py:276
+msgid "Unknown network type "
+msgstr "Tipo de red desconocido"
-#: virt-clone:194
-msgid "Must be root to clone Xen guests"
-msgstr "Debe ser root para poder clonar huéspedes Xen"
+#: virtinst/cli.py:293
+msgid "Cannot mix both --bridge and --network arguments"
+msgstr "No se pueden mezclar los argumentos de --bridge y de --network"
-#: virt-clone:229
-#: virt-image:242
-#: virt-install:697
-msgid "Installation aborted at user request"
-msgstr "Instalación abortada a pedido del usuario"
+#: virtinst/cli.py:310
+msgid "Need to pass equal numbers of networks & mac addresses"
[...14182 lines suppressed...]
"\n"
@@ -1868,7 +1834,7 @@ msgstr ""
"\n"
"å¼å§å®è£
......"
-#: virt-install:682 virt-install.orig:682
+#: virt-install:682
#, python-format
msgid ""
"Domain installation does not appear to have been\n"
@@ -1881,7 +1847,7 @@ msgstr ""
"éå¯æ¨çåï¼å¦å请é\n"
"æ°å¼å§å®è£
ã"
-#: virt-install:693 virt-install.orig:693
+#: virt-install:693
#, python-format
msgid ""
"Guest installation complete... you can restart your domain\n"
@@ -1890,16 +1856,15 @@ msgstr ""
"客æ·ç«¯å®è£
å®æ......æ¨å¯ä»¥è¿è¡\n"
" 'virsh start %s' éå¯æ¨çå"
-#: virt-install:697 virt-install.orig:697
+#: virt-install:697
msgid "Guest installation complete... restarting guest."
msgstr "客æ·ç«¯å®è£
å®æ......éå¯å®¢æ·ç«¯"
-#: virt-install:703 virt-install.orig:703
-#, fuzzy
+#: virt-install:703
msgid "Guest install interrupted."
-msgstr "客æ·ç«¯å®è£
失败"
+msgstr "客ä½å®è£
ä¸æã"
-#: virt-install:710 virt-install.orig:710
+#: virt-install:710
#, python-format
msgid ""
"Domain installation may not have been\n"
@@ -1912,144 +1877,39 @@ msgstr ""
"éå¯æ¨çåï¼å¦å请é\n"
"æ°å¼å§å®è£
ã"
-#: virt-install:736 virt-install.orig:736
-#, fuzzy
+#: virt-install:736
msgid "Guest installation failed."
-msgstr "客æ·ç«¯å®è£
失败"
+msgstr "客ä½å®è£
失败ã"
-#: virt-install:746 virt-install.orig:746
-#, fuzzy, python-format
+#: virt-install:746
+#, python-format
msgid "%d minutes "
-msgstr " %d åé"
+msgstr "%d åé"
-#: virt-install:748 virt-install.orig:748
-#, fuzzy, python-format
+#: virt-install:748
+#, python-format
msgid ""
"Domain installation still in progress. Waiting %sfor domain to complete "
"installation."
-msgstr ""
-"åå®è£
ä»å¨è¿è¡ãæ¨å¯ä»¥éæ°è¿æ¥\n"
-"å°æ§å¶å°ä»¥ä¾¿å®æå®è£
è¿ç¨ã"
+msgstr "åå®è£
ä»å¨è¿è¡ã请çå¾
%s å®æåå®è£
ã"
-#: virt-install:754 virt-install.orig:754
+#: virt-install:754
msgid "Domain has shutdown. Continuing."
msgstr "åå·²ç»å
³éã请继ç»......"
-#: virt-install:761 virt-install.orig:761
-#, fuzzy, python-format
+#: virt-install:761
+#, python-format
msgid "Could not lookup domain after install: %s"
-msgstr "æ æ³æ¥æ¾å·å¯¹è±¡ï¼%s"
+msgstr "å®è£
åæ æ³æ¥æ¾åï¼%s"
-#: virt-install:768 virt-install.orig:768
-#, fuzzy
+#: virt-install:768
msgid "Installation has exceeded specified time limit. Exiting application."
-msgstr "å®è£
å·²ç»è¶
è¿æå®çæ¶é´éå¶ãåæ¶ä¸ã"
+msgstr "å®è£
å·²ç»è¶
è¿æå®çæ¶é´éå¶ãéåºç¨åºã"
-#: virt-install:772 virt-install.orig:772
+#: virt-install:772
msgid ""
"Domain installation still in progress. You can reconnect to \n"
"the console to complete the installation process."
msgstr ""
"åå®è£
ä»å¨è¿è¡ãæ¨å¯ä»¥éæ°è¿æ¥\n"
"å°æ§å¶å°ä»¥ä¾¿å®æå®è£
è¿ç¨ã"
-
-#~ msgid "Name or UUID of guest to clone is required"
-#~ msgstr "éè¦è¦å
éç客æ·ç«¯çå称æè
UUID"
-
-#~ msgid "A valid name or UUID of guest to clone is required"
-#~ msgstr "éè¦è¦å
éç客æ·ç«¯çææå称æè
UUID"
-
-#~ msgid "New file to use for disk image is required"
-#~ msgstr "éè¦ç£çæ å使ç¨çæ°æ件"
-
-#~ msgid "Domain status must be SHUTOFF"
-#~ msgstr "åç¶æå¿
é¡»æ¯ SHUTOFF"
-
-#~ msgid "Domain %s already exists"
-#~ msgstr "å %s å·²åå¨"
-
-#, fuzzy
-#~ msgid "Cloning from %(src)s to %(dst)s..."
-#~ msgstr "ä» %(src)s å
éå° %(dst)s"
-
-#~ msgid "Invalid file location given: "
-#~ msgstr "ç»åºçæ件ä½ç½®æ æï¼"
-
-#, fuzzy
-#~ msgid "Invalid file location given: %s: %s"
-#~ msgstr "ç»åºçæ件ä½ç½®æ æï¼"
-
-#~ msgid "Connection does not support HVM virtualisation, cannot boot live CD"
-#~ msgstr "è¿æ¥ä¸æ¯æ HVM èæåï¼æ æ³å¼å¯¼ live CDã"
-
-#~ msgid "Storage object name must be a string "
-#~ msgstr "åå¨å¯¹è±¡å称å¿
é¡»æ¯ä¸ä¸ªå符串"
-
-#~ msgid "Storage object name can not be only "
-#~ msgstr "åå¨å¯¹è±¡å称ä¸è½åªæ¯"
-
-#~ msgid "Storage object name can only contain "
-#~ msgstr "åå¨å¯¹è±¡å称åªè½å
å«"
-
-#~ msgid "'%s' is not managed on remote host: %s"
-#~ msgstr "è¿ç¨ä¸»æºä¸ä¸ç®¡ç '%s'ï¼%s"
-
-#~ msgid "Cannot parse capabilities"
-#~ msgstr "æ æ³è§£æ容é"
-
-#~ msgid "Only one of --pxe, --location and --cdrom can be used"
-#~ msgstr "åªè½ä½¿ç¨ --pxeã--location å --cdrom ä¹ä¸"
-
-#~ msgid "location must be specified for paravirtualized guests."
-#~ msgstr "å¿
须为åèæ客æ·ç«¯æå®ä½ç½®ã"
-
-#~ msgid "Domain installation still in progress. Waiting"
-#~ msgstr "åå®è£
ä»å¨è¿è¡ï¼è¯·çå¾
"
-
-#~ msgid ""
-#~ "UUID for the guest; if none is given a random UUID will be generated. If "
-#~ "you specify UUID, you should use a 32-digit hexadecimal number."
-#~ msgstr ""
-#~ "客æ·ç«¯ç UUIDï¼å¦æ没æç»å®åä¼éæºçæ UUIDãå¦ææå® UUIDï¼ååºè¯¥ä½¿ç¨ "
-#~ "32 ä½åå
è¿å¶æ°åã"
-
-#~ msgid ""
-#~ "Total time to wait for VM to shutdown if console not present. Time less "
-#~ "than 0 waits indefinitely."
-#~ msgstr "æ§å¶å°æ²¡æåºç°æ¶çå¾
VM å
³éçæ»æ¶é´ãå¦ææ¶é´å°äº 0 åä¸å®è¦çå¾
ã"
-
-#~ msgid "The image name and version must be present"
-#~ msgstr "å¿
é¡»ææ åå称åçæ¬"
-
-#~ msgid "Scratch disk %s does not have a size attribute"
-#~ msgstr "æåç %s 没æ大å°å±æ§"
-
-#~ msgid "Disk file %s could not be found"
-#~ msgstr "æ æ³æ¾å°ç£çæ件 %s"
-
-#~ msgid "Writing %s"
-#~ msgstr "åå
¥ %s"
-
-#~ msgid "Directory in which packaged file will be put"
-#~ msgstr "æ¾å
¥æå
æ件çç®å½"
-
-#~ msgid "The image descriptor must contain name and version"
-#~ msgstr "æ åæ述符å¿
é¡»å«æå称åçæ¬"
-
-#~ msgid "Validation failed: %s"
-#~ msgstr "确认失败ï¼%s"
-
-#~ msgid "Packaging failed: %s"
-#~ msgstr "æå
失败ï¼%s"
-
-#~ msgid "Cloning domain..."
-#~ msgstr "å
éå......"
-
-#~ msgid "NFS installations are only supported as root"
-#~ msgstr "åªå¨æ ¹ç¨æ·ä¸æ¯æ NFS å®è£
"
-
-#~ msgid "Verifying install location..."
-#~ msgstr "确认å®è£
ä½ç½®......"
-
-#~ msgid "Unsupported virtualization type"
-#~ msgstr "ä¸æ¯æçèæåç±»å"
Index: python-virtinst.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-virtinst/F-9/python-virtinst.spec,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- python-virtinst.spec 23 Mar 2009 21:13:30 -0000 1.49
+++ python-virtinst.spec 9 Apr 2009 15:45:49 -0000 1.50
@@ -11,11 +11,13 @@
Summary: Python modules and utilities for installing virtual machines
Name: python-%{appname}
Version: 0.400.3
-Release: 2%{_extra_release}
+Release: 3%{_extra_release}
Source0: http://virt-manager.org/download/sources/%{appname}/%{appname}-%{version}.tar.gz
Patch1: %{appname}-%{version}-fix-virtimage-scratch.patch
Patch2: %{appname}-%{version}-hostdev-libvirt-calls.patch
Patch3: %{appname}-%{version}-spanish-trans.patch
+Patch4: %{appname}-%{version}-fix-floppy-dev.patch
+Patch5: %{appname}-%{version}-updated-trans.patch
License: GPLv2+
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -44,6 +46,8 @@
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
+%patch5 -p1
%build
python setup.py build
@@ -77,6 +81,10 @@
%{_bindir}/virt-convert
%changelog
+* Thu Apr 9 2009 Cole Robinson <crobinso at redhat.com> - 0.400.3-3.fc9
+- Fix adding floppy devices (bz 493408)
+- Updated translations (bz 493944, bz 494358)
+
* Mon Mar 23 2009 Cole Robinson <crobinso at redhat.com> - 0.400.3-2.fc9
- Add spanish translation (bz 480816)
- Fix calls to libvirt host device detach/reset
More information about the Fedora-virt-maint
mailing list