diff --git a/debian/changelog b/debian/changelog index 086eace..22b812c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,14 +1,34 @@ -pangzero (1.4.1-1) unstable; urgency=low +pangzero (1.4.1+git20121103-1) unstable; urgency=medium - [ Paul Wise ] - * New upstream release + * Team upload. + + [ Markus Koschany ] + * Imported Upstream Git snapshot 1.4.1+git20121103. + - This version would not be possible without the help and patches from + Hans de Goede. Thank you! + - Fixes multiple serious bugs: (Closes: #692221) + + Windowed mode does not work. + + Sound and music not working. + + Use of uninitialized values in comparisons. (Closes: #414336) + + Widescreen mode crashes pangzero. (Closes: #748525). Thanks to Josh + Triplett for the report. + + and multiple other crashes. + * Declare compliance with Debian Policy 3.9.6. + * debian/rules: Add get-orig-source target. + * Remove Marco Rodrigues from Uploaders because he is inactive and his e-mail + address is invalid. (Closes: #694149) + * Add a comment in German to pangzero.desktop. + * wrap-and-sort -sa. + * Add libmodule-build-perl to Build-Depends-Indep to silence build warnings + because the Build module will be removed from the next major Perl release. + * Update 10_nowebpage.patch for new release. + * Update debian/copyright to copyright format 1.0. [ Barry deFreese ] * Add Keywords entry to desktop file. * Make VCS tags canonical. - * Bump Standards Version to 3.9.4. - -- Barry deFreese Sat, 13 Jul 2013 18:17:59 -0400 + -- Markus Koschany Mon, 22 Sep 2014 23:53:12 +0200 pangzero (1.4-1) unstable; urgency=low diff --git a/debian/control b/debian/control index a0283b5..e4bf65e 100644 --- a/debian/control +++ b/debian/control @@ -5,18 +5,24 @@ Uploaders: Miriam Ruiz , Sam Hocevar , - Marco Rodrigues , Barry deFreese -Build-Depends: debhelper (>= 9) -Build-Depends-Indep: autotools-dev, libsdl-perl (>= 2.536~) -Standards-Version: 3.9.4 +Build-Depends: + debhelper (>= 9) +Build-Depends-Indep: + autotools-dev, + libsdl-perl (>= 2.536~), + libmodule-build-perl +Standards-Version: 3.9.6 Vcs-Svn: svn://anonscm.debian.org/pkg-games/packages/trunk/pangzero/ Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-games/packages/trunk/pangzero/ Homepage: http://apocalypse.rulez.org/pangzero Package: pangzero Architecture: all -Depends: libsdl-perl (>= 2.536~), ${misc:Depends}, ${perl:Depends} +Depends: + libsdl-perl (>= 2.536~), + ${misc:Depends}, + ${perl:Depends} Description: action game that involves popping balloons with a harpoon Pang Zero is a clone and enhancement of Super Pang, a fast-paced action game that involves popping balloons with a harpoon. diff --git a/debian/copyright b/debian/copyright index 440ac93..49507b3 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,31 +1,39 @@ -This package was debianized by Miriam Ruiz on -Thu, 7 Dec 2006 18:43:34 +0000. +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Pang Zero +Source: https://github.com/kthakore/pangzero -It was downloaded from http://sourceforge.net/projects/pangzero +Files: * +Copyright: 2006-2012, Code and Graphics: UPi + Music: SAdam + Graphics: DaniGM + Graphics: Elio Blanca +License: GPL-2+ -Upstream Authors: - Code and Graphics: UPi - Music: SAdam - Graphics: DaniGM - Graphics: Elio Blanca +Files: debian/* +Copyright: 2006, Miriam Ruiz + 2007, Sam Hocevar (Debian packages) + 2007, Eddy Petrișor + 2007, Jon Dowland + 2007, Marco Rodrigues + 2009, Barry deFreese + 2012, Paul Wise + 2014, Markus Koschany +License: GPL-2+ -Copyright: Copyright (C) 2006 by UPi - -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 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 - -The Debian packaging is Copyright (C) 2006, Miriam Ruiz and -is licensed under the GPL, see `/usr/share/common-licenses/GPL-2'. +License: GPL-2+ + 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. + . + 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 + . + 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/pangzero.6 b/debian/pangzero.6 index 2ffe181..f19b6b7 100644 --- a/debian/pangzero.6 +++ b/debian/pangzero.6 @@ -1,8 +1,8 @@ .\" .ig .\" Pang Zero manual page. -.\" +.\" .\" Miriam Ruiz , 2006. -.\" +.\" .\" This next line loads the www macro package so that the .URL macro can be used. .\" .. .\" .mso www.tmac @@ -32,7 +32,7 @@ . .SH "FILES" . -.TP +.TP .I ~/.pangzerorc This is where Pang Zero stores user data and game configuration. .SH "AUTHOR" diff --git a/debian/pangzero.desktop b/debian/pangzero.desktop index 4567232..2ce427f 100644 --- a/debian/pangzero.desktop +++ b/debian/pangzero.desktop @@ -2,6 +2,7 @@ Name=Pang Zero GenericName=pangzero Comment=Pop balloons with your harpoon +Comment[de]=Lasse Ballons mit deiner Harpune platzen Type=Application Keywords=game;entertainment; Exec=pangzero diff --git a/debian/pangzero.install b/debian/pangzero.install index 119b428..1653913 100644 --- a/debian/pangzero.install +++ b/debian/pangzero.install @@ -1,2 +1,2 @@ +debian/pangzero.desktop usr/share/applications debian/pangzero.xpm usr/share/pixmaps -debian/pangzero.desktop usr/share/applications diff --git a/debian/patches/10_nowebpage.patch b/debian/patches/10_nowebpage.patch index f34ae3b..ff8dd14 100644 --- a/debian/patches/10_nowebpage.patch +++ b/debian/patches/10_nowebpage.patch @@ -1,15 +1,20 @@ -Author: Paul Wise -Description: Default ShowWebsite so webpage not called on exit -Bug-Debian: http://bugs.debian.org/481998 -Last-Update: 2012-03-04 -Forwarded: no +From: Markus Koschany +Date: Tue, 23 Sep 2014 12:26:41 +0200 +Subject: 10_nowebpage + +--- + lib/Games/PangZero/Globals.pm | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/Games/PangZero/Globals.pm b/lib/Games/PangZero/Globals.pm +index 4f39fcd..5431157 100644 --- a/lib/Games/PangZero/Globals.pm +++ b/lib/Games/PangZero/Globals.pm -@@ -242,6 +242,6 @@ +@@ -243,6 +243,6 @@ $Games::PangZero::SeekerBallsEnabled = 1; $Games::PangZero::FullScreen = 1; $Games::PangZero::UnicodeMode = 0; $Games::PangZero::Slippery = 0; -$Games::PangZero::ShowWebsite = 0; -+$Games::PangZero::ShowWebsite = 1.4; ++$Games::PangZero::ShowWebsite = '1.4.1'; 1; diff --git a/debian/rules b/debian/rules index 73183ef..85e3b3d 100755 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,30 @@ #!/usr/bin/make -f +PKD := $(abspath $(dir $(MAKEFILE_LIST))) +VER := $(shell dpkg-parsechangelog -l$(PKD)/changelog -SVersion | cut -d- -f1) +PKG := pangzero +UURL := https://github.com/kthakore/pangzero.git +COMMIT := 422ce004be3b32de4f301feb83c0731f18779aad + + %: dh $@ --parallel override_dh_auto_configure: dh_auto_configure -- --install_path script=/usr/games +.PHONY: get-orig-source +## http://wiki.debian.org/onlyjob/get-orig-source +get-orig-source: + @echo "# Cloning upstream git repository..." + git clone $(UURL) $(PKG)-$(VER) \ + || $(RM) -r $(PKG)-$(VER) + cd $(PKG)-$(VER) \ + && git checkout -b debiansource $(COMMIT) \ + && echo "# Setting times..." \ + && for F in $$(git ls-tree -r --name-only HEAD); \ + do touch --no-dereference -d "$$(git log -1 --format="%ai" -- $$F)" "$$F"; done \ + && $(RM) -r .git .git* + @echo "# Packing..." + find -L "$(PKG)-$(VER)" -xdev -type f -print | sort \ + | XZ_OPT="-6v" tar -caf "$(PKG)_$(VER)$(DTYPE).orig.tar.xz" -T- --owner=root --group=root --mode=a+rX \ + && $(RM) -r "$(PKG)-$(VER)"