Wednesday, August 30, 2006

Hacking KMailCVT

Since a long time ... Yesterday I did some maintanance work for KMailCVT . In the last months I couldn't find the time to fix some known problems in the mail import tool of KMail but now I taked a look at this issues (for the KDE 3.5 branch):
  • I could not move imported mails from mailinglist archives to a Cyrus IMAP account because of not allowed line starting with "From " (not to mistaken with "From: ") in the header. I fixed this by removing the line while import (see commit).
  • If you import mails from a mbox file the state of the emails is not set back to KMail. All mails are marked as new (see e.g. kde.org bug #114923). I added detection of the X-Status flag to set the correct state the imported mails (see commit). I tried also to add the same to the kmail-maildir import filter (which worked), but unfortunately there are some problems in KMail with set the X-Status flag correct to the mail files (bug #133210).
As next I plan to check also the other mailfilter to read and set the state of the mail. There are also some problems with the interactivty of the filters if you chancel the import process which need some work. And at least: I need to port the changes to the KDE4 tree ...

Tuesday, July 04, 2006

KPowersave update v0.6.2 released

Sunday I released the a new update for the stable tree of KPowersave with version number 0.6.2 and also a new powersave version (v0.12.20) to sf.net. This release fixes more than eight bugs. Here the most important changes:
  • KPowersave depends now on powersave >= 0.12.18
  • fixed bugs:
    • sf.net #1483392/ SUSE #177792: set changes for autosuspend state via DCOP back to the applet menu, added DCOP functions to set the current scheme, the current CPUFreq policy and to open/close the detailed dialog
    • sf.net #1483392/ SUSE #177788,180000: added workaround to fix two bugs in the DPMS- and Screensaver extension of X, related to autosuspend and detect user inactivity (DPMS timeouts are abstracted from current idle time, but shouldn't / DPMS timeouts are currently additive but shouldn't). This fix problems with autosuspend if the timeout is longer than the DPMS timeouts.
    • SUSE #168619: changed errorhandling if HAL, DBUS or the powersave daemon is not running or if the user has not the needed rights to access the powersave daemon via DBUS. Added new errormessages and translations.
    • SUSE #182515: Changed configure dialog to respect rules for DPMS timeouts
    • SUSE #176782: patch from Timo Hönig to allow (if supported and enabled in the scheme) change brighness via mousewheel over the applet icon.
    • SUSE (SLED) #183745: fixed detection of SUSE Linux/SLES/SLED and added Fixed bugzilla link for SLED/SLES configure option to force SLES/SLED as distro with --enable-suse-sles.
    • SUSE #184076: fixed wrong command to start dbus daemon in errormessage.
    • added additional check before autosuspend if this was disabled via applet
  • added new configure check to detect Ubuntu/Kubuntu
  • changed link to Ubuntu bugzilla to launchpad.net and use now the same link for applet menu entry "Report a bug ..." if compiled for Ubuntu/Kubuntu
  • updated default blacklist for autosuspend with gmplayer,kaffeine,xine,mencoder
  • updated translation: cs,de,es,fi,fr,hu,it,km,pl,pt_BR,zh_CN,zh_TW
  • updated (cs) and fixed translation of eventsrc for KNotify
  • fixed and updated code documentation
Packages are, as always, available on the sourceforge project page for SUSE Linux 10.0, FC4/5, Mandriva and Slackware and via links on kde-apps.org for other distributions (note: the new version is maybe not available for all of them at the moment) including Debian, K/Ubuntu, Arch Linx, Gentoo or ALT Linux.

Thursday, June 15, 2006

And again ... more distributions

KPowersave is now among SUSE Linux, Debian, K/Ubuntu, Mandriva, Slackware, ALT Linux, Arch Linux, Fedora Core 4/5 and Gentoo available on two additional distributions.

On FoX Desktop 1.0 Professional (a Fedora based KDE distribution) KPowersave and powersave are the default powermanagement solution (see Release Notes).

KPowersave (and also powersave) is now available in the development tree of PLD Linux. You can download the package from the 3.0 tree of the ftp server. PLD Linux is also a former RedHat based polish distribution.

Monday, May 15, 2006

KPowersave stable update v0.6.1 released

Yesterday (5/25/2006) I released the first update for the current stable tree of KPowersave. Packages are, as always, available on the sourceforge project page for SUSE Linux 10.0, FC4/5, Mandriva and Slackware and via links on kde-apps.org for other distributions including Debian, K/Ubuntu, Arch Linx, Gentoo or ALT Linux.

This release fixes some UTF-8 [bug #165462] and translation [bug #168838] issues in the KNotify dialog and fixes the applet tooltip and displayed remaining battery time on APM machines (incl. code cleanup) [bug #167296]. This version also fix the detailed dialog for multiprocessor/-core machines without CPUFreq or throttling support and offline CPUs/Cores. Other updates: translation updates (fi, km, pl) including desktop files and eventsrc (ru from Anton Farygin ), updated README and an additional configure check for needed dbus-qt3-devel.

For Fedora, it is strongly recommended to update powersave to 0.12.17 (powersave is added automatically to boot). For all other distributions, updating powersave is also recommended.

Sunday, April 23, 2006

New packages ... more distributions

Some new messages about powersave and KPowersave: I added packages for Fedora Core 5 to the sourceforge project website. It was again a pain to create the new rpms. I don't know if really someone develop KDE applications on FC5, but if I need to compile a own dbus-qt3 and dbus-qt3-devel package - only because there is no rpm available and the related section in the specfile is out-commented - something is wrong with this distribution. Btw. Because of this I added also the needed dbus-qt3 rpms here. If you try to install and use KPowersave on FC5 you need at least the dbus-qt3 package. Unfortunately if have no experiences with SELinux and also the guys on the fedora selinux irc-channel were not very helpful. Hence you need to disable selinux support or at least the rule for acpi(d) on FC5. Patches for powersave are welcome.

Since powersave supports s2ram, I also added a suspend package (which include s2ram) for SUSE Linux 10.0 to sf.net. You also need to update pciutils to version 2.2.1, packages are available on the same download page.

Finally: powersave and KPowersave are now also available for Arch Linux. You can find the PKGBUILD powersave packages in the unstable tree and the KPowersave PKGBUILD here.

Thursday, April 13, 2006

KPowersave 0.6.0 (stable) released

Monday I released the new stable KPowersave, version 0.6.0. The release contains several fixes for the processor information in the detailed dialog (e.g. for multiprocessor machines with throttling support), fixes for the battery infos in the tooltip, a fix from Michael Biebl for events after autosuspend, fixed errorhandling for call YaST power-management module and fixed the timeout for connection to powersave on startup to avoid problems with slow machines and autosuspend. I reduced the size of the package by optimize the included png-files and added a german version of the handbook. Also included: translation updates, changed links for report bugs from the applet menu if the installation is a SUSE/SLES/SLED, added support for lock screen with gnome-screensaver and added fake a key event after resume if the screen was locked to get the unlock dialog automatically. For all changes since the last stable version and the release news, read here.

Thanks to all people which helped to develop KPowersave and make the hole project successful with code, patches, testing all the unstable versions, reported bugs, their ideas and all the spend time. Special thanks to Holger Macht, Stefan Seyfried, Michael Biebl and Daniel Gollub.

You can download KPowersave for SUSE 10.0 (for 10.1 from factory repository or from the CD/DVD), Fedora Core 4 and Mandriva from the sourceforge project page. You can find links to download packages for e.g. Debian, Ubuntu, Kubuntu, Gentoo and Alt Linux on the kde-apps.org KPowersave page.

Wednesday, April 12, 2006

kernel module packages

Last week , while testing KPowersave on Kubuntu to force UpstreamVersionFreeze Exception process, I tested a LG M1 Express Dual as first with SUSE 10.1 Beta9, but it was a pain to install on this machine. I couldn't start installation via SLP: the kernel doesn't support the network card, USB and cardbus tulip network card also not worked. At the end I used a DVD to install the laptop.

After installation, in the running system the network worked via the usb docking station (also if KNetworkManager alway try to use COM1 instead of the correct networkinterface and I need to switch this always manually) but not correct via a Tulip cardbus card. I need pci=assigned_busses as kernel parameter and the card must be inserted before the yenta_socket kernel module is loaded. But also in this case the tulip module is not loaded automatically.

Btw. the onboard networkcard is not supported by the kernel. It's a Agere Systems ET1310 ethernet card. There was a patch (from a Agere developer as it looks) available e.g. on dadams1969.googlepages.com to add kernel support. I tested the module on the machine and it worked. But I needed to add some little fixes to get the patch compile. While testing I recognised that the module generate random mac addresses. Looks as if the first read from the EEPROM, to get the mac of the hardware, fail and instead of try again it generates a random address. With a little workaround (read directly two times from the EEPROM) I get the correct address.

Because it's not really a good idea to compile each time while BETA testing, after each kernel update or new installaation I made a et131-KMP package. Thanks to Andreas Gruenbacher for the help to get the package build. It's not available via factory tree at the moment. But If you need this package you can download it (without any support or guaranty) here. I hope Agere fix the module and try to get this in the linux kernel.

I also added a omnibook-KMP package to the factory tree. I should allow a lot of machines e.g. to get support for brightness change. For more information about the supported Laptops (HP Omnibook and Pavilion, Toshiba Satellite and some FSC, Compal, Acer and Compaq) and the features see the sf.net
omke project page. I already added support for the module to powersave. The package should be on the media of RC1 and SUSE Linux 10.1/SLES 10/SLED 10.