[SCM] Wormux PKG branch, master, updated. 8eeddd9b8ebd59d6b32784f1404c30745edfd220

Eddy Petrișor eddy.petrisor at gmail.com
Tue Aug 26 08:42:40 UTC 2008


The following commit has been merged in the master branch:
commit 2df80e3108735f5ef6f69d5dff8945f6ef0defa5
Author: Eddy Petrișor <eddy.petrisor at gmail.com>
Date:   Sun Aug 24 12:26:38 2008 +0300

    imported the refresh-patches mechanism from tokyocabinet's package

diff --git a/debian/changelog b/debian/changelog
index 40fc092..f4cdbfe 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,8 +11,10 @@ wormux (1:0.8-2) UNRELEASED; urgency=low
 
   [ Eddy Petrișor ]
   * moved to git for maintainance and changed Vcs-* fields accordingly
+  * imported the refresh-patches mechanism from tokyocabinet's package;
+    thanks MadCoder
 
- -- Eddy Petrișor <eddy.petrisor at gmail.com>  Fri, 22 Aug 2008 02:42:48 +0300
+ -- Eddy Petrișor <eddy.petrisor at gmail.com>  Sat, 23 Aug 2008 12:48:38 +0300
 
 wormux (1:0.8-1) unstable; urgency=low
 
diff --git a/debian/copyright b/debian/copyright
index 0a0d092..17ed7a5 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,6 +1,14 @@
 This package was debianized by Jean Parpaillon <jean.parpaillon at free.fr> on
 Mon,  9 Jan 2006 14:21:55 +0100.
 
+
+The refresh-patches mechanism is BSD licensed (taken from tokyocabinet's package)
+and is © 2007 Pierre Habouzit <madcoder at debian.org>
+License: BSD
+  On Debian systems the text of the license can be found at:
+  /usr/share/common-licenses/BSB
+
+
 It was downloaded from http://wormux.org/
 
 Copyright Holder (2001-2008):
@@ -11,6 +19,7 @@ Matthieu FERTRÉ <matthieu.fertre at free.fr>
 Renaud LOTTIAUX <renaud.lottiaux at free.fr>
 Victor STINNER <victor.stinner at haypocalc.com>
 
+
 License:
 
    This package is free software; you can redistribute it and/or modify
diff --git a/debian/rules b/debian/rules
index 61dd350..119883a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,11 +3,39 @@
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
 
 FONT_PATH = $(shell fc-match --verbose 'DejaVu Sans' | grep 'file:' | sed -e 's/.*file: "\(.*\)"(s)/\1/')
 DEB_CONFIGURE_EXTRA_FLAGS += --bindir=\$${prefix}/games --with-datadir-name=\$${prefix}/share/games/wormux --with-localedir-name=\$${prefix}/share/locale --with-font-path=$(FONT_PATH)
 DEB_DH_INSTALL_SOURCEDIR = debian/tmp
 
+srcpkg = $(shell dpkg-parsechangelog | sed -ne 's/Source: *//p')
+srcver = $(shell dpkg-parsechangelog | sed -ne 's/Version: *\(.*:\)\?\(.*\)-.*$$/\2/p')
+
+#{{{ generic rules
+
+../$(srcpkg)_$(srcver).orig.tar.gz:
+	@if git rev-parse --git-dir >/dev/null 2>&1; then                 \
+	    pristine-tar checkout $@;                                     \
+	fi
+
+check-tarball: ../$(srcpkg)_$(srcver).orig.tar.gz
+
+.PHONY: check-tarball
+
+#}}}
+#{{{ maintainer stuff
+
+refresh-patches: check-tarball
+	@dh_testdir
+	@echo 'refreshing debian/patches:'
+	@rm -rf '$(CURDIR)'/debian/patches
+	@mkdir -p '$(CURDIR)'/debian/patches
+	@cd '$(CURDIR)'/debian/patches && git format-patch upstream..upstream+patches
+	@echo .
+
+#}}}
+
 install/wormux::
 	mkdir -p debian/tmp/usr/share/pixmaps
 	cp debian/wormux_*.xpm debian/tmp/usr/share/pixmaps

-- 
Wormux PKG



More information about the Pkg-games-commits mailing list