The following commit has been merged in the master branch: commit 88f985d11d6e9bd0e01d45458743b6a39ceb07ef Author: Eddy Petrișor <eddy.petri...@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.petri...@gmail.com> Fri, 22 Aug 2008 02:42:48 +0300 + -- Eddy Petrișor <eddy.petri...@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.parpail...@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 <madco...@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.fer...@free.fr> Renaud LOTTIAUX <renaud.lotti...@free.fr> Victor STINNER <victor.stin...@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 _______________________________________________ Pkg-games-commits mailing list Pkg-games-commits@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits