diff --git a/mate-system-monitor-1.20.2.tar.xz b/mate-system-monitor-1.20.2.tar.xz deleted file mode 100644 index f47f59a..0000000 --- a/mate-system-monitor-1.20.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1627755fcba3f8707ffea124049d0aaec706d87a67a006b6afacfeae8680da38 -size 2190260 diff --git a/mate-system-monitor-1.22.0.tar.xz b/mate-system-monitor-1.22.0.tar.xz new file mode 100644 index 0000000..7357e04 --- /dev/null +++ b/mate-system-monitor-1.22.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3d9964dba1411ff80f57e5903078dce96b2165b8acfa715d2923eeba63b14067 +size 2190688 diff --git a/mate-system-monitor-gtk-3.20.patch b/mate-system-monitor-gtk-3.20.patch index 9cf4d5a..73dd150 100644 --- a/mate-system-monitor-gtk-3.20.patch +++ b/mate-system-monitor-gtk-3.20.patch @@ -14,3 +14,30 @@ GTKMM_REQUIRED=3.8.1 LIBWNCK_REQUIRED=3.0.0 LIBXML_REQUIRED=2.0 +--- a/src/interface.cpp ++++ b/src/interface.cpp +@@ -758,7 +758,24 @@ create_main_window (ProcData *procdata) + void + do_popup_menu (ProcData *procdata, GdkEventButton *event) + { ++#if GTK_CHECK_VERSION (3, 22, 0) + gtk_menu_popup_at_pointer (GTK_MENU (procdata->popup_menu), NULL); ++#else ++ guint button; ++ guint32 event_time; ++ ++ if (event != NULL) { ++ button = event->button; ++ event_time = event->time; ++ } else { ++ button = 0; ++ event_time = GDK_CURRENT_TIME; ++ } ++ ++ gtk_menu_popup (GTK_MENU (procdata->popup_menu), ++ NULL, NULL, NULL, NULL, ++ button, event_time); ++#endif + } + + void diff --git a/mate-system-monitor.changes b/mate-system-monitor.changes index 2bd6134..2a7a46b 100644 --- a/mate-system-monitor.changes +++ b/mate-system-monitor.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Tue Mar 5 15:19:33 UTC 2019 - sor.alexei@meowr.ru + +- Update to version 1.22.0: + * interface: Avoid deprecated gtk_menu_popup. + * Avoid compile warning for g_type_class_add_private. + * Avoid deprecated GtkStock. + * Ensure proper translation of the about dialogue title. + * Licence text in the About dialogue. + * Make translatable the copyright in the about dialogue. + * Help - Priority preset values, including custom value. + * procman: Avoid deprecated g_settings_list_keys. + * Update translations. +- Rebase mate-system-monitor-gtk-3.20.patch. + ------------------------------------------------------------------- Mon Dec 24 15:02:12 UTC 2018 - sor.alexei@meowr.ru diff --git a/mate-system-monitor.spec b/mate-system-monitor.spec index f93fe07..e31bf32 100644 --- a/mate-system-monitor.spec +++ b/mate-system-monitor.spec @@ -1,7 +1,7 @@ # # spec file for package mate-system-monitor # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,14 +16,14 @@ # -%define _version 1.20 +%define _version 1.22 Name: mate-system-monitor -Version: 1.20.2 +Version: 1.22.0 Release: 0 Summary: MATE Desktop system monitor License: GPL-2.0-or-later Group: System/GUI/Other -Url: https://mate-desktop.org/ +URL: https://mate-desktop.org/ Source: https://pub.mate-desktop.org/releases/%{_version}/%{name}-%{version}.tar.xz # PATCH-FIX-OPENSUSE mate-system-monitor-xdgsu.patch sor.alexei@meowr.ru -- Use xdg-su instead of gksu. Patch0: mate-system-monitor-xdgsu.patch