--- asmon-0.71.orig/asmon/Makefile +++ asmon-0.71/asmon/Makefile @@ -12,16 +12,16 @@ ../wmgeneral/list.o .c.o: - gcc -c -Wall $(SOLARIS) $< -o $*.o + gcc -c -std=gnu89 -Wall $(SOLARIS) $< -o $*.o asmon: $(OBJS) gcc -o asmon $(OBJS) $(LIBDIR) $(LIBS) clean:: for i in $(OBJS) ; do \ - rm $$i;\ + rm -f $$i;\ done - rm asmon + rm -f asmon install:: - cp -f asmon /usr/local/bin + cp -f asmon $(DESTDIR)/usr/bin --- asmon-0.71.orig/asmon/asmon.c +++ asmon-0.71/asmon/asmon.c @@ -160,7 +160,7 @@ { sscanf(name.release, "%d.%d.%d", &kernMajor, &kernMinor, &kernRev); - if(( kernMajor == 2 ) && ( kernMinor == 6 )) + if (((kernMajor == 2) && (kernMinor == 6)) || (kernMajor > 2)) has_kern26 = 1; } } --- asmon-0.71.orig/debian/asmon.1 +++ asmon-0.71/debian/asmon.1 @@ -0,0 +1,55 @@ +.TH ASMON 1 "April 6, 2000" "Debian GNU/Linux" +.SH NAME +asmon \- A system resource monitor dockapp for Afterstep and WindowMaker +.SH SYNOPSIS +.B asmon +[\fIoptions\fP] +.SH DESCRIPTION +Asmon is a dockable applet for X11 that monitors system resources. It is +designed for the WindowMaker Dock or Afterstep Wharf but should work with +others as well. It displays CPU usage, load average, memory utilization, +pages and swaps. + +The upper most section of the applet displays CPU usage on the left, while +numerically representing load average on the right. + +The middle bar shows memory utilization divided by ticks into shared, +buffers, and cached respectively, with the number of megabytes used +represented numerically to the right. + +The lower bar displays information about swap, graphically on the left, +numerically on the right. + +At bottom left are four LEDs, top to bottom, left to right they are: pages +in, pages out, swap in and swap out. The remainder of the bottom row is +dedicated to a graphical bar representing the amount of memory that the X +server is using with the numerical representation to the right, +(optionally this section can be used to display uptime). +.SH OPTIONS +.TP 8 +.B \-display \fI\fB +Specify an alternate X display; see \fIX(1)\fP. +.TP 8 +.B -e \fI\fB +Execute on mouseclick. +.TP 8 +.B -u +Display uptime rather then X memory usage. +.TP 8 +.B \-v +Show version information and exit. +.TP 8 +.B \-h +Show summary of options. +.SH "SEE ALSO" +The WindowMaker or Afterstep documentation and user guides for information +about applets and docking. +.SH AUTHOR +This manual page was written by Paul van Tilburg , and +later updated by Eric Evans , for the Debian GNU/Linux +system. Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU General Public License, Version 2 or +any later version published by the Free Software Foundation. + +On Debian systems, the complete text of the GNU General Public License +can be found in /usr/share/common-licenses/GPL. --- asmon-0.71.orig/debian/changelog +++ asmon-0.71/debian/changelog @@ -0,0 +1,129 @@ +asmon (0.71-5.1build1) bionic; urgency=high + + * No change rebuild to pick up -fPIE compiler default + + -- Balint Reczey Tue, 03 Apr 2018 12:13:29 +0000 + +asmon (0.71-5.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix "ftbfs with GCC-5": + apply patch from Martin Michlmayr to use GNU89 inline semantics. + (Closes: #777780) + + -- gregor herrmann Sat, 18 Jul 2015 17:00:10 +0200 + +asmon (0.71-5) unstable; urgency=low + + * Update for recent kernels, (Closes: #639528). Thanks Andrew Deason. + + -- Eric Evans Tue, 17 Apr 2012 18:56:58 -0500 + +asmon (0.71-4) unstable; urgency=low + + * Updated maintainer email and Vcs-* control fields. + * Discontinued use of dpatch. + + -- Eric Evans Sat, 12 Apr 2008 18:54:44 -0500 + +asmon (0.71-3) unstable; urgency=low + + * Working debian/watch file, (Closes: #450265). + + -- Eric Evans Sat, 24 Nov 2007 18:21:07 -0600 + +asmon (0.71-2) unstable; urgency=low + + * Relocate menu entry to Applications/System/Monitoring, + (Closes: #438101). + + -- Eric Evans Tue, 18 Sep 2007 22:05:36 -0500 + +asmon (0.71-1) unstable; urgency=low + + * New upstream release. + * Updated watch file with working urls. + * Removed 414923.dpatch as it has now been merged upstream. + * Introduced makefile_fix.dpatch to apply changes previously made from + the diff.gz. + * Change section for the new menu hierarchy. + + -- Eric Evans Sun, 29 Jul 2007 17:50:50 -0500 + +asmon (0.70-4) unstable; urgency=low + + * Added patch correcting uptime display corruption, (Closes: #414923). + * Updated to latest standards version. + * Removed obsolete xlibs-dev build dependencies. + + -- Eric Evans Wed, 20 Jun 2007 12:16:11 -0500 + +asmon (0.70-3) unstable; urgency=low + + * Dropped uneeded build dep versioning on libx11-dev, libxpm-dev, + and libext-dev, and or'd xlibs-dev to make backporting easier, + (Closes: #348239). + + -- Eric Evans Sun, 15 Jan 2006 21:13:15 -0600 + +asmon (0.70-2) unstable; urgency=low + + * Build depend on libx11-dev, libxpm-dev, and libxext-dev instead + of the xlibs-dev transitional package. + * Remove cruft from man page, (Closes: #328110) + + -- Eric Evans Sat, 31 Dec 2005 17:01:26 -0600 + +asmon (0.70-1) unstable; urgency=low + + * New upstream release + + -- Eric Evans Fri, 19 Nov 2004 19:20:41 -0600 + +asmon (0.60-5) unstable; urgency=low + + * New maintainer, (Closes: #249230). + * Added patch to support kernel 2.6. + * Reworked man page. + + -- Eric Evans Sun, 12 Sep 2004 20:03:21 -0500 + +asmon (0.60-4) unstable; urgency=low + + * QA Group upload orphaning this package + * debian/control: add dpatch to Build-Depends + * Added patch submitted by Reid W Barton to change a float to a double to + handle long uptimes properly (closes: #250940) + * Added patch submitted by Reid W Barton to fix some display problems under + certain conditions (closes: #250941) + * debian/control: added versioned build dependency on debhelper + * debian/menu: quote everything that isn't tied down + + -- Andrew Pollock Sun, 11 Jul 2004 09:47:16 +1000 + +asmon (0.60-3) unstable; urgency=low + + * Applied patch from Narcis Suteu fixing + CPU load bar always 100% on PowerPC, thanks! + * Updated to standards 3.5.6.1 (fixing lintian errors). + * Updated to DH_COMPAT 3. + + -- Paul van Tilburg Fri, 10 Jan 2003 00:17:43 +0100 + +asmon (0.60-2) unstable; urgency=low + + * Fixed Depends to include xlibs (closes: #101418). + * Removed INSTALL file from package (lintian error). + * Added Build-Depends. + + -- Paul van Tilburg Sat, 23 Jun 2001 15:32:29 +0200 + +asmon (0.60-1) unstable; urgency=low + + * Initial Release. + + -- Paul van Tilburg Wed, 20 Dec 2000 10:47:01 +0100 + +Local variables: +mode: debian-changelog +End: --- asmon-0.71.orig/debian/compat +++ asmon-0.71/debian/compat @@ -0,0 +1 @@ +5 --- asmon-0.71.orig/debian/control +++ asmon-0.71/debian/control @@ -0,0 +1,19 @@ +Source: asmon +Section: x11 +Priority: optional +Build-Depends: debhelper (>= 5), libx11-dev, libxpm-dev, libxext-dev +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Eric Evans +Homepage: http://rio.vg/asmon/ +Vcs-Git: git://git.debian.org/git/users/eevans/asmon +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=users/eevans/asmon.git +Standards-Version: 3.9.3 + +Package: asmon +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: system resource monitor dockapp for Afterstep and WindowMaker + Asmon is a wharfable/dockable application that with meters detailing CPU, + memory, swap, and X mem usage. It also includes the exact numbers for + load average, mem, swap and X mem usage. Asmon was developed to use very + little CPU itself. --- asmon-0.71.orig/debian/copyright +++ asmon-0.71/debian/copyright @@ -0,0 +1,10 @@ +This package was debianized by Paul van Tilburg on +Thu, 9 Jan 2000 00:04:05 +0100. + +It was downloaded from ftp://ftp.afterstep.org/apps/asmon/ + +This software is copyright 1998-2007, Brad Hall + +You are free to distribute this software under the terms of the GNU General +Public License. On Debian systems, the complete text of the GNU General +Public License can be found in /usr/share/common-licenses/GPL file. --- asmon-0.71.orig/debian/dirs +++ asmon-0.71/debian/dirs @@ -0,0 +1 @@ +usr/bin --- asmon-0.71.orig/debian/menu +++ asmon-0.71/debian/menu @@ -0,0 +1,6 @@ +?package(asmon): \ + needs="X11" \ + section="Applications/System/Monitoring" \ + title="Asmon" \ + command="/usr/bin/asmon" \ + longtitle="System resource monitor dockapp for Windowmaker and Afterstep." --- asmon-0.71.orig/debian/rules +++ asmon-0.71/debian/rules @@ -0,0 +1,62 @@ +#!/usr/bin/make -f + +# $Id: rules,v 1.2 2004/11/20 01:40:15 eevans Exp $ + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +package = asmon +PACKAGE = asmon + +build: build-arch build-indep +build-arch: build-stamp +build-indep: build-stamp +build-stamp: + dh_testdir + + $(MAKE) -C asmon + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + $(MAKE) -C asmon clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) -C asmon install DESTDIR=$(CURDIR)/debian/$(package) + + +# 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_installdocs + dh_installmenu + dh_installman debian/asmon.1 + dh_installchangelogs Changelog + dh_link + dh_strip + 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 --- asmon-0.71.orig/debian/watch +++ asmon-0.71/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://rio.vg/asmon/ asmon-(.*)\.tar\.bz2