Hello community,

here is the log from the commit of package mate-sensors-applet for 
openSUSE:Factory checked in at 2018-03-20 21:57:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mate-sensors-applet (Old)
 and      /work/SRC/openSUSE:Factory/.mate-sensors-applet.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mate-sensors-applet"

Tue Mar 20 21:57:31 2018 rev:17 rq:586581 version:1.20.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/mate-sensors-applet/mate-sensors-applet.changes  
2017-11-09 13:57:12.240412602 +0100
+++ 
/work/SRC/openSUSE:Factory/.mate-sensors-applet.new/mate-sensors-applet.changes 
    2018-03-20 21:58:03.374658909 +0100
@@ -1,0 +2,29 @@
+Fri Mar  9 19:10:07 UTC 2018 - [email protected]
+
+- Update to version 1.20.1 (changes since 1.18.3):
+  * Require GTK+ 3.22 and GLib 2.50.
+  * sensor-applet.c: Replace deprecated GtkMisc.
+  * sensor-applet.c: Avoid deprecated GtkStock.
+  * sensor-config-dialog: Avoid deprecated GtkAlignment.
+  * sensor-config-dialog: Don't use deprecated GtkColorButton.
+  * prefs-dialog: Avoid deprecated GtkAlignment.
+  * prefs-dialog: Avoid deprecated GTK_VBUTTON_BOX,
+    GTK_TYPE_{H,V}BOX.
+  * Stop jumping applet as numbers change.
+  * Fix save order of sensors.
+  * Update hide temperature units.
+  * Remove code duplication.
+  * build: Enable udisks2 plugin again.
+  * Remove deprecated udisks plugin.
+  * udisks plugin: Fix memory management for GValue variables.
+  * Remove the deprecated eee plugin.
+  * Fix pop up shower on removed HDD.
+  * Fix build warnings.
+  * prefs-dialog: Drop unneeded space in the General tab.
+  * prefs-dialog: Set a min_width for enable_column.
+  * prefs-dialog: Use hscrollbar-policy GTK_POLICY_NEVER.
+  * Update translations.
+- Add mate-sensors-applet-gtk-3.20.patch: Restore GLib 2.48 and
+  GTK+ 3.20 support.
+
+-------------------------------------------------------------------

Old:
----
  mate-sensors-applet-1.18.3.tar.xz

New:
----
  mate-sensors-applet-1.20.1.tar.xz
  mate-sensors-applet-gtk-3.20.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mate-sensors-applet.spec ++++++
--- /var/tmp/diff_new_pack.nwc4Gc/_old  2018-03-20 21:58:04.098632842 +0100
+++ /var/tmp/diff_new_pack.nwc4Gc/_new  2018-03-20 21:58:04.098632842 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mate-sensors-applet
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -18,24 +18,29 @@
 
 %define soname  libmate-sensors-applet-plugin
 %define sover   0
-%define _version 1.18
+%define _version 1.20
 Name:           mate-sensors-applet
-Version:        1.18.3
+Version:        1.20.1
 Release:        0
 Summary:        MATE Desktop panel applet to display sensor readings
-License:        GPL-2.0
+License:        GPL-2.0-or-later
 Group:          System/GUI/Other
 Url:            https://mate-desktop.org/
 Source:         
http://pub.mate-desktop.org/releases/%{_version}/%{name}-%{version}.tar.xz
 Source1:        baselibs.conf
+# PATCH-FEATURE-OPENSUSE mate-sensors-applet-gtk-3.20.patch -- Restore GLib 
2.48 and GTK+ 3.20 support.
+Patch0:         mate-sensors-applet-gtk-3.20.patch
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  itstool
 BuildRequires:  libsensors4-devel
 BuildRequires:  mate-common >= %{_version}
 BuildRequires:  pkgconfig
 BuildRequires:  yelp-tools
+BuildRequires:  pkgconfig(cairo)
 BuildRequires:  pkgconfig(dbus-glib-1)
-BuildRequires:  pkgconfig(gtk+-3.0) >= 3.14
+BuildRequires:  pkgconfig(gio-2.0) >= 2.48
+BuildRequires:  pkgconfig(glib-2.0) >= 2.48
+BuildRequires:  pkgconfig(gtk+-3.0) >= 3.20
 BuildRequires:  pkgconfig(libatasmart)
 BuildRequires:  pkgconfig(libmatepanelapplet-4.0) >= %{_version}
 BuildRequires:  pkgconfig(libnotify)
@@ -88,6 +93,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 export LDFLAGS='-ldl'
@@ -102,7 +108,11 @@
 %find_lang %{name} %{?no_lang_C}
 find %{buildroot} -type f -name "*.la" -delete -print
 
-%if 0%{?suse_version} <= 1320
+%post -n %{soname}%{sover} -p /sbin/ldconfig
+
+%postun -n %{soname}%{sover} -p /sbin/ldconfig
+
+%if 0%{?suse_version} < 1500
 %post -n mate-applet-sensors
 %icon_theme_cache_post
 
@@ -110,12 +120,13 @@
 %icon_theme_cache_postun
 %endif
 
-%post -n %{soname}%{sover} -p /sbin/ldconfig
-
-%postun -n %{soname}%{sover} -p /sbin/ldconfig
-
 %files -n mate-applet-sensors
-%doc COPYING NEWS README
+%if 0%{?suse_version} >= 1500
+%license COPYING
+%else
+%doc COPYING
+%endif
+%doc NEWS README
 %{_libexecdir}/%{name}/
 %{_libdir}/%{name}/
 %{_datadir}/%{name}/

++++++ mate-sensors-applet-1.18.3.tar.xz -> mate-sensors-applet-1.20.1.tar.xz 
++++++
++++ 70973 lines of diff (skipped)

++++++ mate-sensors-applet-gtk-3.20.patch ++++++
--- a/configure.ac
+++ b/configure.ac
@@ -47,8 +47,8 @@ AC_CHECK_HEADERS(
        dlfcn.h
 )   
 
-GLIB_REQUIRED=2.50.0
-GTK_REQUIRED=3.22.0
+GLIB_REQUIRED=2.48.0
+GTK_REQUIRED=3.20.0
 LIBPANEL_REQUIRED=1.17.0
 LIBNOTIFY_REQUIRED=0.7.0
 LIBCAIRO_REQUIRED=1.0.4
--- a/sensors-applet/prefs-dialog.c
+++ b/sensors-applet/prefs-dialog.c
@@ -71,7 +71,11 @@ void prefs_dialog_response(GtkDialog *pr
                            ((current_page == 1) ?
                         "sensors-applet-sensors" :
                         NULL)));
+#if GTK_CHECK_VERSION(3, 22, 0)
             gtk_show_uri_on_window(NULL, uri, gtk_get_current_event_time(), 
&error);
+#else
+            gtk_show_uri(gdk_screen_get_default(), uri, 
gtk_get_current_event_time(), &error);
+#endif
             g_free(uri);
 
             if (error) {
--- a/sensors-applet/sensor-config-dialog.c
+++ b/sensors-applet/sensor-config-dialog.c
@@ -81,10 +81,17 @@ static void sensor_config_dialog_respons
     switch (response) {
         case GTK_RESPONSE_HELP:
             g_debug("loading help in config dialog");
+#if GTK_CHECK_VERSION(3, 22, 0)
             gtk_show_uri_on_window(NULL,
                          
"help:mate-sensors-applet/sensors-applet-sensors#sensors-applet-sensor-config-dialog",
                          gtk_get_current_event_time(),
                          &error);
+#else
+            gtk_show_uri(gdk_screen_get_default(),
+                         
"help:mate-sensors-applet/sensors-applet-sensors#sensors-applet-sensor-config-dialog",
+                         gtk_get_current_event_time(),
+                         &error);
+#endif
 
             if (error) {
                     g_debug("Could not open help document: %s 
",error->message);
--- a/sensors-applet/sensors-applet.c
+++ b/sensors-applet/sensors-applet.c
@@ -79,7 +79,11 @@ static void help_cb(GtkAction *action, g
 
     GError *error = NULL;
 
+#if GTK_CHECK_VERSION(3, 22, 0)
     gtk_show_uri_on_window(NULL, "help:mate-sensors-applet",
+#else
+    gtk_show_uri(gdk_screen_get_default(), "help:mate-sensors-applet",
+#endif
 
         gtk_get_current_event_time(),
         &error);

Reply via email to