Update renamed appstream ids for GNOME 3.34

This commit is contained in:
Kalev Lember 2019-10-14 20:01:27 +02:00
parent dd8f13536a
commit 3df71875f0
2 changed files with 71 additions and 1 deletions

View File

@ -0,0 +1,66 @@
From d2c8b8b531792ff83163fd705b8bd2fd2d690884 Mon Sep 17 00:00:00 2001
From: Kalev Lember <klember@redhat.com>
Date: Mon, 14 Oct 2019 19:53:41 +0200
Subject: [PATCH] Update renamed appstream ids for GNOME 3.34
---
data/assets/org.gnome.Software.Featured.xml | 8 ++++----
plugins/core/gs-plugin-hardcoded-popular.c | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/data/assets/org.gnome.Software.Featured.xml b/data/assets/org.gnome.Software.Featured.xml
index 188210f79..351de5604 100644
--- a/data/assets/org.gnome.Software.Featured.xml
+++ b/data/assets/org.gnome.Software.Featured.xml
@@ -84,7 +84,7 @@ text-shadow: none;</value>
</custom>
</component>
<component>
- <id>org.gnome.Boxes</id>
+ <id>org.gnome.Boxes.desktop</id>
<categories>
<category>Featured</category>
</categories>
@@ -111,7 +111,7 @@ text-shadow: none;
</custom>
</component>
<component>
- <id>org.gnome.SoundRecorder</id>
+ <id>org.gnome.SoundRecorder.desktop</id>
<custom>
<value key="GnomeSoftware::FeatureTile-css">border: 1px solid #bbb;
/* background: #f6f5f4 url('file://@datadir@/gnome-software/featured-sound-recorder.svg')
@@ -305,7 +305,7 @@ text-shadow: none;</value>
</custom>
</component>
<component>
- <id>org.gnome.Todo</id>
+ <id>org.gnome.Todo.desktop</id>
<custom>
<value key="GnomeSoftware::FeatureTile-css">border: 1px solid transparent;
background: url('file://@datadir@/gnome-software/featured-todo-bg.jpg') center 40% repeat;
@@ -341,7 +341,7 @@ background: #1b2838 url('http://people.gnome.org/~jimmac/gnome-software/steam-lo
</custom>
</component>
<component>
- <id>org.gnome.tetravex</id>
+ <id>org.gnome.Tetravex</id>
<custom>
<value key="GnomeSoftware::FeatureTile-css">border: 1px solid transparent;
background: url('file://@datadir@/gnome-software/featured-tetravex-bg.jpg') center 45% repeat;
diff --git a/plugins/core/gs-plugin-hardcoded-popular.c b/plugins/core/gs-plugin-hardcoded-popular.c
index 7a2465998..3998a813b 100644
--- a/plugins/core/gs-plugin-hardcoded-popular.c
+++ b/plugins/core/gs-plugin-hardcoded-popular.c
@@ -26,7 +26,7 @@ gs_plugin_add_popular (GsPlugin *plugin,
const gchar *apps[] = {
"org.gnome.Builder.desktop",
"org.gnome.Calculator.desktop",
- "org.gnome.clocks",
+ "org.gnome.clocks.desktop",
"org.gnome.Dictionary.desktop",
"org.gnome.Documents.desktop",
"org.gnome.Evince",
--
2.23.0

View File

@ -12,7 +12,7 @@
Name: gnome-software
Version: 3.34.1
Release: 4%{?dist}
Release: 5%{?dist}
Summary: A software center for GNOME
License: GPLv2+
@ -21,6 +21,7 @@ Source0: https://download.gnome.org/sources/gnome-software/3.34/%{name}-%{vers
# Backported from upstream
Patch1: 0001-Do-not-show-non-applications-in-the-installed-panel.patch
Patch2: 0001-Update-renamed-appstream-ids-for-GNOME-3.34.patch
BuildRequires: gcc
BuildRequires: gettext
@ -223,6 +224,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%{_mandir}/man1/gnome-software-editor.1*
%changelog
* Mon Oct 14 2019 Kalev Lember <klember@redhat.com> - 3.34.1-5
- Update renamed appstream ids for GNOME 3.34
* Fri Oct 11 2019 Richard Hughes <rhughes@redhat.com> - 3.34.1-4
- Backport a simpler to correct the installed applications
- Resolves #1759193