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 2023-02-15 13:40:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-boxes (Old)
 and      /work/SRC/openSUSE:Factory/.gnome-boxes.new.22824 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-boxes"

Wed Feb 15 13:40:52 2023 rev:96 rq:1065877 version:43.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnome-boxes/gnome-boxes.changes  2022-12-23 
10:21:52.003605545 +0100
+++ /work/SRC/openSUSE:Factory/.gnome-boxes.new.22824/gnome-boxes.changes       
2023-02-15 13:41:16.635017983 +0100
@@ -1,0 +2,7 @@
+Tue Feb 14 17:34:31 UTC 2023 - Bjørn Lie <[email protected]>
+
+- Update to version 43.3:
+  + Add OVF to list of supported install media formats.
+  + Use mime-type when validating OVA file.
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ gnome-boxes.spec ++++++
--- /var/tmp/diff_new_pack.bitEbQ/_old  2023-02-15 13:41:17.035020092 +0100
+++ /var/tmp/diff_new_pack.bitEbQ/_new  2023-02-15 13:41:17.039020113 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gnome-boxes
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 # Copyright (c) 2011 Dominique Leuenberger, Amsterdam, The Netherlands.
 #
 # All modifications and additions to the file contributed by third parties
@@ -20,7 +20,7 @@
 %define govf_libver 0_1
 %define govf_sover 0.1
 Name:           gnome-boxes
-Version:        43.2
+Version:        43.3
 Release:        0
 Summary:        A GNOME 3 application to access remote or virtual systems
 License:        LGPL-2.0-or-later

++++++ gnome-boxes-43.2.tar.xz -> gnome-boxes-43.3.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-boxes-43.2/NEWS new/gnome-boxes-43.3/NEWS
--- old/gnome-boxes-43.2/NEWS   2022-12-22 19:44:01.000000000 +0100
+++ new/gnome-boxes-43.3/NEWS   2023-02-14 18:08:05.000000000 +0100
@@ -1,3 +1,11 @@
+43.3 - Feb 14, 2023
+===================
+
+Changes since 43.2
+
+  - Add OVF to list of supported install media formats
+  - Use mime-type when validating OVA file
+
 43.2 - Dec 22, 2022
 ===================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-boxes-43.2/meson.build 
new/gnome-boxes-43.3/meson.build
--- old/gnome-boxes-43.2/meson.build    2022-12-22 19:44:01.000000000 +0100
+++ new/gnome-boxes-43.3/meson.build    2023-02-14 18:08:05.000000000 +0100
@@ -1,6 +1,6 @@
 project ('gnome-boxes',
          ['vala', 'c'],
-         version: '43.2',
+         version: '43.3',
          license: 'LGPLv2+',
          meson_version: '>= 0.59.0',
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-boxes-43.2/po/ab.po 
new/gnome-boxes-43.3/po/ab.po
--- old/gnome-boxes-43.2/po/ab.po       2022-12-22 19:44:01.000000000 +0100
+++ new/gnome-boxes-43.3/po/ab.po       2023-02-14 18:08:05.000000000 +0100
@@ -1,7 +1,7 @@
 msgid ""
 msgstr ""
 "Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/gnome-boxes/issues\n";
-"POT-Creation-Date: 2022-11-09 11:11+0000\n"
+"POT-Creation-Date: 2022-12-11 23:32+0000\n"
 "Last-Translator: Нанба Наала <[email protected]>\n"
 "Language-Team: Abkhazian <[email protected]>\n"
 "Language: ab\n"
@@ -497,7 +497,7 @@
 
 #: data/ui/preferences/resources-page.ui:147
 msgid "Configuration"
-msgstr ""
+msgstr "Архиара"
 
 #: data/ui/preferences/resources-page.ui:152
 msgid "Troubleshooting Logs"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-boxes-43.2/src/installed-media.vala 
new/gnome-boxes-43.3/src/installed-media.vala
--- old/gnome-boxes-43.2/src/installed-media.vala       2022-12-22 
19:44:01.000000000 +0100
+++ new/gnome-boxes-43.3/src/installed-media.vala       2023-02-14 
18:08:05.000000000 +0100
@@ -88,7 +88,8 @@
     }
 
     private async bool extract_ovf () throws GLib.Error {
-        if (!device_file.has_suffix (".ova"))
+        var media_manager = MediaManager.get_default ();
+        if (!media_manager.media_matches_content_type (device_file, 
{"application/ovf"}))
             return false;
 
         var ova_file = File.new_for_path (device_file);
@@ -96,7 +97,7 @@
         yield ovf_package.load_from_ova_file (device_file, null);
 
         var disks = ovf_package.get_disks ();
-        var extracted_path = get_user_pkgcache (ova_file.get_basename () + 
".vmkd");
+        var extracted_path = get_user_pkgcache (ova_file.get_basename () + 
".vmdk");
         yield ovf_package.extract_disk (disks [0], extracted_path, null);
 
         debug ("Extracted '%s' from '%s'.", extracted_path, device_file);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-boxes-43.2/src/media-manager.vala 
new/gnome-boxes-43.3/src/media-manager.vala
--- old/gnome-boxes-43.2/src/media-manager.vala 2022-12-22 19:44:01.000000000 
+0100
+++ new/gnome-boxes-43.3/src/media-manager.vala 2023-02-14 18:08:05.000000000 
+0100
@@ -43,6 +43,7 @@
         "application/x-tar",
         "application/x-xz",
         "application/xml",
+        "application/ovf",
     };
     private bool path_is_installed_media (string path) {
         return media_matches_content_type (path, 
supported_installed_media_content_types);
@@ -68,7 +69,7 @@
         return media_matches_content_type (path, 
supported_compression_content_types);
     }
 
-    private bool media_matches_content_type (string path, string[] 
supported_content_types) {
+    public bool media_matches_content_type (string path, string[] 
supported_content_types) {
         File file = File.new_for_path (path);
 
         try {

Reply via email to