commit virt-viewer for openSUSE:Factory

2020-05-08 Thread root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2020-05-08 23:09:03

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new.2738 (New)


Package is "virt-viewer"

Fri May  8 23:09:03 2020 rev:65 rq:801848 version:9.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2020-03-11 
18:54:30.671652476 +0100
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new.2738/virt-viewer.changes
2020-05-08 23:09:09.518328859 +0200
@@ -1,0 +2,24 @@
+Fri May  1 11:26:30 MDT 2020 - carn...@suse.com
+
+- Update to 9.0:
+  - Project moved to https://gitlab.com/virt-viewer/virt-viewer
+  - Allow toggling shared clipboard in remote-viewer
+  - Fix handling when initial spice connection fails
+  - Fix check for govirt library
+  - Add bash completion of cli args
+  - Improve errors in file transfer dialog
+  - Fix ovirt foreign menu storage domains query
+  - Prefer TLS certs from oVirt instead of CLI
+  - Improve USB device cleanup when Ctrl-C is used
+  - Remember monitor mappings across restarts
+  - Add a default file extension to screenshots
+  - Updated translations
+  - Fix misc memory leaks
+- Update virtview-desktop.patch
+- Drop
+  c2dabf07-Fix-a-regression-when-initial-connection-fails.patch
+  a13173ae-remote-viewer-fix-free-on-dangling-pointer.patch
+  a724dff8-remote-viewer-add-handler-for-SIGINT-signal.patch
+  e4bacb8f-remote-viewer-add-a-default-extension-to-screenshot-filenames.patch
+
+---

Old:

  a13173ae-remote-viewer-fix-free-on-dangling-pointer.patch
  a724dff8-remote-viewer-add-handler-for-SIGINT-signal.patch
  c2dabf07-Fix-a-regression-when-initial-connection-fails.patch
  e4bacb8f-remote-viewer-add-a-default-extension-to-screenshot-filenames.patch
  virt-viewer-8.0.tar.gz

New:

  virt-viewer-9.0.tar.gz



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.6o32D2/_old  2020-05-08 23:09:11.72670 +0200
+++ /var/tmp/diff_new_pack.6o32D2/_new  2020-05-08 23:09:11.73078 +0200
@@ -20,14 +20,10 @@
 Summary:Virtual Machine Viewer
 License:GPL-2.0-or-later
 Group:  System/Monitoring
-Version:8.0
+Version:9.0
 Release:0
 Url:http://www.virt-manager.org
 Source: 
https://virt-manager.org/download/sources/virt-viewer/%name-%version.tar.gz
-Patch1: c2dabf07-Fix-a-regression-when-initial-connection-fails.patch
-Patch2: a13173ae-remote-viewer-fix-free-on-dangling-pointer.patch
-Patch3: a724dff8-remote-viewer-add-handler-for-SIGINT-signal.patch
-Patch4: 
e4bacb8f-remote-viewer-add-a-default-extension-to-screenshot-filenames.patch
 Patch50:netcat.patch
 Patch51:virtview-desktop.patch
 Patch52:virtview-dont-show-Domain-0.patch
@@ -55,10 +51,6 @@
 
 %prep
 %setup -q
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
 %patch50 -p1
 %patch51 -p1
 %patch52 -p1

++ netcat.patch ++
--- /var/tmp/diff_new_pack.6o32D2/_old  2020-05-08 23:09:11.762333443 +0200
+++ /var/tmp/diff_new_pack.6o32D2/_new  2020-05-08 23:09:11.762333443 +0200
@@ -1,8 +1,8 @@
-Index: virt-viewer-8.0/src/virt-viewer-app.c
+Index: virt-viewer-9.0/src/virt-viewer-app.c
 ===
 virt-viewer-8.0.orig/src/virt-viewer-app.c
-+++ virt-viewer-8.0/src/virt-viewer-app.c
-@@ -619,7 +619,7 @@ virt_viewer_app_open_tunnel_ssh(const ch
+--- virt-viewer-9.0.orig/src/virt-viewer-app.c
 virt-viewer-9.0/src/virt-viewer-app.c
+@@ -739,7 +739,7 @@ virt_viewer_app_open_tunnel_ssh(const ch
  else
  g_string_append_printf(cat, "UNIX-CONNECT:%s", unixsock);
  

++ virt-viewer-8.0.tar.gz -> virt-viewer-9.0.tar.gz ++
 141465 lines of diff (skipped)

++ virtview-desktop.patch ++
--- /var/tmp/diff_new_pack.6o32D2/_old  2020-05-08 23:09:12.106334146 +0200
+++ /var/tmp/diff_new_pack.6o32D2/_new  2020-05-08 23:09:12.106334146 +0200
@@ -1,11 +1,12 @@
 virt-viewer-8.0/data/remote-viewer.desktop.in.orig 2019-03-14 
08:18:16.590131894 +0100
-+++ virt-viewer-8.0/data/remote-viewer.desktop.in  2019-03-14 
08:18:53.738210124 +0100
+Index: virt-viewer-9.0/data/remote-viewer.desktop.in
+===
+--- virt-viewer-9.0.orig/data/remote-viewer.desktop.in
 virt-viewer-9.0/data/remote-viewer.desktop.in
 @@ -1,10 +1,20 @@
  [Desktop Entry]
- _Name=Remote Viewer
--_Comment=Access remote desktops
+ Name=Remote Viewer
 +X-SuSE-translate=true
-+Comment=Access remote desktops
+ Comment=Access remote desktops
 

commit virt-viewer for openSUSE:Factory

2020-03-11 Thread root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2020-03-11 18:51:01

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new.3160 (New)


Package is "virt-viewer"

Wed Mar 11 18:51:01 2020 rev:64 rq:783537 version:8.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2019-03-14 
22:43:05.918625331 +0100
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new.3160/virt-viewer.changes
2020-03-11 18:54:30.671652476 +0100
@@ -1,0 +2,16 @@
+Tue Mar 10 14:06:56 MDT 2020 - carn...@suse.com
+
+- bsc#1166288 - Enable vte in remote-viewer build to support
+  multiple spice displays (eg: qemu-kvm -display spice-app)
+  virt-viewer.spec
+
+---
+Mon Mar  9 15:10:19 MDT 2020 - carn...@suse.com
+
+- Upstream bug fixes (bsc#1166289)
+  c2dabf07-Fix-a-regression-when-initial-connection-fails.patch
+  a13173ae-remote-viewer-fix-free-on-dangling-pointer.patch
+  a724dff8-remote-viewer-add-handler-for-SIGINT-signal.patch
+  e4bacb8f-remote-viewer-add-a-default-extension-to-screenshot-filenames.patch
+
+---

New:

  a13173ae-remote-viewer-fix-free-on-dangling-pointer.patch
  a724dff8-remote-viewer-add-handler-for-SIGINT-signal.patch
  c2dabf07-Fix-a-regression-when-initial-connection-fails.patch
  e4bacb8f-remote-viewer-add-a-default-extension-to-screenshot-filenames.patch



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.f824Mp/_old  2020-03-11 18:54:31.099652667 +0100
+++ /var/tmp/diff_new_pack.f824Mp/_new  2020-03-11 18:54:31.099652667 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package virt-viewer
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,8 +16,6 @@
 #
 
 
-%define gtk_arg --with-gtk=3.0
-
 Name:   virt-viewer
 Summary:Virtual Machine Viewer
 License:GPL-2.0-or-later
@@ -26,6 +24,10 @@
 Release:0
 Url:http://www.virt-manager.org
 Source: 
https://virt-manager.org/download/sources/virt-viewer/%name-%version.tar.gz
+Patch1: c2dabf07-Fix-a-regression-when-initial-connection-fails.patch
+Patch2: a13173ae-remote-viewer-fix-free-on-dangling-pointer.patch
+Patch3: a724dff8-remote-viewer-add-handler-for-SIGINT-signal.patch
+Patch4: 
e4bacb8f-remote-viewer-add-a-default-extension-to-screenshot-filenames.patch
 Patch50:netcat.patch
 Patch51:virtview-desktop.patch
 Patch52:virtview-dont-show-Domain-0.patch
@@ -38,6 +40,7 @@
 BuildRequires:  libpixman-1-0-devel
 BuildRequires:  libxml2-devel
 BuildRequires:  spice-gtk-devel
+BuildRequires:  vte-devel
 BuildRequires:  pkgconfig(gtk+-3.0)
 BuildRequires:  pkgconfig(gtk-vnc-2.0)
 BuildRequires:  pkgconfig(libvirt) >= 0.10.0
@@ -52,12 +55,16 @@
 
 %prep
 %setup -q
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
 %patch50 -p1
 %patch51 -p1
 %patch52 -p1
 
 %build
-%configure --with-spice-gtk %{gtk_arg} --disable-update-mimedb
+%configure --with-spice-gtk --disable-update-mimedb
 make %{?_smp_mflags}
 
 %install

++ a13173ae-remote-viewer-fix-free-on-dangling-pointer.patch ++
Subject: remote-viewer: fix free on dangling pointer
From: Victor Toso m...@victortoso.com Fri Sep 27 15:20:29 2019 +0200
Date: Fri Oct 4 10:02:42 2019 +0200:
Git: a13173ae649412d06106a0d9c6d29e6a45d5bf57

On remote_viewer_session_connected() we are passing a dup of URI of
connection and freeing it afterwards. Problem is, we don't disconnect
from listening "session-connected" and on an eventual second emission
of this signal, remote-viewer crashes as seen in the backtrace below.

This can happen over switch-host migration message from
SpiceMainChannel.

A fix trying to use VirtViewerApp URI avoid the crash but introduces
regression while running remote-viewer with ovirt so, keeping the
changes to a minimum to avoid it, just use g_intern_string() for now.

Found it while improving migrate.py from spice/tests (server):
 | Invalid free() / delete / delete[] / realloc()
 |at 0x4839A0C: free (vg_replace_malloc.c:540)
 |by 0x56EBD8C: g_free (in /usr/lib64/libglib-2.0.so.0.6000.6)
 |by 0x11DED0: remote_viewer_session_connected (remote-viewer.c:658)
 |by 0x564D741: g_closure_invoke (in /usr/lib64/libgobject-2.0.so.0.6000.6)
 |by 0x56614F3: ??? (in /usr/lib64/libgobject-2.0.so.0.6000.6)
 |by 0x566A34D: 

commit virt-viewer for openSUSE:Factory

2019-03-14 Thread root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2019-03-14 22:43:05

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new.28833 (New)


Package is "virt-viewer"

Thu Mar 14 22:43:05 2019 rev:63 rq:685105 version:8.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2018-07-28 
12:45:46.961031436 +0200
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new.28833/virt-viewer.changes   
2019-03-14 22:43:05.918625331 +0100
@@ -1,0 +2,19 @@
+Thu Mar 14 07:15:15 UTC 2019 - Paolo Stivanin 
+
+- Update to 8.0:
+  - Fix warnings with latest GCC versions
+  - More strictly filter out non-ISO images in ovirt menu
+  - Require libgovirt >= 0.3.3
+  - Require librest >= 0.8
+  - Support UNIX and TLS URI schemes for spice
+  - Fix full screen monitor placement under wayland
+  - Fix command line encoding on Windows
+  - Ensure VM name is set in window title
+  - Support unix-path in .vv files
+  - Support text console windows via VTE
+  - Add machine power control menu options
+  - Record full build env in MSI installer 
+
+- update virtview-desktop.patch
+
+---

Old:

  virt-viewer-7.0.tar.gz

New:

  virt-viewer-8.0.tar.gz



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.1gNKC7/_old  2019-03-14 22:43:06.502625129 +0100
+++ /var/tmp/diff_new_pack.1gNKC7/_new  2019-03-14 22:43:06.506625127 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package virt-viewer
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,7 +22,7 @@
 Summary:Virtual Machine Viewer
 License:GPL-2.0-or-later
 Group:  System/Monitoring
-Version:7.0
+Version:8.0
 Release:0
 Url:http://www.virt-manager.org
 Source: 
https://virt-manager.org/download/sources/virt-viewer/%name-%version.tar.gz

++ virt-viewer-7.0.tar.gz -> virt-viewer-8.0.tar.gz ++
 10072 lines of diff (skipped)

++ virtview-desktop.patch ++
--- /var/tmp/diff_new_pack.1gNKC7/_old  2019-03-14 22:43:06.702625060 +0100
+++ /var/tmp/diff_new_pack.1gNKC7/_new  2019-03-14 22:43:06.706625058 +0100
@@ -1,7 +1,5 @@
-Index: virt-viewer-6.0/data/remote-viewer.desktop.in
-===
 virt-viewer-6.0.orig/data/remote-viewer.desktop.in
-+++ virt-viewer-6.0/data/remote-viewer.desktop.in
+--- virt-viewer-8.0/data/remote-viewer.desktop.in.orig 2019-03-14 
08:18:16.590131894 +0100
 virt-viewer-8.0/data/remote-viewer.desktop.in  2019-03-14 
08:18:53.738210124 +0100
 @@ -1,10 +1,20 @@
  [Desktop Entry]
  _Name=Remote Viewer
@@ -12,7 +10,7 @@
  Exec=remote-viewer %u
  Type=Application
  Terminal=false
- MimeType=x-scheme-handler/spice;application/x-virt-viewer;
+ 
MimeType=x-scheme-handler/spice;x-scheme-handler/spice+unix;x-scheme-handler/spice+tls;application/x-virt-viewer;
 -StartupNotify=true
 -Categories=GNOME;GTK;Network;RemoteAccess;
 +Encoding=UTF-8




commit virt-viewer for openSUSE:Factory

2018-07-28 Thread root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2018-07-28 12:45:43

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is "virt-viewer"

Sat Jul 28 12:45:43 2018 rev:62 rq:625854 version:7.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2018-07-06 
10:49:55.966684929 +0200
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2018-07-28 12:45:46.961031436 +0200
@@ -1,0 +2,19 @@
+Fri Jul 27 14:54:11 MDT 2018 - carn...@suse.com
+
+- Update to virt-viewer version 7.0
+  virt-viewer-7.0.tar.gz
+  - Require spice-gtk >= 0.35
+  - Clarify error message when no running VM is found
+  - Improve check for libgovirt requirements
+  - Support "-" as a URI for input connection file
+  - Remove support for spice controller interface
+  - Misc man page fixes
+  - Lookup win32 translations relative to install dir
+  - Position connect window in center not top-left
+  - Misc fixes for ovirt foreign menu support
+- Drop
+  140cb84c-remote-viewer-remove--spice-controller.patch
+  bf39970a-virt-viewer.spec.in-fix-build-after-spice-xpi-client-removal.patch
+  virtview-fix-configure-after-spice-controller-removal.patch
+
+---

Old:

  140cb84c-remote-viewer-remove--spice-controller.patch
  bf39970a-virt-viewer.spec.in-fix-build-after-spice-xpi-client-removal.patch
  virt-viewer-6.0.tar.gz
  virtview-fix-configure-after-spice-controller-removal.patch

New:

  virt-viewer-7.0.tar.gz



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.yc4hyu/_old  2018-07-28 12:45:47.493032403 +0200
+++ /var/tmp/diff_new_pack.yc4hyu/_new  2018-07-28 12:45:47.497032411 +0200
@@ -20,15 +20,12 @@
 
 Name:   virt-viewer
 Summary:Virtual Machine Viewer
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  System/Monitoring
-Version:6.0
+Version:7.0
 Release:0
 Url:http://www.virt-manager.org
 Source: 
https://virt-manager.org/download/sources/virt-viewer/%name-%version.tar.gz
-Patch1: 140cb84c-remote-viewer-remove--spice-controller.patch
-Patch2: 
bf39970a-virt-viewer.spec.in-fix-build-after-spice-xpi-client-removal.patch
-Patch3: virtview-fix-configure-after-spice-controller-removal.patch
 Patch50:netcat.patch
 Patch51:virtview-desktop.patch
 Patch52:virtview-dont-show-Domain-0.patch
@@ -55,9 +52,6 @@
 
 %prep
 %setup -q
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
 %patch50 -p1
 %patch51 -p1
 %patch52 -p1

++ virt-viewer-6.0.tar.gz -> virt-viewer-7.0.tar.gz ++
 82929 lines of diff (skipped)




commit virt-viewer for openSUSE:Factory

2018-07-06 Thread root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2018-07-06 10:49:34

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is "virt-viewer"

Fri Jul  6 10:49:34 2018 rev:61 rq:621202 version:6.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2017-08-24 
18:53:23.169079992 +0200
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2018-07-06 10:49:55.966684929 +0200
@@ -1,0 +2,9 @@
+Thu Jul  5 13:05:52 MDT 2018 - carn...@suse.com
+
+- bsc#1100300 - virt-viewer: Build fails because spice-gtk no
+  longer has the spice-controller library
+  140cb84c-remote-viewer-remove--spice-controller.patch
+  bf39970a-virt-viewer.spec.in-fix-build-after-spice-xpi-client-removal.patch
+  virtview-fix-configure-after-spice-controller-removal.patch
+
+---

New:

  140cb84c-remote-viewer-remove--spice-controller.patch
  bf39970a-virt-viewer.spec.in-fix-build-after-spice-xpi-client-removal.patch
  virtview-fix-configure-after-spice-controller-removal.patch



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.e6YGDV/_old  2018-07-06 10:49:56.754683956 +0200
+++ /var/tmp/diff_new_pack.e6YGDV/_new  2018-07-06 10:49:56.754683956 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package virt-viewer
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,9 @@
 Release:0
 Url:http://www.virt-manager.org
 Source: 
https://virt-manager.org/download/sources/virt-viewer/%name-%version.tar.gz
+Patch1: 140cb84c-remote-viewer-remove--spice-controller.patch
+Patch2: 
bf39970a-virt-viewer.spec.in-fix-build-after-spice-xpi-client-removal.patch
+Patch3: virtview-fix-configure-after-spice-controller-removal.patch
 Patch50:netcat.patch
 Patch51:virtview-desktop.patch
 Patch52:virtview-dont-show-Domain-0.patch
@@ -52,6 +55,9 @@
 
 %prep
 %setup -q
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
 %patch50 -p1
 %patch51 -p1
 %patch52 -p1

++ 140cb84c-remote-viewer-remove--spice-controller.patch ++
 660 lines (skipped)

++ 
bf39970a-virt-viewer.spec.in-fix-build-after-spice-xpi-client-removal.patch 
++
Subject: virt-viewer.spec.in: fix build after spice-xpi-client removal
From: Marc-André Lureau marcandre.lur...@redhat.com Thu Nov 16 18:07:39 2017 
+0100
Date: Fri Nov 17 08:39:14 2017 +0100:
Git: bf39970a1fee99838ee8e59da9c7ca525e035076

This fixes commit 140cb84c2538bf0eab7dea2035dfecc4db74c784, where we
removed the spice-xpi-client-remote-viewer.

Signed-off-by: Marc-André Lureau 
Reviewed-by: Daniel P. Berrange 

diff --git a/virt-viewer.spec.in b/virt-viewer.spec.in
index 44ef92e..54e2121 100644
--- a/virt-viewer.spec.in
+++ b/virt-viewer.spec.in
@@ -89,9 +89,6 @@ autoreconf -if
 %install
 rm -rf $RPM_BUILD_ROOT
 %__make install  DESTDIR=$RPM_BUILD_ROOT
-mkdir -p %{buildroot}%{_libexecdir}
-touch %{buildroot}%{_libexecdir}/spice-xpi-client
-install -m 0755 data/spice-xpi-client-remote-viewer %{buildroot}%{_libexecdir}/
 %find_lang %{name}
 
 %clean
@@ -100,8 +97,6 @@ rm -rf $RPM_BUILD_ROOT
 %post
 /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
 /bin/touch --no-create %{_datadir}/mime/packages &> /dev/null || :
-%{_sbindir}/update-alternatives --install %{_libexecdir}/spice-xpi-client \
-  spice-xpi-client %{_libexecdir}/spice-xpi-client-remote-viewer 25
 /usr/bin/update-desktop-database -q %{_datadir}/applications
 
 %postun
@@ -109,7 +104,6 @@ if [ $1 -eq 0 ] ; then
   /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
   /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
   /usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
-  %{_sbindir}/update-alternatives --remove spice-xpi-client 
%{_libexecdir}/spice-xpi-client-remote-viewer
 fi
 /usr/bin/update-desktop-database -q %{_datadir}/applications
 
@@ -127,8 +121,6 @@ fi
 %{_datadir}/applications/remote-viewer.desktop
 %{_datadir}/appdata/remote-viewer.appdata.xml
 %{_datadir}/mime/packages/virt-viewer-mime.xml
-%ghost %{_libexecdir}/spice-xpi-client
-%{_libexecdir}/spice-xpi-client-remote-viewer
 %{_mandir}/man1/virt-viewer.1*
 %{_mandir}/man1/remote-viewer.1*
 
++ virtview-fix-configure-after-spice-controller-removal.patch ++
 694 lines (skipped)




commit virt-viewer for openSUSE:Factory

2017-08-24 Thread root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2017-08-24 18:53:18

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is "virt-viewer"

Thu Aug 24 18:53:18 2017 rev:60 rq:517066 version:6.0

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2017-02-03 
20:04:32.243176131 +0100
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2017-08-24 18:53:23.169079992 +0200
@@ -1,0 +2,29 @@
+Tue Aug 15 09:14:21 MDT 2017 - carn...@suse.com
+
+- Update to virt-viewer version 6.0
+  virt-viewer-6.0.tar.bz2
+  - Mention use of ssh-agent in man page
+  - Display connection issue warnings in main window
+  - Switch to GTask API
+  - Add support changing CD ISO with oVirt foreign menu
+  - Update various outdated links in README
+  - Avoid printing password in debug logs
+  - Pass hostname to authentication dialog
+  - Fix example URLs in man page
+  - Add args to virt-viewer to specify whether to resolve VM based on ID, UUID 
or name
+  - Fix misc runtime warnings
+  - Improve support for extracting listening info from XML
+  - Enable connecting to SPICE over UNIX socket
+  - Fix warnings with newer GCCs
+  - Allow controlling zoom level with keypad
+  - Don’t close app during seemless migration
+  - Don’t show toolbar in kiosk mode
+  - Re-show auth dialog in kiosk mode
+  - Don’t show error when cancelling auth
+  - Change default screenshot name to ‘Screenshot.png’
+  - Report errors when saving screenshot
+  - Fix build with latest glib-mkenums
+- Dropped
+  reverse-3d5627d7-for-xen.patch
+
+---

Old:

  reverse-3d5627d7-for-xen.patch
  virt-viewer-5.0.tar.gz

New:

  virt-viewer-6.0.tar.gz



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.I6wmMb/_old  2017-08-24 18:53:23.780993832 +0200
+++ /var/tmp/diff_new_pack.I6wmMb/_new  2017-08-24 18:53:23.784993269 +0200
@@ -16,55 +16,32 @@
 #
 
 
-%if %suse_version >= 1315
 %define gtk_arg --with-gtk=3.0
-%else
-%define gtk_arg --with-gtk=2.0
-%endif
 
 Name:   virt-viewer
 Summary:Virtual Machine Viewer
 License:GPL-2.0+
 Group:  System/Monitoring
-Version:5.0
+Version:6.0
 Release:0
 Url:http://www.virt-manager.org
 Source: 
https://virt-manager.org/download/sources/virt-viewer/%name-%version.tar.gz
 Patch50:netcat.patch
 Patch51:virtview-desktop.patch
-Patch52:reverse-3d5627d7-for-xen.patch
-Patch53:virtview-dont-show-Domain-0.patch
+Patch52:virtview-dont-show-Domain-0.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 BuildRequires:  automake
-%if %suse_version >= 1315
-BuildRequires:  pkgconfig(gtk+-3.0)
-%else
-BuildRequires:  glib2-devel >= 2.26
-BuildRequires:  gtk2-devel
-%endif
-BuildRequires:  libxml2-devel
-BuildRequires:  pkgconfig(libvirt) >= 0.10.0
-BuildRequires:  pkgconfig(libvirt-glib-1.0) >= 0.1.8
-%if %suse_version > 1140
-%if %suse_version >= 1315
-BuildRequires:  pkgconfig(gtk-vnc-2.0)
-%else
-BuildRequires:  gtk-vnc2-devel
-%endif
-%endif
 BuildRequires:  gtk-vnc-devel >= 0.3.8
+BuildRequires:  intltool
 BuildRequires:  libglade2-devel
-%if %suse_version > 1130
 BuildRequires:  libpixman-1-0-devel
-%else
-BuildRequires:  libpixman
-%endif
-BuildRequires:  intltool
-%if %suse_version >= 1230
+BuildRequires:  libxml2-devel
 BuildRequires:  spice-gtk-devel
-Requires:   libspice-controller0
-%endif
+BuildRequires:  pkgconfig(gtk+-3.0)
+BuildRequires:  pkgconfig(gtk-vnc-2.0)
+BuildRequires:  pkgconfig(libvirt) >= 0.10.0
+BuildRequires:  pkgconfig(libvirt-glib-1.0) >= 0.1.8
 # Our Runtime requirements
 Requires:   netcat
 
@@ -78,15 +55,9 @@
 %patch50 -p1
 %patch51 -p1
 %patch52 -p1
-%patch53 -p1
 
 %build
-echo "suse_version = %suse_version"
-%if %suse_version >= 1230
 %configure --with-spice-gtk %{gtk_arg} --disable-update-mimedb
-%else
-%configure --with-gtk=2.0 --disable-update-mimedb 
GTKVNC_CFLAGS=-I/usr/include/gtk-vnc-1.0 GTKVNC_LIBS=-lgtk-vnc-1.0
-%endif
 make %{?_smp_mflags}
 
 %install

++ netcat.patch ++
--- /var/tmp/diff_new_pack.I6wmMb/_old  2017-08-24 18:53:23.828987074 +0200
+++ /var/tmp/diff_new_pack.I6wmMb/_new  2017-08-24 18:53:23.828987074 +0200
@@ -1,7 +1,7 @@
-Index: virt-viewer-5.0/src/virt-viewer-app.c
+Index: virt-viewer-6.0/src/virt-viewer-app.c
 ===
 virt-viewer-5.0.orig/src/virt-viewer-app.c
-+++ virt-viewer-5.0/src/virt-viewer-app.c
+--- virt-viewer-6.0.orig/src/virt-viewer-app.c
 

commit virt-viewer for openSUSE:Factory

2017-02-03 Thread root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2017-01-27 11:16:48

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is "virt-viewer"

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2016-12-06 
14:27:09.0 +0100
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2017-02-03 20:04:32.243176131 +0100
@@ -1,0 +2,6 @@
+Wed Jan 18 10:44:50 MST 2017 - carn...@suse.com
+
+- bsc#976796 - Drop duplicate icon entry in desktop file
+  virtview-desktop.patch
+
+---



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.l15rZw/_old  2017-02-03 20:04:32.923080431 +0100
+++ /var/tmp/diff_new_pack.l15rZw/_new  2017-02-03 20:04:32.927079867 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package virt-viewer
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed

++ virtview-desktop.patch ++
--- /var/tmp/diff_new_pack.l15rZw/_old  2017-02-03 20:04:32.967074238 +0100
+++ /var/tmp/diff_new_pack.l15rZw/_new  2017-02-03 20:04:32.967074238 +0100
@@ -1,15 +1,14 @@
-Index: virt-viewer-3.1/data/remote-viewer.desktop.in
+Index: virt-viewer-5.0/data/remote-viewer.desktop.in
 ===
 virt-viewer-3.1.orig/data/remote-viewer.desktop.in
-+++ virt-viewer-3.1/data/remote-viewer.desktop.in
-@@ -1,10 +1,21 @@
+--- virt-viewer-5.0.orig/data/remote-viewer.desktop.in
 virt-viewer-5.0/data/remote-viewer.desktop.in
+@@ -1,10 +1,20 @@
  [Desktop Entry]
  _Name=Remote Viewer
 -_Comment=Access remote desktops
 +X-SuSE-translate=true
 +Comment=Access remote desktops
 +GenericName=Remote Desktop Client
-+Icon=yast-vm-management
  Exec=remote-viewer %u
  Type=Application
  Terminal=false




commit virt-viewer for openSUSE:Factory

2016-12-06 Thread h_root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2016-12-06 14:27:06

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is "virt-viewer"

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2016-10-31 
09:56:09.0 +0100
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2016-12-06 14:27:09.0 +0100
@@ -2 +2 @@
-Thu Oct 13 00:41:04 CEST 2016 - r...@suse.de
+Mon Nov 28 10:22:47 MST 2016 - carn...@suse.com
@@ -4 +4,16 @@
-- remove exclusivearch 
+- Update to virt-viewer version 5.0
+  virt-viewer-5.0.tar.bz2
+  - Don’t retry authentication when credentials are provided via vvfile
+  - Fix display of guest name in title for VNC
+  - Fix detection of domain stop when tunnelling over SSH
+  - Fix problem resizing with GTK client side decorations
+  - Fix leak on file transfer
+  - Only include native spec file in dist to fix rpmbuild -ta
+  - Check min required spice-glib version
+  - Display errors to user if failing to open UNIX socket
+  - Simplify file transfer UI to only display overall progress, rather than 
full list of files
+  - Show list of files which failed to transfer
+- Dropped
+  35e489d5-fix-display-of-guest-name-in-title-for-vnc.patch
+  813c775c-fix-filename-leak-on-transfer-dialog.patch
+  a62827d2-close-when-seeing-domain-stop-event.patch

Old:

  35e489d5-fix-display-of-guest-name-in-title-for-vnc.patch
  813c775c-fix-filename-leak-on-transfer-dialog.patch
  a62827d2-close-when-seeing-domain-stop-event.patch
  virt-viewer-4.0.tar.gz

New:

  virt-viewer-5.0.tar.gz



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.IhaXEQ/_old  2016-12-06 14:27:10.0 +0100
+++ /var/tmp/diff_new_pack.IhaXEQ/_new  2016-12-06 14:27:10.0 +0100
@@ -26,13 +26,10 @@
 Summary:Virtual Machine Viewer
 License:GPL-2.0+
 Group:  System/Monitoring
-Version:4.0
+Version:5.0
 Release:0
 Url:http://www.virt-manager.org
 Source: 
https://virt-manager.org/download/sources/virt-viewer/%name-%version.tar.gz
-Patch1: 35e489d5-fix-display-of-guest-name-in-title-for-vnc.patch
-Patch2: a62827d2-close-when-seeing-domain-stop-event.patch
-Patch3: 813c775c-fix-filename-leak-on-transfer-dialog.patch
 Patch50:netcat.patch
 Patch51:virtview-desktop.patch
 Patch52:reverse-3d5627d7-for-xen.patch
@@ -78,9 +75,6 @@
 
 %prep
 %setup -q
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
 %patch50 -p1
 %patch51 -p1
 %patch52 -p1

++ netcat.patch ++
--- /var/tmp/diff_new_pack.IhaXEQ/_old  2016-12-06 14:27:10.0 +0100
+++ /var/tmp/diff_new_pack.IhaXEQ/_new  2016-12-06 14:27:10.0 +0100
@@ -1,8 +1,8 @@
-Index: virt-viewer-4.0/src/virt-viewer-app.c
+Index: virt-viewer-5.0/src/virt-viewer-app.c
 ===
 virt-viewer-4.0.orig/src/virt-viewer-app.c
-+++ virt-viewer-4.0/src/virt-viewer-app.c
-@@ -626,7 +626,7 @@ virt_viewer_app_open_tunnel_ssh(const ch
+--- virt-viewer-5.0.orig/src/virt-viewer-app.c
 virt-viewer-5.0/src/virt-viewer-app.c
+@@ -627,7 +627,7 @@ virt_viewer_app_open_tunnel_ssh(const ch
  else
  g_string_append_printf(cat, "UNIX-CONNECT:%s", unixsock);
  

++ virt-viewer-4.0.tar.gz -> virt-viewer-5.0.tar.gz ++
 63370 lines of diff (skipped)




commit virt-viewer for openSUSE:Factory

2016-10-31 Thread h_root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2016-10-31 09:56:08

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is "virt-viewer"

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2016-09-07 
11:46:15.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2016-10-31 09:56:09.0 +0100
@@ -1,0 +2,5 @@
+Thu Oct 13 00:41:04 CEST 2016 - r...@suse.de
+
+- remove exclusivearch 
+
+---



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.fr49bf/_old  2016-10-31 09:56:10.0 +0100
+++ /var/tmp/diff_new_pack.fr49bf/_new  2016-10-31 09:56:10.0 +0100
@@ -37,7 +37,6 @@
 Patch51:virtview-desktop.patch
 Patch52:reverse-3d5627d7-for-xen.patch
 Patch53:virtview-dont-show-Domain-0.patch
-ExclusiveArch:  %ix86 x86_64 s390x
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 BuildRequires:  automake




commit virt-viewer for openSUSE:Factory

2016-09-07 Thread h_root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2016-09-07 11:46:11

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is "virt-viewer"

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2016-08-25 
09:57:11.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2016-09-07 11:46:15.0 +0200
@@ -59,0 +60,6 @@
+
+---
+Wed Jun  8 15:51:14 MDT 2016 - carn...@suse.com
+
+- bsc#982793 - virt-viewer installation create unusable launcher
+  virtview-desktop.patch



Other differences:
--
++ virtview-desktop.patch ++
--- /var/tmp/diff_new_pack.tGHRlO/_old  2016-09-07 11:46:16.0 +0200
+++ /var/tmp/diff_new_pack.tGHRlO/_new  2016-09-07 11:46:16.0 +0200
@@ -1,27 +1,24 @@
-Index: virt-viewer-4.0/data/remote-viewer.desktop.in
+Index: virt-viewer-3.1/data/remote-viewer.desktop.in
 ===
 virt-viewer-4.0.orig/data/remote-viewer.desktop.in
-+++ virt-viewer-4.0/data/remote-viewer.desktop.in
-@@ -1,10 +1,22 @@
+--- virt-viewer-3.1.orig/data/remote-viewer.desktop.in
 virt-viewer-3.1/data/remote-viewer.desktop.in
+@@ -1,10 +1,21 @@
  [Desktop Entry]
  _Name=Remote Viewer
 -_Comment=Access remote desktops
--Exec=remote-viewer %u
 +X-SuSE-translate=true
-+Comment=Virtual Machine Viewer for Xen and KVM
-+GenericName=VM Viewer for Xen/KVM
++Comment=Access remote desktops
++GenericName=Remote Desktop Client
 +Icon=yast-vm-management
-+Exec=/usr/bin/virt-viewer
+ Exec=remote-viewer %u
  Type=Application
  Terminal=false
--MimeType=x-scheme-handler/spice;application/x-virt-viewer;
+ MimeType=x-scheme-handler/spice;application/x-virt-viewer;
 -StartupNotify=true
 -Categories=GNOME;GTK;Network;RemoteAccess;
-+MimeType=x-scheme-handler/spice;
 +Encoding=UTF-8
-+Categories=Qt;X-SuSE-YaST;
++Categories=GNOME;GTK;Network;RemoteAccess;X-SuSE-YaST;
 +X-KDE-ModuleType=Library
-+X-KDE-RootOnly=true
 +X-KDE-HasReadOnlyMode=false
 +X-SuSE-YaST-Call=/usr/bin/virt-manager
 +X-SuSE-YaST-Group=Virtualization




commit virt-viewer for openSUSE:Factory

2016-08-25 Thread h_root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2016-08-25 09:57:08

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is "virt-viewer"

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2016-08-03 
11:42:56.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2016-08-25 09:57:11.0 +0200
@@ -1,0 +2,9 @@
+Fri Aug 19 12:48:53 MDT 2016 - carn...@suse.com
+
+- bsc#983689 - virt-viewer shows Domain-0 on list of virtual
+  machines
+  virtview-dont-show-Domain-0.patch
+- Upstream bug fix
+  813c775c-fix-filename-leak-on-transfer-dialog.patch
+
+---

New:

  813c775c-fix-filename-leak-on-transfer-dialog.patch
  virtview-dont-show-Domain-0.patch



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.CQW9Od/_old  2016-08-25 09:57:12.0 +0200
+++ /var/tmp/diff_new_pack.CQW9Od/_new  2016-08-25 09:57:12.0 +0200
@@ -32,9 +32,11 @@
 Source: 
https://virt-manager.org/download/sources/virt-viewer/%name-%version.tar.gz
 Patch1: 35e489d5-fix-display-of-guest-name-in-title-for-vnc.patch
 Patch2: a62827d2-close-when-seeing-domain-stop-event.patch
+Patch3: 813c775c-fix-filename-leak-on-transfer-dialog.patch
 Patch50:netcat.patch
 Patch51:virtview-desktop.patch
 Patch52:reverse-3d5627d7-for-xen.patch
+Patch53:virtview-dont-show-Domain-0.patch
 ExclusiveArch:  %ix86 x86_64 s390x
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -79,9 +81,11 @@
 %setup -q
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 %patch50 -p1
 %patch51 -p1
 %patch52 -p1
+%patch53 -p1
 
 %build
 echo "suse_version = %suse_version"

++ 813c775c-fix-filename-leak-on-transfer-dialog.patch ++
Subject: Fix filename leak on transfer dialog
From: Victor Toso victort...@redhat.com Wed Aug 3 15:40:14 2016 +0200
Date: Fri Aug 5 10:59:23 2016 +0200:
Git: 813c775cc9a111ddb0be9e32e797c61fb797fa55

spice_file_transfer_task_get_filename() was wrongly annotated as
transfer none. We can safely free this string after usage.

Index: virt-viewer-4.0/src/virt-viewer-file-transfer-dialog.c
===
--- virt-viewer-4.0.orig/src/virt-viewer-file-transfer-dialog.c
+++ virt-viewer-4.0/src/virt-viewer-file-transfer-dialog.c
@@ -101,11 +101,14 @@ typedef struct {
 static TaskWidgets *task_widgets_new(SpiceFileTransferTask *task)
 {
 TaskWidgets *w = g_new0(TaskWidgets, 1);
+gchar *filename;
 
 w->vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 6);
 w->hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 12);
 w->progress = gtk_progress_bar_new();
-w->label = gtk_label_new(spice_file_transfer_task_get_filename(task));
+filename = spice_file_transfer_task_get_filename(task);
+w->label = gtk_label_new(filename);
+g_free(filename);
 w->cancel = gtk_button_new_from_icon_name("gtk-cancel", 
GTK_ICON_SIZE_SMALL_TOOLBAR);
 gtk_widget_set_hexpand(w->progress, TRUE);
 gtk_widget_set_valign(w->progress, GTK_ALIGN_CENTER);
++ virtview-dont-show-Domain-0.patch ++
References: bsc#983689
A user should not be able to connect to Domain-0. Don't show it
in the list.

Index: virt-viewer-4.0/src/virt-viewer.c
===
--- virt-viewer-4.0.orig/src/virt-viewer.c
+++ virt-viewer-4.0/src/virt-viewer.c
@@ -753,6 +753,7 @@ choose_vm(GtkWindow *main_window,
 virDomainPtr *domains, dom = NULL;
 int i, vms_running;
 unsigned int flags = VIR_CONNECT_LIST_DOMAINS_RUNNING;
+const char *domain_name;
 
 g_return_val_if_fail(vm_name != NULL, NULL);
 free(*vm_name);
@@ -761,8 +762,11 @@ choose_vm(GtkWindow *main_window,
 
 vms_running = virConnectListAllDomains(conn, , flags);
 for (i = 0; i < vms_running; i++) {
+domain_name = virDomainGetName(domains[i]);
+if (domain_name == NULL || !strcmp(domain_name, "Domain-0"))
+continue;
 gtk_list_store_append(model, );
-gtk_list_store_set(model, , 0, virDomainGetName(domains[i]), -1);
+gtk_list_store_set(model, , 0, domain_name, -1);
 virDomainFree(domains[i]);
 }
 free(domains);



commit virt-viewer for openSUSE:Factory

2016-08-03 Thread h_root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2016-08-03 11:42:54

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is "virt-viewer"

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2016-07-20 
09:17:44.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2016-08-03 11:42:56.0 +0200
@@ -1,0 +2,6 @@
+Fri Jul 22 13:41:25 UTC 2016 - jeng...@inai.de
+
+- Use source URL
+- Remove redundant %clean section
+
+---

Old:

  virt-viewer-4.0.tar.bz2

New:

  virt-viewer-4.0.tar.gz



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.zlltjP/_old  2016-08-03 11:42:58.0 +0200
+++ /var/tmp/diff_new_pack.zlltjP/_new  2016-08-03 11:42:58.0 +0200
@@ -29,7 +29,7 @@
 Version:4.0
 Release:0
 Url:http://www.virt-manager.org
-Source0:virt-viewer-4.0.tar.bz2
+Source: 
https://virt-manager.org/download/sources/virt-viewer/%name-%version.tar.gz
 Patch1: 35e489d5-fix-display-of-guest-name-in-title-for-vnc.patch
 Patch2: a62827d2-close-when-seeing-domain-stop-event.patch
 Patch50:netcat.patch
@@ -96,9 +96,6 @@
 %makeinstall
 %{find_lang} %{name}
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files -f %{name}.lang
 %defattr(-,root,root,-)
 %doc COPYING AUTHORS ChangeLog




commit virt-viewer for openSUSE:Factory

2016-07-20 Thread h_root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2016-07-20 09:17:40

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is "virt-viewer"

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2016-06-14 
23:07:10.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2016-07-20 09:17:44.0 +0200
@@ -2 +2 @@
-Wed Jun  8 15:51:14 MDT 2016 - carn...@suse.com
+Thu Jul 14 19:46:34 MDT 2016 - carn...@suse.com
@@ -4,2 +4,41 @@
-- bsc#982793 - virt-viewer installation create unusable launcher
-  virtview-desktop.patch
+- bsc#988858 - SLES12-SP2-Beta4 - virt-viewer throws Gtk-WARNING
+  even with --quiet switch
+- Update to virt-viewer version 4.0
+  virt-viewer-4.0.tar.bz2
+  35e489d5-fix-display-of-guest-name-in-title-for-vnc.patch
+  a62827d2-close-when-seeing-domain-stop-event.patch
+  - Drop support for gtk2 builds
+  - Require spice-gtk >= 0.31
+  - Require glib2 >= 2.38
+  - Require gtk3 >= 3.10
+  - Require libvirt-glib >= 0.1.8
+  - Increase minimum window size fo 320×200 instead of 50×50
+  - Remove use of GSLice
+  - Don’t show usbredir button if not connected yet
+  - Only compute monitor mapping in full screen
+  - Don’t ignore usb-filter in spiec vv-file
+  - Port to use GtkApplication API
+  - Don’t leave window open after connection failure
+  - Validate symbols from max glib/gdk versions
+  - Don’t use GtkStock
+  - Don’t use gtk_widget-modify_{fg,bg} APIs
+  - Drop use of built-in eventloop in favour of libvirt-glib
+  - Don’t open X display while parsing command line
+  - Fix window title
+  - Use GResource for building ui files into binary
+  - Fix crash with invalid spice monitor mapping
+  - Add dialog to show file transfer progress and allow cancelling
+  - Remove unused nsis installer support
+  - Include adwaita icon theme in msi builds
+  - Add more menu mnemonics
+  - Fix support for windows consoles to allow I/O redirection
+  - Add support for ovirt sso-token in vv-file
+  - Fix crash with zooming window while not connected
+  - Remove custom auto drawer widget with GtkRevealer
+  - Add appdata file for gnome software
+  - Misc other bug fixes
+  - Refresh translations
+- Dropped
+  fix-crash-on-zoom-change.patch   


  
+  windows-keycombo.patch
+  netware-keycombo.patch 

Old:

  fix-crash-on-zoom-change.patch
  netware-keycombo.patch
  virt-viewer-3.1.tar.bz2
  windows-keycombo.patch

New:

  35e489d5-fix-display-of-guest-name-in-title-for-vnc.patch
  a62827d2-close-when-seeing-domain-stop-event.patch
  virt-viewer-4.0.tar.bz2



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.uBNWhu/_old  2016-07-20 09:17:44.0 +0200
+++ /var/tmp/diff_new_pack.uBNWhu/_new  2016-07-20 09:17:44.0 +0200
@@ -26,16 +26,15 @@
 Summary:Virtual Machine Viewer
 License:GPL-2.0+
 Group:  System/Monitoring
-Version:3.1
+Version:4.0
 Release:0
 Url:http://www.virt-manager.org
-Source0:virt-viewer-3.1.tar.bz2
+Source0:virt-viewer-4.0.tar.bz2
+Patch1: 35e489d5-fix-display-of-guest-name-in-title-for-vnc.patch
+Patch2: a62827d2-close-when-seeing-domain-stop-event.patch
 Patch50:netcat.patch
-Patch51:windows-keycombo.patch
-Patch52:netware-keycombo.patch
-Patch53:virtview-desktop.patch
-Patch54:reverse-3d5627d7-for-xen.patch
-Patch55:fix-crash-on-zoom-change.patch
+Patch51:virtview-desktop.patch
+Patch52:reverse-3d5627d7-for-xen.patch
 ExclusiveArch:  %ix86 x86_64 s390x
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -46,8 +45,9 @@
 BuildRequires:  glib2-devel >= 2.26
 BuildRequires:  gtk2-devel
 %endif
-BuildRequires:  libvirt-devel >= 0.9.7
 BuildRequires:  libxml2-devel
+BuildRequires:  pkgconfig(libvirt) >= 0.10.0
+BuildRequires:  pkgconfig(libvirt-glib-1.0) >= 0.1.8
 %if %suse_version > 1140
 %if %suse_version >= 1315
 BuildRequires:  pkgconfig(gtk-vnc-2.0)
@@ -77,12 +77,11 @@
 
 %prep
 %setup -q
+%patch1 -p1
+%patch2 -p1
 %patch50 -p1
 %patch51 -p1
 %patch52 -p1
-%patch53 -p1
-%patch54 -p1
-%patch55 -p1
 
 %build
 echo "suse_version = %suse_version"
@@ -103,10 +102,9 @@
 %files -f %{name}.lang
 %defattr(-,root,root,-)
 %doc COPYING AUTHORS ChangeLog
+%dir %{_datadir}/appdata
 %{_bindir}/%{name}
 %{_bindir}/remote-viewer
-%dir 

commit virt-viewer for openSUSE:Factory

2016-06-14 Thread h_root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2016-06-14 23:07:09

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is "virt-viewer"

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2016-01-22 
01:09:09.0 +0100
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2016-06-14 23:07:10.0 +0200
@@ -1,0 +2,18 @@
+Wed Jun  8 15:51:14 MDT 2016 - carn...@suse.com
+
+- bsc#982793 - virt-viewer installation create unusable launcher
+  virtview-desktop.patch
+
+---
+Mon Jun  6 16:45:23 MDT 2016 - carn...@suse.com
+
+- bsc#979735 - Virt-viewer: Changing zoom on disconnected machine
+  crashes application
+  fix-crash-on-zoom-change.patch
+
+---
+Tue Jan 12 07:36:32 UTC 2016 - oher...@suse.de
+
+- Require at least glib2 >= 2.26 in pre-SLE12 builds
+
+---

New:

  fix-crash-on-zoom-change.patch



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.8KDsfE/_old  2016-06-14 23:07:11.0 +0200
+++ /var/tmp/diff_new_pack.8KDsfE/_new  2016-06-14 23:07:11.0 +0200
@@ -35,6 +35,7 @@
 Patch52:netware-keycombo.patch
 Patch53:virtview-desktop.patch
 Patch54:reverse-3d5627d7-for-xen.patch
+Patch55:fix-crash-on-zoom-change.patch
 ExclusiveArch:  %ix86 x86_64 s390x
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -42,6 +43,7 @@
 %if %suse_version >= 1315
 BuildRequires:  pkgconfig(gtk+-3.0)
 %else
+BuildRequires:  glib2-devel >= 2.26
 BuildRequires:  gtk2-devel
 %endif
 BuildRequires:  libvirt-devel >= 0.9.7
@@ -80,6 +82,7 @@
 %patch52 -p1
 %patch53 -p1
 %patch54 -p1
+%patch55 -p1
 
 %build
 echo "suse_version = %suse_version"

++ fix-crash-on-zoom-change.patch ++
References: bsc#979735

Index: virt-viewer-3.1/src/virt-viewer-window.c
===
--- virt-viewer-3.1.orig/src/virt-viewer-window.c
+++ virt-viewer-3.1/src/virt-viewer-window.c
@@ -384,6 +384,8 @@ G_MODULE_EXPORT void
 virt_viewer_window_menu_view_zoom_out(GtkWidget *menu G_GNUC_UNUSED,
   VirtViewerWindow *self)
 {
+if ( self->priv->display == NULL )
+return;
 virt_viewer_window_set_zoom_level(self,
   
virt_viewer_window_get_real_zoom_level(self) - ZOOM_STEP);
 }
@@ -392,6 +394,8 @@ G_MODULE_EXPORT void
 virt_viewer_window_menu_view_zoom_in(GtkWidget *menu G_GNUC_UNUSED,
  VirtViewerWindow *self)
 {
+if ( self->priv->display == NULL )
+return;
 virt_viewer_window_set_zoom_level(self,
   
virt_viewer_window_get_real_zoom_level(self) + ZOOM_STEP);
 }
++ virtview-desktop.patch ++
--- /var/tmp/diff_new_pack.8KDsfE/_old  2016-06-14 23:07:11.0 +0200
+++ /var/tmp/diff_new_pack.8KDsfE/_new  2016-06-14 23:07:11.0 +0200
@@ -2,26 +2,23 @@
 ===
 --- virt-viewer-3.1.orig/data/remote-viewer.desktop.in
 +++ virt-viewer-3.1/data/remote-viewer.desktop.in
-@@ -1,10 +1,22 @@
+@@ -1,10 +1,21 @@
  [Desktop Entry]
  _Name=Remote Viewer
 -_Comment=Access remote desktops
--Exec=remote-viewer %u
 +X-SuSE-translate=true
-+Comment=Virtual Machine Viewer for Xen and KVM
-+GenericName=VM Viewer for Xen/KVM
++Comment=Access remote desktops
++GenericName=Remote Desktop Client
 +Icon=yast-vm-management
-+Exec=/usr/bin/virt-viewer
+ Exec=remote-viewer %u
  Type=Application
  Terminal=false
--MimeType=x-scheme-handler/spice;application/x-virt-viewer;
+ MimeType=x-scheme-handler/spice;application/x-virt-viewer;
 -StartupNotify=true
 -Categories=GNOME;GTK;Network;RemoteAccess;
-+MimeType=x-scheme-handler/spice;
 +Encoding=UTF-8
-+Categories=Qt;X-SuSE-YaST;
++Categories=GNOME;GTK;Network;RemoteAccess;X-SuSE-YaST;
 +X-KDE-ModuleType=Library
-+X-KDE-RootOnly=true
 +X-KDE-HasReadOnlyMode=false
 +X-SuSE-YaST-Call=/usr/bin/virt-manager
 +X-SuSE-YaST-Group=Virtualization




commit virt-viewer for openSUSE:Factory

2016-01-21 Thread h_root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2016-01-21 23:43:46

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is "virt-viewer"

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2015-12-20 
10:52:51.0 +0100
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2016-01-22 01:09:09.0 +0100
@@ -1,0 +2,58 @@
+Mon Jan 11 08:51:09 MST 2016 - carn...@suse.com
+
+- Update to virt-viewer version 3.1
+  virt-viewer-3.1.tar.bz2
+  - Last release to support GTK2 for Linux. The next 4.0 release
+will be GTK3 only
+  - Don’t add URI scheme / path info to oVirt URIs
+  - Require spice-gtk >= 0.30
+  - Enable webdav folder sharing with spice
+  - Add preferences UI dialog
+  - Take –direct into account when checking if guest is reachable
+  - Take SPICE proxy into account when connecting to oVirt
+instances
+  - Fail gracefully when hostname is not returned by oVirt
+  - Don’t show empty foreign menu on secondary displays
+  - Avoid accidentally trying to connect to port 0 when oVirt
+doesn’t specify a port number
+  - Correctly update geometry when enabling/disabling display heads
+  - Avoid accidentally creating extra monitors when using
+configuration file monitor mapping
+  - Exit normally when cancelling connect dialog
+  - Don’t wait for a guest that we know will never show up
+  - Fix crash when using –reconnect with SPICE
+  - Avoid zooming out if it would decrease window size below
+minimum required for top menu display
+  - Fix crash when disabling last enabled display
+  - Honour changes in display position from guest
+  - Don’t show error dialog twice for unknown graphics type
+  - Allow to cancel oVirt auth without error
+  - Set sensitivity of display menu based on whether it is usable
+or not
+  - Set sensitivity of tool bar buttons based on whether they are
+usable or not
+  - Set guest name reported by VNC
+  - Fix crash when using gtk-vnc 0.3.8
+  - Fix alt-tab behaviour in choose VM dialog
+  - Don’t allow missing display in monitor mapping config
+  - Add –with-osid flag to configure to allow specifying the
+operating system build target. The values should be based on
+libosinfo OS short IDs.
+  - Ensure windows installer places menu icon for all users not
+just admin. Requires manual uninstall of previous windows
+version
+  - Require address in remote viewer connect dialog
+  - Automatically retry VNC connection after auth failure
+  - Drop GTK2 support for Windows builds
+  - Enable keepalives on libvirt conncetion
+  - Allow resize of window to arbitrary size
+  - Fix thread safety handling event callbacks
+  - Avoid deprecation warnings with newer glib
+  - Pulled in multiple fixes for event loop from libvirt-glib
+  - Fix misc bugs reported by coverity
+  - Fix binary ID in MSI installer
+  - Stop polling libvirt after reconnecting to libvirt
+- Drop old tarball
+  virt-viewer-3.0.tar.bz2
+
+---

Old:

  virt-viewer-3.0.tar.bz2

New:

  virt-viewer-3.1.tar.bz2



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.N7cAKa/_old  2016-01-22 01:09:11.0 +0100
+++ /var/tmp/diff_new_pack.N7cAKa/_new  2016-01-22 01:09:11.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package virt-viewer
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %if %suse_version >= 1315
 %define gtk_arg --with-gtk=3.0
 %else
@@ -25,10 +26,10 @@
 Summary:Virtual Machine Viewer
 License:GPL-2.0+
 Group:  System/Monitoring
-Version:3.0
+Version:3.1
 Release:0
 Url:http://www.virt-manager.org
-Source0:virt-viewer-3.0.tar.bz2
+Source0:virt-viewer-3.1.tar.bz2
 Patch50:netcat.patch
 Patch51:windows-keycombo.patch
 Patch52:netware-keycombo.patch

++ netcat.patch ++
--- /var/tmp/diff_new_pack.N7cAKa/_old  2016-01-22 01:09:11.0 +0100
+++ /var/tmp/diff_new_pack.N7cAKa/_new  2016-01-22 01:09:11.0 +0100
@@ -1,7 +1,7 @@
-Index: virt-viewer-3.0/src/virt-viewer-app.c
+Index: virt-viewer-3.1/src/virt-viewer-app.c
 ===
 

commit virt-viewer for openSUSE:Factory

2015-12-20 Thread h_root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2015-12-20 10:52:49

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is "virt-viewer"

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2015-09-30 
05:53:19.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2015-12-20 10:52:51.0 +0100
@@ -1,0 +2,56 @@
+Fri Dec 11 15:57:31 MST 2015 - carn...@suse.com
+
+- Update to virt-viewer version 3.0
+  virt-viewer-3.0.tar.bz2
+  - Last release to support GTK2 for Linux. The next 4.0 release
+will be GTK3 only
+  - Don’t add URI scheme / path info to oVirt URIs
+  - Require spice-gtk >= 0.30
+  - Enable webdav folder sharing with spice
+  - Add preferences UI dialog
+  - Take –direct into account when checking if guest is reachable
+  - Take SPICE proxy into account when connecting to oVirt
+instances
+  - Fail gracefully when hostname is not returned by oVirt
+  - Don’t show empty foreign menu on secondary displays
+  - Avoid accidentally trying to connect to port 0 when oVirt
+doesn’t specify a port number
+  - Correctly update geometry when enabling/disabling display heads
+  - Avoid accidentally creating extra monitors when using
+configuration file monitor mapping
+  - Exit normally when cancelling connect dialog
+  - Don’t wait for a guest that we know will never show up
+  - Fix crash when using –reconnect with SPICE
+  - Avoid zooming out if it would decrease window size below
+minimum required for top menu display
+  - Fix crash when disabling last enabled display
+  - Honour changes in display position from guest
+  - Don’t show error dialog twice for unknown graphics type
+  - Allow to cancel oVirt auth without error
+  - Set sensitivity of display menu based on whether it is usable
+or not
+  - Set sensitivity of tool bar buttons based on whether they are
+usable or not
+  - Set guest name reported by VNC
+  - Fix crash when using gtk-vnc 0.3.8
+  - Fix alt-tab behaviour in choose VM dialog
+  - Don’t allow missing display in monitor mapping config
+  - Add –with-osid flag to configure to allow specifying the
+operating system build target. The values should be based on
+libosinfo OS short IDs.
+  - Ensure windows installer places menu icon for all users not
+just admin. Requires manual uninstall of previous windows
+version
+  - Require address in remote viewer connect dialog
+  - Automatically retry VNC connection after auth failure
+  - Drop GTK2 support for Windows builds
+  - Enable keepalives on libvirt conncetion
+  - Allow resize of window to arbitrary size
+  - Fix thread safety handling event callbacks
+  - Avoid deprecation warnings with newer glib
+  - Pulled in multiple fixes for event loop from libvirt-glib
+  - Fix misc bugs reported by coverity
+  - Fix binary ID in MSI installer
+  - Stop polling libvirt after reconnecting to libvirt
+
+---

Old:

  virt-viewer-2.0.tar.bz2

New:

  virt-viewer-3.0.tar.bz2



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.l7DfZv/_old  2015-12-20 10:52:52.0 +0100
+++ /var/tmp/diff_new_pack.l7DfZv/_new  2015-12-20 10:52:52.0 +0100
@@ -25,10 +25,10 @@
 Summary:Virtual Machine Viewer
 License:GPL-2.0+
 Group:  System/Monitoring
-Version:2.0
+Version:3.0
 Release:0
 Url:http://www.virt-manager.org
-Source0:virt-viewer-2.0.tar.bz2
+Source0:virt-viewer-3.0.tar.bz2
 Patch50:netcat.patch
 Patch51:windows-keycombo.patch
 Patch52:netware-keycombo.patch
@@ -110,10 +110,12 @@
 %{_mandir}/man1/remote-viewer.1*
 %{_datadir}/applications/remote-viewer.desktop
 %{_datadir}/mime/packages/virt-viewer-mime.xml
+%{_datadir}/virt-viewer/ui/remote-viewer-connect.xml
 %{_datadir}/virt-viewer/ui/virt-viewer-about.xml
 %{_datadir}/virt-viewer/ui/virt-viewer-auth.xml
 %{_datadir}/virt-viewer/ui/virt-viewer.xml
 %{_datadir}/virt-viewer/ui/virt-viewer-guest-details.xml
 %{_datadir}/virt-viewer/ui/virt-viewer-vm-connection.xml
+%{_datadir}/virt-viewer/ui/virt-viewer-preferences.xml
 
 %changelog

++ netcat.patch ++
--- /var/tmp/diff_new_pack.l7DfZv/_old  2015-12-20 10:52:52.0 +0100
+++ /var/tmp/diff_new_pack.l7DfZv/_new  2015-12-20 10:52:52.0 +0100
@@ -1,8 +1,8 @@
-Index: virt-viewer-2.0/src/virt-viewer-app.c
+Index: virt-viewer-3.0/src/virt-viewer-app.c
 ===
 

commit virt-viewer for openSUSE:Factory

2015-09-29 Thread h_root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2015-09-30 05:53:18

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is "virt-viewer"

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2015-01-14 
11:45:47.0 +0100
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2015-09-30 05:53:19.0 +0200
@@ -1,0 +2,6 @@
+Mon Sep 21 15:06:17 MDT 2015 - carn...@suse.com
+
+- bsc#946816 - virt-viewer: version 2.0 can't connect to Xen VMs
+  reverse-3d5627d7-for-xen.patch
+
+---

New:

  reverse-3d5627d7-for-xen.patch



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.GjrvAn/_old  2015-09-30 05:53:20.0 +0200
+++ /var/tmp/diff_new_pack.GjrvAn/_new  2015-09-30 05:53:20.0 +0200
@@ -15,7 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
 %if %suse_version >= 1315
 %define gtk_arg --with-gtk=3.0
 %else
@@ -34,6 +33,7 @@
 Patch51:windows-keycombo.patch
 Patch52:netware-keycombo.patch
 Patch53:virtview-desktop.patch
+Patch54:reverse-3d5627d7-for-xen.patch
 ExclusiveArch:  %ix86 x86_64 s390x
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -78,6 +78,7 @@
 %patch51 -p1
 %patch52 -p1
 %patch53 -p1
+%patch54 -p1
 
 %build
 echo "suse_version = %suse_version"

++ reverse-3d5627d7-for-xen.patch ++
Revert this commit

From: Marc-André Lureau marcandre.lur...@gmail.com Wed Nov 12 11:14:19 2014 
+0100
Subject: virt-viewer: allow connection to unix socket only server
Date: Tue Nov 25 15:07:32 2014 +0100:
Git: 3d5627d79a32bea5337659652e09be0d009940a4

Even when the server doesn't provide a display connection address,
virt-viewer is able to connect to guest with libvirt attach.

Index: virt-viewer-2.0/src/virt-viewer.c
===
--- virt-viewer-2.0.orig/src/virt-viewer.c
+++ virt-viewer-2.0/src/virt-viewer.c
@@ -428,18 +428,17 @@ virt_viewer_extract_connect_info(VirtVie
 ghost = virt_viewer_extract_xpath_string(xmldesc, xpath);
 } else {
 xpath = 
g_strdup_printf("string(/domain/devices/graphics[@type='%s']/@socket)", type);
-unixsock = virt_viewer_extract_xpath_string(xmldesc, xpath);
+if ((unixsock = virt_viewer_extract_xpath_string(xmldesc, xpath)) == 
NULL) {
+virt_viewer_app_simple_message_dialog(app, _("Cannot determine the 
graphic address for the guest %s"),
+  priv->domkey);
+goto cleanup;
+}
 }
 
-if (ghost && gport) {
+if (ghost && gport)
 g_debug("Guest graphics address is %s:%s", ghost, gport);
-} else if (unixsock) {
+else if (unixsock)
 g_debug("Guest graphics address is %s", unixsock);
-} else {
-g_debug("Using direct libvirt connection");
-retval = TRUE;
-goto cleanup;
-}
 
 uri = virConnectGetURI(priv->conn);
 if (virt_viewer_util_extract_host(uri, NULL, , , , 
) < 0) {



commit virt-viewer for openSUSE:Factory

2015-01-14 Thread h_root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2015-01-14 11:45:17

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is virt-viewer

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2014-07-25 
09:09:49.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2015-01-14 11:45:47.0 +0100
@@ -1,0 +2,41 @@
+Mon Jan 12 11:40:08 MST 2015 - carn...@suse.com
+
+- Update to virt-viewer version 2.0
+  virt-viewer-2.0.tar.bz2
+  - Fix handling of zoom in/out accelerators
+  - Fix warning going in/out of fullscreen
+  - Add dialog showing info about the current guest
+  - Change format of fullscreen config setting to
+allow for sparse guest displays
+  - Write VM name to config file as a comment
+  - Never use fallback CA certs when loading vv-file
+  - Remove extraneous '/' from oVirt URIs
+  - Support oVirt foreign menus
+  - Allow using numapad for zoom in/out accelerators
+  - Force geometry update when agent connects
+  - Fix misc crash bugs
+  - Fix misc memory leaks
+  - Allow viewing of password entry characters
+  - Don't fail when auth dialog is cancelled
+  - Only create extra windows on demand
+  - Use more sensible default window size
+  - Improve docs for URIs and config files
+  - Allow cancellation of SPICE auth dialog
+  - Use new libvirt API for --attach to avoid SELinux AVC
+  - Allow removable of CD images with oVirt connections
+  - Show VM choose dialog when oVirt VM name is missing
+  - Support usernames request with SASL auth
+  - Use socat instead of nc if available
+  - Use PNG instead of SVG for icons
+  - Support connection to UNIX sockets instead of TCP
+  - Honour zoom level from CLI args with VNC
+  - Switch to GTK3 instead of GKT2 for Windows builds
+  - Ensure dialogs have transient parent set
+  - Switch to gstreamer 1.0 instead of 0.10 for Windows builds
+  - Avoid accidentally connecting to localhost with VNC/SPICE
+  - Use a versioned install directory for Windows builds
+- Dropped sources
+  virt-viewer-1.0.tar.bz2
+  report-error.patch
+
+---

Old:

  report-error.patch
  virt-viewer-1.0.tar.bz2

New:

  virt-viewer-2.0.tar.bz2



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.LyHuZ5/_old  2015-01-14 11:45:48.0 +0100
+++ /var/tmp/diff_new_pack.LyHuZ5/_new  2015-01-14 11:45:48.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package virt-viewer
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %if %suse_version = 1315
 %define gtk_arg --with-gtk=3.0
 %else
@@ -25,15 +26,14 @@
 Summary:Virtual Machine Viewer
 License:GPL-2.0+
 Group:  System/Monitoring
-Version:1.0
+Version:2.0
 Release:0
 Url:http://www.virt-manager.org
-Source0:virt-viewer-1.0.tar.bz2
+Source0:virt-viewer-2.0.tar.bz2
 Patch50:netcat.patch
 Patch51:windows-keycombo.patch
 Patch52:netware-keycombo.patch
-Patch53:report-error.patch
-Patch54:virtview-desktop.patch
+Patch53:virtview-desktop.patch
 ExclusiveArch:  %ix86 x86_64 s390x
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -78,7 +78,6 @@
 %patch51 -p1
 %patch52 -p1
 %patch53 -p1
-%patch54 -p1
 
 %build
 echo suse_version = %suse_version
@@ -104,13 +103,16 @@
 %dir %{_datadir}/%{name}
 %dir %{_datadir}/%{name}/ui
 %{_datadir}/icons/hicolor/*/apps/*
+%{_datadir}/icons/hicolor/24x24/devices/virt-viewer-usb.png
 %{_datadir}/icons/hicolor/24x24/devices/virt-viewer-usb.svg
 %{_mandir}/man1/virt-viewer.1*
 %{_mandir}/man1/remote-viewer.1*
 %{_datadir}/applications/remote-viewer.desktop
-/usr/share/virt-viewer/ui/virt-viewer-about.xml
-/usr/share/virt-viewer/ui/virt-viewer-auth.xml
-/usr/share/virt-viewer/ui/virt-viewer.xml
-/usr/share/mime/packages/virt-viewer-mime.xml
+%{_datadir}/mime/packages/virt-viewer-mime.xml
+%{_datadir}/virt-viewer/ui/virt-viewer-about.xml
+%{_datadir}/virt-viewer/ui/virt-viewer-auth.xml
+%{_datadir}/virt-viewer/ui/virt-viewer.xml
+%{_datadir}/virt-viewer/ui/virt-viewer-guest-details.xml
+%{_datadir}/virt-viewer/ui/virt-viewer-vm-connection.xml
 
 %changelog

++ netcat.patch ++
--- /var/tmp/diff_new_pack.LyHuZ5/_old  

commit virt-viewer for openSUSE:Factory

2014-07-25 Thread h_root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2014-07-25 09:09:06

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is virt-viewer

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2014-07-22 
09:56:02.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2014-07-25 09:09:49.0 +0200
@@ -1,0 +2,49 @@
+Tue Jul 22 14:55:52 MDT 2014 - carn...@suse.com
+
+- Update to virt-viewer version 1.0
+  virt-viewer-1.0.tar.bz2
+  - Switched to 2-digit version numbering.
+  - Improve error reporting when failing to find
+the GtkBuilder UI files
+  - Honour title provided by SPICE server if available
+  - Don't hide main window when disconnecting in multi-monitor
+configurations
+  - Don't show VNC widget until authentication has completed
+  - Fix session handling when re-authenticating
+  - Improve docs for --attach flag
+  - Ask for credentials for SPICE proxy
+  - Fix scaling of windows when resizing
+  - Remove 'Automatically resize' menu, leaving the behaviour
+permanently enabled
+  - Improve USB icon in full screen toolbar
+  - Don't resize guest when changing zoom level
+  - Don't create windows at startup if kiosk mode isn't enabled
+  - Don't show quit confirmation dialog in kiosk mode
+  - Misc typos / fixes in man pages
+  - Fix race with metacity window manager in fullscreen mode
+  - Avoid accidentally connecting to localhost with --direct flag
+  - Use custom log handler to silence debug messages on old glib2
+  - Fix tiny windows for secondary displays with gtk2 build
+  - Take zoom into account when checkign display limits
+  - Fix unshrinkable displays with windows guests
+  - Allow  ctrl-[+-] to zoom in fullscreen mode 
+- Dropped upstream patches and old tarball
+  virt-viewer-0.6.0.tar.bz2
+  52fa6455-display-warning-if-UI-file-fails.patch
+  52fce019-dont-free-session-if-auth-retry.patch
+  52fce019-dont-hide-main-window-when-disconnecting.patch
+  530b1cfc-german-translation-send-key-fix.patch
+  530b66e9-spice-ask-credentials-for-proxy.patch
+  53209ab7-fix-scaling-of-window-upon-resize.patch
+  53219d1a-silence-message-about-missing-config-file.patch
+  5322b75b-dont-show-quit-dialog-in-kiosk-mode.patch
+  5322b929-fix-building-with-older-spice-gtk.patch
+  538df41a-set-freed-variables-to-null.patch
+  5396d3dd-dont-connect-to-localhost-when-using-direct.patch
+  53970bee-remove-warning-when-removing-display.patch
+  53975d94-fix-tiny-windows-for-secondary-displays-in-gtk2-build.patch
+  5398b944-take-zoom-level-into-account-for-display-limits.patch
+  5398b971-fix-tiny-window-when-resetting-zoom-factor-in-gtk2-build.patch
+  53a8716d-fix-un-shrinkable-displays-on-windows-guests.patch
+
+---

Old:

  52fa6455-display-warning-if-UI-file-fails.patch
  52fce019-dont-free-session-if-auth-retry.patch
  52fce019-dont-hide-main-window-when-disconnecting.patch
  530b1cfc-german-translation-send-key-fix.patch
  530b66e9-spice-ask-credentials-for-proxy.patch
  53209ab7-fix-scaling-of-window-upon-resize.patch
  53219d1a-silence-message-about-missing-config-file.patch
  5322b75b-dont-show-quit-dialog-in-kiosk-mode.patch
  5322b929-fix-building-with-older-spice-gtk.patch
  538df41a-set-freed-variables-to-null.patch
  5396d3dd-dont-connect-to-localhost-when-using-direct.patch
  53970bee-remove-warning-when-removing-display.patch
  53975d94-fix-tiny-windows-for-secondary-displays-in-gtk2-build.patch
  5398b944-take-zoom-level-into-account-for-display-limits.patch
  5398b971-fix-tiny-window-when-resetting-zoom-factor-in-gtk2-build.patch
  53a8716d-fix-un-shrinkable-displays-on-windows-guests.patch
  virt-viewer-0.6.0.tar.bz2

New:

  virt-viewer-1.0.tar.bz2



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.1lLlUu/_old  2014-07-25 09:09:50.0 +0200
+++ /var/tmp/diff_new_pack.1lLlUu/_new  2014-07-25 09:09:50.0 +0200
@@ -15,7 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
 %if %suse_version = 1315
 %define gtk_arg --with-gtk=3.0
 %else
@@ -26,26 +25,10 @@
 Summary:Virtual Machine Viewer
 License:GPL-2.0+
 Group:  System/Monitoring
-Version:0.6.0
+Version:1.0
 Release:0
 Url:http://www.virt-manager.org
-Source0:virt-viewer-0.6.0.tar.bz2
-Patch1: 52fa6455-display-warning-if-UI-file-fails.patch
-Patch2: 52fce019-dont-free-session-if-auth-retry.patch
-Patch3: 52fce019-dont-hide-main-window-when-disconnecting.patch
-Patch4:   

commit virt-viewer for openSUSE:Factory

2014-07-22 Thread h_root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2014-07-22 06:58:10

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is virt-viewer

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2014-07-02 
15:05:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2014-07-22 09:56:02.0 +0200
@@ -1,0 +2,12 @@
+Mon Jul  7 09:44:35 MDT 2014 - carn...@suse.com
+
+- Drop spice-gtk.patch.  It was only needed for systems with
+  spice-gtk version  0.22
+
+---
+Fri Jul  4 14:54:32 CEST 2014 - agin...@suse.com
+
+- fix build: remove spice_uuid_to_string definition no more needed with
+  the new spice-gtk
+
+---

Old:

  spice-gtk.patch



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.775ymH/_old  2014-07-22 09:56:04.0 +0200
+++ /var/tmp/diff_new_pack.775ymH/_new  2014-07-22 09:56:04.0 +0200
@@ -51,7 +51,6 @@
 Patch52:netware-keycombo.patch
 Patch53:report-error.patch
 Patch54:virtview-desktop.patch
-Patch55:spice-gtk.patch
 ExclusiveArch:  %ix86 x86_64 s390x
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -113,7 +112,6 @@
 %patch52 -p1
 %patch53 -p1
 %patch54 -p1
-%patch55 -p1
 
 %build
 echo suse_version = %suse_version

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit virt-viewer for openSUSE:Factory

2014-07-02 Thread h_root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2014-07-02 15:05:21

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is virt-viewer

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2014-06-16 
21:37:22.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2014-07-02 15:05:36.0 +0200
@@ -1,0 +2,17 @@
+Tue Jul  1 13:12:17 MDT 2014 - carn...@suse.com
+
+- Upstream bug fixes
+  53970bee-remove-warning-when-removing-display.patch
+  53975d94-fix-tiny-windows-for-secondary-displays-in-gtk2-build.patch
+  5398b944-take-zoom-level-into-account-for-display-limits.patch
+  5398b971-fix-tiny-window-when-resetting-zoom-factor-in-gtk2-build.patch
+  53a8716d-fix-un-shrinkable-displays-on-windows-guests.patch
+
+---
+Tue Jul  1 16:19:17 UTC 2014 - fcro...@suse.com
+
+- Switch build to gtk3 for SLE12 and openSUSE 13.2.
+- Update windows-keycombo.patch and netware-keycombo.patch to build
+  with GTK 3.
+
+---

New:

  53970bee-remove-warning-when-removing-display.patch
  53975d94-fix-tiny-windows-for-secondary-displays-in-gtk2-build.patch
  5398b944-take-zoom-level-into-account-for-display-limits.patch
  5398b971-fix-tiny-window-when-resetting-zoom-factor-in-gtk2-build.patch
  53a8716d-fix-un-shrinkable-displays-on-windows-guests.patch



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.1Y8X2Y/_old  2014-07-02 15:05:37.0 +0200
+++ /var/tmp/diff_new_pack.1Y8X2Y/_new  2014-07-02 15:05:37.0 +0200
@@ -16,6 +16,12 @@
 #
 
 
+%if %suse_version = 1315
+%define gtk_arg --with-gtk=3.0
+%else
+%define gtk_arg --with-gtk=2.0
+%endif
+
 Name:   virt-viewer
 Summary:Virtual Machine Viewer
 License:GPL-2.0+
@@ -35,22 +41,35 @@
 Patch9: 5322b929-fix-building-with-older-spice-gtk.patch
 Patch10:538df41a-set-freed-variables-to-null.patch
 Patch11:5396d3dd-dont-connect-to-localhost-when-using-direct.patch
-Patch20:netcat.patch
-Patch21:windows-keycombo.patch
-Patch22:netware-keycombo.patch
-Patch23:report-error.patch
-Patch24:virtview-desktop.patch
-Patch50:spice-gtk.patch
+Patch12:53970bee-remove-warning-when-removing-display.patch
+Patch13:
53975d94-fix-tiny-windows-for-secondary-displays-in-gtk2-build.patch
+Patch14:5398b944-take-zoom-level-into-account-for-display-limits.patch
+Patch15:
5398b971-fix-tiny-window-when-resetting-zoom-factor-in-gtk2-build.patch
+Patch16:53a8716d-fix-un-shrinkable-displays-on-windows-guests.patch
+Patch50:netcat.patch
+Patch51:windows-keycombo.patch
+Patch52:netware-keycombo.patch
+Patch53:report-error.patch
+Patch54:virtview-desktop.patch
+Patch55:spice-gtk.patch
 ExclusiveArch:  %ix86 x86_64 s390x
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 BuildRequires:  automake
+%if %suse_version = 1315
+BuildRequires:  pkgconfig(gtk+-3.0)
+%else
 BuildRequires:  gtk2-devel
+%endif
 BuildRequires:  libvirt-devel = 0.9.7
 BuildRequires:  libxml2-devel
 %if %suse_version  1140
+%if %suse_version = 1315
+BuildRequires:  pkgconfig(gtk-vnc-2.0)
+%else
 BuildRequires:  gtk-vnc2-devel
 %endif
+%endif
 BuildRequires:  gtk-vnc-devel = 0.3.8
 BuildRequires:  libglade2-devel
 %if %suse_version  1130
@@ -84,17 +103,22 @@
 %patch9 -p1
 %patch10 -p1
 %patch11 -p1
-%patch20 -p1
-%patch21 -p1
-%patch22 -p1
-%patch23 -p1
-%patch24 -p1
+%patch12 -p1
+%patch13 -p1
+%patch14 -p1
+%patch15 -p1
+%patch16 -p1
 %patch50 -p1
+%patch51 -p1
+%patch52 -p1
+%patch53 -p1
+%patch54 -p1
+%patch55 -p1
 
 %build
 echo suse_version = %suse_version
 %if %suse_version = 1230
-%configure --with-spice-gtk --with-gtk=2.0 --disable-update-mimedb
+%configure --with-spice-gtk %{gtk_arg} --disable-update-mimedb
 %else
 %configure --with-gtk=2.0 --disable-update-mimedb 
GTKVNC_CFLAGS=-I/usr/include/gtk-vnc-1.0 GTKVNC_LIBS=-lgtk-vnc-1.0
 %endif

++ 53970bee-remove-warning-when-removing-display.patch ++
Subject: Remove warning when removing display
From: Marc-André Lureau marcandre.lur...@redhat.com Tue Jun 10 14:25:16 2014 
+0300
Date: Tue Jun 10 15:45:18 2014 +0200:
Git: 78c9612257b95ee924ad0b13372106bde3d851f8

Some display have no associated window (for ex, if it doesn't fit
on client monitors).

(remote-viewer:22275): remote-viewer-CRITICAL **: 
virt_viewer_window_set_display: assertion `VIRT_VIEWER_IS_WINDOW(self)' failed


commit virt-viewer for openSUSE:Factory

2014-06-16 Thread h_root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2014-06-16 21:37:21

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is virt-viewer

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2014-03-28 
16:29:27.0 +0100
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2014-06-16 21:37:22.0 +0200
@@ -1,0 +2,12 @@
+Tue Jun 10 10:50:17 MDT 2014 - carn...@suse.com
+
+- Upstream bug fix
+  5396d3dd-dont-connect-to-localhost-when-using-direct.patch 
+
+---
+Wed Jun  4 09:02:02 MDT 2014 - carn...@suse.com
+
+- Upstream bug fix
+  538df41a-set-freed-variables-to-null.patch 
+
+---

New:

  538df41a-set-freed-variables-to-null.patch
  5396d3dd-dont-connect-to-localhost-when-using-direct.patch



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.k9r6yf/_old  2014-06-16 21:37:23.0 +0200
+++ /var/tmp/diff_new_pack.k9r6yf/_new  2014-06-16 21:37:23.0 +0200
@@ -33,6 +33,8 @@
 Patch7: 53219d1a-silence-message-about-missing-config-file.patch
 Patch8: 5322b75b-dont-show-quit-dialog-in-kiosk-mode.patch
 Patch9: 5322b929-fix-building-with-older-spice-gtk.patch
+Patch10:538df41a-set-freed-variables-to-null.patch
+Patch11:5396d3dd-dont-connect-to-localhost-when-using-direct.patch
 Patch20:netcat.patch
 Patch21:windows-keycombo.patch
 Patch22:netware-keycombo.patch
@@ -80,6 +82,8 @@
 %patch7 -p1
 %patch8 -p1
 %patch9 -p1
+%patch10 -p1
+%patch11 -p1
 %patch20 -p1
 %patch21 -p1
 %patch22 -p1
@@ -92,7 +96,7 @@
 %if %suse_version = 1230
 %configure --with-spice-gtk --with-gtk=2.0 --disable-update-mimedb
 %else
-%configure GTKVNC_CFLAGS=-I/usr/include/gtk-vnc-1.0 GTKVNC_LIBS=-lgtk-vnc-1.0
+%configure --with-gtk=2.0 --disable-update-mimedb 
GTKVNC_CFLAGS=-I/usr/include/gtk-vnc-1.0 GTKVNC_LIBS=-lgtk-vnc-1.0
 %endif
 make %{?_smp_mflags}
 

++ 538df41a-set-freed-variables-to-null.patch ++
Subject: Set freed variables to NULL in remote_viewer_start()
From: Jonathon Jongsma jjong...@redhat.com Tue Jun 3 11:13:14 2014 -0500
Date: Tue Jun 3 11:13:14 2014 -0500:
Git: e23f6fa4c4d6d4a9adb05cf10086c4dd85b783cf

Coverity warns that 'type' can sometimes be used or free after already having
been freed.  This can happen when open_recent_dialog is true and we jump back up
to the retry_dialog label.  To prevent this, make sure the freed variables are
set to NULL after freeing.

Index: virt-viewer-0.6.0/src/remote-viewer.c
===
--- virt-viewer-0.6.0.orig/src/remote-viewer.c
+++ virt-viewer-0.6.0/src/remote-viewer.c
@@ -1043,7 +1043,9 @@ cleanup:
 g_clear_object(file);
 g_clear_object(vvfile);
 g_free(guri);
+guri = NULL;
 g_free(type);
+type = NULL;
 
 if (!ret  priv-open_recent_dialog) {
 goto retry_dialog;
++ 5396d3dd-dont-connect-to-localhost-when-using-direct.patch ++
Subject: Don't connect to localhost when using --direct
From: Christophe Fergeau cferg...@redhat.com Thu Apr 3 14:06:22 2014 +0200
Date: Tue Jun 10 11:46:05 2014 +0200:
Git: e214d6b1d5f3f8b526ebc4f97045d29c1819d0b2

Trying to connect to a remote virtual machine using
virt-viewer -c qemu+ssh://example.com/system --direct $vm_name
will currently fail with an error message saying it's not possible to
localhost. This happens with VMs which listen on a wildcard address (eg
'0.0.0.0').
This was introduced by commit 74b1b62 which changes the host to connect to
to 'localhost' when trying to connect through ssh to a VM listening on a
wildcard address. This is only valid when using a ssh tunnel, and should
not be done with --direct. The fallback code which uses the hostname from
the libvirt URI is what makes the most sense in this situation (wildcard
listen address + --direct).
This commit introduces a virt_viewer_app_get_direct() so that this can be
implemented.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1079211

Index: virt-viewer-0.6.0/src/virt-viewer-app.c
===
--- virt-viewer-0.6.0.orig/src/virt-viewer-app.c
+++ virt-viewer-0.6.0/src/virt-viewer-app.c
@@ -1835,6 +1835,13 @@ virt_viewer_app_set_direct(VirtViewerApp
 self-priv-direct = direct;
 }
 
+gboolean virt_viewer_app_get_direct(VirtViewerApp *self)
+{
+g_return_val_if_fail(VIRT_VIEWER_IS_APP(self), FALSE);
+
+return self-priv-direct;
+}
+
 void
 

commit virt-viewer for openSUSE:Factory

2014-03-28 Thread h_root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2014-03-28 16:29:25

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is virt-viewer

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2014-03-09 
20:28:17.0 +0100
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2014-03-28 16:29:27.0 +0100
@@ -1,0 +2,16 @@
+Tue Mar 25 15:21:59 MDT 2014 - carn...@suse.com
+
+- Drop patch as it causes initial viewer size problems
+  52fce019-set-VNC-display-ready-after-VNC-initialized.patch
+
+---
+Fri Mar 14 12:52:40 MDT 2014 - carn...@suse.com
+
+- Upstream bug fixes
+  530b66e9-spice-ask-credentials-for-proxy.patch
+  53209ab7-fix-scaling-of-window-upon-resize.patch
+  53219d1a-silence-message-about-missing-config-file.patch
+  5322b75b-dont-show-quit-dialog-in-kiosk-mode.patch
+  5322b929-fix-building-with-older-spice-gtk.patch
+
+---

Old:

  52fce019-set-VNC-display-ready-after-VNC-initialized.patch

New:

  530b66e9-spice-ask-credentials-for-proxy.patch
  53209ab7-fix-scaling-of-window-upon-resize.patch
  53219d1a-silence-message-about-missing-config-file.patch
  5322b75b-dont-show-quit-dialog-in-kiosk-mode.patch
  5322b929-fix-building-with-older-spice-gtk.patch



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.DpPCH4/_old  2014-03-28 16:29:27.0 +0100
+++ /var/tmp/diff_new_pack.DpPCH4/_new  2014-03-28 16:29:27.0 +0100
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   virt-viewer
 Summary:Virtual Machine Viewer
 License:GPL-2.0+
@@ -26,8 +27,12 @@
 Patch1: 52fa6455-display-warning-if-UI-file-fails.patch
 Patch2: 52fce019-dont-free-session-if-auth-retry.patch
 Patch3: 52fce019-dont-hide-main-window-when-disconnecting.patch
-Patch4: 52fce019-set-VNC-display-ready-after-VNC-initialized.patch
-Patch5: 530b1cfc-german-translation-send-key-fix.patch
+Patch4: 530b1cfc-german-translation-send-key-fix.patch
+Patch5: 530b66e9-spice-ask-credentials-for-proxy.patch
+Patch6: 53209ab7-fix-scaling-of-window-upon-resize.patch
+Patch7: 53219d1a-silence-message-about-missing-config-file.patch
+Patch8: 5322b75b-dont-show-quit-dialog-in-kiosk-mode.patch
+Patch9: 5322b929-fix-building-with-older-spice-gtk.patch
 Patch20:netcat.patch
 Patch21:windows-keycombo.patch
 Patch22:netware-keycombo.patch
@@ -71,6 +76,10 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
 %patch20 -p1
 %patch21 -p1
 %patch22 -p1

++ 530b66e9-spice-ask-credentials-for-proxy.patch ++
Subject: spice: ask credentials for proxy
From: Marc-André Lureau marcandre.lur...@redhat.com Mon Feb 3 18:40:01 2014 
+0100
Date: Mon Feb 24 16:36:09 2014 +0100:
Git: d1d53d0c8b5600f61e55e472c592ebc86a65ee6f

If Spice proxy requires authentication, ask credentials and try
connecting again.

diff --git a/src/virt-viewer-session-spice.c b/src/virt-viewer-session-spice.c
index de5edf7..1740ba3 100644
--- a/src/virt-viewer-session-spice.c
+++ b/src/virt-viewer-session-spice.c
@@ -29,6 +29,8 @@
 
 #include spice-option.h
 #include spice-util.h
+#include spice-client.h
+
 #include usb-device-widget.h
 #include virt-viewer-file.h
 #include virt-viewer-util.h
@@ -471,8 +473,10 @@ virt_viewer_session_spice_main_channel_event(SpiceChannel 
*channel G_GNUC_UNUSED
  SpiceChannelEvent event,
  VirtViewerSession *session)
 {
+const GError *error;
 VirtViewerSessionSpice *self = VIRT_VIEWER_SESSION_SPICE(session);
-gchar *password = NULL;
+gchar *password = NULL, *user = NULL;
+int ret;
 
 g_return_if_fail(self != NULL);
 
@@ -499,10 +503,10 @@ virt_viewer_session_spice_main_channel_event(SpiceChannel 
*channel G_GNUC_UNUSED
   _(invalid password));
 self-priv-pass_try++;
 
-int ret = virt_viewer_auth_collect_credentials(self-priv-main_window,
-   SPICE,
-   NULL,
-   NULL, password);
+ret = virt_viewer_auth_collect_credentials(self-priv-main_window,
+   SPICE,
+   

commit virt-viewer for openSUSE:Factory

2014-03-09 Thread h_root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2014-03-09 20:28:16

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is virt-viewer

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2014-01-29 
22:23:26.0 +0100
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2014-03-09 20:28:17.0 +0100
@@ -1,0 +2,10 @@
+Mon Feb 27 08:29:31 MST 2014 - carn...@suse.com
+
+- Upstream bug fixes
+  52fa6455-display-warning-if-UI-file-fails.patch
+  52fce019-dont-free-session-if-auth-retry.patch
+  52fce019-dont-hide-main-window-when-disconnecting.patch
+  52fce019-set-VNC-display-ready-after-VNC-initialized.patch
+  530b1cfc-german-translation-send-key-fix.patch
+
+---

New:

  52fa6455-display-warning-if-UI-file-fails.patch
  52fce019-dont-free-session-if-auth-retry.patch
  52fce019-dont-hide-main-window-when-disconnecting.patch
  52fce019-set-VNC-display-ready-after-VNC-initialized.patch
  530b1cfc-german-translation-send-key-fix.patch



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.27eci7/_old  2014-03-09 20:28:18.0 +0100
+++ /var/tmp/diff_new_pack.27eci7/_new  2014-03-09 20:28:18.0 +0100
@@ -15,7 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
 Name:   virt-viewer
 Summary:Virtual Machine Viewer
 License:GPL-2.0+
@@ -24,6 +23,11 @@
 Release:0
 Url:http://www.virt-manager.org
 Source0:virt-viewer-0.6.0.tar.bz2
+Patch1: 52fa6455-display-warning-if-UI-file-fails.patch
+Patch2: 52fce019-dont-free-session-if-auth-retry.patch
+Patch3: 52fce019-dont-hide-main-window-when-disconnecting.patch
+Patch4: 52fce019-set-VNC-display-ready-after-VNC-initialized.patch
+Patch5: 530b1cfc-german-translation-send-key-fix.patch
 Patch20:netcat.patch
 Patch21:windows-keycombo.patch
 Patch22:netware-keycombo.patch
@@ -62,6 +66,11 @@
 
 %prep
 %setup -q
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
 %patch20 -p1
 %patch21 -p1
 %patch22 -p1

++ 52fa6455-display-warning-if-UI-file-fails.patch ++

Subject: Display warning if UI file fails
From: Jonathon Jongsma jjong...@redhat.com Mon Jan 20 10:28:40 2014 -0600
Date: Tue Feb 11 11:56:37 2014 -0600:
Git: bee13a6a59e44a9184f8c548207f0bddf8845d2e

When trying to load ui files, we try to find the file in several directories.
If a file is not found in one directory, try to load it from the next directory.
However, if a file is found in a directory but we are not able to load it (e.g.
due to unsupported versions of glade used to generate it, etc), we should print
a warning to the terminal to help the developer debug the issue.

This is an unexpected failure (whereas not finding the file in that directory at
all is an 'expected' failure).

diff --git a/src/virt-viewer-util.c b/src/virt-viewer-util.c
index 9deddad..4c60583 100644
--- a/src/virt-viewer-util.c
+++ b/src/virt-viewer-util.c
@@ -58,7 +58,12 @@ GtkBuilder *virt_viewer_util_load_ui(const char *name)
 gtk_builder_add_from_file(builder, name, error);
 } else {
 gchar *path = g_build_filename(PACKAGE_DATADIR, ui, name, NULL);
-gboolean success = (gtk_builder_add_from_file(builder, path, NULL) != 
0);
+gboolean success = (gtk_builder_add_from_file(builder, path, error) 
!= 0);
+if (error) {
+if (!(error-domain == G_FILE_ERROR  error-code == 
G_FILE_ERROR_NOENT))
+g_warning(Failed to add ui file '%s': %s, path, 
error-message);
+g_clear_error(error);
+}
 g_free(path);
 
 if (!success) {
++ 52fce019-dont-free-session-if-auth-retry.patch ++
Subject: rhbz#1007306 - Don't free session if we're re-trying auth
From: Jonathon Jongsma jjong...@redhat.com Fri Jan 31 13:56:19 2014 -0600
Date: Thu Feb 13 09:09:13 2014 -0600:
Git: 74b532f1ecf5affecc13e322723881ba42d2dd29

deactivate() is called in response to a failed authentication attempt. If the
session is cleared here, when a user attempts to re-authenticate, it will issue
a warning and will not actually work. So only clear the session here if we're
not going to re-try authentication.

Index: virt-viewer-0.6.0/src/virt-viewer-app.c
===
--- virt-viewer-0.6.0.orig/src/virt-viewer-app.c
+++ virt-viewer-0.6.0/src/virt-viewer-app.c
@@ -1249,7 +1249,6 @@ virt_viewer_app_deactivate(VirtViewerApp
 
 if 

commit virt-viewer for openSUSE:Factory

2014-01-29 Thread h_root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2014-01-29 22:23:25

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is virt-viewer

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2013-08-23 
11:04:59.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2014-01-29 22:23:26.0 +0100
@@ -1,0 +2,31 @@
+Mon Jan 27 11:24:06 MDT 2014 - carn...@suse.com
+
+- Update to virt-viewer version 0.6.0
+  * Require govirt 0.3.0
+  * Require spice-gtk 0.22
+  * Show error dialog if password is wrong
+  * Document application/x-virt-viewer file format
+  * Remove unused ‘-d’ option from remote-viewer
+  * Add a kiosk mode
+  * Add menu for sending Ctrl+Alt+Delete
+  * Add Ctrl+Alt+End as accelerator for Ctrl+Alt+Delete
+  * Send modifiers before the non-modifier key in send key menu
+  * Fix GTK warning when disconnecting from VNC due to auth error
+  * Make ‘Cancel’ default button in exit dialog
+  * Make send key menu accelerators work in fullscreen
+  * Remove insecure fetching of oVirt CA cert
+  * Build for GTK 3 by default
+  * Fix title bar after failed connection
+  * Reshow remote-viewer connection dialog upon error
+  * Hide all windows upon disconnect
+  * Add ability to define custom monitor mapping
+  * Ensure all windows obey command line zoom level
+  * Add an icon to the desktop file
+  * Fix event loop implementation on Win32 platforms
+  * Misc other bug fixes
+- Allow the use of spice-gtk version 0.21. Drop patch when 0.22
+  becomes available.
+  spice-gtk.patch
+- Renamed netcat.diff to netcat.patch
+
+---

Old:

  netcat.diff
  virt-viewer-0.5.7.tar.bz2

New:

  netcat.patch
  spice-gtk.patch
  virt-viewer-0.6.0.tar.bz2



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.0gXIbj/_old  2014-01-29 22:23:27.0 +0100
+++ /var/tmp/diff_new_pack.0gXIbj/_new  2014-01-29 22:23:27.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package virt-viewer
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,21 +15,24 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   virt-viewer
 Summary:Virtual Machine Viewer
 License:GPL-2.0+
 Group:  System/Monitoring
-Version:0.5.7
+Version:0.6.0
 Release:0
 Url:http://www.virt-manager.org
-Source0:virt-viewer-0.5.7.tar.bz2
-Patch20:netcat.diff
+Source0:virt-viewer-0.6.0.tar.bz2
+Patch20:netcat.patch
 Patch21:windows-keycombo.patch
 Patch22:netware-keycombo.patch
 Patch23:report-error.patch
 Patch24:virtview-desktop.patch
+Patch50:spice-gtk.patch
 ExclusiveArch:  %ix86 x86_64 s390x
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+
 BuildRequires:  automake
 BuildRequires:  gtk2-devel
 BuildRequires:  libvirt-devel = 0.9.7
@@ -64,11 +67,12 @@
 %patch22 -p1
 %patch23 -p1
 %patch24 -p1
+%patch50 -p1
 
 %build
 echo suse_version = %suse_version
 %if %suse_version = 1230
-%configure --with-spice-gtk --with-gtk=2.0
+%configure --with-spice-gtk --with-gtk=2.0 --disable-update-mimedb
 %else
 %configure GTKVNC_CFLAGS=-I/usr/include/gtk-vnc-1.0 GTKVNC_LIBS=-lgtk-vnc-1.0
 %endif

++ netcat.patch ++
Index: virt-viewer-0.6.0/src/virt-viewer-app.c
===
--- virt-viewer-0.6.0.orig/src/virt-viewer-app.c
+++ virt-viewer-0.6.0/src/virt-viewer-app.c
@@ -539,7 +539,7 @@ virt_viewer_app_open_tunnel_ssh(const ch
 cmd[n++] = sshuser;
 }
 cmd[n++] = sshhost;
-cmd[n++] = nc;
+cmd[n++] = netcat;
 if (port) {
 cmd[n++] = host;
 cmd[n++] = port;
++ netware-keycombo.patch ++
--- /var/tmp/diff_new_pack.0gXIbj/_old  2014-01-29 22:23:27.0 +0100
+++ /var/tmp/diff_new_pack.0gXIbj/_new  2014-01-29 22:23:27.0 +0100
@@ -1,29 +1,29 @@
-Index: virt-viewer-0.5.7/src/virt-viewer-window.c
+Index: virt-viewer-0.6.0/src/virt-viewer-window.c
 ===
 virt-viewer-0.5.7.orig/src/virt-viewer-window.c
-+++ virt-viewer-0.5.7/src/virt-viewer-window.c
-@@ -568,6 +568,15 @@ static const struct keyComboDef keyCombo
- { { GDK_Control_L, GDK_Alt_L, GDK_BackSpace, 

commit virt-viewer for openSUSE:Factory

2013-08-23 Thread h_root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2013-08-23 11:04:58

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is virt-viewer

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2013-08-01 
16:09:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2013-08-23 11:04:59.0 +0200
@@ -1,0 +2,5 @@
+Wed Aug 14 11:00:06 MDT 2013 - carn...@suse.com
+
+- Enable spice support 
+
+---



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.25Npsv/_old  2013-08-23 11:04:59.0 +0200
+++ /var/tmp/diff_new_pack.25Npsv/_new  2013-08-23 11:04:59.0 +0200
@@ -45,9 +45,11 @@
 BuildRequires:  libpixman
 %endif
 BuildRequires:  intltool
-# Our build requirements
-BuildRequires:  vim
-#BuildRequires:  xen-devel
+%if %suse_version = 1230
+BuildRequires:  spice-gtk-devel
+Requires:   libspice-controller0
+%endif
+# Our Runtime requirements
 Requires:   netcat
 
 %description
@@ -65,7 +67,11 @@
 
 %build
 echo suse_version = %suse_version
+%if %suse_version = 1230
+%configure --with-spice-gtk --with-gtk=2.0
+%else
 %configure GTKVNC_CFLAGS=-I/usr/include/gtk-vnc-1.0 GTKVNC_LIBS=-lgtk-vnc-1.0
+%endif
 make %{?_smp_mflags}
 
 %install

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit virt-viewer for openSUSE:Factory

2013-08-01 Thread h_root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2013-08-01 16:09:35

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is virt-viewer

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2013-06-19 
15:54:13.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2013-08-01 16:09:36.0 +0200
@@ -1,0 +2,17 @@
+Wed Jul 31 15:27:53 MDT 2013 - carn...@suse.com
+
+- Update to virt-viewer version 0.5.7
+  * Many fixes to full screen / window positioning handling
+  * Reshow connect dialog if connection fails
+  * Misc man page fixes
+  * Mark RPM as obsoleting spice-client
+  * Set the host subject to fix SSL connections with ovirt
+  * Use -H as short variant of –hotkeys
+  * Add missing trailing ‘;’ in desktop file
+  * Allow TLS only SPICE connections
+  * Use dynamic key send menu
+  * Enable smartcard shortcuts only when smartcard reader is present
+  * Misc other bug fixes
+- Drop glade-keycombo.patch
+
+---

Old:

  glade-keycombo.patch
  virt-viewer-0.5.6.tar.bz2

New:

  virt-viewer-0.5.7.tar.bz2



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.JMexDT/_old  2013-08-01 16:09:38.0 +0200
+++ /var/tmp/diff_new_pack.JMexDT/_new  2013-08-01 16:09:38.0 +0200
@@ -19,16 +19,15 @@
 Summary:Virtual Machine Viewer
 License:GPL-2.0+
 Group:  System/Monitoring
-Version:0.5.6
+Version:0.5.7
 Release:0
 Url:http://www.virt-manager.org
-Source0:virt-viewer-0.5.6.tar.bz2
+Source0:virt-viewer-0.5.7.tar.bz2
 Patch20:netcat.diff
 Patch21:windows-keycombo.patch
 Patch22:netware-keycombo.patch
-Patch23:glade-keycombo.patch
-Patch24:report-error.patch
-Patch25:virtview-desktop.patch
+Patch23:report-error.patch
+Patch24:virtview-desktop.patch
 ExclusiveArch:  %ix86 x86_64 s390x
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  automake
@@ -63,7 +62,6 @@
 %patch22 -p1
 %patch23 -p1
 %patch24 -p1
-%patch25 -p1
 
 %build
 echo suse_version = %suse_version

++ netcat.diff ++
--- /var/tmp/diff_new_pack.JMexDT/_old  2013-08-01 16:09:38.0 +0200
+++ /var/tmp/diff_new_pack.JMexDT/_new  2013-08-01 16:09:38.0 +0200
@@ -1,8 +1,8 @@
-Index: virt-viewer-0.5.6/src/virt-viewer-app.c
+Index: virt-viewer-0.5.7/src/virt-viewer-app.c
 ===
 virt-viewer-0.5.6.orig/src/virt-viewer-app.c
-+++ virt-viewer-0.5.6/src/virt-viewer-app.c
-@@ -424,7 +424,7 @@ virt_viewer_app_open_tunnel_ssh(const ch
+--- virt-viewer-0.5.7.orig/src/virt-viewer-app.c
 virt-viewer-0.5.7/src/virt-viewer-app.c
+@@ -430,7 +430,7 @@ virt_viewer_app_open_tunnel_ssh(const ch
  cmd[n++] = sshuser;
  }
  cmd[n++] = sshhost;

++ netware-keycombo.patch ++
--- /var/tmp/diff_new_pack.JMexDT/_old  2013-08-01 16:09:38.0 +0200
+++ /var/tmp/diff_new_pack.JMexDT/_new  2013-08-01 16:09:38.0 +0200
@@ -1,38 +1,29 @@
-Index: virt-viewer-0.5.6/src/virt-viewer-window.c
+Index: virt-viewer-0.5.7/src/virt-viewer-window.c
 ===
 virt-viewer-0.5.6.orig/src/virt-viewer-window.c
-+++ virt-viewer-0.5.6/src/virt-viewer-window.c
-@@ -556,7 +556,7 @@ virt_viewer_window_enter_fullscreen(Virt
- gtk_window_fullscreen(GTK_WINDOW(priv-window));
- }
- 
--#define MAX_KEY_COMBO 3
-+#define MAX_KEY_COMBO 4
- structkeyComboDef {
- guint keys[MAX_KEY_COMBO];
- guint nkeys;
+--- virt-viewer-0.5.7.orig/src/virt-viewer-window.c
 virt-viewer-0.5.7/src/virt-viewer-window.c
 @@ -568,6 +568,15 @@ static const struct keyComboDef keyCombo
- { { GDK_Control_L, GDK_Alt_L, GDK_BackSpace }, 3, 
N_(Ctrl+Alt+_Backspace)},
- { { GDK_Control_R, GDK_Scroll_Lock, GDK_Scroll_Lock }, 3, 
N_(Ctrl+Scroll+Scroll)},
- { {}, 0,  },
-+{ { GDK_F8 }, 1, N_(_F8)},
-+{ { GDK_F10 }, 1, N_(F1_0)},
-+{ { GDK_Alt_L, GDK_F10 }, 2, N_(A_lt+F10)},
-+{ { GDK_Alt_L, GDK_Tab }, 2, N_(Alt+_Tab)},
-+{ { GDK_Alt_L, GDK_Escape }, 2, N_(_Alt+Esc)},
-+{ { GDK_Control_L, GDK_Escape }, 2, N_(_Ctrl+Esc)},
-+{ { GDK_Control_L, GDK_Alt_L, GDK_Escape }, 3, N_(Ctrl+Alt+_Esc)},
-+{ { GDK_Alt_R, GDK_Shift_R, GDK_Shift_L, GDK_Escape }, 4, 
N_(Alt+Shift+Sh_ift+Esc)},
-+{ {}, 0,  },
- { { GDK_Control_L, GDK_Alt_L, GDK_F1 }, 3, N_(Ctrl+Alt+F_1)},
- { { GDK_Control_L, GDK_Alt_L, GDK_F2 }, 3, 

commit virt-viewer for openSUSE:Factory

2013-06-19 Thread h_root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2013-06-19 15:17:05

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is virt-viewer

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2013-03-15 
10:48:52.0 +0100
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2013-06-19 15:54:13.0 +0200
@@ -1,0 +2,13 @@
+Mon Jun 10 12:41:41 MDT 2013 - carn...@suse.com
+
+- Update to virt-viewer version 0.5.6
+  * Add ovirt:// support to remote-viewer (needs libgovirt)
+  * Many fullscreen and multi-monitor fixes
+  * Add a minimum version check in connection file
+  * Fix sending key combinations from “Send Key” menu when the key
+names are localized
+  * Fix build with older glib and gtk+
+  * Fix MSI x64 build
+  * Clean-ups (remove browser plugin entirely)
+
+---

Old:

  virt-viewer-0.5.5.tar.bz2

New:

  virt-viewer-0.5.6.tar.bz2



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.IaGhwE/_old  2013-06-19 15:54:16.0 +0200
+++ /var/tmp/diff_new_pack.IaGhwE/_new  2013-06-19 15:54:16.0 +0200
@@ -19,10 +19,10 @@
 Summary:Virtual Machine Viewer
 License:GPL-2.0+
 Group:  System/Monitoring
-Version:0.5.5
+Version:0.5.6
 Release:0
 Url:http://www.virt-manager.org
-Source0:virt-viewer-0.5.5.tar.bz2
+Source0:virt-viewer-0.5.6.tar.bz2
 Patch20:netcat.diff
 Patch21:windows-keycombo.patch
 Patch22:netware-keycombo.patch

++ netcat.diff ++
--- /var/tmp/diff_new_pack.IaGhwE/_old  2013-06-19 15:54:16.0 +0200
+++ /var/tmp/diff_new_pack.IaGhwE/_new  2013-06-19 15:54:16.0 +0200
@@ -1,8 +1,8 @@
-Index: virt-viewer-0.5.5/src/virt-viewer-app.c
+Index: virt-viewer-0.5.6/src/virt-viewer-app.c
 ===
 virt-viewer-0.5.5.orig/src/virt-viewer-app.c
-+++ virt-viewer-0.5.5/src/virt-viewer-app.c
-@@ -418,7 +418,7 @@ virt_viewer_app_open_tunnel_ssh(const ch
+--- virt-viewer-0.5.6.orig/src/virt-viewer-app.c
 virt-viewer-0.5.6/src/virt-viewer-app.c
+@@ -424,7 +424,7 @@ virt_viewer_app_open_tunnel_ssh(const ch
  cmd[n++] = sshuser;
  }
  cmd[n++] = sshhost;

++ netware-keycombo.patch ++
--- /var/tmp/diff_new_pack.IaGhwE/_old  2013-06-19 15:54:16.0 +0200
+++ /var/tmp/diff_new_pack.IaGhwE/_new  2013-06-19 15:54:16.0 +0200
@@ -1,9 +1,9 @@
-Index: virt-viewer-0.5.5/src/virt-viewer-window.c
+Index: virt-viewer-0.5.6/src/virt-viewer-window.c
 ===
 virt-viewer-0.5.5.orig/src/virt-viewer-window.c
-+++ virt-viewer-0.5.5/src/virt-viewer-window.c
-@@ -545,7 +545,7 @@ virt_viewer_window_enter_fullscreen(Virt
- #endif
+--- virt-viewer-0.5.6.orig/src/virt-viewer-window.c
 virt-viewer-0.5.6/src/virt-viewer-window.c
+@@ -556,7 +556,7 @@ virt_viewer_window_enter_fullscreen(Virt
+ gtk_window_fullscreen(GTK_WINDOW(priv-window));
  }
  
 -#define MAX_KEY_COMBO 3
@@ -11,30 +11,28 @@
  structkeyComboDef {
  guint keys[MAX_KEY_COMBO];
  guint nkeys;
-@@ -555,7 +555,16 @@ structkeyComboDef {
- static const struct keyComboDef keyCombos[] = {
- { { GDK_Control_L, GDK_Alt_L, GDK_Delete }, 3, Ctrl+Alt+_Del},
- { { GDK_Control_L, GDK_Alt_L, GDK_BackSpace }, 3, Ctrl+Alt+_Backspace},
--{ { GDK_Control_R, GDK_Scroll_Lock, GDK_Scroll_Lock }, 3, 
Ctrl+Scroll+Scroll},
-+{ { GDK_Control_R, GDK_Scroll_Lock, GDK_Scroll_Lock }, 3, 
Ctrl+Scroll+Scr_oll},
-+{ {}, 0,  },
-+{ { GDK_F8 }, 1, _F8},
-+{ { GDK_F10 }, 1, F1_0},
-+{ { GDK_Alt_L, GDK_F10 }, 2, A_lt+F10},
-+{ { GDK_Alt_L, GDK_Tab }, 2, Alt+_Tab},
-+{ { GDK_Alt_L, GDK_Escape }, 2, _Alt+Esc},
-+{ { GDK_Control_L, GDK_Escape }, 2, _Ctrl+Esc},
-+{ { GDK_Control_L, GDK_Alt_L, GDK_Escape }, 3, Ctrl+Alt+_Esc},
-+{ { GDK_Alt_R, GDK_Shift_R, GDK_Shift_L, GDK_Escape }, 4, 
Alt+Shift+Sh_ift+Esc},
+@@ -568,6 +568,15 @@ static const struct keyComboDef keyCombo
+ { { GDK_Control_L, GDK_Alt_L, GDK_BackSpace }, 3, 
N_(Ctrl+Alt+_Backspace)},
+ { { GDK_Control_R, GDK_Scroll_Lock, GDK_Scroll_Lock }, 3, 
N_(Ctrl+Scroll+Scroll)},
  { {}, 0,  },
- { { GDK_Control_L, GDK_Alt_L, GDK_F1 }, 3, Ctrl+Alt+F_1},
- { { GDK_Control_L, GDK_Alt_L, GDK_F2 }, 3, Ctrl+Alt+F_2},
-@@ -566,7 +575,7 @@ static const struct keyComboDef keyCombo
- { { GDK_Control_L, GDK_Alt_L, GDK_F7 }, 3, Ctrl+Alt+F_7},
- { { 

commit virt-viewer for openSUSE:Factory

2013-03-15 Thread h_root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2013-03-15 10:48:50

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is virt-viewer, Maintainer is carn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2013-01-17 
10:55:17.0 +0100
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2013-03-15 10:48:52.0 +0100
@@ -1,0 +2,17 @@
+Tue Mar  5 14:05:20 MST 2013 - carn...@suse.com
+
+- Update to virt-viewer version 0.5.5
+  * Improve screenshot saving dialog
+  * remote-viewer learned to connect with a file of mime type
+application/x-virt-viewer, described in src/virt-viewer-file.c
+  * Add a do not ask me again dialog checkbox when leaving
+  * Add a MSI target, using https://live.gnome.org/msitools
+  * Add windows debug helper, useful in Spice controller running
+context
+  * Add remote-viewer --title STRING
+  * Support for Spice proxy settings added
+  * Numerous Spice display and multi-monitor fixes
+  * win32, memory, build, and other misc fixes
+  * Requires spice-gtk = 0.16.26
+
+---

Old:

  virt-viewer-0.5.4.tar.gz
  virtview-git-ipv6-check.patch
  virtview-git-resize-window.patch
  virtview-git-spice-resize-window.patch
  virtview-git-spice-rounding.patch
  virtview-git-ssh-localhost-connect.patch
  virtview-git-transport-segv.patch

New:

  virt-viewer-0.5.5.tar.bz2



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.x4uv2N/_old  2013-03-15 10:48:55.0 +0100
+++ /var/tmp/diff_new_pack.x4uv2N/_new  2013-03-15 10:48:55.0 +0100
@@ -19,16 +19,10 @@
 Summary:Virtual Machine Viewer
 License:GPL-2.0+
 Group:  System/Monitoring
-Version:0.5.4
+Version:0.5.5
 Release:0
 Url:http://www.virt-manager.org
-Source0:virt-viewer-0.5.4.tar.gz
-Patch0: virtview-git-ipv6-check.patch
-Patch1: virtview-git-resize-window.patch
-Patch2: virtview-git-spice-rounding.patch
-Patch3: virtview-git-spice-resize-window.patch
-Patch4: virtview-git-ssh-localhost-connect.patch
-Patch5: virtview-git-transport-segv.patch
+Source0:virt-viewer-0.5.5.tar.bz2
 Patch20:netcat.diff
 Patch21:windows-keycombo.patch
 Patch22:netware-keycombo.patch
@@ -64,12 +58,6 @@
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
 %patch20 -p1
 %patch21 -p1
 %patch22 -p1
@@ -103,5 +91,6 @@
 /usr/share/virt-viewer/ui/virt-viewer-about.xml
 /usr/share/virt-viewer/ui/virt-viewer-auth.xml
 /usr/share/virt-viewer/ui/virt-viewer.xml
+/usr/share/mime/packages/virt-viewer-mime.xml
 
 %changelog

++ glade-keycombo.patch ++
--- /var/tmp/diff_new_pack.x4uv2N/_old  2013-03-15 10:48:55.0 +0100
+++ /var/tmp/diff_new_pack.x4uv2N/_new  2013-03-15 10:48:55.0 +0100
@@ -1,7 +1,7 @@
-Index: virt-viewer-0.5.4/src/virt-viewer.xml
+Index: virt-viewer-0.5.5/src/virt-viewer.xml
 ===
 virt-viewer-0.5.4.orig/src/virt-viewer.xml
-+++ virt-viewer-0.5.4/src/virt-viewer.xml
+--- virt-viewer-0.5.5.orig/src/virt-viewer.xml
 virt-viewer-0.5.5/src/virt-viewer.xml
 @@ -235,12 +235,107 @@
/object
  /child

++ netcat.diff ++
--- /var/tmp/diff_new_pack.x4uv2N/_old  2013-03-15 10:48:55.0 +0100
+++ /var/tmp/diff_new_pack.x4uv2N/_new  2013-03-15 10:48:55.0 +0100
@@ -1,8 +1,8 @@
-Index: virt-viewer-0.5.4/src/virt-viewer-app.c
+Index: virt-viewer-0.5.5/src/virt-viewer-app.c
 ===
 virt-viewer-0.5.4.orig/src/virt-viewer-app.c
-+++ virt-viewer-0.5.4/src/virt-viewer-app.c
-@@ -377,7 +377,7 @@ virt_viewer_app_open_tunnel_ssh(const ch
+--- virt-viewer-0.5.5.orig/src/virt-viewer-app.c
 virt-viewer-0.5.5/src/virt-viewer-app.c
+@@ -418,7 +418,7 @@ virt_viewer_app_open_tunnel_ssh(const ch
  cmd[n++] = sshuser;
  }
  cmd[n++] = sshhost;

++ netware-keycombo.patch ++
--- /var/tmp/diff_new_pack.x4uv2N/_old  2013-03-15 10:48:55.0 +0100
+++ /var/tmp/diff_new_pack.x4uv2N/_new  2013-03-15 10:48:55.0 +0100
@@ -1,8 +1,8 @@
-Index: virt-viewer-0.5.4/src/virt-viewer-window.c
+Index: virt-viewer-0.5.5/src/virt-viewer-window.c
 ===
 virt-viewer-0.5.4.orig/src/virt-viewer-window.c
-+++ virt-viewer-0.5.4/src/virt-viewer-window.c

commit virt-viewer for openSUSE:Factory

2013-01-17 Thread h_root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2013-01-17 10:55:15

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is virt-viewer, Maintainer is carn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2012-12-05 
14:10:15.0 +0100
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2013-01-17 10:55:17.0 +0100
@@ -1,0 +2,11 @@
+Wed Jan  2 14:12:13 MST 2013 - carn...@novell.com
+
+- Enable virt-viewer to be built for s390x
+
+---
+Thu Dec  6 13:41:22 MST 2012 - carn...@novell.com
+
+- Upstream bug fix
+  virtview-git-transport-segv.patch 
+
+---

New:

  virtview-git-transport-segv.patch



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.exVc9C/_old  2013-01-17 10:55:19.0 +0100
+++ /var/tmp/diff_new_pack.exVc9C/_new  2013-01-17 10:55:19.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package virt-viewer
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -28,13 +28,14 @@
 Patch2: virtview-git-spice-rounding.patch
 Patch3: virtview-git-spice-resize-window.patch
 Patch4: virtview-git-ssh-localhost-connect.patch
+Patch5: virtview-git-transport-segv.patch
 Patch20:netcat.diff
 Patch21:windows-keycombo.patch
 Patch22:netware-keycombo.patch
 Patch23:glade-keycombo.patch
 Patch24:report-error.patch
 Patch25:virtview-desktop.patch
-ExclusiveArch:  %ix86 x86_64
+ExclusiveArch:  %ix86 x86_64 s390x
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  automake
 BuildRequires:  gtk2-devel
@@ -53,7 +54,7 @@
 BuildRequires:  intltool
 # Our build requirements
 BuildRequires:  vim
-BuildRequires:  xen-devel
+#BuildRequires:  xen-devel
 Requires:   netcat
 
 %description
@@ -68,6 +69,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 %patch20 -p1
 %patch21 -p1
 %patch22 -p1

++ virtview-git-transport-segv.patch ++

Subject: Don't SIGSEGV if no transport is used.
From: Michal Privoznik mpriv...@redhat.com Wed Nov 14 15:20:58 2012 +0100
Date: Wed Nov 14 15:20:58 2012 +0100:
Git: 9983fe74dd7eae1fac17bafa31ae44995ce28769

One of previous commits (74b1b62510d939) allowed us to connect to
localhost directly if ssh transport was used. However, if there's
not transport, we SIGSEGV'ed as g_str_equal doesn't like NULL as
one of arguments. Change this to g_strcmp0 which does the same
service but is more friendly to NULL arguments.

Index: virt-viewer-0.5.4/src/virt-viewer.c
===
--- virt-viewer-0.5.4.orig/src/virt-viewer.c
+++ virt-viewer-0.5.4/src/virt-viewer.c
@@ -376,7 +376,7 @@ virt_viewer_extract_connect_info(VirtVie
  */
 if (virt_viewer_replace_host(ghost)) {
 gchar *replacement_host = NULL;
-if (g_str_equal(transport, ssh)) {
+if (g_strcmp0(transport, ssh) == 0) {
 replacement_host = g_strdup(localhost);
 } else {
 replacement_host = g_strdup(host);
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit virt-viewer for openSUSE:Factory

2012-12-05 Thread h_root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2012-12-05 14:10:12

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is virt-viewer, Maintainer is carn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2012-10-07 
20:08:04.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2012-12-05 14:10:15.0 +0100
@@ -1,0 +2,10 @@
+Mon Nov 12 17:24:52 MST 2012 - carn...@novell.com
+
+- Upstream bug fixes
+  virtview-git-ipv6-check.patch
+  virtview-git-resize-window.patch
+  virtview-git-spice-rounding.patch
+  virtview-git-spice-resize-window.patch
+  virtview-git-ssh-localhost-connect.patch 
+
+---

New:

  virtview-git-ipv6-check.patch
  virtview-git-resize-window.patch
  virtview-git-spice-resize-window.patch
  virtview-git-spice-rounding.patch
  virtview-git-ssh-localhost-connect.patch



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.L8bvr7/_old  2012-12-05 14:10:15.0 +0100
+++ /var/tmp/diff_new_pack.L8bvr7/_new  2012-12-05 14:10:15.0 +0100
@@ -23,6 +23,11 @@
 Release:0
 Url:http://www.virt-manager.org
 Source0:virt-viewer-0.5.4.tar.gz
+Patch0: virtview-git-ipv6-check.patch
+Patch1: virtview-git-resize-window.patch
+Patch2: virtview-git-spice-rounding.patch
+Patch3: virtview-git-spice-resize-window.patch
+Patch4: virtview-git-ssh-localhost-connect.patch
 Patch20:netcat.diff
 Patch21:windows-keycombo.patch
 Patch22:netware-keycombo.patch
@@ -58,6 +63,11 @@
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
 %patch20 -p1
 %patch21 -p1
 %patch22 -p1

++ netware-keycombo.patch ++
--- /var/tmp/diff_new_pack.L8bvr7/_old  2012-12-05 14:10:15.0 +0100
+++ /var/tmp/diff_new_pack.L8bvr7/_new  2012-12-05 14:10:15.0 +0100
@@ -2,7 +2,7 @@
 ===
 --- virt-viewer-0.5.4.orig/src/virt-viewer-window.c
 +++ virt-viewer-0.5.4/src/virt-viewer-window.c
-@@ -538,7 +538,7 @@ virt_viewer_window_enter_fullscreen(Virt
+@@ -539,7 +539,7 @@ virt_viewer_window_enter_fullscreen(Virt
  #endif
  }
  
@@ -11,7 +11,7 @@
  structkeyComboDef {
  guint keys[MAX_KEY_COMBO];
  guint nkeys;
-@@ -548,7 +548,16 @@ structkeyComboDef {
+@@ -549,7 +549,16 @@ structkeyComboDef {
  static const struct keyComboDef keyCombos[] = {
  { { GDK_Control_L, GDK_Alt_L, GDK_Delete }, 3, Ctrl+Alt+_Del},
  { { GDK_Control_L, GDK_Alt_L, GDK_BackSpace }, 3, Ctrl+Alt+_Backspace},
@@ -29,7 +29,7 @@
  { {}, 0,  },
  { { GDK_Control_L, GDK_Alt_L, GDK_F1 }, 3, Ctrl+Alt+F_1},
  { { GDK_Control_L, GDK_Alt_L, GDK_F2 }, 3, Ctrl+Alt+F_2},
-@@ -559,7 +568,7 @@ static const struct keyComboDef keyCombo
+@@ -560,7 +569,7 @@ static const struct keyComboDef keyCombo
  { { GDK_Control_L, GDK_Alt_L, GDK_F7 }, 3, Ctrl+Alt+F_7},
  { { GDK_Control_L, GDK_Alt_L, GDK_F8 }, 3, Ctrl+Alt+F_8},
  { { GDK_Control_L, GDK_Alt_L, GDK_F9 }, 3, Ctrl+Alt+F_9},

++ report-error.patch ++
--- /var/tmp/diff_new_pack.L8bvr7/_old  2012-12-05 14:10:15.0 +0100
+++ /var/tmp/diff_new_pack.L8bvr7/_new  2012-12-05 14:10:15.0 +0100
@@ -2,7 +2,7 @@
 ===
 --- virt-viewer-0.5.4.orig/src/virt-viewer.c
 +++ virt-viewer-0.5.4/src/virt-viewer.c
-@@ -482,6 +482,7 @@ virt_viewer_initial_connect(VirtViewerAp
+@@ -509,6 +509,7 @@ virt_viewer_initial_connect(VirtViewerAp
  } else {
  virt_viewer_app_simple_message_dialog(app, _(Cannot find guest 
domain %s),
priv-domkey);

++ virtview-git-ipv6-check.patch ++

Subject: Fix check for IPv6 any address
From: Daniel P. Berrange berra...@redhat.com Tue Oct 9 17:52:23 2012 +0100
Date: Wed Oct 10 16:28:38 2012 +0100:
Git: c4bfbe104f507236e2f98d6d4aa5966b0b6857bc

The string '::' is just one of many possible ways to express
the IPv6 any address. Others include  '::0', '0:0:0:0:0:0:0:0',
'0::0' and more. Instead of trying to do strcmp, actually try
parsing the address with GInetAddress and then simply use an
accessor to check what type it is

Signed-off-by: Daniel P. Berrange berra...@redhat.com

Index: virt-viewer-0.5.4/src/virt-viewer.c
===
--- virt-viewer-0.5.4.orig/src/virt-viewer.c
+++ virt-viewer-0.5.4/src/virt-viewer.c

commit virt-viewer for openSUSE:Factory

2012-10-07 Thread h_root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2012-10-07 20:07:00

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is virt-viewer, Maintainer is carn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2012-08-15 
11:21:08.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2012-10-07 20:08:04.0 +0200
@@ -1,0 +2,16 @@
+Mon Sep 17 10:45:01 MDT 2012 - carn...@novell.com
+
+- Update to virt-viewer version 0.5.4
+  * Fix host migration with Spice
+  * Fix misc memory leaks
+  * Fix build with newer glibc and -O0
+  * Improve automatic fullscreen Spice configuration
+  * Avoid crash when quiting application
+  * Rebuild display menu whenever a window is added/removed
+  * Number displays starting from 1 instead of 0
+  * Add support for handling multiple monitors with Spice
+  * Menu display menu insensitive if no displays can be selected
+  * Use real binary name in remote-viewer help message
+  * Document -f=auto-conf in remote-viewer help
+
+---

Old:

  virt-viewer-0.5.3.tar.gz

New:

  virt-viewer-0.5.4.tar.gz



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.sbNxt2/_old  2012-10-07 20:08:05.0 +0200
+++ /var/tmp/diff_new_pack.sbNxt2/_new  2012-10-07 20:08:05.0 +0200
@@ -15,15 +15,14 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
 Name:   virt-viewer
 Summary:Virtual Machine Viewer
 License:GPL-2.0+
 Group:  System/Monitoring
-Version:0.5.3
+Version:0.5.4
 Release:0
 Url:http://www.virt-manager.org
-Source0:virt-viewer-0.5.3.tar.gz
+Source0:virt-viewer-0.5.4.tar.gz
 Patch20:netcat.diff
 Patch21:windows-keycombo.patch
 Patch22:netware-keycombo.patch
@@ -64,7 +63,7 @@
 %patch22 -p1
 %patch23 -p1
 %patch24 -p1
-%patch25
+%patch25 -p1
 
 %build
 echo suse_version = %suse_version

++ glade-keycombo.patch ++
--- /var/tmp/diff_new_pack.sbNxt2/_old  2012-10-07 20:08:05.0 +0200
+++ /var/tmp/diff_new_pack.sbNxt2/_new  2012-10-07 20:08:05.0 +0200
@@ -1,7 +1,7 @@
-Index: virt-viewer-0.5.3/src/virt-viewer.xml
+Index: virt-viewer-0.5.4/src/virt-viewer.xml
 ===
 virt-viewer-0.5.3.orig/src/virt-viewer.xml
-+++ virt-viewer-0.5.3/src/virt-viewer.xml
+--- virt-viewer-0.5.4.orig/src/virt-viewer.xml
 virt-viewer-0.5.4/src/virt-viewer.xml
 @@ -235,12 +235,107 @@
/object
  /child

++ netcat.diff ++
--- /var/tmp/diff_new_pack.sbNxt2/_old  2012-10-07 20:08:05.0 +0200
+++ /var/tmp/diff_new_pack.sbNxt2/_new  2012-10-07 20:08:05.0 +0200
@@ -1,7 +1,7 @@
-Index: virt-viewer-0.5.3/src/virt-viewer-app.c
+Index: virt-viewer-0.5.4/src/virt-viewer-app.c
 ===
 virt-viewer-0.5.3.orig/src/virt-viewer-app.c
-+++ virt-viewer-0.5.3/src/virt-viewer-app.c
+--- virt-viewer-0.5.4.orig/src/virt-viewer-app.c
 virt-viewer-0.5.4/src/virt-viewer-app.c
 @@ -377,7 +377,7 @@ virt_viewer_app_open_tunnel_ssh(const ch
  cmd[n++] = sshuser;
  }

++ netware-keycombo.patch ++
--- /var/tmp/diff_new_pack.sbNxt2/_old  2012-10-07 20:08:05.0 +0200
+++ /var/tmp/diff_new_pack.sbNxt2/_new  2012-10-07 20:08:05.0 +0200
@@ -1,8 +1,8 @@
-Index: virt-viewer-0.5.3/src/virt-viewer-window.c
+Index: virt-viewer-0.5.4/src/virt-viewer-window.c
 ===
 virt-viewer-0.5.3.orig/src/virt-viewer-window.c
-+++ virt-viewer-0.5.3/src/virt-viewer-window.c
-@@ -522,7 +522,7 @@ virt_viewer_window_enter_fullscreen(Virt
+--- virt-viewer-0.5.4.orig/src/virt-viewer-window.c
 virt-viewer-0.5.4/src/virt-viewer-window.c
+@@ -538,7 +538,7 @@ virt_viewer_window_enter_fullscreen(Virt
  #endif
  }
  
@@ -11,7 +11,7 @@
  structkeyComboDef {
  guint keys[MAX_KEY_COMBO];
  guint nkeys;
-@@ -532,7 +532,16 @@ structkeyComboDef {
+@@ -548,7 +548,16 @@ structkeyComboDef {
  static const struct keyComboDef keyCombos[] = {
  { { GDK_Control_L, GDK_Alt_L, GDK_Delete }, 3, Ctrl+Alt+_Del},
  { { GDK_Control_L, GDK_Alt_L, GDK_BackSpace }, 3, Ctrl+Alt+_Backspace},
@@ -29,7 +29,7 @@
  { {}, 0,  },
  { { GDK_Control_L, GDK_Alt_L, GDK_F1 }, 3, Ctrl+Alt+F_1},
  { { GDK_Control_L, GDK_Alt_L, GDK_F2 }, 3, Ctrl+Alt+F_2},
-@@ -543,7 

commit virt-viewer for openSUSE:Factory

2012-08-15 Thread h_root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2012-08-15 11:21:06

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is virt-viewer, Maintainer is carn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2012-05-21 
07:32:54.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2012-08-15 11:21:08.0 +0200
@@ -1,0 +2,6 @@
+Tue Aug 14 14:09:18 UTC 2012 - ch...@computersalat.de
+
+- fix build for SLE_11
+  * rework virtview-desktop patch
+
+---



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.4Xvbh9/_old  2012-08-15 11:21:10.0 +0200
+++ /var/tmp/diff_new_pack.4Xvbh9/_new  2012-08-15 11:21:10.0 +0200
@@ -15,14 +15,14 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   virt-viewer
-Version:0.5.3
-Release:0
 Summary:Virtual Machine Viewer
 License:GPL-2.0+
 Group:  System/Monitoring
+Version:0.5.3
+Release:0
 Url:http://www.virt-manager.org
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source0:virt-viewer-0.5.3.tar.gz
 Patch20:netcat.diff
 Patch21:windows-keycombo.patch
@@ -30,6 +30,8 @@
 Patch23:glade-keycombo.patch
 Patch24:report-error.patch
 Patch25:virtview-desktop.patch
+ExclusiveArch:  %ix86 x86_64
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  automake
 BuildRequires:  gtk2-devel
 BuildRequires:  libvirt-devel = 0.9.7
@@ -46,22 +48,15 @@
 %endif
 BuildRequires:  intltool
 # Our build requirements
-BuildRequires:  xen-devel
 BuildRequires:  vim
+BuildRequires:  xen-devel
 Requires:   netcat
-ExclusiveArch:  %ix86 x86_64
 
 %description
 Virtual Machine Viewer provides a graphical console client for
 connecting to virtual machines. It uses the GTK-VNC widget to provide
 the display, and libvirt for looking up VNC server details.
 
-
-
-Authors:
-
-Daniel Berrange berra...@redhat.com
-
 %prep
 %setup -q
 %patch20 -p1
@@ -69,7 +64,7 @@
 %patch22 -p1
 %patch23 -p1
 %patch24 -p1
-%patch25 -p1
+%patch25
 
 %build
 echo suse_version = %suse_version
@@ -77,8 +72,7 @@
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make install  DESTDIR=$RPM_BUILD_ROOT
+%makeinstall
 %{find_lang} %{name}
 
 %clean

++ virtview-desktop.patch ++
--- /var/tmp/diff_new_pack.4Xvbh9/_old  2012-08-15 11:21:10.0 +0200
+++ /var/tmp/diff_new_pack.4Xvbh9/_new  2012-08-15 11:21:10.0 +0200
@@ -1,15 +1,21 @@
 virt-viewer-0.5.3/src/remote-viewer.desktop.orig   2012-05-17 
15:16:47.0 -0600
-+++ virt-viewer-0.5.3/src/remote-viewer.desktop2012-05-17 
15:23:25.0 -0600
-@@ -1,6 +1,19 @@
+Index: src/remote-viewer.desktop
+===
+--- src/remote-viewer.desktop.orig
 src/remote-viewer.desktop
+@@ -1,6 +1,21 @@
  [Desktop Entry]
++X-SuSE-translate=true
  Name=Remote Viewer
 -Exec=remote-viewer %u
 +Comment=Virtual Machine Viewer for Xen and KVM
++GenericName=VM Viewer for Xen/KVM
 +Icon=yast-vm-management
 +Exec=/usr/bin/virt-viewer
  Type=Application
- Terminal=False
- MimeType=x-scheme-handler/spice
+-Terminal=False
+-MimeType=x-scheme-handler/spice
++Terminal=false
++MimeType=x-scheme-handler/spice;
 +Encoding=UTF-8
 +Categories=Qt;X-SuSE-YaST;
 +X-KDE-ModuleType=Library

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit virt-viewer for openSUSE:Factory

2012-05-20 Thread h_root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2012-05-21 07:32:49

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is virt-viewer, Maintainer is carn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2012-05-03 
11:01:28.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2012-05-21 07:32:54.0 +0200
@@ -1,0 +2,14 @@
+Thu May 17 15:10:50 MDT 2012 - carn...@novell.com
+
+- Update to virt-viewer version 0.5.3
+  * Add support for raw IPv6 addresses
+  * Add a remote-viewer.desktop file and register spice:// handling
+  * Add a simple connection dialog to remote-viewer
+  * Add remote-viewer --fullscreen=auto-conf option, to update guest monitors 
configuration to match client
+  * Spice controller support for disable-effects, color-depth and usbredir
+  * Spice controller interaction fixes
+  * Windows version and nsis installer improvements
+  * Import newer translations from transifex
+  * Misc reference leak / crash bugs fixed
+
+---

Old:

  virt-viewer-0.5.2.tar.gz
  virtview-git-uri-crash.patch
  virtview-git-vnc-close.patch

New:

  virt-viewer-0.5.3.tar.gz
  virtview-desktop.patch



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.AJLbN0/_old  2012-05-21 07:32:56.0 +0200
+++ /var/tmp/diff_new_pack.AJLbN0/_new  2012-05-21 07:32:56.0 +0200
@@ -15,23 +15,21 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
 Name:   virt-viewer
-Version:0.5.2
+Version:0.5.3
 Release:0
 Summary:Virtual Machine Viewer
 License:GPL-2.0+
 Group:  System/Monitoring
 Url:http://www.virt-manager.org
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Source0:virt-viewer-0.5.2.tar.gz
-Patch0: virtview-git-uri-crash.patch
-Patch1: virtview-git-vnc-close.patch
+Source0:virt-viewer-0.5.3.tar.gz
 Patch20:netcat.diff
 Patch21:windows-keycombo.patch
 Patch22:netware-keycombo.patch
 Patch23:glade-keycombo.patch
 Patch24:report-error.patch
+Patch25:virtview-desktop.patch
 BuildRequires:  automake
 BuildRequires:  gtk2-devel
 BuildRequires:  libvirt-devel = 0.9.7
@@ -66,13 +64,12 @@
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
 %patch20 -p1
 %patch21 -p1
 %patch22 -p1
 %patch23 -p1
 %patch24 -p1
+%patch25 -p1
 
 %build
 echo suse_version = %suse_version
@@ -97,6 +94,7 @@
 %{_datadir}/icons/hicolor/*/apps/*
 %{_mandir}/man1/virt-viewer.1*
 %{_mandir}/man1/remote-viewer.1*
+%{_datadir}/applications/remote-viewer.desktop
 /usr/share/virt-viewer/ui/virt-viewer-about.xml
 /usr/share/virt-viewer/ui/virt-viewer-auth.xml
 /usr/share/virt-viewer/ui/virt-viewer.xml

++ glade-keycombo.patch ++
--- /var/tmp/diff_new_pack.AJLbN0/_old  2012-05-21 07:32:56.0 +0200
+++ /var/tmp/diff_new_pack.AJLbN0/_new  2012-05-21 07:32:56.0 +0200
@@ -1,7 +1,7 @@
-Index: virt-viewer-0.5.2/src/virt-viewer.xml
+Index: virt-viewer-0.5.3/src/virt-viewer.xml
 ===
 virt-viewer-0.5.2.orig/src/virt-viewer.xml
-+++ virt-viewer-0.5.2/src/virt-viewer.xml
+--- virt-viewer-0.5.3.orig/src/virt-viewer.xml
 virt-viewer-0.5.3/src/virt-viewer.xml
 @@ -235,12 +235,107 @@
/object
  /child

++ netcat.diff ++
--- /var/tmp/diff_new_pack.AJLbN0/_old  2012-05-21 07:32:56.0 +0200
+++ /var/tmp/diff_new_pack.AJLbN0/_new  2012-05-21 07:32:56.0 +0200
@@ -1,8 +1,8 @@
-Index: virt-viewer-0.5.2/src/virt-viewer-app.c
+Index: virt-viewer-0.5.3/src/virt-viewer-app.c
 ===
 virt-viewer-0.5.2.orig/src/virt-viewer-app.c
-+++ virt-viewer-0.5.2/src/virt-viewer-app.c
-@@ -363,7 +363,7 @@ virt_viewer_app_open_tunnel_ssh(const ch
+--- virt-viewer-0.5.3.orig/src/virt-viewer-app.c
 virt-viewer-0.5.3/src/virt-viewer-app.c
+@@ -377,7 +377,7 @@ virt_viewer_app_open_tunnel_ssh(const ch
  cmd[n++] = sshuser;
  }
  cmd[n++] = sshhost;

++ netware-keycombo.patch ++
--- /var/tmp/diff_new_pack.AJLbN0/_old  2012-05-21 07:32:56.0 +0200
+++ /var/tmp/diff_new_pack.AJLbN0/_new  2012-05-21 07:32:56.0 +0200
@@ -1,8 +1,8 @@
-Index: virt-viewer-0.5.2/src/virt-viewer-window.c
+Index: virt-viewer-0.5.3/src/virt-viewer-window.c
 ===
 

commit virt-viewer for openSUSE:Factory

2012-05-03 Thread h_root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2012-05-03 11:01:26

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is virt-viewer, Maintainer is carn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2012-03-29 
11:42:50.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2012-05-03 11:01:28.0 +0200
@@ -1,0 +2,8 @@
+Tue Apr 24 10:54:33 MDT 2012 - carn...@novell.com
+
+- Fix failure of viewer to close when guest is terminated 
+  virtview-git-vnc-close.patch
+- Additional upstream fix
+  virtview-git-uri-crash.patch
+
+---

New:

  virtview-git-uri-crash.patch
  virtview-git-vnc-close.patch



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.Qrjwvg/_old  2012-05-03 11:01:29.0 +0200
+++ /var/tmp/diff_new_pack.Qrjwvg/_new  2012-05-03 11:01:29.0 +0200
@@ -25,6 +25,8 @@
 Url:http://www.virt-manager.org
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source0:virt-viewer-0.5.2.tar.gz
+Patch0: virtview-git-uri-crash.patch
+Patch1: virtview-git-vnc-close.patch
 Patch20:netcat.diff
 Patch21:windows-keycombo.patch
 Patch22:netware-keycombo.patch
@@ -64,6 +66,8 @@
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 %patch20 -p1
 %patch21 -p1
 %patch22 -p1

++ virtview-git-uri-crash.patch ++

Subject: Do not crash so easily when given invalid uri
From: Marc-André Lureau marcandre.lur...@gmail.com Fri Mar 16 13:17:09 2012 
+0100
Date: Fri Mar 16 17:16:57 2012 +0100:
Git: e06c822023ac2f5d2b2dae50dd813f4a0d5e908b

'remote-viewer foobar' shouldn't crash

Index: virt-viewer-0.5.2/src/remote-viewer.c
===
--- virt-viewer-0.5.2.orig/src/remote-viewer.c
+++ virt-viewer-0.5.2/src/remote-viewer.c
@@ -728,7 +728,7 @@ remote_viewer_start(VirtViewerApp *app)
 DEBUG_LOG(Opening display to %s, guri);
 g_object_set(app, title, guri, NULL);
 
-if (virt_viewer_util_extract_host(guri, type, NULL, NULL, NULL, NULL) 
 0) {
+if (virt_viewer_util_extract_host(guri, type, NULL, NULL, NULL, NULL) 
 0 || type == NULL) {
 virt_viewer_app_simple_message_dialog(app, _(Cannot determine the 
connection type from URI));
 goto cleanup;
 }
Index: virt-viewer-0.5.2/src/virt-viewer-app.c
===
--- virt-viewer-0.5.2.orig/src/virt-viewer-app.c
+++ virt-viewer-0.5.2/src/virt-viewer-app.c
@@ -669,6 +669,7 @@ virt_viewer_app_create_session(VirtViewe
 g_return_val_if_fail(VIRT_VIEWER_IS_APP(self), -1);
 VirtViewerAppPrivate *priv = self-priv;
 g_return_val_if_fail(priv-session == NULL, -1);
+g_return_val_if_fail(type != NULL, -1);
 
 #ifdef HAVE_GTK_VNC
 if (g_ascii_strcasecmp(type, vnc) == 0) {
Index: virt-viewer-0.5.2/src/virt-viewer-util.c
===
--- virt-viewer-0.5.2.orig/src/virt-viewer-util.c
+++ virt-viewer-0.5.2/src/virt-viewer-util.c
@@ -81,7 +81,7 @@ virt_viewer_util_extract_host(const char
   int *port)
 {
 xmlURIPtr uri;
-char *offset;
+char *offset = NULL;
 
 if (uristr == NULL ||
 !g_ascii_strcasecmp(uristr, xen))
@@ -107,16 +107,17 @@ virt_viewer_util_extract_host(const char
 if (port)
 *port = uri-port;
 
-offset = strchr(uri-scheme, '+');
+if (uri-scheme)
+offset = strchr(uri-scheme, '+');
 
 if (transport) {
 if (offset)
-*transport = g_strdup(offset+1);
+*transport = g_strdup(offset + 1);
 else
 *transport = NULL;
 }
 
-if (scheme) {
+if (scheme  uri-scheme) {
 if (offset)
 *scheme = g_strndup(uri-scheme, offset - uri-scheme);
 else
++ virtview-git-vnc-close.patch ++

Subject: Fix close of VNC displays
From: Daniel P. Berrange berra...@redhat.com Tue Apr 3 17:31:39 2012 +0100
Date: Wed Apr 4 10:41:32 2012 +0100:
Git: 831ebf5dabd23d11186af9707631c29a1ecb3578

When clicking the close button on a virt-viewer window with
a VNC session open, while the VNC session terminates, the
window does not go away.

The problem is that the virt_viewer_session_vnc_disconnected
method never gets invoked. The close button triggers a call
to virt_viewer_session_clear_displays which unrefs the
VirtViewerDisplayVnc instance. This in turn triggers a call
to gtk_container_destroy, 

commit virt-viewer for openSUSE:Factory

2012-03-29 Thread h_root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2012-03-29 11:42:48

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is virt-viewer, Maintainer is carn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2012-02-14 
13:11:48.0 +0100
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2012-03-29 11:42:50.0 +0200
@@ -1,0 +2,13 @@
+Wed Mar 21 13:10:29 MDT 2012 - carn...@novell.com
+
+- Update to virt-viewer version 0.5.2
+  * Require libvirt  0.9.7, spice-gtk  0.11, spice-protocol = 0.10.1
+  * Import newer translations from transifex
+  * remote-viewer learned Spice controller customizable key bindings, 
smartcard property, and foreign menu
+  * Fix Spice crash on re-connection
+  * Fix connecting via ssh to a password-protected server
+  * Add a sendkey menu in fullscreen mode
+  * Add USB device selection in fullscreen mode
+  * Misc reference leak / crash bugs fixed
+
+---

Old:

  virt-viewer-0.4.2.tar.gz

New:

  virt-viewer-0.5.2.tar.gz



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.0YwPkM/_old  2012-03-29 11:42:52.0 +0200
+++ /var/tmp/diff_new_pack.0YwPkM/_new  2012-03-29 11:42:52.0 +0200
@@ -17,14 +17,14 @@
 
 
 Name:   virt-viewer
-Version:0.4.2
+Version:0.5.2
 Release:0
 Summary:Virtual Machine Viewer
 License:GPL-2.0+
 Group:  System/Monitoring
 Url:http://www.virt-manager.org
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Source0:virt-viewer-0.4.2.tar.gz
+Source0:virt-viewer-0.5.2.tar.gz
 Patch20:netcat.diff
 Patch21:windows-keycombo.patch
 Patch22:netware-keycombo.patch
@@ -32,7 +32,7 @@
 Patch24:report-error.patch
 BuildRequires:  automake
 BuildRequires:  gtk2-devel
-BuildRequires:  libvirt-devel = 0.6.0
+BuildRequires:  libvirt-devel = 0.9.7
 BuildRequires:  libxml2-devel
 %if %suse_version  1140
 BuildRequires:  gtk-vnc2-devel
@@ -87,9 +87,12 @@
 %defattr(-,root,root,-)
 %doc COPYING AUTHORS ChangeLog
 %{_bindir}/%{name}
-%{_mandir}/man1/%{name}*
+%{_bindir}/remote-viewer
 %dir %{_datadir}/%{name}
 %dir %{_datadir}/%{name}/ui
+%{_datadir}/icons/hicolor/*/apps/*
+%{_mandir}/man1/virt-viewer.1*
+%{_mandir}/man1/remote-viewer.1*
 /usr/share/virt-viewer/ui/virt-viewer-about.xml
 /usr/share/virt-viewer/ui/virt-viewer-auth.xml
 /usr/share/virt-viewer/ui/virt-viewer.xml

++ glade-keycombo.patch ++
--- /var/tmp/diff_new_pack.0YwPkM/_old  2012-03-29 11:42:52.0 +0200
+++ /var/tmp/diff_new_pack.0YwPkM/_new  2012-03-29 11:42:52.0 +0200
@@ -1,8 +1,8 @@
-Index: virt-viewer-0.4.2/src/virt-viewer.xml
+Index: virt-viewer-0.5.2/src/virt-viewer.xml
 ===
 virt-viewer-0.4.2.orig/src/virt-viewer.xml
-+++ virt-viewer-0.4.2/src/virt-viewer.xml
-@@ -191,12 +191,107 @@
+--- virt-viewer-0.5.2.orig/src/virt-viewer.xml
 virt-viewer-0.5.2/src/virt-viewer.xml
+@@ -235,12 +235,107 @@
/object
  /child
  child
@@ -110,7 +110,7 @@
object class=GtkMenuItem id=menu-send-caf1
  property name=visibleTrue/property
  property name=can_focusFalse/property
-@@ -317,7 +412,7 @@
+@@ -361,7 +456,7 @@
/object
  /child
  child

++ netcat.diff ++
--- /var/tmp/diff_new_pack.0YwPkM/_old  2012-03-29 11:42:52.0 +0200
+++ /var/tmp/diff_new_pack.0YwPkM/_new  2012-03-29 11:42:52.0 +0200
@@ -1,13 +1,13 @@
-Index: virt-viewer-0.4.2/src/virt-viewer-app.c
+Index: virt-viewer-0.5.2/src/virt-viewer-app.c
 ===
 virt-viewer-0.4.2.orig/src/virt-viewer-app.c
-+++ virt-viewer-0.4.2/src/virt-viewer-app.c
-@@ -333,7 +333,7 @@ virt_viewer_app_open_tunnel_ssh(const ch
-   cmd[n++] = sshuser;
-   }
-   cmd[n++] = sshhost;
--  cmd[n++] = nc;
-+  cmd[n++] = netcat;
-   if (port) {
-   cmd[n++] = host;
-   cmd[n++] = port;
+--- virt-viewer-0.5.2.orig/src/virt-viewer-app.c
 virt-viewer-0.5.2/src/virt-viewer-app.c
+@@ -363,7 +363,7 @@ virt_viewer_app_open_tunnel_ssh(const ch
+ cmd[n++] = sshuser;
+ }
+ cmd[n++] = sshhost;
+-cmd[n++] = nc;
++cmd[n++] = netcat;
+ if (port) {
+ cmd[n++] = host;
+ 

commit virt-viewer for openSUSE:Factory

2012-02-14 Thread h_root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2012-02-14 13:11:47

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is virt-viewer, Maintainer is carn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2011-11-29 
12:53:02.0 +0100
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2012-02-14 13:11:48.0 +0100
@@ -1,0 +2,30 @@
+Fri Feb  3 05:58:49 MST 2012 - carn...@novell.com
+
+- Update to virt-viewer version 0.4.2
+  * Fix exports of signal functions for GTK UI builder on Windows
+  * Avoid crash if xmlParseURI fails
+  * Fix inverted test for SSH port that broke tunnelling
+  * Don't hardcode port numbers for SSH if not requested by user
+  * Fix deadlock in event handling
+  * Fix initial zoom level for all windows
+  * Fix window title to include domain name
+  * Fix hostname used when XML gives a wildcard IP address
+  * Fix window title when waiting for domain to appear
+  * Fix key shortcust for F9-F12 menus
+  * Always ask libvirt for its canonical URI
+  * Allow build without GTK-VNC (ie spice only)
+  * Require GTK-VNC = 0.4.3
+  * Require SPICE-GTK = 0.6.0
+
+---
+Fri Jan  6 16:26:14 MST 2012 - carn...@novell.com
+
+- Fix failure to resize viewer.  Noted usually when tunneling via ssh 
+  virtview-git-emit-resize.patch
+
+---
+Fri Dec  2 15:59:11 UTC 2011 - co...@suse.com
+
+- add automake as buildrequire to avoid implicit dependency
+
+---

Old:

  virt-viewer-0.4.1.tar.gz
  virtview-git-canonical-uri.patch
  virtview-git-ff-callbacks.patch
  virtview-git-fn-key.patch
  virtview-git-fullscreen.patch
  virtview-git-null-print.patch
  virtview-git-sshport-numbers.patch
  virtview-git-sshport.patch
  virtview-git-sshport0.patch
  virtview-git-ui-lookup.patch
  virtview-git-wildcard-hostname.patch
  virtview-git-window-title.patch
  virtview-git-window-wait.patch
  virtview-git-window-zoom-level.patch
  virtview-git-xmlparseuri.patch
  virtview-git-zoom-level.patch

New:

  virt-viewer-0.4.2.tar.gz



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.bNaoy8/_old  2012-02-14 13:11:52.0 +0100
+++ /var/tmp/diff_new_pack.bNaoy8/_new  2012-02-14 13:11:52.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package virt-viewer
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,36 +16,21 @@
 #
 
 
-
 Name:   virt-viewer
-Version:0.4.1
-Release:1
+Version:0.4.2
+Release:0
 Summary:Virtual Machine Viewer
+License:GPL-2.0+
 Group:  System/Monitoring
-License:GPLv2+
 Url:http://www.virt-manager.org
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Source0:virt-viewer-0.4.1.tar.gz
-Patch1: virtview-git-fullscreen.patch
-Patch2: virtview-git-ui-lookup.patch
-Patch3: virtview-git-xmlparseuri.patch
-Patch4: virtview-git-sshport.patch
-Patch5: virtview-git-sshport0.patch
-Patch6: virtview-git-sshport-numbers.patch
-Patch7: virtview-git-null-print.patch
-Patch8: virtview-git-ff-callbacks.patch
-Patch9: virtview-git-zoom-level.patch
-Patch10:virtview-git-window-title.patch
-Patch11:virtview-git-window-zoom-level.patch
-Patch12:virtview-git-wildcard-hostname.patch
-Patch13:virtview-git-fn-key.patch
-Patch14:virtview-git-window-wait.patch
-Patch15:virtview-git-canonical-uri.patch
+Source0:virt-viewer-0.4.2.tar.gz
 Patch20:netcat.diff
 Patch21:windows-keycombo.patch
 Patch22:netware-keycombo.patch
 Patch23:glade-keycombo.patch
 Patch24:report-error.patch
+BuildRequires:  automake
 BuildRequires:  gtk2-devel
 BuildRequires:  libvirt-devel = 0.6.0
 BuildRequires:  libxml2-devel
@@ -79,21 +64,6 @@
 
 %prep
 %setup -q
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
-%patch9 -p1
-%patch10 -p1
-%patch11 -p1
-%patch12 -p1
-%patch13 -p1
-%patch14 -p1
-%patch15 -p1
 %patch20 -p1
 %patch21 -p1
 %patch22 -p1

++ glade-keycombo.patch ++
--- /var/tmp/diff_new_pack.bNaoy8/_old  2012-02-14 

commit virt-viewer for openSUSE:Factory

2011-11-29 Thread h_root
Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory 
checked in at 2011-11-29 12:52:52

Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old)
 and  /work/SRC/openSUSE:Factory/.virt-viewer.new (New)


Package is virt-viewer, Maintainer is carn...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes  2011-10-20 
14:13:00.0 +0200
+++ /work/SRC/openSUSE:Factory/.virt-viewer.new/virt-viewer.changes 
2011-11-29 12:53:02.0 +0100
@@ -1,0 +2,6 @@
+Mon Nov 21 16:22:57 MST 2011 - carn...@novell.com
+
+- Always use canonical URI from libvirt connection 
+  virtview-git-canonical-uri.patch
+
+---

New:

  virtview-git-canonical-uri.patch



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.lE0pzX/_old  2011-11-29 12:53:03.0 +0100
+++ /var/tmp/diff_new_pack.lE0pzX/_new  2011-11-29 12:53:03.0 +0100
@@ -40,6 +40,7 @@
 Patch12:virtview-git-wildcard-hostname.patch
 Patch13:virtview-git-fn-key.patch
 Patch14:virtview-git-window-wait.patch
+Patch15:virtview-git-canonical-uri.patch
 Patch20:netcat.diff
 Patch21:windows-keycombo.patch
 Patch22:netware-keycombo.patch
@@ -92,6 +93,7 @@
 %patch12 -p1
 %patch13 -p1
 %patch14 -p1
+%patch15 -p1
 %patch20 -p1
 %patch21 -p1
 %patch22 -p1

++ report-error.patch ++
--- /var/tmp/diff_new_pack.lE0pzX/_old  2011-11-29 12:53:03.0 +0100
+++ /var/tmp/diff_new_pack.lE0pzX/_new  2011-11-29 12:53:03.0 +0100
@@ -2,7 +2,7 @@
 ===
 --- virt-viewer-0.4.1.orig/src/virt-viewer.c
 +++ virt-viewer-0.4.1/src/virt-viewer.c
-@@ -423,6 +423,7 @@ virt_viewer_initial_connect(VirtViewerAp
+@@ -426,6 +426,7 @@ virt_viewer_initial_connect(VirtViewerAp
} else {
virt_viewer_app_simple_message_dialog(app, _(Cannot 
find guest domain %s),
  priv-domkey);

++ virtview-git-canonical-uri.patch ++

Subject: Always use canonical URI from libvirt connection
From: Daniel P. Berrange berra...@redhat.com Mon Nov 7 11:17:05 2011 +
Date: Mon Nov 7 11:17:41 2011 +:
Git: 9319081827c096120c1a782b5dbc6924e9cd9eff

The URI we feed into libvirt may be an alias, so always query the
actual URI used internally

Index: virt-viewer-0.4.1/src/virt-viewer.c
===
--- virt-viewer-0.4.1.orig/src/virt-viewer.c
+++ virt-viewer-0.4.1/src/virt-viewer.c
@@ -285,6 +285,7 @@ virt_viewer_extract_connect_info(VirtVie
gchar *transport = NULL;
gchar *user = NULL;
gint port = 0;
+   gchar *uri = NULL;
 
virt_viewer_app_free_connect_info(app);
 
@@ -319,7 +320,8 @@ virt_viewer_extract_connect_info(VirtVie
else
DEBUG_LOG(Guest graphics address is %s, unixsock);
 
-   if (virt_viewer_util_extract_host(priv-uri, NULL, host, transport, 
user, port)  0) {
+   uri = virConnectGetURI(priv-conn);
+   if (virt_viewer_util_extract_host(uri, NULL, host, transport, user, 
port)  0) {
virt_viewer_app_simple_message_dialog(app, _(Cannot determine 
the host for the guest %s),
  priv-domkey);
goto cleanup;
@@ -352,6 +354,7 @@ virt_viewer_extract_connect_info(VirtVie
g_free(type);
g_free(xpath);
g_free(xmldesc);
+   g_free(uri);
return retval;
 }
 
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit virt-viewer for openSUSE:Factory

2011-09-27 Thread h_root

Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory
checked in at Tue Sep 27 16:06:58 CEST 2011.




--- virt-viewer/virt-viewer.changes 2011-07-28 20:51:00.0 +0200
+++ /mounts/work_src_done/STABLE/virt-viewer/virt-viewer.changes
2011-09-26 19:58:56.0 +0200
@@ -1,0 +2,21 @@
+Mon Sep 26 11:50:07 MDT 2011 - carn...@novell.com
+
+- Update to virt-viewer version 0.4.1
+  + Remove bogus use of AM_GLIB_GNU_GETTEXT macro to try to facilitate BSD 
builds
+  + Support multiple monitors with SPICE and QXL drivers
+  + Don't hardcode SSH port to 22 when tunnelling
+  + Require SPICE-GTK = 0.6
+  + Hide menu bar when going fullscreen
+  + Support building against GTK2 or GTK3
+  + Convert from Glade to GtkBuilder
+  + Honour 'listen' attribute from graphics XML when connecting
+  + Fix reconnection after authentication failure
+  + Make --verbose flag actually do something
+  + Enable scaling with SPICE to match VNC behaviour
+  + Rewrite widget resizing code to (try to) be more reliable
+  + Fill extra space outside guest display with black
+  + Fix (null) in title bar while not connected
+  + Fix multiple memory leaks
+  + Fix reconnecting to display with SPICE
+
+---

calling whatdependson for head-i586


Old:

  virt-viewer-0.3.1.tar.gz
  virtview-reconnect-fix.patch
  vnc-listen.patch

New:

  virt-viewer-0.4.1.tar.gz
  virtview-ff-callbacks-fix.patch
  virtview-fullscreen-fix.patch
  virtview-null-print-fix.patch
  virtview-sshport-fix.patch
  virtview-sshport-numbers-fix.patch
  virtview-sshport0-fix.patch
  virtview-ui-lookup-fix.patch
  virtview-wildcard-hostname-fix.patch
  virtview-window-title-fix.patch
  virtview-window-zoom-level-fix.patch
  virtview-xmlparseuri-fix.patch
  virtview-zoom-level-fix.patch



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.xNoCvU/_old  2011-09-27 16:06:52.0 +0200
+++ /var/tmp/diff_new_pack.xNoCvU/_new  2011-09-27 16:06:52.0 +0200
@@ -18,29 +18,38 @@
 
 
 Name:   virt-viewer
-Version:0.3.1
-Release:5
+Version:0.4.1
+Release:1
 Summary:Virtual Machine Viewer
 Group:  System/Monitoring
 License:GPLv2+
 Url:http://www.virt-manager.org
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Source0:virt-viewer-0.3.1.tar.gz
-Patch0: virtview-reconnect-fix.patch
-Patch10:netcat.diff
-Patch11:vnc-listen.patch
-Patch12:windows-keycombo.patch
-Patch13:netware-keycombo.patch
-Patch14:glade-keycombo.patch
-Patch15:report-error.patch
+Source0:virt-viewer-0.4.1.tar.gz
+Patch1: virtview-fullscreen-fix.patch
+Patch2: virtview-ui-lookup-fix.patch
+Patch3: virtview-xmlparseuri-fix.patch
+Patch4: virtview-sshport-fix.patch
+Patch5: virtview-sshport0-fix.patch
+Patch6: virtview-sshport-numbers-fix.patch
+Patch7: virtview-null-print-fix.patch
+Patch8: virtview-ff-callbacks-fix.patch
+Patch9: virtview-zoom-level-fix.patch
+Patch10:virtview-window-title-fix.patch
+Patch11:virtview-window-zoom-level-fix.patch
+Patch12:virtview-wildcard-hostname-fix.patch
+Patch20:netcat.diff
+Patch21:windows-keycombo.patch
+Patch22:netware-keycombo.patch
+Patch23:glade-keycombo.patch
+Patch24:report-error.patch
 BuildRequires:  gtk2-devel
 BuildRequires:  libvirt-devel = 0.6.0
 BuildRequires:  libxml2-devel
 %if %suse_version  1140
 BuildRequires:  gtk-vnc2-devel
-%else
-BuildRequires:  gtk-vnc-devel = 0.3.8
 %endif
+BuildRequires:  gtk-vnc-devel = 0.3.8
 BuildRequires:  libglade2-devel
 %if %suse_version  1130
 BuildRequires:  libpixman-1-0-devel
@@ -50,6 +59,7 @@
 BuildRequires:  intltool
 # Our build requirements
 BuildRequires:  xen-devel
+BuildRequires:  vim
 Requires:   netcat
 ExclusiveArch:  %ix86 x86_64
 
@@ -66,15 +76,26 @@
 
 %prep
 %setup -q
-%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
+%patch9 -p1
 %patch10 -p1
 %patch11 -p1
 %patch12 -p1
-%patch13 -p1
-%patch14 -p1
-%patch15 -p1
+%patch20 -p1
+%patch21 -p1
+%patch22 -p1
+%patch23 -p1
+%patch24 -p1
 
 %build
+echo suse_version = %suse_version
 %configure GTKVNC_CFLAGS=-I/usr/include/gtk-vnc-1.0 GTKVNC_LIBS=-lgtk-vnc-1.0
 make %{?_smp_mflags}
 
@@ -93,8 +114,8 @@
 %{_mandir}/man1/%{name}*
 %dir %{_datadir}/%{name}
 %dir %{_datadir}/%{name}/ui
-/usr/share/virt-viewer/ui/about.glade
-/usr/share/virt-viewer/ui/auth.glade
-/usr/share/virt-viewer/ui/viewer.glade
+/usr/share/virt-viewer/ui/virt-viewer-about.xml
+/usr/share/virt-viewer/ui/virt-viewer-auth.xml
+/usr/share/virt-viewer/ui/virt-viewer.xml
 
 %changelog

++ 

commit virt-viewer for openSUSE:Factory

2011-07-29 Thread h_root

Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory
checked in at Fri Jul 29 10:00:11 CEST 2011.




--- virt-viewer/virt-viewer.changes 2011-05-12 18:10:56.0 +0200
+++ /mounts/work_src_done/STABLE/virt-viewer/virt-viewer.changes
2011-07-28 20:51:00.0 +0200
@@ -1,0 +2,23 @@
+Thu Jul 28 12:42:52 MDT 2011 - carn...@novell.com
+
+- Fixed error Using GTK+ 2.x and GTK+ 3 in the same process is 
+  not supported
+
+---
+Tue Jul 12 11:19:11 MDT 2011 - carn...@novell.com
+
+- Fixed spec file rpmlint warnings for language files.
+- Patch cleanup and re-enabled vnc-listen.patch 
+
+---
+Mon Jul 11 10:04:06 MDT 2011 - carn...@novell.com
+
+- Fix re-connect after authentication failure 
+  virtview-reconnect-fix.patch
+
+---
+Tue Jul  5 13:29:51 MDT 2011 - carn...@novell.com
+
+- Fix directories not owned by a package: warnings. 
+
+---

calling whatdependson for head-i586


Old:

  keymap.diff

New:

  virtview-reconnect-fix.patch



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.vfY2vw/_old  2011-07-29 09:56:57.0 +0200
+++ /var/tmp/diff_new_pack.vfY2vw/_new  2011-07-29 09:56:57.0 +0200
@@ -19,24 +19,28 @@
 
 Name:   virt-viewer
 Version:0.3.1
-Release:3
+Release:5
 Summary:Virtual Machine Viewer
 Group:  System/Monitoring
 License:GPLv2+
 Url:http://www.virt-manager.org
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Source0:virt-viewer-0.3.1.tar.gz
-Patch0: netcat.diff
-Patch1: vnc-listen.patch
-Patch2: windows-keycombo.patch
-Patch3: netware-keycombo.patch
-Patch4: glade-keycombo.patch
-Patch5: keymap.diff
-Patch6: report-error.patch
+Patch0: virtview-reconnect-fix.patch
+Patch10:netcat.diff
+Patch11:vnc-listen.patch
+Patch12:windows-keycombo.patch
+Patch13:netware-keycombo.patch
+Patch14:glade-keycombo.patch
+Patch15:report-error.patch
 BuildRequires:  gtk2-devel
 BuildRequires:  libvirt-devel = 0.6.0
 BuildRequires:  libxml2-devel
+%if %suse_version  1140
+BuildRequires:  gtk-vnc2-devel
+%else
 BuildRequires:  gtk-vnc-devel = 0.3.8
+%endif
 BuildRequires:  libglade2-devel
 %if %suse_version  1130
 BuildRequires:  libpixman-1-0-devel
@@ -44,7 +48,7 @@
 BuildRequires:  libpixman
 %endif
 BuildRequires:  intltool
-#our build requirements
+# Our build requirements
 BuildRequires:  xen-devel
 Requires:   netcat
 ExclusiveArch:  %ix86 x86_64
@@ -63,37 +67,32 @@
 %prep
 %setup -q
 %patch0 -p1
-#%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-#%patch5 -p1
-%patch6 -p1
+%patch10 -p1
+%patch11 -p1
+%patch12 -p1
+%patch13 -p1
+%patch14 -p1
+%patch15 -p1
 
 %build
-# Note: remote GTKVNC_CFLAGS and GTKVNC_LIBS when gtk-vnc.pc is fixed in STABLE
-%if %suse_version  1140
-%configure GTKVNC_CFLAGS=-I/usr/include/gtk-vnc-2.0 GTKVNC_LIBS=-lgtk-vnc-2.0
-%else
 %configure GTKVNC_CFLAGS=-I/usr/include/gtk-vnc-1.0 GTKVNC_LIBS=-lgtk-vnc-1.0
-%endif
 make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 make install  DESTDIR=$RPM_BUILD_ROOT
+%{find_lang} %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(-,root,root,-)
 %doc COPYING AUTHORS ChangeLog
 %{_bindir}/%{name}
 %{_mandir}/man1/%{name}*
 %dir %{_datadir}/%{name}
 %dir %{_datadir}/%{name}/ui
-%dir %{_datadir}/locale/*/*/*.mo
 /usr/share/virt-viewer/ui/about.glade
 /usr/share/virt-viewer/ui/auth.glade
 /usr/share/virt-viewer/ui/viewer.glade

++ report-error.patch ++
--- /var/tmp/diff_new_pack.vfY2vw/_old  2011-07-29 09:56:57.0 +0200
+++ /var/tmp/diff_new_pack.vfY2vw/_new  2011-07-29 09:56:57.0 +0200
@@ -2,7 +2,7 @@
 ===
 --- virt-viewer-0.3.1.orig/src/viewer.c
 +++ virt-viewer-0.3.1/src/viewer.c
-@@ -1105,6 +1105,7 @@ static int viewer_initial_connect(VirtVi
+@@ -1118,6 +1118,7 @@ static int viewer_initial_connect(VirtVi
} else {
viewer_simple_message_dialog(viewer-window, _(Cannot 
find guest domain %s),
 viewer-domkey);

++ virtview-reconnect-fix.patch ++

Subject: Fix re-connect after authentication failure
From: Daniel P. Berrange berra...@redhat.com Mon May 23 12:41:12 2011 +0100
Date: Mon May 23 12:41:12 2011 +0100:
Git: 6234a2e1f4f904a8ed8f625a7d8fe1705fe5478a

viewer-display will be non-NULL if we have already attempted a
connection. So, remove the check for it being NULL, and 

commit virt-viewer for openSUSE:Factory

2011-05-16 Thread h_root

Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory
checked in at Mon May 16 12:19:23 CEST 2011.




--- virt-viewer/virt-viewer.changes 2011-04-04 22:51:03.0 +0200
+++ /mounts/work_src_done/STABLE/virt-viewer/virt-viewer.changes
2011-05-12 18:10:56.0 +0200
@@ -1,0 +2,5 @@
+Thu May 12 10:10:07 MDT 2011 - carn...@novell.com
+
+- Fix spec file for building with gtk-vnc 2.0 
+
+---

calling whatdependson for head-i586




Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.ugdafn/_old  2011-05-16 12:07:43.0 +0200
+++ /var/tmp/diff_new_pack.ugdafn/_new  2011-05-16 12:07:43.0 +0200
@@ -19,7 +19,7 @@
 
 Name:   virt-viewer
 Version:0.3.1
-Release:1
+Release:3
 Summary:Virtual Machine Viewer
 Group:  System/Monitoring
 License:GPLv2+
@@ -72,7 +72,11 @@
 
 %build
 # Note: remote GTKVNC_CFLAGS and GTKVNC_LIBS when gtk-vnc.pc is fixed in STABLE
+%if %suse_version  1140
+%configure GTKVNC_CFLAGS=-I/usr/include/gtk-vnc-2.0 GTKVNC_LIBS=-lgtk-vnc-2.0
+%else
 %configure GTKVNC_CFLAGS=-I/usr/include/gtk-vnc-1.0 GTKVNC_LIBS=-lgtk-vnc-1.0
+%endif
 make %{?_smp_mflags}
 
 %install






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit virt-viewer for openSUSE:Factory

2011-04-21 Thread h_root

Hello community,

here is the log from the commit of package virt-viewer for openSUSE:Factory
checked in at Thu Apr 21 13:49:31 CEST 2011.




--- virt-viewer/virt-viewer.changes 2010-08-27 01:08:53.0 +0200
+++ /mounts/work_src_done/STABLE/virt-viewer/virt-viewer.changes
2011-04-04 22:51:03.0 +0200
@@ -1,0 +2,11 @@
+Mon Apr  4 14:15:27 MDT 2011 - carn...@novell.com
+
+- Update to virt-viewer version 0.3.1 
+  + Add support for Spice
+  + Add support for spice resize-guest
+  + Add support for zoom levels
+  + Add a menu for zooming in/out of the virtual desktop.
+  + Add a --zoom command line to set the initial zoom level.
+  + Support connections over UNIX sockets
+
+---

calling whatdependson for head-i586


Old:

  virt-viewer-0.2.1.tar.gz

New:

  virt-viewer-0.3.1.tar.gz



Other differences:
--
++ virt-viewer.spec ++
--- /var/tmp/diff_new_pack.vdgAlH/_old  2011-04-21 13:49:07.0 +0200
+++ /var/tmp/diff_new_pack.vdgAlH/_new  2011-04-21 13:49:07.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package virt-viewer (Version 0.2.1)
+# spec file for package virt-viewer
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,14 +18,14 @@
 
 
 Name:   virt-viewer
-Version:0.2.1
-Release:4
+Version:0.3.1
+Release:1
 Summary:Virtual Machine Viewer
 Group:  System/Monitoring
 License:GPLv2+
 Url:http://www.virt-manager.org
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Source0:virt-viewer-0.2.1.tar.gz
+Source0:virt-viewer-0.3.1.tar.gz
 Patch0: netcat.diff
 Patch1: vnc-listen.patch
 Patch2: windows-keycombo.patch
@@ -63,7 +63,7 @@
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
+#%patch1 -p1
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1

++ glade-keycombo.patch ++
--- /var/tmp/diff_new_pack.vdgAlH/_old  2011-04-21 13:49:07.0 +0200
+++ /var/tmp/diff_new_pack.vdgAlH/_new  2011-04-21 13:49:07.0 +0200
@@ -1,8 +1,8 @@
-Index: virt-viewer-0.2.1/src/viewer.glade
+Index: virt-viewer-0.3.1/src/viewer.glade
 ===
 virt-viewer-0.2.1.orig/src/viewer.glade
-+++ virt-viewer-0.2.1/src/viewer.glade
-@@ -98,11 +98,88 @@
+--- virt-viewer-0.3.1.orig/src/viewer.glade
 virt-viewer-0.3.1/src/viewer.glade
+@@ -145,11 +145,88 @@
/widget
  /child
  child
@@ -91,7 +91,7 @@
widget class=GtkMenuItem id=menu-send-caf1
  property name=visibleTrue/property
  property name=label 
translatable=yesCtrl+Alt+F_1/property
-@@ -199,7 +276,7 @@
+@@ -246,7 +323,7 @@
/widget
  /child
  child

++ netcat.diff ++
--- /var/tmp/diff_new_pack.vdgAlH/_old  2011-04-21 13:49:07.0 +0200
+++ /var/tmp/diff_new_pack.vdgAlH/_new  2011-04-21 13:49:07.0 +0200
@@ -1,13 +1,13 @@
-Index: virt-viewer-0.2.1/src/viewer.c
+Index: virt-viewer-0.3.1/src/viewer.c
 ===
 virt-viewer-0.2.1.orig/src/viewer.c
-+++ virt-viewer-0.2.1/src/viewer.c
-@@ -828,7 +828,7 @@ static int viewer_open_tunnel_ssh(const
+--- virt-viewer-0.3.1.orig/src/viewer.c
 virt-viewer-0.3.1/src/viewer.c
+@@ -741,7 +741,7 @@ static int viewer_open_tunnel_ssh(const
cmd[n++] = sshuser;
}
cmd[n++] = sshhost;
 -  cmd[n++] = nc;
 +  cmd[n++] = netcat;
-   cmd[n++] = localhost;
-   cmd[n++] = vncport;
-   cmd[n++] = NULL;
+   if (port) {
+   cmd[n++] = localhost;
+   cmd[n++] = port;

++ netware-keycombo.patch ++
--- /var/tmp/diff_new_pack.vdgAlH/_old  2011-04-21 13:49:07.0 +0200
+++ /var/tmp/diff_new_pack.vdgAlH/_new  2011-04-21 13:49:07.0 +0200
@@ -1,20 +1,20 @@
-Index: virt-viewer-0.2.1/src/viewer.c
+Index: virt-viewer-0.3.1/src/viewer.c
 ===
 virt-viewer-0.2.1.orig/src/viewer.c
-+++ virt-viewer-0.2.1/src/viewer.c
-@@ -68,7 +68,7 @@ static const char * const menuNames[LAST
+--- virt-viewer-0.3.1.orig/src/viewer.c
 virt-viewer-0.3.1/src/viewer.c
+@@ -63,7 +63,7 @@ static const char * const menuNames[LAST
  };
  
  
 -#define MAX_KEY_COMBO 3
 +#define MAX_KEY_COMBO 4
- struct  keyComboDef {
+ structkeyComboDef {
guint keys[MAX_KEY_COMBO];
guint nkeys;
-@@ -78,7 +78,16 @@