debian/0000755000000000000000000000000011410716544007171 5ustar debian/control0000644000000000000000000000233011414701260010563 0ustar Source: pwrkap Section: admin Priority: optional Maintainer: Arnaud Quette Build-Depends: debhelper (>= 6) Standards-Version: 3.8.4 Homepage: http://pwrkap.sourceforge.net/ Vcs-Browser: http://kernel.org/pub/scm/linux/kernel/git/djwong/pwrkap/ Vcs-Git: git://git.kernel.org/pub/scm/linux/kernel/git/djwong/pwrkap Package: pwrkap Section: admin Architecture: all Depends: ${misc:Depends}, python (>= 2.4) Replaces: powercap Description: Energy use monitor and Power Cap enforcement tools - Core pwrkap is a set of utilities that monitor computer energy consumption and enforces an upper limit on the amount of power consumed by the computer at any given time. . This package contains the core system, and the Command Line Interface (CLI) tools. Package: pwrkap-gui Section: admin Architecture: all Depends: ${misc:Depends}, python (>= 2.4), pwrkap (= ${binary:Version}), python-gtk2, python-matplotlib Description: Energy use monitor and Power Cap enforcement tools - GTK+ GUI pwrkap is a set of utilities that monitor computer energy consumption and enforces an upper limit on the amount of power consumed by the computer at any given time. . This package contains the GTK+ Graphical User Interface (GUI). debian/copyright0000644000000000000000000000240011410707471011117 0ustar This package was debianized by Arnaud Quette on Tue, 10 Feb 2009 10:02:37 +0100 Based upon Dustin Kirkland original work. It was downloaded from: http://sourceforge.net/project/showfiles.php?group_id=238067 Upstream Author: Darrick J. Wong Copyright: (c) Copyright IBM Corp. 2008 All rights reserved. License: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 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 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 . On Debian systems, the complete text of the GNU General Public License, version 2, can be found in /usr/share/common-licenses/GPL-2. The Debian packaging is (c) Copyright 2009, Arnaud Quette and Dustin Kirkland , and is licensed under the GPLv2, see `/usr/share/common-licenses/GPL-2'. debian/pwrkap-gui.install0000644000000000000000000000027311410707471012650 0ustar debian/tmp/usr/bin/pwrkap_gtk debian/tmp/usr/lib/pwrkap/ui_data.py debian/tmp/usr/lib/pwrkap/pwrkap_gtk.py debian/tmp/usr/lib/pwrkap/ui_controller.py debian/tmp/usr/share/pwrkap/ui.glade debian/docs0000644000000000000000000000003011410707471010034 0ustar docs/DESIGN docs/README debian/compat0000644000000000000000000000000211410707471010366 0ustar 6 debian/pwrkap-gui.manpages0000644000000000000000000000005611410707471012774 0ustar debian/tmp/usr/share/man/man1/pwrkap_gtk.1.gz debian/rules0000755000000000000000000000266711410710122010246 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp # fix an upstream bug rm -f data/pwrkap.desktop [ ! -f Makefile ] || $(MAKE) clean dh_clean build: build-stamp build-stamp: dh_testdir touch build-stamp install: build-stamp dh_testdir dh_testroot dh_clean -k dh_installdirs $(MAKE) PREFIX=/usr INST_PREFIX=$(CURDIR)/debian/tmp install rm -f $(CURDIR)/debian/tmp/usr/share/pwrkap/DESIGN \ $(CURDIR)/debian/tmp/usr/share/pwrkap/README \ $(CURDIR)/debian/tmp/usr/share/pwrkap/COPYING # Build architecture-independent files here. binary-indep: install dh_testdir dh_testroot dh_installdocs dh_installchangelogs dh_installexamples dh_install dh_installdebconf dh_installcron dh_installinit dh_installman dh_compress dh_fixperms dh_installdeb dh_gencontrol dh_md5sums dh_builddeb # Build architecture-dependent files here. binary-arch: install # We have nothing to do by default. binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure debian/pwrkap.init0000644000000000000000000000254411410707471011366 0ustar #!/bin/sh # Start and stop pwrkap service # (C) Copyright IBM Corp. 2008 ### BEGIN INIT INFO # Provides: pwrkap # Required-Start: $network $remote_fs # Required-Stop: $remote_fs $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: pwrkap initscript # Description: This script take care of starting and stopping the # pwrkap daemon. ### END INIT INFO PATH="/sbin:/bin:/usr/sbin:/usr/bin" [ -x /usr/bin/pwrkap_main ] || exit 0 . /lib/lsb/init-functions NAME="pwrkap" DAEMON="/usr/bin/pwrkap_main" PIDFILE="/var/run/$NAME.pid" case "$1" in start) log_daemon_msg "Starting $NAME energy cap daemon" "$NAME" start-stop-daemon --start --quiet --oknodo --pidfile $PIDFILE --exec $DAEMON >/dev/null if [ "$?" = 0 ]; then log_end_msg 0 else log_end_msg 1 fi ;; stop) log_daemon_msg "Stopping $NAME energy cap daemon" "$NAME" if start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE; then log_end_msg 0 else log_end_msg 1 fi ;; restart|force-reload) start-stop-daemon --stop --signal 1 --quiet --oknodo --pidfile $PIDFILE --exec $DAEMON ;; status) status_of_proc -p $PIDFILE /usr/lib/$NAME/pwrkap_main.py $NAME && exit 0 || exit $? ;; *) echo "Usage: $0 {start|stop|restart|force-reload|status}" exit 1 ;; esac exit 0 debian/watch0000644000000000000000000000007711410707471010225 0ustar version=3 http://userweb.kernel.org/~djwong/pwrkap-(.*).tar.gz debian/pwrkap.manpages0000644000000000000000000000030511410707471012207 0ustar debian/tmp/usr/share/man/man1/pwrkap_cli.1.gz debian/tmp/usr/share/man/man5/pwrkap_aggregate.5.gz debian/tmp/usr/share/man/man8/pwrkap_main.8.gz debian/tmp/usr/share/man/man8/pwrkap_aggregate.8.gz debian/dirs0000644000000000000000000000002711410707471010053 0ustar usr/bin usr/lib/pwrkap debian/source/0000755000000000000000000000000011410716542010467 5ustar debian/source/format0000644000000000000000000000001411414666343011704 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000267411414702215011046 0ustar pwrkap (7.30-5) unstable; urgency=low [ Arnaud Quette ] * debian/control: actually remove python-matplotlib Depends from pwrkap -- Arnaud Quette Tue, 06 Jul 2010 21:31:13 +0200 pwrkap (7.30-4) unstable; urgency=low [ Arnaud Quette ] * Switch to dpkg-source 3.0 (quilt) format * debian/rules: remove data/pwrkap.desktop upon clean (upstream bug) * debian/control: - update Standards-Version to 3.8.4 - move python-matplotlib Depends from pwrkap to pwrkap-gui (from Ubuntu) -- Arnaud Quette Thu, 24 Jun 2010 20:01:07 +0200 pwrkap (7.30-3) unstable; urgency=low * debian/pwrkap.init: actually apply the start-stop-daemon PID use. * debian/control: update Standards-Version -- Arnaud Quette Wed, 25 Nov 2009 15:22:25 +0100 pwrkap (7.30-2) unstable; urgency=low * debian/pwrkap.init (patches from Raphael Geissert): - fix incorrect dependencies on init script (Closes: #541625) - use start-stop-daemon's -p feature to handle PID (Closes: #541624) * debian/control: add ${misc:Depends} back to Depends (from Ubuntu) * debian/copyright: fix Copyright letter case and precise GPL v2 for the Debian packages Copyright (from Ubuntu) -- Arnaud Quette Wed, 25 Nov 2009 14:44:45 +0100 pwrkap (7.30-1) unstable; urgency=low * Initial release (Closes: #514733) -- Arnaud Quette Tue, 10 Feb 2009 10:23:01 +0100 debian/pwrkap.install0000644000000000000000000000201411410707471012061 0ustar debian/tmp/usr/bin/pwrkap_aggregate debian/tmp/usr/bin/pwrkap_main debian/tmp/usr/bin/pwrkap_cli debian/tmp/usr/lib/pwrkap/acpi_meter.py debian/tmp/usr/lib/pwrkap/controller.py debian/tmp/usr/lib/pwrkap/cpu_device.py debian/tmp/usr/lib/pwrkap/daemon.py debian/tmp/usr/lib/pwrkap/default_domain.py debian/tmp/usr/lib/pwrkap/discovery.py debian/tmp/usr/lib/pwrkap/fake_cpudomain.py debian/tmp/usr/lib/pwrkap/http_listener.py debian/tmp/usr/lib/pwrkap/ibm_domain.py debian/tmp/usr/lib/pwrkap/ipmi_meter.py debian/tmp/usr/lib/pwrkap/lazy_log.py debian/tmp/usr/lib/pwrkap/pwrkap_aggregate.py debian/tmp/usr/lib/pwrkap/pwrkap_cli.py debian/tmp/usr/lib/pwrkap/pwrkap_data.py debian/tmp/usr/lib/pwrkap/pwrkap_main.py debian/tmp/usr/lib/pwrkap/pwrkap_pickle.py debian/tmp/usr/lib/pwrkap/pwrkap_test.py debian/tmp/usr/lib/pwrkap/pwrkap_train.py debian/tmp/usr/lib/pwrkap/power_energy_meter.py debian/tmp/usr/lib/pwrkap/sockmux.py debian/tmp/usr/lib/pwrkap/sysfs_meter.py debian/tmp/usr/lib/pwrkap/transitions.py debian/tmp/usr/lib/pwrkap/util.py