[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#444500: marked as done (klaptopdaemon: "Hibernate" menu items missing with 2.6.22 and later kernels)



Your message dated Tue, 04 Mar 2008 11:17:07 +0000
with message-id <E1JWV8t-00020c-2j@ries.debian.org>
and subject line Bug#444500: fixed in kdeutils 4:3.5.9-1
has caused the Debian Bug report #444500,
regarding klaptopdaemon: "Hibernate" menu items missing with 2.6.22 and later kernels
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
444500: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=444500
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: klaptopdaemon
Version: 4:3.5.7-3
Severity: normal
Tags: upstream patch

Hi,

klaptopdaemon does not show the "Hibernate" menu items with recent
kernels. This is upstream Bug #148928. The attached patch (pulled from
upstream bugzilla) helps (locally tested).

Greetings
Marc

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22.3-scyw00225 (PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages klaptopdaemon depends on:
ii  kdelibs4c2a             4:3.5.7.dfsg.1-7 core libraries and binaries for al
ii  libc6                   2.6.1-5          GNU C Library: Shared libraries
ii  libgcc1                 1:4.2.1-5        GCC support library
ii  libqt3-mt               3:3.3.7-8        Qt GUI Library (Threaded runtime v
ii  libstdc++6              4.2.1-5          The GNU Standard C++ Library v3
ii  libxtst6                2:1.0.3-1        X11 Testing -- Resource extension 

klaptopdaemon recommends no packages.

-- no debconf information
--- ./klaptopdaemon/portable.cpp.old	2007-05-14 11:40:45.000000000 +0400
+++ ./klaptopdaemon/portable.cpp	2007-08-14 01:52:30.775790879 +0400
@@ -690,15 +690,16 @@ has_acpi_sleep(int state) 
 		mask = 0;
 
 		QFile p("/sys/power/state");
-		QFile f("/proc/acpi/sleep");
 
 		if (p.open(IO_ReadOnly)) {
+			QTextStream stream(&p);
 			QString l;
-			p.readLine(l,500);
+			l = stream.readLine();
+
 			QStringList ll = QStringList::split(' ',l,false);
 			for (QValueListIterator<QString> i = ll.begin(); i!=ll.end(); i++) {
 				QString s = *i;
-				
+
 				if (s.compare("standby")==0)
 				mask |= (1<<1);
 				else if (s.compare("mem")==0)
@@ -708,20 +709,6 @@ has_acpi_sleep(int state) 
 			}
 			p.close();
 		}
-		else if (f.open(IO_ReadOnly)) {
-			QString l;
-			f.readLine(l, 500);
-			QStringList ll = QStringList::split(' ',l,false);
-			for (QValueListIterator<QString> i = ll.begin(); i!=ll.end(); i++) {
-				QString s = *i;
-				if (s[0] == 'S') {
-					int c = s[1].digitValue();
-					if (c >= 0 && c <= 9)
-						mask |= 1<<c;
-				}
-			}
-			f.close();
-		}
 	}
 	return((mask&acpi_sleep_enabled&(1<<state)) != 0);
 }

--- End Message ---
--- Begin Message ---
Source: kdeutils
Source-Version: 4:3.5.9-1

We believe that the bug you reported is fixed in the latest version of
kdeutils, which is due to be installed in the Debian FTP archive:

ark_3.5.9-1_amd64.deb
  to pool/main/k/kdeutils/ark_3.5.9-1_amd64.deb
kcalc_3.5.9-1_amd64.deb
  to pool/main/k/kdeutils/kcalc_3.5.9-1_amd64.deb
kcharselect_3.5.9-1_amd64.deb
  to pool/main/k/kdeutils/kcharselect_3.5.9-1_amd64.deb
kdelirc_3.5.9-1_amd64.deb
  to pool/main/k/kdeutils/kdelirc_3.5.9-1_amd64.deb
kdessh_3.5.9-1_amd64.deb
  to pool/main/k/kdeutils/kdessh_3.5.9-1_amd64.deb
kdeutils-dbg_3.5.9-1_amd64.deb
  to pool/main/k/kdeutils/kdeutils-dbg_3.5.9-1_amd64.deb
kdeutils-dev_3.5.9-1_amd64.deb
  to pool/main/k/kdeutils/kdeutils-dev_3.5.9-1_amd64.deb
kdeutils-doc-html_3.5.9-1_all.deb
  to pool/main/k/kdeutils/kdeutils-doc-html_3.5.9-1_all.deb
kdeutils-doc_3.5.9-1_all.deb
  to pool/main/k/kdeutils/kdeutils-doc_3.5.9-1_all.deb
kdeutils_3.5.9-1.diff.gz
  to pool/main/k/kdeutils/kdeutils_3.5.9-1.diff.gz
kdeutils_3.5.9-1.dsc
  to pool/main/k/kdeutils/kdeutils_3.5.9-1.dsc
kdeutils_3.5.9-1_all.deb
  to pool/main/k/kdeutils/kdeutils_3.5.9-1_all.deb
kdeutils_3.5.9.orig.tar.gz
  to pool/main/k/kdeutils/kdeutils_3.5.9.orig.tar.gz
kdf_3.5.9-1_amd64.deb
  to pool/main/k/kdeutils/kdf_3.5.9-1_amd64.deb
kedit_3.5.9-1_amd64.deb
  to pool/main/k/kdeutils/kedit_3.5.9-1_amd64.deb
kfloppy_3.5.9-1_amd64.deb
  to pool/main/k/kdeutils/kfloppy_3.5.9-1_amd64.deb
kgpg_3.5.9-1_amd64.deb
  to pool/main/k/kdeutils/kgpg_3.5.9-1_amd64.deb
khexedit_3.5.9-1_amd64.deb
  to pool/main/k/kdeutils/khexedit_3.5.9-1_amd64.deb
kjots_3.5.9-1_amd64.deb
  to pool/main/k/kdeutils/kjots_3.5.9-1_amd64.deb
klaptopdaemon_3.5.9-1_amd64.deb
  to pool/main/k/kdeutils/klaptopdaemon_3.5.9-1_amd64.deb
kmilo_3.5.9-1_amd64.deb
  to pool/main/k/kdeutils/kmilo_3.5.9-1_amd64.deb
kregexpeditor_3.5.9-1_amd64.deb
  to pool/main/k/kdeutils/kregexpeditor_3.5.9-1_amd64.deb
ksim_3.5.9-1_amd64.deb
  to pool/main/k/kdeutils/ksim_3.5.9-1_amd64.deb
ktimer_3.5.9-1_amd64.deb
  to pool/main/k/kdeutils/ktimer_3.5.9-1_amd64.deb
kwalletmanager_3.5.9-1_amd64.deb
  to pool/main/k/kdeutils/kwalletmanager_3.5.9-1_amd64.deb
superkaramba_3.5.9-1_amd64.deb
  to pool/main/k/kdeutils/superkaramba_3.5.9-1_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 444500@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> (supplier of updated kdeutils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 02 Mar 2008 14:37:27 +0100
Source: kdeutils
Binary: kdeutils kdeutils-doc kdeutils-doc-html kdeutils-dev ark kcalc kcharselect kdelirc kdessh kdf kedit kfloppy kgpg khexedit kjots klaptopdaemon kmilo kregexpeditor ksim ktimer kwalletmanager superkaramba kdeutils-dbg
Architecture: source all amd64
Version: 4:3.5.9-1
Distribution: unstable
Urgency: low
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Description: 
 ark        - graphical archiving tool for KDE
 kcalc      - calculator for KDE
 kcharselect - character selector for KDE
 kdelirc    - infrared control for KDE
 kdessh     - ssh frontend for KDE
 kdeutils   - general purpose utilities from the official KDE release
 kdeutils-dbg - debugging symbols for kdeutils
 kdeutils-dev - development files for the KDE utilities module
 kdeutils-doc - developer documentation for the KDE utilities module
 kdeutils-doc-html - KDE utilities documentation in HTML format
 kdf        - disk space utility for KDE
 kedit      - basic text editor for KDE
 kfloppy    - floppy formatter for KDE
 kgpg       - GnuPG frontend for KDE
 khexedit   - KDE hex editor
 kjots      - note taking utility for KDE
 klaptopdaemon - battery monitoring and management for laptops using KDE
 kmilo      - laptop special keys support for KDE
 kregexpeditor - graphical regular expression editor plugin for KDE
 ksim       - system information monitor for KDE
 ktimer     - timer utility for KDE
 kwalletmanager - wallet manager for KDE
 superkaramba - a program based on karamba improving the eyecandy of KDE
Closes: 444500 464070
Changes: 
 kdeutils (4:3.5.9-1) unstable; urgency=low
 .
   * New upstream release.
     - "Hibernate" menu items are back in klaptopdaemon. (Closes: #444500)
     - kmilo uses new DCOP calls.  (Closes: #464070)
 .
   +++ Changes by Modestas Vainius:
 .
   * Resync patches:
     - 11_floppy_nodes.diff - remove, a bit different version merged upstream.
     - 13_klaptopdaemon_dpkg_statoverride.diff - fix offsets.
     - 14_kmilo_actions.diff - adopt to upstream changes.
     - 18_remove_temporal_file_kgpg.diff - remove, merged upstream.
   * Add automake cleanup patches:
     - 01_admin_cleanup.diff
     - 97_automake_cleanup.diff
   * Use ${source:Upstream-Version} for kdelibs4-dev dependency.
   * debian/rules:
     - remove PACKAGES_WITH_LIBS
     - bump shlibs to 3.5.9
 .
   +++ Changes by Ana Beatriz Guerrero Lopez:
 .
   * debian/copyright add copyright statement to the KDE project.
   * Update lintian overrides.
Files: 
 b1f361271b61b4210dfc21853edb5519 1532 kde optional kdeutils_3.5.9-1.dsc
 cfa5814cbb1a7f8e08079424397284d8 3916928 kde optional kdeutils_3.5.9.orig.tar.gz
 ff2b33e4053711da42e9730edb0d46bc 314472 kde optional kdeutils_3.5.9-1.diff.gz
 dc7ad1b8e24c8e46ec7f8282cc95c88c 11192 kde optional kdeutils_3.5.9-1_all.deb
 cffb8ebcd6e411bf68d93892db396a27 459324 doc optional kdeutils-doc_3.5.9-1_all.deb
 39b888c5a2cefe097d53a9cf41097849 110754 doc optional kdeutils-doc-html_3.5.9-1_all.deb
 ec2d53e4d2ba0fb34ba2035999478d01 28404 utils optional kdeutils-dev_3.5.9-1_amd64.deb
 a63354635c0aa61dd8422888b92fa168 309562 utils optional ark_3.5.9-1_amd64.deb
 17a1c3064105e416a5c195943fdf3db5 206924 utils optional kcalc_3.5.9-1_amd64.deb
 e3baa05f1a100163322de6f7f0318ce0 71206 utils optional kcharselect_3.5.9-1_amd64.deb
 9285a6aeae725542a6460316300cb2d7 273034 utils optional kdelirc_3.5.9-1_amd64.deb
 2dc3b0588342b9bcd392b96787c363a4 27886 kde optional kdessh_3.5.9-1_amd64.deb
 6a13cebada36c63774ecb9ccb53ecb17 352658 utils optional kdf_3.5.9-1_amd64.deb
 880741877bc24ac6d075422d040ab763 123650 editors optional kedit_3.5.9-1_amd64.deb
 bc4a11d6543073fdee9e5267202a5055 96952 utils optional kfloppy_3.5.9-1_amd64.deb
 08c94150fed6b0491e02b86e83d558b1 484310 kde optional kgpg_3.5.9-1_amd64.deb
 213c7fe0914152eee7c2dcac3a633b7b 407580 utils optional khexedit_3.5.9-1_amd64.deb
 eb41a90a7f85aa35bf99b75b1acd3289 112200 utils optional kjots_3.5.9-1_amd64.deb
 68721d5b8f2111b1d4edab8cb496de38 260456 kde optional klaptopdaemon_3.5.9-1_amd64.deb
 831dd0ea4b05beabb271917366adf7e9 167602 utils optional kmilo_3.5.9-1_amd64.deb
 408a951b0542e0d00e605a04fe3b0185 307962 kde optional kregexpeditor_3.5.9-1_amd64.deb
 a416908ed5ecba26349bd902eb3c0e91 472808 utils optional ksim_3.5.9-1_amd64.deb
 99ff8bd1a5372a72dfd1474811882638 71382 utils optional ktimer_3.5.9-1_amd64.deb
 6262dddd41a584e4b66e9682ea206a69 356142 utils optional kwalletmanager_3.5.9-1_amd64.deb
 a2f74e3b57cf64be49c54a0712765fbf 567978 kde optional superkaramba_3.5.9-1_amd64.deb
 1fc1200815ed02170f2a871972536c98 9030622 libdevel extra kdeutils-dbg_3.5.9-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Signed by Ana Guerrero

iD8DBQFHzS4fn3j4POjENGERAiFzAJ9BIxlaXRzQWxAMUB7r3IqwUF6nfQCdEV4U
mlxdV/MuoXlbH1Y7IfYARyw=
=MUws
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: