I couldn't find a solution to hibernate my computer after inactivity in Gentoo. I found the sleepd daemon that exactly does this. Is anybody already working on an ebuild for that? Otherwise I could try to provide an ebuild and init scripts for this very useful little program. Best regards, Christian.
Created attachment 83279 [details] sleepd 1.3.4 ebuild Hi! Please find attached sleepd-1.4.4.ebuild and a patch so that it will run on desktop computers without batteries. I suggest sys-power/sleepd. This ebuild depends on sys-apps/apmd because of libapm. Best regards, Christian.
Created attachment 83280 [details, diff] patch to make sleepd run on desktop computers
Created attachment 83281 [details] init script for sleepd
Created attachment 83282 [details] configuration for sleepd
Created attachment 84001 [details] sleepd-1.3.5.ebuild New version for sleepd. This version makes the patch obsolete as it has been added upstream.
Version 1.3.7 can be installed by just copying the 1.3.5 ebuild.
Created attachment 145412 [details] sleepd 1.9 ebuild with hal/dbus dependency version bump to sleepd 1.9. This adds depency to hal and dbus to determine battery status
(this is an automated message based on filtering criteria that matched this bug) 'EBUILD' is in the KEYWORDS which should mean that there is a ebuild attached to this bug. This bug is assigned to maintainer-wanted which means that it is not in the main tree. Heuristics show that no Gentoo developer has commented on your ebuild. Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. We also apologize for not being able to accommodate you in a timely manner. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay. So, the sunrise team is suggesting that you look into this and submit your ebuild to the overlay where even *you* can commit to. =) Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. Thanks, On behalf of the Gentoo Sunrise Team, Jeremy. [1]: http://www.gentoo.org/proj/en/sunrise/ [2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
Created attachment 224031 [details] sleepd 2.01 ebuild, builds without apm package installed
Created attachment 224033 [details, diff] patch for 2.01 ebuild
Created attachment 267139 [details] sleepd 2.04 ebuild sys-power/sleepd-2.04 builds with /or without apm and dbus support. dependencies tuneable by USE flags.
Created attachment 267141 [details, diff] sleepd 2.04 no-hal/dbus patch this patch removes dependency on dbus and hal for latest sleepd