commit upower for openSUSE:Factory

2020-05-04 Thread root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2020-05-04 18:37:57

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new.2738 (New)


Package is "upower"

Mon May  4 18:37:57 2020 rev:73 rq:799914 version:0.99.11

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2020-05-02 
22:15:45.244337029 +0200
+++ /work/SRC/openSUSE:Factory/.upower.new.2738/upower.changes  2020-05-04 
18:38:56.468855997 +0200
@@ -6 +6 @@
-  jsc#SLE-12322
+  jsc#SLE-12130



Other differences:
--



commit upower for openSUSE:Factory

2020-05-02 Thread root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2020-05-02 22:15:32

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new.2738 (New)


Package is "upower"

Sat May  2 22:15:32 2020 rev:72 rq:799219 version:0.99.11

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2020-01-28 
10:53:44.108930050 +0100
+++ /work/SRC/openSUSE:Factory/.upower.new.2738/upower.changes  2020-05-02 
22:15:45.244337029 +0200
@@ -1,0 +2,7 @@
+Thu Apr 30 11:45:35 UTC 2020 - Thomas Renninger 
+
+- Remove _udevdir SLE12 specifics, this was an old compatibility
+  hack, cmp with changelog entry from Mar 28 2017 - mgo...@suse.com
+  jsc#SLE-12322
+
+---



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.xJ3bZl/_old  2020-05-02 22:15:45.756338102 +0200
+++ /var/tmp/diff_new_pack.xJ3bZl/_new  2020-05-02 22:15:45.760338110 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package upower
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 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,12 +16,6 @@
 #
 
 
-%{!?_udevrulesdir: %global _udevrulesdir %(pkg-config --variable=udevdir 
udev)/rules.d}
-%define systemdutildir %(pkg-config --variable systemdutildir systemd)
-%if !0%{?is_opensuse}
-%define _udevdir %(pkg-config --variable=udevdir udev)
-BuildRequires:  pkgconfig(udev)
-%endif
 Name:   upower
 Version:0.99.11
 Release:0
@@ -51,6 +45,7 @@
 BuildRequires:  pkgconfig(libplist) >= 0.12
 BuildRequires:  pkgconfig(libusb-1.0) >= 1.0.0
 BuildRequires:  pkgconfig(systemd)
+BuildRequires:  pkgconfig(udev)
 %{?systemd_requires}
 
 %description
@@ -151,10 +146,6 @@
 %{_sbindir}/rc%{name}
 %dir %{_libexecdir}/upower
 %{_libexecdir}/upower/upowerd
-%if !0%{?is_opensuse}
-%dir %{_udevdir}
-%dir %{_udevrulesdir}
-%endif
 %{_udevrulesdir}/*.rules
 %{_unitdir}/upower.service
 %{_datadir}/dbus-1/system.d/org.freedesktop.UPower.conf




commit upower for openSUSE:Factory

2020-01-28 Thread root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2020-01-28 10:53:43

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new.26092 (New)


Package is "upower"

Tue Jan 28 10:53:43 2020 rev:71 rq:767497 version:0.99.11

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2019-12-02 
11:27:02.122678608 +0100
+++ /work/SRC/openSUSE:Factory/.upower.new.26092/upower.changes 2020-01-28 
10:53:44.108930050 +0100
@@ -1,0 +2,5 @@
+Sat Jan 25 14:20:46 UTC 2020 - Dominique Leuenberger 
+
+- No longer recommend -lang: supplements are in use
+
+---



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.vv71B1/_old  2020-01-28 10:53:45.836932073 +0100
+++ /var/tmp/diff_new_pack.vv71B1/_new  2020-01-28 10:53:45.840932078 +0100
@@ -51,7 +51,6 @@
 BuildRequires:  pkgconfig(libplist) >= 0.12
 BuildRequires:  pkgconfig(libusb-1.0) >= 1.0.0
 BuildRequires:  pkgconfig(systemd)
-Recommends: %{name}-lang
 %{?systemd_requires}
 
 %description




commit upower for openSUSE:Factory

2019-12-02 Thread root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2019-12-02 11:26:35

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new.4691 (New)


Package is "upower"

Mon Dec  2 11:26:35 2019 rev:70 rq:750505 version:0.99.11

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2019-09-11 
10:25:00.259476434 +0200
+++ /work/SRC/openSUSE:Factory/.upower.new.4691/upower.changes  2019-12-02 
11:27:02.122678608 +0100
@@ -1,0 +2,8 @@
+Thu Nov 21 12:20:06 UTC 2019 - Frederic Crozat 
+
+- Add upower-sle15.patch: disable some systemd hardening,
+  presenting upower to start with SLE15 SP2+ systemd.
+- Switch back to setup/patch macros, autosetup doesn't allow
+  skipping some patches.
+
+---

New:

  upower-sle15.patch



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.yBU9Dl/_old  2019-12-02 11:27:02.626678418 +0100
+++ /var/tmp/diff_new_pack.yBU9Dl/_new  2019-12-02 11:27:02.626678418 +0100
@@ -33,6 +33,8 @@
 Source: %{name}-%{version}.tar.xz
 # PATCH-FEATURE-OPENSUSE upower-hibernate-insteadof-hybridsleep.patch 
boo#985741 dims...@opensuse.org -- Set the system per default to hibernate, not 
hybridsleep
 Patch0: upower-hibernate-insteadof-hybridsleep.patch
+# PATCH-FEATURE-SLE upower-sle15.patch fcro...@suse.com -- Disable some 
hardenings, don't work on SLE15 SP2+
+Patch1: upower-sle15.patch
 
 BuildRequires:  gobject-introspection-devel >= 0.9.9
 BuildRequires:  gtk-doc >= 1.11
@@ -102,7 +104,11 @@
 %lang_package
 
 %prep
-%autosetup -p1
+%setup -q
+%patch0 -p1
+%if 0%{?sle_version}
+%patch1 -p1 
+%endif
 
 %build
 NOCONFIGURE=1 ./autogen.sh

++ upower-sle15.patch ++
diff -up upower/src/upower.service.in.sle15 upower/src/upower.service.in
--- upower/src/upower.service.in.sle15  2019-11-21 13:17:05.087461073 +0100
+++ upower/src/upower.service.in2019-11-21 14:08:28.107317367 +0100
@@ -14,13 +14,13 @@ ProtectSystem=strict
 ProtectKernelTunables=false
 ProtectControlGroups=true
 ReadWritePaths=@historydir@
-StateDirectory=upower
+#StateDirectory=upower
 ProtectHome=true
 PrivateTmp=true
 
 # Network
 # PrivateNetwork=true would block udev's netlink socket
-IPAddressDeny=any
+#IPAddressDeny=any
 RestrictAddressFamilies=AF_UNIX AF_NETLINK
 
 # Execute Mappings
@@ -39,10 +39,10 @@ NoNewPrivileges=true
 CapabilityBoundingSet=
 
 # System call interfaces
-LockPersonality=yes
+#LockPersonality=yes
 SystemCallArchitectures=native
-SystemCallFilter=@system-service
-SystemCallFilter=ioprio_get
+#SystemCallFilter=@system-service
+#SystemCallFilter=ioprio_get
 
 # Namespaces
 PrivateUsers=yes



commit upower for openSUSE:Factory

2019-09-11 Thread root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2019-09-11 10:24:58

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new.7948 (New)


Package is "upower"

Wed Sep 11 10:24:58 2019 rev:69 rq:728160 version:0.99.11

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2019-03-24 
14:56:37.835204412 +0100
+++ /work/SRC/openSUSE:Factory/.upower.new.7948/upower.changes  2019-09-11 
10:25:00.259476434 +0200
@@ -1,0 +2,21 @@
+Tue Sep  3 15:31:25 UTC 2019 - Bjørn Lie 
+
+- Update to version 0.99.11:
+  + New Features:
+- Add code of conduct document.
+- build: Migrate from intltool to gettext.
+- rules: Split off HID++ udev rules.
+- Harden systemd service.
+- Let systemd create /var/lib/upower.
+- Move D-Bus policy file to /usr/share/dbus-1/system.d/.
+  + Bug fixes:
+- Fix endless loop burning 100% CPU on keyboard plugout with
+  external backlight.
+- linux:
+  . Start polling for unknown device batteries too.
+  . Retry to get a battery type if it's unknown.
+  . Don't treat device batteries like laptop batteries.
+- Replace use of G_TYPE_INSTANCE_GET_PRIVATE and
+  g_type_class_add_private().
+
+---

Old:

  upower-0.99.10.obscpio

New:

  upower-0.99.11.obscpio



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.XQMna5/_old  2019-09-11 10:25:01.247476311 +0200
+++ /var/tmp/diff_new_pack.XQMna5/_new  2019-09-11 10:25:01.247476311 +0200
@@ -23,7 +23,7 @@
 BuildRequires:  pkgconfig(udev)
 %endif
 Name:   upower
-Version:0.99.10
+Version:0.99.11
 Release:0
 Summary:Power Device Enumeration Framework
 License:GPL-2.0-or-later
@@ -152,7 +152,7 @@
 %endif
 %{_udevrulesdir}/*.rules
 %{_unitdir}/upower.service
-%config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.UPower.conf
+%{_datadir}/dbus-1/system.d/org.freedesktop.UPower.conf
 %{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.xml
 %{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.Device.xml
 %{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.KbdBacklight.xml

++ _service ++
--- /var/tmp/diff_new_pack.XQMna5/_old  2019-09-11 10:25:01.263476309 +0200
+++ /var/tmp/diff_new_pack.XQMna5/_new  2019-09-11 10:25:01.263476309 +0200
@@ -2,8 +2,8 @@
   
 https://gitlab.freedesktop.org/upower/upower.git
 git
-0.99.10
-UPOWER_0_99_10
+0.99.11
+UPOWER_0_99_11
   
   
 

++ upower-0.99.10.obscpio -> upower-0.99.11.obscpio ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/upower-0.99.10/.gitlab-ci.yml 
new/upower-0.99.11/.gitlab-ci.yml
--- old/upower-0.99.10/.gitlab-ci.yml   2019-02-20 14:40:19.0 +0100
+++ new/upower-0.99.11/.gitlab-ci.yml   2019-09-03 08:47:44.0 +0200
@@ -1,8 +1,7 @@
 image: fedora:rawhide
 
 variables:
-  DEPENDENCIES: gettext libtool intltool gtk-doc
-autoconf automake
+  DEPENDENCIES: libtool gtk-doc autoconf automake gettext-devel
 gcc redhat-rpm-config gcc-c++ glibc-devel make
 systemd sqlite-devel gobject-introspection-devel
 libusbx-devel libgudev-devel libimobiledevice-devel
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/upower-0.99.10/NEWS new/upower-0.99.11/NEWS
--- old/upower-0.99.10/NEWS 2019-02-20 14:40:19.0 +0100
+++ new/upower-0.99.11/NEWS 2019-09-03 08:47:44.0 +0200
@@ -1,3 +1,23 @@
+Version 0.99.11
+~~~
+Released: 2019-09-03
+
+New Features:
+ - Add code of conduct document
+ - build: Migrate from intltool to gettext
+ - rules: Split off HID++ udev rules
+ - Harden systemd service
+ - Let systemd create /var/lib/upower
+ - Move D-Bus policy file to /usr/share/dbus-1/system.d/
+
+Bug fixes:
+ - Fix endless loop burning 100% CPU on keyboard plugout with external
+   backlight
+ - linux: Start polling for unknown device batteries too
+ - linux: Retry to get a battery type if it's unknown
+ - linux: Don't treat device batteries like laptop batteries
+ - Replace use of G_TYPE_INSTANCE_GET_PRIVATE and g_type_class_add_private()
+
 Version 0.99.10
 ~~~
 Released: 2019-02-20
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/upower-0.99.10/autogen.sh 
new/upower-0.99.11/autogen.sh
--- old/upower-0.99.10/autogen.sh   2019-02-20 14:40:19.0 +0100
+++ new/upower-0.99.11/autogen.sh   2019-09-03 08:47:44.0 +0200
@@ -13,21 +13,14 @@
 exit 1
 fi
 
-INTLTOOLIZE=`which intl

commit upower for openSUSE:Factory

2019-03-24 Thread root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2019-03-24 14:56:35

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new.25356 (New)


Package is "upower"

Sun Mar 24 14:56:35 2019 rev:68 rq:686428 version:0.99.10

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2019-03-18 
10:34:44.131539922 +0100
+++ /work/SRC/openSUSE:Factory/.upower.new.25356/upower.changes 2019-03-24 
14:56:37.835204412 +0100
@@ -1,0 +2,6 @@
+Fri Mar 15 17:28:15 UTC 2019 - Bjørn Lie 
+
+- Switch to source service, so we do not have to deal with ever
+  changing source url.
+
+---

Old:

  upower-0.99.10.tar.xz

New:

  _service
  upower-0.99.10.obscpio
  upower.obsinfo



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.D5UVze/_old  2019-03-24 14:56:38.487204344 +0100
+++ /var/tmp/diff_new_pack.D5UVze/_new  2019-03-24 14:56:38.491204343 +0100
@@ -29,7 +29,8 @@
 License:GPL-2.0-or-later
 Group:  System/Daemons
 URL:https://upower.freedesktop.org/
-Source0:
https://gitlab.freedesktop.org/upower/upower/uploads/c438511024b9bc5a904f8775cfc8e4c4/%{name}-%{version}.tar.xz
+#Source0:
https://gitlab.freedesktop.org/upower/upower/uploads/c438511024b9bc5a904f8775cfc8e4c4/%%{name}-%%{version}.tar.xz
+Source: %{name}-%{version}.tar.xz
 # PATCH-FEATURE-OPENSUSE upower-hibernate-insteadof-hybridsleep.patch 
boo#985741 dims...@opensuse.org -- Set the system per default to hibernate, not 
hybridsleep
 Patch0: upower-hibernate-insteadof-hybridsleep.patch
 
@@ -104,6 +105,7 @@
 %autosetup -p1
 
 %build
+NOCONFIGURE=1 ./autogen.sh
 %configure \
--disable-static \
--libexecdir=%{_libexecdir}/upower \

++ _service ++

  
https://gitlab.freedesktop.org/upower/upower.git
git
0.99.10
UPOWER_0_99_10
  
  

  
  
*.tar
xz
  


++ upower.obsinfo ++
name: upower
version: 0.99.10
mtime: 1550670019
commit: 215049e7b80c5f24cb35cd229a445c6cf19bd381




commit upower for openSUSE:Factory

2019-03-18 Thread root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2019-03-18 10:34:39

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new.28833 (New)


Package is "upower"

Mon Mar 18 10:34:39 2019 rev:67 rq:685325 version:0.99.10

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2019-01-29 
14:45:01.707069280 +0100
+++ /work/SRC/openSUSE:Factory/.upower.new.28833/upower.changes 2019-03-18 
10:34:44.131539922 +0100
@@ -1,0 +2,10 @@
+Fri Mar 15 06:40:31 UTC 2019 - Paolo Stivanin 
+
+- Update to version 0.99.10:
+  + Set 'pending-charge' for DisplayDevice if at least one battery
+is in the 'pending-charge' state.
+  + Map pending-charge to fully-charged when charge is 100%.
+- Remove upower_daemon-consider-pending-charge.patch since the fix
+  is now in the upstream codebase.
+
+---

Old:

  upower-0.99.9.tar.xz
  upower_daemon-consider-pending-charge.patch

New:

  upower-0.99.10.tar.xz



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.4v03oc/_old  2019-03-18 10:34:45.523539574 +0100
+++ /var/tmp/diff_new_pack.4v03oc/_new  2019-03-18 10:34:45.535539571 +0100
@@ -23,17 +23,15 @@
 BuildRequires:  pkgconfig(udev)
 %endif
 Name:   upower
-Version:0.99.9
+Version:0.99.10
 Release:0
 Summary:Power Device Enumeration Framework
 License:GPL-2.0-or-later
 Group:  System/Daemons
 URL:https://upower.freedesktop.org/
-Source0:
https://gitlab.freedesktop.org/upower/upower/uploads/2282c7c0e53fb31816b824c9d1f547e8/%{name}-%{version}.tar.xz
+Source0:
https://gitlab.freedesktop.org/upower/upower/uploads/c438511024b9bc5a904f8775cfc8e4c4/%{name}-%{version}.tar.xz
 # PATCH-FEATURE-OPENSUSE upower-hibernate-insteadof-hybridsleep.patch 
boo#985741 dims...@opensuse.org -- Set the system per default to hibernate, not 
hybridsleep
 Patch0: upower-hibernate-insteadof-hybridsleep.patch
-# PATCH-FIX-UPSTREAM upower_daemon-consider-pending-charge.patch -- daemon: 
Consider pending-charge when calculating the display state
-Patch1: upower_daemon-consider-pending-charge.patch
 
 BuildRequires:  gobject-introspection-devel >= 0.9.9
 BuildRequires:  gtk-doc >= 1.11

++ upower-0.99.9.tar.xz -> upower-0.99.10.tar.xz ++
 12562 lines of diff (skipped)




commit upower for openSUSE:Factory

2019-01-29 Thread root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2019-01-29 14:45:00

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new.28833 (New)


Package is "upower"

Tue Jan 29 14:45:00 2019 rev:66 rq:666540 version:0.99.9

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2018-11-14 
14:28:51.623589286 +0100
+++ /work/SRC/openSUSE:Factory/.upower.new.28833/upower.changes 2019-01-29 
14:45:01.707069280 +0100
@@ -1,0 +2,6 @@
+Sun Jan 13 19:04:52 UTC 2019 - bjorn@gmail.com
+
+- Add upower_daemon-consider-pending-charge.patch: daemon: Consider
+  pending-charge when calculating the display state.
+
+---

New:

  upower_daemon-consider-pending-charge.patch



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.BXMeA5/_old  2019-01-29 14:45:02.159068732 +0100
+++ /var/tmp/diff_new_pack.BXMeA5/_new  2019-01-29 14:45:02.163068727 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package upower
 #
-# 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
@@ -32,6 +32,8 @@
 Source0:
https://gitlab.freedesktop.org/upower/upower/uploads/2282c7c0e53fb31816b824c9d1f547e8/%{name}-%{version}.tar.xz
 # PATCH-FEATURE-OPENSUSE upower-hibernate-insteadof-hybridsleep.patch 
boo#985741 dims...@opensuse.org -- Set the system per default to hibernate, not 
hybridsleep
 Patch0: upower-hibernate-insteadof-hybridsleep.patch
+# PATCH-FIX-UPSTREAM upower_daemon-consider-pending-charge.patch -- daemon: 
Consider pending-charge when calculating the display state
+Patch1: upower_daemon-consider-pending-charge.patch
 
 BuildRequires:  gobject-introspection-devel >= 0.9.9
 BuildRequires:  gtk-doc >= 1.11

++ upower_daemon-consider-pending-charge.patch ++
>From a074a5462ab9749ad4aaca52e0202602897660aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jo=C3=A3o=20Paulo=20Rechi=20Vita?= 
Date: Thu, 1 Nov 2018 14:45:28 -0700
Subject: [PATCH] daemon: Make comment more succinct

This will help make it more clear when adding an extra state on the
following commit. It also makes the language consistent between the
different lines. There are no changes on the meaning of these lines nor
any functional changes on this commit.
---
 src/up-daemon.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/up-daemon.c b/src/up-daemon.c
index 1a5dddc..95fff6b 100644
--- a/src/up-daemon.c
+++ b/src/up-daemon.c
@@ -209,9 +209,9 @@ up_daemon_update_display_battery (UpDaemon *daemon)
power_supply == FALSE)
continue;
 
-   /* If one battery is charging, then the composite is charging
-* If all batteries are discharging, then the composite is 
discharging
-* If all batteries are fully charged, then they're all fully 
charged
+   /* If one battery is charging, the composite is charging
+* If all batteries are discharging, the composite is 
discharging
+* If all batteries are fully charged, the composite is fully 
charged
 * Everything else is unknown */
if (state == UP_DEVICE_STATE_CHARGING)
state_total = UP_DEVICE_STATE_CHARGING;
-- 
2.18.1


>From a074631c0b1748c8a791c4f0dad99da75805a328 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jo=C3=A3o=20Paulo=20Rechi=20Vita?= 
Date: Mon, 15 Oct 2018 17:05:27 -0700
Subject: [PATCH] daemon: Consider pending-charge when calculating the display
 state

Without this change if all batteries in the system are in the
pending-charge state, the display device state is set to unknown, and
its icon to battery-missing-symbolic.

This change makes the pending-charge state be considered when
calculating the DisplayDevice state, setting it to pending-charge if at
least one battery in the system is pending-charge and no other is
charging or discharging.

Closes: #81
Closes: #19
---
 src/up-daemon.c | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/up-daemon.c b/src/up-daemon.c
index 95fff6b..690f379 100644
--- a/src/up-daemon.c
+++ b/src/up-daemon.c
@@ -210,14 +210,18 @@ up_daemon_update_display_battery (UpDaemon *daemon)
continue;
 
/* If one battery is charging, the composite is charging
-* If all batteries are discharging, the composite is 
discharging
+* If all batteries are

commit upower for openSUSE:Factory

2018-11-14 Thread root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2018-11-14 14:28:48

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower"

Wed Nov 14 14:28:48 2018 rev:65 rq:646814 version:0.99.9

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2018-11-06 
14:07:33.811203469 +0100
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2018-11-14 
14:28:51.623589286 +0100
@@ -1,0 +2,12 @@
+Tue Nov  6 11:41:21 UTC 2018 - bjorn@gmail.com
+
+- Update to version 0.99.9:
+  + Fix lack of update after AC status changes, and broken keyboard
+backlight, following the daemon lockdown added in 0.99.8.
+  + Multiple API documentation fixes.
+  + Out-of-tree build fixes.
+- Drop patches fixed upstream:
+  + upower-remove-privatenetwork.patch.
+  + upower-fix-keyboard-backlight.patch.
+
+---

Old:

  upower-0.99.8.tar.xz
  upower-fix-keyboard-backlight.patch
  upower-remove-privatenetwork.patch

New:

  upower-0.99.9.tar.xz



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.CXf4bx/_old  2018-11-14 14:28:52.111588816 +0100
+++ /var/tmp/diff_new_pack.CXf4bx/_new  2018-11-14 14:28:52.123588805 +0100
@@ -23,19 +23,15 @@
 BuildRequires:  pkgconfig(udev)
 %endif
 Name:   upower
-Version:0.99.8
+Version:0.99.9
 Release:0
 Summary:Power Device Enumeration Framework
 License:GPL-2.0-or-later
 Group:  System/Daemons
 URL:https://upower.freedesktop.org/
-Source0:
https://gitlab.freedesktop.org/upower/upower/uploads/9125ab7ee96fdc4ecc68cfefb50c1cab/%{name}-%{version}.tar.xz
+Source0:
https://gitlab.freedesktop.org/upower/upower/uploads/2282c7c0e53fb31816b824c9d1f547e8/%{name}-%{version}.tar.xz
 # PATCH-FEATURE-OPENSUSE upower-hibernate-insteadof-hybridsleep.patch 
boo#985741 dims...@opensuse.org -- Set the system per default to hibernate, not 
hybridsleep
 Patch0: upower-hibernate-insteadof-hybridsleep.patch
-# PATCH-FIX-UPSTREAM upower-remove-privatenetwork.patch -- Remove 
PrivateNetwork=true from upower.service
-Patch1: upower-remove-privatenetwork.patch
-# PATCH-FIX-UPSTREAM upower-fix-keyboard-backlight.patch -- daemon: Fix 
upower's keyboard backlight support
-Patch2: upower-fix-keyboard-backlight.patch
 
 BuildRequires:  gobject-introspection-devel >= 0.9.9
 BuildRequires:  gtk-doc >= 1.11

++ upower-0.99.8.tar.xz -> upower-0.99.9.tar.xz ++
 10819 lines of diff (skipped)




commit upower for openSUSE:Factory

2018-11-06 Thread root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2018-11-06 14:06:44

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower"

Tue Nov  6 14:06:44 2018 rev:64 rq:644279 version:0.99.8

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2018-08-28 
09:19:12.335840203 +0200
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2018-11-06 
14:07:33.811203469 +0100
@@ -1,0 +2,8 @@
+Tue Oct 23 18:52:28 UTC 2018 - bjorn@gmail.com
+
+- Add upower-fix-keyboard-backlight.patch: daemon: Fix upower's
+  keyboard backlight support. Disabling kernel tunables blocked us
+  from accessing /sys, meaning we couldn't change keyboard
+  backlight levels.
+
+---

New:

  upower-fix-keyboard-backlight.patch



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.BQeTx8/_old  2018-11-06 14:07:34.879202067 +0100
+++ /var/tmp/diff_new_pack.BQeTx8/_new  2018-11-06 14:07:34.883202062 +0100
@@ -12,7 +12,7 @@
 # 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/
 #
 
 
@@ -34,6 +34,8 @@
 Patch0: upower-hibernate-insteadof-hybridsleep.patch
 # PATCH-FIX-UPSTREAM upower-remove-privatenetwork.patch -- Remove 
PrivateNetwork=true from upower.service
 Patch1: upower-remove-privatenetwork.patch
+# PATCH-FIX-UPSTREAM upower-fix-keyboard-backlight.patch -- daemon: Fix 
upower's keyboard backlight support
+Patch2: upower-fix-keyboard-backlight.patch
 
 BuildRequires:  gobject-introspection-devel >= 0.9.9
 BuildRequires:  gtk-doc >= 1.11

++ upower-fix-keyboard-backlight.patch ++
>From 0a9d9ab4949effb20e77aa52e7b4ee07e776fc0d Mon Sep 17 00:00:00 2001
From: Bastien Nocera 
Date: Tue, 4 Sep 2018 09:58:21 +0200
Subject: [PATCH] daemon: Fix upower's keyboard backlight support

Disabling kernel tunables blocked us from accessing /sys, meaning we
couldn't change keyboard backlight levels.

Closes: #73
---
 src/upower.service.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/upower.service.in b/src/upower.service.in
index 8838655..4566ad3 100644
--- a/src/upower.service.in
+++ b/src/upower.service.in
@@ -10,7 +10,8 @@ Restart=on-failure
 
 # Filesystem lockdown
 ProtectSystem=strict
-ProtectKernelTunables=true
+# Needed by keyboard backlight support
+ProtectKernelTunables=false
 ProtectControlGroups=true
 ReadWritePaths=@historydir@
 ProtectHome=true
-- 
2.18.1




commit upower for openSUSE:Factory

2018-08-28 Thread root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2018-08-28 09:19:08

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower"

Tue Aug 28 09:19:08 2018 rev:63 rq:629423 version:0.99.8

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2018-08-02 
14:55:08.279975134 +0200
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2018-08-28 
09:19:12.335840203 +0200
@@ -1,0 +2,9 @@
+Wed Aug 15 13:06:56 UTC 2018 - bjorn@gmail.com
+
+- Add upower-remove-privatenetwork.patch: Remove
+  PrivateNetwork=true from upower.service. Upower needs to receive
+  device uevents via AF_NETLINK socket otherwise it can't detect
+  plug/unplug events.
+  See https://gitlab.freedesktop.org/upower/upower/issues/68
+
+---

New:

  upower-remove-privatenetwork.patch



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.kpU3Xh/_old  2018-08-28 09:19:12.875841921 +0200
+++ /var/tmp/diff_new_pack.kpU3Xh/_new  2018-08-28 09:19:12.879841934 +0200
@@ -32,6 +32,8 @@
 Source0:
https://gitlab.freedesktop.org/upower/upower/uploads/9125ab7ee96fdc4ecc68cfefb50c1cab/%{name}-%{version}.tar.xz
 # PATCH-FEATURE-OPENSUSE upower-hibernate-insteadof-hybridsleep.patch 
boo#985741 dims...@opensuse.org -- Set the system per default to hibernate, not 
hybridsleep
 Patch0: upower-hibernate-insteadof-hybridsleep.patch
+# PATCH-FIX-UPSTREAM upower-remove-privatenetwork.patch -- Remove 
PrivateNetwork=true from upower.service
+Patch1: upower-remove-privatenetwork.patch
 
 BuildRequires:  gobject-introspection-devel >= 0.9.9
 BuildRequires:  gtk-doc >= 1.11

++ upower-remove-privatenetwork.patch ++
From: Michael Biebl 
Date: Thu, 5 Jul 2018 14:04:22 +0200
Subject: Remove PrivateNetwork=true from upower.service

upower needs to receive device uevents via AF_NETLINK socket otherwise
it can't detect plug/unplug events.

See https://gitlab.freedesktop.org/upower/upower/issues/68

---
 src/upower.service.in | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/upower.service.in b/src/upower.service.in
index 835529a..6e58e33 100644
--- a/src/upower.service.in
+++ b/src/upower.service.in
@@ -16,9 +16,6 @@ ReadWritePaths=@historydir@
 ProtectHome=true
 PrivateTmp=true
 
-# Network
-PrivateNetwork=true
-
 # Execute Mappings
 MemoryDenyWriteExecute=true
 



commit upower for openSUSE:Factory

2018-08-02 Thread root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2018-08-02 14:55:04

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower"

Thu Aug  2 14:55:04 2018 rev:62 rq:626421 version:0.99.8

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2018-06-08 
23:10:22.607089538 +0200
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2018-08-02 
14:55:08.279975134 +0200
@@ -1,0 +2,24 @@
+Sat Jul 28 22:32:14 UTC 2018 - bjorn@gmail.com
+
+- Update to version 0.99.8:
+  + New Features:
+- Lock down systemd service file.
+- Add support for "Unknown" capacity level, and clarify
+  handling of devices with coarse battery levels.
+- Add a new version of up_client_get_devices() which unrefs
+  contents.
+  + Bugfixes:
+- Fix warnings when D-Bus related properties change.
+- Prevent crash after attaching an Apple TV, and support newer
+  versions of iOS.
+- Lower severity of "unhandled action" messages.
+- Fix battery status on MacBooks after a plug or unplug event.
+- Fix double-close on exit.
+- Drop patches fixed upstream:
+  + upower-fix-ios-crash.patch.
+  + upower-fix-crash-logind-doesnt-return-error.patch.
+  + upower-fix-memory-leak.patch.
+- Refresh upower-hibernate-insteadof-hybridsleep.patch with quilt.
+- Use autosetup and make_build macros.
+
+---

Old:

  upower-0.99.7.tar.xz
  upower-fix-crash-logind-doesnt-return-error.patch
  upower-fix-ios-crash.patch
  upower-fix-memory-leak.patch

New:

  upower-0.99.8.tar.xz



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.bLMpS0/_old  2018-08-02 14:55:08.895976163 +0200
+++ /var/tmp/diff_new_pack.bLMpS0/_new  2018-08-02 14:55:08.899976169 +0200
@@ -23,21 +23,16 @@
 BuildRequires:  pkgconfig(udev)
 %endif
 Name:   upower
-Version:0.99.7
+Version:0.99.8
 Release:0
 Summary:Power Device Enumeration Framework
 License:GPL-2.0-or-later
 Group:  System/Daemons
-Url:http://upower.freedesktop.org/
-Source: 
http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz
+URL:https://upower.freedesktop.org/
+Source0:
https://gitlab.freedesktop.org/upower/upower/uploads/9125ab7ee96fdc4ecc68cfefb50c1cab/%{name}-%{version}.tar.xz
 # PATCH-FEATURE-OPENSUSE upower-hibernate-insteadof-hybridsleep.patch 
boo#985741 dims...@opensuse.org -- Set the system per default to hibernate, not 
hybridsleep
 Patch0: upower-hibernate-insteadof-hybridsleep.patch
-# PATCH-FIX-UPSTREAM upower-fix-ios-crash.patch fdo#105625 nov...@mirell.de -- 
Fix endless crash loop freezing the system with AppleTV attached
-Patch1: upower-fix-ios-crash.patch
-# PATCH-FIX-UPSTREAM upower-fix-crash-logind-doesnt-return-error.patch -- Fix 
crash if logind doesn't return an error
-Patch2: upower-fix-crash-logind-doesnt-return-error.patch
-# PATCH-FIX-UPSTREAM upower-fix-memory-leak.patch -- Fix memory leak if logind 
returns an error
-Patch3: upower-fix-memory-leak.patch
+
 BuildRequires:  gobject-introspection-devel >= 0.9.9
 BuildRequires:  gtk-doc >= 1.11
 BuildRequires:  intltool
@@ -106,19 +101,16 @@
 %lang_package
 
 %prep
-%setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
+%autosetup -p1
 
 %build
-%configure\
+%configure \
   --disable-static \
   --libexecdir=%{_libexecdir}/upower \
   --enable-gtk-doc \
-  --with-udevrulesdir=%{_udevrulesdir}
-make %{?_smp_mflags}
+   --with-udevrulesdir=%{_udevrulesdir} \
+   %{nil}
+%make_build
 
 %install
 %make_install

++ upower-0.99.7.tar.xz -> upower-0.99.8.tar.xz ++
 2544 lines of diff (skipped)

++ upower-hibernate-insteadof-hybridsleep.patch ++
--- /var/tmp/diff_new_pack.bLMpS0/_old  2018-08-02 14:55:09.139976570 +0200
+++ /var/tmp/diff_new_pack.bLMpS0/_new  2018-08-02 14:55:09.143976577 +0200
@@ -1,7 +1,7 @@
-Index: upower-0.99.7/etc/UPower.conf
+Index: upower-0.99.8/etc/UPower.conf
 ===
 upower-0.99.7.orig/etc/UPower.conf
-+++ upower-0.99.7/etc/UPower.conf
+--- upower-0.99.8.orig/etc/UPower.conf 2017-09-08 15:29:32.0 +0200
 upower-0.99.8/etc/UPower.conf  2018-07-29 00:45:16.176796927 +0200
 @@ -91,4 +91,4 @@ TimeAction=120
  #
  # If HybridSleep isn't available, Hibernate will be used




commit upower for openSUSE:Factory

2018-06-08 Thread root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2018-06-08 23:10:03

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower"

Fri Jun  8 23:10:03 2018 rev:61 rq:614184 version:0.99.7

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2018-06-02 
11:47:59.225157607 +0200
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2018-06-08 
23:10:22.607089538 +0200
@@ -1,0 +2,8 @@
+Tue Jun  5 07:37:22 UTC 2018 - bjorn@gmail.com
+
+- Add upower-fix-crash-logind-doesnt-return-error.patch: Fix crash
+  if logind doesn't return an error.
+- Add upower-fix-memory-leak.patch: Fix memory leak if logind
+  returns an error.
+
+---

New:

  upower-fix-crash-logind-doesnt-return-error.patch
  upower-fix-memory-leak.patch



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.x2AuCH/_old  2018-06-08 23:10:25.870971693 +0200
+++ /var/tmp/diff_new_pack.x2AuCH/_new  2018-06-08 23:10:25.874971549 +0200
@@ -34,6 +34,10 @@
 Patch0: upower-hibernate-insteadof-hybridsleep.patch
 # PATCH-FIX-UPSTREAM upower-fix-ios-crash.patch fdo#105625 nov...@mirell.de -- 
Fix endless crash loop freezing the system with AppleTV attached
 Patch1: upower-fix-ios-crash.patch
+# PATCH-FIX-UPSTREAM upower-fix-crash-logind-doesnt-return-error.patch -- Fix 
crash if logind doesn't return an error
+Patch2: upower-fix-crash-logind-doesnt-return-error.patch
+# PATCH-FIX-UPSTREAM upower-fix-memory-leak.patch -- Fix memory leak if logind 
returns an error
+Patch3: upower-fix-memory-leak.patch
 BuildRequires:  gobject-introspection-devel >= 0.9.9
 BuildRequires:  gtk-doc >= 1.11
 BuildRequires:  intltool
@@ -105,6 +109,8 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 %build
 %configure\

++ upower-fix-crash-logind-doesnt-return-error.patch ++
>From c68daf665f2a5f09179cdf19fa9bcc0bf935b8ec Mon Sep 17 00:00:00 2001
From: Bastien Nocera 
Date: Thu, 12 Apr 2018 22:32:13 +0200
Subject: [PATCH] linux: Fix crash if logind doesn't return an error

For example, when using an incomplete mock logind.
---
 src/linux/up-backend.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/linux/up-backend.c b/src/linux/up-backend.c
index e668dc8..60ca58f 100644
--- a/src/linux/up-backend.c
+++ b/src/linux/up-backend.c
@@ -668,7 +668,8 @@ up_backend_inhibitor_lock_take (UpBackend *backend)
NULL,
&error);
if (out == NULL) {
-   g_warning ("Could not acquire inhibitor lock: %s", 
error->message);
+   g_warning ("Could not acquire inhibitor lock: %s",
+  error ? error->message : "Unknown reason");
return;
}
 
--
libgit2 0.27.1

++ upower-fix-memory-leak.patch ++
>From 17dba403e7e82754ce8356dcc8c34f48418885bb Mon Sep 17 00:00:00 2001
From: Bastien Nocera 
Date: Thu, 12 Apr 2018 22:34:04 +0200
Subject: [PATCH] linux: Fix memory leak if logind returns an error

---
 src/linux/up-backend.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/linux/up-backend.c b/src/linux/up-backend.c
index 60ca58f..3126c58 100644
--- a/src/linux/up-backend.c
+++ b/src/linux/up-backend.c
@@ -670,6 +670,7 @@ up_backend_inhibitor_lock_take (UpBackend *backend)
if (out == NULL) {
g_warning ("Could not acquire inhibitor lock: %s",
   error ? error->message : "Unknown reason");
+   g_clear_error (&error);
return;
}
 
--
libgit2 0.27.1




commit upower for openSUSE:Factory

2018-06-02 Thread root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2018-06-02 11:47:53

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower"

Sat Jun  2 11:47:53 2018 rev:60 rq:612890 version:0.99.7

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2018-03-30 
11:55:28.735648151 +0200
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2018-06-02 
11:47:59.225157607 +0200
@@ -1,0 +2,7 @@
+Thu May 24 18:31:55 UTC 2018 - bjorn@gmail.com
+
+- Use %%config(noreplace) %%{_sysconfdir}/UPower/, if an admin have
+  made changes to this config, we do not want to overwrite it on
+  updates.
+
+---



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.smhL4b/_old  2018-06-02 11:48:00.541109343 +0200
+++ /var/tmp/diff_new_pack.smhL4b/_new  2018-06-02 11:48:00.545109196 +0200
@@ -140,7 +140,8 @@
 %files
 %license COPYING
 %doc AUTHORS NEWS README
-%config %{_sysconfdir}/UPower/
+%dir %{_sysconfdir}/UPower
+%config(noreplace) %{_sysconfdir}/UPower/UPower.conf
 %{_bindir}/upower
 %{_sbindir}/rc%{name}
 %dir %{_libexecdir}/upower




commit upower for openSUSE:Factory

2018-03-30 Thread root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2018-03-30 11:55:23

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower"

Fri Mar 30 11:55:23 2018 rev:59 rq:590598 version:0.99.7

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2018-03-09 
10:47:28.572775806 +0100
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2018-03-30 
11:55:28.735648151 +0200
@@ -1,0 +2,6 @@
+Tue Mar 20 14:15:49 UTC 2018 - nov...@mirell.de
+
+- Add upower-fix-ios-crash.patch to fix repeating crashes on some
+  iOS devices like the Apple TV (fdo#105625).
+
+---

New:

  upower-fix-ios-crash.patch



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.FpdCHI/_old  2018-03-30 11:55:29.823608803 +0200
+++ /var/tmp/diff_new_pack.FpdCHI/_new  2018-03-30 11:55:29.831608514 +0200
@@ -28,10 +28,12 @@
 Summary:Power Device Enumeration Framework
 License:GPL-2.0-or-later
 Group:  System/Daemons
-URL:http://upower.freedesktop.org/
+Url:http://upower.freedesktop.org/
 Source: 
http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz
 # PATCH-FEATURE-OPENSUSE upower-hibernate-insteadof-hybridsleep.patch 
boo#985741 dims...@opensuse.org -- Set the system per default to hibernate, not 
hybridsleep
 Patch0: upower-hibernate-insteadof-hybridsleep.patch
+# PATCH-FIX-UPSTREAM upower-fix-ios-crash.patch fdo#105625 nov...@mirell.de -- 
Fix endless crash loop freezing the system with AppleTV attached
+Patch1: upower-fix-ios-crash.patch
 BuildRequires:  gobject-introspection-devel >= 0.9.9
 BuildRequires:  gtk-doc >= 1.11
 BuildRequires:  intltool
@@ -102,6 +104,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %configure\

++ upower-fix-ios-crash.patch ++
>From 9357aa60e7773d997e6208c9b3cab09adc166e38 Mon Sep 17 00:00:00 2001
From: Martin Szulecki 
Date: Tue, 20 Mar 2018 15:00:21 +0100
Subject: [PATCH 1/2] linux: Prevent crash after attaching an Apple TV

As Apple TVs do not have a battery and do not provide the
"BatteryIsCharging" lockdown key, upower would crash due to a
missing check whether the retrieved node is actually valid.

https://bugzilla.freedesktop.org/show_bug.cgi?id=105625
---
 src/linux/up-device-idevice.c | 4 
 1 file changed, 4 insertions(+)

diff --git a/src/linux/up-device-idevice.c b/src/linux/up-device-idevice.c
index 97d230c..a583881 100644
--- a/src/linux/up-device-idevice.c
+++ b/src/linux/up-device-idevice.c
@@ -297,6 +297,10 @@ up_device_idevice_refresh (UpDevice *device)
 
/* get charging status */
node = plist_dict_get_item (dict, "BatteryIsCharging");
+   if (!node) {
+   plist_free(dict);
+   goto out;
+   }
plist_get_bool_val (node, &charging);
 
if (percentage == 100)
-- 
2.16.2


>From 598fdbc5e00573d1b56d4107798f82bd615842b3 Mon Sep 17 00:00:00 2001
From: Martin Szulecki 
Date: Tue, 20 Mar 2018 15:04:26 +0100
Subject: [PATCH 2/2] linux: Check "HasBattery" key for newer iOS versions

This adds an extra check to query if the iOS device has a
battery at all before actually trying to retrieve the battery
status. Should still work for older iOS versions which do not
provide this key.

https://bugzilla.freedesktop.org/show_bug.cgi?id=105625
---
 src/linux/up-device-idevice.c | 11 ++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/src/linux/up-device-idevice.c b/src/linux/up-device-idevice.c
index a583881..0c404cc 100644
--- a/src/linux/up-device-idevice.c
+++ b/src/linux/up-device-idevice.c
@@ -269,7 +269,7 @@ up_device_idevice_refresh (UpDevice *device)
lockdownd_client_t client = NULL;
plist_t dict, node;
guint64 percentage;
-   guint8 charging;
+   guint8 charging, has_battery;
UpDeviceState state;
gboolean retval = FALSE;
 
@@ -284,6 +284,15 @@ up_device_idevice_refresh (UpDevice *device)
if (lockdownd_get_value (client, "com.apple.mobile.battery", NULL, 
&dict) != LOCKDOWN_E_SUCCESS)
goto out;
 
+   node = plist_dict_get_item (dict, "HasBattery");
+   if (node) {
+   plist_get_bool_val (node, &has_battery);
+   if (!has_battery) {
+   plist_free(dict);
+   goto out;
+   }
+   }
+
/* get battery status */
node = plist_dict_get_item (dict, "BatteryCurrentCapacity");
if (!node) {
-- 
2.16.2




commit upower for openSUSE:Factory

2018-03-09 Thread root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2018-03-09 10:47:12

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower"

Fri Mar  9 10:47:12 2018 rev:58 rq:584553 version:0.99.7

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2018-03-08 
10:54:40.907423114 +0100
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2018-03-09 
10:47:28.572775806 +0100
@@ -4 +4 @@
-- Use SPDX3.0 license tags and package COPYING as %license.
+- Use SPDX3.0 license tags and package COPYING as license.



Other differences:
--



commit upower for openSUSE:Factory

2018-03-08 Thread root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2018-03-08 10:54:39

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower"

Thu Mar  8 10:54:39 2018 rev:57 rq:583099 version:0.99.7

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2017-12-08 
12:53:58.365085782 +0100
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2018-03-08 
10:54:40.907423114 +0100
@@ -1,0 +2,5 @@
+Mon Feb 26 11:36:20 UTC 2018 - dims...@opensuse.org
+
+- Use SPDX3.0 license tags and package COPYING as %license.
+
+---



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.02kSfj/_old  2018-03-08 10:54:41.783391581 +0100
+++ /var/tmp/diff_new_pack.02kSfj/_new  2018-03-08 10:54:41.783391581 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package upower
 #
-# 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,14 +18,17 @@
 
 %{!?_udevrulesdir: %global _udevrulesdir %(pkg-config --variable=udevdir 
udev)/rules.d}
 %define systemdutildir %(pkg-config --variable systemdutildir systemd)
-
+%if !0%{?is_opensuse}
+%define _udevdir %(pkg-config --variable=udevdir udev)
+BuildRequires:  pkgconfig(udev)
+%endif
 Name:   upower
-Summary:Power Device Enumeration Framework
-License:GPL-2.0+
-Group:  System/Daemons
 Version:0.99.7
 Release:0
-Url:http://upower.freedesktop.org/
+Summary:Power Device Enumeration Framework
+License:GPL-2.0-or-later
+Group:  System/Daemons
+URL:http://upower.freedesktop.org/
 Source: 
http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz
 # PATCH-FEATURE-OPENSUSE upower-hibernate-insteadof-hybridsleep.patch 
boo#985741 dims...@opensuse.org -- Set the system per default to hibernate, not 
hybridsleep
 Patch0: upower-hibernate-insteadof-hybridsleep.patch
@@ -33,7 +36,7 @@
 BuildRequires:  gtk-doc >= 1.11
 BuildRequires:  intltool
 BuildRequires:  libtool
-BuildRequires:  pkg-config
+BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(dbus-glib-1)
 BuildRequires:  pkgconfig(gio-2.0) >= 2.16.1
 BuildRequires:  pkgconfig(gio-unix-2.0)
@@ -44,13 +47,8 @@
 BuildRequires:  pkgconfig(libplist) >= 0.12
 BuildRequires:  pkgconfig(libusb-1.0) >= 1.0.0
 BuildRequires:  pkgconfig(systemd)
-%if !0%{?is_opensuse}
-BuildRequires:  pkgconfig(udev)
-%define _udevdir %(pkg-config --variable=udevdir udev)
-%endif
-%{?systemd_requires}
 Recommends: %{name}-lang
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+%{?systemd_requires}
 
 %description
 UPower is an abstraction for enumerating power devices, listening to
@@ -100,6 +98,7 @@
 system) are restricted using PolicyKit.
 
 %lang_package
+
 %prep
 %setup -q
 %patch0 -p1
@@ -113,15 +112,12 @@
 make %{?_smp_mflags}
 
 %install
-%makeinstall
-rm -f %{buildroot}%{_libdir}/*.la
+%make_install
+find %{buildroot} -type f -name "*.la" -delete -print
 install -d %{buildroot}%{_sbindir}
 ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
 %find_lang %{name}
 
-%clean
-rm -rf %{buildroot}
-
 %pre
 %service_add_pre upower.service
 
@@ -136,12 +132,11 @@
 %service_del_postun upower.service
 
 %post -n libupower-glib3 -p /sbin/ldconfig
-
 %postun -n libupower-glib3 -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root,-)
-%doc AUTHORS COPYING NEWS README
+%license COPYING
+%doc AUTHORS NEWS README
 %config %{_sysconfdir}/UPower/
 %{_bindir}/upower
 %{_sbindir}/rc%{name}
@@ -159,21 +154,18 @@
 %{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.KbdBacklight.xml
 %{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.Wakeups.xml
 %{_datadir}/dbus-1/system-services/org.freedesktop.UPower.service
-%doc %{_mandir}/man1/upower.1%{?ext_man}
-%doc %{_mandir}/man7/UPower.7%{?ext_man}
-%doc %{_mandir}/man8/upowerd.8%{?ext_man}
+%{_mandir}/man1/upower.1%{?ext_man}
+%{_mandir}/man7/UPower.7%{?ext_man}
+%{_mandir}/man8/upowerd.8%{?ext_man}
 %dir %{_localstatedir}/lib/upower
 
 %files -n libupower-glib3
-%defattr(-,root,root,-)
 %{_libdir}/libupower-glib.so.*
 
 %files -n typelib-1_0-UpowerGlib-1_0
-%defattr(-,root,root,-)
 %{_libdir}/girepository-1.0/UPowerGlib-1.0.typelib
 
 %files -n libupower-glib-devel
-%defattr(-,root,root,-)
 %doc %{_datadir}/gtk-doc/html/UPower/
 %{_includedir}/libupower-glib/
 %{_libdir}/pkgconfig/upower-glib.pc




commit upower for openSUSE:Factory

2017-12-08 Thread root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2017-12-08 12:53:57

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower"

Fri Dec  8 12:53:57 2017 rev:56 rq:547273 version:0.99.7

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2017-08-18 
14:57:03.284231003 +0200
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2017-12-08 
12:53:58.365085782 +0100
@@ -1,0 +2,21 @@
+Thu Nov 30 19:01:01 UTC 2017 - mplus...@suse.com
+
+- Update to version 0.99.7:
+  * New features:
++ Add support for Bluetooth LE device batteries
++ Allow to be replaced via --replace,-r
+  * Bugfixes:
++ Fix critical action after resume from hibernate
++ Fix compilation with libimobiledevice git
+- Changes for version 0.99.6:
+  * New Features:
++ Add UP_DEVICE_KIND_GAMING_INPUT for gaming devices
++ Detect joysticks as gaming input devices
+  * Bugfixes:
++ Correctly close inhibitor FD
++ Fix crash when '@' is present in the device name
++ Fix lid detection on FreeBSD
++ Grab the model name from device if unavailable from battery
+- Refresh upower-hibernate-insteadof-hybridsleep.patch
+
+---

Old:

  upower-0.99.5.tar.xz

New:

  upower-0.99.7.tar.xz



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.mCSCdy/_old  2017-12-08 12:53:59.025061947 +0100
+++ /var/tmp/diff_new_pack.mCSCdy/_new  2017-12-08 12:53:59.025061947 +0100
@@ -23,7 +23,7 @@
 Summary:Power Device Enumeration Framework
 License:GPL-2.0+
 Group:  System/Daemons
-Version:0.99.5
+Version:0.99.7
 Release:0
 Url:http://upower.freedesktop.org/
 Source: 
http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz

++ upower-0.99.5.tar.xz -> upower-0.99.7.tar.xz ++
 25891 lines of diff (skipped)

++ upower-hibernate-insteadof-hybridsleep.patch ++
--- /var/tmp/diff_new_pack.mCSCdy/_old  2017-12-08 12:53:59.317051401 +0100
+++ /var/tmp/diff_new_pack.mCSCdy/_new  2017-12-08 12:53:59.317051401 +0100
@@ -1,8 +1,8 @@
-Index: upower-0.99.3/etc/UPower.conf
+Index: upower-0.99.7/etc/UPower.conf
 ===
 upower-0.99.3.orig/etc/UPower.conf
-+++ upower-0.99.3/etc/UPower.conf
-@@ -88,4 +88,4 @@ TimeAction=120
+--- upower-0.99.7.orig/etc/UPower.conf
 upower-0.99.7/etc/UPower.conf
+@@ -91,4 +91,4 @@ TimeAction=120
  #
  # If HybridSleep isn't available, Hibernate will be used
  # If Hibernate isn't available, PowerOff will be used




commit upower for openSUSE:Factory

2017-08-18 Thread root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2017-08-18 14:57:01

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower"

Fri Aug 18 14:57:01 2017 rev:55 rq:516890 version:0.99.5

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2017-04-28 
09:11:49.718559414 +0200
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2017-08-18 
14:57:03.284231003 +0200
@@ -1,0 +2,24 @@
+Mon Jul 24 16:28:56 UTC 2017 - zai...@opensuse.org
+
+- Update to version 0.99.5:
+  + New Features:
+- Add a more complete self test for HID++ devices.
+- Add BatteryLevel property for devices with a finite number of
+  power levels.
+- Add support for pausing and resuming of the daemon poll.
+- Get a serial number for device batteries.
+- Refresh devices after waking up from sleep.
+  + Bugfixes:
+- Add proper error and cancellable handling to UpClient
+  constructor.
+- Do not spin in a loop when /proc/timer_stats cannot be
+  written.
+- Exit early from up-tool when connecting to upower fails.
+- Expand the integration-tests to run in more environments.
+- Fix reading and writing the keyboard brightness level.
+- Fix -Wformat-y2k compilation errors.
+- Lower initial power usage when iDevice isn't accessible.
+- Simplify string checks in upower-glib.
+- Drop upower-fix-get-critical-crash.patch: Fixed upstream.
+
+---

Old:

  upower-0.99.4.tar.xz
  upower-fix-get-critical-crash.patch

New:

  upower-0.99.5.tar.xz



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.YQzowg/_old  2017-08-18 14:57:04.484062097 +0200
+++ /var/tmp/diff_new_pack.YQzowg/_new  2017-08-18 14:57:04.496060408 +0200
@@ -23,14 +23,12 @@
 Summary:Power Device Enumeration Framework
 License:GPL-2.0+
 Group:  System/Daemons
-Version:0.99.4
+Version:0.99.5
 Release:0
 Url:http://upower.freedesktop.org/
 Source: 
http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz
-# PATCH-FIX-UPSTREAM upower-fix-get-critical-crash.patch boo#975653 fdo#94262 
zai...@opensuse.org -- Fix upower daemon crashing.
-Patch0: upower-fix-get-critical-crash.patch
 # PATCH-FEATURE-OPENSUSE upower-hibernate-insteadof-hybridsleep.patch 
boo#985741 dims...@opensuse.org -- Set the system per default to hibernate, not 
hybridsleep
-Patch1: upower-hibernate-insteadof-hybridsleep.patch
+Patch0: upower-hibernate-insteadof-hybridsleep.patch
 BuildRequires:  gobject-introspection-devel >= 0.9.9
 BuildRequires:  gtk-doc >= 1.11
 BuildRequires:  intltool
@@ -105,7 +103,6 @@
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 
 %build
 %configure\

++ upower-0.99.4.tar.xz -> upower-0.99.5.tar.xz ++
 7609 lines of diff (skipped)




commit upower for openSUSE:Factory

2017-04-28 Thread root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2017-04-28 09:11:48

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower"

Fri Apr 28 09:11:48 2017 rev:54 rq:490218 version:0.99.4

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2016-10-14 
09:27:59.0 +0200
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2017-04-28 
09:11:49.718559414 +0200
@@ -1,0 +2,6 @@
+Tue Mar 28 15:09:45 UTC 2017 - mgo...@suse.com
+
+- Own udev directories on SLE, as SLE12 filesystem package
+  doesn't own them. Require udev-devel in order to set _udevdir.
+
+---



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.Xkvj2v/_old  2017-04-28 09:11:50.454455645 +0200
+++ /var/tmp/diff_new_pack.Xkvj2v/_new  2017-04-28 09:11:50.458455081 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package upower
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -46,6 +46,10 @@
 BuildRequires:  pkgconfig(libplist) >= 0.12
 BuildRequires:  pkgconfig(libusb-1.0) >= 1.0.0
 BuildRequires:  pkgconfig(systemd)
+%if !0%{?is_opensuse}
+BuildRequires:  pkgconfig(udev)
+%define _udevdir %(pkg-config --variable=udevdir udev)
+%endif
 %{?systemd_requires}
 Recommends: %{name}-lang
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -146,6 +150,10 @@
 %{_sbindir}/rc%{name}
 %dir %{_libexecdir}/upower
 %{_libexecdir}/upower/upowerd
+%if !0%{?is_opensuse}
+%dir %{_udevdir}
+%dir %{_udevrulesdir}
+%endif
 %{_udevrulesdir}/*.rules
 %{_unitdir}/upower.service
 %config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.UPower.conf




commit upower for openSUSE:Factory

2016-10-14 Thread h_root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2016-10-14 09:27:58

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower"

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2016-09-09 
10:14:53.0 +0200
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2016-10-14 
09:27:59.0 +0200
@@ -1,0 +2,10 @@
+Wed Oct 12 17:26:03 UTC 2016 - dims...@opensuse.org
+
+- Add upower-hibernate-insteadof-hybridsleep.patch:
+  + Set the system per default to hibernate, not hybridsleep. If
+the battery is going to be empty soon, there is no reason
+any longer to attempt to HybridSleep, which quite some hardware
+seems to get wrong. Simply hibernate, get the data on the disk
+and switch off (boo#985741).
+
+---

New:

  upower-hibernate-insteadof-hybridsleep.patch



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.2aH8Ec/_old  2016-10-14 09:27:59.0 +0200
+++ /var/tmp/diff_new_pack.2aH8Ec/_new  2016-10-14 09:27:59.0 +0200
@@ -29,6 +29,8 @@
 Source: 
http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz
 # PATCH-FIX-UPSTREAM upower-fix-get-critical-crash.patch boo#975653 fdo#94262 
zai...@opensuse.org -- Fix upower daemon crashing.
 Patch0: upower-fix-get-critical-crash.patch
+# PATCH-FEATURE-OPENSUSE upower-hibernate-insteadof-hybridsleep.patch 
boo#985741 dims...@opensuse.org -- Set the system per default to hibernate, not 
hybridsleep
+Patch1: upower-hibernate-insteadof-hybridsleep.patch
 BuildRequires:  gobject-introspection-devel >= 0.9.9
 BuildRequires:  gtk-doc >= 1.11
 BuildRequires:  intltool
@@ -99,6 +101,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %configure\

++ upower-hibernate-insteadof-hybridsleep.patch ++
Index: upower-0.99.3/etc/UPower.conf
===
--- upower-0.99.3.orig/etc/UPower.conf
+++ upower-0.99.3/etc/UPower.conf
@@ -88,4 +88,4 @@ TimeAction=120
 #
 # If HybridSleep isn't available, Hibernate will be used
 # If Hibernate isn't available, PowerOff will be used
-CriticalPowerAction=HybridSleep
+CriticalPowerAction=Hibernate



commit upower for openSUSE:Factory

2016-09-09 Thread h_root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2016-09-09 10:14:50

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower"

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2016-04-30 
23:25:28.0 +0200
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2016-09-09 
10:14:53.0 +0200
@@ -1,0 +2,15 @@
+Fri Apr 15 10:34:24 UTC 2016 - zai...@opensuse.org
+
+- Align BuildRequires with what configure looks for and version
+  them:
+  - Replace dbus-1-glib-devel, libgudev-1_0-devel,
+libimobiledevice-devel, libusb-devel and pkgconfig(udev)
+  - with libtool, pkgconfig(dbus-glib-1), pkgconfig(gio-2.0),
+pkgconfig(gio-unix-2.0), pkgconfig(glib-2.0),
+pkgconfig(gobject-2.0), pkgconfig(gudev-1.0),
+pkgconfig(libimobiledevice-1.0), pkgconfig(libplist) and
+pkgconfig(libusb-1.0).
+- Stop exporting V=1, we do debugging locally, so lets not clutter
+  buildlogs.
+
+---



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.qxYqUm/_old  2016-09-09 10:14:54.0 +0200
+++ /var/tmp/diff_new_pack.qxYqUm/_new  2016-09-09 10:14:54.0 +0200
@@ -29,16 +29,21 @@
 Source: 
http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz
 # PATCH-FIX-UPSTREAM upower-fix-get-critical-crash.patch boo#975653 fdo#94262 
zai...@opensuse.org -- Fix upower daemon crashing.
 Patch0: upower-fix-get-critical-crash.patch
-BuildRequires:  dbus-1-glib-devel
 BuildRequires:  gobject-introspection-devel >= 0.9.9
 BuildRequires:  gtk-doc >= 1.11
 BuildRequires:  intltool
-BuildRequires:  libgudev-1_0-devel
-BuildRequires:  libimobiledevice-devel
-BuildRequires:  libusb-devel
+BuildRequires:  libtool
 BuildRequires:  pkg-config
+BuildRequires:  pkgconfig(dbus-glib-1)
+BuildRequires:  pkgconfig(gio-2.0) >= 2.16.1
+BuildRequires:  pkgconfig(gio-unix-2.0)
+BuildRequires:  pkgconfig(glib-2.0) >= 2.34.0
+BuildRequires:  pkgconfig(gobject-2.0)
+BuildRequires:  pkgconfig(gudev-1.0) >= 147
+BuildRequires:  pkgconfig(libimobiledevice-1.0) >= 0.9.7
+BuildRequires:  pkgconfig(libplist) >= 0.12
+BuildRequires:  pkgconfig(libusb-1.0) >= 1.0.0
 BuildRequires:  pkgconfig(systemd)
-BuildRequires:  pkgconfig(udev)
 %{?systemd_requires}
 Recommends: %{name}-lang
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -96,7 +101,6 @@
 %patch0 -p1
 
 %build
-export V=1
 %configure\
   --disable-static \
   --libexecdir=%{_libexecdir}/upower \




commit upower for openSUSE:Factory

2016-04-30 Thread h_root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2016-04-30 23:25:16

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower"

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2016-02-23 
16:52:31.0 +0100
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2016-04-30 
23:25:28.0 +0200
@@ -1,0 +2,7 @@
+Thu Apr 14 23:24:57 UTC 2016 - zai...@opensuse.org
+
+- Add upower-fix-get-critical-crash.patch: daemon: fix
+  get_critical_action(), without this upower daemon will crash when
+  trying to take action (boo#975653, fdo#94262).
+
+---

New:

  upower-fix-get-critical-crash.patch



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.aHQGX2/_old  2016-04-30 23:25:29.0 +0200
+++ /var/tmp/diff_new_pack.aHQGX2/_new  2016-04-30 23:25:29.0 +0200
@@ -27,6 +27,8 @@
 Release:0
 Url:http://upower.freedesktop.org/
 Source: 
http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM upower-fix-get-critical-crash.patch boo#975653 fdo#94262 
zai...@opensuse.org -- Fix upower daemon crashing.
+Patch0: upower-fix-get-critical-crash.patch
 BuildRequires:  dbus-1-glib-devel
 BuildRequires:  gobject-introspection-devel >= 0.9.9
 BuildRequires:  gtk-doc >= 1.11
@@ -91,6 +93,7 @@
 %lang_package
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 export V=1

++ upower-fix-get-critical-crash.patch ++
>From 28cee8e2845b094488c337c4ecfa84ada0b6be60 Mon Sep 17 00:00:00 2001
From: Martin Pitt 
Date: Tue, 23 Feb 2016 09:51:07 +0100
Subject: daemon: fix get_critical_action()

Fix copy&paste error from e7e9156f that called the wrong _complete_ function
for up_daemon_get_critical_action().

https://bugs.freedesktop.org/show_bug.cgi?id=94262

diff --git a/src/up-daemon.c b/src/up-daemon.c
index be14cbe..e95f904 100644
--- a/src/up-daemon.c
+++ b/src/up-daemon.c
@@ -435,8 +435,8 @@ up_daemon_get_critical_action (UpExportedDaemon *skeleton,
   GDBusMethodInvocation *invocation,
   UpDaemon *daemon)
 {
-   up_exported_daemon_complete_get_display_device (skeleton, invocation,
-   
up_backend_get_critical_action (daemon->priv->backend));
+   up_exported_daemon_complete_get_critical_action (skeleton, invocation,
+
up_backend_get_critical_action (daemon->priv->backend));
return TRUE;
 }
 
-- 
cgit v0.10.2





commit upower for openSUSE:Factory

2016-02-23 Thread h_root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2016-02-23 16:52:30

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower"

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2015-07-16 
17:17:31.0 +0200
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2016-02-23 
16:52:31.0 +0100
@@ -1,0 +2,14 @@
+Wed Feb 17 09:57:28 UTC 2016 - eshmar...@suse.com
+
+- Update to version 0.99.4:
+  + Add support for Logitech G700s/G700 Gaming Mouse.
+  + Port to GDBus.
+  + Support g_autoptr() for all libupower-glib object types.
+  + Add critical action support for *BSD.
+  + Change the default low battery policy to percentage.
+  + Fix deprecation warning in integration-test.
+  + Fix memory leak in up_client_get_devices().
+  + Fix possible double-free.
+  + Update HID rules and fix build regression.
+
+---

Old:

  upower-0.99.3.tar.xz

New:

  upower-0.99.4.tar.xz



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.xXxd4v/_old  2016-02-23 16:52:31.0 +0100
+++ /var/tmp/diff_new_pack.xXxd4v/_new  2016-02-23 16:52:31.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package upower
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -23,7 +23,7 @@
 Summary:Power Device Enumeration Framework
 License:GPL-2.0+
 Group:  System/Daemons
-Version:0.99.3
+Version:0.99.4
 Release:0
 Url:http://upower.freedesktop.org/
 Source: 
http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz

++ upower-0.99.3.tar.xz -> upower-0.99.4.tar.xz ++
 32679 lines of diff (skipped)




commit upower for openSUSE:Factory

2015-07-16 Thread h_root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2015-07-16 17:17:29

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower"

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2014-12-21 
12:00:55.0 +0100
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2015-07-16 
17:17:31.0 +0200
@@ -1,0 +2,17 @@
+Fri Jun 19 17:30:56 UTC 2015 - mplus...@suse.com
+
+- Update to version 0.99.3
+  * Bail out when iDevice state is malformed (Bastien Nocera)
+  * Defer getting iDevice info until ready (Bastien Nocera)
+  * Fix crash on uninitialized variant (Vlad Orlov)
+  * Fix libimobiledevice msg in configure (Bastien Nocera)
+  * More memory handling fixes in iDevice (Bastien Nocera)
+  * Properly detect bluetooth mice and keyboards that are HID 
+devices (Marc Deslauriers)
+  * Support Logitech Unifying in Linux 3.19 (Peter Wu)
+  * Work-around broken battery on the Onda v975w (Bastien Nocera)
+- Add missing rcsymlink
+- Remove old provides/obsoletes
+- Do not recommend obsolete pm-utils
+
+---

Old:

  upower-0.99.2.tar.xz

New:

  upower-0.99.3.tar.xz



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.oqoS9t/_old  2015-07-16 17:17:32.0 +0200
+++ /var/tmp/diff_new_pack.oqoS9t/_new  2015-07-16 17:17:32.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package upower
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -23,7 +23,7 @@
 Summary:Power Device Enumeration Framework
 License:GPL-2.0+
 Group:  System/Daemons
-Version:0.99.2
+Version:0.99.3
 Release:0
 Url:http://upower.freedesktop.org/
 Source: 
http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz
@@ -34,15 +34,12 @@
 BuildRequires:  libgudev-1_0-devel
 BuildRequires:  libimobiledevice-devel
 BuildRequires:  libusb-devel
+BuildRequires:  pkg-config
 BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(udev)
 %{?systemd_requires}
 Recommends: %{name}-lang
-# bnc#790787 - upower calls /usr/bin/pm-is-supported, so a Recommends should 
be safe
-# for reference see src/linux/up-backend.c
-Recommends: pm-utils
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Obsoletes:  DeviceKit-power < 0.9.9
 
 %description
 UPower is an abstraction for enumerating power devices, listening to
@@ -107,6 +104,8 @@
 %install
 %makeinstall
 rm -f %{buildroot}%{_libdir}/*.la
+install -d %{buildroot}%{_sbindir}
+ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
 %find_lang %{name}
 
 %clean
@@ -134,6 +133,7 @@
 %doc AUTHORS COPYING NEWS README
 %config %{_sysconfdir}/UPower/
 %{_bindir}/upower
+%{_sbindir}/rc%{name}
 %dir %{_libexecdir}/upower
 %{_libexecdir}/upower/upowerd
 %{_udevrulesdir}/*.rules

++ upower-0.99.2.tar.xz -> upower-0.99.3.tar.xz ++
 2961 lines of diff (skipped)
retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/upower-0.99.2/NEWS new/upower-0.99.3/NEWS
--- old/upower-0.99.2/NEWS  2014-12-18 10:31:28.0 +0100
+++ new/upower-0.99.3/NEWS  2015-05-28 11:20:26.0 +0200
@@ -1,3 +1,17 @@
+Version 0.99.3
+~~
+Released: 2015-05-28
+
+Bugfixes:
+ - Bail out when iDevice state is malformed (Bastien Nocera)
+ - Defer getting iDevice info until ready (Bastien Nocera)
+ - Fix crash on uninitialized variant (Vlad Orlov)
+ - Fix libimobiledevice msg in configure (Bastien Nocera)
+ - More memory handling fixes in iDevice (Bastien Nocera)
+ - Properly detect bluetooth mice and keyboards that are HID devices (Marc 
Deslauriers)
+ - Support Logitech Unifying in Linux 3.19 (Peter Wu)
+ - Work-around broken battery on the Onda v975w (Bastien Nocera)
+
 Version 0.99.2
 ~~
 Released: 2014-12-18
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmai

commit upower for openSUSE:Factory

2014-12-21 Thread h_root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2014-12-21 12:02:04

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower"

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2014-12-19 
09:38:41.0 +0100
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2014-12-21 
12:00:55.0 +0100
@@ -1,0 +2,23 @@
+Fri Dec 19 01:11:39 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Update to version 0.99.2:
+  + Bugfixes:
+- Avoid unaligned memory access in hidpp-device
+- Bump GLib min req to 2.34
+- Correct check to prevent the display of invalid ASCII codes
+- Fencepost array access error
+- Fix cleanup in up_device_idevice_coldplug/finalize
+- Fix crash if there is no session D-BUS
+- Fix error handling for Python 3.4
+- Fix various memory and reference leaks
+- Release resources at shutdown
+- Respect the CriticalPowerAction config option
+- Set update-time on the aggregate device
+- Split out updating on_battery and warning_level
+- Update aggregate device on battery removal
+- Update display device when battery is removed
+- Use g_get_real_time() when possible
+- Restore Source URL
+- Remove autoconf, automake and libtool BuildRequires, not needed
+
+---

Old:

  upower-0.99.2~git20141204.tar.xz

New:

  upower-0.99.2.tar.xz



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.BJQYi8/_old  2014-12-21 12:00:56.0 +0100
+++ /var/tmp/diff_new_pack.BJQYi8/_new  2014-12-21 12:00:56.0 +0100
@@ -23,20 +23,16 @@
 Summary:Power Device Enumeration Framework
 License:GPL-2.0+
 Group:  System/Daemons
-Version:0.99.2~git20141204
+Version:0.99.2
 Release:0
 Url:http://upower.freedesktop.org/
-#Source: 
http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz
-Source: %{name}-%{version}.tar.xz
-BuildRequires:  autoconf
-BuildRequires:  automake
+Source: 
http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz
 BuildRequires:  dbus-1-glib-devel
 BuildRequires:  gobject-introspection-devel >= 0.9.9
 BuildRequires:  gtk-doc >= 1.11
 BuildRequires:  intltool
 BuildRequires:  libgudev-1_0-devel
 BuildRequires:  libimobiledevice-devel
-BuildRequires:  libtool
 BuildRequires:  libusb-devel
 BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(udev)
@@ -101,7 +97,6 @@
 
 %build
 export V=1
-sh autogen.sh
 %configure\
   --disable-static \
   --libexecdir=%{_libexecdir}/upower \

++ upower-0.99.2~git20141204.tar.xz -> upower-0.99.2.tar.xz ++
 78610 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit upower for openSUSE:Factory

2014-12-19 Thread h_root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2014-12-19 09:39:51

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower"

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2014-08-25 
11:54:31.0 +0200
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2014-12-19 
09:38:41.0 +0100
@@ -1,0 +2,10 @@
+Thu Dec  4 11:54:02 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Update to latest git head, to resolve various memleaks,
+  (fdo#82659, boo#904520)
+- Added autoconf, automake and libtool BuildRequires, needed with
+  git packaging
+- Comment out the full Source URL, the updated tarball is not
+  available at fdo URL
+
+---

Old:

  upower-0.99.1.tar.xz

New:

  upower-0.99.2~git20141204.tar.xz



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.xqP3EO/_old  2014-12-19 09:38:43.0 +0100
+++ /var/tmp/diff_new_pack.xqP3EO/_new  2014-12-19 09:38:43.0 +0100
@@ -23,16 +23,20 @@
 Summary:Power Device Enumeration Framework
 License:GPL-2.0+
 Group:  System/Daemons
-Version:0.99.1
+Version:0.99.2~git20141204
 Release:0
 Url:http://upower.freedesktop.org/
-Source: 
http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz
+#Source: 
http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz
+Source: %{name}-%{version}.tar.xz
+BuildRequires:  autoconf
+BuildRequires:  automake
 BuildRequires:  dbus-1-glib-devel
 BuildRequires:  gobject-introspection-devel >= 0.9.9
 BuildRequires:  gtk-doc >= 1.11
 BuildRequires:  intltool
 BuildRequires:  libgudev-1_0-devel
 BuildRequires:  libimobiledevice-devel
+BuildRequires:  libtool
 BuildRequires:  libusb-devel
 BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(udev)
@@ -97,6 +101,7 @@
 
 %build
 export V=1
+sh autogen.sh
 %configure\
   --disable-static \
   --libexecdir=%{_libexecdir}/upower \

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit upower for openSUSE:Factory

2014-08-25 Thread h_root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2014-08-25 11:54:29

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower"

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2014-08-06 
11:42:16.0 +0200
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2014-08-25 
11:54:31.0 +0200
@@ -1,0 +2,21 @@
+Thu Aug 21 02:50:20 UTC 2014 - mgo...@suse.com
+
+- Update to version 0.99.1: 
+  + New Features:
+- Remove IsDocked property
+- Remove unused polkit dependency
+  + Bugfixes:
+- Create the history directory at runtime
+- Do not log a critical warning when using
+  _set_object_path_sync()
+- Fix API doc for up_client_get_on_battery()
+- Fix possible UpHistoryItem leak on failure
+- Fix segfault on getting property when daemon is not running
+- Fix shutdown on boot on some machines
+- Fix small memleak on startup with Logitech devices
+- Free the obtained device list array after use
+- Update lid status when updating AC status
+- Remove upower-fix-leaks.patch: fixed upstream.
+- Adjust package name, since LT_CURRENT is now 3
+
+---

Old:

  upower-0.99.0.tar.xz
  upower-fix-leaks.patch

New:

  upower-0.99.1.tar.xz



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.2YBU0k/_old  2014-08-25 11:54:32.0 +0200
+++ /var/tmp/diff_new_pack.2YBU0k/_new  2014-08-25 11:54:32.0 +0200
@@ -23,12 +23,10 @@
 Summary:Power Device Enumeration Framework
 License:GPL-2.0+
 Group:  System/Daemons
-Version:0.99.0
+Version:0.99.1
 Release:0
 Url:http://upower.freedesktop.org/
 Source: 
http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz
- # PATCH-FIX-UPSTREAM upower-fix-leaks.patch mgo...@suse.com -- Fix leaks; 
taken from upstream.
-Patch0: upower-fix-leaks.patch
 BuildRequires:  dbus-1-glib-devel
 BuildRequires:  gobject-introspection-devel >= 0.9.9
 BuildRequires:  gtk-doc >= 1.11
@@ -36,7 +34,6 @@
 BuildRequires:  libgudev-1_0-devel
 BuildRequires:  libimobiledevice-devel
 BuildRequires:  libusb-devel
-BuildRequires:  polkit-devel
 BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(udev)
 %{?systemd_requires}
@@ -54,12 +51,12 @@
 via the system message bus. Some operations (such as suspending the
 system) are restricted using PolicyKit.
 
-%package -n libupower-glib2
+%package -n libupower-glib3
 Summary:Power Device Enumeration Framework - Library
 Group:  System/Daemons
 Recommends: %{name}
 
-%description -n libupower-glib2
+%description -n libupower-glib3
 UPower is an abstraction for enumerating power devices, listening to
 device events and querying history and statistics. Any application or
 service on the system can access the org.freedesktop.UPower service
@@ -83,7 +80,7 @@
 %package -n libupower-glib-devel
 Summary:Power Device Enumeration Framework - Development Files
 Group:  Development/Libraries/Other
-Requires:   libupower-glib2 = %{version}
+Requires:   libupower-glib3 = %{version}
 Requires:   typelib-1_0-UpowerGlib-1_0 = %{version}
 Provides:   %{name}-devel = %{version}
 
@@ -97,7 +94,6 @@
 %lang_package
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 export V=1
@@ -129,9 +125,9 @@
 %postun
 %service_del_postun upower.service
 
-%post -n libupower-glib2 -p /sbin/ldconfig
+%post -n libupower-glib3 -p /sbin/ldconfig
 
-%postun -n libupower-glib2 -p /sbin/ldconfig
+%postun -n libupower-glib3 -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root,-)
@@ -153,7 +149,7 @@
 %doc %{_mandir}/man8/upowerd.8%{?ext_man}
 %dir %{_localstatedir}/lib/upower
 
-%files -n libupower-glib2
+%files -n libupower-glib3
 %defattr(-,root,root,-)
 %{_libdir}/libupower-glib.so.*
 

++ upower-0.99.0.tar.xz -> upower-0.99.1.tar.xz ++
 12946 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit upower for openSUSE:Factory

2014-08-06 Thread h_root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2014-08-06 11:42:13

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower"

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2014-01-27 
11:24:01.0 +0100
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2014-08-06 
11:42:16.0 +0200
@@ -1,0 +2,5 @@
+Fri Aug  1 20:46:58 UTC 2014 - mgo...@suse.com
+
+- Add upower-fix-leaks.patch: fix a couple of memory leaks.
+
+---

New:

  upower-fix-leaks.patch



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.Dhkf3G/_old  2014-08-06 11:42:17.0 +0200
+++ /var/tmp/diff_new_pack.Dhkf3G/_new  2014-08-06 11:42:17.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package upower
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,6 +27,8 @@
 Release:0
 Url:http://upower.freedesktop.org/
 Source: 
http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz
+ # PATCH-FIX-UPSTREAM upower-fix-leaks.patch mgo...@suse.com -- Fix leaks; 
taken from upstream.
+Patch0: upower-fix-leaks.patch
 BuildRequires:  dbus-1-glib-devel
 BuildRequires:  gobject-introspection-devel >= 0.9.9
 BuildRequires:  gtk-doc >= 1.11
@@ -95,6 +97,7 @@
 %lang_package
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 export V=1

++ upower-fix-leaks.patch ++
>From dbb9bead6d3b9e70a5d58019b1615d2a6fba5312 Mon Sep 17 00:00:00 2001
From: Bastien Nocera 
Date: Tue, 24 Jun 2014 16:34:40 +0200
Subject: [PATCH] linux: Fix small memleak on startup with Logitech devices

---
 src/linux/up-device-unifying.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/linux/up-device-unifying.c b/src/linux/up-device-unifying.c
index b3876e0..1819a8a 100644
--- a/src/linux/up-device-unifying.c
+++ b/src/linux/up-device-unifying.c
@@ -207,8 +207,8 @@ up_device_unifying_coldplug (UpDevice *device)
continue;
 
/* hidraw device which exposes hiddev interface is our 
receiver */
-   tmp = g_build_filename(g_udev_device_get_sysfs_path 
(g_udev_device_get_parent(native)),
-   "usbmisc", NULL);
+   tmp = g_build_filename (g_udev_device_get_sysfs_path 
(parent),
+   "usbmisc", NULL);
dir = g_dir_open (tmp, 0, &error);
g_free(tmp);
if (error) {
>From b1aeed994884602b3601a7f4b98419c65be9009c Mon Sep 17 00:00:00 2001
From: Bastien Nocera 
Date: Tue, 24 Jun 2014 16:45:38 +0200
Subject: [PATCH] daemon: Fix possible UpHistoryItem leak on failure

---
 src/up-history.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/up-history.c b/src/up-history.c
index 795b093..4ed55fc 100644
--- a/src/up-history.c
+++ b/src/up-history.c
@@ -532,6 +532,8 @@ up_history_array_from_file (GPtrArray *list, const gchar 
*filename)
ret = up_history_item_set_from_string (item, parts[i]);
if (ret)
g_ptr_array_add (list, item);
+   else
+   g_object_unref (item);
}
 
 out:
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit upower for openSUSE:Factory

2014-01-27 Thread h_root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2014-01-27 11:24:00

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower"

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2013-12-03 
08:54:15.0 +0100
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2014-01-27 
11:24:01.0 +0100
@@ -1,0 +2,29 @@
+Sun Nov 24 04:00:27 UTC 2013 - crrodrig...@opensuse.org
+
+- define _udevrulesdir only if not already defined
+- run %udev_rules_update, if defined.
+
+---
+Sun Nov  3 00:36:31 UTC 2013 - hrvoje.sen...@gmail.com
+
+- Update to version 0.99.0:
+  + Notes:
+- This version contains major API changes. Use the 0.9.* 
+  versions if you want to keep using the old API.
+  + New Features:
+- Add WarningLevel and IconName properties to all devices
+- Add DisplayDevice composite battery
+- Enforce critical battery policy on the daemon side
+  + Bugfixes:
+- Reduce client-side and daemon-side wake-ups
+- Emit PropertiesChanged signals
+- Register objects on the bus once they've been setup
+- Clamp percentage for overfull batteries
+  + Feature Removals:
+- Remove battery recall support
+- Remove QoS support
+- Remove OnLowBattery property (use WarningLevel instead)
+- Remove DeviceChanged and Changed signals (PropertiesChanged
+  signals are sent instead)
+
+---

Old:

  upower-0.9.23.tar.xz

New:

  upower-0.99.0.tar.xz



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.F4MUBy/_old  2014-01-27 11:24:02.0 +0100
+++ /var/tmp/diff_new_pack.F4MUBy/_new  2014-01-27 11:24:02.0 +0100
@@ -16,14 +16,14 @@
 #
 
 
-%define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d
+%{!?_udevrulesdir: %global _udevrulesdir %(pkg-config --variable=udevdir 
udev)/rules.d}
 %define systemdutildir %(pkg-config --variable systemdutildir systemd)
 
 Name:   upower
 Summary:Power Device Enumeration Framework
 License:GPL-2.0+
 Group:  System/Daemons
-Version:0.9.23
+Version:0.99.0
 Release:0
 Url:http://upower.freedesktop.org/
 Source: 
http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz
@@ -52,12 +52,12 @@
 via the system message bus. Some operations (such as suspending the
 system) are restricted using PolicyKit.
 
-%package -n libupower-glib1
+%package -n libupower-glib2
 Summary:Power Device Enumeration Framework - Library
 Group:  System/Daemons
 Recommends: %{name}
 
-%description -n libupower-glib1
+%description -n libupower-glib2
 UPower is an abstraction for enumerating power devices, listening to
 device events and querying history and statistics. Any application or
 service on the system can access the org.freedesktop.UPower service
@@ -81,7 +81,7 @@
 %package -n libupower-glib-devel
 Summary:Power Device Enumeration Framework - Development Files
 Group:  Development/Libraries/Other
-Requires:   libupower-glib1 = %{version}
+Requires:   libupower-glib2 = %{version}
 Requires:   typelib-1_0-UpowerGlib-1_0 = %{version}
 Provides:   %{name}-devel = %{version}
 
@@ -102,7 +102,6 @@
   --disable-static \
   --libexecdir=%{_libexecdir}/upower \
   --enable-gtk-doc \
-  --enable-deprecated \
   --with-udevrulesdir=%{_udevrulesdir}
 make %{?_smp_mflags}
 
@@ -118,6 +117,7 @@
 %service_add_pre upower.service
 
 %post
+%{?udev_rules_update:%udev_rules_update}
 %service_add_post upower.service
 
 %preun
@@ -126,9 +126,9 @@
 %postun
 %service_del_postun upower.service
 
-%post -n libupower-glib1 -p /sbin/ldconfig
+%post -n libupower-glib2 -p /sbin/ldconfig
 
-%postun -n libupower-glib1 -p /sbin/ldconfig
+%postun -n libupower-glib2 -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root,-)
@@ -137,25 +137,20 @@
 %{_bindir}/upower
 %dir %{_libexecdir}/upower
 %{_libexecdir}/upower/upowerd
-%dir %{systemdutildir}/system-sleep
-%{systemdutildir}/system-sleep/notify-upower.sh
 %{_udevrulesdir}/*.rules
 %{_unitdir}/upower.service
 %config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.UPower.conf
 %{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.xml
 %{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.Device.xml
 %{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.KbdBacklight.xml
-%{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.QoS.xml
 %{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.Wakeups.xml
 %{_datadir}/dbus-1/system-services/org.freedesktop.UPower.servic

commit upower for openSUSE:Factory

2013-12-02 Thread h_root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2013-12-03 08:54:14

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower"

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2013-12-02 
15:12:09.0 +0100
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2013-12-03 
08:54:15.0 +0100
@@ -2,29 +1,0 @@
-Sun Nov 24 04:00:27 UTC 2013 - crrodrig...@opensuse.org
-
-- define _udevrulesdir only if not already defined
-- run %udev_rules_update, if defined.
-

-Sun Nov  3 00:36:31 UTC 2013 - hrvoje.sen...@gmail.com
-
-- Update to version 0.99.0:
-  + Notes:
-- This version contains major API changes. Use the 0.9.* 
-  versions if you want to keep using the old API.
-  + New Features:
-- Add WarningLevel and IconName properties to all devices
-- Add DisplayDevice composite battery
-- Enforce critical battery policy on the daemon side
-  + Bugfixes:
-- Reduce client-side and daemon-side wake-ups
-- Emit PropertiesChanged signals
-- Register objects on the bus once they've been setup
-- Clamp percentage for overfull batteries
-  + Feature Removals:
-- Remove battery recall support
-- Remove QoS support
-- Remove OnLowBattery property (use WarningLevel instead)
-- Remove DeviceChanged and Changed signals (PropertiesChanged
-  signals are sent instead)
-


Old:

  upower-0.99.0.tar.xz

New:

  upower-0.9.23.tar.xz



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.EpEdol/_old  2013-12-03 08:54:15.0 +0100
+++ /var/tmp/diff_new_pack.EpEdol/_new  2013-12-03 08:54:15.0 +0100
@@ -16,14 +16,14 @@
 #
 
 
-%{!?_udevrulesdir: %global _udevrulesdir %(pkg-config --variable=udevdir 
udev)/rules.d}
+%define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d
 %define systemdutildir %(pkg-config --variable systemdutildir systemd)
 
 Name:   upower
 Summary:Power Device Enumeration Framework
 License:GPL-2.0+
 Group:  System/Daemons
-Version:0.99.0
+Version:0.9.23
 Release:0
 Url:http://upower.freedesktop.org/
 Source: 
http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz
@@ -52,12 +52,12 @@
 via the system message bus. Some operations (such as suspending the
 system) are restricted using PolicyKit.
 
-%package -n libupower-glib2
+%package -n libupower-glib1
 Summary:Power Device Enumeration Framework - Library
 Group:  System/Daemons
 Recommends: %{name}
 
-%description -n libupower-glib2
+%description -n libupower-glib1
 UPower is an abstraction for enumerating power devices, listening to
 device events and querying history and statistics. Any application or
 service on the system can access the org.freedesktop.UPower service
@@ -81,7 +81,7 @@
 %package -n libupower-glib-devel
 Summary:Power Device Enumeration Framework - Development Files
 Group:  Development/Libraries/Other
-Requires:   libupower-glib2 = %{version}
+Requires:   libupower-glib1 = %{version}
 Requires:   typelib-1_0-UpowerGlib-1_0 = %{version}
 Provides:   %{name}-devel = %{version}
 
@@ -102,6 +102,7 @@
   --disable-static \
   --libexecdir=%{_libexecdir}/upower \
   --enable-gtk-doc \
+  --enable-deprecated \
   --with-udevrulesdir=%{_udevrulesdir}
 make %{?_smp_mflags}
 
@@ -117,7 +118,6 @@
 %service_add_pre upower.service
 
 %post
-%{?udev_rules_update:%udev_rules_update}
 %service_add_post upower.service
 
 %preun
@@ -126,9 +126,9 @@
 %postun
 %service_del_postun upower.service
 
-%post -n libupower-glib2 -p /sbin/ldconfig
+%post -n libupower-glib1 -p /sbin/ldconfig
 
-%postun -n libupower-glib2 -p /sbin/ldconfig
+%postun -n libupower-glib1 -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root,-)
@@ -137,20 +137,25 @@
 %{_bindir}/upower
 %dir %{_libexecdir}/upower
 %{_libexecdir}/upower/upowerd
+%dir %{systemdutildir}/system-sleep
+%{systemdutildir}/system-sleep/notify-upower.sh
 %{_udevrulesdir}/*.rules
 %{_unitdir}/upower.service
 %config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.UPower.conf
 %{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.xml
 %{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.Device.xml
 %{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.KbdBacklight.xml
+%{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.QoS.xml
 %{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.Wakeups.xml
 %{_datadir}/dbus-1/system-services/org.freedesktop.UPower.servic

commit upower for openSUSE:Factory

2013-12-02 Thread h_root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2013-12-02 15:12:06

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower"

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2013-10-31 
16:36:44.0 +0100
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2013-12-02 
15:12:09.0 +0100
@@ -1,0 +2,29 @@
+Sun Nov 24 04:00:27 UTC 2013 - crrodrig...@opensuse.org
+
+- define _udevrulesdir only if not already defined
+- run %udev_rules_update, if defined.
+
+---
+Sun Nov  3 00:36:31 UTC 2013 - hrvoje.sen...@gmail.com
+
+- Update to version 0.99.0:
+  + Notes:
+- This version contains major API changes. Use the 0.9.* 
+  versions if you want to keep using the old API.
+  + New Features:
+- Add WarningLevel and IconName properties to all devices
+- Add DisplayDevice composite battery
+- Enforce critical battery policy on the daemon side
+  + Bugfixes:
+- Reduce client-side and daemon-side wake-ups
+- Emit PropertiesChanged signals
+- Register objects on the bus once they've been setup
+- Clamp percentage for overfull batteries
+  + Feature Removals:
+- Remove battery recall support
+- Remove QoS support
+- Remove OnLowBattery property (use WarningLevel instead)
+- Remove DeviceChanged and Changed signals (PropertiesChanged
+  signals are sent instead)
+
+---

Old:

  upower-0.9.23.tar.xz

New:

  upower-0.99.0.tar.xz



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.aAPQiv/_old  2013-12-02 15:12:09.0 +0100
+++ /var/tmp/diff_new_pack.aAPQiv/_new  2013-12-02 15:12:09.0 +0100
@@ -16,14 +16,14 @@
 #
 
 
-%define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d
+%{!?_udevrulesdir: %global _udevrulesdir %(pkg-config --variable=udevdir 
udev)/rules.d}
 %define systemdutildir %(pkg-config --variable systemdutildir systemd)
 
 Name:   upower
 Summary:Power Device Enumeration Framework
 License:GPL-2.0+
 Group:  System/Daemons
-Version:0.9.23
+Version:0.99.0
 Release:0
 Url:http://upower.freedesktop.org/
 Source: 
http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz
@@ -52,12 +52,12 @@
 via the system message bus. Some operations (such as suspending the
 system) are restricted using PolicyKit.
 
-%package -n libupower-glib1
+%package -n libupower-glib2
 Summary:Power Device Enumeration Framework - Library
 Group:  System/Daemons
 Recommends: %{name}
 
-%description -n libupower-glib1
+%description -n libupower-glib2
 UPower is an abstraction for enumerating power devices, listening to
 device events and querying history and statistics. Any application or
 service on the system can access the org.freedesktop.UPower service
@@ -81,7 +81,7 @@
 %package -n libupower-glib-devel
 Summary:Power Device Enumeration Framework - Development Files
 Group:  Development/Libraries/Other
-Requires:   libupower-glib1 = %{version}
+Requires:   libupower-glib2 = %{version}
 Requires:   typelib-1_0-UpowerGlib-1_0 = %{version}
 Provides:   %{name}-devel = %{version}
 
@@ -102,7 +102,6 @@
   --disable-static \
   --libexecdir=%{_libexecdir}/upower \
   --enable-gtk-doc \
-  --enable-deprecated \
   --with-udevrulesdir=%{_udevrulesdir}
 make %{?_smp_mflags}
 
@@ -118,6 +117,7 @@
 %service_add_pre upower.service
 
 %post
+%{?udev_rules_update:%udev_rules_update}
 %service_add_post upower.service
 
 %preun
@@ -126,9 +126,9 @@
 %postun
 %service_del_postun upower.service
 
-%post -n libupower-glib1 -p /sbin/ldconfig
+%post -n libupower-glib2 -p /sbin/ldconfig
 
-%postun -n libupower-glib1 -p /sbin/ldconfig
+%postun -n libupower-glib2 -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root,-)
@@ -137,25 +137,20 @@
 %{_bindir}/upower
 %dir %{_libexecdir}/upower
 %{_libexecdir}/upower/upowerd
-%dir %{systemdutildir}/system-sleep
-%{systemdutildir}/system-sleep/notify-upower.sh
 %{_udevrulesdir}/*.rules
 %{_unitdir}/upower.service
 %config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.UPower.conf
 %{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.xml
 %{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.Device.xml
 %{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.KbdBacklight.xml
-%{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.QoS.xml
 %{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.Wakeups.xml
 %{_datadir}/dbus-1/system-services/org.freedesktop.UPower.servic

commit upower for openSUSE:Factory

2013-10-31 Thread h_root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2013-10-31 16:36:43

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower"

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2013-08-16 
13:15:30.0 +0200
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2013-10-31 
16:36:44.0 +0100
@@ -1,0 +2,37 @@
+Sun Oct 20 17:39:47 UTC 2013 - hrvoje.sen...@gmail.com
+
+- Update to version 0.9.23:
+  + Bugfixes:
+- Add missing dbus-glib-1 to private requires
+- Disable Watts-Up devices by default
+- Really don't overwrite retval with prop values
+- Update and correct Toshiba recall list
+- daemon: Avoid trying to close fd that wasn't opened
+- daemon: Fix options parsing
+- daemon: Include config.h in up-backend.h
+- lib: Add missing "element-type" introspection metadata
+- lib: Fix a small memory leak
+- lib: Fix crasher calling _about_to_sleep_sync()
+- linux: Don't guess discharging state for devices
+- linux: Don't print a warning if the status attr is missing
+- linux: Opt-out of checking Watts Up devices earlier
+- openbsd: Use g_thread_try_new
+- openbsd: recognize when battery is absent
+
+---
+Tue Oct  8 18:28:01 UTC 2013 - hrvoje.sen...@gmail.com
+
+- Update to version 0.9.22:
+  + New Features:
+- Add temperature property for batteries
+  + Bugfixes:
+- Fix error handling in up_client_get_properties_sync()
+- Make GetHistory() array order consistent
+- Fix crash with bluetooth input devices
+- Lots of fixes/rework for Logitech wireless input devices
+- Allow valid UTF-8 encoded properties
+- Detect the battery of bluetooth input devices
+- Only one warning if no valid voltage found
+- openbsd: Do not call g_thread_init()
+
+---

Old:

  upower-0.9.21.tar.xz

New:

  upower-0.9.23.tar.xz



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.MRTZ5G/_old  2013-10-31 16:36:45.0 +0100
+++ /var/tmp/diff_new_pack.MRTZ5G/_new  2013-10-31 16:36:45.0 +0100
@@ -23,7 +23,7 @@
 Summary:Power Device Enumeration Framework
 License:GPL-2.0+
 Group:  System/Daemons
-Version:0.9.21
+Version:0.9.23
 Release:0
 Url:http://upower.freedesktop.org/
 Source: 
http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz

++ upower-0.9.21.tar.xz -> upower-0.9.23.tar.xz ++
 3793 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit upower for openSUSE:Factory

2013-08-16 Thread h_root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2013-08-16 13:15:28

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower"

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2013-04-14 
13:02:18.0 +0200
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2013-08-16 
13:15:30.0 +0200
@@ -1,0 +2,21 @@
+Fri Jul 26 22:14:57 UTC 2013 - hrvoje.sen...@gmail.com
+
+- Update to version 0.9.21:
+  + New Features:
+- Add support for Logitech Wireless (NonUnifying) devices
+- Use PIE to better secure installed tools and also use
+  full RELRO in the daemon
+  + Bugfixes:
+- Allow clients to call org.freedesktop.DBus.Peer
+- Detect udev rules dir
+- Drop --enable-systemd and linking to libsystemd-daemon
+- Find hidraw devices correctly with systemd udev >= v196
+- Fix test for logind availability
+- Update the upower man page with all the current options
+- Dropped systemd define, systemd usage is now detected at runtime
+- Pass %{_udevrulesdir} to %configure, instead of %makeinstall
+- Unconditionally install notify-upower.sh
+- Dropped pkgconfig(libsystemd-daemon) BuildRequires, not needed
+  with this release
+
+---

Old:

  upower-0.9.20.tar.xz

New:

  upower-0.9.21.tar.xz



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.n0YSG1/_old  2013-08-16 13:15:31.0 +0200
+++ /var/tmp/diff_new_pack.n0YSG1/_new  2013-08-16 13:15:31.0 +0200
@@ -16,9 +16,6 @@
 #
 
 
-# We cannot enable systemd support right now, as the sleep support is in >= 183
-%define with_systemd 1
-
 %define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d
 %define systemdutildir %(pkg-config --variable systemdutildir systemd)
 
@@ -26,7 +23,7 @@
 Summary:Power Device Enumeration Framework
 License:GPL-2.0+
 Group:  System/Daemons
-Version:0.9.20
+Version:0.9.21
 Release:0
 Url:http://upower.freedesktop.org/
 Source: 
http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz
@@ -38,11 +35,8 @@
 BuildRequires:  libimobiledevice-devel
 BuildRequires:  libusb-devel
 BuildRequires:  polkit-devel
-BuildRequires:  udev
-%if %{with_systemd}
-BuildRequires:  pkgconfig(libsystemd-daemon)
-%endif
 BuildRequires:  pkgconfig(systemd)
+BuildRequires:  pkgconfig(udev)
 %{?systemd_requires}
 Recommends: %{name}-lang
 # bnc#790787 - upower calls /usr/bin/pm-is-supported, so a Recommends should 
be safe
@@ -107,21 +101,14 @@
 %configure\
   --disable-static \
   --libexecdir=%{_libexecdir}/upower \
-%if %{with_systemd}
-  --enable-systemd \
-%else
-  --disable-systemd \
-%endif
   --enable-gtk-doc \
-  --enable-deprecated
+  --enable-deprecated \
+  --with-udevrulesdir=%{_udevrulesdir}
 make %{?_smp_mflags}
 
 %install
-%makeinstall udevrulesdir=%{_udevrulesdir}
+%makeinstall
 rm -f %{buildroot}%{_libdir}/*.la
-%if ! %{with_systemd}
-rm %{buildroot}/%{systemdutildir}/system-sleep/notify-upower.sh
-%endif
 %find_lang %{name}
 
 %clean
@@ -150,10 +137,8 @@
 %{_bindir}/upower
 %dir %{_libexecdir}/upower
 %{_libexecdir}/upower/upowerd
-%if %{with_systemd}
 %dir %{systemdutildir}/system-sleep
 %{systemdutildir}/system-sleep/notify-upower.sh
-%endif
 %{_udevrulesdir}/*.rules
 %{_unitdir}/upower.service
 %config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.UPower.conf

++ upower-0.9.20.tar.xz -> upower-0.9.21.tar.xz ++
 11053 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit upower for openSUSE:Factory

2013-04-14 Thread h_root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2013-04-14 13:02:16

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2013-03-22 
12:09:05.0 +0100
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2013-04-14 
13:02:18.0 +0200
@@ -1,0 +2,6 @@
+Sat Apr  6 15:11:26 UTC 2013 - hrvoje.sen...@gmail.com
+
+- Add --enable-deprecated flag (bnc#813883) which restores
+  upowers sleep/resume funcionality
+
+---



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.UNqv5P/_old  2013-04-14 13:02:19.0 +0200
+++ /var/tmp/diff_new_pack.UNqv5P/_new  2013-04-14 13:02:19.0 +0200
@@ -112,7 +112,8 @@
 %else
   --disable-systemd \
 %endif
-  --enable-gtk-doc
+  --enable-gtk-doc \
+  --enable-deprecated
 make %{?_smp_mflags}
 
 %install

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit upower for openSUSE:Factory

2013-03-22 Thread h_root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2013-03-22 12:09:04

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2013-01-10 
15:58:46.0 +0100
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2013-03-22 
12:09:05.0 +0100
@@ -1,0 +2,24 @@
+Mon Mar 18 23:35:19 UTC 2013 - hrvoje.sen...@gmail.com
+
+- Update to version 0.9.20:
+  + New Features:
+- Add a --enable-deprecated configure argument to remove pm-utils 
+support
+- Deprecate running the powersave scripts
+- Factor out the Logitech Unifying support to support other 
+  devices 
+- Require applications to define UPOWER_ENABLE_DEPRECATED to use 
+  deprecated functionality
+  + Bugfixes:
+- Bump maximum accepted "time to empty" to 10 days
+- Don't use the deprecated INCLUDES in Makefile.am
+- Fix batteries which report current energy but full charge
+- Fix K750 features name, use 1 second interval
+- Fix memory leak in up_polkit_get_subject
+- Fix two memory leaks
+- integration-test: Always run on a fake system bus
+- integration-test: Move to using umockdev
+- Never use -WError when building
+- Raise the hard PolicyKit dep to 0.97
+
+---

Old:

  upower-0.9.19.tar.xz

New:

  upower-0.9.20.tar.xz



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.nqfqnV/_old  2013-03-22 12:09:06.0 +0100
+++ /var/tmp/diff_new_pack.nqfqnV/_new  2013-03-22 12:09:06.0 +0100
@@ -26,7 +26,7 @@
 Summary:Power Device Enumeration Framework
 License:GPL-2.0+
 Group:  System/Daemons
-Version:0.9.19
+Version:0.9.20
 Release:0
 Url:http://upower.freedesktop.org/
 Source: 
http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz

++ upower-0.9.19.tar.xz -> upower-0.9.20.tar.xz ++
 5965 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit upower for openSUSE:Factory

2013-01-10 Thread h_root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2013-01-10 15:58:45

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2012-11-26 
20:02:14.0 +0100
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2013-01-10 
15:58:46.0 +0100
@@ -1,0 +2,18 @@
+Fri Jan  4 10:20:49 UTC 2013 - hrvoje.sen...@gmail.com
+
+ - Update to version 0.9.19:
+  + New Features:
+- Add a Documentation tag to the service file
+- Add luminosity property
+- Add support for Logitech Unifying devices
+  + Bugfixes:
+- Always return 0 from notify-upower.sh
+- Do not continue to poll if /proc/timer_stats is not readable
+- Fix "can-hibernate" formatting in upower --dump
+- Fix device matching for recent kernels
+- Fix srcdir != builddir
+- Send resume signal when built with systemd and using pm-utils 
+  suspend
+ - Drop upower-fix-resume-no-systemd.patch, merged upstream
+
+---

Old:

  upower-0.9.18.tar.xz
  upower-fix-resume-no-systemd.patch

New:

  upower-0.9.19.tar.xz



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.6JF3Ji/_old  2013-01-10 15:58:47.0 +0100
+++ /var/tmp/diff_new_pack.6JF3Ji/_new  2013-01-10 15:58:47.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package upower
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,12 +26,10 @@
 Summary:Power Device Enumeration Framework
 License:GPL-2.0+
 Group:  System/Daemons
-Version:0.9.18
+Version:0.9.19
 Release:0
 Url:http://upower.freedesktop.org/
 Source: 
http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz
-# PATCH-FIX-UPSTREAM upower-fix-resume-no-systemd.patch vu...@opensuse.org -- 
Fix resuming when not booted with systemd, taken from git
-Patch0: upower-fix-resume-no-systemd.patch
 BuildRequires:  dbus-1-glib-devel
 BuildRequires:  gobject-introspection-devel >= 0.9.9
 BuildRequires:  gtk-doc >= 1.11
@@ -103,7 +101,6 @@
 %lang_package
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 export V=1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit upower for openSUSE:Factory

2012-11-26 Thread h_root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2012-11-26 20:00:13

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2012-11-12 
07:07:41.0 +0100
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2012-11-26 
20:02:14.0 +0100
@@ -1,0 +2,10 @@
+Wed Nov 21 20:10:36 UTC 2012 - nmo.marq...@gmail.com
+
+- Add 'pm-utils' to Recommends; gnome-power-manager and
+  mate-power-manager (at least) use upower for some features, some
+  features like suspend/hibernate only show if 'pm-utils' is also
+  installed. See bnc#790787. I believe this is an improvement.
+- Add macro systemdutildir and fix broken build and drop FIXME
+  comment
+
+---



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.LjnSJx/_old  2012-11-26 20:02:37.0 +0100
+++ /var/tmp/diff_new_pack.LjnSJx/_new  2012-11-26 20:02:37.0 +0100
@@ -20,6 +20,7 @@
 %define with_systemd 1
 
 %define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d
+%define systemdutildir %(pkg-config --variable systemdutildir systemd)
 
 Name:   upower
 Summary:Power Device Enumeration Framework
@@ -27,7 +28,6 @@
 Group:  System/Daemons
 Version:0.9.18
 Release:0
-# FIXME: use systemd once we have systemd >= 183 in Factory
 Url:http://upower.freedesktop.org/
 Source: 
http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz
 # PATCH-FIX-UPSTREAM upower-fix-resume-no-systemd.patch vu...@opensuse.org -- 
Fix resuming when not booted with systemd, taken from git
@@ -47,6 +47,9 @@
 BuildRequires:  pkgconfig(systemd)
 %{?systemd_requires}
 Recommends: %{name}-lang
+# bnc#790787 - upower calls /usr/bin/pm-is-supported, so a Recommends should 
be safe
+# for reference see src/linux/up-backend.c
+Recommends: pm-utils
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Obsoletes:  DeviceKit-power < 0.9.9
 
@@ -119,7 +122,7 @@
 %makeinstall udevrulesdir=%{_udevrulesdir}
 rm -f %{buildroot}%{_libdir}/*.la
 %if ! %{with_systemd}
-rm %{buildroot}/%{_unitdir}/../system-sleep/notify-upower.sh
+rm %{buildroot}/%{systemdutildir}/system-sleep/notify-upower.sh
 %endif
 %find_lang %{name}
 
@@ -150,7 +153,8 @@
 %dir %{_libexecdir}/upower
 %{_libexecdir}/upower/upowerd
 %if %{with_systemd}
-%{_unitdir}/../system-sleep/notify-upower.sh
+%dir %{systemdutildir}/system-sleep
+%{systemdutildir}/system-sleep/notify-upower.sh
 %endif
 %{_udevrulesdir}/*.rules
 %{_unitdir}/upower.service


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit upower for openSUSE:Factory

2012-11-11 Thread h_root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2012-11-12 07:07:40

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2012-10-19 
08:53:11.0 +0200
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2012-11-12 
07:07:41.0 +0100
@@ -1,0 +2,5 @@
+Sun Nov  4 00:29:00 UTC 2012 - crrodrig...@opensuse.org
+
+- Enable systemd support, now we have version 195 
+
+---



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.Hlvd3v/_old  2012-11-12 07:07:42.0 +0100
+++ /var/tmp/diff_new_pack.Hlvd3v/_new  2012-11-12 07:07:42.0 +0100
@@ -17,7 +17,7 @@
 
 
 # We cannot enable systemd support right now, as the sleep support is in >= 183
-%define with_systemd 0
+%define with_systemd 1
 
 %define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d
 


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit upower for openSUSE:Factory

2012-10-18 Thread h_root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2012-10-19 08:53:09

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2012-09-25 
14:18:17.0 +0200
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2012-10-19 
08:53:11.0 +0200
@@ -1,0 +2,5 @@
+Wed Oct 17 13:19:29 UTC 2012 - fcro...@suse.com
+
+- Fix build with new udev rules location
+
+---



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.Auj70D/_old  2012-10-19 08:53:12.0 +0200
+++ /var/tmp/diff_new_pack.Auj70D/_new  2012-10-19 08:53:12.0 +0200
@@ -19,6 +19,8 @@
 # We cannot enable systemd support right now, as the sleep support is in >= 183
 %define with_systemd 0
 
+%define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d
+
 Name:   upower
 Summary:Power Device Enumeration Framework
 License:GPL-2.0+
@@ -114,10 +116,10 @@
 make %{?_smp_mflags}
 
 %install
-%makeinstall
+%makeinstall udevrulesdir=%{_udevrulesdir}
 rm -f %{buildroot}%{_libdir}/*.la
 %if ! %{with_systemd}
-rm %{buildroot}/lib/systemd/system-sleep/notify-upower.sh
+rm %{buildroot}/%{_unitdir}/../system-sleep/notify-upower.sh
 %endif
 %find_lang %{name}
 
@@ -148,9 +150,9 @@
 %dir %{_libexecdir}/upower
 %{_libexecdir}/upower/upowerd
 %if %{with_systemd}
-/lib/systemd/system-sleep/notify-upower.sh
+%{_unitdir}/../system-sleep/notify-upower.sh
 %endif
-/lib/udev/rules.d/*.rules
+%{_udevrulesdir}/*.rules
 %{_unitdir}/upower.service
 %config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.UPower.conf
 %{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.xml


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit upower for openSUSE:Factory

2012-09-25 Thread h_root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2012-09-25 14:03:45

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2012-09-13 
07:09:56.0 +0200
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2012-09-25 
14:18:17.0 +0200
@@ -1,0 +2,6 @@
+Mon Sep 17 08:45:32 UTC 2012 - vu...@opensuse.org
+
+- Pass --disable-systemd to configure if we don't build systemd
+  support. Fix bnc#780709.
+
+---



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.Nv1tgA/_old  2012-09-25 14:18:18.0 +0200
+++ /var/tmp/diff_new_pack.Nv1tgA/_new  2012-09-25 14:18:18.0 +0200
@@ -107,6 +107,8 @@
   --libexecdir=%{_libexecdir}/upower \
 %if %{with_systemd}
   --enable-systemd \
+%else
+  --disable-systemd \
 %endif
   --enable-gtk-doc
 make %{?_smp_mflags}


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit upower for openSUSE:Factory

2012-09-12 Thread h_root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2012-09-13 07:09:54

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2012-05-16 
21:35:52.0 +0200
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2012-09-13 
07:09:56.0 +0200
@@ -1,0 +2,38 @@
+Tue Sep 11 16:09:12 UTC 2012 - vu...@opensuse.org
+
+- Update to version 0.9.18:
+  + New Features:
+- Use systemd if possible for suspend and hibernate
+  + Bugfixes:
+- openbsd: Properly initialize update-time when creating
+  devices
+- Changes from version 0.9.17:
+  + New Features:
+- Fail on CRITICALs in the integration-test
+  + Bugfixes:
+- Drop 'type' parameter from CancelRequest() signature
+- Fix the LatencyChanged signal
+- Fix use-after-free of qos item
+- Fix wrong PowerSupply property for devices without a scope
+  sysfs attribute
+- linux:
+  + Don't allow non-power-supply devices to set the OnBattery
+property
+  + Remove obsolete check for magicmouse_ and duplicated wacom_
+checks
+  + Treat the battery state 'not charging' as PENDING_CHARGE
+- Selectively disable warnings for deprecated GValueArray
+- Drop xz BuildRequires as it now comes for free in the build
+  system.
+- Get ready for full-switch to systemd for suspend and hibernate:
+  + Add a with_systemd macro, currently set to 0 as we would need
+systemd >= 183, which we don't have right now.
+  + Add pkgconfig(libsystemd-daemon) BuildRequires if we build
+systemd support.
+  + Pass --enable-systemd to configure if we build systemd support.
+  + Do not install /lib/systemd/system-sleep/notify-upower.sh if we
+don't build with systemd support.
+- Add upower-fix-resume-no-systemd.patch: fix resuming when not
+  booted with systemd.
+
+---

Old:

  upower-0.9.16.tar.xz

New:

  upower-0.9.18.tar.xz
  upower-fix-resume-no-systemd.patch



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.tVWIRl/_old  2012-09-13 07:09:58.0 +0200
+++ /var/tmp/diff_new_pack.tVWIRl/_new  2012-09-13 07:09:58.0 +0200
@@ -16,14 +16,20 @@
 #
 
 
+# We cannot enable systemd support right now, as the sleep support is in >= 183
+%define with_systemd 0
+
 Name:   upower
 Summary:Power Device Enumeration Framework
 License:GPL-2.0+
 Group:  System/Daemons
-Version:0.9.16
+Version:0.9.18
 Release:0
+# FIXME: use systemd once we have systemd >= 183 in Factory
 Url:http://upower.freedesktop.org/
 Source: 
http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM upower-fix-resume-no-systemd.patch vu...@opensuse.org -- 
Fix resuming when not booted with systemd, taken from git
+Patch0: upower-fix-resume-no-systemd.patch
 BuildRequires:  dbus-1-glib-devel
 BuildRequires:  gobject-introspection-devel >= 0.9.9
 BuildRequires:  gtk-doc >= 1.11
@@ -33,8 +39,9 @@
 BuildRequires:  libusb-devel
 BuildRequires:  polkit-devel
 BuildRequires:  udev
-# Only needed because we don't (and won't) support building xz tarballs by 
default... See bnc#697467
-BuildRequires:  xz
+%if %{with_systemd}
+BuildRequires:  pkgconfig(libsystemd-daemon)
+%endif
 BuildRequires:  pkgconfig(systemd)
 %{?systemd_requires}
 Recommends: %{name}-lang
@@ -91,18 +98,25 @@
 %lang_package
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 export V=1
 %configure\
   --disable-static \
   --libexecdir=%{_libexecdir}/upower \
+%if %{with_systemd}
+  --enable-systemd \
+%endif
   --enable-gtk-doc
 make %{?_smp_mflags}
 
 %install
 %makeinstall
 rm -f %{buildroot}%{_libdir}/*.la
+%if ! %{with_systemd}
+rm %{buildroot}/lib/systemd/system-sleep/notify-upower.sh
+%endif
 %find_lang %{name}
 
 %clean
@@ -131,6 +145,9 @@
 %{_bindir}/upower
 %dir %{_libexecdir}/upower
 %{_libexecdir}/upower/upowerd
+%if %{with_systemd}
+/lib/systemd/system-sleep/notify-upower.sh
+%endif
 /lib/udev/rules.d/*.rules
 %{_unitdir}/upower.service
 %config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.UPower.conf

++ upower-fix-resume-no-systemd.patch ++
>From ac4042ffaf2a1730e45541103e361bed9d8379ae Mon Sep 17 00:00:00 2001
From: Jan Alexander Steffens (heftig) 
Date: Sun, 02 Sep 2012 02:36:13 +
Subject: Send resume signal when built with systemd and using pm-utils suspend

This case was apparently overlooked when adding systemd support.

Signed-off-by: Jan Alexander Steffens (heftig) 
Signed-off-by: Richard Hu

commit upower for openSUSE:Factory

2012-05-16 Thread h_root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2012-05-16 21:35:48

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2012-02-16 
16:24:35.0 +0100
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2012-05-16 
21:35:52.0 +0200
@@ -1,0 +2,23 @@
+Fri May 11 14:51:00 UTC 2012 - vu...@opensuse.org
+
+- Update to version 0.9.16:
+  + New Features:
+- Add boolean RunPowersaveCommand to UPower.conf
+- Install a systemd service file if systemd is used
+  + Bugfixes:
+- Clamp the UPS percentage from 0 to 100 to fix syslog spam
+- Correct the cap on the energy rate
+- Do not print error message for missing /etc/crypttab
+- Fix crash in up_device_csr_finalize
+- Never detect HID devices with batteries as power supplies
+- Re-coldplug dock status when resuming from sleep
+- Return all history records for a timespan of zero
+- libupower-glib: fix small memory leak
+- libupower-glib: srcdir != builddir fix
+- OpenBSD fixes
+- Correctly package systemd service file:
+  + Add pkgconfig(systemd) BuildRequires.
+  + Use %{?systemd_requires} and add %service_add_{pre,post} and
+%service_del_{preun,postun} in scriptlets.
+
+---

Old:

  upower-0.9.15.tar.xz

New:

  upower-0.9.16.tar.xz



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.s06iPc/_old  2012-05-16 21:35:54.0 +0200
+++ /var/tmp/diff_new_pack.s06iPc/_new  2012-05-16 21:35:54.0 +0200
@@ -20,7 +20,7 @@
 Summary:Power Device Enumeration Framework
 License:GPL-2.0+
 Group:  System/Daemons
-Version:0.9.15
+Version:0.9.16
 Release:0
 Url:http://upower.freedesktop.org/
 Source: 
http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz
@@ -35,6 +35,8 @@
 BuildRequires:  udev
 # Only needed because we don't (and won't) support building xz tarballs by 
default... See bnc#697467
 BuildRequires:  xz
+BuildRequires:  pkgconfig(systemd)
+%{?systemd_requires}
 Recommends: %{name}-lang
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Obsoletes:  DeviceKit-power < 0.9.9
@@ -106,6 +108,18 @@
 %clean
 rm -rf %{buildroot}
 
+%pre
+%service_add_pre upower.service
+
+%post
+%service_add_post upower.service
+
+%preun
+%service_del_preun upower.service
+
+%postun
+%service_del_postun upower.service
+
 %post -n libupower-glib1 -p /sbin/ldconfig
 
 %postun -n libupower-glib1 -p /sbin/ldconfig
@@ -118,6 +132,7 @@
 %dir %{_libexecdir}/upower
 %{_libexecdir}/upower/upowerd
 /lib/udev/rules.d/*.rules
+%{_unitdir}/upower.service
 %config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.UPower.conf
 %{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.xml
 %{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.Device.xml

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit upower for openSUSE:Factory

2012-02-16 Thread h_root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2012-02-16 16:24:34

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2012-01-11 
15:39:02.0 +0100
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2012-02-16 
16:24:35.0 +0100
@@ -1,0 +2,6 @@
+Wed Feb 15 11:50:30 UTC 2012 - vu...@opensuse.org
+
+- Move dbus xml interface files from devel subpackage to main
+  subpackage: those files might be needed at runtime.
+
+---



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.7g1FTK/_old  2012-02-16 16:24:36.0 +0100
+++ /var/tmp/diff_new_pack.7g1FTK/_new  2012-02-16 16:24:36.0 +0100
@@ -118,10 +118,18 @@
 %dir %{_libexecdir}/upower
 %{_libexecdir}/upower/upowerd
 /lib/udev/rules.d/*.rules
-%config %{_sysconfdir}/dbus-1/system.d/*.conf
-%{_datadir}/dbus-1/system-services/*.service
-%{_datadir}/polkit-1/actions/org.freedesktop.upower*.policy
-%doc %{_mandir}/man?/*.*
+%config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.UPower.conf
+%{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.xml
+%{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.Device.xml
+%{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.KbdBacklight.xml
+%{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.QoS.xml
+%{_datadir}/dbus-1/interfaces/org.freedesktop.UPower.Wakeups.xml
+%{_datadir}/dbus-1/system-services/org.freedesktop.UPower.service
+%{_datadir}/polkit-1/actions/org.freedesktop.upower.policy
+%{_datadir}/polkit-1/actions/org.freedesktop.upower.qos.policy
+%doc %{_mandir}/man1/upower.1%{?ext_man}
+%doc %{_mandir}/man7/UPower.7%{?ext_man}
+%doc %{_mandir}/man8/upowerd.8%{?ext_man}
 %dir %{_localstatedir}/lib/upower
 
 %files -n libupower-glib1
@@ -134,7 +142,6 @@
 
 %files -n libupower-glib-devel
 %defattr(-,root,root,-)
-%{_datadir}/dbus-1/interfaces/*.xml
 %doc %{_datadir}/gtk-doc/html/UPower/
 %{_includedir}/libupower-glib/
 %{_libdir}/pkgconfig/upower-glib.pc


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit upower for openSUSE:Factory

2012-01-11 Thread h_root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2012-01-11 15:38:17

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2011-12-27 
18:39:36.0 +0100
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2012-01-11 
15:39:02.0 +0100
@@ -1,0 +2,12 @@
+Mon Jan  9 09:35:25 UTC 2012 - vu...@opensuse.org
+
+- Remove glib2-devel Requires from libupower-glib-devel: it will
+  automatically be added the pkgconfig() way.
+
+---
+Mon Jan  9 07:37:40 UTC 2012 - g...@suse.com
+
+- Split typelib file into typelib-1_0-UpowerGlib-1_0 subpackage.
+- Add typelib-1_0-UpowerGlib-1_0 Requires to libupower-glib-devel.
+
+---



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.W48fXa/_old  2012-01-11 15:39:02.0 +0100
+++ /var/tmp/diff_new_pack.W48fXa/_new  2012-01-11 15:39:02.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package upower
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,16 +15,14 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:   upower
 Summary:Power Device Enumeration Framework
-Version:0.9.15
-Release:1
 License:GPL-2.0+
-Url:http://upower.freedesktop.org/
 Group:  System/Daemons
+Version:0.9.15
+Release:0
+Url:http://upower.freedesktop.org/
 Source: 
http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz
 BuildRequires:  dbus-1-glib-devel
 BuildRequires:  gobject-introspection-devel >= 0.9.9
@@ -49,7 +47,6 @@
 system) are restricted using PolicyKit.
 
 %package -n libupower-glib1
-License:GPL-2.0+
 Summary:Power Device Enumeration Framework - Library
 Group:  System/Daemons
 Recommends: %{name}
@@ -61,12 +58,25 @@
 via the system message bus. Some operations (such as suspending the
 system) are restricted using PolicyKit.
 
+%package -n typelib-1_0-UpowerGlib-1_0
+Summary:Power Device Enumeration Framework - Introspection bindings
+Group:  System/Daemons
+
+%description -n typelib-1_0-UpowerGlib-1_0
+UPower is an abstraction for enumerating power devices, listening to
+device events and querying history and statistics. Any application or
+service on the system can access the org.freedesktop.UPower service
+via the system message bus. Some operations (such as suspending the
+system) are restricted using PolicyKit.
+
+This package provides the GObject Introspection bindings for
+libupower-glib.
+
 %package -n libupower-glib-devel
-License:GPL-2.0+
 Summary:Power Device Enumeration Framework - Development Files
 Group:  Development/Libraries/Other
 Requires:   libupower-glib1 = %{version}
-Requires:   glib2-devel
+Requires:   typelib-1_0-UpowerGlib-1_0 = %{version}
 Provides:   %{name}-devel = %{version}
 
 %description -n libupower-glib-devel
@@ -117,6 +127,9 @@
 %files -n libupower-glib1
 %defattr(-,root,root,-)
 %{_libdir}/libupower-glib.so.*
+
+%files -n typelib-1_0-UpowerGlib-1_0
+%defattr(-,root,root,-)
 %{_libdir}/girepository-1.0/UPowerGlib-1.0.typelib
 
 %files -n libupower-glib-devel


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit upower for openSUSE:Factory

2011-12-27 Thread h_root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2011-12-27 18:39:08

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/upower/upower.changes2011-10-04 
18:15:54.0 +0200
+++ /work/SRC/openSUSE:Factory/.upower.new/upower.changes   2011-12-27 
18:39:36.0 +0100
@@ -1,0 +2,5 @@
+Fri Dec 16 02:54:43 UTC 2011 - crrodrig...@opensuse.org
+
+- Update to version 0.9.15 
+
+---

Old:

  upower-0.9.14.tar.xz

New:

  upower-0.9.15.tar.xz



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.hYSfJP/_old  2011-12-27 18:39:37.0 +0100
+++ /var/tmp/diff_new_pack.hYSfJP/_new  2011-12-27 18:39:37.0 +0100
@@ -20,7 +20,7 @@
 
 Name:   upower
 Summary:Power Device Enumeration Framework
-Version:0.9.14
+Version:0.9.15
 Release:1
 License:GPL-2.0+
 Url:http://upower.freedesktop.org/

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit upower for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package upower for openSUSE:Factory checked 
in at 2011-12-06 19:10:46

Comparing /work/SRC/openSUSE:Factory/upower (Old)
 and  /work/SRC/openSUSE:Factory/.upower.new (New)


Package is "upower", Maintainer is ""

Changes:




Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.fdWN1G/_old  2011-12-06 19:45:12.0 +0100
+++ /var/tmp/diff_new_pack.fdWN1G/_new  2011-12-06 19:45:12.0 +0100
@@ -22,7 +22,7 @@
 Summary:Power Device Enumeration Framework
 Version:0.9.14
 Release:1
-License:GPLv2+
+License:GPL-2.0+
 Url:http://upower.freedesktop.org/
 Group:  System/Daemons
 Source: 
http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz
@@ -49,7 +49,7 @@
 system) are restricted using PolicyKit.
 
 %package -n libupower-glib1
-License:GPLv2+
+License:GPL-2.0+
 Summary:Power Device Enumeration Framework - Library
 Group:  System/Daemons
 Recommends: %{name}
@@ -62,7 +62,7 @@
 system) are restricted using PolicyKit.
 
 %package -n libupower-glib-devel
-License:GPLv2+
+License:GPL-2.0+
 Summary:Power Device Enumeration Framework - Development Files
 Group:  Development/Libraries/Other
 Requires:   libupower-glib1 = %{version}


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit upower for openSUSE:Factory

2011-10-04 Thread h_root

Hello community,

here is the log from the commit of package upower for openSUSE:Factory
checked in at Tue Oct 4 18:15:58 CEST 2011.




--- openSUSE:Factory/upower/upower.changes  2011-09-23 12:49:31.0 
+0200
+++ /mounts/work_src_done/STABLE/upower/upower.changes  2011-10-04 
09:43:47.0 +0200
@@ -1,0 +2,10 @@
+Tue Oct  4 07:42:37 UTC 2011 - vu...@opensuse.org
+
+- Update to version 0.9.14:
+  + New Features:
+- Filter the debugging details unless --verbose is specified
+  + Bugfixes:
+- Fix linux up_backend_supports_sleep_state() return code
+- Fix the kFreeBSD detection
+
+---

calling whatdependson for head-i586


Old:

  upower-0.9.13.tar.xz

New:

  upower-0.9.14.tar.xz



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.1H46r0/_old  2011-10-04 18:15:53.0 +0200
+++ /var/tmp/diff_new_pack.1H46r0/_new  2011-10-04 18:15:53.0 +0200
@@ -20,7 +20,7 @@
 
 Name:   upower
 Summary:Power Device Enumeration Framework
-Version:0.9.13
+Version:0.9.14
 Release:1
 License:GPLv2+
 Url:http://upower.freedesktop.org/

continue with "q"...



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit upower for openSUSE:Factory

2011-09-07 Thread h_root

Hello community,

here is the log from the commit of package upower for openSUSE:Factory
checked in at Wed Sep 7 17:58:40 CEST 2011.




--- GNOME/upower/upower.changes 2011-07-23 22:53:25.0 +0200
+++ /mounts/work_src_done/STABLE/upower/upower.changes  2011-09-06 
17:47:52.0 +0200
@@ -1,0 +2,14 @@
+Tue Sep  6 15:44:35 UTC 2011 - vu...@opensuse.org
+
+- Update to version 0.9.13:
+  + New Features:
+- Modernize build system.
+  + Bugfixes:
+- Avoid warnings about missing annotations
+- Don't rely on files' presence to define the default backend
+- Fully port the test suite to use GObject Introspection
+- Hardcode wacom battery devices as not power-supply devices
+- Use autoreconf instead of custom script
+- Use g_unix_signal_add_full() which has been renamed in GLib
+
+---

calling whatdependson for head-i586


Old:

  upower-0.9.12.tar.xz

New:

  upower-0.9.13.tar.xz



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.EJOBuC/_old  2011-09-07 17:58:35.0 +0200
+++ /var/tmp/diff_new_pack.EJOBuC/_new  2011-09-07 17:58:35.0 +0200
@@ -20,15 +20,15 @@
 
 Name:   upower
 Summary:Power Device Enumeration Framework
-Version:0.9.12
-Release:2
+Version:0.9.13
+Release:1
 License:GPLv2+
 Url:http://upower.freedesktop.org/
 Group:  System/Daemons
 Source: 
http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz
 BuildRequires:  dbus-1-glib-devel
-BuildRequires:  gobject-introspection-devel
-BuildRequires:  gtk-doc
+BuildRequires:  gobject-introspection-devel >= 0.9.9
+BuildRequires:  gtk-doc >= 1.11
 BuildRequires:  intltool
 BuildRequires:  libgudev-1_0-devel
 BuildRequires:  libimobiledevice-devel






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit upower for openSUSE:Factory

2011-07-24 Thread h_root

Hello community,

here is the log from the commit of package upower for openSUSE:Factory
checked in at Mon Jul 25 08:44:45 CEST 2011.




--- GNOME/upower/upower.changes 2011-07-05 11:26:38.0 +0200
+++ /mounts/work_src_done/STABLE/upower/upower.changes  2011-07-23 
22:53:25.0 +0200
@@ -1,0 +2,5 @@
+Sat Jul 23 20:56:13 UTC 2011 - andrea.turr...@gmail.com
+
+- Fixed typo in description of upower.spec
+
+---

calling whatdependson for head-i586




Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.o63WwQ/_old  2011-07-25 08:44:32.0 +0200
+++ /var/tmp/diff_new_pack.o63WwQ/_new  2011-07-25 08:44:32.0 +0200
@@ -21,7 +21,7 @@
 Name:   upower
 Summary:Power Device Enumeration Framework
 Version:0.9.12
-Release:1
+Release:2
 License:GPLv2+
 Url:http://upower.freedesktop.org/
 Group:  System/Daemons
@@ -44,7 +44,7 @@
 %description
 UPower is an abstraction for enumerating power devices, listening to
 device events and querying history and statistics. Any application or
-service on the system can access the org.freedesktop. UPower service
+service on the system can access the org.freedesktop.UPower service
 via the system message bus. Some operations (such as suspending the
 system) are restricted using PolicyKit.
 







Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit upower for openSUSE:Factory

2011-07-06 Thread h_root

Hello community,

here is the log from the commit of package upower for openSUSE:Factory
checked in at Wed Jul 6 10:24:57 CEST 2011.




--- GNOME/upower/upower.changes 2011-05-24 17:30:15.0 +0200
+++ /mounts/work_src_done/STABLE/upower/upower.changes  2011-07-05 
11:26:38.0 +0200
@@ -1,0 +2,30 @@
+Tue Jul  5 11:23:04 CEST 2011 - vu...@opensuse.org
+
+- Update to version 0.9.12:
+  + Bugfixes:
+- Fix how we estimate the device rate for batteries that do not
+  provide this data
+- Add AC_PROG_LIBTOOL as advised by autotools
+- Add openbsd missing includes for close and strcmp
+- Silence some openbsd warnings about unused vars and bad
+  return values
+- Add xz BuildRequires because we can't build a package for a
+  xz-compressed tarball without explicitly specifying that... See
+  bnc#697467 for more details.
+
+---
+Tue Jun 14 20:47:39 UTC 2011 - a...@suse.de
+
+- Update to 0.9.11:
+  + New feature:
+- Add new NotifySleep() and NotifyResume() signals that include 
+  the sleep type
+  + Bugfixes:
+- Ensure up-apm-native.h gets shipped in the tarball for
+  OpenBSD
+- Check energy vs. charge in the Linux integration tests
+- Only include glib-unix.h if the GLib version is >= 2.29.4
+- Respect $PYTHON for running the test suite
+- Run subset of tests when system D-BUS is not available
+
+---

calling whatdependson for head-i586


Old:

  upower-0.9.10.tar.bz2

New:

  upower-0.9.12.tar.xz



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.BPEdun/_old  2011-07-06 10:22:42.0 +0200
+++ /var/tmp/diff_new_pack.BPEdun/_new  2011-07-06 10:22:42.0 +0200
@@ -20,12 +20,12 @@
 
 Name:   upower
 Summary:Power Device Enumeration Framework
-Version:0.9.10
+Version:0.9.12
 Release:1
 License:GPLv2+
 Url:http://upower.freedesktop.org/
 Group:  System/Daemons
-Source: %{name}-%{version}.tar.bz2
+Source: 
http://upower.freedesktop.org/releases/%{name}-%{version}.tar.xz
 BuildRequires:  dbus-1-glib-devel
 BuildRequires:  gobject-introspection-devel
 BuildRequires:  gtk-doc
@@ -35,6 +35,8 @@
 BuildRequires:  libusb-devel
 BuildRequires:  polkit-devel
 BuildRequires:  udev
+# Only needed because we don't (and won't) support building xz tarballs by 
default... See bnc#697467
+BuildRequires:  xz
 Recommends: %{name}-lang
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Obsoletes:  DeviceKit-power < 0.9.9






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit upower for openSUSE:Factory

2011-05-26 Thread h_root

Hello community,

here is the log from the commit of package upower for openSUSE:Factory
checked in at Thu May 26 10:31:10 CEST 2011.




--- GNOME/upower/upower.changes 2011-03-24 17:12:26.0 +0100
+++ /mounts/work_src_done/STABLE/upower/upower.changes  2011-05-24 
17:30:15.0 +0200
@@ -1,0 +2,21 @@
+Tue May 24 17:23:04 CEST 2011 - dims...@opensuse.org
+
+- Update to version 0.9.10:
+  + New Features:
+- Add a config option 'IgnoreLid' for users with broken lid
+  switches
+- Add integration test suite for Linux
+- Add option to run daemon on the session bus for testing
+- Add OpenBSD backend which uses the APM_IOC_GETPOWER ioctl()
+- Support virtual UPS devices for testing
+  + Bugfixes:
+- Consider a discharging UPS as "on battery"
+- Do not overwrite aclocal flags in autogen, fdo#35261
+- Fix "unknown" battery status guessing to not be recursive
+- Respect $UPOWER_CONF_FILE_NAME in up_config_init
+- Support batteries that report both energy and charge
+- upower needs -pthread
+- Use the new threadsafe signal handling support in GLib
+- Wuninitialized needs -O
+
+---

calling whatdependson for head-i586


Old:

  upower-0.9.9.tar.bz2

New:

  upower-0.9.10.tar.bz2



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.Vy72OX/_old  2011-05-26 10:30:09.0 +0200
+++ /var/tmp/diff_new_pack.Vy72OX/_new  2011-05-26 10:30:09.0 +0200
@@ -20,7 +20,7 @@
 
 Name:   upower
 Summary:Power Device Enumeration Framework
-Version:0.9.9
+Version:0.9.10
 Release:1
 License:GPLv2+
 Url:http://upower.freedesktop.org/

++ upower-0.9.9.tar.bz2 -> upower-0.9.10.tar.bz2 ++
 7637 lines of diff (skipped)






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit upower for openSUSE:Factory

2011-04-15 Thread h_root

Hello community,

here is the log from the commit of package upower for openSUSE:Factory
checked in at Fri Apr 15 14:12:06 CEST 2011.




--- GNOME/upower/upower.changes 2011-01-09 17:09:39.0 +0100
+++ /mounts/work_src_done/STABLE/upower/upower.changes  2011-03-24 
17:12:26.0 +0100
@@ -1,0 +2,17 @@
+Thu Mar 24 15:53:15 UTC 2011 - fcro...@novell.com
+
+- Update to version 0.9.9:
+  + New Features:
+- Add a config option to disable the Watts Up Pro device
+- Add a LidForceSleep property to ensure that we don't melt any
+  laptops
+- Add an option for polling dock devices in UPower.conf,
+  defaulting to false.
+  + Bugfixes:
+- Depend on stable GUdev API
+- Drop devkit and devkit-power-daemon symlinks
+- Fix bitmap check in the input code
+- Honour ACLOCAL_FLAGS in Makefile.am
+- Drop DeviceKit-power subpackage and obsolete old version of it.
+
+---

calling whatdependson for head-i586


Old:

  upower-0.9.8.tar.bz2

New:

  upower-0.9.9.tar.bz2



Other differences:
--
++ upower.spec ++
--- /var/tmp/diff_new_pack.WDw0Rk/_old  2011-04-15 14:11:25.0 +0200
+++ /var/tmp/diff_new_pack.WDw0Rk/_new  2011-04-15 14:11:25.0 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package upower (Version 0.9.8)
+# spec file for package upower
 #
 # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
@@ -20,7 +20,7 @@
 
 Name:   upower
 Summary:Power Device Enumeration Framework
-Version:0.9.8
+Version:0.9.9
 Release:1
 License:GPLv2+
 Url:http://upower.freedesktop.org/
@@ -37,6 +37,7 @@
 BuildRequires:  udev
 Recommends: %{name}-lang
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+Obsoletes:  DeviceKit-power < 0.9.9
 
 %description
 UPower is an abstraction for enumerating power devices, listening to
@@ -73,23 +74,6 @@
 via the system message bus. Some operations (such as suspending the
 system) are restricted using PolicyKit.
 
-%package -n DeviceKit-power
-License:GPLv2+
-Summary:Power Device Enumeration Framework
-Group:  System/Daemons
-# we only have symlinks in this package, so we need the real upower package
-Requires:   %{name} = %{version}
-
-%description -n DeviceKit-power
-UPower is an abstraction for enumerating power devices, listening to
-device events and querying history and statistics. Any application or
-service on the system can access the org.freedesktop.UPower service
-via the system message bus. Some operations (such as suspending the
-system) are restricted using PolicyKit.
-
-This package provides a compatibily layer between upower and
-DeviceKit-power.
-
 %lang_package
 %prep
 %setup -q
@@ -142,11 +126,6 @@
 %{_libdir}/libupower-glib.so
 %{_datadir}/gir-1.0/UPowerGlib-1.0.gir
 
-%files -n DeviceKit-power
-%defattr(-,root,root,-)
-%{_bindir}/devkit-power
-%{_libexecdir}/upower/devkit-power-daemon
-
 %files lang -f %{name}.lang
 
 %changelog

++ upower-0.9.8.tar.bz2 -> upower-0.9.9.tar.bz2 ++
 16332 lines of diff (skipped)






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org