commit gnome-software for openSUSE:Factory
Hello community, here is the log from the commit of package gnome-software for openSUSE:Factory checked in at 2019-11-29 16:00:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnome-software (Old) and /work/SRC/openSUSE:Factory/.gnome-software.new.26869 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gnome-software" Fri Nov 29 16:00:38 2019 rev:67 rq:751581 version:3.34.2 Changes: -------- --- /work/SRC/openSUSE:Factory/gnome-software/gnome-software.changes 2019-10-17 13:01:20.512993228 +0200 +++ /work/SRC/openSUSE:Factory/.gnome-software.new.26869/gnome-software.changes 2019-11-29 16:03:30.592790835 +0100 @@ -1,0 +2,32 @@ +Thu Nov 28 09:48:12 UTC 2019 - Frederic Crozat <fcrozat@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 <yfjiang@suse.com> + +- Rebase gnome-software-launch-gpk-update-viewer-for-updates.patch + +------------------------------------------------------------------- +Mon Nov 25 10:18:26 UTC 2019 - Bjørn Lie <bjorn.lie@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.kang@suse.com> + +- Add gnome-software-fwupd-dependency.patch: fwupd: Fix compile + with old versions of fwupd (bsc#1156960, + gh#hughsie/gnome-software!362). + +------------------------------------------------------------------- @@ -448,0 +481,6 @@ +Thu Apr 19 08:56:34 UTC 2018 - sckang@suse.com + +- Mark gnome-software-launch-gpk-update-viewer-for-updates.patch + as PATCH-FIX-OPENSUSE, as Leap 15 need it as well (boo#1090042). + +------------------------------------------------------------------- @@ -487,0 +526,7 @@ + +------------------------------------------------------------------- +Tue Mar 13 02:47:18 UTC 2018 - sckang@suse.com + +- Add gnome-software-launch-gpk-update-viewer-for-updates.patch: + Don't launch gnome-software when clicking the updates + notification. Launch gpk-update-viewer instead (bsc#1077332). Old: ---- gnome-software-3.34.1.tar.xz New: ---- gnome-software-3.34.2.tar.xz gnome-software-launch-gpk-update-viewer-for-updates.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-software.spec ++++++ --- /var/tmp/diff_new_pack.qmz1wl/_old 2019-11-29 16:03:31.176790595 +0100 +++ /var/tmp/diff_new_pack.qmz1wl/_new 2019-11-29 16:03:31.180790593 +0100 @@ -1,7 +1,7 @@ # # spec file for package gnome-software # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,13 +18,17 @@ %define gs_plugin_api 13 Name: gnome-software -Version: 3.34.1 +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 sckang@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 @@ -86,6 +90,20 @@ # 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%{?is_opensuse} +#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 @@ -101,13 +119,14 @@ %{_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 -# 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 %{_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%{?is_opensuse} +%{_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 ++++++ gnome-software-3.34.1.tar.xz -> gnome-software-3.34.2.tar.xz ++++++ ++++ 7663 lines of diff (skipped) ++++++ 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 {
participants (1)
-
root