diff options
-rw-r--r-- | debian/changelog | 75 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 25 | ||||
-rw-r--r-- | debian/copyright | 38 | ||||
-rwxr-xr-x | debian/rules | 17 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/source_indicator-power.py | 12 |
7 files changed, 169 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..87cca97 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,75 @@ +indicator-power (0.6-0ubuntu1) UNRELEASED; urgency=low + + * New upstream release. + - Show time left to use without brackets, time left to charge with + brackets. (LP: #824629) + - Fix some memory leaks + - Don't show settings links when used in a greeter + - Use a string when the energy source is not present instead + of 0% + - only batteries status icons are allowed in the menu title + * debian/rules: + - run intltool-update to update the translations template (lp: #820705) + + -- Ken VanDine <ken.vandine@canonical.com> Fri, 12 Aug 2011 09:57:47 -0400 + +indicator-power (0.5-0ubuntu1) oneiric; urgency=low + + * New upstream release. + - Set GETTEXT_PACKAGE to generate proper templates + - Dropped support for gnome-power-manager + * debian/patches/fix_defines.patch + - removed, merged upstream + + -- Ken VanDine <ken.vandine@canonical.com> Wed, 03 Aug 2011 09:30:18 -0400 + +indicator-power (0.4-0ubuntu3) oneiric; urgency=low + + * debian/control + - Added dh-autoreconf to build depends + + -- Ken VanDine <ken.vandine@canonical.com> Thu, 28 Jul 2011 15:02:03 -0400 + +indicator-power (0.4-0ubuntu2) oneiric; urgency=low + + * debian/patches/fix_defines.patch + - Use the HAVE_GSD defines so it works without gpm + * debian/rules + - added autoreconf + + -- Ken VanDine <ken.vandine@canonical.com> Thu, 28 Jul 2011 12:59:33 -0400 + +indicator-power (0.4-0ubuntu1) oneiric; urgency=low + + * New upstream release. + - Always select a device (LP: #810872) + - Use the dbus interface provided in g-s-d 3.1.4 + * debian/control + - Added build depends for gnome-settings-daemon-dev >= 3.1.4 + * debian/source_indicator-power.py + - Install apport hook to collect upower -d output + + -- Ken VanDine <ken.vandine@canonical.com> Tue, 26 Jul 2011 16:34:30 -0400 + +indicator-power (0.3-0ubuntu1) oneiric; urgency=low + + * New upstream release. + - Refine the text of the items in the menu to follow the specification + - Draw option checkbox as check, not radio + - Show the apropiate icon depending of the status of the devices + + -- Ken VanDine <ken.vandine@canonical.com> Thu, 14 Jul 2011 11:04:23 -0400 + +indicator-power (0.2-0ubuntu1) oneiric; urgency=low + + * New upstream release. + * debian/control + - Bump build depends for libindicator to >- 0.3.90 + + -- Ken VanDine <ken.vandine@canonical.com> Fri, 08 Jul 2011 09:59:26 -0400 + +indicator-power (0.1-0ubuntu1) oneiric; urgency=low + + * Initial package (LP: #807132) + + -- Ken VanDine <ken.vandine@canonical.com> Thu, 07 Jul 2011 13:12:21 -0400 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..45a4fb7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +8 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..c4d2700 --- /dev/null +++ b/debian/control @@ -0,0 +1,25 @@ +Source: indicator-power +Section: gnome +Priority: optional +Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com> +Build-Depends: debhelper (>= 8), + quilt, + libgtk-3-dev, + libindicator3-dev (>= 0.3.90), + libupower-glib-dev (>= 0.9.5), + gnome-settings-daemon-dev (>= 3.1.4), + libdbus-1-dev, + dh-autoreconf, + intltool +Standards-Version: 3.9.2 +Homepage: https://launchpad.net/indicator-power +Vcs-Bzr: http://bazaar.launchpad.net/~ubuntu-desktop/indicator-power/ubuntu +Vcs-Browser: http://bazaar.launchpad.net/~ubuntu-desktop/indicator-power/ubuntu + +Package: indicator-power +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, upower, gnome-control-center (>= 3.1), gnome-power-manager +Recommends: indicator-applet (>= 0.2) | indicator-renderer +Description: Indicator showing power state. + This indicator displays current power management information and gives + the user a way to access power management preferences. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..7fc6418 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,38 @@ +Format: http://dep.debian.net/deps/dep5 +Upstream-Name: indicator-power +Source: http://launchpad.net/indicator-power + +Files: * +Copyright: 2011 Canonical Ltd. + +License: GPL-3 + This program is free software: you can redistribute it and/or modify it + under the terms of 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 GNU General Public License for more details. + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + +Files: debian/* +Copyright: 2011 Ken VanDine <ken.vandine@canonical.com> +License: GPL-2+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU 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 <http://www.gnu.org/licenses/> + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..772b862 --- /dev/null +++ b/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +export AUTOPOINT = true + +%: + dh $@ --with autoreconf + +override_dh_install: + find debian/indicator-power -name \*.la -delete + find debian/indicator-power -name \*.a -delete + mkdir -p debian/indicator-power/usr/share/apport/package-hooks/ + cp debian/source_indicator-power.py debian/indicator-power/usr/share/apport/package-hooks/ + cd po; intltool-update --pot --verbose diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/source_indicator-power.py b/debian/source_indicator-power.py new file mode 100644 index 0000000..ea0cf0f --- /dev/null +++ b/debian/source_indicator-power.py @@ -0,0 +1,12 @@ +'''apport package hook for indicator-power + +(c) 2011 Canonical Ltd. +Author: Ken VanDine <ken.vandine@ubuntu.com> +''' + +from apport.hookutils import * +from os import path + +def add_info(report): + report['UPowerDump'] = command_output(['upower', '-d']) + return report |