public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gnome-software] rawhide: Update to 51.1
@ 2026-10-22 15:20 Milan Crha
  0 siblings, 0 replies; only message in thread
From: Milan Crha @ 2026-10-22 15:20 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gnome-software
Branch : rawhide
Commit : bad57adfb1e283ba84a50c7cde4130ddf24b6ef1
Author : Milan Crha <mcrha@redhat.com>
Date   : 2026-10-22T17:19:52+02:00
Stats  : +28/-6 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/gnome-software/c/bad57adfb1e283ba84a50c7cde4130ddf24b6ef1?branch=rawhide

Log:
Update to 51.1

---
diff --git a/0001-dnf5-plugin.patch b/0001-dnf5-plugin.patch
index 8d4bd00..eb127ce 100644
--- a/0001-dnf5-plugin.patch
+++ b/0001-dnf5-plugin.patch
@@ -1,5 +1,5 @@
-at commit 0353f7a1b104f548db01e7d28d4ed0d4bb593c94
-Date:   Tue Jul 28 17:36:00 2026 +0200
+at commit c04643f14122cdb6ed8400d098c8201ab1557cf5
+Date:   Tue Oct 13 11:59:31 2026 +0200
 
 diff --git a/lib/gs-fedora-third-party.c b/lib/gs-fedora-third-party.c
 index e79bba8cd..9905834a9 100644
@@ -623,10 +623,10 @@ index 000000000..5d522468c
 +G_END_DECLS
 diff --git a/plugins/dnf5/gs-plugin-dnf5.c b/plugins/dnf5/gs-plugin-dnf5.c
 new file mode 100644
-index 000000000..29302f3cd
+index 000000000..a5c317bff
 --- /dev/null
 +++ b/plugins/dnf5/gs-plugin-dnf5.c
-@@ -0,0 +1,5197 @@
+@@ -0,0 +1,5219 @@
 +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
 + * vi:set noexpandtab tabstop=8 shiftwidth=8:
 + *
@@ -1944,6 +1944,12 @@ index 000000000..29302f3cd
 +			gs_plugin_cache_add (GS_PLUGIN (self), name, app);
 +	}
 +
++	value = g_variant_dict_lookup_value (dict, "nevra", G_VARIANT_TYPE_STRING);
++	if (value != NULL) {
++		gs_app_set_metadata (app, "GnomeSoftware::packagename-value", g_variant_get_string (value, NULL));
++		g_clear_pointer (&value, g_variant_unref);
++	}
++
 +	gs_dnf5_update_app_changelogs (app, flags, dict);
 +	gs_dnf5_update_app_state (app, set_state, dict);
 +
@@ -3527,6 +3533,15 @@ index 000000000..29302f3cd
 +		gs_dnf5_update_app_state (app, GS_APP_STATE_UNKNOWN, dict);
 +	}
 +
++	g_clear_pointer (&value, g_variant_unref);
++
++	value = g_variant_dict_lookup_value (dict, "nevra", G_VARIANT_TYPE_STRING);
++	if (value != NULL) {
++		const gchar *nevra = g_variant_get_string (value, NULL);
++		if (nevra != NULL && *nevra != '\0')
++			gs_app_set_metadata (app, "GnomeSoftware::packagename-value", nevra);
++	}
++
 +	return TRUE;
 +}
 +
@@ -3917,6 +3932,7 @@ index 000000000..29302f3cd
 +		}
 +
 +		attrs_builder = g_variant_builder_new (G_VARIANT_TYPE ("as"));
++		g_variant_builder_add (attrs_builder, "s", "nevra");
 +		g_variant_builder_add (attrs_builder, "s", "name");
 +		g_variant_builder_add (attrs_builder, "s", "version");
 +		g_variant_builder_add (attrs_builder, "s", "release");
@@ -5809,6 +5825,12 @@ index 000000000..29302f3cd
 +
 +	self->session_data.active_calls = g_hash_table_new_full (g_direct_hash, g_direct_equal, NULL, active_call_data_free);
 +
++	/* disable on OSTree */
++	if (g_file_test ("/run/ostree-booted", G_FILE_TEST_EXISTS)) {
++		gs_plugin_set_enabled (plugin, FALSE);
++		return;
++	}
++
 +	/* getting app properties from appstream is quicker */
 +	gs_plugin_add_rule (plugin, GS_PLUGIN_RULE_RUN_AFTER, "appstream");
 +

diff --git a/gnome-software.spec b/gnome-software.spec
index 8093607..c3684f1 100644
--- a/gnome-software.spec
+++ b/gnome-software.spec
@@ -27,7 +27,7 @@
 %global __provides_exclude_from ^%{_libdir}/%{name}/plugins-%{gs_plugin_version}/.*\\.so.*$
 
 Name:      gnome-software
-Version:   51.0
+Version:   51.1
 Release:   %autorelease
 Summary:   A software center for GNOME
 

diff --git a/sources b/sources
index 6a28351..808f4e8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (gnome-software-51.0.tar.xz) = 0053ff874f271c51f8a56c574e855c6a2d1529d6035c0d3ce77e93d598dcd305f90b77f23a0e72bc5087e6f5cb24dbbccdb012cd82ba32736c160b73e36046e2
+SHA512 (gnome-software-51.1.tar.xz) = 3fc983c3ec0620e067d04ec89f85dd56953b1d9e3e48d747e568be9f70712b8f0ef88d7481e072b061ce1aff790ad7191f147806097fb0fe2b98b159a7e9413b

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-22 15:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-22 15:20 [rpms/gnome-software] rawhide: Update to 51.1 Milan Crha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox