Update to 3.34.1
This commit is contained in:
parent
b13cd41159
commit
70221d2c87
1
.gitignore
vendored
1
.gitignore
vendored
@ -105,3 +105,4 @@
|
||||
/gnome-software-3.32.3.tar.xz
|
||||
/gnome-software-3.32.4.tar.xz
|
||||
/gnome-software-3.34.0.tar.xz
|
||||
/gnome-software-3.34.1.tar.xz
|
||||
|
@ -1,77 +0,0 @@
|
||||
From 53fb971462c465e53d7da7d40184de88943e30a6 Mon Sep 17 00:00:00 2001
|
||||
From: Kalev Lember <klember@redhat.com>
|
||||
Date: Tue, 24 Sep 2019 10:41:55 +0200
|
||||
Subject: [PATCH] extras: Fix third party repo enabling not working
|
||||
|
||||
Make sure to pass REQUIRE_ORIGIN_HOSTNAME refine flag to all of the
|
||||
search calls so that we pick up the enabled=0 enabled_metadata=1 repo
|
||||
name that needs to be enabled.
|
||||
|
||||
https://bugzilla.redhat.com/show_bug.cgi?id=1749566
|
||||
---
|
||||
src/gs-extras-page.c | 28 ++++++++++++++--------------
|
||||
1 file changed, 14 insertions(+), 14 deletions(-)
|
||||
|
||||
diff --git a/src/gs-extras-page.c b/src/gs-extras-page.c
|
||||
index 0b062ea25..d31ad7747 100644
|
||||
--- a/src/gs-extras-page.c
|
||||
+++ b/src/gs-extras-page.c
|
||||
@@ -672,16 +672,25 @@ gs_extras_page_load (GsExtrasPage *self, GPtrArray *array_search_data)
|
||||
|
||||
/* start new searches, separate one for each codec */
|
||||
for (i = 0; i < self->array_search_data->len; i++) {
|
||||
+ GsPluginRefineFlags refine_flags;
|
||||
SearchData *search_data;
|
||||
|
||||
+ refine_flags = GS_PLUGIN_REFINE_FLAGS_REQUIRE_ICON |
|
||||
+ GS_PLUGIN_REFINE_FLAGS_REQUIRE_VERSION |
|
||||
+ GS_PLUGIN_REFINE_FLAGS_REQUIRE_HISTORY |
|
||||
+ GS_PLUGIN_REFINE_FLAGS_REQUIRE_ORIGIN_HOSTNAME |
|
||||
+ GS_PLUGIN_REFINE_FLAGS_REQUIRE_SETUP_ACTION |
|
||||
+ GS_PLUGIN_REFINE_FLAGS_REQUIRE_DESCRIPTION |
|
||||
+ GS_PLUGIN_REFINE_FLAGS_REQUIRE_LICENSE |
|
||||
+ GS_PLUGIN_REFINE_FLAGS_REQUIRE_RATING |
|
||||
+ GS_PLUGIN_REFINE_FLAGS_ALLOW_PACKAGES;
|
||||
+
|
||||
search_data = g_ptr_array_index (self->array_search_data, i);
|
||||
if (search_data->search_filename != NULL) {
|
||||
g_autoptr(GsPluginJob) plugin_job = NULL;
|
||||
plugin_job = gs_plugin_job_newv (GS_PLUGIN_ACTION_SEARCH_FILES,
|
||||
"search", search_data->search_filename,
|
||||
- "refine-flags", GS_PLUGIN_REFINE_FLAGS_REQUIRE_ICON |
|
||||
- GS_PLUGIN_REFINE_FLAGS_REQUIRE_RATING |
|
||||
- GS_PLUGIN_REFINE_FLAGS_ALLOW_PACKAGES,
|
||||
+ "refine-flags", refine_flags,
|
||||
NULL);
|
||||
g_debug ("searching filename: '%s'", search_data->search_filename);
|
||||
gs_plugin_loader_job_process_async (self->plugin_loader,
|
||||
@@ -695,9 +704,7 @@ gs_extras_page_load (GsExtrasPage *self, GPtrArray *array_search_data)
|
||||
file = g_file_new_for_path (search_data->package_filename);
|
||||
plugin_job = gs_plugin_job_newv (GS_PLUGIN_ACTION_FILE_TO_APP,
|
||||
"file", file,
|
||||
- "refine-flags", GS_PLUGIN_REFINE_FLAGS_REQUIRE_ICON |
|
||||
- GS_PLUGIN_REFINE_FLAGS_REQUIRE_RATING |
|
||||
- GS_PLUGIN_REFINE_FLAGS_ALLOW_PACKAGES,
|
||||
+ "refine-flags", refine_flags,
|
||||
NULL);
|
||||
g_debug ("resolving filename to app: '%s'", search_data->package_filename);
|
||||
gs_plugin_loader_job_process_async (self->plugin_loader, plugin_job,
|
||||
@@ -709,14 +716,7 @@ gs_extras_page_load (GsExtrasPage *self, GPtrArray *array_search_data)
|
||||
g_debug ("searching what provides: '%s'", search_data->search);
|
||||
plugin_job = gs_plugin_job_newv (GS_PLUGIN_ACTION_SEARCH_PROVIDES,
|
||||
"search", search_data->search,
|
||||
- "refine-flags", GS_PLUGIN_REFINE_FLAGS_REQUIRE_ICON |
|
||||
- GS_PLUGIN_REFINE_FLAGS_REQUIRE_VERSION |
|
||||
- GS_PLUGIN_REFINE_FLAGS_REQUIRE_HISTORY |
|
||||
- GS_PLUGIN_REFINE_FLAGS_REQUIRE_SETUP_ACTION |
|
||||
- GS_PLUGIN_REFINE_FLAGS_REQUIRE_DESCRIPTION |
|
||||
- GS_PLUGIN_REFINE_FLAGS_REQUIRE_LICENSE |
|
||||
- GS_PLUGIN_REFINE_FLAGS_REQUIRE_RATING |
|
||||
- GS_PLUGIN_REFINE_FLAGS_ALLOW_PACKAGES,
|
||||
+ "refine-flags", refine_flags,
|
||||
NULL);
|
||||
gs_plugin_loader_job_process_async (self->plugin_loader, plugin_job,
|
||||
self->search_cancellable,
|
||||
--
|
||||
2.23.0
|
||||
|
@ -11,17 +11,14 @@
|
||||
%global libxmlb_version 0.1.7
|
||||
|
||||
Name: gnome-software
|
||||
Version: 3.34.0
|
||||
Release: 2%{?dist}
|
||||
Version: 3.34.1
|
||||
Release: 1%{?dist}
|
||||
Summary: A software center for GNOME
|
||||
|
||||
License: GPLv2+
|
||||
URL: https://wiki.gnome.org/Apps/Software
|
||||
Source0: https://download.gnome.org/sources/gnome-software/3.34/%{name}-%{version}.tar.xz
|
||||
|
||||
# Backported from upstream
|
||||
Patch0: 0001-extras-Fix-third-party-repo-enabling-not-working.patch
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libxslt
|
||||
@ -223,6 +220,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
||||
%{_mandir}/man1/gnome-software-editor.1*
|
||||
|
||||
%changelog
|
||||
* Mon Oct 07 2019 Kalev Lember <klember@redhat.com> - 3.34.1-1
|
||||
- Update to 3.34.1
|
||||
|
||||
* Wed Sep 25 2019 Kalev Lember <klember@redhat.com> - 3.34.0-2
|
||||
- Fix third party repo enabling not working (#1749566)
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (gnome-software-3.34.0.tar.xz) = e88d94ca2f59fbd251aedff81c836bb371da585efa2f8dd57bdb58e4bbbda558cf5d94579f328e70ad313aae7b06d116d237a4bf9a1ede2ad46192a91e739c3d
|
||||
SHA512 (gnome-software-3.34.1.tar.xz) = 04bb9a587d90950966518c964256d29dfecd567ebb4996ad012c0bb3ed262bcd745a37887b4949ffbb4bac06f9fa3e19d342d14c6a82ef8762f5727fbf79468a
|
||||
|
Loading…
Reference in New Issue
Block a user