1
0

Accepting request 695688 from GNOME:Factory

Scripted push of project GNOME:Next (forwarded request 695632 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/695688
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-software?expand=0&rev=62
This commit is contained in:
Dominique Leuenberger 2019-05-03 20:10:48 +00:00 committed by Git OBS Bridge
commit 47567de403
5 changed files with 194 additions and 55 deletions

View File

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

View File

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

View File

@ -1,37 +0,0 @@
From 80a17dcf9cdcd2179b280e368f812524dafe6bae Mon Sep 17 00:00:00 2001
From: Kalev Lember <klember@redhat.com>
Date: Sat, 17 Nov 2018 21:59:31 +0100
Subject: [PATCH] flatpak: Fix installing flatpakrefs if the remote is already
configured
When we parse a flatpakref file and find that the remote for the app is
already enabled, we try to show the app from the existing remote.
This commit fixes this to actually work.
The code was already there, but instead of returning the app from the
existing remote, it short circuited the flatpakref loading and returned
a half-loaded flatpakref GsApp that didn't have the associated runtime
correctly set up, and things went downhill from there on.
Fixes: https://gitlab.gnome.org/GNOME/gnome-software/issues/517
---
plugins/flatpak/gs-plugin-flatpak.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/flatpak/gs-plugin-flatpak.c b/plugins/flatpak/gs-plugin-flatpak.c
index d5435ecf..0792e89c 100644
--- a/plugins/flatpak/gs-plugin-flatpak.c
+++ b/plugins/flatpak/gs-plugin-flatpak.c
@@ -862,7 +862,7 @@ gs_plugin_flatpak_file_to_app_ref (GsPlugin *plugin,
ref = gs_flatpak_app_get_ref_display (app);
app_tmp = gs_plugin_flatpak_find_app_by_ref (plugin, ref, cancellable, NULL);
if (app_tmp != NULL)
- return g_steal_pointer (&app);
+ return g_steal_pointer (&app_tmp);
/* force this to be 'any' scope for installation */
gs_app_set_scope (app, AS_APP_SCOPE_UNKNOWN);
--
2.19.1

View File

@ -1,3 +1,186 @@
-------------------------------------------------------------------
Tue Apr 16 09:36:05 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.32.1:
+ Add drop shadows to app icons.
+ Various fixes to initial loading screen.
+ Show a generic icon instead of empty space if we failed to load
the app icon.
+ Update featured banners for Maps and Blender.
+ Update featured app IDs.
+ Fix a crash due to missing locking.
+ Fix missing back button under certain conditions.
+ Fix loading AppSteam data from .yml.gz files.
+ Fix an issue that caused flatpak repo to not be correctly shown
when it matched an existing packagekit repo name.
+ Hide the fwupd Vendor repo in the repos dialog.
+ Updated translations.
-------------------------------------------------------------------
Tue Mar 12 06:36:31 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.32.0:
+ trivial: Don't crash when installing a web-app.
+ Remove reference to obsolete Ubuntu review plugin from README.
+ Updated translations.
-------------------------------------------------------------------
Tue Mar 5 22:22:27 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.31.92:
+ Add two missing description strings for flatpak permissions.
+ Only show permissions for flatpak apps and not for e.g. fonts.
+ Fix flatpak permissions to correctly show up for available
apps.
+ Hide various details page items that don't make sense when
showing .flatpakrepo files.
+ Fix an issue that caused descriptions to sometimes not get
correctly loaded.
+ Sort the items in the Source drop down.
+ Don't show error notifications for background download and
refresh errors.
+ Fix an issue that could cause an explosion of "A restart is
required" notifications.
+ Various flatpak plugin fixes to make it correctly match the
data when multiple flatpak repos are available.
+ Fix the rpm-ostree plugin to correctly convert remote dbus
errors.
+ Updated translations.
-------------------------------------------------------------------
Mon Feb 25 19:26:49 UTC 2019 - bjorn.lie@gmail.com
- Update to version 3.31.90:
+ Fix showing the installed check mark on tiles.
+ Fix crashes in the packagekit plugin due to missing locking.
+ Add back support for appstream data in
/var/{cache,lib}/app-info directories that accidentally got
left out with the libxmlb rewrite.
+ Update the featured banner for gnome-chess.
+ Fix the details page alignment when only one screenshot is
shown.
+ Move the Update button to the right hand side on the details
page.
+ Fix enabling repos when installing codecs through the extras
page.
+ Remove the Sundry folder and sync the apps in the Utilities
folder with gnome-menus 3.31.90.
+ Improve various content rating texts.
+ Drop workarounds for locales with codesets.
+ Use the currently selected icon theme for stock icons.
+ Don't hide compulsory apps in the category views.
+ Use the SPDX-License-Identifier in all source files.
+ Remove various useless error prefixes, making flatpak and
packagekit error messages shorter and easier to read.
+ flatpak:
- Show the installation type (user, system) in the Source
dropdown.
- Let apps control the name suffix/prefix they have and don't
force (Nightly) suffix for everything on the master branch.
- Various fixes for matching flatpaks to appstream entries.
- Distinguish between the same app coming from multiple
remotes.
+ rpm-ostree:
- Correctly resolve installed appdata files to package names.
- Hook up percentage progress for install and remove.
- Implement layered package install.
- Implement locally downloaded rpm install.
- Show the source of the packages when installing layered
packages.
- Various fixes making things more robust.
+ snap: Use new media API.
+ Updated translations.
-------------------------------------------------------------------
Thu Jan 17 00:53:30 UTC 2019 - bjorn.lie@gmail.com
- Udpate to version 3.31.2:
+ Show permissions for installed flatpaks, and new permissions
for updates.
+ Use libxmlb to parse AppStream XML, making gnome-software start
up faster and use less memory.
+ Update the app icon.
+ Update categories for ESRA rating system
+ Improve various error messages to have more details
+ Fix an issue that caused incorrect version numbers to be shown
for installed flatpaks.
+ Fix various thread safety related crashes.
+ Fix row unrevealing to not leave behind 2 pixels on the updates
page.
+ Make the refresh button to actually refresh packagekit cache.
+ Fix various issues that could lead to cache refresh getting
stuck.
+ Show updates available notifications even when automatic
updates are disabled.
+ Fix counting apps in the updates applied notification.
+ Improve packagekit update loading code, hopefully making it
more robust.
+ Fix an issue that could lead to the packagekit plugin
activating on rpm-ostree based systems
+ Switch flatpak updates to use a single transaction, which lets
us share more code (and bugs) with the command line flatpak
utility.
+ Fix various issues with transitioning from the "Download" state
to "Restart & Update".
+ Don't error out from update downloads if the ODRS server is
unavailable.
+ Fix old updates accumulating in the OS Updates item.
+ Various flatpakref installation fixes.
+ Fix opening the details page when clicking on "Show Details" in
GNOME Shell.
+ Fix opening shell extensions details from GNOME Tweaks.
+ Various fixes for initial loading state.
+ Add a separate "Download" step for packagekit offline updates,
so that "Restart & Update" is instant.
+ Fix a version comparison issue that led to package updates
sometimes showing as downgrades in the OS Updates section (this
needs latest appstream-glib).
+ Show the refresh button when the updates page is in the failed
state.
+ Notify about offline updates only after they are fully
downloaded.
+ Fix a memory corruption issue on 32-bit arches that made
gnome-software very crashy.
+ Fix an issue with stuck back button on the details page after
closing and reopening gnome-software.
+ Make distro upgrades to Fedora N+2 release show up correctly.
+ Various flatpak plugin fixes.
+ Allow opening CAB files that include more than one update.
+ Fix critical warnings when quickly switching between category
pages.
+ Small memory leak fixes.
+ Updated translations.
- No longer pass -Dubuntu_reviews=false and -Dubuntuone=false to
meson, no longer needed, dropped upstream.
- Drop gnome-software-fix-installing-flatpakref.patch: Fixed
upstream.
- Add pkgconfig(goa-1.0) and pkgconfig(xmlb) BuildRequires: New
dependencies.
- Bump gs_plugin_api to 13 following upstreams changes.
-------------------------------------------------------------------
Sat Jan 5 11:57:37 UTC 2019 - bjorn.lie@gmail.com
- Update to version 3.31.1:
+ Icon redesign.
+ Switch to using window menus instead of app menu.
+ Add a source selection drop down to details pages.
+ Move the search button to the left side in the header bar.
+ Various other minor UI tweaks.
+ GtkBuilder UI file changes to pave the way for an eventual GTK4
port (please file issues for any UI layout regressions if you
notice any!).
+ Various internal plugin loader fixes and cleanups.
+ Remove the steam plugin.
+ Simplify the details page loading.
+ Fix an issue that caused icons to not get loaded for locally
installed flatpaks.
+ Update Fedora distro upgrades text.
+ Avoid a critical warning in the fwupd plugin when the device
vendor is not set.
+ Show verified developers for snaps.
+ Updated translations.
-------------------------------------------------------------------
Fri Jan 4 19:21:28 UTC 2019 - bjorn.lie@gmail.com

View File

@ -16,17 +16,16 @@
#
%define gs_plugin_api 12
%define gs_plugin_api 13
Name: gnome-software
Version: 3.30.6
Version: 3.32.1
Release: 0
Summary: GNOME Software Store
License: GPL-2.0-or-later
Group: System/GUI/GNOME
URL: https://wiki.gnome.org/Apps/Software
Source0: http://download.gnome.org/sources/gnome-software/3.30/%{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM glgo#GNOME/gnome-software#517 sckang@suse.com -- flatpak: Fix installing flatpakrefs if the remote is already configured
Patch0: gnome-software-fix-installing-flatpakref.patch
Source0: https://download.gnome.org/sources/gnome-software/3.32/%{name}-%{version}.tar.xz
BuildRequires: gtk-doc
BuildRequires: meson
BuildRequires: pkgconfig
@ -38,6 +37,7 @@ BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.32.0
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(gmodule-2.0)
BuildRequires: pkgconfig(gnome-desktop-3.0) >= 3.18.0
BuildRequires: pkgconfig(goa-1.0)
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.11.5
BuildRequires: pkgconfig(gspell-1)
BuildRequires: pkgconfig(gtk+-3.0) >= 3.20.0
@ -49,6 +49,7 @@ BuildRequires: pkgconfig(packagekit-glib2) >= 1.1.0
BuildRequires: pkgconfig(polkit-gobject-1)
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(valgrind)
BuildRequires: pkgconfig(xmlb) >= 0.1.7
# boo#1090042
Requires: fwupd
Requires: iso-codes
@ -74,18 +75,12 @@ GNOME software store plugins.
%build
%meson \
-D ubuntu_reviews=false \
-D ubuntuone=false \
-Dtests=false \
%{nil}
%meson_build
%install
%meson_install
# Test shipping gnome-software-local-file in GN
# Currently not shipped, as this is not yet functional (boo#941862)
#rm %%{buildroot}%%{_datadir}/applications/gnome-software-local-file.desktop
%find_lang %{name}
# Remove any piece of doc that ends up in non-standard locations and use the doc macro instead
@ -106,7 +101,6 @@ rm %{buildroot}%{_datadir}/doc/%{name}/README.md
%{_datadir}/metainfo/org.gnome.Software.Plugin.Flatpak.metainfo.xml
%{_datadir}/metainfo/org.gnome.Software.Plugin.Fwupd.metainfo.xml
%{_datadir}/metainfo/org.gnome.Software.Plugin.Odrs.metainfo.xml
%{_datadir}/metainfo/org.gnome.Software.Plugin.Steam.metainfo.xml
# Test shipping gnome-software-local-file in GN
# Currently not shipped, as this is not yet functional (boo#941862)
%{_datadir}/applications/gnome-software-local-file.desktop
@ -117,8 +111,7 @@ rm %{buildroot}%{_datadir}/doc/%{name}/README.md
%dir %{_datadir}/gnome-shell
%dir %{_datadir}/gnome-shell/search-providers
%{_datadir}/gnome-shell/search-providers/org.gnome.Software-search-provider.ini
%{_datadir}/icons/hicolor/*/apps/org.gnome.Software*
%{_datadir}/icons/hicolor/scalable/apps/software-installed-symbolic.svg
%{_datadir}/icons/hicolor/*/*/*.svg
%dir %{_libdir}/gs-plugins-%{gs_plugin_api}
%{_libdir}/gs-plugins-%{gs_plugin_api}/*.so
#{_libexecdir}/gnome-software-service