Hello community, here is the log from the commit of package laptop-mode-tools for openSUSE:Factory checked in at Fri Jul 22 09:20:35 CEST 2011.
-------- --- laptop-mode-tools/laptop-mode-tools.changes 2010-12-07 22:55:27.000000000 +0100 +++ /mounts/work_src_done/STABLE/laptop-mode-tools/laptop-mode-tools.changes 2011-07-20 21:29:16.000000000 +0200 @@ -1,0 +2,12 @@ +Wed Jul 20 19:25:56 UTC 2011 - [email protected] + +- Support kernel 3.0 +- Remove dependency on haldaemon since hal is an optional + requirement, the package can work without it just fine. +- Update to 1.57: + * many fixes + * support for newer kernels + * Add a new "exec-commands" module + * Updated manpages + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- laptop-mode-tools_1.53.tar.gz New: ---- laptop-mode-tools-1.57-kernel3.0.patch laptop-mode-tools_1.57.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ laptop-mode-tools.spec ++++++ --- /var/tmp/diff_new_pack.4thIti/_old 2011-07-22 09:16:16.000000000 +0200 +++ /var/tmp/diff_new_pack.4thIti/_new 2011-07-22 09:16:16.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package laptop-mode-tools (Version 1.53) +# spec file for package laptop-mode-tools # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 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 @@ -18,14 +18,14 @@ Name: laptop-mode-tools -Version: 1.53 -Release: 6 +Version: 1.57 +Release: 1 License: GPLv2+ BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: System/Base Summary: The Laptop Mode Tools Url: http://www.samwel.tk/laptop_mode/ -PreReq: %insserv_prereq sysvinit(haldaemon) +PreReq: %insserv_prereq Source: %{name}_%{version}.tar.gz Source1: laptop-mode-tools.pm-utils-hook Source2: README.SUSE @@ -36,6 +36,7 @@ Patch5: laptop-mode-1.49-new-dirty-ratio-defaults.diff Patch6: laptop-mode-1.53-fix-pm-utils-sleep-script.diff Patch8: laptop-mode-1.53-moblin-enable-intel-hda-powersave.patch +Patch9: laptop-mode-tools-1.57-kernel3.0.patch BuildArch: noarch BuildRequires: pm-utils @@ -54,14 +55,16 @@ Bart Samwel <bart at samwel.tk> %prep -%setup -n %{name}_%{version} +%setup -n %{name}_%{version} -q %patch1 -p1 -%patch2 -p1 +# Disabled for now, does not patch +#%patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch8 -p1 +%patch9 -p1 cp %{S:2} . %build @@ -90,6 +93,7 @@ %dir /etc/laptop-mode %config /etc/laptop-mode/* /etc/init.d/laptop-mode +/etc/udev/rules.d/99-laptop-mode.rules /usr/sbin/* %dir /usr/share/laptop-mode-tools/ %dir /usr/share/laptop-mode-tools/modules/ @@ -97,7 +101,7 @@ /usr/share/laptop-mode-tools/modules/* /usr/share/laptop-mode-tools/module-helpers/lm-polling-daemon /usr/lib/pm-utils/power.d/laptop-mode-tools -/usr/lib/pm-utils/sleep.d/05laptop-mode +/usr/lib/pm-utils/sleep.d/01laptop-mode %doc /usr/share/man/man8/* %doc README.SUSE ++++++ laptop-mode-1.49-initscript.diff ++++++ --- /var/tmp/diff_new_pack.4thIti/_old 2011-07-22 09:16:16.000000000 +0200 +++ /var/tmp/diff_new_pack.4thIti/_new 2011-07-22 09:16:16.000000000 +0200 @@ -12,8 +12,8 @@ -# config: /etc/laptop-mode/laptop-mode.conf +### BEGIN INIT INFO +# Provides: laptop-mode -+# Required-Start: $remote_fs dbus haldaemon -+# Required-Stop: $remote_fs dbus haldaemon ++# Required-Start: $remote_fs dbus ++# Required-Stop: $remote_fs dbus +# Default-Start: 3 5 +# Default-Stop: 0 1 2 6 +# Short-Description: Starts and stops "laptop-mode" ++++++ laptop-mode-1.53-fix-pm-utils-sleep-script.diff ++++++ --- /var/tmp/diff_new_pack.4thIti/_old 2011-07-22 09:16:16.000000000 +0200 +++ /var/tmp/diff_new_pack.4thIti/_new 2011-07-22 09:16:16.000000000 +0200 @@ -1,7 +1,7 @@ -Index: b/etc/pm/sleep.d/99laptop-mode +Index: b/etc/pm/sleep.d/01laptop-mode ================================================================================ ---- laptop-mode-tools_1.53/usr/lib/pm-utils/sleep.d/99laptop-mode -+++ laptop-mode-tools_1.53/usr/lib/pm-utils/sleep.d/99laptop-mode +--- laptop-mode-tools_1.53/usr/lib/pm-utils/sleep.d/01laptop-mode ++++ laptop-mode-tools_1.53/usr/lib/pm-utils/sleep.d/01laptop-mode @@ -13,7 +13,8 @@ # Make laptop mode tools forcibly re-apply the hardware settings # that laptop mode tools applies. ++++++ laptop-mode-1.53-install_sh.diff ++++++ --- /var/tmp/diff_new_pack.4thIti/_old 2011-07-22 09:16:16.000000000 +0200 +++ /var/tmp/diff_new_pack.4thIti/_new 2011-07-22 09:16:16.000000000 +0200 @@ -1,17 +1,5 @@ Index: laptop-mode-tools_1.49/install.sh ================================================================================ ---- laptop-mode-tools_1.53/install.sh -+++ laptop-mode-tools_1.53/install.sh -@@ -183,7 +183,8 @@ - # Install pm-utils hook only if pm-utils config dir is present, or force the - # install if we have a DESTDIR. - if [ -n "$DESTDIR" -o -d "$DESTDIR/usr/lib/pm-utils/sleep.d" ] ; then -- if ( ! $INSTALL -D -m 755 usr/lib/pm-utils/sleep.d/99laptop-mode "$DESTDIR/usr/lib/pm-utils/sleep.d/99laptop-mode" ) ; then -+ # I don't think that this is the first thing that needs to run after resume, so i prio'd it down -- seife -+ if ( ! $INSTALL -D -m 755 usr/lib/pm-utils/sleep.d/99laptop-mode "$DESTDIR/usr/lib/pm-utils/sleep.d/05laptop-mode" ) ; then - echo "$0: Failed to install 99-laptop-mode into /usr/lib/pm-utils/sleep.d. Installation failed." - exit 36 - fi @@ -276,9 +277,9 @@ if [ "$INIT_D" != "none" ] ; then ++++++ laptop-mode-tools-1.57-kernel3.0.patch ++++++ Index: laptop-mode-tools_1.57/usr/sbin/laptop_mode =================================================================== --- laptop-mode-tools_1.57.orig/usr/sbin/laptop_mode +++ laptop-mode-tools_1.57/usr/sbin/laptop_mode @@ -503,7 +503,7 @@ lmt_main_function () case "$KLEVEL" in "2.4" ) ;; - "2.6" ) ;; + "2.6" | 3.*) ;; *) log "ERR" "Unhandled kernel version: $KLEVEL ('uname -r' = '$(uname -r)')" >&2 exit 1 Index: laptop-mode-tools_1.57/usr/share/laptop-mode-tools/modules/laptop-mode =================================================================== --- laptop-mode-tools_1.57.orig/usr/share/laptop-mode-tools/modules/laptop-mode +++ laptop-mode-tools_1.57/usr/share/laptop-mode-tools/modules/laptop-mode @@ -193,8 +193,8 @@ if [ "$ACTIVATE_WITH_POSSIBLE_DATA_LOSS" set_sysctl /proc/sys/vm/laptop_mode 1 set_sysctl /proc/sys/vm/bdflush "30 500 0 0 $AGE $AGE 60 20 0" ;; - "2.6") - log "VERBOSE" "Adjusting 2.6 kernel parameters to enable laptop mode." + "2.6"|3.*) + log "VERBOSE" "Adjusting 2.6/3.x kernel parameters to enable laptop mode." set_sysctl /proc/sys/vm/laptop_mode "$LM_SECONDS_BEFORE_SYNC" set_sysctl /proc/sys/vm/dirty_writeback_centisecs "$AGE" set_sysctl /proc/sys/vm/dirty_expire_centisecs "$AGE" @@ -321,8 +321,8 @@ else log "VERBOSE" "Adjusting 2.4 kernel parameters to disable laptop mode." set_sysctl /proc/sys/vm/bdflush "30 500 0 0 $U_AGE $B_AGE 60 20 0" ;; - "2.6") - log "VERBOSE" "Adjusting 2.6 kernel parameters to disable laptop mode." + "2.6"|3.*) + log "VERBOSE" "Adjusting 2.6/3.x kernel parameters to disable laptop mode." set_sysctl /proc/sys/vm/dirty_writeback_centisecs "$U_AGE" set_sysctl /proc/sys/vm/dirty_expire_centisecs "$B_AGE" set_sysctl /proc/sys/vm/dirty_ratio "$NOLM_DIRTY_RATIO" ++++++ laptop-mode-tools_1.53.tar.gz -> laptop-mode-tools_1.57.tar.gz ++++++ ++++ 2865 lines of diff (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
