Subject: Gnome Boxes on core-updates-frozen can’t clone VMs
From: Vivien Kraus <[email-masked]>
To: [email-masked]
Date: Wed, 10 Nov 2021 09:58:29 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Dear guix,

Gnome Boxes 41.1 fixes a regression on core-updates-frozen where if you
clone a VM, gnome-boxes won’t be able to restart again, because the
clone operation corrupts the new VM description.

I propose that we upgrade it, what do you think?

Vivien

From bb504043513b451e89b5e26c24513157e9acac39 Mon Sep 17 00:00:00 2001
From: Vivien Kraus <[email-masked]>
Date: Wed, 10 Nov 2021 09:51:41 +0000
Subject: [PATCH 1/3] gnu: gnome-boxes: Update to 41.1.

* gnu/packages/gnome.scm (gnome-boxes): Update to 41.1.
---
 gnu/packages/gnome.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index f15dc593f2..598d8a3dfc 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -11538,7 +11538,7 @@ (define-public polari
 (define-public gnome-boxes
   (package
     (name "gnome-boxes")
-    (version "40.3")
+    (version "41.1")
     (source
      (origin
        (method url-fetch)
@@ -11546,7 +11546,7 @@ (define-public gnome-boxes
                            (version-major version) "/"
                            "gnome-boxes-" version ".tar.xz"))
        (sha256
-        (base32 "0n20yzxsc7mv73a905djvsas76vknfn67ad1n0rnvgm48n7qxw7z"))))
+        (base32 "1wzhm8n485cqhbai4qshgrwl05ix881g8gjshilrj6vg8p1li79h"))))
     (build-system meson-build-system)
     (arguments
      '(#:glib-or-gtk? #t
-- 
2.33.1

From 5664393120a972a4e69acfc406dd1fb217024a91 Mon Sep 17 00:00:00 2001
From: Vivien Kraus <[email-masked]>
Date: Wed, 10 Nov 2021 09:52:11 +0000
Subject: [PATCH 2/3] =?UTF-8?q?gnu:=20gnome-boxes:=20Don=E2=80=99t=20use?=
 =?UTF-8?q?=20bundled=20libhandy.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* gnu/packages/gnome.scm (gnome-boxes) [inputs]: Add libhandy.
---
 gnu/packages/gnome.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 598d8a3dfc..3f8bc1b4b9 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -11570,6 +11570,7 @@ (define-public gnome-boxes
        ("gtk-vnc" ,gtk-vnc)
        ("gtksourceview" ,gtksourceview)
        ("json-glib" ,json-glib)
+       ("libhandy" ,libhandy)
        ("libosinfo" ,libosinfo)
        ("libsecret" ,libsecret)
        ("libsoup" ,libsoup)
-- 
2.33.1

From 6a52747aacddf6ce3dbb669a8bae2a26989031fb Mon Sep 17 00:00:00 2001
From: Vivien Kraus <[email-masked]>
Date: Wed, 10 Nov 2021 09:54:10 +0000
Subject: [PATCH 3/3] gnu: gnome-boxes: Apply guix style.

* gnu/packages/gnome.scm (gnome-boxes): Apply guix style.
---
 gnu/packages/gnome.scm | 58 +++++++++++++++++++++---------------------
 1 file changed, 29 insertions(+), 29 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 3f8bc1b4b9..2dc1ea9af8 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -11555,35 +11555,35 @@ (define-public gnome-boxes
                                               (assoc-ref %outputs "out")
                                               "/lib/gnome-boxes"))))
     (native-inputs
-     `(("glib:bin" ,glib "bin")             ; for glib-compile-resources
-       ("gtk+:bin" ,gtk+ "bin")             ; for gtk-update-icon-cache
-       ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
-       ("itstool" ,itstool)
-       ("intltool" ,intltool)
-       ("vala" ,vala)
-       ("pkg-config" ,pkg-config)))
-    (inputs
-     `(("libarchive" ,libarchive)
-       ("glib-networking" ,glib-networking) ;for TLS support
-       ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
-       ("gtk" ,gtk+)
-       ("gtk-vnc" ,gtk-vnc)
-       ("gtksourceview" ,gtksourceview)
-       ("json-glib" ,json-glib)
-       ("libhandy" ,libhandy)
-       ("libosinfo" ,libosinfo)
-       ("libsecret" ,libsecret)
-       ("libsoup" ,libsoup)
-       ("libusb" ,libusb)
-       ("libvirt" ,libvirt)
-       ("libvirt-glib" ,libvirt-glib)
-       ("libxml" ,libxml2)
-       ("spice-gtk" ,spice-gtk)
-       ("sparql-query" ,sparql-query)
-       ("vte" ,vte)
-       ("webkitgtk" ,webkitgtk)
-       ("tracker" ,tracker)
-       ("libgudev" ,libgudev)))
+     (list `(,glib "bin") ; for glib-compile-resources
+           `(,gtk+ "bin") ; for gtk-update-icon-cache
+           desktop-file-utils ; for update-desktop-database
+           itstool
+           intltool
+           vala
+           pkg-config))
+    (inputs
+     (list libarchive
+           glib-networking ;for TLS support
+           gsettings-desktop-schemas
+           gtk+
+           gtk-vnc
+           gtksourceview
+           json-glib
+           libhandy
+           libosinfo
+           libsecret
+           libsoup
+           libusb
+           libvirt
+           libvirt-glib
+           libxml2
+           spice-gtk
+           sparql-query
+           vte
+           webkitgtk
+           tracker
+           libgudev))
     (home-page "https://wiki.gnome.org/Apps/Boxes")
     (synopsis "View, access, and manage remote and virtual systems")
     (description "GNOME Boxes is a simple application to view, access, and
-- 
2.33.1