Update to 46.0

Resolves: RHEL-30227
This commit is contained in:
Tomas Popela 2024-11-21 12:46:00 +01:00
parent f82759cd11
commit 4a3ddcc051
4 changed files with 8 additions and 42 deletions

1
.gitignore vendored
View File

@ -133,3 +133,4 @@ gnome-system-monitor-2.28.1.tar.bz2
/gnome-system-monitor-45.0.1.tar.xz
/gnome-system-monitor-45.0.2.tar.xz
/gnome-system-monitor-46.alpha.tar.xz
/gnome-system-monitor-46.0.tar.xz

View File

@ -1,36 +0,0 @@
From 07654d6c5f77631b3d77eafc8eafc9c4238a9ba3 Mon Sep 17 00:00:00 2001
From: David King <amigadave@amigadave.com>
Date: Mon, 22 Jan 2024 17:57:00 +0000
Subject: [PATCH] Fix incompatible pointer type warnings
Verified against GTK documentation.
---
src/legacy/gsm_color_button.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/legacy/gsm_color_button.c b/src/legacy/gsm_color_button.c
index 367a29ac..1bee747f 100644
--- a/src/legacy/gsm_color_button.c
+++ b/src/legacy/gsm_color_button.c
@@ -369,7 +369,8 @@ gsm_color_button_measure (GtkWidget*,
}
static void
-gsm_color_button_state_flags_changed (GtkWidget *self)
+gsm_color_button_state_flags_changed (GtkWidget *self,
+ GtkStateFlags)
{
gtk_widget_queue_draw (self);
}
@@ -422,7 +423,7 @@ gsm_color_button_released (GtkGestureClick*,
GtkColorChooserDialog *cc_dialog;
GtkWidget *parent;
- parent = gtk_widget_get_root (GTK_WIDGET (color_button));
+ parent = GTK_WIDGET (gtk_widget_get_root (GTK_WIDGET (color_button)));
cc_dialog = GTK_COLOR_CHOOSER_DIALOG (gtk_color_chooser_dialog_new (priv->title, GTK_WINDOW (parent)));
--
2.43.0

View File

@ -5,15 +5,13 @@
%global tarball_version %%(echo %{version} | tr '~' '.')
Name: gnome-system-monitor
Version: 46~alpha
Release: 3%{?dist}
Version: 46.0
Release: 1%{?dist}
Summary: Process and resource monitor
License: GPL-2.0-or-later
URL: https://wiki.gnome.org/Apps/SystemMonitor
Source0: https://download.gnome.org/sources/%{name}/46/%{name}-%{tarball_version}.tar.xz
# https://gitlab.gnome.org/GNOME/gnome-system-monitor/-/merge_requests/121
Patch: gnome-system-monitor-46.alpha-pointer-type-error.patch
BuildRequires: gcc
BuildRequires: gcc-c++
@ -68,11 +66,14 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gnome-system-monit
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.SystemMonitor*.svg
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.SystemMonitor-symbolic.svg
%{_datadir}/icons/hicolor/symbolic/apps/speedometer-symbolic.svg
%{_metainfodir}/gnome-system-monitor.appdata.xml
%{_metainfodir}/org.gnome.SystemMonitor.appdata.xml
%{_datadir}/polkit-1/actions/org.gnome.gnome-system-monitor.policy
%{_libexecdir}/gnome-system-monitor/
%changelog
* Thu Nov 21 2024 Tomas Popela <tpopela@redhat.com> - 46.0-1
- Update to 46.0
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 46~alpha-3
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018

View File

@ -1 +1 @@
SHA512 (gnome-system-monitor-46.alpha.tar.xz) = 0011af1bfa4912f29b4415d85791e0d32a35ec6e91b17d6d78378676420232e230b8bf51ad9d768ac20875e78c08c4f30da40275a78580d47abf99b332f35064
SHA512 (gnome-system-monitor-46.0.tar.xz) = 2bba46bf5f03d4b8ad6e45e42b2d7ce21859037a1bd386ea17276d10c0eba506c718ab5bc4c203823cabd830bdaac3d61753dbb3b364eaf4dfea0031fea0ac27