Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gnome-boxes for openSUSE:Factory 
checked in at 2022-01-08 23:23:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-boxes (Old)
 and      /work/SRC/openSUSE:Factory/.gnome-boxes.new.1892 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-boxes"

Sat Jan  8 23:23:35 2022 rev:85 rq:944775 version:41.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnome-boxes/gnome-boxes.changes  2021-12-09 
19:46:36.817162263 +0100
+++ /work/SRC/openSUSE:Factory/.gnome-boxes.new.1892/gnome-boxes.changes        
2022-01-08 23:24:09.454258010 +0100
@@ -1,0 +2,7 @@
+Fri Jan  7 15:17:00 UTC 2022 - Dominique Leuenberger <dims...@opensuse.org>
+
+- Update to version 41.3:
+  + Fix crash with absent storage volumes.
+  + Go to display-view after importing a box.
+
+-------------------------------------------------------------------

Old:
----
  gnome-boxes-41.2.tar.xz

New:
----
  gnome-boxes-41.3.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnome-boxes.spec ++++++
--- /var/tmp/diff_new_pack.05K6bp/_old  2022-01-08 23:24:09.986258445 +0100
+++ /var/tmp/diff_new_pack.05K6bp/_new  2022-01-08 23:24:09.990258448 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gnome-boxes
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 # Copyright (c) 2011 Dominique Leuenberger, Amsterdam, The Netherlands.
 #
 # All modifications and additions to the file contributed by third parties
@@ -22,7 +22,7 @@
 %define govf_sover 0.1
 %define gfrdp_sover 0.1
 Name:           gnome-boxes
-Version:        41.2
+Version:        41.3
 Release:        0
 Summary:        A GNOME 3 application to access remote or virtual systems
 License:        LGPL-2.0-or-later

++++++ gnome-boxes-41.2.tar.xz -> gnome-boxes-41.3.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-boxes-41.2/NEWS new/gnome-boxes-41.3/NEWS
--- old/gnome-boxes-41.2/NEWS   2021-12-03 16:18:03.834338000 +0100
+++ new/gnome-boxes-41.3/NEWS   2022-01-07 15:21:33.056792300 +0100
@@ -1,3 +1,15 @@
+41.3 - 07 Jan, 2022
+===================
+
+Changes since 41.2
+
+  - Fix crash with absent storage volumes
+  - Go to display-view after importing a box
+
+All contributors to this release:
+
+Felipe Borges <felipebor...@gnome.org>
+
 41.2 - 03 Dec, 2021
 ===================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-boxes-41.2/data/org.gnome.Boxes.appdata.xml.in 
new/gnome-boxes-41.3/data/org.gnome.Boxes.appdata.xml.in
--- old/gnome-boxes-41.2/data/org.gnome.Boxes.appdata.xml.in    2021-12-03 
16:18:03.855338000 +0100
+++ new/gnome-boxes-41.3/data/org.gnome.Boxes.appdata.xml.in    2022-01-07 
15:21:33.078792600 +0100
@@ -38,6 +38,10 @@
     </screenshot>
   </screenshots>
   <releases>
+    <release version="41.3" date="2022-01-07">
+      <p>GNOME Boxes 41.3 provides additional improvements including a fix for 
a crash when the storage volume of a box is not accessible.</p>
+    </release>
+
     <release version="41.2" date="2021-12-03">
       <p>GNOME Boxes 41.2 provides additional improvements including a fix for 
the issue causing audio backend mismatch, and an issue when some users were 
unable to enable or disable 3D acceleration.</p>
     </release>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-boxes-41.2/meson.build 
new/gnome-boxes-41.3/meson.build
--- old/gnome-boxes-41.2/meson.build    2021-12-03 16:18:03.868338000 +0100
+++ new/gnome-boxes-41.3/meson.build    2022-01-07 15:21:33.089792500 +0100
@@ -1,6 +1,6 @@
 project ('gnome-boxes',
          ['vala', 'c'],
-         version: '41.2',
+         version: '41.3',
          license: 'LGPLv2+',
          meson_version: '>= 0.50.0',
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-boxes-41.2/src/vm-creator.vala 
new/gnome-boxes-41.3/src/vm-creator.vala
--- old/gnome-boxes-41.2/src/vm-creator.vala    2021-12-03 16:18:03.894338100 
+0100
+++ new/gnome-boxes-41.3/src/vm-creator.vala    2022-01-07 15:21:33.125792700 
+0100
@@ -236,12 +236,14 @@
         try {
             if (install_media.os_media != null && 
VMConfigurator.is_install_config (machine.domain_config))
                 return (num_reboots == 
install_media.os_media.installer_reboots);
-            else {
+            else if (volume != null) {
                 var info = volume.get_info ();
 
                 // If guest has used 1 MiB of storage, we assume it installed 
an OS on the volume
                 return (info.allocation >= Osinfo.MEBIBYTES);
             }
+
+            return false;
         } catch (GLib.Error error) {
             warning ("Failed to get information from volume '%s': %s", 
volume.get_name (), error.message);
             return false;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-boxes-41.2/src/vm-importer.vala 
new/gnome-boxes-41.3/src/vm-importer.vala
--- old/gnome-boxes-41.2/src/vm-importer.vala   2021-12-03 16:18:03.894338100 
+0100
+++ new/gnome-boxes-41.3/src/vm-importer.vala   2022-01-07 15:21:33.125792700 
+0100
@@ -40,6 +40,7 @@
         if (start_after_import) {
             try {
                 machine.domain.start (0);
+                App.app.main_window.select_item (machine);
             } catch (GLib.Error error) {
                 warning ("Failed to start domain '%s': %s", 
machine.domain.get_name (), error.message);
             }

Reply via email to