--- wmdiskmon-0.0.2.orig/configure.ac +++ wmdiskmon-0.0.2/configure.ac @@ -98,7 +98,7 @@ ignore_buffers=yes ignore_cached=yes ;; -freebsd*) +[k]freebsd*) OS=freebsd ignore_wired=yes ignore_cached=yes --- wmdiskmon-0.0.2.orig/debian/control +++ wmdiskmon-0.0.2/debian/control @@ -0,0 +1,13 @@ +Source: wmdiskmon +Section: x11 +Priority: optional +Maintainer: Marc 'HE' Brockschmidt +Build-Depends: libx11-dev | xlibs-dev (>> 4.1.0), libxext-dev | xlibs-dev (>> 4.1.0), libxpm-dev | xlibs-dev (>> 4.1.0), libxt-dev | xlibs-dev (>> 4.1.0), debhelper (>= 7), autotools-dev +Standards-Version: 3.8.3 + +Package: wmdiskmon +Architecture: any +Depends: ${shlibs:Depends} +Description: dockapp to display disk usage + wmdiskmon is a dockapp to monitor disk usage. It can be used with X window + managers like WindowMaker, AfterStep, BlackBox and Enlightenment. --- wmdiskmon-0.0.2.orig/debian/rules +++ wmdiskmon-0.0.2/debian/rules @@ -0,0 +1,75 @@ +#!/usr/bin/make -f + +TMP=$(CURDIR)/debian/wmdiskmon + +CFLAGS = -Wall -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + if [ -r /usr/share/misc/config.sub ]; then\ + mv $(CURDIR)/config.sub $(CURDIR)/config.sub.backup;\ + cp /usr/share/misc/config.sub $(CURDIR)/config.sub;\ + fi + if [ -r /usr/share/misc/config.guess ]; then\ + mv $(CURDIR)/config.guess $(CURDIR)/config.guess.backup;\ + cp /usr/share/misc/config.guess $(CURDIR)/config.guess;\ + fi + CFLAGS="$(CFLAGS)" ./configure --prefix=/usr --mandir=/usr/share/man + touch configure-stamp + +build: configure build-stamp +build-stamp: + dh_testdir + $(MAKE) + touch build-stamp + +clean: + dh_testdir + dh_testroot + [ ! -f Makefile ] || $(MAKE) maintainer-clean + if [ -r $(CURDIR)/config.sub.backup ]; then\ + mv $(CURDIR)/config.sub.backup $(CURDIR)/config.sub;\ + fi + if [ -r $(CURDIR)/config.guess.backup ]; then\ + mv $(CURDIR)/config.guess.backup $(CURDIR)/config.guess;\ + fi + dh_clean build-stamp install-stamp configure-stamp config.log + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_prep + $(MAKE) install DESTDIR=$(TMP) + 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_installdocs + dh_installexamples + dh_installmenu + dh_installmanpages + dh_installchangelogs ChangeLog + 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 --- wmdiskmon-0.0.2.orig/debian/changelog +++ wmdiskmon-0.0.2/debian/changelog @@ -0,0 +1,26 @@ +wmdiskmon (0.0.2-2) unstable; urgency=low + + * configure.ac fixed to also build on kfreebsd. + * Added a menu file. + + -- Marc 'HE' Brockschmidt Sun, 16 Aug 2009 13:23:40 +0200 + +wmdiskmon (0.0.2-1) unstable; urgency=low + + * Update to new upstream release 0.0.2: Default behaviour changed: Now + displays mount points instead of devices. + * Updated for new debhelper/policy. + + -- Marc 'HE' Brockschmidt Sun, 16 Aug 2009 12:24:04 +0200 + +wmdiskmon (0.0.1-2) unstable; urgency=low + + * debian/control: I'm a DD! + + -- Marc 'HE' Brockschmidt Thu, 15 Jul 2004 19:33:13 +0200 + +wmdiskmon (0.0.1-1) unstable; urgency=low + + * Initial Release. (Closes: #233017) + + -- Marc Brockschmidt Mon, 16 Feb 2004 12:09:27 +0100 --- wmdiskmon-0.0.2.orig/debian/compat +++ wmdiskmon-0.0.2/debian/compat @@ -0,0 +1 @@ +7 --- wmdiskmon-0.0.2.orig/debian/copyright +++ wmdiskmon-0.0.2/debian/copyright @@ -0,0 +1,15 @@ +This package was debianized by Marc Brockschmidt on +Mon, 16 Feb 2004 12:24:17 +0100. + +It was downloaded from http://tnemeth.free.fr/projets/dockapps.html + +Upstream Author: Thomas Nemeth + +Copyright: (c) Thomas Nemeth 2004, 2005 + +wmdiskmon is released under the terms of the GNU GPL version 2. + +On Debian GNU/Linux systems, the complete text of the GNU +General Public License version 2 can be found in +/usr/share/common-licenses/GPL-2. + --- wmdiskmon-0.0.2.orig/debian/menu +++ wmdiskmon-0.0.2/debian/menu @@ -0,0 +1,6 @@ +?package(wmdiskmon):\ + needs="X11"\ + section="Applications/System/Monitoring"\ + hints="Disks"\ + title="wmdiskmon"\ + command="/usr/bin/wmdiskmon"