diff --git a/gnome-software-3.38.1.tar.xz b/gnome-software-3.38.1.tar.xz deleted file mode 100644 index 4d28e43..0000000 --- a/gnome-software-3.38.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cd440bd0db58db1968108043f8317207150d28c479d80664f7078273ed82c10b -size 8347476 diff --git a/gnome-software-40.0.tar.xz b/gnome-software-40.0.tar.xz new file mode 100644 index 0000000..c2ab4bc --- /dev/null +++ b/gnome-software-40.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e447894cee8be886b7b3f8e4db5f42d11e36a97030959d2d7a789c7fb28d2e51 +size 3087252 diff --git a/gnome-software-failed-offline-update-notification.patch b/gnome-software-failed-offline-update-notification.patch deleted file mode 100644 index 9e6168d..0000000 --- a/gnome-software-failed-offline-update-notification.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 61f710f401a340600df2e3c4758c2fe156ad1f04 Mon Sep 17 00:00:00 2001 -From: Jonathan Kang -Date: Fri, 5 Jun 2020 09:02:12 +0800 -Subject: [PATCH] plugin-loader: handle offline update errors properly - -Fix the issue that no notification after a failed offline update. - -https://gitlab.gnome.org/GNOME/gnome-software/-/issues/666 ---- - lib/gs-plugin-loader.c | 7 +++++++ - 1 file changed, 7 insertions(+) - -diff --git a/lib/gs-plugin-loader.c b/lib/gs-plugin-loader.c -index 979f3d5d..585353ba 100644 ---- a/lib/gs-plugin-loader.c -+++ b/lib/gs-plugin-loader.c -@@ -410,6 +410,13 @@ gs_plugin_error_handle_failure (GsPluginLoaderHelper *helper, - return FALSE; - } - -+ /* offline updates */ -+ if (gs_plugin_job_get_action (helper->plugin_job) == GS_PLUGIN_ACTION_GET_UPDATES_HISTORICAL) { -+ if (error != NULL) -+ *error = g_error_copy (error_local); -+ return FALSE; -+ } -+ - /* create event which is handled by the GsShell */ - event = gs_plugin_job_to_failed_event (helper->plugin_job, error_local); - --- -2.26.2 - diff --git a/gnome-software-no-static-lib.patch b/gnome-software-no-static-lib.patch index 3f67f72..b9f4d26 100644 --- a/gnome-software-no-static-lib.patch +++ b/gnome-software-no-static-lib.patch @@ -1,14 +1,14 @@ -Index: gnome-software-3.37.92/lib/meson.build +Index: gnome-software-40.rc/lib/meson.build =================================================================== ---- gnome-software-3.37.92.orig/lib/meson.build -+++ gnome-software-3.37.92/lib/meson.build -@@ -45,8 +45,8 @@ if get_option('polkit') - librarydeps += polkit - endif +--- gnome-software-40.rc.orig/lib/meson.build ++++ gnome-software-40.rc/lib/meson.build +@@ -68,8 +68,8 @@ libgnomesoftware_include_directories = [ + include_directories('..'), + ] --libgnomesoftware = static_library( +-libgnomesoftware = library( - 'gnomesoftware', -+libgnomesoftware = shared_library( ++libgnomesoftware = library( + 'gnomesoftware-'+meson.project_version(), sources : [ 'gs-app.c', diff --git a/gnome-software.changes b/gnome-software.changes index 250ec56..0d97d3a 100644 --- a/gnome-software.changes +++ b/gnome-software.changes @@ -1,3 +1,106 @@ +------------------------------------------------------------------- +Sat Mar 20 09:22:18 UTC 2021 - Michael Gorse + +- Update to version 40.0: + + Fix handling of invalid or incomplete application icons. + + Fix the plugin documentation to reflect reality. + + Fix the Snap plugin to actually load icons. + + Set download size to 0 after the package is downloaded. + + Updated translations. + +------------------------------------------------------------------- +Thu Mar 18 14:48:32 UTC 2021 - Dominique Leuenberger + +- Update to version 40.rc: + + Implement new featured apps carousel. + + List of Flatpak repositories is updated when changed using the + Flatpak command line tool. + + The loading page now shows the full color icon instead of the + symbolic one. + + Show release date in version history for releases that use the + 'date' attribute. + + Improved icon handling, including with hiDPI screens. + + Fixed a bug in remembering when update notifications were + shown. + + Build as a dynamic rather than a static library, and rearrange + installation paths. + + Updated translations. +- Bump gs_plugin_api from 14 to 16, following upstream. +- Rebase gnome-software-no-static-lib.patch. + +------------------------------------------------------------------- +Wed Feb 17 09:55:33 UTC 2021 - Dominique Leuenberger + +- Update to version 40.beta: + + GNOME Software now uses libappstream instead of + libappstream-glib to work with appstream data which provides + information about apps and other components. + * App details pages show version history information when it's + available. + * The loading page now shows the full color icon instead of the + symbolic one. + * UI elements for displaying app add-ons have been tweaked to + more closely match the designs. + * Installed icons and the badge showing the number of updates + available were changed back to blue from green. + * The dropdown showing the available sources of an application + includes the packaging format (e.g. Flatpak vs RPM). + * A bug was fixed that prevented installation of .flatpakref + files + + Updated translations. +- Replace pkgconfig(appstream-glib) BuildRequires with + pkgconfig(appstream): follow upstreams changes. + +------------------------------------------------------------------- +Tue Feb 9 12:03:59 UTC 2021 - Dominique Leuenberger + +- Update to version 40.alpha: + + Drop libgnome-desktop-3 dependency in favour of + gsettings-desktop-schemas + + Small updates to how app descriptions and addons are presented + on the details page. + + Fix handling of pending app installations when going online. + + Better support for dark themes (particularly Adwaita-Dark). + + Improvements to how app screenshots are loaded and presented. + + Hide ‘Launch’ button if an application (for example, Wine) + cannot be launched. + + Make the UI clearer when loading information from flatpakref + files. + + Don’t update app metadata on start when download-updates is + disabled. + + Fix opening the updates list when clicking on an updates + notification. + + Fix state updates when installing flatpak apps or repos which + are already installed. + + Add Ctrl+Q as a keyboard shortcut for closing the window. + + Rework timing and content of software update notifications. + + Prevent uninstalled local apps from appearing in the installed + apps list. + + Support installation/uninstallation of addons for flatpak apps. + + Improve presentation of age ratings for apps. + + Fix a crash in the updates page. + + Fix presentation of app permissions for fully sandboxed flatpak + apps. + + Fix deadlock on rpm-ostree systems. + + Fix presentation of version number changes in right-to-left + locales. + + Error handling improvements for fwupd. + + Performance improvements for ODRS on startup. + + Improve presentation of firmware warning messages. + + XML parsing performance improvements. + + Automatically remove end-of-life flatpak runtimes. + + Support updating flatpaks to their new name when they are + renamed. + + Update the GNOME Software icon. + + Support more search results in the snap store. + + Updated translations. +- Bump gs_plugin_api to 14, following upstream. +- Add pkgconfig(libhandy-1) BuildRequires: new dependency. +- Replace pkgconfig(gnome-desktop-3) BuildRequires with + pkgconfig(gsettings-desktop-schemas): follow upstream. +- Drop gnome-software-failed-offline-update-notification.patch: + upstream code reworked. + ------------------------------------------------------------------- Tue Feb 9 09:58:47 UTC 2021 - Bjørn Lie diff --git a/gnome-software.spec b/gnome-software.spec index 6c048f0..d230594 100644 --- a/gnome-software.spec +++ b/gnome-software.spec @@ -16,22 +16,20 @@ # -%define gs_plugin_api 13 -%define _version 3_38_1 +%define gs_plugin_api 16 +%define _version 40_0 Name: gnome-software -Version: 3.38.1 +Version: 40.0 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.38/%{name}-%{version}.tar.xz +Source0: https://download.gnome.org/sources/gnome-software/40/%{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 -# PATCH-FIX-UPSTREAM gnome-software-failed-offline-update-notification.patch bsc#1161095 glgo#GNOME/gnome-software!471 sckang@suse.com -- plugin-loader: handle offline update errors properly. -Patch1: gnome-software-failed-offline-update-notification.patch # PATCH-FIX-OPENSUSE gnome-software-no-static-lib.patch dimstar@opensuse.org -- convert libgnomesoftware.a to a shared lib Patch2: gnome-software-no-static-lib.patch @@ -39,19 +37,20 @@ BuildRequires: gtk-doc BuildRequires: meson >= 0.47.0 BuildRequires: pkgconfig BuildRequires: suse-xsl-stylesheets -BuildRequires: pkgconfig(appstream-glib) >= 0.7.3 +BuildRequires: pkgconfig(appstream) >= 0.14.0 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(gsettings-desktop-schemas) >= 3.18.0 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(libhandy-1) >= 1.0.2 BuildRequires: pkgconfig(libsecret-1) BuildRequires: pkgconfig(libsoup-2.4) >= 2.52.0 BuildRequires: pkgconfig(malcontent-0) >= 0.3.0 @@ -140,8 +139,9 @@ rm %{buildroot}%{_datadir}/doc/%{name}/README.md %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 +%dir %{_libdir}/gnome-software +%dir %{_libdir}/gnome-software/plugins-%{gs_plugin_api} +%{_libdir}/gnome-software/plugins-%{gs_plugin_api}/*.so #{_libexecdir}/gnome-software-service %{_libexecdir}/gnome-software-cmd %{_libexecdir}/gnome-software-restarter @@ -149,10 +149,10 @@ rm %{buildroot}%{_datadir}/doc/%{name}/README.md %{_sysconfdir}/xdg/autostart/gnome-software-service.desktop %files -n libgnomesoftware-%{_version} -%{_libdir}/libgnomesoftware-%{version}.so +%{_libdir}/gnome-software/libgnomesoftware-%{version}.so %files devel -%doc AUTHORS MAINTAINERS +%doc AUTHORS %dir %{_includedir}/%{name} %{_datadir}/gtk-doc/html/%{name}/ %dir %{_datadir}/doc/gnome-software