--- powerd-0.13+13.10.20130812.orig/debian/powerd.conf +++ powerd-0.13+13.10.20130812/debian/powerd.conf @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + --- powerd-0.13+13.10.20130812.orig/debian/copyright +++ powerd-0.13+13.10.20130812/debian/copyright @@ -0,0 +1,25 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Power daemon to monitor power button events +Upstream-Contact: Michael Frey +Source: https://launchpad.net/~rocket-scientists/aal+/powerd + +Files: * +Copyright: Copyright (C) 2012-2013, Canonical Ltd +License: GPL-3 + +License: GPL-3 + This program is free software: you can redistribute it and/or modify it + under the terms of the the GNU General Public License version 3, as + published by the Free Software Foundation. + . + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranties of + MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR + PURPOSE. See the applicable version of the GNU Lesser General Public + License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU General Public License + can be found in `/usr/share/common-licenses/GPL-3' --- powerd-0.13+13.10.20130812.orig/debian/control +++ powerd-0.13+13.10.20130812/debian/control @@ -0,0 +1,28 @@ +Source: powerd +Priority: optional +Section: admin +Maintainer: Ubuntu Developers +Build-Depends: debhelper (>= 9), + cmake, + libglib2.0-dev, + libhybris-dev, + libudev-dev, + python, + libplatform-api1-dev, + libupower-glib-dev, + uuid-dev, +Standards-Version: 3.9.4 +Homepage: https://launchpad.net/powerd +# If you aren't a member of ~phablet-team but need to upload packaging changes, +# just go ahead. ~phablet-team will notice and sync up the code again. +Vcs-Bzr: https://code.launchpad.net/~phablet-team/powerd/trunk + +Package: powerd +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, upower +Recommends: ofono +Description: Power daemon to monitor and control system and display power state + This daemon monitors and controls system and display power states for Ubuntu + phone and tablet. It provides a dbus interface for system services to request + a power state, essentially allowing services to block suspend. Additionally + it monitors user activity and power button presses. --- powerd-0.13+13.10.20130812.orig/debian/compat +++ powerd-0.13+13.10.20130812/debian/compat @@ -0,0 +1 @@ +9 --- powerd-0.13+13.10.20130812.orig/debian/rules +++ powerd-0.13+13.10.20130812/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 +export DPKG_GENSYMBOLS_CHECK_LEVEL = 4 + +%: + dh $@ + +override_dh_install: + dh_install --fail-missing --- powerd-0.13+13.10.20130812.orig/debian/changelog +++ powerd-0.13+13.10.20130812/debian/changelog @@ -0,0 +1,389 @@ +powerd (0.13+13.10.20130812-0ubuntu1) saucy; urgency=low + + [ Seth Forshee ] + * Add support for collecting and reporting statistics about requests. + + [ Ubuntu daily release ] + * Automatic snapshot from revision 83 + + -- Ubuntu daily release Mon, 12 Aug 2013 18:41:25 +0000 + +powerd (0.13+13.10.20130806-0ubuntu1) saucy; urgency=low + + [ Seth Forshee ] + * Improve error handling in system power state change state machine. + * Remove build-depends on libgles2-mesa-dev. + * Fix bug in argument processing for 'powerd-cli display'. + + [ Ubuntu daily release ] + * Automatic snapshot from revision 81 + + -- Ubuntu daily release Tue, 06 Aug 2013 02:02:15 +0000 + +powerd (0.13+13.10.20130802-0ubuntu1) saucy; urgency=low + + [ Seth Forshee ] + * Add "name" argument to dbus request APIs to help in debugging power + problems. + + [ Ubuntu daily release ] + * Automatic snapshot from revision 77 + + -- Ubuntu daily release Fri, 02 Aug 2013 02:01:55 +0000 + +powerd (0.13+13.10.20130725-0ubuntu1) saucy; urgency=low + + [ Seth Forshee ] + * Change hash usage to use iterators instead of + g_hash_table_foreach(). + * Add support for registering clients to acknowledge system state + changes. + + [ Ubuntu daily release ] + * Automatic snapshot from revision 75 + + -- Ubuntu daily release Thu, 25 Jul 2013 02:02:37 +0000 + +powerd (0.13+13.10.20130720-0ubuntu1) saucy; urgency=low + + [ Matthew Fischer ] + * Simplify the API by dropping the special brightness setting and + instead make it a flag. + + [ Ubuntu daily release ] + * Automatic snapshot from revision 72 + + -- Ubuntu daily release Sat, 20 Jul 2013 02:01:50 +0000 + +powerd (0.13+13.10.20130718-0ubuntu1) saucy; urgency=low + + [ Seth Forshee ] + * Add ANDROID_ROOT=/system to upstart job to get power button working + again (LP: 1200156). (LP: #1200156) + * Clean up powerd-cli output. + * Add shutdown on critically low battery, using upower for battery + information (LP: 1123387). (LP: #1123387) + + [ Ubuntu daily release ] + * Automatic snapshot from revision 70 + + -- Ubuntu daily release Thu, 18 Jul 2013 02:01:36 +0000 + +powerd (0.13+13.10.20130711-0ubuntu2) saucy; urgency=low + + [ Seth Forshee ] + * Add ANDROID_ROOT=/system to upstart job to get power button working again + (LP: 1200156) + + [ Oliver Grawert ] + * upload this package manually, after over 30h with the approved MR it still + did not come out of CI and it severely breaks the images. + + -- Oliver Grawert Sat, 13 Jul 2013 11:29:16 +0200 + +powerd (0.13+13.10.20130711-0ubuntu1) saucy; urgency=low + + [ Seth Forshee ] + * Enable -Wall for all files and fix resulting warnings. + * Type check powerd_log() arguments against the format string. + + [ Matthew Fischer ] + * Cleanup upstart job by removing unneeded environment variables and + have the job respawn if powerd dies unexpectedly. Simplify the + sigterm handler, which also removes the duplicate calls to unown + name which were causing warnings. Finally, fix LP: #1195800 by + simply exiting if we lose or never get our dbus name. . (LP: + #1195800) + + [ Ubuntu daily release ] + * Automatic snapshot from revision 65 + + -- Ubuntu daily release Thu, 11 Jul 2013 02:01:51 +0000 + +powerd (0.13+13.10.20130703-0ubuntu1) saucy; urgency=low + + [ Seth Forshee ] + * Remove pid arguments from dbus API. + + [ Timo Jyrinki ] + * Architecture any instead of armhf/amd64/i386. powerpc is not + blocking releases anymore. + + [ Ubuntu daily release ] + * Automatic snapshot from revision 61 + + -- Ubuntu daily release Wed, 03 Jul 2013 02:01:08 +0000 + +powerd (0.13+13.10.20130702-0ubuntu1) saucy; urgency=low + + [ Seth Forshee ] + * Make backlight code more flexible and robust. + + [ Ricardo Salveti de Araujo ] + * Also build for i386 and amd64 (original restriction from libhybris). + + [ Matthew Fischer ] + * Monitor for processes dropping off of dbus and remove all their + display and system requests when they do so. + + [ Ubuntu daily release ] + * Automatic snapshot from revision 58 + + -- Ubuntu daily release Tue, 02 Jul 2013 02:01:09 +0000 + +powerd (0.13+13.10.20130626-0ubuntu1) saucy; urgency=low + + [ Seth Forshee ] + * Allow power button to override display on requests. + + [ Ubuntu daily release ] + * Automatic snapshot from revision 54 + + -- Ubuntu daily release Wed, 26 Jun 2013 02:01:10 +0000 + +powerd (0.13daily13.06.25-0ubuntu1) saucy; urgency=low + + [ Seth Forshee ] + * Fix errors/warnings in 64-bit builds from pointer<->integer casts. + * Fix incorrect debug output of the aggregate display request state + (LP: #1192589). (LP: #1192589) + + [ Ubuntu daily release ] + * Automatic snapshot from revision 52 + + -- Ubuntu daily release Tue, 25 Jun 2013 02:01:06 +0000 + +powerd (0.13daily13.06.17-0ubuntu1) saucy; urgency=low + + [ Seth Forshee ] + * Add control of screen brightness based on bright/dim display + state requests + * Add auto-dimming of the screen. The timeout after which the + screen will be dimmed is controlled by the dim-timeout setting. + * Fix bug in powerd-cli where bright state is used when dim is + specified on the command line + + [ Ubuntu daily release ] + * Automatic snapshot from revision 49 + + -- Ubuntu daily release Mon, 17 Jun 2013 02:02:09 +0000 + +powerd (0.13daily13.06.14-0ubuntu1) saucy; urgency=low + + [ Seth Forshee ] + * Change display request support to not update the display state + when added/removed requests cause no aggregate change + * Emit a signal when the display state changes + * Fix errant "Unknown signal from powerd" messages when running + 'powerd-cli listen' + * Increase default screen timeout to 60 seconds. + * Updates to display request API and corresponding tests. + + [ Ubuntu daily release ] + * Automatic snapshot from revision 46 + + -- Ubuntu daily release Fri, 14 Jun 2013 02:02:05 +0000 + +powerd (0.13daily13.06.12-0ubuntu3) UNRELEASED; urgency=low + + [ Seth Forshee ] + * Change display request support to not update the display state + when added/removed requests cause no aggregate change + * Emit a signal when the display state changes + * Fix errant "Unknown signal from powerd" messages when running + 'powerd-cli listen' + + [ Matthew Fischer ] + * Only enable proximity sensor when the call is answered (LP: #1189945) + * Clean up some of the signal handling code by separating the signal + handlers, which should be slightly more performant + + -- Matthew Fischer Thu, 13 Jun 2013 14:14:27 -0600 + +powerd (0.13daily13.06.12-0ubuntu1) saucy; urgency=low + + [ Seth Forshee ] + * * Add support for display requests * Add display request dbus + interface * Convert activity timeout and proximity sensor support to + use display requests. + * Log powerd messages to syslog instead of stdout/stderr (LP: + #1189538). (LP: #1189538) + + [ Matthew Fischer ] + * * Add support for display requests * Add display request dbus + interface * Convert activity timeout and proximity sensor support to + use display requests. + + [ Ubuntu daily release ] + * Automatic snapshot from revision 42 + + -- Ubuntu daily release Wed, 12 Jun 2013 02:02:03 +0000 + +powerd (0.13daily13.06.11-0ubuntu1) saucy; urgency=low + + [ Seth Forshee ] + * * Add powerd_run_mainloop_sync() for running a task on the main loop + and waiting for it to complete * Convert system request code to use + powerd_run_mainloop_sync() rather than using mutexes. + + [ Ubuntu daily release ] + * Automatic snapshot from revision 39 + + -- Ubuntu daily release Tue, 11 Jun 2013 02:02:04 +0000 + +powerd (0.13daily13.06.10-0ubuntu1) saucy; urgency=low + + [ Seth Forshee ] + * Use a hash table for storing system state requests. + * Fix bug where fb_state_changed() could be rescheduled on the main + loop indefinitely. + + [ Matthew Fischer ] + * Add support for turning the screen on when a Class 0 SMS arrives. + * Wait for dbus to start before starting powerd. + * Add a mode for debug builds and disable the debug flags by default. + + [ Ubuntu daily release ] + * Automatic snapshot from revision 37 + + -- Ubuntu daily release Mon, 10 Jun 2013 02:02:02 +0000 + +powerd (0.13daily13.06.05-0ubuntu1) saucy; urgency=low + + [ Sergio Schvezov ] + * Automatic snapshot from revision 30 (bootstrap) + * Daily release packaging. + + [ Ubuntu daily release ] + * Automatic snapshot from revision 31 + + -- Ubuntu daily release Wed, 05 Jun 2013 02:01:59 +0000 + +powerd (0.12) saucy; urgency=low + + [ Seth Forshee ] + * Fix use of uninitialized variable in wait_for_fb_thread(). Also + change type of the variable to elimante warning on 64-bit builds. + * Remove unnecessary calls to g_type_init() + * Change cookies from monotonically-increasing integer to UUIDs + * Add test for supplying an invalidly formatted UUID to clearSysState + * Improve dbus error handling + + [ Ken VanDine ] + * Don't listen for proximity events of prox_sensor is NULL (LP: #1186706) + + -- Sergio Schvezov Mon, 03 Jun 2013 17:33:36 -0300 + +powerd (0.11) raring; urgency=low + + [ Ricardo Mendoza ] + * Provide initial sensors control + * Turn screen off when in call and proximity = NEAR. + + [ Seth Forshee ] + * Don't hold active request during calls + * Reduce notification timeout from 5s to 100ms to expedite disabling of + the touchscreen + + -- Seth Forshee Thu, 30 May 2013 16:15:42 -0500 + +powerd (0.10) raring; urgency=low + + * Move code which manages the display to its own file + * Eliminate sleep before turning on display by using the + /sys/power/wait_for_fb_* files to synchronize with the kernel when + required + * Eliminate potential for races when calling powerd_set_display_state() + * Fix bug where backlight would be left at 0 brightness indefinitely + + -- Seth Forshee Tue, 28 May 2013 11:43:12 -0500 + +powerd (0.9) raring; urgency=low + + * Add a dconf setting that lets users set the activity timeout + + -- Matthew Fischer Fri, 24 May 2013 12:51:21 -0600 + +powerd (0.8) raring; urgency=low + + [ Seth Forshee ] + * Move system state processing to all be done on mainloop via a state + machine + * Emit dbus signals for state changes + * Wait for a timeout period before completing state changes + * Protect access to system state requests lists using a mutex + * Add wake lock interfaces to libsuspend + * Use wake locks to block suspend while processing incoming state change + requests + * Serialize access to activity timer + * Fix issue where screen may turn off during user aciivity (LP: #1183865) + * Bug fixes and clean-up + + -- Seth Forshee Fri, 24 May 2013 11:54:09 -0500 + +powerd (0.7) raring; urgency=low + + [ Matthew Fischer ] + * API Change: Add state to the return value for the listRequests + * New CLI tool, powerd-cli, which can be used for testing, debugging, + or to keep the system from suspending. + * Exit from suspend and turn screen on when receiving an incoming SMS + or phone call + + [ Seth Forshee ] + * Force the initial state to screen on, not suspended, in order to + alleviate problems if powerd is started when the screen is off. + * Fix Nexus10 suspend issue + * Remove unnecessary newlines from glib log messages + + -- Seth Forshee Thu, 23 May 2013 12:09:05 -0500 + +powerd (0.6) raring; urgency=low + + [ Michael Frey ] + * Automatically suspend the device when inactive + + [ Matthew Fischer ] + * Add dbus methods for requesting system power states + + [ Seth Forshee ] + * Add a low-level platform-neutral suspend library + * Modify code internally to use system power requests + + -- Matthew Fischer Tue, 21 May 2013 08:45:06 -0600 + +powerd (0.5) quantal; urgency=low + + * Dim / un-dim screen on suspend / resume. + * Dim screen before poweroff. + + -- Michael Frey Wed, 13 Feb 2013 12:40:54 -0500 + +powerd (0.4) quantal; urgency=low + + * Removing dependency at poweroff-notifier, not used anymore. + + -- Ricardo Salveti de Araujo Thu, 31 Jan 2013 17:33:58 -0500 + +powerd (0.3) quantal; urgency=low + + * Use new blank / unblank api to properly power off + and on the display when going to sleep / wake. + + -- Michael Frey Thu, 24 Jan 2013 10:08:20 -0500 + +powerd (0.2) quantal; urgency=low + + * Code cleanup. + * Added activity timer. Auto suspend after 30 seconds of inactivity. + (disabled for now) + * Just call poweroff instead of the notifier. + (LP: #1090506) + + -- Michael Frey Thu, 08 Nov 2012 09:27:17 -0500 + +powerd (0.1) unstable; urgency=low + + * Initial release + + -- Ricardo Salveti de Araujo Wed, 07 Nov 2012 01:56:07 -0200 --- powerd-0.13+13.10.20130812.orig/debian/install +++ powerd-0.13+13.10.20130812/debian/install @@ -0,0 +1 @@ +debian/powerd.conf etc/dbus-1/system.d/ --- powerd-0.13+13.10.20130812.orig/debian/upstart +++ powerd-0.13+13.10.20130812/debian/upstart @@ -0,0 +1,11 @@ +author "Michael Frey " + +start on started dbus + +respawn + +env ANDROID_ROOT=/system +#uncomment the line below to enable debugging +#env POWERD_DEBUG=1 + +exec /usr/bin/powerd --- powerd-0.13+13.10.20130812.orig/debian/source/format +++ powerd-0.13+13.10.20130812/debian/source/format @@ -0,0 +1 @@ +1.0