r15713 - in packages/trunk/freesweep/debian: . patches source

Markus Koschany apo-guest at moszumanska.debian.org
Thu Mar 24 13:38:14 UTC 2016


Author: apo-guest
Date: 2016-03-24 13:38:14 +0000 (Thu, 24 Mar 2016)
New Revision: 15713

Added:
   packages/trunk/freesweep/debian/clean
   packages/trunk/freesweep/debian/freesweep.desktop
   packages/trunk/freesweep/debian/freesweep.png
   packages/trunk/freesweep/debian/install
   packages/trunk/freesweep/debian/patches/man-page.patch
   packages/trunk/freesweep/debian/source/
   packages/trunk/freesweep/debian/source/format
   packages/trunk/freesweep/debian/source/include-binaries
Removed:
   packages/trunk/freesweep/debian/freesweep.menu
Modified:
   packages/trunk/freesweep/debian/changelog
   packages/trunk/freesweep/debian/compat
   packages/trunk/freesweep/debian/control
   packages/trunk/freesweep/debian/copyright
   packages/trunk/freesweep/debian/freesweep.dirs
   packages/trunk/freesweep/debian/patches/do-not-create-too-many-mines
   packages/trunk/freesweep/debian/patches/do-not-strip
   packages/trunk/freesweep/debian/patches/fix-install
   packages/trunk/freesweep/debian/patches/fsf-address
   packages/trunk/freesweep/debian/patches/series
   packages/trunk/freesweep/debian/patches/use-safe-string-functions
   packages/trunk/freesweep/debian/rules
Log:
Release 0.90-3


Modified: packages/trunk/freesweep/debian/changelog
===================================================================
--- packages/trunk/freesweep/debian/changelog	2016-02-17 13:42:33 UTC (rev 15712)
+++ packages/trunk/freesweep/debian/changelog	2016-03-24 13:38:14 UTC (rev 15713)
@@ -1,8 +1,25 @@
-freesweep (0.90-3) UNRELEASED; urgency=low
+freesweep (0.90-3) unstable; urgency=medium
 
-  * Correct Vcs-* URLs to point to anonscm.debian.org
+  * Team upload.
+  * Switch to source format 3.0 (quilt).
+  * Drop freesweep.menu.
+  * Use compat level 9 and require debhelper >= 9. (Closes: #817462)
+  * wrap-and-sort -sa.
+  * Declare compliance with Debian Policy 3.9.7.
+  * Use canonical Vcs-URI.
+  * Add ${misc:Depends} substvar.
+  * Remove quilt from Build-Depends because source format 3.0 uses quilt by
+    default.
+  * Switch to dh sequencer and simplify debian/rules.
+  * Build with autotools_dev.
+  * Switch to copyright format 1.0.
+  * Add DEP-3 headers to all patches.
+  * Add man-page.patch and fix spelling mistakes in freesweep.6. Thanks to
+    A. Costa for the report and patch. (Closes: #659683)
+  * Add freesweep.desktop and provide a new icon. (Closes: #538837, #726222)
+  * Add clean file and ensure that freesweep can be built twice in a row.
 
- -- Evgeni Golov <evgeni at debian.org>  Mon, 15 Jul 2013 22:21:25 +0200
+ -- Markus Koschany <apo at debian.org>  Thu, 24 Mar 2016 14:27:08 +0100
 
 freesweep (0.90-2) unstable; urgency=low
 

Added: packages/trunk/freesweep/debian/clean
===================================================================
--- packages/trunk/freesweep/debian/clean	                        (rev 0)
+++ packages/trunk/freesweep/debian/clean	2016-03-24 13:38:14 UTC (rev 15713)
@@ -0,0 +1,5 @@
+Makefile
+config.h
+freesweep.6
+sweep.h
+

Modified: packages/trunk/freesweep/debian/compat
===================================================================
--- packages/trunk/freesweep/debian/compat	2016-02-17 13:42:33 UTC (rev 15712)
+++ packages/trunk/freesweep/debian/compat	2016-03-24 13:38:14 UTC (rev 15713)
@@ -1 +1 @@
-4
+9

Modified: packages/trunk/freesweep/debian/control
===================================================================
--- packages/trunk/freesweep/debian/control	2016-02-17 13:42:33 UTC (rev 15712)
+++ packages/trunk/freesweep/debian/control	2016-03-24 13:38:14 UTC (rev 15713)
@@ -1,18 +1,23 @@
 Source: freesweep
 Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
-Uploaders: Ansgar Burchardt <ansgar at 43-1.org>
+Uploaders:
+ Ansgar Burchardt <ansgar at 43-1.org>
 Section: games
 Priority: optional
-Standards-Version: 3.7.3
-Build-Depends: debhelper (>= 4.0.0), libncurses5-dev, autoconf, autotools-dev, quilt
+Standards-Version: 3.9.7
+Build-Depends:
+ autotools-dev,
+ debhelper (>= 9),
+ libncurses5-dev
 Homepage: http://www.upl.cs.wisc.edu/~hartmann/sweep/
 Vcs-Svn: svn://anonscm.debian.org/pkg-games/packages/trunk/freesweep/
-Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-games/packages/trunk/freesweep/
+Vcs-Browser: https://anonscm.debian.org/viewvc/pkg-games/packages/trunk/freesweep/
 
-
 Package: freesweep
 Architecture: any
-Depends: ${shlibs:Depends}
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends}
 Description: text-based minesweeper
  Freesweep is an implementation of the popular minesweeper game, where
  one tries to find all the mines without igniting any, based on hints given

Modified: packages/trunk/freesweep/debian/copyright
===================================================================
--- packages/trunk/freesweep/debian/copyright	2016-02-17 13:42:33 UTC (rev 15712)
+++ packages/trunk/freesweep/debian/copyright	2016-03-24 13:38:14 UTC (rev 15713)
@@ -1,38 +1,55 @@
-This package has been Debianised by Antti-Juhani Kaijanaho <ajk at debian.org>
-from sources fetched at 1999-09-05 03:30 UTC from
-<URL:http://www.upl.cs.wisc.edu/~hartmann/sweep/freesweep.tar.gz>
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: http://www.upl.cs.wisc.edu/~hartmann/sweep/
+Comment:
+ This package has been Debianised by Antti-Juhani Kaijanaho <ajk at debian.org>
+ from sources fetched at 1999-09-05 03:30 UTC from
+ <URL:http://www.upl.cs.wisc.edu/~hartmann/sweep/freesweep.tar.gz>
+ .
+ The sources for version 0.90 were fetched from
+ http://www.upl.cs.wisc.edu/~hartmann/sweep/freesweep-0.90.tar.gz
+ on Sat, 23 Feb 2008.
+ .
+ It was taken over by Edward Betts <edward at debian.org> on
+ Sat, 13 Nov 1999 14:25:53 +0000
+ .
+ It was taken over by the Debian Games Team
+ <pkg-games-devel at lists.alioth.debian.org> on Sat, 23 Feb 2008.
 
-The sources for version 0.90 were fetched from
-http://www.upl.cs.wisc.edu/~hartmann/sweep/freesweep-0.90.tar.gz
-on Sat, 23 Feb 2008.
+Files: *
+Copyright: 1999, Gus Hartmann <hartmann at upl.cs.wisc.edu>
+           1999, Pete Keller <psilord at upl.cs.wisc.edu>
+License: GPL-2+
 
-It was taken over by Edward Betts <edward at debian.org> on 
-Sat, 13 Nov 1999 14:25:53 +0000
+Files: debian/*
+Copyright: 1999,      Antti-Juhani Kaijanaho <ajk at debian.org>
+           1999-2001, Edward Betts <edward at debian.org>
+           2004,      Romain Francoise <rfrancoise at debian.org>
+           2006,      Aurelien Jarno <aurel32 at debian.org>
+           2008,      Marco Rodrigues <gothicx at sapo.pt>
+           2008,      Ansgar Burchardt <ansgar at 43-1.org>
+           2016,      Markus Koschany <apo at debian.org>
+License: GPL-2+
 
-It was taken over by the Debian Games Team
-<pkg-games-devel at lists.alioth.debian.org> on Sat, 23 Feb 2008.
+Files: debian/freesweep.png
+Copyright: Mozilla Foundation
+License: GPL-2+
+Comment:
+ https://commons.wikimedia.org/wiki/File:Minefield-icon.png
 
-Upstream Authors: Gus Hartmann <hartmann at upl.cs.wisc.edu>
-                  Pete Keller <psilord at upl.cs.wisc.edu>
-
-Copyright:
-
-    freesweep - a curses minesweeper-style game
-    Copyright (C) 1999  Gus Hartmann & Peter Keller
-
-    This program 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 program 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 program; if not, write to the Free Software Foundation, Inc.,
-    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
-On Debian GNU/Linux systems, the complete text of the GNU General
-Public License can be found in `/usr/share/common-licenses/GPL-2'.
+License: GPL-2+
+ This program 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 program 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 program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ .
+ On Debian GNU/Linux systems, the complete text of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-2'.

Added: packages/trunk/freesweep/debian/freesweep.desktop
===================================================================
--- packages/trunk/freesweep/debian/freesweep.desktop	                        (rev 0)
+++ packages/trunk/freesweep/debian/freesweep.desktop	2016-03-24 13:38:14 UTC (rev 15713)
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=Freesweep
+Comment=text-based minesweeper game
+Comment[de]=textbasiertes Minesweeper-Spiel
+Exec=freesweep
+Icon=freesweep
+Categories=Game;LogicGame;
+Keywords=text-based;logic;mines;terminal;
+Terminal=true

Modified: packages/trunk/freesweep/debian/freesweep.dirs
===================================================================
--- packages/trunk/freesweep/debian/freesweep.dirs	2016-02-17 13:42:33 UTC (rev 15712)
+++ packages/trunk/freesweep/debian/freesweep.dirs	2016-03-24 13:38:14 UTC (rev 15713)
@@ -1,3 +1,3 @@
+etc
 usr/games
-etc
 var/games

Deleted: packages/trunk/freesweep/debian/freesweep.menu
===================================================================
--- packages/trunk/freesweep/debian/freesweep.menu	2016-02-17 13:42:33 UTC (rev 15712)
+++ packages/trunk/freesweep/debian/freesweep.menu	2016-03-24 13:38:14 UTC (rev 15713)
@@ -1,6 +0,0 @@
-?package(freesweep):\
-        needs="text"\
-        section="Games/Puzzles"\
-        title="Freesweep"\
-        command="/usr/games/freesweep"
-

Added: packages/trunk/freesweep/debian/freesweep.png
===================================================================
(Binary files differ)


Property changes on: packages/trunk/freesweep/debian/freesweep.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: packages/trunk/freesweep/debian/install
===================================================================
--- packages/trunk/freesweep/debian/install	                        (rev 0)
+++ packages/trunk/freesweep/debian/install	2016-03-24 13:38:14 UTC (rev 15713)
@@ -0,0 +1,2 @@
+debian/freesweep.desktop usr/share/applications
+debian/freesweep.png usr/share/icons/hicolor/128x128/apps

Modified: packages/trunk/freesweep/debian/patches/do-not-create-too-many-mines
===================================================================
--- packages/trunk/freesweep/debian/patches/do-not-create-too-many-mines	2016-02-17 13:42:33 UTC (rev 15712)
+++ packages/trunk/freesweep/debian/patches/do-not-create-too-many-mines	2016-03-24 13:38:14 UTC (rev 15713)
@@ -1,3 +1,7 @@
+From: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
+Date: Thu, 24 Mar 2016 12:43:31 +0100
+Subject: do-not-create-too-many-mines
+
 freesweep enters an infinite loop when placing mines if the user's
 configuration has it creating more than (boardsize - 9) mines.  This is
 caused by game.c:510 not allowing mines to be created within a 3x3 block
@@ -8,11 +12,14 @@
 
 Patch provided by Seneca for freesweep-0.88
 see http://bugs.debian.org/249896
+---
+ game.c | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
 
-Index: freesweep-0.90/game.c
-===================================================================
---- freesweep-0.90.orig/game.c
-+++ freesweep-0.90/game.c
+diff --git a/game.c b/game.c
+index dbdf2f2..b19d8ad 100644
+--- a/game.c
++++ b/game.c
 @@ -14,12 +14,12 @@
  
  int CheckHeight(int NewVal)
@@ -28,7 +35,7 @@
  }
  
  int CheckPercent(int NewVal)
-@@ -53,7 +53,7 @@
+@@ -53,7 +53,7 @@ int CheckLineDraw(int NewVal)
  */
  int CheckNumMines(int NewVal,int Height,int Width)
  {

Modified: packages/trunk/freesweep/debian/patches/do-not-strip
===================================================================
--- packages/trunk/freesweep/debian/patches/do-not-strip	2016-02-17 13:42:33 UTC (rev 15712)
+++ packages/trunk/freesweep/debian/patches/do-not-strip	2016-03-24 13:38:14 UTC (rev 15713)
@@ -1,8 +1,17 @@
-Index: freesweep-0.90/Makefile.in
+From: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
+Date: Thu, 24 Mar 2016 12:43:31 +0100
+Subject: do-not-strip
+
 ===================================================================
---- freesweep-0.90.orig/Makefile.in
-+++ freesweep-0.90/Makefile.in
-@@ -60,7 +60,7 @@
+---
+ Makefile.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index b38e541..2ceb6c3 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -60,7 +60,7 @@ pure:
  
  install: $(TARGET) $(TARGET).6
  	touch sweeptimes

Modified: packages/trunk/freesweep/debian/patches/fix-install
===================================================================
--- packages/trunk/freesweep/debian/patches/fix-install	2016-02-17 13:42:33 UTC (rev 15712)
+++ packages/trunk/freesweep/debian/patches/fix-install	2016-03-24 13:38:14 UTC (rev 15713)
@@ -1,8 +1,17 @@
-Index: freesweep-0.90/Makefile.in
+From: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
+Date: Thu, 24 Mar 2016 12:43:31 +0100
+Subject: fix-install
+
 ===================================================================
---- freesweep-0.90.orig/Makefile.in
-+++ freesweep-0.90/Makefile.in
-@@ -59,11 +59,11 @@
+---
+ Makefile.in | 10 +++++-----
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index 2ceb6c3..53b6d8a 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -59,11 +59,11 @@ pure:
  	@make "PURIFY=$(PURE_ARGS)"
  
  install: $(TARGET) $(TARGET).6

Modified: packages/trunk/freesweep/debian/patches/fsf-address
===================================================================
--- packages/trunk/freesweep/debian/patches/fsf-address	2016-02-17 13:42:33 UTC (rev 15712)
+++ packages/trunk/freesweep/debian/patches/fsf-address	2016-03-24 13:38:14 UTC (rev 15713)
@@ -1,8 +1,17 @@
-Index: freesweep-0.90/gpl.c
+From: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
+Date: Thu, 24 Mar 2016 12:43:31 +0100
+Subject: fsf-address
+
 ===================================================================
---- freesweep-0.90.orig/gpl.c
-+++ freesweep-0.90/gpl.c
-@@ -22,7 +22,7 @@
+---
+ gpl.c | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/gpl.c b/gpl.c
+index 7ba49c9..04e040d 100644
+--- a/gpl.c
++++ b/gpl.c
+@@ -22,7 +22,7 @@ void PrintGPL()
  "		       Version 2, June 1991",
  "",
  " Copyright (C) 1989, 1991 Free Software Foundation, Inc.",
@@ -11,7 +20,7 @@
  " Everyone is permitted to copy and distribute verbatim copies",
  " of this license document, but changing it is not allowed.",
  "",
-@@ -326,7 +326,8 @@
+@@ -326,7 +326,8 @@ void PrintGPL()
  "",
  "    You should have received a copy of the GNU General Public License",
  "    along with this program; if not, write to the Free Software",

Added: packages/trunk/freesweep/debian/patches/man-page.patch
===================================================================
--- packages/trunk/freesweep/debian/patches/man-page.patch	                        (rev 0)
+++ packages/trunk/freesweep/debian/patches/man-page.patch	2016-03-24 13:38:14 UTC (rev 15713)
@@ -0,0 +1,41 @@
+From: A. Costa <agcosta at gis.net>
+Date: Thu, 24 Mar 2016 12:45:07 +0100
+Subject: man page
+
+Fix spelling errors in freesweep.6.in.
+
+Bug: https://bugs.debian.org/659683
+Forwarded: no
+---
+ freesweep.6.in | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/freesweep.6.in b/freesweep.6.in
+index abeb62f..8b8b511 100644
+--- a/freesweep.6.in
++++ b/freesweep.6.in
+@@ -73,13 +73,13 @@ information will be placed in this manual page regarding the column format
+ when it has been clearly established.
+ .TP
+ \fB\-f\fP, \fB\-\-fast\fP
+-This option bypasses the intercative dialog normally run initially. All values
++This option bypasses the interactive dialog normally run initially. All values
+ must either be specified on the command line or in the preferences files.
+ .TP
+ \fB\-g\fP, \fB\-\-show\-gpl\fP
+ Display the GNU General Public License, in a nice curses page viewer. Currently
+ version 2 of the license is displayed; however, freesweep is licensed under
+-version 2 or later of the GNU GPL, so this license may be superceded in the
++version 2 or later of the GNU GPL, so this license may be superseded in the
+ future.
+ .TP
+ \fB\-H\fP, \fB\-\-help\fP
+@@ -123,7 +123,7 @@ entered preferences should be saved. This dialog is skipped if the \-f or
+ preference file.
+ 
+ In normal play, freesweep waits for keystrokes, and then reacts according
+-to the recieved value. Some keystrokes may be modified by a preceding
++to the received value. Some keystrokes may be modified by a preceding
+ integer; these are noted in the list below by a preceding \fIn\fP. The
+ following keystroke values are valid:
+ 

Modified: packages/trunk/freesweep/debian/patches/series
===================================================================
--- packages/trunk/freesweep/debian/patches/series	2016-02-17 13:42:33 UTC (rev 15712)
+++ packages/trunk/freesweep/debian/patches/series	2016-03-24 13:38:14 UTC (rev 15713)
@@ -3,3 +3,4 @@
 do-not-strip
 fix-install
 do-not-create-too-many-mines
+man-page.patch

Modified: packages/trunk/freesweep/debian/patches/use-safe-string-functions
===================================================================
--- packages/trunk/freesweep/debian/patches/use-safe-string-functions	2016-02-17 13:42:33 UTC (rev 15712)
+++ packages/trunk/freesweep/debian/patches/use-safe-string-functions	2016-03-24 13:38:14 UTC (rev 15713)
@@ -1,8 +1,18 @@
-Index: freesweep-0.90/files.c
+From: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
+Date: Thu, 24 Mar 2016 12:43:31 +0100
+Subject: use-safe-string-functions
+
 ===================================================================
---- freesweep-0.90.orig/files.c
-+++ freesweep-0.90/files.c
-@@ -104,9 +104,7 @@
+---
+ files.c  |  8 ++------
+ pbests.c | 15 ++++-----------
+ 2 files changed, 6 insertions(+), 17 deletions(-)
+
+diff --git a/files.c b/files.c
+index b9bf110..97efaae 100644
+--- a/files.c
++++ b/files.c
+@@ -104,9 +104,7 @@ int SourceHomeFile(GameStats* Game)
  		perror("SourceHomeFile::getenv");
  		return 1;
  	}
@@ -13,7 +23,7 @@
  
  	if ((PrefsFile=fopen(Pathname,"r"))==NULL)
  	{
-@@ -167,9 +165,7 @@
+@@ -167,9 +165,7 @@ int WritePrefsFile(GameStats* Game)
  		return 1;
  	}
  
@@ -24,11 +34,11 @@
  
  	if ((PrefsFile=fopen(Pathname,"w"))==NULL)
  	{
-Index: freesweep-0.90/pbests.c
-===================================================================
---- freesweep-0.90.orig/pbests.c
-+++ freesweep-0.90/pbests.c
-@@ -382,7 +382,7 @@
+diff --git a/pbests.c b/pbests.c
+index 2fb687f..ba5c106 100644
+--- a/pbests.c
++++ b/pbests.c
+@@ -382,7 +382,7 @@ struct BestEntry* NewBestEntry(GameStats *Game)
  		SweepError("You do not have a username!");
  		buf = "unknown";
  	}
@@ -37,7 +47,7 @@
  
  	/* get the real time it was completed */
  	time(&now);
-@@ -436,16 +436,9 @@
+@@ -436,16 +436,9 @@ char* FPTBTF(void)
  /* full path to group best times file */
  char* FPTGBTF(void)
  {

Modified: packages/trunk/freesweep/debian/rules
===================================================================
--- packages/trunk/freesweep/debian/rules	2016-02-17 13:42:33 UTC (rev 15712)
+++ packages/trunk/freesweep/debian/rules	2016-03-24 13:38:14 UTC (rev 15713)
@@ -1,91 +1,30 @@
 #!/usr/bin/make -f
-# debian/rules for freesweep
-# modifications by Edward Betts <edward at debian.org>
-# Based on:
-# 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
+CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
+CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
 
-include /usr/share/quilt/quilt.make
+%:
+	dh $@ --with autotools_dev
 
-CFLAGS = -O2
-ifeq "$(findstring debug,$(DEB_BUILD_OPTIONS))" "debug"
-	CFLAGS += -g
-endif
-
-configure: configure-stamp
-configure-stamp: $(QUILT_STAMPFN)
-	dh_testdir
-
-	cp /usr/share/misc/config.sub .
-	cp /usr/share/misc/config.guess .
-	$(MAKE) config.h.in
-	CFLAGS="$(CFLAGS)" ./configure --prefix=/usr --bindir=/usr/games \
+override_dh_auto_configure:
+	CFLAGS="$(CFLAGS) $(CPPFLAGS)" dh_auto_configure -- \
+		--prefix=/usr \
+		--bindir=/usr/games \
 		--mandir='$${prefix}/share/man' \
-		--with-prefsdir=/etc --with-scoresdir=/var/games \
+		--with-prefsdir=/etc \
+		--with-scoresdir=/var/games \
 		--with-ncurses=/usr
 
-	touch $@
-
-build: build-stamp
-build-stamp: configure
-	dh_testdir
-
-	$(MAKE)
-
-	touch build-stamp
-
-clean: clean-patched unpatch
-clean-patched: $(QUILT_STAMPFN)
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp
-	rm -f config.guess
-	rm -f config.sub
-
+override_dh_auto_clean:
 	[ ! -f Makefile ] || $(MAKE) clean
 
-	dh_clean freesweep.6
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-
+override_dh_auto_install:
 	$(MAKE) DESTDIR=$(CURDIR)/debian/freesweep install
 
-# 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_installdebconf	
-	dh_installdocs
-	dh_installexamples
-	dh_installmenu
-	dh_installcron
-	dh_installinfo
-#	dh_undocumented
+override_dh_installchangelogs:
 	dh_installchangelogs CHANGES
-	dh_link
-	dh_strip
-	dh_compress
+
+override_dh_fixperms:
 	dh_fixperms
 	chmod 2755 $(CURDIR)/debian/freesweep/usr/games/freesweep
 	chown root:games $(CURDIR)/debian/freesweep/usr/games/freesweep
-#	dh_makeshlibs
-	dh_installdeb
-#	dh_perl
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install

Added: packages/trunk/freesweep/debian/source/format
===================================================================
--- packages/trunk/freesweep/debian/source/format	                        (rev 0)
+++ packages/trunk/freesweep/debian/source/format	2016-03-24 13:38:14 UTC (rev 15713)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: packages/trunk/freesweep/debian/source/include-binaries
===================================================================
--- packages/trunk/freesweep/debian/source/include-binaries	                        (rev 0)
+++ packages/trunk/freesweep/debian/source/include-binaries	2016-03-24 13:38:14 UTC (rev 15713)
@@ -0,0 +1 @@
+debian/freesweep.png




More information about the Pkg-games-commits mailing list