automatic version update by autodist [release 47.0-1mamba;Sat Sep 21 2024]

This commit is contained in:
Automatic Build System 2024-09-22 02:39:10 +02:00
parent 45300212cd
commit 8c62a4a86f
2 changed files with 5 additions and 32 deletions

View File

@ -1,28 +0,0 @@
From 00183fd26a7b51905c179a427a38bfa18d9eb2d3 Mon Sep 17 00:00:00 2001
From: sid <sidtosh4@gmail.com>
Date: Wed, 22 May 2024 19:32:06 +0100
Subject: [PATCH] libvirt-broker: Check when broker is not valid
Related: #863
---
src/libvirt-broker.vala | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/libvirt-broker.vala b/src/libvirt-broker.vala
index 655a8c56..140e09c8 100644
--- a/src/libvirt-broker.vala
+++ b/src/libvirt-broker.vala
@@ -24,9 +24,10 @@ private class Boxes.LibvirtBroker : Boxes.Broker {
return broker.connections.get (name);
}
- public async LibvirtMachine add_domain (CollectionSource source, GVir.Connection connection, GVir.Domain domain)
- throws GLib.Error {
- return_val_if_fail (broker != null, null);
+ public async LibvirtMachine? add_domain (CollectionSource source, GVir.Connection connection, GVir.Domain domain)
+ throws GLib.Error {
+ if (broker == null)
+ return null;
if (pending_domains.find (domain) != null) {
// Already being added asychronously

View File

@ -1,5 +1,5 @@
Name: gnome-boxes
Version: 46.1
Version: 47.0
Release: 1mamba
Summary: A simple GNOME application to access virtual machines
Group: Graphical Desktop/Applications/Utilities
@ -8,7 +8,6 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://apps.gnome.org/app/org.gnome.Boxes/
Source: https://gitlab.gnome.org/GNOME/gnome-boxes.git/%{version}/gnome-boxes-%{version}.tar.bz2
Patch0: gnome-boxes-46.1-gcc-14.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -36,7 +35,6 @@ A simple GNOME application to access virtual machines.
%prep
%setup -q
%patch 0 -p1 -b .gcc-14
%build
%meson
@ -55,7 +53,7 @@ A simple GNOME application to access virtual machines.
%defattr(-,root,root)
%{_bindir}/gnome-boxes
%{_datadir}/applications/org.gnome.Boxes.desktop
%{_metainfodir}/org.gnome.Boxes.appdata.xml
%{_metainfodir}/org.gnome.Boxes.metainfo.xml
%{_libdir}/gnome-boxes/girepository-1.0/Govf-0.1.typelib
%{_libdir}/gnome-boxes/libgovf-0.1.so
%{_libdir}/gnome-boxes/pkgconfig/govf-0.1.pc
@ -80,5 +78,8 @@ A simple GNOME application to access virtual machines.
%doc COPYING
%changelog
* Sat Sep 21 2024 Automatic Build System <autodist@openmamba.org> 47.0-1mamba
- automatic version update by autodist
* Tue Aug 27 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 46.1-1mamba
- package created using the webbuild interface