Hello community,
here is the log from the commit of package cinnamon-settings-daemon for
openSUSE:Factory checked in at 2019-07-22 12:21:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cinnamon-settings-daemon (Old)
and /work/SRC/openSUSE:Factory/.cinnamon-settings-daemon.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cinnamon-settings-daemon"
Mon Jul 22 12:21:03 2019 rev:20 rq:717338 version:4.2.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/cinnamon-settings-daemon/cinnamon-settings-daemon.changes
2019-07-18 15:19:28.264154227 +0200
+++
/work/SRC/openSUSE:Factory/.cinnamon-settings-daemon.new.4126/cinnamon-settings-daemon.changes
2019-07-22 12:21:04.623653557 +0200
@@ -1,0 +2,9 @@
+Sun Jul 21 06:12:01 UTC 2019 - Marguerite Su <[email protected]>
+
+- Update to version 4.2.1
+ * csd-power-manager.c: Define UP_DEVICE_LEVEL_NONE for
+ ourselves if it's missing.
+ * csd-power-manager.c: Use gint instead of an enum type
+ for compatibility with < 0.99.0 upower.
+
+-------------------------------------------------------------------
Old:
----
cinnamon-settings-daemon-4.2.0.tar.gz
New:
----
cinnamon-settings-daemon-4.2.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ cinnamon-settings-daemon.spec ++++++
--- /var/tmp/diff_new_pack.evQGe2/_old 2019-07-22 12:21:05.151653419 +0200
+++ /var/tmp/diff_new_pack.evQGe2/_new 2019-07-22 12:21:05.151653419 +0200
@@ -1,7 +1,7 @@
#
# spec file for package cinnamon-settings-daemon
#
-# 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
@@ -17,7 +17,7 @@
Name: cinnamon-settings-daemon
-Version: 4.2.0
+Version: 4.2.1
Release: 0
Summary: The settings Daemon for the Cinnamon Desktop
License: GPL-2.0-or-later AND LGPL-2.1-only
++++++ cinnamon-settings-daemon-4.2.0.tar.gz ->
cinnamon-settings-daemon-4.2.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cinnamon-settings-daemon-4.2.0/configure.ac
new/cinnamon-settings-daemon-4.2.1/configure.ac
--- old/cinnamon-settings-daemon-4.2.0/configure.ac 2019-06-23
15:38:15.000000000 +0200
+++ new/cinnamon-settings-daemon-4.2.1/configure.ac 2019-07-10
11:53:55.000000000 +0200
@@ -1,7 +1,7 @@
AC_PREREQ([2.60])
AC_INIT([cinnamon-settings-daemon],
- [4.2.0],
+ [4.2.1],
[https://github.com/linuxmint/cinnamon-settings-daemon/issues])
AC_CONFIG_MACRO_DIR([m4])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/cinnamon-settings-daemon-4.2.0/debian/changelog
new/cinnamon-settings-daemon-4.2.1/debian/changelog
--- old/cinnamon-settings-daemon-4.2.0/debian/changelog 2019-06-23
15:38:15.000000000 +0200
+++ new/cinnamon-settings-daemon-4.2.1/debian/changelog 2019-07-10
11:53:55.000000000 +0200
@@ -1,3 +1,11 @@
+cinnamon-settings-daemon (4.2.1) tina; urgency=medium
+
+ [ Michael Webster ]
+ * csd-power-manager.c: Define UP_DEVICE_LEVEL_NONE for ourselves if it's
missing. UpDeviceLevel was new in 0.99.0.
+ * csd-power-manager.c: Use gint instead of an enum type for compatibility
with < 0.99.0 upower.
+
+ -- Clement Lefebvre <[email protected]> Wed, 10 Jul 2019 11:53:38 +0200
+
cinnamon-settings-daemon (4.2.0) tina; urgency=medium
[ montagdude ]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/cinnamon-settings-daemon-4.2.0/plugins/power/csd-power-manager.c
new/cinnamon-settings-daemon-4.2.1/plugins/power/csd-power-manager.c
--- old/cinnamon-settings-daemon-4.2.0/plugins/power/csd-power-manager.c
2019-06-23 15:38:15.000000000 +0200
+++ new/cinnamon-settings-daemon-4.2.1/plugins/power/csd-power-manager.c
2019-07-10 11:53:55.000000000 +0200
@@ -4414,6 +4414,10 @@
G_OBJECT_CLASS (csd_power_manager_parent_class)->finalize (object);
}
+#if !UP_CHECK_VERSION(0,99,0)
+#define UP_DEVICE_LEVEL_NONE 1
+#endif
+
static GVariant *
device_to_variant_blob (UpDevice *device)
{
@@ -4426,7 +4430,7 @@
GVariant *value;
UpDeviceKind kind;
UpDeviceState state;
- UpDeviceLevel battery_level;
+ gint battery_level;
icon = gpm_upower_get_device_icon (device, TRUE);
device_icon = g_icon_to_string (icon);