--- powerd-0.13+14.04.20140328.1.orig/debian/changelog +++ powerd-0.13+14.04.20140328.1/debian/changelog @@ -0,0 +1,592 @@ +powerd (0.13+14.04.20140328.1-0ubuntu1) trusty; urgency=low + + [ Alfonso Sanchez-Beato ] + * Add support for multiple ofono modems (LP#1295085). Handle + simultaneous voice calls (LP#1191033). Listen to ofono USSD signals + (LP: #1191033, #1295085) + + [ Ubuntu daily release ] + * New rebuild forced + + -- Ubuntu daily release Fri, 28 Mar 2014 15:30:54 +0000 + +powerd (0.13+14.04.20140328-0ubuntu1) trusty; urgency=low + + [ Ubuntu daily release ] + * New rebuild forced + + [ Oliver Grawert ] + * Allow any user at console (adb shell) to send commands this is + needed for unlocking the screen in tests (LP: 1298869) (LP: + #1298869) + + -- Ubuntu daily release Fri, 28 Mar 2014 10:15:44 +0000 + +powerd (0.13+14.04.20140327-0ubuntu1) trusty; urgency=low + + [ Ubuntu daily release ] + * New rebuild forced + + [ Ricardo Salveti de Araujo ] + * Aborting in case it can't find the android input compat stack + * Requesting default display and system state when running in the + emulator. + + [ Colin King ] + * Minor tidy up and corrections to powerd cli help (LP: #1231455) (LP: + #1231455) + + [ Y.C cheng ] + * Allow non-root to talk to powerd. (LP: #1287599) + + -- Ubuntu daily release Thu, 27 Mar 2014 21:01:04 +0000 + +powerd (0.13+14.04.20140129-0ubuntu1) trusty; urgency=low + + [ Ricardo Salveti de Araujo ] + * Adding device config for flo and hammerhead + + -- Ubuntu daily release Wed, 29 Jan 2014 11:24:39 +0000 + +powerd (0.13+14.04.20140124-0ubuntu1) trusty; urgency=low + + [ Michael Frey ] + * Keep DISPLAY_ON for proximity sensor while on a call so the lock + screen does not present itself (Fix for LP: #1269611). (LP: + #1269611) + + [ Dimitri John Ledkov ] + * Build-depend on python:any, instead of python. Fixes FT-X-BFS. + + [ Ubuntu daily release ] + * Automatic snapshot from revision 110 + + -- Ubuntu daily release Fri, 24 Jan 2014 14:29:46 +0000 + +powerd (0.13+14.04.20140123-0ubuntu1) trusty; urgency=low + + [ Seth Forshee ] + * Add dbus interfaces to allow getting brightness parameters and + changing brightness settings + * Add powerd-cli support for these new dbus interfaces + * Change backlight code to use Android HAL for changing brightness, + making it compatible with more devices + * Disable autobrightness on startup until user setting is supplied + * Fix build warning + * Eliminate short delay before changing screen brightness when going + from a dim or off state to bright with autobrightness enabled + (LP: #1221672) + + [ Ubuntu daily release ] + * Automatic snapshot from revision 107 + + -- Ubuntu daily release Thu, 23 Jan 2014 15:53:18 +0000 + +powerd (0.13+14.04.20140108.1-0ubuntu1) trusty; urgency=low + + [ Ricardo Salveti de Araujo ] + * Using pkg-config files from hybris, and depending on latest version + . + + [ Seth Forshee ] + * Synchronously wait on the framebuffer state to change when + entering/exiting suspend with kernels using the earlysuspend + implementation to avoid races which can lead to attempting to use + the display device while it is suspended. (LP: #1258655) + + [ Ubuntu daily release ] + * Automatic snapshot from revision 105 + + -- Ubuntu daily release Wed, 08 Jan 2014 06:17:08 +0000 + +powerd (0.13+13.10.20131010-0ubuntu1) saucy; urgency=low + + [ Ricardo Mendoza ] + * Under Mir, only suspend if Mir is still alive; this is to prevent + the GPU state and the display server expectations getting out of + sync when starting up. + + [ Ubuntu daily release ] + * Automatic snapshot from revision 102 + + -- Ubuntu daily release Thu, 10 Oct 2013 15:36:20 +0000 + +powerd (0.13+13.10.20131009-0ubuntu1) saucy; urgency=low + + [ Ricardo Mendoza ] + * Use power HAL to signal power subsystems to resume quickly as user + interaction is expected. (LP: #1233257) + + [ Ubuntu daily release ] + * Automatic snapshot from revision 100 + + -- Ubuntu daily release Wed, 09 Oct 2013 20:27:40 +0000 + +powerd (0.13+13.10.20131007.1-0ubuntu1) saucy; urgency=low + + [ Seth Forshee ] + * Don't reset the activity timer for touch events if the screen is of + (LP: #1234743). (LP: #1234743) + + [ Ubuntu daily release ] + * Automatic snapshot from revision 98 + + -- Ubuntu daily release Mon, 07 Oct 2013 12:06:34 +0000 + +powerd (0.13+13.10.20131007-0ubuntu1) saucy; urgency=low + + [ Seth Forshee ] + * Remove use of gsettings and the associated settings for the activity + and dim timeouts. + + [ Ubuntu daily release ] + * Automatic snapshot from revision 96 + + -- Ubuntu daily release Mon, 07 Oct 2013 09:41:43 +0000 + +powerd (0.13+13.10.20130926-0ubuntu1) saucy; urgency=low + + [ Ricardo Mendoza ] + * Allow powerd to work with unity-mir's DBus API for screen power + control, selective using the backend available according to the + running display server. (LP: #1193222) + + [ Ubuntu daily release ] + * Automatic snapshot from revision 94 + + -- Ubuntu daily release Thu, 26 Sep 2013 18:34:30 +0000 + +powerd (0.13+13.10.20130905-0ubuntu1) saucy; urgency=low + + [ Seth Forshee ] + * Minor fixes for build and static analysis warnings. + + [ Ubuntu daily release ] + * Automatic snapshot from revision 92 + + -- Ubuntu daily release Thu, 05 Sep 2013 04:22:13 +0000 + +powerd (0.13+13.10.20130904-0ubuntu1) saucy; urgency=low + + [ Seth Forshee ] + * Add thermal shutdown support. + * Dump statistics to syslog on low battery. + + [ Ubuntu daily release ] + * Automatic snapshot from revision 90 + + -- Ubuntu daily release Wed, 04 Sep 2013 02:32:06 +0000 + +powerd (0.13+13.10.20130903-0ubuntu1) saucy; urgency=low + + [ Seth Forshee ] + * Add support for automatically adjusting the display backlight in + response to ambient brightness. + + [ Ubuntu daily release ] + * Automatic snapshot from revision 87 + + -- Ubuntu daily release Tue, 03 Sep 2013 14:46:09 +0000 + +powerd (0.13+13.10.20130814-0ubuntu1) saucy; urgency=low + + [ Oliver Grawert ] + * fix race condition on boot, we need to wait until the proximity sensor is + available before starting, the container emits an "android" event once it + is done bootimg ... make the upstart job wait for this event so we can be + sure the sensorservice is available on the android side + + [ Ubuntu daily release ] + * Automatic snapshot from revision 85 + + -- Ubuntu daily release Wed, 14 Aug 2013 14:06:13 +0000 + +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+14.04.20140328.1.orig/debian/compat +++ powerd-0.13+14.04.20140328.1/debian/compat @@ -0,0 +1 @@ +9 --- powerd-0.13+14.04.20140328.1.orig/debian/control +++ powerd-0.13+14.04.20140328.1/debian/control @@ -0,0 +1,30 @@ +Source: powerd +Priority: optional +Section: admin +Maintainer: Ubuntu Developers +Build-Depends: debhelper (>= 9), + cmake, + libglib2.0-dev, + android-headers (>= 4.2.2), + libhybris-dev (>= 0.1.0+git20131207+e452e83-0ubuntu12), + python:any, + libandroid-properties-dev, + libplatform-api1-dev, + libupower-glib-dev, + uuid-dev, + libhardware-dev (>= 0.1.0+git20131207+e452e83-0ubuntu12), +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+14.04.20140328.1.orig/debian/copyright +++ powerd-0.13+14.04.20140328.1/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+14.04.20140328.1.orig/debian/install +++ powerd-0.13+14.04.20140328.1/debian/install @@ -0,0 +1 @@ +debian/powerd.conf etc/dbus-1/system.d/ --- powerd-0.13+14.04.20140328.1.orig/debian/powerd.conf +++ powerd-0.13+14.04.20140328.1/debian/powerd.conf @@ -0,0 +1,68 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + --- powerd-0.13+14.04.20140328.1.orig/debian/rules +++ powerd-0.13+14.04.20140328.1/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+14.04.20140328.1.orig/debian/source/format +++ powerd-0.13+14.04.20140328.1/debian/source/format @@ -0,0 +1 @@ +1.0 --- powerd-0.13+14.04.20140328.1.orig/debian/upstart +++ powerd-0.13+14.04.20140328.1/debian/upstart @@ -0,0 +1,11 @@ +author "Michael Frey " + +start on started dbus and android + +respawn + +env ANDROID_ROOT=/system +#uncomment the line below to enable debugging +#env POWERD_DEBUG=1 + +exec /usr/bin/powerd