From 0f33bc4be7e9dffaa6b68cd758c3c531460c9a2f Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Thu, 12 Nov 2015 08:40:14 +0100 Subject: Fork from Ubuntu's indicator-power code project. --- debian/changelog | 6 ++++++ debian/control | 20 ++++++++------------ debian/copyright | 8 +++++--- debian/rules | 10 +++++----- debian/source/format | 1 + debian/source_ayatana-indicator-power.py | 12 ++++++++++++ debian/source_indicator-power.py | 12 ------------ 7 files changed, 37 insertions(+), 32 deletions(-) create mode 100644 debian/source/format create mode 100644 debian/source_ayatana-indicator-power.py delete mode 100644 debian/source_indicator-power.py (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 8c84c48..6437c19 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +ayatana-indicator-power (0.11.0-0) UNRELEASED; urgency=medium + + * Fork from Ubuntu's indicator-power code project. + + -- Mike Gabriel Thu, 12 Nov 2015 08:26:14 +0100 + indicator-power (12.10.6+15.10.20151005.1-0ubuntu1) wily; urgency=medium [ CI Train Bot ] diff --git a/debian/control b/debian/control index 20869e3..0e9147e 100644 --- a/debian/control +++ b/debian/control @@ -1,7 +1,7 @@ -Source: indicator-power +Source: ayatana-indicator-power Section: gnome Priority: optional -Maintainer: Ubuntu Core Developers +Maintainer: Mike Gabriel Build-Depends: cmake, libnotify-dev (>= 0.7.6), libglib2.0-dev (>= 2.36), @@ -10,22 +10,18 @@ Build-Depends: cmake, python:any, # for packaging debhelper (>= 9), - dh-translations, intltool, # for tests libgtest-dev, python3-dbusmock, dbus-test-runner, libdbustest1-dev, -Standards-Version: 3.9.5 -Homepage: https://launchpad.net/indicator-power -# If you aren't a member of ~indicator-applet-developers but need to upload -# packaging changes, just go ahead. ~indicator-applet-developers will notice -# and sync up the code again. -Vcs-Bzr: https://code.launchpad.net/~indicator-applet-developers/indicator-power/trunk.13.04 -Vcs-Browser: https://bazaar.launchpad.net/~indicator-applet-developers/indicator-power/trunk.13.04/files +Standards-Version: 3.9.6 +Homepage: https://github.com/ArcticaProject/ayatana-indicator-power +Vcs-Git: git://cgit.arctica-project.org/ayatana/ayatana-indicator-power.git +Vcs-Browser: https://cgit.arctica-project.org/ayatana/ayatana-indicator-power.git/ -Package: indicator-power +Package: ayatana-indicator-power Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, @@ -34,6 +30,6 @@ Recommends: unity-control-center | gnome-control-center (>= 3.1) | ubuntu-system indicator-applet (>= 0.2) | indicator-renderer, Suggests: powerd, unity-system-compositor (>= 0.0.4), -Description: Indicator showing power state. +Description: Ayatana 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 index 1f5be70..92265f8 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,9 +1,10 @@ Format: http://dep.debian.net/deps/dep5 -Upstream-Name: indicator-power -Source: http://launchpad.net/indicator-power +Upstream-Name: ayatana-indicator-power +Source: https://github.com/ArcticaProject/ayatana-indicator-power Files: * -Copyright: 2011 Canonical Ltd. +Copyright: 2011, Canonical Ltd. + 2015, Mike Gabriel 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 @@ -19,6 +20,7 @@ License: GPL-3 Files: debian/* Copyright: 2011 Ken VanDine + 2015, Mike Gabriel 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 diff --git a/debian/rules b/debian/rules index 885b94c..48f1c29 100755 --- a/debian/rules +++ b/debian/rules @@ -7,11 +7,11 @@ export DPKG_GENSYMBOLS_CHECK_LEVEL=4 %: - dh $@ --with translations + dh $@ override_dh_install: - find debian/indicator-power -name \*.la -delete - find debian/indicator-power -name \*.a -delete + find debian/ayatana-indicator-power -name \*.la -delete + find debian/ayatana-indicator-power -name \*.a -delete dh_install --fail-missing - mkdir -p debian/indicator-power/usr/share/apport/package-hooks/ - cp debian/source_indicator-power.py debian/indicator-power/usr/share/apport/package-hooks/ + mkdir -p debian/ayatana-indicator-power/usr/share/apport/package-hooks/ + cp debian/source_ayatana-indicator-power.py debian/ayatana-indicator-power/usr/share/apport/package-hooks/ diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..9f8e9b6 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +1.0 \ No newline at end of file diff --git a/debian/source_ayatana-indicator-power.py b/debian/source_ayatana-indicator-power.py new file mode 100644 index 0000000..3d9b6c6 --- /dev/null +++ b/debian/source_ayatana-indicator-power.py @@ -0,0 +1,12 @@ +'''apport package hook for ayatana-indicator-power + +(c) 2011 Canonical Ltd. +Author: Ken VanDine +''' + +from apport.hookutils import * +from os import path + +def add_info(report): + report['UPowerDump'] = command_output(['upower', '-d']) + return report diff --git a/debian/source_indicator-power.py b/debian/source_indicator-power.py deleted file mode 100644 index ea0cf0f..0000000 --- a/debian/source_indicator-power.py +++ /dev/null @@ -1,12 +0,0 @@ -'''apport package hook for indicator-power - -(c) 2011 Canonical Ltd. -Author: Ken VanDine -''' - -from apport.hookutils import * -from os import path - -def add_info(report): - report['UPowerDump'] = command_output(['upower', '-d']) - return report -- cgit v1.2.3