[Pkg-wmaker-commits] [wmifs] 01/01: Imported Debian patch 1.3b1-18

Doug Torrance dtorrance-guest at moszumanska.debian.org
Thu Aug 27 02:38:12 UTC 2015


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

dtorrance-guest pushed a commit to annotated tag debian/1.3b1-18
in repository wmifs.

commit b8df17039f13cf60b59dbcbcbcf763058efc5bd6
Author: Martin A. Godisch <godisch at debian.org>
Date:   Sun Feb 3 17:15:18 2008 +0100

    Imported Debian patch 1.3b1-18
---
 debian/changelog |  8 ++++++++
 debian/control   |  6 +++---
 debian/copyright |  2 ++
 debian/dirs      |  2 --
 debian/docs      |  4 ----
 debian/manpages  |  1 -
 debian/menu      |  4 +---
 debian/postinst  |  9 +++++++++
 debian/postrm    |  9 +++++++++
 debian/rules     | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++----
 10 files changed, 89 insertions(+), 17 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 77756d4..abe60c0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+wmifs (1.3b1-18) unstable; urgency=low
+
+  * New maintainer, closes: #439971.
+  * Removed debhepler and cdbs build-dependency.
+  * Updated standards version.
+
+ -- Martin A. Godisch <godisch at debian.org>  Sun, 03 Feb 2008 17:15:18 +0100
+
 wmifs (1.3b1-17) unstable; urgency=low
 
   * debian/control:
diff --git a/debian/control b/debian/control
index 0b1d839..7dae0bd 100644
--- a/debian/control
+++ b/debian/control
@@ -1,9 +1,9 @@
 Source: wmifs
 Section: x11
 Priority: optional
-Maintainer: Debian QA Group <packages at qa.debian.org>
-Build-Depends: debhelper (>= 5.0.0), cdbs, libx11-dev, libxpm-dev
-Standards-Version: 3.7.2
+Maintainer: Martin A. Godisch <godisch at debian.org>
+Build-Depends: libx11-dev, libxpm-dev
+Standards-Version: 3.7.3
 
 Package: wmifs
 Architecture: any
diff --git a/debian/copyright b/debian/copyright
index bb7e783..cc62f47 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -5,6 +5,8 @@ Sun,  6 May 2001 13:50:04 +0200
 Romain Francoise <rfrancoise at debian.org> then took the package from
 Jordi's hands on Fri, 05 Dec 2003 20:05:51 +0100
 
+The package is now maintained by Martin A. Godisch <godisch at debian.org>.
+
 
 It was downloaded from http://web.cs.mun.ca/~gstarkes/wmaker/dockapps/net.html
 
diff --git a/debian/dirs b/debian/dirs
deleted file mode 100644
index b745c0b..0000000
--- a/debian/dirs
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/bin
-etc
diff --git a/debian/docs b/debian/docs
deleted file mode 100644
index 81f7b1a..0000000
--- a/debian/docs
+++ /dev/null
@@ -1,4 +0,0 @@
-BUGS
-README
-TODO
-HINTS
diff --git a/debian/manpages b/debian/manpages
deleted file mode 100644
index 73b24b4..0000000
--- a/debian/manpages
+++ /dev/null
@@ -1 +0,0 @@
-debian/wmifs.1
diff --git a/debian/menu b/debian/menu
index f1c8ddb..9f3dcb6 100644
--- a/debian/menu
+++ b/debian/menu
@@ -1,3 +1 @@
-?package(wmifs):needs="x11" \
-   section="Apps/Net" title="WMifs" \
-   command="/usr/bin/wmifs"
+?package(wmifs):needs="x11" section="Applications/Network/Monitoring" title="WMifs" command="/usr/bin/wmifs"
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..bffecfb
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "configure" ] && [ -x "`which update-menus 2> /dev/null`" ]; then
+	update-menus
+fi
+
+exit 0
diff --git a/debian/postrm b/debian/postrm
new file mode 100644
index 0000000..97fba18
--- /dev/null
+++ b/debian/postrm
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+if [ -x "`which update-menus 2> /dev/null`" ]; then
+	update-menus
+fi
+
+exit 0
diff --git a/debian/rules b/debian/rules
index 26366dd..93405b2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,61 @@
 #!/usr/bin/make -f
 
-include /usr/share/cdbs/1/class/makefile.mk
-include /usr/share/cdbs/1/rules/debhelper.mk
+testdir  = test -f wmifs/wmifs.c && test -f debian/rules
+testroot = test x`whoami` = xroot
 
-DEB_BUILDDIR = wmifs
+CFLAGS = -Wall -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+export CFLAGS
 
-DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(DEB_DESTDIR) prefix=/usr
+clean:
+	$(testdir)
+	rm -f build debian/files debian/rejected debian/substvars
+	$(MAKE) -C wmifs clean
+	-cat `ls -r debian/patches/*.diff` /dev/null | patch -RENtp1 -r debian/rejected --no-backup-if-mismatch
+	rm -rf debian/tmp
+
+build:
+	$(testdir)
+	-cat debian/patches/*.diff | patch -Ntp1 -r debian/rejected --no-backup-if-mismatch
+	$(MAKE) -C wmifs
+	touch $@
+
+binary: binary-arch
+
+binary-indep:
+
+binary-arch: build
+	$(testdir)
+	$(testroot)
+	rm -rf debian/tmp
+
+	$(MAKE) -C wmifs install prefix=/usr DESTDIR=$(CURDIR)/debian/tmp
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	strip -R .comment -R .note debian/tmp/usr/bin/wmifs
+endif
+	install -D -p -m 0644 debian/wmifs.1 debian/tmp/usr/share/man/man1/wmifs.1
+	install -D -p -m 0644 debian/menu debian/tmp/usr/share/menu/wmifs
+	install -D -p -m 0644 debian/changelog debian/tmp/usr/share/doc/wmifs/changelog.Debian
+	install -D -p -m 0644 CHANGES debian/tmp/usr/share/doc/wmifs/changelog
+	install    -p -m 0644 BUGS HINTS README TODO debian/copyright debian/tmp/usr/share/doc/wmifs
+	install -d -p -m 0755 debian/tmp/DEBIAN
+	install    -p -m 0644 debian/control debian/tmp/DEBIAN
+	install    -p -m 0755 debian/postinst debian/postrm debian/tmp/DEBIAN
+	find debian/tmp/usr/share/man -type f ! -name '*.gz' -print0 | xargs -0 gzip -9n
+	find debian/tmp/usr/share/doc -type f \( -size +8 -o -name 'changelog*' \) \
+		! -name copyright ! -name '*.htm*' ! -name '*.gz' -print0 | xargs -0 gzip -9n
+	cd debian/tmp && find etc -type f | sed 's/^/\//' > DEBIAN/conffiles
+	cd debian/tmp && find usr -type f -print0 | xargs -0 md5sum > DEBIAN/md5sums
+	chmod 0644 debian/tmp/DEBIAN/md5sums
+
+	dpkg-shlibdeps debian/tmp/usr/bin/wmifs
+	dpkg-gencontrol -isp -pwmifs
+	chown -R root:root debian/tmp
+	chmod -R u+w,go=u-w debian/tmp
+	dpkg --build debian/tmp ..
+
+.PHONY: clean binary-indep binary-arch binary

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



More information about the Pkg-wmaker-commits mailing list