[Pkg-wmaker-commits] [wmmemload] 02/103: [svn-inject] Applying Debian modifications to trunk

Doug Torrance dtorrance-guest at moszumanska.debian.org
Mon Aug 24 03:11:37 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmmemload.

commit c9e6c1b7559a09e7dac1a8a6deaa4ab595fadc4b
Author: Philipp Benner <philipp at debian.org>
Date:   Sun Sep 16 08:20:43 2007 +0000

    [svn-inject] Applying Debian modifications to trunk
---
 debian/changelog                            |  90 +++++++++++++++++++
 debian/compat                               |   1 +
 debian/control                              |  19 ++++
 debian/copyright                            |  30 +++++++
 debian/dirs                                 |   2 +
 debian/menu                                 |   2 +
 debian/patches/00list                       |   2 +
 debian/patches/01-configure-kfreebsd.dpatch |  30 +++++++
 debian/patches/02-stamp-h-in.dpatch         |  11 +++
 debian/rules                                | 132 ++++++++++++++++++++++++++++
 debian/watch                                |   5 ++
 11 files changed, 324 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..611c73d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,90 @@
+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 <mail at philipp-benner.de>  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 <cyril.brulebois at enst-bretagne.fr>  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 <gordon at debian.org>  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 <gordon at debian.org>  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 <gordon at debian.org>  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 <gordon at debian.org>  Mon, 20 Oct 2003 21:45:30 +0200
+
+wmmemload (0.1.4-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Søren Boll Overgaard <boll at debian.org>  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 <boll at debian.org>  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 <boll at debian.org>  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 <boll at debian.org>  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 <boll at debian.org>  Tue, 23 Apr 2002 11:51:32 +0200
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b8626c4
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+4
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..8b26891
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,19 @@
+Source: wmmemload
+Section: x11
+Priority: optional
+Maintainer: Philipp Benner <mail at philipp-benner.de>
+Build-Depends: debhelper (>> 4.0.0), dpatch, autotools-dev, libx11-dev, libxext-dev, libxpm-dev, libxt-dev
+Standards-Version: 3.7.2
+
+Package: wmmemload
+Architecture: any
+Depends: ${shlibs: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.
+ .
+ Homepage: http://www.markstaggs.net/
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..70b2803
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+This package was debianized by S�ren Boll Overgaard boll at fork.dk on
+Mon,  8 Apr 2002 20:49:13 +0200.
+
+It was downloaded from http://www.markstaggs.net/
+
+Upstream Author: Mark Staggs <me at markstaggs.net>
+
+Copyright 2002 Mark Staggs
+	  2001, 2002  Seiichi Sato
+	  2001 John McCutchan
+	  2001 Jonathan Lang
+	  1999 Alfredo K. Kojima
+
+ 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.
+
+On Debian systems, the complete text of the GNU General Public
+License, version 2, can be found in /usr/share/common-licenses/GPL-2.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..ca882bb
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin
diff --git a/debian/menu b/debian/menu
new file mode 100644
index 0000000..46d294d
--- /dev/null
+++ b/debian/menu
@@ -0,0 +1,2 @@
+?package(wmmemload):needs="X11" section="Window Maker" \
+  title="wmmemload" command="/usr/bin/wmmemload"
diff --git a/debian/patches/00list b/debian/patches/00list
new file mode 100644
index 0000000..56d72ed
--- /dev/null
+++ b/debian/patches/00list
@@ -0,0 +1,2 @@
+01-configure-kfreebsd
+02-stamp-h-in
diff --git a/debian/patches/01-configure-kfreebsd.dpatch b/debian/patches/01-configure-kfreebsd.dpatch
new file mode 100755
index 0000000..d45889f
--- /dev/null
+++ b/debian/patches/01-configure-kfreebsd.dpatch
@@ -0,0 +1,30 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01-configure-kfreebsd.dpatch by Philipp Benner <mail at philipp-benner.de>
+##
+## DP: Fix FTBFS on GNU/kFreeBSD by matching "linux*|k*bsd*|gnu*" instead of only "linux*".
+
+ at DPATCH@
+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
diff --git a/debian/patches/02-stamp-h-in.dpatch b/debian/patches/02-stamp-h-in.dpatch
new file mode 100755
index 0000000..c411123
--- /dev/null
+++ b/debian/patches/02-stamp-h-in.dpatch
@@ -0,0 +1,11 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02-stamp-h-in.dpatch by Philipp Benner <mail at philipp-benner.de>
+##
+## DP: Create stamp-h.in required to inhibit autoheader execution.
+
+ at DPATCH@
+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
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..d14ce99
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,132 @@
+#!/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
+
+.NOTPARALLEL:
+include /usr/share/dpatch/dpatch.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: patch config configure-stamp build-stamp
+build-stamp:
+	dh_testdir
+
+# <bugfix>
+# do not run automake, autoconf, or autoheader
+	touch aclocal.m4 Makefile.in src/Makefile.in doc/Makefile.in configure stamp-h.in
+# </bugfix>
+	$(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 
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..b536503
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+# Compulsory line, this is a version 3 file
+version=3
+
+http://markstaggs.net/wmmemload/ (?:.*)?wmmemload-(.*)\.tar\.gz \
+  debian uupdate

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmmemload.git



More information about the Pkg-wmaker-commits mailing list