[Pkg-wmaker-commits] [wmfrog] 16/145: Add dpatch, clean up all

Doug Torrance dtorrance-guest at moszumanska.debian.org
Sun Aug 23 05:46:13 UTC 2015


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

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

commit 3beae7d4f646afce57af01097798feb54c0e625e
Author: Jari Aalto <jari.aalto at cante.net>
Date:   Fri Nov 7 10:12:01 2008 +0200

    Add dpatch, clean up all
    
    Signed-off-by: Jari Aalto <jari.aalto at cante.net>
---
 debian/compat    |  2 +-
 debian/control   |  8 ++++---
 debian/copyright | 44 +++++++++++++++++++++++-------------
 debian/rules     | 69 +++++++++++++++++++++++---------------------------------
 4 files changed, 62 insertions(+), 61 deletions(-)

diff --git a/debian/compat b/debian/compat
index b8626c4..7f8f011 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-4
+7
diff --git a/debian/control b/debian/control
index b97a75e..e4e7c73 100644
--- a/debian/control
+++ b/debian/control
@@ -2,8 +2,11 @@ Source: wmfrog
 Section: x11
 Priority: optional
 Maintainer: Jari Aalto <jari.aalto at cante.net>
-Build-Depends: debhelper (>= 4.0.0), libxpm-dev
-Standards-Version: 3.6.2
+Build-Depends: debhelper (>= 7), libxpm-dev, dpatch
+Standards-Version: 3.8.0
+Vcs-Browser: http://git.debian.org/?p=collab-maint/wmfrog.git
+Vcs-Git: git://git.debian.org/git/collab-maint/wmfrog.git
+Homepage: http://freshmeat.net/projects/wmfrog
 
 Package: wmfrog
 Architecture: any
@@ -16,4 +19,3 @@ Description: A dockapp for showing weather in graphical way
  perentage; Wind speed (average & gust); Wind Direction; Temperature
  (Celcius or Fareinheit); Station name can be configured and weather
  report time is displayed.
-
diff --git a/debian/copyright b/debian/copyright
index ba42872..dac4f6d 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,27 +1,39 @@
 This package was debianized by Jari Aalto <jari.aalto at cante.net> on
-Sat, 11 Feb 2006 15:16:55 +0200.
+2008-11-02 15:16:55+02 Sun.
 
-It was downloaded from http://www.colar.net/wmapps/
-See also http://dockapps.org/file.php/id/92
+It was downloaded from
 
-Copyright Holder: <tcolar at qarbon.com>
+    http://www.colar.net/wmapps
+
+    See also:
+    https://sourceforge.net/projects/wmfrog
+    http://freshmeat.net/projects/wmfrog
+    http://dockapps.org/file.php/id/92
+
+Copyright Holder:
+
+    <tcolar at qarbon.com>
 
 License:
 
-   This package 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 package 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 package 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.
+    This package 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
-   along with this package; if not, write to the Free Software
-   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+    You should have received a copy of the GNU General Public License
+    along with this package; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+The Debian packaging is licensed under the GPL v2 (or at your option,
+any later version), see below, and is:
+
+    Copyright (C) 2008 Jari Aalto <jari.aalto at cante.net>
 
 On Debian systems, the complete text of the GNU General
 Public License can be found in `/usr/share/common-licenses/GPL'.
-
diff --git a/debian/rules b/debian/rules
index fb32fd3..7ffde35 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,67 +1,54 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+MAKEDIR = Src
+MAKEOPT = -C $(MAKEDIR)
 
-
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
+include /usr/share/dpatch/dpatch.make
 
 configure: configure-stamp
+
 configure-stamp:
 	dh_testdir
-	# Add here commands to configure the package.
-
+	# Commands to configure the package.
 	touch configure-stamp
 
-
 build: build-stamp
 
-build-stamp: configure-stamp 
+build-stamp: configure-stamp patch
 	dh_testdir
 
-	# Add here commands to compile the package.
-	$(MAKE) -C Src
-	#docbook-to-man debian/wmfrog.sgml > wmfrog.1
+	# Commands to compile the package.
+	$(MAKE) $(MAKEOPT)
 
 	touch build-stamp
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp configure-stamp
 
-	# Add here commands to clean up after the build process.
-	-$(MAKE) -C Src clean
+	# Commands to clean up after the build process.
+	[ ! Src/Makefile ] || $(MAKE) $(MAKEOPT) clean
 
-	dh_clean 
+	dh_clean
 
 install: build
 	dh_testdir
 	dh_testroot
-	dh_clean -k 
+	dh_clean -k
 	dh_installdirs
 
 	# Add here commands to install the package into debian/wmfrog.
-	$(MAKE) -C Src install DESTDIR=$(CURDIR)/debian/wmfrog
+	$(MAKE) $(MAKEOPT) install DESTDIR=$(CURDIR)/debian/wmfrog
 
 
 # Build architecture-independent files here.
 binary-indep: build install
-# We have nothing to do by default.
+	# We have nothing to do.
 
 # Build architecture-dependent files here.
 binary-arch: build install
@@ -70,24 +57,24 @@ binary-arch: build install
 	dh_installchangelogs CHANGES
 	dh_installdocs
 	dh_installexamples
-#	dh_install
-#	dh_installmenu
-#	dh_installdebconf	
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installmime
-#	dh_installinit
-#	dh_installcron
-#	dh_installinfo
+#       dh_install
+#       dh_installmenu
+#       dh_installdebconf
+#       dh_installlogrotate
+#       dh_installemacsen
+#       dh_installpam
+#       dh_installmime
+#       dh_installinit
+#       dh_installcron
+#       dh_installinfo
 	dh_installman Src/wmfrog.1
 	dh_link
 	dh_strip
 	dh_compress
 	dh_fixperms
-#	dh_perl
-#	dh_python
-#	dh_makeshlibs
+#       dh_perl
+#       dh_python
+#       dh_makeshlibs
 	dh_installdeb
 	dh_shlibdeps
 	dh_gencontrol

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



More information about the Pkg-wmaker-commits mailing list