diff --git a/SOURCES/0005-Drop-Synchronize.patch b/SOURCES/0005-Drop-Synchronize.patch new file mode 100644 index 0000000..24fa5a3 --- /dev/null +++ b/SOURCES/0005-Drop-Synchronize.patch @@ -0,0 +1,41 @@ +From c8695c01336b370c2a3eda5c7c87c395291c7ef6 Mon Sep 17 00:00:00 2001 +From: tigro +Date: Mon, 5 Feb 2024 15:01:31 +0300 +Subject: [PATCH] Drop Synchronize + +--- + shell/menu.c | 5 ----- + shell/syncmanager.c | 1 - + 2 files changed, 6 deletions(-) + +diff --git a/shell/menu.c b/shell/menu.c +index dee3aa4..9a0c2a4 100644 +--- a/shell/menu.c ++++ b/shell/menu.c +@@ -52,11 +52,6 @@ static GtkActionEntry entries[] = { + N_("Generates a report with detailed system information"), /* tooltip */ + G_CALLBACK(cb_generate_report)}, + +- {"SyncManagerAction", HI_STOCK_SYNC_MENU, +- N_("Synchronize"), NULL, +- N_("Send benchmark results and receive updated data from the network"), +- G_CALLBACK(cb_sync_manager)}, +- + {"OpenAction", "_Open", + N_("_Open..."), NULL, + NULL, +diff --git a/shell/syncmanager.c b/shell/syncmanager.c +index c5f0b98..dfde212 100644 +--- a/shell/syncmanager.c ++++ b/shell/syncmanager.c +@@ -513,7 +513,6 @@ static SyncDialog *sync_dialog_new(GtkWidget *parent) + + dialog = gtk_dialog_new(); + gtk_window_set_transient_for(GTK_WINDOW(dialog), GTK_WINDOW(parent)); +- gtk_window_set_title(GTK_WINDOW(dialog), _("Synchronize")); + gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE); + gtk_window_set_icon(GTK_WINDOW(dialog), + icon_cache_get_pixbuf("syncmanager.png")); +-- +2.43.0 + diff --git a/SPECS/hardinfo.spec b/SPECS/hardinfo.spec index 78d63f3..aa20764 100644 --- a/SPECS/hardinfo.spec +++ b/SPECS/hardinfo.spec @@ -3,7 +3,7 @@ Name: hardinfo Version: 0.6 -Release: 1.20230524git%{shorthash}%{?dist}.inferit.9 +Release: 1.20230524git%{shorthash}%{?dist}.inferit.10 Summary: System Profiler and Benchmark License: GPLv2 @@ -16,6 +16,7 @@ Patch1: 0001-Remove-annoyng-window-about-loading-of-needed-librar.patch Patch2: 0002-vendor.ids-Added-MSVSphere-OS.patch Patch3: 0003-Fix-segfault-when-info-about-block-storage-is-absent.patch Patch4: 0004-Drop-Vendor.patch +Patch5: 0005-Drop-Synchronize.patch BuildRequires: cmake BuildRequires: desktop-file-utils @@ -79,6 +80,9 @@ install -m644 %{SOURCE3} \ %{_datadir}/polkit-1/actions/org.freedesktop.pkexec.hardinfo.policy %changelog +* Mon Feb 05 2024 Arkady L. Shane - 0.6-1.20230524git45fa969.inferit.10 +- Drop Synchronize + * Tue Dec 26 2023 Arkady L. Shane - 0.6-2.20230524git45fa969.inferit.9 - Drop URLs for MSVSphere