From 109aefe29b3a543bbdf87c3af80bd92f1832191b Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 5 Aug 2024 02:14:45 +0000 Subject: automatic import of gnome-software --- .gitignore | 1 + 0001-Lower_glib_dependency_to_2_68.patch | 198 ++++++ 0002-Lower-pango-attributes.patch | 42 ++ 0003-Verify-category-sizes.patch | 335 ++++++++++ gnome-software.spec | 1031 ++++++++++++++++++++++++++++++ sources | 1 + 6 files changed, 1608 insertions(+) create mode 100644 0001-Lower_glib_dependency_to_2_68.patch create mode 100644 0002-Lower-pango-attributes.patch create mode 100644 0003-Verify-category-sizes.patch create mode 100644 gnome-software.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..2489626 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/gnome-software-45.3.tar.xz diff --git a/0001-Lower_glib_dependency_to_2_68.patch b/0001-Lower_glib_dependency_to_2_68.patch new file mode 100644 index 0000000..074dfa1 --- /dev/null +++ b/0001-Lower_glib_dependency_to_2_68.patch @@ -0,0 +1,198 @@ +diff --git a/lib/gs-fedora-third-party.c b/lib/gs-fedora-third-party.c +index e79bba8..9e7115a 100644 +--- a/lib/gs-fedora-third-party.c ++++ b/lib/gs-fedora-third-party.c +@@ -11,6 +11,10 @@ + + #include "gs-fedora-third-party.h" + ++#if !GLIB_CHECK_VERSION(2, 70, 0) ++#define g_spawn_check_wait_status g_spawn_check_exit_status ++#endif ++ + struct _GsFedoraThirdParty + { + GObject parent_instance; +diff --git a/lib/gs-icon-downloader.c b/lib/gs-icon-downloader.c +index a1a669c..577fda2 100644 +--- a/lib/gs-icon-downloader.c ++++ b/lib/gs-icon-downloader.c +@@ -41,7 +41,7 @@ struct _GsIconDownloader + GCancellable *cancellable; /* (owned) */ + }; + +-G_DEFINE_FINAL_TYPE (GsIconDownloader, gs_icon_downloader, G_TYPE_OBJECT) ++G_DEFINE_TYPE (GsIconDownloader, gs_icon_downloader, G_TYPE_OBJECT) + + typedef enum { + PROP_MAXIMUM_SIZE = 1, +diff --git a/lib/gs-job-manager.c b/lib/gs-job-manager.c +index 98d79a7..694a157 100644 +--- a/lib/gs-job-manager.c ++++ b/lib/gs-job-manager.c +@@ -100,7 +100,9 @@ watch_data_unref (WatchData *data) + watch_free_data_cb, + g_steal_pointer (&data), + (GDestroyNotify) watch_data_unref); ++ #if GLIB_CHECK_VERSION(2, 70, 0) + g_source_set_static_name (idle_source, G_STRFUNC); ++ #endif + g_source_attach (idle_source, callback_context); + + /* Freeing will eventually happen in watch_free_data_cb(). */ +@@ -359,7 +361,9 @@ gs_job_manager_add_job (GsJobManager *self, + watch_call_handler_cb, + g_steal_pointer (&idle_data), + (GDestroyNotify) watch_call_handler_data_free); ++ #if GLIB_CHECK_VERSION(2, 70, 0) + g_source_set_static_name (idle_source, G_STRFUNC); ++ #endif + g_source_attach (idle_source, data->callback_context); + } + } +@@ -420,7 +424,9 @@ gs_job_manager_remove_job (GsJobManager *self, + watch_call_handler_cb, + g_steal_pointer (&idle_data), + (GDestroyNotify) watch_call_handler_data_free); ++ #if GLIB_CHECK_VERSION(2, 70, 0) + g_source_set_static_name (idle_source, G_STRFUNC); ++ #endif + g_source_attach (idle_source, data->callback_context); + } + } +diff --git a/lib/gs-plugin-loader.c b/lib/gs-plugin-loader.c +index 93b33f3..204d55f 100644 +--- a/lib/gs-plugin-loader.c ++++ b/lib/gs-plugin-loader.c +@@ -1965,7 +1965,7 @@ get_session_bus_cb (GObject *object, + plugin_loader->session_bus_connection = g_bus_get_finish (result, &local_error); + if (plugin_loader->session_bus_connection == NULL) { + notify_setup_complete (plugin_loader); +- g_prefix_error_literal (&local_error, "Error getting session bus: "); ++ g_prefix_error (&local_error, "%s", "Error getting session bus: "); + g_task_return_error (task, g_steal_pointer (&local_error)); + return; + } +@@ -1987,7 +1987,7 @@ get_system_bus_cb (GObject *object, + plugin_loader->system_bus_connection = g_bus_get_finish (result, &local_error); + if (plugin_loader->system_bus_connection == NULL) { + notify_setup_complete (plugin_loader); +- g_prefix_error_literal (&local_error, "Error getting system bus: "); ++ g_prefix_error (&local_error, "%s", "Error getting system bus: "); + g_task_return_error (task, g_steal_pointer (&local_error)); + return; + } +@@ -2753,12 +2753,21 @@ gs_plugin_loader_init (GsPluginLoader *plugin_loader) + /* Set up a thread pool for running old-style jobs + * FIXME: This will eventually disappear when all jobs are ported to + * be subclasses of #GsPluginJob. */ ++ #if GLIB_CHECK_VERSION(2, 70, 0) + plugin_loader->old_api_thread_pool = g_thread_pool_new_full (gs_plugin_loader_process_old_api_job_cb, + plugin_loader, + (GDestroyNotify) g_object_unref, + 20, + FALSE, + NULL); ++ #else ++ /* pre-glib 2.70.0 - The items will leak when the thread pool is freed before all jobs are finished */ ++ plugin_loader->old_api_thread_pool = g_thread_pool_new (gs_plugin_loader_process_old_api_job_cb, ++ plugin_loader, ++ 20, ++ FALSE, ++ NULL); ++ #endif + + /* get the job manager */ + plugin_loader->job_manager = gs_job_manager_new (); +diff --git a/meson.build b/meson.build +index da9e7ac..4c847c9 100644 +--- a/meson.build ++++ b/meson.build +@@ -156,7 +156,7 @@ gtk = dependency('gtk4', + 'demos=false', + ] + ) +-glib = dependency('glib-2.0', version : '>= 2.70.0') ++glib = dependency('glib-2.0', version : '>= 2.68.0') + json_glib = dependency('json-glib-1.0', version : '>= 1.6.0') + libm = cc.find_library('m', required: false) + if get_option('soup2') +diff --git a/plugins/flatpak/gs-flatpak.c b/plugins/flatpak/gs-flatpak.c +index c84db84..009a425 100644 +--- a/plugins/flatpak/gs-flatpak.c ++++ b/plugins/flatpak/gs-flatpak.c +@@ -4738,7 +4738,7 @@ gs_flatpak_purge_sync (GsFlatpak *self, + g_autoptr(FlatpakTransaction) transaction = NULL; + transaction = gs_flatpak_transaction_new (installation, GS_FLATPAK_ERROR_MODE_STOP_ON_FIRST_ERROR, cancellable, error); + if (transaction == NULL) { +- g_prefix_error_literal (error, "failed to build transaction: "); ++ g_prefix_error (error, "%s", "failed to build transaction: "); + return FALSE; + } + flatpak_transaction_set_no_interaction (transaction, TRUE); +diff --git a/plugins/fwupd/gs-plugin-fwupd.c b/plugins/fwupd/gs-plugin-fwupd.c +index e931b2b..43c4e9f 100644 +--- a/plugins/fwupd/gs-plugin-fwupd.c ++++ b/plugins/fwupd/gs-plugin-fwupd.c +@@ -1653,7 +1653,7 @@ finish_update_apps_op (GTask *task, + g_autoptr(GsPluginEvent) event = NULL; + + event_error = g_error_copy (error_owned); +- g_prefix_error_literal (&event_error, _("Firmware update could not be applied: ")); ++ g_prefix_error (&event_error, "%s", _("Firmware update could not be applied: ")); + gs_plugin_fwupd_error_convert (&event_error); + + event = gs_plugin_event_new ("app", self->app_current, +diff --git a/plugins/packagekit/gs-plugin-packagekit.c b/plugins/packagekit/gs-plugin-packagekit.c +index 3c5f926..409e831 100644 +--- a/plugins/packagekit/gs-plugin-packagekit.c ++++ b/plugins/packagekit/gs-plugin-packagekit.c +@@ -2040,7 +2040,7 @@ search_files_cb (GObject *source_object, + results = pk_client_generic_finish (client, result, &local_error); + + if (!gs_plugin_packagekit_results_valid (results, g_task_get_cancellable (refine_task), &local_error)) { +- g_prefix_error_literal (&local_error, "failed to search files: "); ++ g_prefix_error (&local_error, "%s", "failed to search files: "); + refine_task_complete_operation_with_error (refine_task, g_steal_pointer (&local_error)); + return; + } +@@ -3071,7 +3071,7 @@ gs_plugin_packagekit_convert_error (GError **error, + break; + } + if (prefix != NULL) +- g_prefix_error_literal (error, prefix); ++ g_prefix_error (error, "%s", prefix); + return FALSE; + } + +diff --git a/src/gs-common.c b/src/gs-common.c +index 997025a..d665c98 100644 +--- a/src/gs-common.c ++++ b/src/gs-common.c +@@ -1027,7 +1027,7 @@ gs_utils_invoke_reboot_ready2_got_session_bus_cb (GObject *source_object, + bus = g_bus_get_finish (result, &local_error); + if (bus == NULL) { + g_dbus_error_strip_remote_error (local_error); +- g_prefix_error_literal (&local_error, "Failed to get D-Bus session bus: "); ++ g_prefix_error (&local_error, "%s", "Failed to get D-Bus session bus: "); + g_task_return_error (task, g_steal_pointer (&local_error)); + return; + } +@@ -1098,7 +1098,7 @@ gs_utils_invoke_reboot_ready1_got_system_bus_cb (GObject *source_object, + bus = g_bus_get_finish (result, &local_error); + if (bus == NULL) { + g_dbus_error_strip_remote_error (local_error); +- g_prefix_error_literal (&local_error, "Failed to get D-Bus system bus: "); ++ g_prefix_error (&local_error, "%s", "Failed to get D-Bus system bus: "); + g_task_return_error (task, g_steal_pointer (&local_error)); + return; + } +@@ -1171,7 +1171,7 @@ gs_utils_invoke_reboot_got_session_bus_cb (GObject *source_object, + bus = g_bus_get_finish (result, &local_error); + if (bus == NULL) { + g_dbus_error_strip_remote_error (local_error); +- g_prefix_error_literal (&local_error, "Failed to get D-Bus session bus: "); ++ g_prefix_error (&local_error, "%s", "Failed to get D-Bus session bus: "); + g_task_return_error (task, g_steal_pointer (&local_error)); + return; + } diff --git a/0002-Lower-pango-attributes.patch b/0002-Lower-pango-attributes.patch new file mode 100644 index 0000000..f740e21 --- /dev/null +++ b/0002-Lower-pango-attributes.patch @@ -0,0 +1,42 @@ +diff -up gnome-software-45.2/src/gs-origin-popover-row.ui.2 gnome-software-45.2/src/gs-origin-popover-row.ui +--- gnome-software-45.2/src/gs-origin-popover-row.ui.2 2023-12-08 10:14:07.848934874 +0100 ++++ gnome-software-45.2/src/gs-origin-popover-row.ui 2023-12-08 10:14:10.045961688 +0100 +@@ -79,7 +79,7 @@ + 2 + + +- ++ + + + +@@ -110,7 +110,7 @@ + 2 + + +- ++ + + + +@@ -140,7 +140,7 @@ + 2 + + +- ++ + + + +diff -up gnome-software-45.2/src/gs-review-histogram.ui.2 gnome-software-45.2/src/gs-review-histogram.ui +--- gnome-software-45.2/src/gs-review-histogram.ui.2 2023-12-08 10:15:28.246916110 +0100 ++++ gnome-software-45.2/src/gs-review-histogram.ui 2023-12-01 09:58:33.000000000 +0100 +@@ -18,7 +18,7 @@ + + + +- ++ + + + 0 diff --git a/0003-Verify-category-sizes.patch b/0003-Verify-category-sizes.patch new file mode 100644 index 0000000..09b9357 --- /dev/null +++ b/0003-Verify-category-sizes.patch @@ -0,0 +1,335 @@ +From f7e394840ff84ae8b55f13ff9692d6b02e8e6ea5 Mon Sep 17 00:00:00 2001 +Date: Wed, 20 Dec 2023 12:21:24 +0100 +Subject: [PATCH 1/3] gs-appstream: Increase limit to category apps lookup + +The Overview page currently checks for 100 apps in all categories. +Lookup for the same count per category. + +Note: The counts are not accurate, same apps can be in multiple +sub-categories, thus the parent category count suffers of duplicity, +which the following commit will correct in a different way than +checking for id duplicity. +--- + lib/gs-appstream.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/lib/gs-appstream.c b/lib/gs-appstream.c +index f110e3c47..d600cac53 100644 +--- a/lib/gs-appstream.c ++++ b/lib/gs-appstream.c +@@ -1836,7 +1836,8 @@ static guint + gs_appstream_count_component_for_groups (XbSilo *silo, + const gchar *desktop_group) + { +- guint limit = 10; ++ /* the overview page checks for 100 apps, then try to get them */ ++ const guint limit = 100; + g_autofree gchar *xpath = NULL; + g_auto(GStrv) split = g_strsplit (desktop_group, "::", -1); + g_autoptr(GPtrArray) array = NULL; +@@ -1896,7 +1897,6 @@ gs_appstream_refine_category_sizes (XbSilo *silo, + } + } + } +- continue; + } + return TRUE; + } +-- +GitLab + + +From 617af44a56f6f62e07fd3fc13ae43d688aa3b85f Mon Sep 17 00:00:00 2001 +Date: Wed, 20 Dec 2023 12:24:25 +0100 +Subject: [PATCH 2/3] gs-overview-page: Add debug prints about discovered + categories + +For easier debugging, to see what the plugins returned. +--- + src/gs-overview-page.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/gs-overview-page.c b/src/gs-overview-page.c +index 6ef5079e9..72000e257 100644 +--- a/src/gs-overview-page.c ++++ b/src/gs-overview-page.c +@@ -496,6 +496,7 @@ gs_overview_page_get_categories_cb (GObject *source_object, + + if (gs_category_get_icon_name (cat) != NULL) { + found_apps_cnt += gs_category_get_size (cat); ++ g_debug ("overview page found category '%s' which claims %u apps", gs_category_get_name (cat), gs_category_get_size (cat)); + flowbox = GTK_FLOW_BOX (self->flowbox_categories); + } else + flowbox = GTK_FLOW_BOX (self->flowbox_iconless_categories); +@@ -524,6 +525,7 @@ out: + * See https://gitlab.gnome.org/GNOME/gnome-software/-/issues/2053 */ + gtk_widget_set_visible (self->flowbox_categories, found_apps_cnt >= MIN_CATEGORIES_APPS); + ++ g_debug ("overview page found %u category apps", found_apps_cnt); + if (found_apps_cnt < MIN_CATEGORIES_APPS && found_apps_cnt > 0) { + GsPluginListAppsFlags flags = GS_PLUGIN_LIST_APPS_FLAGS_INTERACTIVE; + GatherAppsData *gather_apps_data = g_new0 (GatherAppsData, 1); +-- +GitLab + + +From 98086eca23dbd46284039722887852e8c760a0fe Mon Sep 17 00:00:00 2001 +Date: Wed, 20 Dec 2023 12:32:21 +0100 +Subject: [PATCH 3/3] gs-overview-page: Verify category sizes + +The "list-categories" job can set inaccurate sizes for the categories, +thus check the actual category content to operate with proper numbers. +For example the appstream data can have information about apps, which +no plugin can provide due to disabled repository. +--- + src/gs-overview-page.c | 176 +++++++++++++++++++++++++++++++++++------ + 1 file changed, 153 insertions(+), 23 deletions(-) + +diff --git a/src/gs-overview-page.c b/src/gs-overview-page.c +index 72000e257..3ec689ac1 100644 +--- a/src/gs-overview-page.c ++++ b/src/gs-overview-page.c +@@ -440,6 +440,7 @@ category_activated_cb (GsOverviewPage *self, GsCategoryTile *tile) + typedef struct { + GsOverviewPage *page; /* (unowned) */ + GsPluginJobListCategories *job; /* (owned) */ ++ guint n_pending_ops; + } GetCategoriesData; + + static void +@@ -451,31 +452,18 @@ get_categories_data_free (GetCategoriesData *data) + + G_DEFINE_AUTOPTR_CLEANUP_FUNC (GetCategoriesData, get_categories_data_free) + +-static void +-gs_overview_page_get_categories_cb (GObject *source_object, +- GAsyncResult *res, +- gpointer user_data) ++static guint ++update_categories_sections (GsOverviewPage *self, ++ GPtrArray *list) /* (element-type GsCategory) */ + { +- g_autoptr(GetCategoriesData) data = g_steal_pointer (&user_data); +- GsOverviewPage *self = GS_OVERVIEW_PAGE (data->page); +- GsPluginLoader *plugin_loader = GS_PLUGIN_LOADER (source_object); +- guint i; + GsCategory *cat; + GtkFlowBox *flowbox; + GtkWidget *tile; + guint added_cnt = 0; + guint found_apps_cnt = 0; +- g_autoptr(GError) error = NULL; +- GPtrArray *list = NULL; /* (element-type GsCategory) */ + +- if (!gs_plugin_loader_job_action_finish (plugin_loader, res, &error)) { +- if (!g_error_matches (error, GS_PLUGIN_ERROR, GS_PLUGIN_ERROR_CANCELLED) && +- !g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) +- g_warning ("failed to get categories: %s", error->message); +- goto out; +- } +- +- list = gs_plugin_job_list_categories_get_result_list (data->job); ++ if (g_cancellable_is_cancelled (self->cancellable)) ++ return found_apps_cnt; + + gs_widget_remove_all (self->flowbox_categories, (GsRemoveFunc) gtk_flow_box_remove); + gs_widget_remove_all (self->flowbox_iconless_categories, (GsRemoveFunc) gtk_flow_box_remove); +@@ -488,7 +476,7 @@ gs_overview_page_get_categories_cb (GObject *source_object, + * be visually important, and are listed near the top of the page. + * Categories without icons are listed in a separate flowbox at the + * bottom of the page. Typically they are addons. */ +- for (i = 0; i < list->len; i++) { ++ for (guint i = 0; list != NULL && i < list->len; i++) { + cat = GS_CATEGORY (g_ptr_array_index (list, i)); + if (gs_category_get_size (cat) == 0) + continue; +@@ -510,7 +498,6 @@ gs_overview_page_get_categories_cb (GObject *source_object, + g_object_ref (cat)); + } + +-out: + /* Show the heading for the iconless categories iff there are any. */ + gtk_widget_set_visible (self->iconless_categories_heading, + gtk_flow_box_get_child_at_index (GTK_FLOW_BOX (self->flowbox_iconless_categories), 0) != NULL); +@@ -525,6 +512,27 @@ out: + * See https://gitlab.gnome.org/GNOME/gnome-software/-/issues/2053 */ + gtk_widget_set_visible (self->flowbox_categories, found_apps_cnt >= MIN_CATEGORIES_APPS); + ++ return found_apps_cnt; ++} ++ ++static void ++finish_verify_category_op (GetCategoriesData *op_data) ++{ ++ g_autoptr(GetCategoriesData) data = g_steal_pointer (&op_data); ++ GsOverviewPage *self = GS_OVERVIEW_PAGE (data->page); ++ guint i, found_apps_cnt; ++ GPtrArray *list; /* (element-type GsCategory) */ ++ ++ data->n_pending_ops--; ++ if (data->n_pending_ops > 0) { ++ /* to not be freed */ ++ g_steal_pointer (&data); ++ return; ++ } ++ ++ list = gs_plugin_job_list_categories_get_result_list (data->job); ++ found_apps_cnt = update_categories_sections (self, list); ++ + g_debug ("overview page found %u category apps", found_apps_cnt); + if (found_apps_cnt < MIN_CATEGORIES_APPS && found_apps_cnt > 0) { + GsPluginListAppsFlags flags = GS_PLUGIN_LIST_APPS_FLAGS_INTERACTIVE; +@@ -534,10 +542,10 @@ out: + gather_apps_data->self = g_object_ref (self); + gather_apps_data->list = gs_app_list_new (); + +- for (i = 0; i < list->len; i++) { ++ for (i = 0; list != NULL && i < list->len; i++) { + g_autoptr(GsPluginJob) plugin_job = NULL; + g_autoptr(GsAppQuery) query = NULL; +- GsCategory *subcat; ++ GsCategory *cat, *subcat; + + cat = GS_CATEGORY (g_ptr_array_index (list, i)); + if (gs_category_get_size (cat) == 0 || +@@ -578,6 +586,128 @@ out: + gs_overview_page_decrement_action_cnt (self); + } + ++typedef struct { ++ GsOverviewPage *page; /* (unowned) */ ++ GetCategoriesData *op_data; /* (unowned) */ ++ GsCategory *category; /* (owned) */ ++} VerifyCategoryData; ++ ++static void ++verify_category_data_free (VerifyCategoryData *data) ++{ ++ g_clear_object (&data->category); ++ g_free (data); ++} ++ ++G_DEFINE_AUTOPTR_CLEANUP_FUNC (VerifyCategoryData, verify_category_data_free) ++ ++static void ++gs_overview_page_verify_category_cb (GObject *source_object, ++ GAsyncResult *res, ++ gpointer user_data) ++{ ++ g_autoptr(VerifyCategoryData) data = user_data; ++ GsPluginLoader *plugin_loader = GS_PLUGIN_LOADER (source_object); ++ g_autoptr(GError) local_error = NULL; ++ g_autoptr(GsAppList) list = NULL; ++ ++ list = gs_plugin_loader_job_process_finish (plugin_loader, res, &local_error); ++ if (list == NULL) { ++ if (!g_error_matches (local_error, GS_PLUGIN_ERROR, GS_PLUGIN_ERROR_CANCELLED) && ++ !g_error_matches (local_error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) ++ g_warning ("failed to get apps for category: %s", local_error->message); ++ g_debug ("Failed to get category content '%s' for overview page: %s", gs_category_get_id (data->category), local_error->message); ++ } else { ++ GsCategory *all_subcat = gs_category_find_child (data->category, "all"); ++ guint size = gs_app_list_length (list); ++ g_debug ("overview page verify category '%s' size:%u~>%u subcat:'%s' size:%u~>%u", ++ gs_category_get_id (data->category), gs_category_get_size (data->category), size, ++ gs_category_get_id (all_subcat), gs_category_get_size (all_subcat), size); ++ gs_category_set_size (data->category, size); ++ gs_category_set_size (all_subcat, size); ++ } ++ ++ finish_verify_category_op (data->op_data); ++} ++ ++static void ++gs_overview_page_get_categories_list_cb (GObject *source_object, ++ GAsyncResult *res, ++ gpointer user_data) ++{ ++ g_autoptr(GetCategoriesData) data = g_steal_pointer (&user_data); ++ GsOverviewPage *self = GS_OVERVIEW_PAGE (data->page); ++ GsPluginLoader *plugin_loader = GS_PLUGIN_LOADER (source_object); ++ g_autoptr(GError) error = NULL; ++ ++ g_assert (data->n_pending_ops == 0); ++ ++ data->n_pending_ops++; ++ ++ /* The apps can be mentioned in the appstream data, but no plugin may provide actual app, ++ thus try to get the content as the Categories page and fine tune the numbers appropriately. */ ++ if (!gs_plugin_loader_job_action_finish (plugin_loader, res, &error)) { ++ if (!g_error_matches (error, GS_PLUGIN_ERROR, GS_PLUGIN_ERROR_CANCELLED) && ++ !g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) ++ g_warning ("failed to get categories: %s", error->message); ++ } else { ++ g_autoptr(GPtrArray) verify_categories = NULL; /* (element-type GsCategory) */ ++ GPtrArray *list = NULL; /* (element-type GsCategory) */ ++ guint found_apps_cnt; ++ ++ list = gs_plugin_job_list_categories_get_result_list (data->job); ++ found_apps_cnt = update_categories_sections (self, list); ++ ++ if (found_apps_cnt >= MIN_CATEGORIES_APPS) { ++ verify_categories = g_ptr_array_new_full (list != NULL ? list->len : 0, g_object_unref); ++ for (guint i = 0; list != NULL && i < list->len; i++) { ++ GsCategory *category = g_ptr_array_index (list, i); ++ if (gs_category_get_size (category) > 0 && ++ gs_category_find_child (category, "all") != NULL) { ++ g_ptr_array_add (verify_categories, g_object_ref (category)); ++ } ++ } ++ } ++ ++ if (verify_categories != NULL && verify_categories->len > 0 && !g_cancellable_is_cancelled (self->cancellable)) { ++ for (guint i = 0; i < verify_categories->len; i++) { ++ GsCategory *category = g_ptr_array_index (verify_categories, i); ++ GsCategory *all_subcat = gs_category_find_child (category, "all"); ++ g_autoptr(GsAppQuery) query = NULL; ++ g_autoptr(GsPluginJob) plugin_job = NULL; ++ VerifyCategoryData *ver_data; ++ ++ g_assert (all_subcat != NULL); ++ ++ data->n_pending_ops++; ++ ++ ver_data = g_new0 (VerifyCategoryData, 1); ++ ver_data->page = self; ++ ver_data->op_data = data; ++ ver_data->category = g_object_ref (category); ++ ++ query = gs_app_query_new ("category", all_subcat, ++ "refine-flags", GS_PLUGIN_REFINE_FLAGS_REQUIRE_ID, ++ "dedupe-flags", GS_APP_LIST_FILTER_FLAG_KEY_ID_PROVIDES, ++ "license-type", gs_page_get_query_license_type (GS_PAGE (self)), ++ /*"developer-verified-type", gs_page_get_query_developer_verified_type (GS_PAGE (self)),*/ ++ NULL); ++ plugin_job = gs_plugin_job_list_apps_new (query, GS_PLUGIN_LIST_APPS_FLAGS_NONE); ++ gs_plugin_loader_job_process_async (plugin_loader, ++ plugin_job, ++ self->cancellable, ++ gs_overview_page_verify_category_cb, ++ ver_data); ++ } ++ ++ finish_verify_category_op (g_steal_pointer (&data)); ++ return; ++ } ++ } ++ ++ finish_verify_category_op (g_steal_pointer (&data)); ++} ++ + static void + third_party_destroy_cb (GtkWindow *window, + GsOverviewPage *self) +@@ -967,7 +1097,7 @@ gs_overview_page_load (GsOverviewPage *self) + data->job = g_object_ref (GS_PLUGIN_JOB_LIST_CATEGORIES (plugin_job)); + + gs_plugin_loader_job_process_async (self->plugin_loader, plugin_job, +- self->cancellable, gs_overview_page_get_categories_cb, ++ self->cancellable, gs_overview_page_get_categories_list_cb, + g_steal_pointer (&data)); + self->action_cnt++; + } +-- +GitLab + diff --git a/gnome-software.spec b/gnome-software.spec new file mode 100644 index 0000000..2485406 --- /dev/null +++ b/gnome-software.spec @@ -0,0 +1,1031 @@ +%global appstream_version 0.14.0 +%global flatpak_version 1.9.1 +%global fwupd_version 1.5.6 +%global glib2_version 2.68.0 +%global gtk4_version 4.10.0 +%global json_glib_version 1.6.0 +%global libadwaita_version 1.3.alpha +%global libxmlb_version 0.1.7 +%global packagekit_version 1.2.5 + +# Disable WebApps for RHEL builds +%bcond webapps %[!0%{?rhel}] +# Disable parental control for RHEL builds +%bcond malcontent %[!0%{?rhel}] +# Disable rpm-ostree support for RHEL builds +%bcond rpmostree %[!0%{?rhel}] + +# this is not a library version +%define gs_plugin_version 20 + +%global tarball_version %%(echo %{version} | tr '~' '.') + +%global __provides_exclude_from ^%{_libdir}/%{name}/plugins-%{gs_plugin_version}/.*\\.so.*$ + +Name: gnome-software +Version: 45.3 +Release: 1%{?dist} +Summary: A software center for GNOME + +License: GPL-2.0-or-later +URL: https://wiki.gnome.org/Apps/Software +Source0: https://download.gnome.org/sources/gnome-software/45/%{name}-%{tarball_version}.tar.xz + +Patch01: 0001-Lower_glib_dependency_to_2_68.patch +Patch02: 0002-Lower-pango-attributes.patch +Patch03: 0003-Verify-category-sizes.patch + +BuildRequires: docbook-style-xsl +BuildRequires: desktop-file-utils +BuildRequires: gcc +BuildRequires: gettext +BuildRequires: gtk-doc +BuildRequires: libxslt +BuildRequires: meson +BuildRequires: pkgconfig(appstream) >= %{appstream_version} +BuildRequires: pkgconfig(flatpak) >= %{flatpak_version} +BuildRequires: pkgconfig(fwupd) >= %{fwupd_version} +BuildRequires: pkgconfig(gdk-pixbuf-2.0) +BuildRequires: pkgconfig(gio-unix-2.0) >= %{glib2_version} +BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version} +BuildRequires: pkgconfig(gmodule-2.0) >= %{glib2_version} +BuildRequires: pkgconfig(gsettings-desktop-schemas) +BuildRequires: pkgconfig(gtk4) >= %{gtk4_version} +BuildRequires: pkgconfig(gudev-1.0) +BuildRequires: pkgconfig(json-glib-1.0) >= %{json_glib_version} +BuildRequires: pkgconfig(libadwaita-1) >= %{libadwaita_version} +BuildRequires: pkgconfig(libdnf) +BuildRequires: pkgconfig(libsoup-2.4) +%if %{with malcontent} +BuildRequires: pkgconfig(malcontent-0) +%endif +BuildRequires: pkgconfig(ostree-1) +BuildRequires: pkgconfig(packagekit-glib2) >= %{packagekit_version} +BuildRequires: pkgconfig(polkit-gobject-1) +BuildRequires: pkgconfig(rpm) +%if %{with rpmostree} +BuildRequires: pkgconfig(rpm-ostree-1) +%endif +#BuildRequires: pkgconfig(sysprof-capture-4) +BuildRequires: pkgconfig(xmlb) >= %{libxmlb_version} + +Requires: appstream-data +Requires: appstream%{?_isa} >= %{appstream_version} +%if %{with webapps} +Requires: epiphany-runtime%{?_isa} +%endif +Requires: flatpak%{?_isa} >= %{flatpak_version} +Requires: flatpak-libs%{?_isa} >= %{flatpak_version} +Requires: fwupd%{?_isa} >= %{fwupd_version} +Requires: glib2%{?_isa} >= %{glib2_version} +# gnome-menus is needed for app folder .directory entries +Requires: gnome-menus%{?_isa} +Requires: gsettings-desktop-schemas%{?_isa} +Requires: json-glib%{?_isa} >= %{json_glib_version} +Requires: iso-codes +# librsvg2 is needed for gdk-pixbuf svg loader +Requires: librsvg2%{?_isa} +Requires: libxmlb%{?_isa} >= %{libxmlb_version} + +Recommends: PackageKit%{?_isa} >= %{packagekit_version} + +Obsoletes: gnome-software-snap < 3.33.1 +Obsoletes: gnome-software-editor < 3.35.1 + +%description +gnome-software is an application that makes it easy to add, remove +and update software in the GNOME desktop. + +%package devel +Summary: Headers for building external gnome-software plugins +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +These development files are for building gnome-software plugins outside +the source tree. Most users do not need this subpackage installed. + +%if %{with rpmostree} +%package rpm-ostree +Summary: rpm-ostree backend for gnome-software +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: rpm-ostree%{?_isa} +Supplements: (gnome-software%{?_isa} and rpm-ostree%{?_isa}) + +%description rpm-ostree +gnome-software is an application that makes it easy to add, remove +and update software in the GNOME desktop. + +This package includes the rpm-ostree backend. +%endif + +%prep +%autosetup -p1 -S gendiff -n %{name}-%{tarball_version} + +%build +%meson \ + -Dsoup2=true \ + -Dsnap=false \ +%if %{with malcontent} + -Dmalcontent=true \ +%else + -Dmalcontent=false \ +%endif + -Dgudev=true \ + -Dpackagekit=true \ + -Dpackagekit_autoremove=true \ + -Dexternal_appstream=false \ +%if %{with rpmostree} + -Drpm_ostree=true \ +%else + -Drpm_ostree=false \ +%endif +%if %{with webapps} + -Dwebapps=true \ + -Dhardcoded_foss_webapps=true \ + -Dhardcoded_proprietary_webapps=false \ +%else + -Dwebapps=false \ + -Dhardcoded_foss_webapps=false \ + -Dhardcoded_proprietary_webapps=false \ +%endif + -Dtests=false +%meson_build + +%install +%meson_install + +# remove unneeded dpkg plugin +rm %{buildroot}%{_libdir}/gnome-software/plugins-%{gs_plugin_version}/libgs_plugin_dpkg.so + +# make the software center load faster +desktop-file-edit %{buildroot}%{_datadir}/applications/org.gnome.Software.desktop \ + --set-key=X-AppInstall-Package --set-value=%{name} + +# set up for Fedora +cat >> %{buildroot}%{_datadir}/glib-2.0/schemas/org.gnome.software-fedora.gschema.override << FOE +[org.gnome.software] +%if 0%{?rhel} +official-repos = [ 'rhel-%{?rhel}' ] +%else +official-repos = [ 'anaconda', 'fedora', 'fedora-debuginfo', 'fedora-source', 'koji-override-0', 'koji-override-1', 'rawhide', 'rawhide-debuginfo', 'rawhide-source', 'updates', 'updates-debuginfo', 'updates-source', 'updates-testing', 'updates-testing-debuginfo', 'updates-testing-source', 'fedora-modular', 'fedora-modular-debuginfo', 'fedora-modular-source', 'rawhide-modular', 'rawhide-modular-debuginfo', 'rawhide-modular-source', 'fedora-cisco-openh264', 'fedora-cisco-openh264-debuginfo' ] +required-repos = [ 'fedora', 'updates' ] +packaging-format-preference = [ 'flatpak:fedora-testing', 'flatpak:fedora', 'rpm' ] +%endif +FOE + +%find_lang %name --with-gnome + +%check +desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop + +%files -f %{name}.lang +%doc AUTHORS README.md +%license COPYING +%{_bindir}/gnome-software +%{_datadir}/applications/gnome-software-local-file-flatpak.desktop +%{_datadir}/applications/gnome-software-local-file-fwupd.desktop +%{_datadir}/applications/gnome-software-local-file-packagekit.desktop +%{_datadir}/applications/org.gnome.Software.desktop +%{_mandir}/man1/gnome-software.1* +%{_datadir}/icons/hicolor/*/apps/org.gnome.Software.svg +%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Software-symbolic.svg +%{_datadir}/icons/hicolor/scalable/actions/app-remove-symbolic.svg +%{_datadir}/metainfo/org.gnome.Software.metainfo.xml +%if %{with webapps} +%{_datadir}/metainfo/org.gnome.Software.Plugin.Epiphany.metainfo.xml +%endif +%{_datadir}/metainfo/org.gnome.Software.Plugin.Flatpak.metainfo.xml +%{_datadir}/metainfo/org.gnome.Software.Plugin.Fwupd.metainfo.xml +%dir %{_libdir}/gnome-software/plugins-%{gs_plugin_version} +%{_libdir}/gnome-software/libgnomesoftware.so.%{gs_plugin_version} +%{_libdir}/gnome-software/plugins-%{gs_plugin_version}/libgs_plugin_appstream.so +%{_libdir}/gnome-software/plugins-%{gs_plugin_version}/libgs_plugin_dummy.so +%if %{with webapps} +%{_libdir}/gnome-software/plugins-%{gs_plugin_version}/libgs_plugin_epiphany.so +%endif +%{_libdir}/gnome-software/plugins-%{gs_plugin_version}/libgs_plugin_fedora-langpacks.so +%{_libdir}/gnome-software/plugins-%{gs_plugin_version}/libgs_plugin_fedora-pkgdb-collections.so +%{_libdir}/gnome-software/plugins-%{gs_plugin_version}/libgs_plugin_flatpak.so +%{_libdir}/gnome-software/plugins-%{gs_plugin_version}/libgs_plugin_fwupd.so +%{_libdir}/gnome-software/plugins-%{gs_plugin_version}/libgs_plugin_generic-updates.so +%{_libdir}/gnome-software/plugins-%{gs_plugin_version}/libgs_plugin_hardcoded-blocklist.so +%{_libdir}/gnome-software/plugins-%{gs_plugin_version}/libgs_plugin_icons.so +%if %{with malcontent} +%{_libdir}/gnome-software/plugins-%{gs_plugin_version}/libgs_plugin_malcontent.so +%endif +%{_libdir}/gnome-software/plugins-%{gs_plugin_version}/libgs_plugin_modalias.so +%{_libdir}/gnome-software/plugins-%{gs_plugin_version}/libgs_plugin_os-release.so +%{_libdir}/gnome-software/plugins-%{gs_plugin_version}/libgs_plugin_packagekit.so +%{_libdir}/gnome-software/plugins-%{gs_plugin_version}/libgs_plugin_provenance-license.so +%{_libdir}/gnome-software/plugins-%{gs_plugin_version}/libgs_plugin_provenance.so +%{_libdir}/gnome-software/plugins-%{gs_plugin_version}/libgs_plugin_repos.so +%{_sysconfdir}/xdg/autostart/org.gnome.Software.desktop +%dir %{_datadir}/swcatalog +%dir %{_datadir}/swcatalog/xml +%if %{with webapps} +%{_datadir}/swcatalog/xml/gnome-pwa-list-foss.xml +%endif +%{_datadir}/swcatalog/xml/org.gnome.Software.Curated.xml +%{_datadir}/swcatalog/xml/org.gnome.Software.Featured.xml +%{_datadir}/dbus-1/services/org.freedesktop.PackageKit.service +%{_datadir}/dbus-1/services/org.gnome.Software.service +%{_datadir}/gnome-shell/search-providers/org.gnome.Software-search-provider.ini +%{_datadir}/glib-2.0/schemas/org.gnome.software.gschema.xml +%{_datadir}/glib-2.0/schemas/org.gnome.software-fedora.gschema.override +%{_libexecdir}/gnome-software-cmd +%{_libexecdir}/gnome-software-restarter + +%if %{with rpmostree} +%files rpm-ostree +%{_libdir}/gnome-software/plugins-%{gs_plugin_version}/libgs_plugin_rpm-ostree.so +%endif + +%files devel +%{_libdir}/pkgconfig/gnome-software.pc +%dir %{_includedir}/gnome-software +%{_includedir}/gnome-software/*.h +%{_libdir}/gnome-software/libgnomesoftware.so +%dir %{_datadir}/gtk-doc +%dir %{_datadir}/gtk-doc/html +%{_datadir}/gtk-doc/html/gnome-software/ + +%changelog +* Mon Jan 15 2024 Milan Crha - 45.3-1 +- Resolves: RHEL-843 (Rebase GNOME Software to its GNOME 45 version) + +* Thu Aug 03 2023 Milan Crha - 41.5-3 +- Resolves: #2228374 (Rebuild to move gnome-software-devel into CRB) + +* Thu Sep 22 2022 Milan Crha - 41.5-2 +- Resolves: #2128812 (Correct property name in GsRemovalDialog .ui file) +- Resolves: #2129021 (Hide some errors in non-debug builds) + +* Mon Mar 21 2022 Milan Crha - 41.5-1 +- Resolves: #2066164 (Update to 41.5) + +* Mon Feb 14 2022 Milan Crha - 41.4-1 +- Resolves: #2054082 (Update to 41.4) + +* Mon Jan 31 2022 Milan Crha - 41.3-2 +- Resolves: #2048397 (Optional software repos can't be disabled) + +* Mon Jan 10 2022 Milan Crha - 41.3-1 +- Resolves: #2038805 (Update to 41.3) + +* Mon Dec 06 2021 Milan Crha - 41.2-1 +- Resolves: #2029323 (Update to 41.2) + +* Mon Nov 01 2021 Milan Crha - 41.1-1 +- Resolves: #2018871 (Update to 41.1) + +* Tue Oct 12 2021 Milan Crha - 41.0-2 +- Resolves: #2012699 (Backport changes from Fedora 35) +- Add patch to mark compulsory only repos, not apps from it +- Resolves: #2011176 (flathub repo can't be added through gnome-software) +- Resolves: #2010660 (gs-repos-dialog: Can show also desktop applications) +- Resolves: #2010353 (Optional repos cannot be disabled) +- Resolves: #2010740 (Refresh on repository setup change) +- Resolves: #2009063 (Correct update notifications) + +* Mon Sep 20 2021 Milan Crha - 41.0-1 +- Resolves: #2005770 (Update to 41.0) + +* Mon Aug 23 2021 Kalev Lember - 41~beta-1 +- Resolves: #1995567 (Update to 41.beta) + +* Fri Aug 13 2021 Milan Crha - 40.4-1 +- Resolves: #1992452 (Update to 40.4) + +* Mon Aug 09 2021 Mohan Boddu - 40.3-3 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Mon Jul 19 2021 Milan Crha - 40.3-2 +- Resolves: #1983553 +- Add rpm-ostree patch to hide packages from the search results +- Add patch to implement what-provides search in the Flatpak plugin + +* Mon Jul 12 2021 Milan Crha - 40.3-1 +- Related: #1981296 (Update to 40.3) + +* Tue Jun 22 2021 Mohan Boddu - 40.2-2 +- Rebuilt for RHEL 9 BETA for openssl 3.0 + Related: rhbz#1971065 + +* Fri Jun 04 2021 Milan Crha - 40.2-1 +- Related: #1967855 (Update to 40.2) + +* Mon May 03 2021 Milan Crha - 40.1-2 +- Related: #1952776 (Add patch for crash under gs_details_page_refresh_all() (i#1227)) + +* Mon May 03 2021 Milan Crha - 40.1-1 +- Related: #1952776 (Update to 40.1) + +* Thu Apr 15 2021 Mohan Boddu - 40.0-3 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Fri Mar 26 2021 Kalev Lember - 40.0-2 +- Rebuild to fix sysprof-capture symbols leaking into libraries consuming it + +* Mon Mar 22 2021 Kalev Lember - 40.0-1 +- Update to 40.0 + +* Thu Mar 18 2021 Adam Williamson - 40~rc-2 +- Backport a couple of bug fixes from upstream (icon display, crash bug) + +* Mon Mar 15 2021 Kalev Lember - 40~rc-1 +- Update to 40.rc + +* Wed Mar 10 2021 Adam Williamson - 40~beta-2 +- Backport MR #643 to fix update notifications on first run (#1930401) + +* Tue Feb 16 2021 Kalev Lember - 40~beta-1 +- Update to 40.beta + +* Mon Feb 08 2021 Richard Hughes - 3.38.1-1 +- New upstream version +- Fix package details not found for some packages +- Ignore harmless warnings when using unusual fwupd versions + +* Tue Jan 26 2021 Fedora Release Engineering - 3.38.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Sep 14 2020 Kalev Lember - 3.38.0-2 +- Revert an optimization that broke packagekit updates + +* Fri Sep 11 2020 Kalev Lember - 3.38.0-1 +- Update to 3.38.0 + +* Tue Sep 01 2020 Kalev Lember - 3.37.92-1 +- Update to 3.37.92 + +* Tue Aug 18 2020 Richard Hughes - 3.36.1-4 +- Rebuild for the libxmlb API bump. + +* Sat Aug 01 2020 Fedora Release Engineering - 3.36.1-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 27 2020 Fedora Release Engineering - 3.36.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri May 22 2020 Richard Hughes - 3.36.1-1 +- Update to 3.36.1 + +* Tue May 12 2020 Kalev Lember - 3.36.0-2 +- Backport various rpm-ostree backend fixes + +* Wed Mar 11 2020 Kalev Lember - 3.36.0-1 +- Update to 3.36.0 + +* Wed Mar 04 2020 Kalev Lember - 3.35.92-1 +- Update to 3.35.92 + +* Fri Feb 21 2020 Richard Hughes - 3.35.91-2 +- Backport a patch to fix a crash when looking at the application details. + +* Wed Feb 19 2020 Richard Hughes - 3.35.91-1 +- Update to 3.35.91. + +* Tue Jan 28 2020 Fedora Release Engineering - 3.35.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Mon Nov 25 2019 Richard Hughes - 3.35.2-1 +- Update to 3.35.2. + +* Fri Oct 18 2019 Kalev Lember - 3.34.1-6 +- Backport patches to fix a crash in gs_flatpak_get_installation (#1762689) + +* Mon Oct 14 2019 Kalev Lember - 3.34.1-5 +- Update renamed appstream ids for GNOME 3.34 + +* Fri Oct 11 2019 Richard Hughes - 3.34.1-4 +- Backport a simpler to correct the installed applications +- Resolves #1759193 + +* Fri Oct 11 2019 Richard Hughes - 3.34.1-3 +- Backport a better patch to correct the installed applications +- Resolves #1759193 + +* Thu Oct 10 2019 Richard Hughes - 3.34.1-2 +- Backport a patch to correct the applications shown in the installed list +- Resolves #1759193 + +* Mon Oct 07 2019 Kalev Lember - 3.34.1-1 +- Update to 3.34.1 + +* Wed Sep 25 2019 Kalev Lember - 3.34.0-2 +- Fix third party repo enabling not working (#1749566) + +* Mon Sep 09 2019 Kalev Lember - 3.34.0-1 +- Update to 3.34.0 + +* Thu Jul 25 2019 Fedora Release Engineering - 3.32.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jul 11 2019 Kalev Lember - 3.32.4-1 +- Update to 3.32.4 + +* Thu Jul 11 2019 Richard Hughes - 3.32.3-5 +- Disable the snap plugin. Canonical upstream are not going to be installing + gnome-software in the next LTS, prefering instead to ship a "Snap Store" + rather than GNOME Software. +- Enabling the snap plugin also enables the Snap Store which violated the same + rules which prevented us installing Flathub by default. +- The existing plugin is barely maintained and I don't want to be the one + responsible when it breaks. + +* Thu Jun 13 2019 Kalev Lember - 3.32.3-4 +- Rebuild for accidental libflatpak ABI break + +* Mon Jun 10 22:13:19 CET 2019 Igor Gnatenko - 3.32.3-3 +- Rebuild for RPM 4.15 + +* Mon Jun 10 15:42:01 CET 2019 Igor Gnatenko - 3.32.3-2 +- Rebuild for RPM 4.15 + +* Fri May 24 2019 Kalev Lember - 3.32.3-1 +- Update to 3.32.3 + +* Tue May 07 2019 Kalev Lember - 3.32.2-1 +- Update to 3.32.2 + +* Fri May 03 2019 Kalev Lember - 3.32.1-4 +- Update a patch to final upstream version + +* Tue Apr 30 2019 Kalev Lember - 3.32.1-3 +- Backport a number of rpm-ostree fixes + +* Tue Apr 16 2019 Adam Williamson - 3.32.1-2 +- Rebuild with Meson fix for #1699099 + +* Mon Apr 15 2019 Kalev Lember - 3.32.1-1 +- Update to 3.32.1 + +* Fri Apr 05 2019 Neal Gompa - 3.32.0-6 +- Require snapd instead of the obsolete snapd-login-service for snap subpackage + +* Wed Apr 03 2019 Kalev Lember - 3.32.0-5 +- Switch to system libdnf + +* Fri Mar 29 2019 Kalev Lember - 3.32.0-4 +- Rebuild for new rpm-ostree + +* Fri Mar 15 2019 Kalev Lember - 3.32.0-3 +- Add nm-connection-editor.desktop to Utilities folder (#1686851) + +* Tue Mar 12 2019 Kalev Lember - 3.32.0-2 +- Backport a patch to add shadows to app icons + +* Mon Mar 11 2019 Kalev Lember - 3.32.0-1 +- Update to 3.32.0 + +* Tue Mar 05 2019 Kalev Lember - 3.31.92-1 +- Update to 3.31.92 + +* Thu Feb 28 2019 Kalev Lember - 3.31.90-4 +- Change PackageKit requires to recommends + +* Wed Feb 27 2019 Kalev Lember - 3.31.90-3 +- Remove unneeded dpkg plugin + +* Mon Feb 25 2019 Kalev Lember - 3.31.90-2 +- Split rpm-ostree backend to its own subpackage + +* Sun Feb 24 2019 Kalev Lember - 3.31.90-1 +- Update to 3.31.90 +- Add "anaconda" repo to official repos list (#1679693) + +* Thu Jan 31 2019 Fedora Release Engineering - 3.31.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Wed Jan 16 2019 Kalev Lember - 3.31.2-1 +- Update to 3.31.2 + +* Fri Dec 14 2018 Kalev Lember - 3.31.1-2 +- Fix offline update notifications to show up (#1659231) + +* Tue Oct 09 2018 Kalev Lember - 3.31.1-1 +- Update to 3.31.1 + +* Fri Oct 05 2018 Kalev Lember - 3.30.2-1 +- Update to 3.30.2 + +* Wed Sep 26 2018 Kalev Lember - 3.30.1-2 +- Add modular repos to official repos list + +* Tue Sep 25 2018 Kalev Lember - 3.30.1-1 +- Update to 3.30.1 + +* Thu Sep 06 2018 Kalev Lember - 3.30.0-1 +- Update to 3.30.0 + +* Tue Aug 28 2018 Richard Hughes - 3.29.92-1 +- Update to 3.29.92 + +* Fri Jul 13 2018 Fedora Release Engineering - 3.29.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed May 09 2018 Kalev Lember - 3.29.1-1 +- Update to 3.29.1 + +* Mon Apr 09 2018 Kalev Lember - 3.28.1-1 +- Update to 3.28.1 + +* Thu Mar 29 2018 Kalev Lember - 3.28.0-5 +- Fix empty OS Updates showing up +- Make rpm-ostree update triggering work + +* Thu Mar 15 2018 Kalev Lember - 3.28.0-4 +- Fix opening results from gnome-shell search provider + +* Wed Mar 14 2018 Kalev Lember - 3.28.0-3 +- Fix crash on initial run with no network (#1554986) + +* Tue Mar 13 2018 Kalev Lember - 3.28.0-2 +- Backport an upstream patch to fix shell extensions app ID + +* Mon Mar 12 2018 Kalev Lember - 3.28.0-1 +- Update to 3.28.0 + +* Sun Mar 11 2018 Kalev Lember - 3.27.92-3 +- Rebuilt for gspell 1.8 + +* Wed Mar 07 2018 Kalev Lember - 3.27.92-2 +- Move org.gnome.Software.Featured.xml from -editor to main package + +* Mon Mar 05 2018 Kalev Lember - 3.27.92-1 +- Update to 3.27.92 + +* Sun Mar 04 2018 Neal Gompa - 3.27.90-4 +- Drop obsolete snapd-login-service requirement for snap plugin subpackage + +* Mon Feb 19 2018 Adam Williamson - 3.27.90-3 +- Backport fix for RHBZ #1546893 from upstream git + +* Mon Feb 19 2018 Kalev Lember - 3.27.90-2 +- Re-enable rpm-ostree plugin + +* Thu Feb 15 2018 Kalev Lember - 3.27.90-1 +- Update to 3.27.90 +- Temporarily disable the rpm-ostree plugin + +* Tue Feb 13 2018 Björn Esser - 3.27.4-4 +- Rebuild against newer gnome-desktop3 package + +* Thu Feb 08 2018 Kalev Lember - 3.27.4-3 +- Add fedora-workstation-repositories to nonfree-sources schema defaults + +* Wed Feb 07 2018 Fedora Release Engineering - 3.27.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Jan 08 2018 Kalev Lember - 3.27.4-1 +- Update to 3.27.4 +- Drop unused --without packagekit option + +* Fri Jan 05 2018 Igor Gnatenko - 3.27.3-2 +- Remove obsolete scriptlets + +* Sat Dec 16 2017 Kalev Lember - 3.27.3-1 +- Update to 3.27.3 + +* Mon Nov 13 2017 Kalev Lember - 3.27.2-1 +- Update to 3.27.2 + +* Thu Nov 09 2017 Kalev Lember - 3.26.2-1 +- Update to 3.26.2 +- Re-enable fwupd support + +* Tue Oct 31 2017 Kalev Lember - 3.26.1-5 +- Enable the rpm-ostree plugin + +* Wed Oct 25 2017 Kalev Lember - 3.26.1-4 +- Fix "too many results returned" error after distro upgrades (#1496489) + +* Tue Oct 10 2017 Kalev Lember - 3.26.1-3 +- Backport a flatpakref installation fix + +* Mon Oct 09 2017 Richard Hughes - 3.26.1-2 +- Disable fwupd support until we get a 3.27.1 tarball + +* Sun Oct 08 2017 Kalev Lember - 3.26.1-1 +- Update to 3.26.1 + +* Mon Sep 11 2017 Kalev Lember - 3.26.0-1 +- Update to 3.26.0 + +* Sun Aug 27 2017 Kalev Lember - 3.25.91-1 +- Update to 3.25.91 + +* Tue Aug 15 2017 Kalev Lember - 3.25.90-1 +- Update to 3.25.90 + +* Fri Aug 11 2017 Igor Gnatenko - 3.25.4-6 +- Rebuilt after RPM update (№ 3) + +* Thu Aug 10 2017 Igor Gnatenko - 3.25.4-5 +- Rebuilt for RPM soname bump + +* Thu Aug 10 2017 Igor Gnatenko - 3.25.4-4 +- Rebuilt for RPM soname bump + +* Wed Aug 02 2017 Fedora Release Engineering - 3.25.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 3.25.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Jul 21 2017 Kalev Lember - 3.25.4-1 +- Update to 3.25.4 + +* Tue Jul 18 2017 Kalev Lember - 3.25.3-6 +- Drop a meson workaround now that meson is fixed + +* Wed Jun 28 2017 Neal Gompa - 3.25.3-5 +- Actually properly enable snap subpackage after removing conditional + +* Wed Jun 28 2017 Neal Gompa - 3.25.3-4 +- Remove unnecessary arch-specific conditional for snap subpackage + +* Tue Jun 27 2017 Neal Gompa - 3.25.3-3 +- Ensure snap subpackage is installed if snapd is installed + +* Fri Jun 23 2017 Richard Hughes - 3.24.3-2 +- Enable the snap subpackage + +* Fri Jun 23 2017 Kalev Lember - 3.25.3-1 +- Update to 3.25.3 +- Switch to the meson build system +- Add an -editor subpackage with new banner editor + +* Mon May 15 2017 Richard Hughes - 3.24.3-1 +- Update to 3.23.3 +- Fix a common crash when installing flatpakrepo files +- Ensure we show the banner when upgrades are available + +* Tue May 09 2017 Kalev Lember - 3.24.2-1 +- Update to 3.24.2 + +* Tue Apr 25 2017 Adam Williamson - 3.24.1-2 +- Backport crasher fix from upstream (RHBZ #1444669 / BGO #781217) + +* Tue Apr 11 2017 Kalev Lember - 3.24.1-1 +- Update to 3.24.1 + +* Tue Mar 21 2017 Kalev Lember - 3.24.0-1 +- Update to 3.24.0 + +* Thu Mar 16 2017 Kalev Lember - 3.23.92-1 +- Update to 3.23.92 + +* Mon Feb 27 2017 Richard Hughes - 3.23.91-1 +- Update to 3.23.91 + +* Mon Feb 13 2017 Richard Hughes - 3.23.90-1 +- Update to 3.23.90 + +* Fri Feb 10 2017 Fedora Release Engineering - 3.23.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Dec 15 2016 Richard Hughes - 3.23.3-1 +- Update to 3.23.3 + +* Wed Nov 23 2016 Kalev Lember - 3.23.2-1 +- Update to 3.23.2 + +* Tue Nov 08 2016 Kalev Lember - 3.22.2-1 +- Update to 3.22.2 + +* Wed Oct 12 2016 Kalev Lember - 3.22.1-1 +- Update to 3.22.1 + +* Mon Sep 19 2016 Kalev Lember - 3.22.0-1 +- Update to 3.22.0 + +* Wed Sep 14 2016 Kalev Lember - 3.21.92-1 +- Update to 3.21.92 +- Don't set group tags + +* Thu Sep 01 2016 Kalev Lember - 3.21.91-1 +- Update to 3.21.91 + +* Wed Aug 17 2016 Kalev Lember - 3.21.90-2 +- Rebuilt for fixed libappstream-glib headers + +* Wed Aug 17 2016 Kalev Lember - 3.21.90-1 +- Update to 3.21.90 +- Tighten -devel subpackage dependencies + +* Thu Jul 28 2016 Richard Hughes - 3.21.4-2 +- Allow building without PackageKit for the atomic workstation. + +* Mon Jul 18 2016 Richard Hughes - 3.21.4-1 +- Update to 3.21.4 + +* Thu May 26 2016 Kalev Lember - 3.21.2-2 +- Build with flatpak support + +* Mon May 23 2016 Richard Hughes - 3.21.2-1 +- Update to 3.21.2 + +* Tue May 10 2016 Kalev Lember - 3.21.1-2 +- Require PackageKit 1.1.1 for system upgrade support + +* Mon Apr 25 2016 Richard Hughes - 3.21.1-1 +- Update to 3.21.1 + +* Mon Apr 25 2016 Richard Hughes - 3.20.2-1 +- Update to 3.20.1 +- Allow popular and featured apps to match any plugin +- Do not make the ODRS plugin depend on xdg-app +- Fix many of the os-upgrade issues and implement the latest mockups +- Make all the plugins more threadsafe +- Return all update descriptions newer than the installed version +- Show some non-fatal error messages if installing fails +- Use a background PackageKit transaction when downloading upgrades + +* Wed Apr 13 2016 Kalev Lember - 3.20.1-1 +- Update to 3.20.1 + +* Fri Apr 01 2016 Richard Hughes - 3.20.1-2 +- Set the list of official sources +- Compile with xdg-app support + +* Tue Mar 22 2016 Kalev Lember - 3.20.0-1 +- Update to 3.20.0 + +* Mon Mar 14 2016 Richard Hughes - 3.19.92-1 +- Update to 3.19.92 + +* Thu Mar 03 2016 Kalev Lember - 3.19.91-2 +- Set minimum required json-glib version + +* Mon Feb 29 2016 Richard Hughes - 3.19.91-1 +- Update to 3.19.91 + +* Mon Feb 15 2016 Richard Hughes - 3.19.90-1 +- Update to 3.19.90 + +* Wed Feb 03 2016 Fedora Release Engineering - 3.19.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jan 15 2016 Richard Hughes - 3.19.4-1 +- Update to 3.19.4 + +* Thu Dec 03 2015 Kalev Lember - 3.18.3-2 +- Require librsvg2 for the gdk-pixbuf svg loader + +* Thu Nov 05 2015 Richard Hughes - 3.18.3-1 +- Update to 3.18.3 +- Use the correct user agent string when downloading firmware +- Fix a crash in the limba plugin +- Fix installing web applications + +* Mon Oct 26 2015 Kalev Lember - 3.18.2-2 +- Fix apps reappearing as installed a few seconds after removal (#1275163) + +* Thu Oct 15 2015 Kalev Lember - 3.18.2-1 +- Update to 3.18.2 + +* Tue Oct 13 2015 Kalev Lember - 3.18.1-1 +- Update to 3.18.1 + +* Wed Oct 07 2015 Kalev Lember - 3.18.0-2 +- Backport two crasher fixes from upstream + +* Mon Sep 21 2015 Kalev Lember - 3.18.0-1 +- Update to 3.18.0 + +* Tue Sep 15 2015 Kalev Lember - 3.17.92-2 +- Update dependency versions + +* Tue Sep 15 2015 Richard Hughes - 3.17.92-1 +- Update to 3.17.92 + +* Thu Sep 10 2015 Richard Hughes - 3.17.91-2 +- Fix firmware updates + +* Thu Sep 03 2015 Kalev Lember - 3.17.91-1 +- Update to 3.17.91 + +* Wed Aug 19 2015 Kalev Lember - 3.17.90-1 +- Update to 3.17.90 + +* Wed Aug 12 2015 Richard Hughes - 3.17.3-1 +- Update to 3.17.3 + +* Wed Jul 22 2015 David King - 3.17.2-3 +- Bump for new gnome-desktop3 + +* Wed Jun 17 2015 Fedora Release Engineering - 3.17.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Jun 05 2015 Kalev Lember - 3.17.2-1 +- Update to 3.17.2 + +* Mon May 25 2015 Kalev Lember - 3.17.1-1 +- Update to 3.17.1 + +* Fri May 15 2015 Kalev Lember - 3.16.2-2 +- Fix a crash under Wayland (#1221968) + +* Mon May 11 2015 Kalev Lember - 3.16.2-1 +- Update to 3.16.2 + +* Tue Apr 14 2015 Kalev Lember - 3.16.1-1 +- Update to 3.16.1 + +* Mon Mar 23 2015 Kalev Lember - 3.16.0-1 +- Update to 3.16.0 + +* Mon Mar 16 2015 Kalev Lember - 3.15.92-1 +- Update to 3.15.92 +- Use license macro for the COPYING file +- Add a patch to adapt to gnome-terminal desktop file rename + +* Mon Mar 02 2015 Kalev Lember - 3.15.91-1 +- Update to 3.15.91 + +* Sat Feb 21 2015 Kalev Lember - 3.15.90-3 +- Export DisplayName property on the packagekit session service + +* Thu Feb 19 2015 Kalev Lember - 3.15.90-2 +- Backport a crash fix + +* Tue Feb 17 2015 Richard Hughes - 3.15.90-1 +- Update to 3.15.90 + +* Mon Jan 19 2015 Richard Hughes - 3.15.4-1 +- Update to 3.15.4 + +* Tue Nov 25 2014 Kalev Lember - 3.15.2-1 +- Update to 3.15.2 + +* Thu Nov 13 2014 Richard Hughes - 3.14.2-3 +- Fix non-Fedora build + +* Tue Nov 11 2014 Richard Hughes - 3.14.2-2 +- Backport a patch to fix compilation + +* Mon Nov 10 2014 Kalev Lember - 3.14.2-1 +- Update to 3.14.2 + +* Sat Nov 08 2014 Kalev Lember - 3.14.1-3 +- Update the list of system apps + +* Sat Nov 01 2014 David King - 3.14.1-2 +- Rebuild for new libappstream-glib (#1156494) + +* Mon Oct 13 2014 Kalev Lember - 3.14.1-1 +- Update to 3.14.1 + +* Thu Oct 09 2014 Kalev Lember - 3.14.0-2 +- Depend on gnome-menus for app folder directory entries + +* Mon Sep 22 2014 Kalev Lember - 3.14.0-1 +- Update to 3.14.0 + +* Wed Sep 17 2014 Kalev Lember - 3.13.92-2 +- Set minimum required dependency versions (#1136343) + +* Tue Sep 16 2014 Kalev Lember - 3.13.92-1 +- Update to 3.13.92 +- Replace gnome-system-log with gnome-logs in the system apps list + +* Tue Sep 02 2014 Kalev Lember - 3.13.91-1 +- Update to 3.13.91 + +* Tue Aug 19 2014 Richard Hughes - 3.13.90-1 +- Update to 3.13.90 + +* Sat Aug 16 2014 Fedora Release Engineering - 3.13.5-0.2.git5c89189 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Mon Aug 11 2014 Kalev Lember - 3.13.5-0.1.git5c89189 +- Update to 3.13.5 git snapshot +- Ship HighContrast icons + +* Sun Aug 03 2014 Kalev Lember - 3.13.4-2 +- Replace Epiphany with Firefox in the system apps list + +* Wed Jul 23 2014 Kalev Lember - 3.13.4-1 +- Update to 3.13.4 + +* Wed Jun 25 2014 Kalev Lember - 3.13.3-1 +- Update to 3.13.3 + +* Thu Jun 12 2014 Richard Hughes - 3.13.3-0.2.git7491627 +- Depend on the newly-created appstream-data package and stop shipping + the metadata here. + +* Sat Jun 07 2014 Kalev Lember - 3.13.3-0.1.git7491627 +- Update to 3.13.3 git snapshot + +* Wed May 28 2014 Richard Hughes - 3.13.2-2 +- Rebuild with new metadata. + +* Wed May 28 2014 Kalev Lember - 3.13.2-1 +- Update to 3.13.2 + +* Thu May 15 2014 Kalev Lember - 3.13.1-4 +- Depend on gsettings-desktop-schemas + +* Mon May 12 2014 Richard Hughes - 3.13.1-3 +- Update the metadata and use appstream-util to install the metadata. + +* Wed May 07 2014 Kalev Lember - 3.13.1-2 +- Drop gnome-icon-theme dependency + +* Mon Apr 28 2014 Richard Hughes - 3.13.1-1 +- Update to 3.13.1 + +* Fri Apr 11 2014 Kalev Lember - 3.12.1-2 +- Rebuild with new metadata. + +* Fri Apr 11 2014 Richard Hughes - 3.12.1-1 +- Update to 3.12.1 + +* Mon Mar 24 2014 Richard Hughes - 3.12.0-1 +- Update to 3.12.0 + +* Thu Mar 20 2014 Richard Hughes - 3.11.92-1 +- Update to 3.11.92 + +* Tue Mar 18 2014 Richard Hughes - 3.11.91-2 +- Rebuild with new metadata. + +* Sat Mar 08 2014 Richard Hughes - 3.11.91-1 +- Update to 3.11.91 + +* Tue Feb 18 2014 Richard Hughes - 3.11.90-1 +- Update to 3.11.90 + +* Mon Feb 03 2014 Richard Hughes - 3.11.5-2 +- Require epiphany-runtime rather than the full application + +* Mon Feb 03 2014 Richard Hughes - 3.11.5-1 +- Update to 3.11.5 + +* Thu Jan 30 2014 Richard Hughes - 3.11.4-3 +- Rebuild for libpackagekit-glib soname bump + +* Wed Jan 22 2014 Richard Hughes - 3.11.4-2 +- Rebuild with metadata that has the correct screenshot url. + +* Thu Jan 16 2014 Richard Hughes - 3.11.4-1 +- Update to 3.11.4 + +* Tue Dec 17 2013 Richard Hughes - 3.11.3-1 +- Update to 3.11.3 + +* Tue Nov 19 2013 Richard Hughes - 3.11.2-1 +- Update to 3.11.2 + +* Tue Oct 29 2013 Richard Hughes - 3.11.1-1 +- Update to 3.11.1 +- Add a gnome shell search provider +- Add a module to submit the user rating to the fedora-tagger web service +- Add support for 'missing' codecs that we know exist but we can't install +- Add support for epiphany web applications +- Handle offline installation sensibly +- Save the user rating if the user clicks the rating stars +- Show a modal error message if install or remove actions failed +- Show a star rating on the application details page +- Show font screenshots +- Show more detailed version numbers when required +- Show screenshots to each application + +* Wed Sep 25 2013 Richard Hughes 3.10.0-1 +- New upstream release. +- New metadata for fedora, updates and updates-testing +- Add a plugin to query the PackageKit prepared-update file directly +- Do not clear the offline-update trigger if rebooting succeeded +- Do not load incompatible projects when parsing AppStream data +- Lots of updated translations +- Show the window right away when starting + +* Fri Sep 13 2013 Richard Hughes 3.9.3-1 +- New upstream release. +- Lots of new and fixed UI and updated metadata for Fedora 20 + +* Tue Sep 03 2013 Richard Hughes 3.9.2-1 +- New upstream release. +- Allow stock items in the AppStream XML +- Extract the AppStream URL and description from the XML +- Only present the window when the overview is complete +- Return the subcategories sorted by name + +* Mon Sep 02 2013 Richard Hughes 3.9.1-1 +- New upstream release which is a technical preview for the alpha. + +* Sun Sep 01 2013 Richard Hughes 0.1-3 +- Use buildroot not RPM_BUILD_ROOT +- Own all gnome-software directories +- Drop gtk-update-icon-cache requires and the mime database functionality + +* Thu Aug 29 2013 Richard Hughes 0.1-2 +- Add call to desktop-file-validate and fix other review comments. + +* Wed Aug 28 2013 Richard Hughes 0.1-1 +- First release for Fedora package review + diff --git a/sources b/sources new file mode 100644 index 0000000..eb71b10 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +6db44b62c2e764df2832fbeaff660ef4 gnome-software-45.3.tar.xz -- cgit v1.2.3