Hello community,

here is the log from the commit of package gnome-software for 
openSUSE:Leap:15.2:SLE-workarounds checked in at 2020-01-30 08:59:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2:SLE-workarounds/gnome-software (Old)
 and      
/work/SRC/openSUSE:Leap:15.2:SLE-workarounds/.gnome-software.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-software"

Thu Jan 30 08:59:55 2020 rev:1 rq: version:unknown

Changes:
--------
New Changes file:

--- /dev/null   2019-12-19 10:12:34.003146842 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2:SLE-workarounds/.gnome-software.new.26092/gnome-software.changes
       2020-01-30 08:59:56.824131620 +0100
@@ -0,0 +1,2716 @@
+-------------------------------------------------------------------
+Wed Jan 29 16:57:40 UTC 2020 - Lubos Kocman <lubos.koc...@suse.com>
+
+- Apply polkit workaround also for Leap 15.2
+  bsc#1157928 poo#62762 
+
+-------------------------------------------------------------------
+Thu Nov 28 09:48:12 UTC 2019 - Frederic Crozat <fcro...@suse.com>
+
+- Don't start gnome-software at startup and disable its search
+  extension on SLE until bsc#1157928 is fixed properly.
+
+-------------------------------------------------------------------
+Wed Nov 27 10:22:33 UTC 2019 - Yifan Jiang <yfji...@suse.com>
+
+- Rebase gnome-software-launch-gpk-update-viewer-for-updates.patch
+
+-------------------------------------------------------------------
+Mon Nov 25 10:18:26 UTC 2019 - Bjørn Lie <bjorn....@gmail.com>
+
+- Update to version 3.34.2:
+  + Do not show a crazy error when installing packages.
+  + Do not show non-applications in the installed panel.
+  + Download Flatpak updates in the correct installation.
+  + Fix a potential threading crash when using flatpak.
+  + Fix a small memory leaks.
+  + Set the shell extension origin correctly in all cases.
+  + Speed up flatpak loading in some situations.
+  + Updated translations.
+- Drop gnome-software-fwupd-dependency.patch: Fixed upstream.
+
+-------------------------------------------------------------------
+Tue Nov 19 07:10:33 UTC 2019 - Jonathan Kang <songchuan.k...@suse.com>
+
+- Add gnome-software-fwupd-dependency.patch: fwupd: Fix compile
+  with old versions of fwupd (bsc#1156960,
+  gh#hughsie/gnome-software!362). 
+
+-------------------------------------------------------------------
+Mon Oct  7 16:55:15 UTC 2019 - Bjørn Lie <bjorn....@gmail.com>
+
+- Update to version 3.34.1:
+  + Fix firmware updates where the device needed a manual detach.
+  + Fix installing webapps.
+  + Fix signal blocking for search.
+  + Fix third party repo enabling.
+  + Hide the shortcut buttons for parentally filtered apps.
+  + Make disabled flatpak remote enabling work.
+  + Show snap channels as app alternates.
+  + Show the correct application when clicking from the GNOME Shell
+    menu.
+  + Updated translations.
+
+-------------------------------------------------------------------
+Mon Sep  9 14:34:44 CDT 2019 - mgo...@suse.com
+
+- Update to version 3.34.0:
+  + Add a link to the privacy policy in the review dialog.
+  + Add and improve many overview banners.
+  + Add support for download scheduling using Mogwai.
+  + Allow installing locale data automatically.
+  + Allow snaps to be shown by AppStream ID.
+  + Don't apply drop shadow on stock symbolic icons.
+  + Don't install queued apps when the network changes and is
+    metered.
+  + Fix the 'localised in my language' kudo.
+  + Hide addons that are not available in repos.
+  + Localize ESRB content rating strings.
+  + Never show the installation progress bar going backwards.
+  + Notify the user when an application can escape the sandbox.
+  + Refactor screenshots and hide those unavailable when offline.
+  + Select the rating systems selected based by territory.
+  + Use smaller default size for main window when required.
+  + Updated Translations.
+
+-------------------------------------------------------------------
+Thu Jul 11 17:51:39 UTC 2019 - Bjørn Lie <bjorn....@gmail.com>
+
+- Update to version 3.32.4:
+  + Fix an issue that led to some packages with multiple appdata
+    files not correctly showing up on the updates page.
+  + Fix various problems with flatpak branch handling that were
+    causing issues with freedesktop.org runtime updates.
+  + Fix flatpak update versions to correctly show up.
+  + Various other minor bug fixes.
+
+-------------------------------------------------------------------
+Fri Jul  5 09:26:03 UTC 2019 - Bjørn Lie <bjorn....@gmail.com>
+
+- Drop pkgconfig(valgrind) BuildRequires, and pass valgrind=false
+  to meson. Fixes build for arm, and we do not really need valgrind
+  integration.
+
+-------------------------------------------------------------------
+Fri May 24 20:17:42 UTC 2019 - Bjørn Lie <bjorn....@gmail.com>
+
+- Update to version 3.32.3:
+  + Add missing XbSilo locking, hopefully fixing a large number of
+    reported crashes.
+  + Fix a regression that caused the fonts category to go missing.
+  + Show a placeholder on the details page when we don't have the
+    actual icon.
+  + Plug a large memory leak.
+  + Use nicer arrows for version numbers on the updates page.
+  + Fix an issue that led to screenshots not being correctly scaled
+    on hidpi.
+  + flatpak:
+    - Fix several double-uses of GErrors.
+    - Handle failure of a libflatpak function updating permissions.
+  + rpm-ostree: Implement what-provides decompose.
+
+-------------------------------------------------------------------
+Tue May  7 13:15:41 UTC 2019 - Bjørn Lie <bjorn....@gmail.com>
+
+- Update to version 3.32.2:
+  + Avoid showing a review more than once.
+  + Correctly update progress bar when downloading packagekit
+    distro upgrades.
+  + Fix a crash when closing the updates dialog before the content
+    has loaded.
+  + Fix CTRL+F not working right in certains conditions.
+  + Set 022 umask to make sure flatpak system helper process can
+    read the files we've written.
+  + rpm-ostree:
+    - Implement getting the repo list, and enabling and disabling
+      repos.
+    - Implement provides search.
+    - Make layered apps not discoverable in the UI.
+  + Various other minor bug fixes.
+  + Updated translations.
+
+-------------------------------------------------------------------
+Tue Apr 16 09:36:05 UTC 2019 - Bjørn Lie <bjorn....@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....@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....@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....@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
++++ 2519 more lines (skipped)
++++ between /dev/null
++++ and 
/work/SRC/openSUSE:Leap:15.2:SLE-workarounds/.gnome-software.new.26092/gnome-software.changes

New:
----
  _link
  gnome-software-3.34.2.tar.xz
  gnome-software-launch-gpk-update-viewer-for-updates.patch
  gnome-software.changes
  gnome-software.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnome-software.spec ++++++
#
# spec file for package gnome-software
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


%define gs_plugin_api 13
Name:           gnome-software
Version:        3.34.2
Release:        0
Summary:        GNOME Software Store
License:        GPL-2.0-or-later
Group:          System/GUI/GNOME
URL:            https://wiki.gnome.org/Apps/Software
Source0:        
https://download.gnome.org/sources/gnome-software/3.34/%{name}-%{version}.tar.xz
%if 0%{?sle_version}
# PATCH-FIX-OPENSUSE gnome-software-launch-gpk-update-viewer-for-updates.patch 
bsc#1077332 boo#1090042 sck...@suse.com -- Don't launch gnome-software when 
clicking the updates notification. Launch gpk-update-viewer instead.
Patch0:         gnome-software-launch-gpk-update-viewer-for-updates.patch
%endif 0%{?sle_version}

BuildRequires:  gtk-doc
BuildRequires:  meson
BuildRequires:  pkgconfig
BuildRequires:  suse-xsl-stylesheets
BuildRequires:  pkgconfig(appstream-glib) >= 0.7.3
BuildRequires:  pkgconfig(flatpak) >= 0.6.12
BuildRequires:  pkgconfig(fwupd) >= 1.0.3
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
BuildRequires:  pkgconfig(gudev-1.0)
BuildRequires:  pkgconfig(json-glib-1.0) >= 1.2.0
BuildRequires:  pkgconfig(libsecret-1)
BuildRequires:  pkgconfig(libsoup-2.4) >= 2.52.0
BuildRequires:  pkgconfig(packagekit-glib2) >= 1.1.0
BuildRequires:  pkgconfig(polkit-gobject-1)
BuildRequires:  pkgconfig(sqlite3)
BuildRequires:  pkgconfig(xmlb) >= 0.1.7
# boo#1090042
Requires:       fwupd
Requires:       iso-codes
Requires:       libzypp-plugin-appdata
Recommends:     flatpak

%description
AppStore like management of Applications for your GNOME Desktop.

%package devel
Summary:        Development files for the GNOME software store
Group:          Development/Libraries/GNOME
Requires:       %{name} = %{version}

%description devel
This subpackage contains the header files for developing
GNOME software store plugins.

%lang_package

%prep
%autosetup -p1

%build
%meson \
        -Dtests=false \
        -Dvalgrind=false \
        %{nil}
%meson_build

%install
%meson_install
%find_lang %{name}

# Remove any piece of doc that ends up in non-standard locations and use the 
doc macro instead
rm %{buildroot}%{_datadir}/doc/%{name}/README.md

%if 0%{?sle_version} == 150200
#needed for both Leap and SLE
#workaround until bsc#1157928 is resolved, otherwise SLES users get 
authentication popup all the time
cat << EOF >> 
%{buildroot}%{_sysconfdir}/xdg/autostart/gnome-software-service.desktop
Hidden=true
EOF

cat << EOF > 
%{buildroot}%{_datadir}/glib-2.0/schemas/00_org.gnome.software.gschema.override
#workaround until bsc#1157928 is resolved, otherwise SLES users get 
authentication popup all the time
[org.gnome.desktop.search-providers]
disabled=["org.gnome.Software.desktop"]
EOF

%endif

%files
%license COPYING
%doc NEWS README.md
%{_bindir}/%{name}
%{_bindir}/%{name}-editor
%{_datadir}/%{name}/
%dir %{_datadir}/app-info
%dir %{_datadir}/app-info/xmls
%{_datadir}/app-info/xmls/org.gnome.Software.Featured.xml
%dir %{_datadir}/metainfo
%{_datadir}/metainfo/org.gnome.Software.appdata.xml
%{_datadir}/metainfo/org.gnome.Software.Plugin.Epiphany.metainfo.xml
%{_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}/applications/gnome-software-local-file.desktop
%{_datadir}/applications/org.gnome.Software.desktop
%{_datadir}/dbus-1/services/org.gnome.Software.service
%{_datadir}/dbus-1/services/org.freedesktop.PackageKit.service
%{_datadir}/glib-2.0/schemas/org.gnome.software.gschema.xml
%if 0%{?sle_version} == 150200
%{_datadir}/glib-2.0/schemas/00_org.gnome.software.gschema.override
%endif
%dir %{_datadir}/gnome-shell
%dir %{_datadir}/gnome-shell/search-providers
%{_datadir}/gnome-shell/search-providers/org.gnome.Software-search-provider.ini
%{_datadir}/icons/hicolor/*/*/*.svg
%dir %{_libdir}/gs-plugins-%{gs_plugin_api}
%{_libdir}/gs-plugins-%{gs_plugin_api}/*.so
#{_libexecdir}/gnome-software-service
%{_libexecdir}/gnome-software-cmd
%{_libexecdir}/gnome-software-restarter
%{_mandir}/man1/%{name}.1%{?ext_man}
%{_mandir}/man1/%{name}-editor.1%{?ext_man}
%{_sysconfdir}/xdg/autostart/gnome-software-service.desktop
%{_datadir}/applications/org.gnome.Software.Editor.desktop

%files devel
%doc AUTHORS MAINTAINERS
%dir %{_includedir}/%{name}
%{_datadir}/gtk-doc/html/%{name}/
%dir %{_datadir}/doc/gnome-software
%{_includedir}/%{name}/gnome-software.h
%{_includedir}/%{name}/gs-app-list.h
%{_includedir}/%{name}/gs-app.h
%{_includedir}/%{name}/gs-category.h
%{_includedir}/%{name}/gs-metered.h
%{_includedir}/%{name}/gs-os-release.h
%{_includedir}/%{name}/gs-plugin-vfuncs.h
%{_includedir}/%{name}/gs-plugin.h
%{_includedir}/%{name}/gs-plugin-event.h
%{_includedir}/%{name}/gs-plugin-types.h
%{_includedir}/%{name}/gs-utils.h
%{_libdir}/pkgconfig/gnome-software.pc

%files lang -f %{name}.lang

%changelog
++++++ _link ++++++
<link project="openSUSE:Factory" baserev="c4ba29642082a7f07bf6690926032d9c">
  <patches>
    <branch/>
  </patches>
</link>
++++++ gnome-software-launch-gpk-update-viewer-for-updates.patch ++++++
Index: gnome-software-3.34.2/src/gs-application.c
===================================================================
--- gnome-software-3.34.2.orig/src/gs-application.c
+++ gnome-software-3.34.2/src/gs-application.c
@@ -511,20 +511,34 @@ set_mode_activated (GSimpleAction *actio
        GsApplication *app = GS_APPLICATION (data);
        const gchar *mode;
 
-       gs_application_present_window (app, NULL);
-
-       gs_shell_reset_state (app->shell);
-
        mode = g_variant_get_string (parameter, NULL);
        if (g_strcmp0 (mode, "updates") == 0) {
+               gboolean ret;
+               GError *error = NULL;
+
+               ret = g_spawn_command_line_async (BINDIR "/gpk-update-viewer",
+                                                  &error);
+                if (!ret) {
+                        g_warning ("Failure launching update viewer: %s",
+                                   error->message);
+                        g_error_free (error);
+                }
                gs_shell_set_mode (app->shell, GS_SHELL_MODE_UPDATES);
        } else if (g_strcmp0 (mode, "installed") == 0) {
+               gs_application_present_window (app, NULL);
+               gs_shell_reset_state (app->shell);
                gs_shell_set_mode (app->shell, GS_SHELL_MODE_INSTALLED);
        } else if (g_strcmp0 (mode, "moderate") == 0) {
+               gs_application_present_window (app, NULL);
+               gs_shell_reset_state (app->shell);
                gs_shell_set_mode (app->shell, GS_SHELL_MODE_MODERATE);
        } else if (g_strcmp0 (mode, "overview") == 0) {
+               gs_application_present_window (app, NULL);
+               gs_shell_reset_state (app->shell);
                gs_shell_set_mode (app->shell, GS_SHELL_MODE_OVERVIEW);
        } else if (g_strcmp0 (mode, "updated") == 0) {
+               gs_application_present_window (app, NULL);
+               gs_shell_reset_state (app->shell);
                gs_shell_set_mode (app->shell, GS_SHELL_MODE_UPDATES);
                gs_shell_show_installed_updates (app->shell);
        } else {

Reply via email to