aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-07-26 16:35:23 -0400
committerKen VanDine <ken.vandine@canonical.com>2011-07-26 16:35:23 -0400
commitf459beee2fd4f48b084a84a8ce3acb628020f1ab (patch)
treea4b4e10948965ecfee391291ec34e9b1e91c6381
parentf982b4425fd078533f0edc9619eb23ed97d7535b (diff)
downloadayatana-indicator-power-f459beee2fd4f48b084a84a8ce3acb628020f1ab.tar.gz
ayatana-indicator-power-f459beee2fd4f48b084a84a8ce3acb628020f1ab.tar.bz2
ayatana-indicator-power-f459beee2fd4f48b084a84a8ce3acb628020f1ab.zip
releasing version 0.4-0ubuntu1
-rw-r--r--debian/changelog6
-rwxr-xr-xdebian/rules2
-rw-r--r--debian/source_indicator-power.py12
3 files changed, 18 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index ea92d0e..d687035 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,12 +1,14 @@
-indicator-power (0.4-0ubuntu1) UNRELEASED; urgency=low
+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, 19 Jul 2011 12:52:06 -0400
+ -- Ken VanDine <ken.vandine@canonical.com> Tue, 26 Jul 2011 16:34:30 -0400
indicator-power (0.3-0ubuntu1) oneiric; urgency=low
diff --git a/debian/rules b/debian/rules
index f5334e1..63a4ed6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,3 +15,5 @@
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/
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