Hello community,

here is the log from the commit of package mate-power-manager for 
openSUSE:Factory checked in at 2020-03-03 10:16:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mate-power-manager (Old)
 and      /work/SRC/openSUSE:Factory/.mate-power-manager.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mate-power-manager"

Tue Mar  3 10:16:52 2020 rev:25 rq:780535 version:1.24.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/mate-power-manager/mate-power-manager.changes    
2019-06-19 20:57:57.869958242 +0200
+++ 
/work/SRC/openSUSE:Factory/.mate-power-manager.new.26092/mate-power-manager.changes
 2020-03-03 10:17:55.754860026 +0100
@@ -1,0 +2,28 @@
+Wed Feb 26 19:38:40 UTC 2020 - Alexei Sorokin <[email protected]>
+
+- Update to version 1.24.0 (changes since 1.22.1):
+  * Use --without-keyring for make distcheck.
+  * brightness-applet: Use GdkSeat operations.
+  * Set compiler debug flags using MATE_DEBUG_CHECK.
+  * Use WARN_CFLAGS which are only set with
+    --enable-compiler-warnings.
+  * Drop obsolete version checks for upower.
+  * Require upower-0.99.8.
+  * Use up_client_get_devices2().
+  * Use gresources for gpm-prefs.ui and gpm-statistics.ui.
+  * Avoid g_type_class_add_private.
+  * Simplify the installation process of the icons.
+  * Remove unused UI file.
+  * prefs: Fix mnemonic relationships.
+  * gpm-upower: Fix some build warnings.
+  * Add scroll interface tabs with mouse wheel.
+  * Migrate from intltool to gettext.
+  * icons: Add higher resolution icons.
+  * Aoid redundant redeclarations.
+  * Update translations.
+- Drop support for old openSUSE versions.
+- Remove mate-power-manager-gtk-3.20.patch.
+- Add mate-power-manager-upower-0.99.7.patch: Restore UPower 0.99.7
+  support.
+
+-------------------------------------------------------------------

Old:
----
  mate-power-manager-1.22.1.tar.xz
  mate-power-manager-gtk-3.20.patch

New:
----
  mate-power-manager-1.24.0.tar.xz
  mate-power-manager-upower-0.99.7.patch

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

Other differences:
------------------
++++++ mate-power-manager.spec ++++++
--- /var/tmp/diff_new_pack.XwWSec/_old  2020-03-03 10:17:57.722864098 +0100
+++ /var/tmp/diff_new_pack.XwWSec/_new  2020-03-03 10:17:57.726864106 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mate-power-manager
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,26 +16,26 @@
 #
 
 
-%define _version 1.22
+%define _version 1.24
 Name:           mate-power-manager
-Version:        1.22.1
+Version:        1.24.0
 Release:        0
 Summary:        MATE Desktop UPower policy management
 License:        GPL-2.0-only
-Group:          System/GUI/Other
 URL:            https://mate-desktop.org/
 Source:         
https://pub.mate-desktop.org/releases/%{_version}/%{name}-%{version}.tar.xz
-# PATCH-FEATURE-OPENSUSE mate-power-manager-gtk-3.20.patch -- Restore GLib 
2.48 and GTK+ 3.20 support.
-Patch0:         mate-power-manager-gtk-3.20.patch
+# PATCH-FEATURE-OPENSUSE mate-power-manager-upower-0.99.7.patch -- Restore 
UPower 0.99.7 support.
+Patch0:         mate-power-manager-upower-0.99.7.patch
 BuildRequires:  fdupes
 BuildRequires:  mate-common >= %{_version}
 BuildRequires:  pkgconfig
+BuildRequires:  polkit-devel
 BuildRequires:  update-desktop-files
 BuildRequires:  yelp-tools
 BuildRequires:  pkgconfig(dbus-glib-1)
-BuildRequires:  pkgconfig(glib-2.0) >= 2.48
+BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(gnome-keyring-1)
-BuildRequires:  pkgconfig(gtk+-3.0) >= 3.20
+BuildRequires:  pkgconfig(gtk+-3.0)
 BuildRequires:  pkgconfig(libcanberra-gtk3)
 BuildRequires:  pkgconfig(libmatepanelapplet-4.0) >= %{_version}
 BuildRequires:  pkgconfig(libnotify)
@@ -65,25 +65,13 @@
 NOCONFIGURE=1 mate-autogen
 %configure \
   --libexecdir=%{_libexecdir}/%{name}
-make %{?_smp_mflags} V=1
+%make_build
 
 %install
 %make_install
 %find_lang %{name} %{?no_lang_C}
 %fdupes %{buildroot}%{_datadir}/
 
-%if 0%{?suse_version} < 1500
-%post
-%desktop_database_post
-%icon_theme_cache_post
-%glib2_gsettings_schema_post
-
-%postun
-%desktop_database_postun
-%icon_theme_cache_postun
-%glib2_gsettings_schema_postun
-%endif
-
 %files
 %license COPYING
 %doc AUTHORS NEWS README

++++++ mate-power-manager-1.22.1.tar.xz -> mate-power-manager-1.24.0.tar.xz 
++++++
++++ 425766 lines of diff (skipped)

++++++ mate-power-manager-upower-0.99.7.patch ++++++
--- a/configure.ac
+++ b/configure.ac
@@ -77,7 +77,7 @@ LIBPANEL_REQUIRED=1.17.0
 XRANDR_REQUIRED=1.3.0
 XPROTO_REQUIRED=7.0.15
 CANBERRA_REQUIRED=0.10
-UPOWER_REQUIRED=0.99.8
+UPOWER_REQUIRED=0.99.7
 
 dnl ---------------------------------------------------------------------------
 dnl - Check library dependencies
--- a/src/gpm-engine.c
+++ b/src/gpm-engine.c
@@ -536,7 +536,12 @@ gpm_engine_coldplug_idle_cb (GpmEngine *
        gpm_engine_recalculate_state (engine);
 
        /* add to database */
+#if UP_CHECK_VERSION(0, 99, 8)
        array = up_client_get_devices2 (engine->priv->client);
+#else
+       array = up_client_get_devices (engine->priv->client);
+       g_ptr_array_set_free_func (array, (GDestroyNotify) g_object_unref);
+#endif
        for (i=0;i<array->len;i++) {
                device = g_ptr_array_index (array, i);
                gpm_engine_device_add (engine, device);
--- a/src/gpm-prefs-core.c
+++ b/src/gpm-prefs-core.c
@@ -807,7 +807,12 @@ gpm_prefs_init (GpmPrefs *prefs)
        brightness = gpm_brightness_new ();
        prefs->priv->has_lcd = gpm_brightness_has_hw (brightness);
        g_object_unref (brightness);
+#if UP_CHECK_VERSION(0, 99, 8)
        devices = up_client_get_devices2 (prefs->priv->client);
+#else
+       devices = up_client_get_devices (prefs->priv->client);
+       g_ptr_array_set_free_func (devices, (GDestroyNotify) g_object_unref);
+#endif
        for (i=0; i<devices->len; i++) {
                device = g_ptr_array_index (devices, i);
                g_object_get (device,
--- a/src/gpm-statistics.c
+++ b/src/gpm-statistics.c
@@ -1764,7 +1764,12 @@ main (int argc, char *argv[])
 
        wakeups = up_wakeups_new ();
        g_signal_connect (wakeups, "data-changed", G_CALLBACK 
(gpm_stats_data_changed_cb), NULL);
+#if UP_CHECK_VERSION(0, 99, 8)
        devices = up_client_get_devices2 (client);
+#else
+       devices = up_client_get_devices (client);
+       g_ptr_array_set_free_func (devices, (GDestroyNotify) g_object_unref);
+#endif
 
        /* add devices in visually pleasing order */
        for (j=0; j<UP_DEVICE_KIND_LAST; j++) {

Reply via email to