wmsysmon (0.7.7-7) debian-dir only changes

Summary

 debian/changelog                        |  142 ++++++++++++++++++++++++++++++++
 debian/compat                           |    1 
 debian/control                          |   13 ++
 debian/copyright                        |   32 +++++++
 debian/menu                             |    2 
 debian/patches/00list                   |    4 
 debian/patches/01-break.dpatch          |   16 +++
 debian/patches/02-output.dpatch         |   21 ++++
 debian/patches/03-src_makefile.dpatch   |   27 ++++++
 debian/patches/04-makefile-strip.dpatch |   18 ++++
 debian/rules                            |   60 +++++++++++++
 debian/watch                            |    4 
 debian/wmsysmon.1                       |   47 ++++++++++
 13 files changed, 387 insertions(+)

    
download this patch

Patch contents

--- wmsysmon-0.7.7.orig/debian/patches/02-output.dpatch
+++ wmsysmon-0.7.7/debian/patches/02-output.dpatch
@@ -0,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01-output.dpatch by Luca Bedogni <me@lucabedogni.it>
+##
+## DP: Corrects a typo in wmsysmon output.
+
+@DPATCH@
+
+--- wmsysmon-0.7.7/src/wmsysmon.c	2007-03-16 23:26:00.000000000 +0100
++++ wmsysmon-0.7.7/src/wmsysmon.c	2007-03-16 23:27:17.000000000 +0100
+@@ -851,10 +851,10 @@
+ #ifdef HI_INTS
+ 			"| 01234567   UV   |  <--- 0-N are hardware interrupts 0-23\n"
+ 			"| 89ABCDEF   WX   |  <--- U,V are Page IN/OUT, W,X are Swap IN/OUT\n"
+-			"| GHIJKLMN   YZ   |\n"
++			"| GHIJKLMN   YZ   |  <--- Y,Z are Swap IN/OUT\n"
+ #else
+ 			"| 01234567   WX   |  <--- 0-F are hardware interrupts 0-15\n"
+-			"| 89ABCDEF   YZ   |  <--- W,X are Page IN/OUT, W,X are Swap IN/OUT\n"
++			"| 89ABCDEF   YZ   |  <--- W,X are Page IN/OUT, Y,Z are Swap IN/OUT\n"
+ #endif
+ 			"-------------------\n");
--- wmsysmon-0.7.7.orig/debian/patches/01-break.dpatch
+++ wmsysmon-0.7.7/debian/patches/01-break.dpatch
@@ -0,0 +1,16 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01-break.dpatch by Luca Bedogni <me@lucabedogni.it>
+##
+## DP: Add a break to wmsysmon.c at the end of a switch statement.
+
+@DPATCH@
+
+--- wmsysmon-0.7.7/src/wmsysmon.c	2007-03-16 23:26:00.000000000 +0100
++++ wmsysmon-0.7.7/src/wmsysmon.c	2007-03-14 01:01:41.000000000 +0100
+@@ -288,6 +288,7 @@
+ #ifdef MONDEBUG
+ 				printf("got: %i\n", Event.type);
+ #endif
++        break;
+ 			}
+ 		}
--- wmsysmon-0.7.7.orig/debian/patches/03-src_makefile.dpatch
+++ wmsysmon-0.7.7/debian/patches/03-src_makefile.dpatch
@@ -0,0 +1,27 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02-src_makefile.dpatch by Luca Bedogni <me@lucabedogni.it>
+##
+## DP: Change Makefile to fit debian policy
+
+@DPATCH@
+
+--- wmsysmon-0.7.7/src/Makefile	2001-12-24 08:01:43.000000000 +0100
++++ wmsysmon-0.7.7/src/Makefile	2007-03-14 00:43:12.000000000 +0100
+@@ -3,7 +3,7 @@
+ LIBDIR += -L/usr/X11R6/lib
+ LDFLAGS += -lXpm -lXext -lX11 -lm -s
+ #CFLAGS = -g #-DMONDEBUG
+-CFLAGS += -Wall -O3 -m486 -fomit-frame-pointer -I/usr/X11R6/include #-DHI_INTS #undefine HI_INTS if your x86 SMP or alpha
++CFLAGS += -Wall -O3 -fomit-frame-pointer -I/usr/X11R6/include #-DHI_INTS #undefine HI_INTS if your x86 SMP or alpha
+ 
+ BIN = wmsysmon
+ OBJS =	wmgeneral.o \
+@@ -17,5 +17,6 @@
+ clean:
+ 	rm -f $(OBJS) $(BIN)
+ 
+-install:
+-	install -g root -o root $(BIN) /usr/local/bin
++install: $(BIN)
++	mkdir -p $(DESTDIR)/usr/bin
++	install -g root -o root $(BIN) $(DESTDIR)/usr/bin
--- wmsysmon-0.7.7.orig/debian/patches/00list
+++ wmsysmon-0.7.7/debian/patches/00list
@@ -0,0 +1,4 @@
+01-break.dpatch
+02-output.dpatch
+03-src_makefile.dpatch
+04-makefile-strip.dpatch
--- wmsysmon-0.7.7.orig/debian/patches/04-makefile-strip.dpatch
+++ wmsysmon-0.7.7/debian/patches/04-makefile-strip.dpatch
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 04-makefile-strip.dpatch by Luca Bedogni <me@lucabedogni.it>
+##
+## DP: Delete automatic stripping of binary
+
+@DPATCH@
+
+--- wmsysmon-0.7.7/Makefile	2007-08-16 16:15:32.000000000 +0200
++++ wmsysmon-0.7.7/Makefile	2007-08-16 16:14:27.000000000 +0200
+@@ -1,7 +1,7 @@
+ CC = gcc
+ 
+ LIBDIR += -L/usr/X11R6/lib
+-LDFLAGS += -lXpm -lXext -lX11 -lm -s
++LDFLAGS += -lXpm -lXext -lX11 -lm
+ #CFLAGS = -g #-DMONDEBUG
+ CFLAGS += -Wall -O3 -fomit-frame-pointer -I/usr/X11R6/include #-DHI_INTS #undefine HI_INTS if your x86 SMP or alpha
+ 
--- wmsysmon-0.7.7.orig/debian/menu
+++ wmsysmon-0.7.7/debian/menu
@@ -0,0 +1,2 @@
+?package(wmsysmon): needs="X11" section="Applications/System/Monitoring" \
+title="wmsysmon" command="/usr/bin/wmsysmon"
--- wmsysmon-0.7.7.orig/debian/control
+++ wmsysmon-0.7.7/debian/control
@@ -0,0 +1,13 @@
+Source: wmsysmon
+Section: x11
+Priority: optional
+Maintainer: Luca Bedogni <me@lucabedogni.it>
+Build-Depends: debhelper (>= 5), libx11-dev, libxext-dev, libxpm-dev, dpatch
+Standards-Version: 3.7.2
+
+Package: wmsysmon
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: WindowMaker dock-app for monitoring your system
+ wmsysmon is a dockable application for WindowMaker (and possibly Afterstep).
+ It monitors Memory, Swap, Disk IO, uptime and interrupts.
--- wmsysmon-0.7.7.orig/debian/compat
+++ wmsysmon-0.7.7/debian/compat
@@ -0,0 +1 @@
+5
--- wmsysmon-0.7.7.orig/debian/watch
+++ wmsysmon-0.7.7/debian/watch
@@ -0,0 +1,4 @@
+version=3
+
+# Uncomment to find new files on sourceforge, for debscripts >= 2.9
+http://gnugeneration.com/software/wmsysmon/wmsysmon-(.*)\.tar.gz
--- wmsysmon-0.7.7.orig/debian/changelog
+++ wmsysmon-0.7.7/debian/changelog
@@ -0,0 +1,142 @@
+wmsysmon (0.7.7-7) unstable; urgency=low
+
+  * Added the watch file
+  * Deleted automatic strip (Closes: #438276)
+  * Modified debian/menu to move application in Apps/System/Monitoring 
+  * Modified debian/changelog for not ignoring errors on make clean.
+
+ -- Luca Bedogni <me@lucabedogni.it>  Thu, 16 Aug 2007 16:09:43 +0200
+
+wmsysmon (0.7.7-6) unstable; urgency=low
+
+  * Removed a gcc flag (-m486) for a correct build on all architectures
+    (Closes: #415669)
+
+ -- Luca Bedogni <me@lucabedogni.it>  Wed, 21 Mar 2007 22:46:25 +0100
+
+wmsysmon (0.7.7-5) unstable; urgency=low
+
+  * New Maintainer (Closes: #390871)
+  * Modified copyright for making it more explicative.
+  * Added a Makefile and modified the existing one.
+  * Added a patch (01-break.dpatch) instead of modifing upstream code as previous version did.
+  * Added another patch (02-output.dpatch) for fixing a typo (Closes: #75036)
+  * Modified manpage.
+  * Changed priority from extra to optional.
+
+ -- Luca Bedogni <me@lucabedogni.it>  Fri, 16 Mar 2007 13:45:10 +0100
+
+wmsysmon (0.7.7-4) unstable; urgency=low
+
+  * Orphaning package. (closes: #390871)
+  * ACK NMUs. (closes: #259912, #347059)
+
+ -- Norbert Tretkowski <nobse@debian.org>  Tue,  2 Jan 2007 23:00:02 +0100
+
+wmsysmon (0.7.7-3.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Replace build-dependency on xlibs-dev with an explicit build-dependency
+    on each required package. (Closes: #347059)
+
+ -- Steinar H. Gunderson <sesse@debian.org>  Sat, 21 Jan 2006 14:28:16 +0100
+
+wmsysmon (0.7.7-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * src/wmsysmon.c: Add break at the end of the default label clause
+    of a switch statement to fix a build failure with GCC 4.0.
+    Applied patch from Andreas Jochens (closes: #259912).
+
+ -- Roger Leigh <rleigh@debian.org>  Sun,  4 Sep 2005 16:52:12 +0100
+
+wmsysmon (0.7.7-3) unstable; urgency=low
+
+  * Manpage fixed (closes: #93475, #165944).
+  * Bumped up Standards-Version (no changes).
+  * Removed -1 diff from source package.
+  * Modified description to shut up lintian.
+
+ -- Norbert Tretkowski <nobse@debian.org>  Tue, 12 Aug 2003 02:24:56 +0200
+
+wmsysmon (0.7.7-2) unstable; urgency=low
+
+  * Gnah... wmsysmon binary missing.
+
+ -- Norbert Tretkowski <nobse@debian.org>  Sun, 25 May 2003 11:21:21 +0100
+
+wmsysmon (0.7.7-1) unstable; urgency=low
+
+  * New upstread release (closes: #168185).
+
+ -- Norbert Tretkowski <nobse@debian.org>  Sun, 25 May 2003 00:14:14 +0100
+
+wmsysmon (0.7.6-4.1) unstable; urgency=low
+
+  * Corrected spelling error in description (closes: #124563).
+  * Corrected Build-Depends.
+
+ -- Norbert Tretkowski <nobse@debian.org>  Sat, 16 Feb 2002 22:04:51 +0100
+
+wmsysmon (0.7.6-4) unstable; urgency=low
+
+  * Manpage added.
+
+ -- Norbert Tretkowski <nobse@debian.org>  Sun, 15 Apr 2001 16:09:21 +0100
+
+wmsysmon (0.7.6-3) unstable; urgency=low
+
+  * Corrected Build-Depends (closes: #92685).
+
+ -- Norbert Tretkowski <nobse@debian.org>  Sat,  7 Apr 2001 18:31:44 +0100
+
+wmsysmon (0.7.6-2) unstable; urgency=low
+
+  * Linked against xlib6g 3.3.6, not 4.0.1 (closes: #74792, #74808).
+
+ -- Norbert Tretkowski <nobse@nobse.de>  Tue, 31 Oct 2000 21:35:41 +0200
+
+wmsysmon (0.7.6-1) unstable; urgency=low
+
+  * Adopted package (closes: #68140).
+  * Linked against libxpm4 (closes: #67951).
+  * Updated to Standards-Version 3.1.1.
+
+ -- Norbert Tretkowski <nobse@nobse.de>  Thu, 14 Oct 2000 15:41:34 +0200
+
+wmsysmon (0.7.6-0.1) unstable; urgency=low
+
+  * Non-Maintainer Upload. This package needs a maintainer!
+  * New upstream release.
+  * Rebuilt with a newer libxpm, the package gets the correct depends on
+    libxpm4 now (closes: #67951).
+  * Compiled with glibc 2.1.94.
+  * src/Makefile: added some variables to fix the default, hardcoded
+    installation paths. The binary now installs in /usr/bin.
+  * Many changes in the debian/ dir for the new release:
+    + added a menu entry.
+    + rules: added support for DEB_BUILD_OPTIONS debug and nostrip, fixed
+      CFLAGS.
+    + copyright: updated license location, changed download URL and added
+      the new upstream maintainer.
+    + docs: added FAQ, removed BUGS.
+    + control: added Build-Depends, updated description and upped
+      Standards-Version to 3.0.1.
+
+ -- Jordi Mallach <jordi@debian.org>  Sat, 30 Sep 2000 05:19:57 +0200
+
+wmsysmon (0.2-2) unstable; urgency=low
+
+  *  Modified Initial Release.
+
+  *  Recompiled to take advantage of talon@debian.org.  Added to
+     version number simply for those who beta-tested my original
+     (pre-maintainer) 0.2-1
+
+ -- Brian E. Ermovick <talon@debian.org>  Mon,  1 Feb 1999 02:00:00 -0600
+
+wmsysmon (0.2-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Brian E. Ermovick <talon@debian.org>  Mon,  1 Feb 1999 01:58:40 -0600
--- wmsysmon-0.7.7.orig/debian/copyright
+++ wmsysmon-0.7.7/debian/copyright
@@ -0,0 +1,32 @@
+This package was debianized by Brian E. Ermovick talon@debian.org on
+Mon,  1 Feb 1999 01:58:40 -0600.
+It was downloaded from http://www.gnugeneration.com/software/wmsysmon.html.
+
+Upstream Authors: Dave Clark <clarkd@skynet.ca>
+          Vito Caputo <swivel@gnugeneration.com>
+
+License:
+
+  Copyright (C) 1998-1999 Dave Clark <clarkd@skynet.ca>
+  Copyright (C) 2000 Vito Caputo <swivel@gnugeneration.com>
+
+  This program 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 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, 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 file.
+
+The Debian packaging is (C) 1999-2007, Brian E. Ermovick <talon@debian.org>,
+(C) 2007 Luca Bedogni <me@lucabedogni.it> and is licensed under the GPL, see
+`/usr/share/common-licenses/GPL'.
--- wmsysmon-0.7.7.orig/debian/rules
+++ wmsysmon-0.7.7/debian/rules
@@ -0,0 +1,60 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpatch/dpatch.make
+
+CFLAGS  = -Wall -O2
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+  CFLAGS += -g
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+  INSTALL += -s
+endif
+
+build: patch-stamp
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+
+	# Add here commands to clean up after the build process.
+	[ ! -f Makefile ] || $(MAKE) clean
+
+	dpatch deapply-all
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp.
+	$(MAKE) DESTDIR=$(CURDIR)/debian/wmsysmon install
+
+	touch install-stamp
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installman debian/wmsysmon.1
+	dh_strip
+	dh_installmenu
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- wmsysmon-0.7.7.orig/debian/wmsysmon.1
+++ wmsysmon-0.7.7/debian/wmsysmon.1
@@ -0,0 +1,47 @@
+.TH wmsysmon 1 "2001-04-09" Debian "System Monitor Dockable Application"
+
+.SH NAME
+wmsysmon \- Windowmaker dock-app for monitoring your system.
+
+.SH SYNOPSIS
+wmsysmon
+[ \fB-display\fP <display name> ]
+[ \fB-geometry\fP +Xpos+Ypos ]
+[ \fB-r\fP  update rate in ms ]
+[ \fB-l\fP blinky lights for interrupts ]
+[ \fB-h\fP print help screen ]
+[ \fB-v\fP print version number ]
+
+.SH DESCRIPTION
+.B wmsysmon
+is a dockable application for Windowmaker (and possibly Afterstep). It monitors Memory, Swap, Disk IO, uptime and interrupts.
+
+.SH OPTIONS
+.TP
+.BI \-display <display name>
+Sets the display where wmsysmon will appear.
+.TP
+.BI \-geometry +Xpos+Ypos
+Set the position for wmsysmon.
+.TP
+.BI \-r updateRate
+Sets the update rate for wmsysmon.
+.TP
+.B \-l
+Set blinky lights on.
+.TP
+.B \-h
+Show the help screen.
+.TP
+.B \-v
+Print wmsysmon's version number.
+
+.SH SEE ALSO
+.BR Website
+<ftp://gnugeneration.com/pub/Linux/wmsysmon>
+
+.SH AUTHOR
+wmsysmon was written by Dave Clark <clarkd@skynet.ca> and Vito Caputo
+<swivel@gnugeneration.com>.
+This manual page was written by Luca Bedogni <me@lucabedogni.it>, for the
+Debian project (but may be used by others).