1
0

Accepting request 1069142 from home:iznogood

We can skip this bump if we want to - the 2 patches dropped are the only changes in this new version apart from the version bump.


- Update to version 43.5:
  + Fix few memory leaks.
- Drop patches fixed upstream:
  + 66b400d63b8d7b921b83250a8b9a09e9a1eb6732.patch
  + 1355554764815195aaf9f6e23acdd7a9c521ceaa.patch

OBS-URL: https://build.opensuse.org/request/show/1069142
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-software?expand=0&rev=246
This commit is contained in:
Bjørn Lie 2023-03-03 17:40:41 +00:00 committed by Git OBS Bridge
parent 4df7915a27
commit 8177907705
6 changed files with 13 additions and 59 deletions

View File

@ -1,26 +0,0 @@
From 1355554764815195aaf9f6e23acdd7a9c521ceaa Mon Sep 17 00:00:00 2001
From: Philip Withnall <pwithnall@endlessos.org>
Date: Fri, 10 Feb 2023 01:03:59 +0000
Subject: [PATCH] gs-plugin-job-manage-repository: Fix a minor leak
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
---
lib/gs-plugin-job-manage-repository.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/gs-plugin-job-manage-repository.c b/lib/gs-plugin-job-manage-repository.c
index 7ee444449..2b8ee668b 100644
--- a/lib/gs-plugin-job-manage-repository.c
+++ b/lib/gs-plugin-job-manage-repository.c
@@ -63,6 +63,8 @@ gs_plugin_job_manage_repository_dispose (GObject *object)
g_assert (self->saved_error == NULL);
g_assert (self->n_pending_ops == 0);
+ g_clear_object (&self->repository);
+
G_OBJECT_CLASS (gs_plugin_job_manage_repository_parent_class)->dispose (object);
}
--
GitLab

View File

@ -1,25 +0,0 @@
From 66b400d63b8d7b921b83250a8b9a09e9a1eb6732 Mon Sep 17 00:00:00 2001
From: Philip Withnall <pwithnall@endlessos.org>
Date: Fri, 10 Feb 2023 01:03:42 +0000
Subject: [PATCH] gs-plugin-job-list-apps: Fix a leak of the GsAppQuery
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
---
lib/gs-plugin-job-list-apps.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/gs-plugin-job-list-apps.c b/lib/gs-plugin-job-list-apps.c
index a556387e5..56a4e14be 100644
--- a/lib/gs-plugin-job-list-apps.c
+++ b/lib/gs-plugin-job-list-apps.c
@@ -84,6 +84,7 @@ gs_plugin_job_list_apps_dispose (GObject *object)
g_assert (self->n_pending_ops == 0);
g_clear_object (&self->result_list);
+ g_clear_object (&self->query);
G_OBJECT_CLASS (gs_plugin_job_list_apps_parent_class)->dispose (object);
}
--
GitLab

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e9df060ebab59f49697d5ef2630ec36de60454169dc191af60d3483720aadb3e
size 2367068

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f30628848759426b1d1e66fb0e79b793349c06dfad9b4c227cbf467610f58f71
size 2366940

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Mar 3 11:56:33 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 43.5:
+ Fix few memory leaks.
- Drop patches fixed upstream:
+ 66b400d63b8d7b921b83250a8b9a09e9a1eb6732.patch
+ 1355554764815195aaf9f6e23acdd7a9c521ceaa.patch
-------------------------------------------------------------------
Mon Feb 13 08:10:52 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -19,7 +19,7 @@
%define gs_plugin_api 19
Name: gnome-software
Version: 43.4
Version: 43.5
Release: 0
Summary: GNOME Software Store
License: GPL-2.0-or-later
@ -32,10 +32,6 @@ Patch0: gnome-software-launch-gpk-update-viewer-for-updates.patch
# PATCH-FIX-OPENSUSE gnome-software-disable-offline-update.patch bsc#944832 sckang@suse.com -- Disable offline update in SLE and openSUSE Leap
Patch1: gnome-software-disable-offline-update.patch
%endif
# PATCH-FIX-UPSTREAM 66b400d63b8d7b921b83250a8b9a09e9a1eb6732.patch -- gs-plugin-job-list-apps: Fix a leak of the GsAppQuery
Patch2: https://gitlab.gnome.org/GNOME/gnome-software/-/commit/66b400d63b8d7b921b83250a8b9a09e9a1eb6732.patch
# PATCH-FIX-UPSTREAM 1355554764815195aaf9f6e23acdd7a9c521ceaa.patch -- gs-plugin-job-manage-repository: Fix a minor leak
Patch3: https://gitlab.gnome.org/GNOME/gnome-software/-/commit/1355554764815195aaf9f6e23acdd7a9c521ceaa.patch
BuildRequires: gtk-doc
BuildRequires: meson >= 0.58.0