Hello community,
here is the log from the commit of package mate-power-manager for
openSUSE:Leap:15.2 checked in at 2020-03-06 12:39:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/mate-power-manager (Old)
and /work/SRC/openSUSE:Leap:15.2/.mate-power-manager.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mate-power-manager"
Fri Mar 6 12:39:40 2020 rev:23 rq:781505 version:1.24.0
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/mate-power-manager/mate-power-manager.changes
2020-01-15 15:28:30.134679847 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.mate-power-manager.new.26092/mate-power-manager.changes
2020-03-06 12:42:15.162792779 +0100
@@ -1,0 +2,74 @@
+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.
+
+-------------------------------------------------------------------
+Sun May 12 18:13:56 UTC 2019 - Alexei Sorokin <[email protected]>
+
+- Update to version 1.22.1:
+ * Help: Remove About section.
+ * Add conf option to disable warnings for low mouse power.
+ * Help: Update copyright.
+ * Help: Use XInclude instead of ENTITY for legal.xml.
+ * Update translations.
+
+-------------------------------------------------------------------
+Tue Mar 5 15:19:33 UTC 2019 - [email protected]
+
+- Update to version 1.22.0:
+ * gpm-control: Avoid deprecated "g_settings_list_schemas".
+ * media-keys: Always round the render coordinates for media
+ icons.
+ * media-keys: Tweak the OSD's bright bar position.
+ * osd-window: Make the window smaller.
+ * media-keys: Make icon smaller in OSD.
+ * media-keys: Use constant for icon size in OSD.
+ * Fix spelling and grammar mistakes.
+ * gpm-kbd-backlight: Replace deprecated GdkDeviceManager.
+ * gpm-backlight: Replace deprecated GdkDeviceManager.
+ * gpm-brightness: Replace deprecated Gdk functions.
+ * Use libtool generated during build instead of external one.
+- Rebase mate-power-manager-gtk-3.20.patch.
+
+-------------------------------------------------------------------
+Sat Dec 22 20:48:48 UTC 2018 - [email protected]
+
+- Update to version 1.20.3:
+ * Disable deprecation warnings for distcheck.
+ * Use make functions for HELP_LINGUAS.
+ * Add m-p-m help to transifex config.
+ * gpm-button: Replace deprecated Gdk functions.
+ * Update translations.
+
+-------------------------------------------------------------------
+Sat Jun 16 15:48:41 UTC 2018 - [email protected]
+
+- Update to version 1.20.2:
+ * inhibit: Always scale icon to match panel size.
+ * Inhibit Applet: Fix excessive CPU use.
+ * Update translations.
+
+-------------------------------------------------------------------
Old:
----
mate-power-manager-1.20.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.o9tFNs/_old 2020-03-06 12:42:16.706793717 +0100
+++ /var/tmp/diff_new_pack.o9tFNs/_new 2020-03-06 12:42:16.742793739 +0100
@@ -1,7 +1,7 @@
#
# spec file for package mate-power-manager
#
-# Copyright (c) 2018 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
@@ -12,30 +12,30 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
-%define _version 1.20
+%define _version 1.24
Name: mate-power-manager
-Version: 1.20.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:
http://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
+URL: https://mate-desktop.org/
+Source:
https://pub.mate-desktop.org/releases/%{_version}/%{name}-%{version}.tar.xz
+# 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)
@@ -59,38 +59,21 @@
%lang_package
%prep
-%setup -q
-%patch0 -p1
+%autosetup -p1
%build
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
-%if 0%{?suse_version} >= 1500
%license COPYING
-%else
-%doc COPYING
-%endif
%doc AUTHORS NEWS README
%{_sysconfdir}/xdg/autostart/mate-power-manager.desktop
%{_bindir}/mate-power-manager
++++++ mate-power-manager-1.20.1.tar.xz -> mate-power-manager-1.24.0.tar.xz
++++++
++++ 627877 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++) {