--- g15stats-1.0.orig/g15stats.c +++ g15stats-1.0/g15stats.c @@ -451,12 +451,12 @@ } if(0==strncmp(argv[i],"-h",2)||0==strncmp(argv[i],"--help",6)) { - printf("%s (c) 2008 Mike Lampard\n",PACKAGE_NAME); - printf("\nOptions:\n"); - printf("--daemon (-d) run in background\n"); - printf("--help (-h) this help text.\n"); - printf("--interface [interface] (-i) monitor network interface [interface] ie -i eth0\n"); - printf("--net-scale-absolute (-nsa) scale net graphs against maximum speed seen.\n\tDefault is to scale fullsize, similar to apps like gkrellm.\n"); + printf("g15stats (c) 2008 Mike Lampard\n" + "\nOptions:\n" + "--daemon (-d) run in background\n" + "--help (-h) this help text.\n" + "--interface [interface] (-i) monitor network interface [interface] ie -i eth0\n" + "--net-scale-absolute (-nsa) scale net graphs against maximum speed seen.\n\tDefault is to scale fullsize, similar to apps like gkrellm.\n"); return 0; } if(0==strncmp(argv[i],"-i",2)||0==strncmp(argv[i],"--interface",8)) { --- g15stats-1.0.orig/debian/docs +++ g15stats-1.0/debian/docs @@ -0,0 +1 @@ +README --- g15stats-1.0.orig/debian/control +++ g15stats-1.0/debian/control @@ -0,0 +1,28 @@ +Source: g15stats +Section: utils +Priority: extra +Maintainer: Giacomo Catenazzi +Build-Depends: cdbs, debhelper (>= 5), autotools-dev, + libxtst-dev, libfreetype6-dev, libusb-dev, libgtop2-dev, + libg15-dev, libg15render-dev (>= 1.2-3), libg15daemon-client-dev +Standards-Version: 3.7.3 + +Package: g15stats +Section: utils +Architecture: any +Depends: g15daemon, ${shlibs:Depends} +Description: a CPU/Memory/Swap usage meter for G15Daemon + The packages provides the following usage meter for LCD on + some Logitech keyboards, usind g15daemon: + . + CPU Screen displays graphs of User/System/Nice and Idle time, along with + LoadAVG and Uptime. + . + Memory Screen displays Memory Total & Free, and graph of Used vs + Buffered+Cached Memory. + . + Swap Screen displays Used, Free and Total swap space, along with the number + of pages currently paged in/out. + . + Network Screen displays Total bytes In/Out, history graph, Peak speed. + --- g15stats-1.0.orig/debian/rules +++ g15stats-1.0/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk + +DEB_DESTDIR = $(CURDIR)/debian/tmp/ +DEB_CONFIGURE_EXTRA_FLAGS = --quiet + --- g15stats-1.0.orig/debian/changelog +++ g15stats-1.0/debian/changelog @@ -0,0 +1,7 @@ +g15stats (1.0-1) unstable; urgency=low + + * Initial release. (Closes: #439792). + + -- Giacomo Catenazzi Tue, 18 Mar 2008 08:09:06 +0100 + + --- g15stats-1.0.orig/debian/compat +++ g15stats-1.0/debian/compat @@ -0,0 +1 @@ +5 --- g15stats-1.0.orig/debian/copyright +++ g15stats-1.0/debian/copyright @@ -0,0 +1,29 @@ +This package was debianized by Giacomo A. Catenazzi on +Sat, 15 Sep 2007 08:32:51 +0200. + +It was downloaded from http://g15daemon.sourceforge.net/ + +Upstream Author: + Mike Lampard + +Copyright: + + Copyright (c) 2006-2007 Mike Lampard + +License: + + g15daemon 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. + + g15daemon 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. + +License can be found in the file `/usr/share/common-licenses/GPL-2'. + +The Debian packaging is (C) 2008, Giacomo A. Catenazzi and +is licensed under the GPL v2 (ot later), see `/usr/share/common-licenses/GPL-2'. + --- g15stats-1.0.orig/debian/watch +++ g15stats-1.0/debian/watch @@ -0,0 +1,4 @@ +# See uscan(1) for format +version=3 +http://sf.net/g15daemon/g15stats-(.+)\.tar\.gz + --- g15stats-1.0.orig/debian/g15stats.install +++ g15stats-1.0/debian/g15stats.install @@ -0,0 +1 @@ +debian/tmp/usr/bin/g15stats usr/bin/ --- g15stats-1.0.orig/debian/g15stats.manpages +++ g15stats-1.0/debian/g15stats.manpages @@ -0,0 +1 @@ +g15stats.1 --- g15stats-1.0.orig/g15stats.1 +++ g15stats-1.0/g15stats.1 @@ -0,0 +1,43 @@ +.TH "g15stats" "1" "14 Feb 2008" "G15Daemon - g15stats" "G15Daemon User Manual" + +.SH "NAME" +g15stats \- A CPU/Memory/Swap usage meter for G15Daemon + +.SH "DESCRIPTION" +The packages provides the following usage meter for LCD on +some Logitech keyboards, usind g15daemon: +.PP +CPU Screen displays graphs of User/System/Nice and Idle time, along with +LoadAVG and Uptime. +.PP +Memory Screen displays Memory Total & Free, and graph of Used vs +Buffered+Cached Memory. +.PP + Swap Screen displays Used, Free and Total swap space, along with the number + of pages currently paged in/out. +.PP +Network Screen displays Total bytes In/Out, history graph, Peak speed. + +.SH "OPTIONS" +g15stats understands the following options: +.br +.P +.HP +\-h,--help show usage information. +.P +.HP +\-d,--daemon run in background. +.P +.HP +\-i,--interface [interface] monitor network interface [interface] ie -i eth0. +.P +.HP +\-nsa,--net-scale-absolute scale net graphs against maximum speed seen. + +.SH "AUTHOR" +Mike Lampard +.SH "SEE ALSO" +.BR g15daemon (1), +.BR libg15 (3), + +