--- wmmemload-0.1.6.orig/debian/control +++ wmmemload-0.1.6/debian/control @@ -0,0 +1,19 @@ +Source: wmmemload +Section: x11 +Priority: optional +Maintainer: Philipp Benner +Build-Depends: debhelper (>> 5.0.0), quilt, autotools-dev, libx11-dev, libxext-dev, libxpm-dev, libxt-dev +Standards-Version: 3.9.2 +Vcs-Browser: http://svn.debian.org/wsvn/collab-maint/deb-maint/wmmemload/ +Vcs-Svn: svn://svn.debian.org/collab-maint/deb-maint/wmmemload/ + +Package: wmmemload +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: WindowMaker dockapp to monitor memory and swap usage + wmmemload displays the current memory and swap usage as a percentage + value. It is based on wmcpuload and wmmemmon, and as such looks very + nice alongside those. + . + wmmemload is designed to work with the WindowMaker dock, but will work with + other window managers as well. --- wmmemload-0.1.6.orig/debian/copyright +++ wmmemload-0.1.6/debian/copyright @@ -0,0 +1,35 @@ +This package was downloaded from http://markstaggs.net/wmmemload/ + +Files: * +Copyright: + © 2002 Mark Staggs + © 2001-2002 Seiichi Sato + © 2001 John McCutchan + © 2001 Jonathan Lang + © 1999 Alfredo K. Kojima +License: GPL-2+ + 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 with + the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL; + if not, write to the Free Software Foundation, Inc., 51 Franklin St, + Fifth Floor, Boston, MA 02110-1301, USA. + +Files: debian/* +Copyright: + © 2002-2007 Søren Boll Overgaard + © 2007 Philipp Benner +License: GPL-2+ + This package was debianized by Søren Boll Overgaard on Mon, 8 Apr 2002 + and is now maintained by Philipp Benner. + +On Debian systems, the complete text of the GNU General Public +License, version 2, can be found in /usr/share/common-licenses/GPL-2. --- wmmemload-0.1.6.orig/debian/menu +++ wmmemload-0.1.6/debian/menu @@ -0,0 +1,2 @@ +?package(wmmemload):needs="X11" section="Applications/System/Monitoring" \ + title="wmmemload" command="/usr/bin/wmmemload" --- wmmemload-0.1.6.orig/debian/compat +++ wmmemload-0.1.6/debian/compat @@ -0,0 +1 @@ +5 --- wmmemload-0.1.6.orig/debian/README.source +++ wmmemload-0.1.6/debian/README.source @@ -0,0 +1,2 @@ + + -- Philipp Benner , Sat, 12 Nov 2011 10:36:15 +0000 --- wmmemload-0.1.6.orig/debian/changelog +++ wmmemload-0.1.6/debian/changelog @@ -0,0 +1,115 @@ +wmmemload (0.1.6-7) unstable; urgency=low + + * Using quilt instead of dpatch. + * Added patch for kernel 3.0. + + -- Philipp Benner Sat, 12 Nov 2011 10:52:48 +0000 + +wmmemload (0.1.6-6) unstable; urgency=low + + * Fixing errors in manual page. + + -- Philipp Benner Mon, 02 Jun 2008 16:42:43 +0200 + +wmmemload (0.1.6-5) unstable; urgency=low + + * New maintainer e-mail address. + * debian/control: Added DM-Upload-Allowed: yes. + * debian/control: Standards version 3.7.3. + * debian/control: Added homepage field. + * debian/copyright: UTF-8 encoding. + * debian/copyright: Converted to machine interpretable format. + * debian/dirs: Removed usr/sbin/. + + -- Philipp Benner Mon, 14 Jan 2008 18:26:42 +0100 + +wmmemload (0.1.6-4) unstable; urgency=low + + * Adopting package (Closes: #427136). + * Standards policy version 3.7.2. + * Update config.sub and config.guess during the build process. + * Using dpatch to create stamp-h.in to prevent execution of autoheader. + * Menu update. + * New watch file. + * Updated copyright file. + + -- Philipp Benner Wed, 25 Jul 2007 18:25:25 +0200 + +wmmemload (0.1.6-3) unstable; urgency=low + + * QA upload. + * Fix FTBFS on GNU/kFreeBSD by matching "linux*|k*bsd*|gnu*" instead of only + "linux*". Since the diff is minimal, the patch has been applied to both + configure.ac and configure, without rerunning autotools (Closes: #415593). + * Use debian/compat instead of exporting DH_COMPAT in debian/rules. + + -- Cyril Brulebois Fri, 06 Jul 2007 19:58:34 +0200 + +wmmemload (0.1.6-2) unstable; urgency=low + + * Orphan package, set maintainer to Debian QA Group + + -- Gordon Fraser Sat, 02 Jun 2007 06:15:38 +0200 + +wmmemload (0.1.6-1) unstable; urgency=low + + * New upstream version (Closes: #325087) + * Fix build dependencies (Closes: #346978) + + -- Gordon Fraser Sun, 15 Jan 2006 14:19:28 +0100 + +wmmemload (0.1.5-2) unstable; urgency=low + + * Revert accidental changes to automake-files that would + cause a build-dep on automake (Closes: #218277) + + -- Gordon Fraser Sun, 2 Nov 2003 17:32:49 +0100 + +wmmemload (0.1.5-1) unstable; urgency=low + + * New maintainer (Closes: #216754) + * New upstream version + * debian/rules: Clean up, improve support for DEB_BUILD_OPTIONS + * Add menu entry + * debian/control: Standards-version to 3.6.1 + * Update debian/copyright + * Update description, include upstream homepage + * Use manpage provided by upstream with minor corrections + instead of debian/wmmemload.1 + + -- Gordon Fraser Mon, 20 Oct 2003 21:45:30 +0200 + +wmmemload (0.1.4-1) unstable; urgency=low + + * New upstream release + + -- Søren Boll Overgaard Mon, 24 Jun 2002 23:23:18 +0200 + +wmmemload (0.1.3-4) unstable; urgency=low + + * Install a bit of upstream documentation + * Remove useless calls to dh_* + * Clean up man page + + -- Søren Boll Overgaard Sat, 1 Jun 2002 19:00:29 +0200 + +wmmemload (0.1.3-3) unstable; urgency=low + + * Support all architectures. No functional change. + + -- Søren Boll Overgaard Tue, 30 Apr 2002 01:07:10 +0200 + +wmmemload (0.1.3-2) unstable; urgency=low + + * Fix building error on sparc (closes: Bug#144732) + * Only support i386 architecture until upstream officially supports others + * Make sure the Makefile exists when calling make distclean + + -- Søren Boll Overgaard Mon, 29 Apr 2002 10:37:35 +0200 + +wmmemload (0.1.3-1) unstable; urgency=low + + * Initial Release (closes: Bug#144190) + + -- Søren Boll Overgaard Tue, 23 Apr 2002 11:51:32 +0200 + --- wmmemload-0.1.6.orig/debian/rules +++ wmmemload-0.1.6/debian/rules @@ -0,0 +1,133 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE=1 + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + confflags += --build $(DEB_HOST_GNU_TYPE) +else + confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +endif + + +CFLAGS=-W -Wall +INSTALL=/usr/bin/install +INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755 +INSTALL_FILE = $(INSTALL) -p -o root -g root -m 644 + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +include /usr/share/quilt/quilt.make + +config: config-stamp +config-stamp: + dh_testdir + + if [ -r /usr/share/misc/config.sub ] && [ ! -f config.sub.backup ]; then \ + mv -v config.sub config.sub.backup; \ + cp -f /usr/share/misc/config.sub $(CURDIR)/config.sub; \ + fi + + if [ -r /usr/share/misc/config.guess ] && [ ! -f config.guess.backup ]; then \ + mv -v config.guess config.guess.backup; \ + cp -f /usr/share/misc/config.guess $(CURDIR)/config.guess; \ + fi + + touch $@ + +config-clean: + dh_testdir + dh_testroot + + if [ -f config.sub.backup ]; then \ + mv -fv config.sub.backup config.sub; \ + fi + + if [ -f config.guess.backup ]; then \ + mv -fv config.guess.backup config.guess; \ + fi + + $(RM) config-stamp + + +configure: configure-stamp +configure-stamp: + dh_testdir + + ./configure $(confflags) \ + --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info + + touch $@ + + +build: build-arch build-indep +build-arch: patch config configure-stamp build-stamp +build-indep: patch config configure-stamp build-stamp +build-stamp: + dh_testdir + +# +# do not run automake, autoconf, or autoheader + touch aclocal.m4 Makefile.in src/Makefile.in doc/Makefile.in configure stamp-h.in +# + $(MAKE) CFLAGS="$(CFLAGS)" INSTALL_PROGRAM="$(INSTALL_PROGRAM)" + + touch $@ + +clean: config-clean unpatch + dh_testdir + dh_testroot + + [ ! -f Makefile ] || $(MAKE) distclean + + $(RM) build-stamp configure-stamp stamp-h + $(RM) config.log + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) install prefix=$(CURDIR)/debian/wmmemload/usr + + +# 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 AUTHORS THANKS + dh_installmenu + 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 --- wmmemload-0.1.6.orig/debian/watch +++ wmmemload-0.1.6/debian/watch @@ -0,0 +1,4 @@ +version=3 + +http://markstaggs.net/wmmemload/ (?:.*)?wmmemload-(.*)\.tar\.gz \ + debian uupdate --- wmmemload-0.1.6.orig/debian/dirs +++ wmmemload-0.1.6/debian/dirs @@ -0,0 +1 @@ +usr/bin --- wmmemload-0.1.6.orig/debian/patches/01-configure-kfreebsd.patch +++ wmmemload-0.1.6/debian/patches/01-configure-kfreebsd.patch @@ -0,0 +1,28 @@ +Author: Philipp Benner +Description: Fix FTBFS on GNU/kFreeBSD by matching "linux*|k*bsd*|gnu*" instead of only "linux*" +Forwarded: no +License: GPL +diff -urNad wmmemload-0.1.6~/configure wmmemload-0.1.6/configure +--- wmmemload-0.1.6~/configure 2007-07-22 21:38:38.000000000 +0200 ++++ wmmemload-0.1.6/configure 2007-07-22 21:45:11.000000000 +0200 +@@ -4284,7 +4284,7 @@ + ignore_wired=no + + case ${host_os} in +-linux*) ++linux*|k*bsd*|gnu*) + OS=linux + ignore_buffers=yes + ignore_cached=yes +# diff -urNad wmmemload-0.1.6~/configure.ac wmmemload-0.1.6/configure.ac +# --- wmmemload-0.1.6~/configure.ac 2007-07-22 21:38:38.000000000 +0200 +# +++ wmmemload-0.1.6/configure.ac 2007-07-22 21:45:11.000000000 +0200 +# @@ -92,7 +92,7 @@ +# ignore_wired=no + +# case ${host_os} in +# -linux*) +# +linux*|k*bsd*|gnu*) +# OS=linux +# ignore_buffers=yes +# ignore_cached=yes --- wmmemload-0.1.6.orig/debian/patches/03-manual.patch +++ wmmemload-0.1.6/debian/patches/03-manual.patch @@ -0,0 +1,29 @@ +Author: Philipp Benner +Description: Fix errors in the manpage +Forwarded: no +License: GPL +diff -urNad wmmemload-0.1.6~/doc/wmmemload.1 wmmemload-0.1.6/doc/wmmemload.1 +--- wmmemload-0.1.6~/doc/wmmemload.1 2008-05-26 22:35:37 +0700 ++++ wmmemload-0.1.6/doc/wmmemload.1 2008-05-26 22:35:28 +0700 +@@ -61,7 +61,7 @@ + .B \-c, \-\-ignore\-cached + ignore cached pages. (GNU/Linux / FreeBSD) + .TP +-.B \-c, \-\-ignore\-wired ++.B \-wr, \-\-ignore\-wired + ignore wired pages. (FreeBSD) + .TP + .B \-h, \-\-help +@@ -76,11 +76,11 @@ + .B \-bw, \-\-broken\-wm + activate broken window manager fix + .TP +-.B \-a, \-\-alarm\-mem ++.B \-am, \-\-alarm\-mem + activate alarm mode of memory. is threshold of percentage from 0 + to 100.(90 is default) + .TP +-.B \-a, \-\-alarm\-swap ++.B \-as, \-\-alarm\-swap + activate alarm mode of swap. is threshold of percentage from 0 to + 100.(50 is default) --- wmmemload-0.1.6.orig/debian/patches/04-kernel30.patch +++ wmmemload-0.1.6/debian/patches/04-kernel30.patch @@ -0,0 +1,18 @@ +Author: Guillermo Indalecio Fernandez +Description: Fix version check for kernel 3.0 +Forwarded: no +License: GPL +diff -aruN wmmemload-0.1.6~/src/mem_linux.c wmmemload-0.1.6/src/mem_linux.c +--- wmmemload-0.1.6~/src/mem_linux.c 2003-11-03 22:06:39.000000000 +0000 ++++ wmmemload-0.1.6/src/mem_linux.c 2011-11-12 11:05:13.000000000 +0000 +@@ -49,8 +49,9 @@ + + /* new format ? (kernel >= 2.5.1pre?) */ + /* see linux/fs/proc/proc_misc.c */ +- if (version >= 2 && patchlevel >= 5 && sublevel >= 1 || \ +- version >= 2 && patchlevel >= 6 && sublevel >= 0) ++ if (version == 2 && patchlevel >= 5 && sublevel >= 1 || \ ++ version == 2 && patchlevel >= 6 && sublevel >= 0 || \ ++ version >2 ) + isnewformat = 1; + } --- wmmemload-0.1.6.orig/debian/patches/series +++ wmmemload-0.1.6/debian/patches/series @@ -0,0 +1,4 @@ +01-configure-kfreebsd.patch +02-stamp-h-in.patch +03-manual.patch +04-kernel30.patch --- wmmemload-0.1.6.orig/debian/patches/02-stamp-h-in.patch +++ wmmemload-0.1.6/debian/patches/02-stamp-h-in.patch @@ -0,0 +1,9 @@ +Author: Philipp Benner +Description: Create stamp-h.in required to inhibit autoheader execution +Forwarded: no +License: GPL +diff -urNad wmmemload-0.1.6~/stamp-h.in wmmemload-0.1.6/stamp-h.in +--- wmmemload-0.1.6~/stamp-h.in 1970-01-01 01:00:00.000000000 +0100 ++++ wmmemload-0.1.6/stamp-h.in 2007-07-25 11:19:18.000000000 +0200 +@@ -0,0 +1 @@ ++timestamp