commit pm-utils for openSUSE:11.4:Update

2012-07-03 Thread h_root
Hello community,

here is the log from the commit of package pm-utils for openSUSE:11.4:Update 
checked in at 2012-07-03 16:55:38

Comparing /work/SRC/openSUSE:11.4:Update/pm-utils (Old)
 and  /work/SRC/openSUSE:11.4:Update/.pm-utils.new (New)


Package is pm-utils, Maintainer is vdziewie...@suse.com

Changes:

New Changes file:

NO CHANGES FILE!!!



Other differences:
--
++ _link ++
--- /var/tmp/diff_new_pack.9vlSpZ/_old  2012-07-03 16:55:40.0 +0200
+++ /var/tmp/diff_new_pack.9vlSpZ/_new  2012-07-03 16:55:40.0 +0200
@@ -1 +1 @@
-link package='pm-utils.443' cicount='copy' /
+link package='pm-utils.572' cicount='copy' /

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



commit pm-utils for openSUSE:11.4:Update

2012-04-20 Thread h_root
Hello community,

here is the log from the commit of package pm-utils for openSUSE:11.4:Update 
checked in at 2012-04-18 18:23:26

Comparing /work/SRC/openSUSE:11.4:Update/pm-utils (Old)
 and  /work/SRC/openSUSE:11.4:Update/.pm-utils.new (New)


Package is pm-utils, Maintainer is vdziewie...@suse.com

Changes:

New Changes file:

NO CHANGES FILE!!!



Other differences:
--
++ _link ++
--- /var/tmp/diff_new_pack.85L34Z/_old  2012-04-20 13:06:29.0 +0200
+++ /var/tmp/diff_new_pack.85L34Z/_new  2012-04-20 13:06:29.0 +0200
@@ -1 +1 @@
-link package='pm-utils.389' cicount='copy' /
+link package='pm-utils.443' cicount='copy' /

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



commit pm-utils for openSUSE:11.4

2012-03-02 Thread h_root

Hello community,

here is the log from the commit of package pm-utils for openSUSE:11.4
checked in at Fri Mar 2 14:08:14 CET 2012.




--- old-versions/11.4/UPDATES/all/pm-utils/pm-utils.changes 2012-02-13 
11:05:58.0 +0100
+++ 11.4/pm-utils/pm-utils.changes  2012-02-29 13:52:57.0 +0100
@@ -1,0 +2,7 @@
+Wed Feb 29 12:51:24 UTC 2012 - mvysko...@suse.cz
+
+- fix bnc#749031: Add pm-utils-dhcp-interfaces.patch, fix script
+  50rcnetwork error and update savestate/restorestate functions.
+- add pm-utils-1.4.1-vtXX-upower-battery-AC-adapter.patch (bnc#670074)
+
+---

calling whatdependson for 11.4-i586


New:

  pm-utils-1.4.1-vtXX-upower-battery-AC-adapter.patch
  pm-utils-dhcp-interfaces.patch



Other differences:
--
++ pm-utils.spec ++
--- /var/tmp/diff_new_pack.q3NgFk/_old  2012-03-02 14:01:27.0 +0100
+++ /var/tmp/diff_new_pack.q3NgFk/_new  2012-03-02 14:01:27.0 +0100
@@ -15,7 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 %define pm_libdir %{_prefix}/lib/%{name}/
 %define pm_quirkdbdir %{pm_libdir}/video-quirks
@@ -23,9 +22,9 @@
 
 Name:   pm-utils
 Version:1.4.1
-Release:5.RELEASE11
+Release:5.RELEASE13
 Summary:Tools to suspend and hibernate computers
-License:GPLv2+
+License:GPL-2.0+
 Group:  System/Base
 Url:http://pm-utils.freedesktop.org/wiki/
 Source0:%{name}-%{version}.tar.bz2
@@ -47,17 +46,20 @@
 Patch5: pm-utils-1.3.0-suse-directfb-ignore-fbmodes.patch
 #PATCH-FIX-OPENSUSE: Update NetworkManager's Sleep method bnc#735837
 Patch6: pm-utils-1.4.1-networkmanager.patch
+#PATCH-FIX-OPENSUSE: Fix 50rcnetwork  bnc#749031
+Patch7: pm-utils-dhcp-interfaces.patch
+Patch8: pm-utils-1.4.1-vtXX-upower-battery-AC-adapter.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 PreReq: %insserv_prereq
 
 # hooks requires some external tools
-Requires:   grep
-Requires:   sed
+Requires:   coreutils
 Requires:   ethtool
 Requires:   gawk
-Requires:   coreutils
+Requires:   grep
 Requires:   module-init-tools
+Requires:   sed
 
 Requires:   upower
 
@@ -74,7 +76,7 @@
 Richard Hughes rich...@hughsie.com
 
 %package ndiswrapper
-License:GPLv2+
+
 Summary:The pm-utils hook for ndiswrapper
 Group:  System/Base
 Supplements:ndiswrapper
@@ -95,6 +97,9 @@
 %patch4 -p1 -b .suse-logging
 %patch5 -p1 -b .directfb-ignore-fbmodes
 %patch6 -p1 -b .networkmanager
+cd ..
+%patch7 -p1
+%patch8 -p0
 
 %build
 %{configure} \

++ pm-utils-1.4.1-vtXX-upower-battery-AC-adapter.patch ++
Index: pm-utils-suse/bin/powersave
===
--- pm-utils-suse.orig/bin/powersave
+++ pm-utils-suse/bin/powersave
@@ -54,7 +54,7 @@ function upower_enumerate_batteries() {
 continue
 fi
 # type 2 is battery
-if upower_device_get_property ${DEVICE} String:Type 2/dev/null | 
grep -q 2$; then
+if upower_device_get_property ${DEVICE} string:Type 2/dev/null | 
grep uint | grep -q 2$; then
 echo ${DEVICE}
 fi
 done
@@ -63,7 +63,7 @@ function upower_enumerate_batteries() {
 # print the ac_adapter found on system
 # Note: it prints the first match, as it expects only one per machine
 function upower_find_ac_adapter() {
-for DEVICE in $(upower_call_method 
org.freedesktop.UPower.EnumerateDevices); do
+for DEVICE in $(upower_call_method org.freedesktop.UPower.EnumerateDevices 
| grep -o '/org[A-Za-z0-9/_]*'); do
 # type 1 is Line Power
 if upower_device_get_property ${DEVICE} string:Type 2/dev/null | 
grep -q 1$; then
 echo ${DEVICE}
@@ -193,20 +193,24 @@ function hal_battery_info {
 done
 }
 
+function dbus-getv {
+  sed -n s#.*[ \t]*$1[0-9]*[ \t]*##p
+}
+
 function upower_battery_info {
 C=1
 for BATTERY in `upower_enumerate_batteries`; do
 
-SEC=`upower_device_get_property ${BATTERY} TimeToEmpty`
+let SEC=`upower_device_get_property ${BATTERY} string:TimeToEmpty | 
dbus-getv int`
 if [ $SEC -ne 0 ]; then
 let MIN=SEC/60
 else
 MIN=0
 fi
 
-   PERC=`upower_device_get_property ${BATTERY} Percentage`
+   PERC=`upower_device_get_property ${BATTERY} string:Percentage | 
dbus-getv double`
 
-case `upower_device_get_property ${BATTERY} State` in
+case `upower_device_get_property ${BATTERY} string:State | dbus-getv 
uint` in
 1) STATE=Charging ;;
 2) STATE=Discharging ;;
 3) STATE=Empty ;;
@@ -217,7 +221,7 @@ function upower_battery_info {
 esac
 
echo Battery$C:
-   echo -e \t 

commit pm-utils for openSUSE:11.4

2012-02-13 Thread h_root

Hello community,

here is the log from the commit of package pm-utils for openSUSE:11.4
checked in at Mon Feb 13 23:45:55 CET 2012.




--- old-versions/11.4/all/pm-utils/pm-utils.changes 2011-03-01 
09:33:50.0 +0100
+++ 11.4/pm-utils/pm-utils.changes  2012-02-13 11:05:58.0 +0100
@@ -1,0 +2,8 @@
+Mon Feb 13 09:57:57 UTC 2012 - bi...@opensuse.org
+
+- Add pm-utils-1.4.1-networkmanager.patch, the methods 
+  org.freedesktop.NetworkManager.{sleep,wake} have been replaced in
+  post-6.x NetworkManager by org.freedesktop.NetworkManager.Sleep
+  which takes a boolean argument(bnc#735837).
+
+---

Package does not exist at destination yet. Using Fallback 
old-versions/11.4/all/pm-utils
Destination is old-versions/11.4/UPDATES/all/pm-utils
calling whatdependson for 11.4-i586


New:

  pm-utils-1.4.1-networkmanager.patch



Other differences:
--
++ pm-utils.spec ++
--- /var/tmp/diff_new_pack.1tcHj0/_old  2012-02-13 23:45:20.0 +0100
+++ /var/tmp/diff_new_pack.1tcHj0/_new  2012-02-13 23:45:20.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package pm-utils
 #
-# 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
@@ -23,7 +23,7 @@
 
 Name:   pm-utils
 Version:1.4.1
-Release:5.RELEASE3
+Release:5.RELEASE11
 Summary:Tools to suspend and hibernate computers
 License:GPLv2+
 Group:  System/Base
@@ -45,6 +45,8 @@
 Patch4: pm-utils-1.3.0-suse-logging.patch
 #PATCH-FIX-OPENSUSE: export SUSE_IGNORE_FBMODES to workaround bnc#304995
 Patch5: pm-utils-1.3.0-suse-directfb-ignore-fbmodes.patch
+#PATCH-FIX-OPENSUSE: Update NetworkManager's Sleep method bnc#735837
+Patch6: pm-utils-1.4.1-networkmanager.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 PreReq: %insserv_prereq
@@ -92,6 +94,7 @@
 %patch3 -p1 -b .suse-grub
 %patch4 -p1 -b .suse-logging
 %patch5 -p1 -b .directfb-ignore-fbmodes
+%patch6 -p1 -b .networkmanager
 
 %build
 %{configure} \

++ pm-utils-1.4.1-networkmanager.patch ++
Index: pm-utils-1.4.1/pm/sleep.d/55NetworkManager
===
--- pm-utils-1.4.1.orig/pm/sleep.d/55NetworkManager
+++ pm-utils-1.4.1/pm/sleep.d/55NetworkManager
@@ -16,7 +16,7 @@ suspend_nm()
 --print-reply --reply-timeout=200  \
--dest=org.freedesktop.NetworkManager  \
/org/freedesktop/NetworkManager\
-   org.freedesktop.NetworkManager.sleep  \
+   org.freedesktop.NetworkManager.Sleep boolean:true  \
echo Done. || echo Failed.
 }
 
@@ -28,7 +28,7 @@ resume_nm()
--dest=org.freedesktop.NetworkManager \
 --print-reply --reply-timeout=200  \
/org/freedesktop/NetworkManager   \
-   org.freedesktop.NetworkManager.wake  \
+   org.freedesktop.NetworkManager.Sleep boolean:false  \
echo Done. || echo Failed.
 }
 
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 pm-utils for openSUSE:11.4

2011-03-01 Thread h_root

Hello community,

here is the log from the commit of package pm-utils for openSUSE:11.4
checked in at Tue Mar 1 12:52:49 CET 2011.




--- old-versions/11.4/all/pm-utils/pm-utils.changes 2011-02-13 
23:23:43.0 +0100
+++ /mounts/work_src_done/11.4/pm-utils/pm-utils.changes2011-03-01 
09:33:50.0 +0100
@@ -1,0 +2,5 @@
+Tue Mar  1 08:29:54 UTC 2011 - mvysko...@suse.cz
+
+- Fix bnc#663067 - remove harddrive power.d hook 
+
+---

calling whatdependson for 11.4-i586




Other differences:
--
++ pm-utils.spec ++
--- /var/tmp/diff_new_pack.u5Hu0J/_old  2011-03-01 12:52:28.0 +0100
+++ /var/tmp/diff_new_pack.u5Hu0J/_new  2011-03-01 12:52:28.0 +0100
@@ -23,7 +23,7 @@
 
 Name:   pm-utils
 Version:1.4.1
-Release:5.RELEASE2
+Release:5.RELEASE3
 Summary:Tools to suspend and hibernate computers
 License:GPLv2+
 Group:  System/Base
@@ -101,6 +101,8 @@
 
 %install
 %{makeinstall}
+# bnc#663067
+%{__rm} %{buildroot}/%{pm_libdir}/power.d/harddrive
 #FIXME: should be installed by make install
 %{__install} -m 644 man/*.1 %{buildroot}/%{_mandir}/man1
 %{__install} -m 644 man/*.8 %{buildroot}/%{_mandir}/man8






Remember to have fun...

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