diff -Nru late-0.1.0/debian/changelog late-0.1.0/debian/changelog --- late-0.1.0/debian/changelog 2016-04-27 11:13:37.000000000 +0000 +++ late-0.1.0/debian/changelog 2016-04-17 05:47:53.000000000 +0000 @@ -1,3 +1,27 @@ +late (0.1.0-13) unstable; urgency=medium + + * Team upload. + + [ Evgeni Golov ] + * Correct Vcs-* URLs to point to anonscm.debian.org. + + [ Markus Koschany ] + * wrap-and-sort -sa. + * Declare compliance with Debian Policy 3.9.8. + * Vcs-Browser: Use https. + * Switch to source format 3.0 (quilt). + * Remove dpatch from Build-Depends. + * Use compat level 9 and require debhelper >= 9. + * Update debian/copyright to copyright format 1.0. + * debian/watch: Use version=4. + * Switch to dh sequencer and modernize debian/rules. + * Use set -e in postinst and postrm maintainer scripts. + * Migrate patch system from dpatch to quilt. + * Export DEB_BUILD_MAINT_OPTIONS = hardening=+all. + * Add late.desktop file and new icon. (Closes: #726810) + + -- Markus Koschany Sun, 17 Apr 2016 07:12:11 +0200 + late (0.1.0-12) unstable; urgency=low * Team upload. diff -Nru late-0.1.0/debian/compat late-0.1.0/debian/compat --- late-0.1.0/debian/compat 2016-04-27 11:13:37.000000000 +0000 +++ late-0.1.0/debian/compat 2016-04-17 05:47:53.000000000 +0000 @@ -1 +1 @@ -5 +9 diff -Nru late-0.1.0/debian/control late-0.1.0/debian/control --- late-0.1.0/debian/control 2016-04-27 11:13:37.000000000 +0000 +++ late-0.1.0/debian/control 2016-04-17 05:47:53.000000000 +0000 @@ -2,16 +2,25 @@ Section: games Priority: optional Maintainer: Debian Games Team -Build-Depends: debhelper (>= 5), autotools-dev, libsdl-image1.2-dev, libsdl1.2-dev, dpatch -Standards-Version: 3.7.3 -Uploaders: Javier Galicia , Barry deFreese -Vcs-Svn: svn://svn.debian.org/pkg-games/packages/trunk/late/ -Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/late/?op=log +Uploaders: + Javier Galicia , + Barry deFreese +Build-Depends: + autotools-dev, + debhelper (>= 9), + libsdl-image1.2-dev, + libsdl1.2-dev +Standards-Version: 3.9.8 +Vcs-Svn: svn://anonscm.debian.org/pkg-games/packages/trunk/late/ +Vcs-Browser: https://anonscm.debian.org/viewvc/pkg-games/packages/trunk/late/ Homepage: http://late.sourceforge.net/ Package: late Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, late-data (>= 0.1.0-5) +Depends: + late-data (>= 0.1.0-5), + ${misc:Depends}, + ${shlibs:Depends} Description: simple game of capturing balls This is a simple and fun game, which involves using your mouse based guillotine to trap bouncing balls. @@ -22,8 +31,10 @@ Package: late-data Architecture: all -Depends: ${misc:Depends} -Suggests: late +Depends: + ${misc:Depends} +Suggests: + late Description: data files for late game late is a simple ball capturing game . diff -Nru late-0.1.0/debian/copyright late-0.1.0/debian/copyright --- late-0.1.0/debian/copyright 2016-04-27 11:13:37.000000000 +0000 +++ late-0.1.0/debian/copyright 2016-04-17 05:47:53.000000000 +0000 @@ -1,25 +1,20 @@ -This package was debianized by Steve Kemp on -Sat, 9 Aug 2003 19:35:43 +0100. - -It was downloaded from http://late.sourceforge.net/ - -Copyright 2003 Caleb Moore - -The software is licensed under the terms of the GNU Public 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; version 2 dated June, 1991. - - 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'. +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: late +Source: https://sourceforge.net/projects/late/files/ + +Files: * +Copyright: 2003, Caleb Moore +License: GPL-2+ + +Files: debian/* +Copyright: 2003-2006, Steve Kemp + 2006, Anibal Monsalve Salazar + 2007, Javier Galicia + 2008, Barry deFreese + 2011, Evgeni Golov + 2016, Markus Koschany +License: GPL-2+ + +License: GPL-2+ + 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 -Nru late-0.1.0/debian/dirs late-0.1.0/debian/dirs --- late-0.1.0/debian/dirs 2016-04-27 11:13:37.000000000 +0000 +++ late-0.1.0/debian/dirs 1970-01-01 00:00:00.000000000 +0000 @@ -1,4 +0,0 @@ -usr/games -var/games -usr/share/games/late -usr/share/menu \ No newline at end of file diff -Nru late-0.1.0/debian/late.6 late-0.1.0/debian/late.6 --- late-0.1.0/debian/late.6 2016-04-27 11:13:37.000000000 +0000 +++ late-0.1.0/debian/late.6 2016-04-17 05:47:53.000000000 +0000 @@ -19,7 +19,7 @@ late \- A simple game for one player. .SH SYNOPSIS .B late -.RI [ options ] +.RI [ options ] .br .SH DESCRIPTION This manual page documents briefly the @@ -30,7 +30,7 @@ Instead, it has documentation in the GNU Info format; see below. .PP .\" TeX users may be more comfortable with the \fB\fP and -.\" \fI\fP escape sequences to invode bold face and italics, +.\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. .SH OPTIONS This program does not follow the usual GNU command line syntax, only long @@ -49,7 +49,7 @@ .br Your mouse is controls a sophisticated tool against evil: basically a fancy fancy tube. This is your weapon, a savage gillotine that cuts up wallpaper with not a shred of hesitation nor remorse. It has but one weakness, it can only withstand a few impacts with balls.... Fortunantly for you, the evil, heartless little balls also have a weakness, they can only travel across the original terrain and may be locked up tight by its removal. -And lock them up tight you must, for the only way to exact vengance from these ricocheting feinds is to choke them out of existance. Your gillotine is sharp and quick, it may be shot out using the left button, and its orientation may be changed in ninety degree increments with the right, but once you fire, there is no way to stop its cutting and razing until it has made its cut, or been struck. +And lock them up tight you must, for the only way to exact vengance from these ricocheting feinds is to choke them out of existence. Your gillotine is sharp and quick, it may be shot out using the left button, and its orientation may be changed in ninety degree increments with the right, but once you fire, there is no way to stop its cutting and razing until it has made its cut, or been struck. The balls, in their spherical cunning have developed many tricks beyond just the contemptable bounce tactics of the simple fireball, there are balls made from goo that divide and disperse when hit and can reform in an effort to confuse their prey. There are unstable groups of three balls that will spontaniously explode when encapsulated tight enough. There are balls that will teleport for suprise tactics. And even cold blooded balls that will be towards the cutters whenever they are seen. You must fight these crewl balls, and you must prevail! diff -Nru late-0.1.0/debian/late-data.dirs late-0.1.0/debian/late-data.dirs --- late-0.1.0/debian/late-data.dirs 2016-04-27 11:13:37.000000000 +0000 +++ late-0.1.0/debian/late-data.dirs 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -usr/share/games/late \ No newline at end of file diff -Nru late-0.1.0/debian/late-data.files late-0.1.0/debian/late-data.files --- late-0.1.0/debian/late-data.files 2016-04-27 11:13:37.000000000 +0000 +++ late-0.1.0/debian/late-data.files 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -usr/share/games/late \ No newline at end of file diff -Nru late-0.1.0/debian/late-data.install late-0.1.0/debian/late-data.install --- late-0.1.0/debian/late-data.install 1970-01-01 00:00:00.000000000 +0000 +++ late-0.1.0/debian/late-data.install 2016-04-17 05:47:53.000000000 +0000 @@ -0,0 +1,2 @@ +usr/share/games/late +debian/late.png usr/share/icons/hicolor/64x64/apps diff -Nru late-0.1.0/debian/late.desktop late-0.1.0/debian/late.desktop --- late-0.1.0/debian/late.desktop 1970-01-01 00:00:00.000000000 +0000 +++ late-0.1.0/debian/late.desktop 2016-04-17 05:47:53.000000000 +0000 @@ -0,0 +1,12 @@ +[Desktop Entry] +Version=1.0 +Name=Late +Comment=simple game of capturing balls +Comment[de]=Einfaches Ballfangspiel +Exec=late +Icon=late +Terminal=false +Type=Application +Categories=Game;ArcadeGame; +Keywords=balls;capture;trapping; + diff -Nru late-0.1.0/debian/late.dirs late-0.1.0/debian/late.dirs --- late-0.1.0/debian/late.dirs 2016-04-27 11:13:37.000000000 +0000 +++ late-0.1.0/debian/late.dirs 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ -usr/games -var/games/late -usr/share/man/man6 diff -Nru late-0.1.0/debian/late.files late-0.1.0/debian/late.files --- late-0.1.0/debian/late.files 2016-04-27 11:13:37.000000000 +0000 +++ late-0.1.0/debian/late.files 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -usr/games/late usr/share/man/man6/late.6 \ No newline at end of file diff -Nru late-0.1.0/debian/late.install late-0.1.0/debian/late.install --- late-0.1.0/debian/late.install 1970-01-01 00:00:00.000000000 +0000 +++ late-0.1.0/debian/late.install 2016-04-17 05:47:53.000000000 +0000 @@ -0,0 +1,2 @@ +usr/games/late +debian/late.desktop usr/share/applications diff -Nru late-0.1.0/debian/late.manpages late-0.1.0/debian/late.manpages --- late-0.1.0/debian/late.manpages 1970-01-01 00:00:00.000000000 +0000 +++ late-0.1.0/debian/late.manpages 2016-04-17 05:47:53.000000000 +0000 @@ -0,0 +1 @@ +debian/late.6 Binary files /tmp/tmp2MykE1/8EehLXXGGU/late-0.1.0/debian/late.png and /tmp/tmp2MykE1/XGxQa2NEhG/late-0.1.0/debian/late.png differ diff -Nru late-0.1.0/debian/patches/00list late-0.1.0/debian/patches/00list --- late-0.1.0/debian/patches/00list 2016-04-27 11:13:37.000000000 +0000 +++ late-0.1.0/debian/patches/00list 1970-01-01 00:00:00.000000000 +0000 @@ -1,4 +0,0 @@ -usleep.dpatch -gcc.dpatch -gcc-4.3.dpatch -gcc-4.6.dpatch diff -Nru late-0.1.0/debian/patches/gcc-4.3.dpatch late-0.1.0/debian/patches/gcc-4.3.dpatch --- late-0.1.0/debian/patches/gcc-4.3.dpatch 2016-04-27 11:13:37.000000000 +0000 +++ late-0.1.0/debian/patches/gcc-4.3.dpatch 1970-01-01 00:00:00.000000000 +0000 @@ -1,18 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## gcc-4.3.dpatch by -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: Build with gcc-4.3. - -@DPATCH@ -diff -urNad late-0.1.0~/src/init.cpp late-0.1.0/src/init.cpp ---- late-0.1.0~/src/init.cpp 2008-02-05 11:29:04.000000000 -0500 -+++ late-0.1.0/src/init.cpp 2008-02-05 11:29:19.000000000 -0500 -@@ -27,6 +27,7 @@ - #include - #include - #include -+#include - using namespace std; - - diff -Nru late-0.1.0/debian/patches/gcc-4.3.patch late-0.1.0/debian/patches/gcc-4.3.patch --- late-0.1.0/debian/patches/gcc-4.3.patch 1970-01-01 00:00:00.000000000 +0000 +++ late-0.1.0/debian/patches/gcc-4.3.patch 2016-04-17 05:47:53.000000000 +0000 @@ -0,0 +1,25 @@ +From: Debian Games Team +Date: Sun, 17 Apr 2016 07:10:03 +0200 +Subject: gcc-4.3 + +#! /bin/sh /usr/share/dpatch/dpatch-run +## gcc-4.3.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Build with gcc-4.3. +--- + src/init.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/init.cpp b/src/init.cpp +index da3e9ca..40a5194 100644 +--- a/src/init.cpp ++++ b/src/init.cpp +@@ -27,6 +27,7 @@ + #include + #include + #include ++#include + using namespace std; + + diff -Nru late-0.1.0/debian/patches/gcc-4.6.dpatch late-0.1.0/debian/patches/gcc-4.6.dpatch --- late-0.1.0/debian/patches/gcc-4.6.dpatch 2016-04-27 11:13:37.000000000 +0000 +++ late-0.1.0/debian/patches/gcc-4.6.dpatch 1970-01-01 00:00:00.000000000 +0000 @@ -1,17 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## gcc-4.6.dpatch by Evgeni Golov -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: Build with gcc-4.6. - -@DPATCH@ ---- late-0.1.0.orig/src/ball.h -+++ late-0.1.0/src/ball.h -@@ -25,6 +25,7 @@ - class ball; - - #include "square.h" -+#include - - class ball_base - { diff -Nru late-0.1.0/debian/patches/gcc-4.6.patch late-0.1.0/debian/patches/gcc-4.6.patch --- late-0.1.0/debian/patches/gcc-4.6.patch 1970-01-01 00:00:00.000000000 +0000 +++ late-0.1.0/debian/patches/gcc-4.6.patch 2016-04-17 05:47:53.000000000 +0000 @@ -0,0 +1,25 @@ +From: Debian Games Team +Date: Sun, 17 Apr 2016 07:10:03 +0200 +Subject: gcc-4.6 + +#! /bin/sh /usr/share/dpatch/dpatch-run +## gcc-4.6.dpatch by Evgeni Golov +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Build with gcc-4.6. +--- + src/ball.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/ball.h b/src/ball.h +index 4e211fd..fcfb342 100644 +--- a/src/ball.h ++++ b/src/ball.h +@@ -25,6 +25,7 @@ + class ball; + + #include "square.h" ++#include + + class ball_base + { diff -Nru late-0.1.0/debian/patches/gcc.dpatch late-0.1.0/debian/patches/gcc.dpatch --- late-0.1.0/debian/patches/gcc.dpatch 2016-04-27 11:13:37.000000000 +0000 +++ late-0.1.0/debian/patches/gcc.dpatch 1970-01-01 00:00:00.000000000 +0000 @@ -1,16 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## gcc.dpatch by Martin Michlmayr -## DP: Patch for gcc4. - -@DPATCH@ -diff -ur late-0.1.0/src/init.cpp late-0.1.0-gcc/src/init.cpp ---- late-0.1.0/src/init.cpp 2003-08-17 10:33:27.000000000 +0000 -+++ late-0.1.0-gcc/src/init.cpp 2007-04-22 21:34:16.000000000 +0000 -@@ -24,6 +24,7 @@ - #include "graphics.h" - #include "arch.h" - #include "scorescreen.h" -+#include - #include - #include - using namespace std; diff -Nru late-0.1.0/debian/patches/gcc.patch late-0.1.0/debian/patches/gcc.patch --- late-0.1.0/debian/patches/gcc.patch 1970-01-01 00:00:00.000000000 +0000 +++ late-0.1.0/debian/patches/gcc.patch 2016-04-17 05:47:53.000000000 +0000 @@ -0,0 +1,23 @@ +From: Debian Games Team +Date: Sun, 17 Apr 2016 07:10:03 +0200 +Subject: gcc + +#! /bin/sh /usr/share/dpatch/dpatch-run +## gcc.dpatch by Martin Michlmayr +## DP: Patch for gcc4. +--- + src/init.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/init.cpp b/src/init.cpp +index 8a1b03f..da3e9ca 100644 +--- a/src/init.cpp ++++ b/src/init.cpp +@@ -24,6 +24,7 @@ + #include "graphics.h" + #include "arch.h" + #include "scorescreen.h" ++#include + #include + #include + using namespace std; diff -Nru late-0.1.0/debian/patches/series late-0.1.0/debian/patches/series --- late-0.1.0/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ late-0.1.0/debian/patches/series 2016-04-17 05:47:53.000000000 +0000 @@ -0,0 +1,4 @@ +gcc.patch +gcc-4.3.patch +gcc-4.6.patch +usleep.patch diff -Nru late-0.1.0/debian/patches/usleep.dpatch late-0.1.0/debian/patches/usleep.dpatch --- late-0.1.0/debian/patches/usleep.dpatch 2016-04-27 11:13:37.000000000 +0000 +++ late-0.1.0/debian/patches/usleep.dpatch 1970-01-01 00:00:00.000000000 +0000 @@ -1,86 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## usleep.dpatch by Eric Andresen -## DP: Add check for sleep counter. - -@DPATCH@ -diff -ur late-0.1.0/src/game.cpp late-0.1.0-usleep/src/game.cpp ---- late-0.1.0/src/game.cpp 2003-08-17 15:09:59.000000000 -0700 -+++ late-0.1.0-usleep/src/game.cpp 2003-08-21 22:47:24.000000000 -0700 -@@ -38,6 +38,7 @@ - #include "explosiveball.h" - #include - #include -+#include - #include "menu.h" - #include "killerball.h" - #include "magnet.h" -@@ -775,6 +776,7 @@ - { - unsigned int ticks; - unsigned int newticks; -+ unsigned int counter = 0; - - restartgame(); - -@@ -792,9 +794,12 @@ - add_highscore(toadd); - return; - } -- newticks = SDL_GetTicks(); -- update (float(newticks - ticks) / 5.0); -- ticks = newticks; -+ if (counter%3 == 0) { -+ newticks = SDL_GetTicks(); -+ update (float(newticks - ticks) / 5.0); -+ ticks = newticks; -+ } -+ ++counter; - SDL_Event event; - while(SDL_PollEvent(&event)) - { -@@ -862,5 +867,6 @@ - ticks = SDL_GetTicks(); //pause the game - } - } -+ usleep(10); - } - } -Only in late-0.1.0-usleep/src: game.cpp.orig -Only in late-0.1.0-usleep/src: game.cpp.rej -diff -ur late-0.1.0/src/menu.cpp late-0.1.0-usleep/src/menu.cpp ---- late-0.1.0/src/menu.cpp 2003-08-01 15:33:44.000000000 -0700 -+++ late-0.1.0-usleep/src/menu.cpp 2003-08-21 22:44:32.000000000 -0700 -@@ -22,6 +22,7 @@ - #include - #include - #include -+#include - #include "text.h" - #include "graphics.h" - #include "menu.h" -@@ -152,5 +153,6 @@ - exit(0); - } - } -+ usleep(50); - } - } -diff -ur late-0.1.0/src/scorescreen.cpp late-0.1.0-usleep/src/scorescreen.cpp ---- late-0.1.0/src/scorescreen.cpp 2003-08-17 04:10:45.000000000 -0700 -+++ late-0.1.0-usleep/src/scorescreen.cpp 2003-08-21 22:44:32.000000000 -0700 -@@ -25,6 +25,7 @@ - #include "highscores.h" - #include - #include -+#include - using namespace std; - - static unsigned int font; -@@ -55,6 +56,7 @@ - exit(0); - } - } -+ usleep(50); - } - } - diff -Nru late-0.1.0/debian/patches/usleep.patch late-0.1.0/debian/patches/usleep.patch --- late-0.1.0/debian/patches/usleep.patch 1970-01-01 00:00:00.000000000 +0000 +++ late-0.1.0/debian/patches/usleep.patch 2016-04-17 05:47:53.000000000 +0000 @@ -0,0 +1,96 @@ +From: Debian Games Team +Date: Sun, 17 Apr 2016 07:10:03 +0200 +Subject: usleep + +#! /bin/sh /usr/share/dpatch/dpatch-run +## usleep.dpatch by Eric Andresen +## DP: Add check for sleep counter. + +--- + src/game.cpp | 12 +++++++++--- + src/menu.cpp | 2 ++ + src/scorescreen.cpp | 2 ++ + 3 files changed, 13 insertions(+), 3 deletions(-) + +diff --git a/src/game.cpp b/src/game.cpp +index cd5699a..51da24b 100644 +--- a/src/game.cpp ++++ b/src/game.cpp +@@ -38,6 +38,7 @@ using namespace std; + #include "explosiveball.h" + #include + #include ++#include + #include "menu.h" + #include "killerball.h" + #include "magnet.h" +@@ -775,6 +776,7 @@ void mainloop() + { + unsigned int ticks; + unsigned int newticks; ++ unsigned int counter = 0; + + restartgame(); + +@@ -792,9 +794,12 @@ void mainloop() + add_highscore(toadd); + return; + } +- newticks = SDL_GetTicks(); +- update (float(newticks - ticks) / 5.0); +- ticks = newticks; ++ if (counter%3 == 0) { ++ newticks = SDL_GetTicks(); ++ update (float(newticks - ticks) / 5.0); ++ ticks = newticks; ++ } ++ ++counter; + SDL_Event event; + while(SDL_PollEvent(&event)) + { +@@ -862,5 +867,6 @@ void mainloop() + ticks = SDL_GetTicks(); //pause the game + } + } ++ usleep(10); + } + } +diff --git a/src/menu.cpp b/src/menu.cpp +index f72dd9d..5e20f20 100644 +--- a/src/menu.cpp ++++ b/src/menu.cpp +@@ -22,6 +22,7 @@ + #include + #include + #include ++#include + #include "text.h" + #include "graphics.h" + #include "menu.h" +@@ -152,5 +153,6 @@ int menu::getchoice() + exit(0); + } + } ++ usleep(50); + } + } +diff --git a/src/scorescreen.cpp b/src/scorescreen.cpp +index 1f1dc63..d4909b1 100644 +--- a/src/scorescreen.cpp ++++ b/src/scorescreen.cpp +@@ -25,6 +25,7 @@ + #include "highscores.h" + #include + #include ++#include + using namespace std; + + static unsigned int font; +@@ -55,6 +56,7 @@ static void pause_for_input() + exit(0); + } + } ++ usleep(50); + } + } + diff -Nru late-0.1.0/debian/postinst late-0.1.0/debian/postinst --- late-0.1.0/debian/postinst 2016-04-27 11:13:37.000000000 +0000 +++ late-0.1.0/debian/postinst 2016-04-17 05:47:53.000000000 +0000 @@ -1,4 +1,5 @@ -#!/bin/sh -e +#!/bin/sh +set -e # # Score file for the game. @@ -15,7 +16,8 @@ # First install the score file might be missing. if [ ! -e $scorefile ] then - touch $scorefile + install -d /var/games + touch $scorefile fi diff -Nru late-0.1.0/debian/postrm late-0.1.0/debian/postrm --- late-0.1.0/debian/postrm 2016-04-27 11:13:37.000000000 +0000 +++ late-0.1.0/debian/postrm 2016-04-17 05:47:53.000000000 +0000 @@ -1,4 +1,5 @@ -#!/bin/sh -e +#!/bin/sh +set -e # # Score file for the game. diff -Nru late-0.1.0/debian/rules late-0.1.0/debian/rules --- late-0.1.0/debian/rules 2016-04-27 11:13:37.000000000 +0000 +++ late-0.1.0/debian/rules 2016-04-17 05:47:53.000000000 +0000 @@ -1,115 +1,17 @@ #!/usr/bin/make -f -# Sample debian/rules that uses debhelper. -# GNU copyright 1997 to 1999 by Joey Hess. - -# Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -include /usr/share/dpatch/dpatch.make - -# These are used for cross-compiling and for saving the configure script -# from having to guess our platform (since we know it already) -DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) -DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) - - -# -# We should be using CXXFLAGS here not CFLAGS. -# -CFLAGS = -Wall -g - -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O0 -else - CFLAGS += -O2 -endif -ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) - INSTALL_PROGRAM += -s -endif - -# -# Export the flags to configura, etc. -# -export CXXFLAGS = $(CFLAGS) - - - -config.status: configure - dh_testdir -ifneq "$(wildcard /usr/share/misc/config.sub)" "" - cp -f /usr/share/misc/config.sub config.sub -endif -ifneq "$(wildcard /usr/share/misc/config.guess)" "" - cp -f /usr/share/misc/config.guess config.guess -endif - # Add here commands to configure the package. - ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --datadir=/usr/share/games --bindir=/usr/games - - -build: build-stamp - -build-stamp: patch-stamp config.status - dh_testdir +export DEB_BUILD_MAINT_OPTIONS = hardening=+all - # Add here commands to compile the package. - $(MAKE) - #/usr/bin/docbook-to-man debian/late.sgml > late.6 +%: + dh $@ --parallel --with autotools_dev - touch build-stamp +override_dh_auto_configure: + dh_auto_configure -- \ + --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info \ + --datadir=/usr/share/games \ + --bindir=/usr/games -clean: clean-patched unpatch -clean-patched: - dh_testdir - dh_testroot - rm -f build-stamp - - # Add here commands to clean up after the build process. - [ ! -f Makefile ] || [ ! -f config.status ] || $(MAKE) distclean -ifneq "$(wildcard /usr/share/misc/config.sub)" "" - rm -f config.sub -endif -ifneq "$(wildcard /usr/share/misc/config.guess)" "" - rm -f config.guess -endif - dh_clean config.log config.cache config.status - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - - # Add here commands to install the package into debian/late. +override_dh_auto_install: $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp scoredir=/var/games - - mkdir -p $(CURDIR)/debian/tmp/usr/share/man/man6/ - cp debian/late.6 $(CURDIR)/debian/tmp/usr/share/man/man6/late.6 - - dh_movefiles -p late - dh_movefiles -p late-data - - - - -# Build architecture-independent files here. -binary-indep: build install -# We have nothing to do by default. - -# Build architecture-dependent files here. -binary-arch: build install - dh_testdir - dh_testroot - dh_installchangelogs - dh_installdocs - dh_installmenu - dh_link - dh_strip - dh_compress - dh_fixperms - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install patch unpatch diff -Nru late-0.1.0/debian/source/format late-0.1.0/debian/source/format --- late-0.1.0/debian/source/format 1970-01-01 00:00:00.000000000 +0000 +++ late-0.1.0/debian/source/format 2016-04-17 05:47:53.000000000 +0000 @@ -0,0 +1 @@ +3.0 (quilt) diff -Nru late-0.1.0/debian/source/include-binaries late-0.1.0/debian/source/include-binaries --- late-0.1.0/debian/source/include-binaries 1970-01-01 00:00:00.000000000 +0000 +++ late-0.1.0/debian/source/include-binaries 2016-04-17 05:47:53.000000000 +0000 @@ -0,0 +1 @@ +debian/late.png diff -Nru late-0.1.0/debian/watch late-0.1.0/debian/watch --- late-0.1.0/debian/watch 2016-04-27 11:13:37.000000000 +0000 +++ late-0.1.0/debian/watch 2016-04-17 05:47:53.000000000 +0000 @@ -1,3 +1,2 @@ -version=3 - +version=4 http://sf.net/late/late-([\d.]*)\.tar\.gz