diff --git a/0001-crash-with-broken-theme.patch b/0001-crash-with-broken-theme.patch deleted file mode 100644 index ddbef4a..0000000 --- a/0001-crash-with-broken-theme.patch +++ /dev/null @@ -1,38 +0,0 @@ -Subject: [PATCH] gs-feature-tile: Do not abort when the theme is broken - -Just print a warning when the theme doesn't provide 'theme_fg_color' and -fallback to black color. - -Closes https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1228 - -diff -up gnome-software-42.rc/src/gs-feature-tile.c.1 gnome-software-42.rc/src/gs-feature-tile.c ---- gnome-software-42.rc/src/gs-feature-tile.c.1 2022-03-04 16:23:58.566735700 +0100 -+++ gnome-software-42.rc/src/gs-feature-tile.c 2022-03-07 08:06:29.046595524 +0100 -@@ -411,7 +411,6 @@ gs_feature_tile_refresh (GsAppTile *self - if (key_colors != tile->key_colors_cache) { - g_autoptr(GArray) colors = NULL; - GdkRGBA fg_rgba; -- gboolean fg_rgba_valid; - GsHSBC fg_hsbc; - const GsHSBC *chosen_hsbc; - GsHSBC chosen_hsbc_modified; -@@ -429,8 +428,17 @@ gs_feature_tile_refresh (GsAppTile *self - * @min_abs_contrast contrast with the foreground, so - * that the text is legible. - */ -- fg_rgba_valid = gtk_style_context_lookup_color (context, "theme_fg_color", &fg_rgba); -- g_assert (fg_rgba_valid); -+ if (!gtk_style_context_lookup_color (context, "theme_fg_color", &fg_rgba)) { -+ static gboolean i_know = FALSE; -+ if (!i_know) { -+ i_know = TRUE; -+ g_warning ("The theme doesn't provide 'theme_fg_color', fallbacking to black"); -+ } -+ fg_rgba.red = 0.0; -+ fg_rgba.green = 0.0; -+ fg_rgba.blue = 0.0; -+ fg_rgba.alpha = 1.0; -+ } - - gtk_rgb_to_hsv (fg_rgba.red, fg_rgba.green, fg_rgba.blue, - &fg_hsbc.hue, &fg_hsbc.saturation, &fg_hsbc.brightness); diff --git a/gnome-software-43.2.tar.xz b/gnome-software-43.2.tar.xz deleted file mode 100644 index 7558901..0000000 Binary files a/gnome-software-43.2.tar.xz and /dev/null differ diff --git a/gnome-software-44.5.tar.xz b/gnome-software-44.5.tar.xz new file mode 100644 index 0000000..4d8bf4f Binary files /dev/null and b/gnome-software-44.5.tar.xz differ diff --git a/gnome-software.spec b/gnome-software.spec index 1ec54ce..a2a17c6 100644 --- a/gnome-software.spec +++ b/gnome-software.spec @@ -2,25 +2,23 @@ %global flatpak_version 1.5.1 %global fwupd_version 1.3.3 %global glib2_version 2.61.1 -%global gtk4_version 4.4.0 +%global gtk4_version 4.9.2 %global json_glib_version 1.2.0 -%global libadwaita_version 1.0.1 -%global libsoup_version 2.52.0 +%global libadwaita_version 1.3 %global libxmlb_version 0.1.7 %global packagekit_version 1.1.1 -%define gs_plugin_version 19 +%define gs_plugin_version 20 %global __provides_exclude_from ^%{_libdir}/%{name}/plugins-%{gs_plugin_version}/.*\\.so.*$ Name: gnome-software -Version: 43.2 -Release: 2 +Version: 44.5 +Release: 1 Summary: GNOME software Store License: GPLv2+ URL: https://wiki.gnome.org/Apps/Software -Source0: https://download.gnome.org/sources/gnome-software/43/%{name}-%{version}.tar.xz -Patch01: 0001-crash-with-broken-theme.patch +Source0: https://download.gnome.org/sources/gnome-software/44/%{name}-%{version}.tar.xz BuildRequires: gettext libxslt docbook-style-xsl desktop-file-utils gtk-doc BuildRequires: gnome-desktop3-devel gspell-devel polkit-devel ostree-devel rpm-ostree-devel @@ -46,7 +44,6 @@ Requires: flatpak-libs >= %{flatpak_version} Requires: fwupd%{?_isa} >= %{fwupd_version} Requires: glib2%{?_isa} >= %{glib2_version} Requires: json-glib%{?_isa} >= %{json_glib_version} -Requires: libsoup%{?_isa} >= %{libsoup_version} Requires: libxmlb%{?_isa} >= %{libxmlb_version} Requires: PackageKit%{?_isa} >= %{packagekit_version} Requires: gnome-desktop3 >= 3.18.0 gnome-menus gsettings-desktop-schemas @@ -152,6 +149,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %{_mandir}/man1/gnome-software.1.* %changelog +* Mon Nov 27 2023 lwg - 44.5-1 +- update to version 44.5 + * Thu Mar 2 2023 zhuang li - 43.2-2 - Modified profile comments 43.2-2 diff --git a/gnome-software.yaml b/gnome-software.yaml index c2058c7..3c85f69 100644 --- a/gnome-software.yaml +++ b/gnome-software.yaml @@ -1,4 +1,4 @@ version_control: gitlab.gnome src_repo: gnome-software tag_prefix: "^" -seperator: "." +separator: "."