--- guidance-power-manager-4.1.1.orig/geometry.patch +++ guidance-power-manager-4.1.1/geometry.patch @@ -0,0 +1,15 @@ +=== modified file 'guidance-power-manager.py' +--- guidance-power-manager.py 2008-05-06 18:37:21 +0000 ++++ guidance-power-manager.py 2008-09-23 06:51:38 +0000 +@@ -1069,6 +1069,10 @@ + self.toolTip.show() + x = self.geometry().x() - self.toolTip.width() + y = self.geometry().y() - self.toolTip.height() ++ if x < 0: ++ x += self.geometry().width() + self.toolTip.width() ++ if y < 0: ++ y += self.geometry().height() + self.toolTip.height() + self.toolTip.move(x, y) + QTimer.singleShot(3000, self.hideToolTip) + return True + --- guidance-power-manager-4.1.1.orig/debian/copyright +++ guidance-power-manager-4.1.1/debian/copyright @@ -0,0 +1,63 @@ +This package was debianized by Guillaume Martres on +Tue, 17 Jun 2008 15:22:44 +0200. + +It was downloaded from + +Upstream Authors: + Simon Edwards + Sebastian Kügler + Luka Renko + Jonathan Riddell + +Copyright: + + Copyright (C) 2004-2007 Simon Edwards + Copyright (C) 2006-2008 Sebastian Kügler + Copyright (C) 2006-2008 Luka Renko + Copyright (C) 2008 Jonathan Riddell + +License: + +Unless something else is mentioned, the code files in this package are under +the GNU General Public License: + + 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in '/usr/share/common-licenses/GPL-2'. + +Files in cmake-modules/ +These files are under a BSD License: + + Redistribution and use in source and binary forms, with or without + modification, are permitted under the terms of the BSD License. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + +On Debian systems, the complete text of the BSD License can be +found in '/usr/share/common-licenses/BSD'. + +The Debian packaging is (C) 2008, Guillaume Martres and +is licensed under the GPL, see above. --- guidance-power-manager-4.1.1.orig/debian/control +++ guidance-power-manager-4.1.1/debian/control @@ -0,0 +1,28 @@ +Source: guidance-power-manager +Section: kde +Priority: optional +Maintainer: Ubuntu Core Developers +XSBC-Original-Maintainer: Guillaume Martres +Build-Depends: cdbs (>= 0.4.52ubuntu7), debhelper (>= 5), python-support, cmake, kdelibs5-dev, python-qt4-dev, python-kde4-dev, python-dbus, quilt, x11proto-xf86vidmode-dev, x11proto-scrnsaver-dev, libxxf86vm-dev, libxss-dev +Standards-Version: 3.8.0.1 +Vcs-Bzr: lp:~kubuntu-members/guidance/powermanager-ubuntu +Vcs-Browser: http://bazaar.launchpad.net/~kubuntu-members/guidance/powermanager-ubuntu + +Package: guidance-power-manager +Architecture: any +Depends: ${python:Depends}, hal, python-kde4, python-dbus +Conflicts: guidance-backends +Replaces: kde-guidance-powermanager (<< 4:4.0.83-0ubuntu1), guidance-backends +Description: A frontend to HAL's power features for KDE + A powermanagement applet that supports screen brightness, battery level, + plugged/unplugged notices and laptop lid closing actions. + +Package: kde-guidance-powermanager +Architecture: all +Depends: guidance-power-manager +Description: A frontend to HAL's power features for KDE (dummy package) + A powermanagement applet that supports screen brightness, battery level, + plugged/unplugged notices and laptop lid closing actions. + . + This is a dummy package to depend on guidance-power-manager for + upgrades, it can be safely removed --- guidance-power-manager-4.1.1.orig/debian/compat +++ guidance-power-manager-4.1.1/debian/compat @@ -0,0 +1 @@ +5 --- guidance-power-manager-4.1.1.orig/debian/watch +++ guidance-power-manager-4.1.1/debian/watch @@ -0,0 +1,3 @@ +version=3 + +ftp://ftp.kde.org/pub/kde/stable/latest/src/extragear/guidance-power-manager-(.*)\.tar\.bz2 --- guidance-power-manager-4.1.1.orig/debian/rules +++ guidance-power-manager-4.1.1/debian/rules @@ -0,0 +1,28 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/class/kde4.mk + +binary-install/guidance-power-manager:: + dh_pysupport + +DEBIAN_DIR := $(shell echo ${MAKEFILE_LIST} | awk '{print $$1}' | xargs dirname ) + +get-orig-source: + cd ${DEBIAN_DIR}/.. && \ + version=$$(uscan --force-download --dehs | \ + sed -n 's/.*\(.*\)<\/upstream-version>.*/\1/p') && \ + tar xf ../guidance-power-manager-$${version}.tar.bz2 && \ + tar czf ${CURDIR}/guidance-power-manager_$${version}.orig.tar.gz guidance-power-manager-$${version} && \ + rm -r guidance-power-manager-$${version} + +DATE := $(shell date +%y%m%d) +VERSION := $(word 1, $(subst ~, ,$(DEB_UPSTREAM_VERSION))) +DIR := ${DEB_SOURCE_PACKAGE}-${VERSION}~svn${DATE} +TAR := ${DEB_SOURCE_PACKAGE}_${VERSION}~svn${DATE}.orig.tar.gz + +get-orig-svn: + cd ${DEBIAN_DIR}/.. && \ + svn export svn://anonsvn.kde.org/home/kde/trunk/extragear/utils/guidance-power-manager ${DIR} && \ + tar czf ${CURDIR}/${TAR} ${DIR} && \ + rm -r ${DIR} + --- guidance-power-manager-4.1.1.orig/debian/changelog +++ guidance-power-manager-4.1.1/debian/changelog @@ -0,0 +1,115 @@ +guidance-power-manager (4:4.1.1-0ubuntu1) intrepid; urgency=low + + [ Jonathan Riddell ] + * Add geometry.patch from Adam Turowski to show tooltip in right place + + + [ Guillaume Martres ] + * New upstream release + * debian/rules: + - removed THIS_SHOULD_GO_TO_UNSTABLE, not needed with latest cdbs + * debian/control: + - ensure cdbs version is (>= 0.4.52ubuntu7) + * removed debian/cdbs, not needed with kde4.mk + * debian/watch: + - updated url + * debian/patches/kubuntu_02_keyboard_shortcuts.diff: + - removed, applied upstream + * debian/README.source: + - removed, not necessary anymore + + -- Guillaume Martres Tue, 23 Sep 2008 14:27:53 +0200 + +guidance-power-manager (4:4.1.0-0ubuntu4) intrepid; urgency=low + + * Drop kubuntu_01-no-ixf86misc.diff and kubuntu01-no-ixf86misc.patch and use + internal copy so that guidance-backends can be removed from the archive + - Use internal ixf86misc + - Change from arch all to arch any + - Conflict and Replace guidance-backends + - Drop depends on guidance-backends + - Add libxxf86vm-dev, libxss-dev, x11proto-xf86vidmode-dev, and + x11proto-scrnsaver-dev to build-dep for ixf86misc + + -- Scott Kitterman Fri, 12 Sep 2008 06:47:38 -0400 + +guidance-power-manager (4:4.1.0-0ubuntu3) intrepid; urgency=low + + * Add quilt as build-dep, fix FTBFS. + * Add >= 0.4.52ubuntu2 as cdbs version to Build-Depends field in + debian/control. + + -- Devid Antonio Filoni Thu, 07 Aug 2008 11:31:52 +0200 + +guidance-power-manager (4:4.1.0-0ubuntu2) intrepid; urgency=low + + * Add kubuntu_02_keyboard_shortcuts.diff for keyboard global shortcuts + * Convert to kde4.mk from cdbs + + -- Jonathan Riddell Mon, 04 Aug 2008 20:35:16 +0100 + +guidance-power-manager (4:4.1.0-0ubuntu1) intrepid; urgency=low + + [ Steve Stalcup ] + * New upstream release, 4.1.0 final + + [ Guillaume Martres ] + * debian/watch: + - updated location + * debian/patches/kubuntu02-klocalize-crash.patch: + - removed, applied upstream + * debian/changelog: + - removed useless "(LP: #nnnn)" on initial release + + -- Guillaume Martres Sun, 27 Jul 2008 15:31:32 +0200 + +guidance-power-manager (4:4.0.98-0ubuntu1) intrepid; urgency=low + + [ Steve Stalcup ] + * New upstream release (LP: #248543) + + [ Scott Kitterman ] + * Add guidance-backends to depends + - When guidance-backends is ready to be removed from the archive, + drop this and debian/patches/kubuntu01-no-ixf86misc.patch + * Add README.source + * Change maintainer from MOTU to Ubuntu Core Dev + + -- Scott Kitterman Mon, 14 Jul 2008 23:40:08 -0400 + +guidance-power-manager (4:4.0.83-0ubuntu3) intrepid; urgency=low + + * Add debian/patches/kubuntu01-no-ixf86misc.patch to remove ixf86misc + files from modules/CMakeLists.txt (LP: #245339) + - ixf86misc is supplied by guidance-backends and is part of Guidance's + display functionality and not power management + * Add debian/patches/kubuntu02-klocalize-crash.patch to remove unimplemented + call to python-kde4 (LP: #244830) + * Drop ixf86misc related build-deps and depends: + - libxxf86vm-dev, x11proto-scrnsaver-dev, libxrandr-dev, libxss-dev + - ${shlibs:Depends} (package is pure Python now) + * Change guidance-power-manager from arch any to arch all + * Drop unused build-dep on quilt and remove /usr/share/cdbs/1/rules/quilt.mk + from debian/cdbs/kde.mk + * Add simple-patchsys.mk to debian/rules + + -- Scott Kitterman Sat, 05 Jul 2008 12:13:42 -0400 + +guidance-power-manager (4:4.0.83-0ubuntu2) intrepid; urgency=low + + * guidance-power-manager Replaces: kde-guidance-powermanager (<< + 4:4.0.83-0ubuntu1) to help upgrades + + -- Jonathan Riddell Thu, 03 Jul 2008 14:49:41 +0100 + +guidance-power-manager (4:4.0.83-0ubuntu1) intrepid; urgency=low + + * New upstream version + + -- Guillaume Martres Thu, 26 Jun 2008 23:03:46 +0200 + +guidance-power-manager (4.1.0~svn080618-0ubuntu1) intrepid; urgency=low + + * Initial release + + -- Guillaume Martres Tue, 17 Jun 2008 15:22:44 +0200 --- guidance-power-manager-4.1.1.orig/debian/guidance-power-manager.install +++ guidance-power-manager-4.1.1/debian/guidance-power-manager.install @@ -0,0 +1,3 @@ +usr/* + + --- guidance-power-manager-4.1.1.orig/debian/patches/geometry.patch +++ guidance-power-manager-4.1.1/debian/patches/geometry.patch @@ -0,0 +1,15 @@ +=== modified file 'guidance-power-manager.py' +--- guidance/guidance-power-manager.py 2008-05-06 18:37:21 +0000 ++++ guidance/guidance-power-manager.py 2008-09-23 06:51:38 +0000 +@@ -1069,6 +1069,10 @@ + self.toolTip.show() + x = self.geometry().x() - self.toolTip.width() + y = self.geometry().y() - self.toolTip.height() ++ if x < 0: ++ x += self.geometry().width() + self.toolTip.width() ++ if y < 0: ++ y += self.geometry().height() + self.toolTip.height() + self.toolTip.move(x, y) + QTimer.singleShot(3000, self.hideToolTip) + return True + --- guidance-power-manager-4.1.1.orig/debian/patches/series +++ guidance-power-manager-4.1.1/debian/patches/series @@ -0,0 +1 @@ +geometry.patch