--- groundhog-1.4.orig/debian/patches/new_highscore_dialog.h.patch +++ groundhog-1.4/debian/patches/new_highscore_dialog.h.patch @@ -0,0 +1,12 @@ +Index: groundhog-1.4/src/new_highscore_dialog.h +=================================================================== +--- groundhog-1.4.orig/src/new_highscore_dialog.h 2008-03-09 23:50:51.000000000 +0800 ++++ groundhog-1.4/src/new_highscore_dialog.h 2008-03-09 23:51:27.000000000 +0800 +@@ -20,6 +20,7 @@ + #define _NEW_HIGHSCORE_DIALOG_H + + #include ++using namespace std; + #include "dialog.h" + + class Game; --- groundhog-1.4.orig/debian/patches/game.cc.patch +++ groundhog-1.4/debian/patches/game.cc.patch @@ -0,0 +1,52 @@ +Index: groundhog-1.4/src/game.cc +=================================================================== +--- groundhog-1.4.orig/src/game.cc 2008-03-09 23:38:42.000000000 +0800 ++++ groundhog-1.4/src/game.cc 2008-03-09 23:42:58.000000000 +0800 +@@ -18,10 +18,16 @@ + + #include + +-#include ++#include ++#include ++#include ++ ++#include + #include + #include + ++using namespace std; ++ + #include "about_dialog.h" + #include "ball.h" + #include "game.h" +@@ -193,21 +199,23 @@ + void + Game::DisplayMoves() + { +- char info[128]; +- ostrstream ost(info, sizeof(info)); ++ string info; ++ ostringstream ost; + + ost << _("Moves: ") << _nr_of_moves << std::ends; +- gtk_label_set(GTK_LABEL(_moves), info); ++ info = ost.str(); ++ gtk_label_set(GTK_LABEL(_moves), info.c_str()); + } + + void + Game::DisplayTime() + { +- char info[128]; +- ostrstream ost(info, sizeof(info)); ++ string info; ++ ostringstream ost; + + ost << _("Time: ") << _seconds << std::ends; +- gtk_label_set(GTK_LABEL(_time), info); ++ info = ost.str(); ++ gtk_label_set(GTK_LABEL(_time), info.c_str()); + } + + void --- groundhog-1.4.orig/debian/patches/pocket.h.patch +++ groundhog-1.4/debian/patches/pocket.h.patch @@ -0,0 +1,12 @@ +Index: groundhog-1.4/src/pocket.h +=================================================================== +--- groundhog-1.4.orig/src/pocket.h 2008-03-09 23:53:25.000000000 +0800 ++++ groundhog-1.4/src/pocket.h 2008-03-09 23:53:37.000000000 +0800 +@@ -20,6 +20,7 @@ + #define _POCKET_H_ + + #include ++using namespace std; + + #include + --- groundhog-1.4.orig/debian/patches/new_highscore_dialog.cc.patch +++ groundhog-1.4/debian/patches/new_highscore_dialog.cc.patch @@ -0,0 +1,12 @@ +Index: groundhog-1.4/src/new_highscore_dialog.cc +=================================================================== +--- groundhog-1.4.orig/src/new_highscore_dialog.cc 2008-03-09 23:59:39.000000000 +0800 ++++ groundhog-1.4/src/new_highscore_dialog.cc 2008-03-10 00:00:00.000000000 +0800 +@@ -16,6 +16,7 @@ + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + ++#include + #include + #include + --- groundhog-1.4.orig/debian/patches/solved_dialog.cc.patch +++ groundhog-1.4/debian/patches/solved_dialog.cc.patch @@ -0,0 +1,29 @@ +Index: groundhog-1.4/src/solved_dialog.cc +=================================================================== +--- groundhog-1.4.orig/src/solved_dialog.cc 2008-03-09 23:56:38.000000000 +0800 ++++ groundhog-1.4/src/solved_dialog.cc 2008-03-09 23:57:43.000000000 +0800 +@@ -16,7 +16,9 @@ + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +-#include ++#include ++#include ++using namespace std; + + #include "intl.h" + #include "solved_dialog.h" +@@ -33,9 +35,10 @@ + void + SolvedDialog::SetLabel(int moves) + { +- char info[128]; +- std::ostrstream ost(info, sizeof(info)); ++ string info; ++ ostringstream ost; + + ost << _(" Game solved in ") << moves << _(" moves!") << std::ends; +- gtk_label_set(GTK_LABEL(_label), info); ++ info = ost.str(); ++ gtk_label_set(GTK_LABEL(_label), info.c_str()); + } --- groundhog-1.4.orig/debian/patches/series +++ groundhog-1.4/debian/patches/series @@ -0,0 +1,15 @@ +sv.po.patch +configure.in.patch +README.patch +dialog.cc.patch +game.cc.patch +highscore.cc.patch +highscore_tab.cc.patch +new_highscore_dialog.h.patch +options_dialog.h.patch +pocket.h.patch +score.cc.patch +score.h.patch +solved_dialog.cc.patch +new_highscore_dialog.cc.patch +tube_pair.cc.patch --- groundhog-1.4.orig/debian/patches/configure.in.patch +++ groundhog-1.4/debian/patches/configure.in.patch @@ -0,0 +1,22 @@ +Index: groundhog-1.4/configure.in +=================================================================== +--- groundhog-1.4.orig/configure.in 2008-03-10 01:10:49.000000000 +0800 ++++ groundhog-1.4/configure.in 2008-03-10 01:11:19.000000000 +0800 +@@ -8,7 +8,7 @@ + GTK_REQUIRED_VERSION=$GLIB_REQUIRED_VERSION + + dnl Add the languages which your application supports here. +-ALL_LINGUAS="nl fr" ++ALL_LINGUAS="nl fr sv" + AM_GNU_GETTEXT + + dnl Set PACKAGE_LOCALE_DIR in config.h. +@@ -67,7 +67,7 @@ + fi + changequote([,])dnl + +-AC_OUTPUT([ m4/Makefile intl/Makefile intl/Makefile ++AC_OUTPUT([ m4/Makefile intl/Makefile + Makefile + src/Makefile + po/Makefile.in]) --- groundhog-1.4.orig/debian/patches/sv.po.patch +++ groundhog-1.4/debian/patches/sv.po.patch @@ -0,0 +1,329 @@ +Index: groundhog-1.4/po/sv.po +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ groundhog-1.4/po/sv.po 2008-03-10 00:36:37.000000000 +0800 +@@ -0,0 +1,324 @@ ++# Swedish translation of groundhog. ++# Copyright (C) 2006 Free Software Foundation, Inc. ++# Daniel Nylander , 2006. ++# ++msgid "" ++msgstr "" ++"Project-Id-Version: groundhog 1.4-7\n" ++"POT-Creation-Date: 1999-11-22 20:57+0100\n" ++"PO-Revision-Date: 2006-01-09 08:38+0100\n" ++"Last-Translator: Daniel Nylander \n" ++"Language-Team: Swedish \n" ++"MIME-Version: 1.0\n" ++"Content-Type: text/plain; charset=iso-8859-1\n" ++"Content-Transfer-Encoding: 8bit\n" ++ ++#: about_dialog.cc:27 ++msgid "About Groundhog" ++msgstr "Om Groundhog" ++ ++#: about_dialog.cc:46 ++msgid "" ++"Groundhog 1.2\n" ++"Copyright (C) 1998-1999 by Maurits Rijk\n" ++"lpeek.mrijk@consunet.nl" ++msgstr "" ++"Groundhog 1.2\n" ++"Copyright (C) 1998-1999 av Maurits Rijk\n" ++"lpeek.mrijk@consunet.nl" ++ ++#: about_dialog.cc:52 ++msgid " Released under the GNU General Public License " ++msgstr " Utgiven under GNU General Public License " ++ ++#: dialog.cc:34 ++msgid "Ok" ++msgstr "Ok" ++ ++#: dialog.cc:36 ++#: dialog.cc:71 ++#: game.cc:222 ++#: new_game_dialog.cc:62 ++#: tube_pair.cc:59 ++msgid "clicked" ++msgstr "klickad" ++ ++#: dialog.cc:38 ++#: game.cc:83 ++msgid "delete_event" ++msgstr "delete_event" ++ ++#: dialog.cc:70 ++msgid "Cancel" ++msgstr "Avbryt" ++ ++#: game.cc:42 ++msgid "/_File" ++msgstr "/_Arkiv" ++ ++#: game.cc:42 ++msgid "" ++msgstr "" ++ ++#: game.cc:43 ++msgid "/File/_New..." ++msgstr "/Arkiv/_Ny..." ++ ++#: game.cc:43 ++#: game.cc:57 ++msgid "N" ++msgstr "N" ++ ++#: game.cc:44 ++msgid "/File/Show _Highscore..." ++msgstr "/Arkiv/Visa _poängtoppen..." ++ ++#: game.cc:46 ++msgid "/File/_Options..." ++msgstr "/Arkiv/_Alternativ..." ++ ++#: game.cc:47 ++msgid "/File/sep1" ++msgstr "/Arkiv/sep1" ++ ++#: game.cc:47 ++msgid "" ++msgstr "" ++ ++#: game.cc:48 ++msgid "/File/_Quit" ++msgstr "/Arkiv/_Avsluta" ++ ++#: game.cc:48 ++#: game.cc:61 ++msgid "Q" ++msgstr "Q" ++ ++#: game.cc:49 ++msgid "/_Help" ++msgstr "/_Hjälp" ++ ++#: game.cc:49 ++msgid "" ++msgstr "" ++ ++#: game.cc:50 ++msgid "/Help/_About..." ++msgstr "/Hjälp/_Om..." ++ ++#: game.cc:57 ++msgid "
/File/New..." ++msgstr "
/Arkiv/Ny..." ++ ++#: game.cc:58 ++msgid "
/File/Show Highscore..." ++msgstr "
/Arkiv/Visa poängtoppen..." ++ ++#: game.cc:59 ++msgid "
/File/Options..." ++msgstr "
/Arkiv/Alternativ..." ++ ++#: game.cc:60 ++msgid "
/File/" ++msgstr "
/Arkiv/" ++ ++#: game.cc:61 ++msgid "
/File/Quit" ++msgstr "
/Arkiv/Avsluta" ++ ++#: game.cc:62 ++msgid "
/Help/About..." ++msgstr "
/Hjälp/Om..." ++ ++#: game.cc:80 ++msgid "Groundhog" ++msgstr "Groundhog" ++ ++#: game.cc:86 ++msgid "destroy" ++msgstr "förstör" ++ ++#: game.cc:111 ++#: game.cc:115 ++msgid "
" ++msgstr "
" ++ ++#: game.cc:125 ++msgid "
" ++msgstr "
" ++ ++#: game.cc:131 ++msgid "
/Help" ++msgstr "
/Hjälp" ++ ++#: game.cc:164 ++msgid "New" ++msgstr "Ny" ++ ++#: game.cc:164 ++msgid "Start new game" ++msgstr "Starta nytt spel" ++ ++#: game.cc:165 ++#: game.cc:176 ++msgid "Private" ++msgstr "Privat" ++ ++#: game.cc:175 ++msgid "Highscore" ++msgstr "Poängtoppen" ++ ++#: game.cc:175 ++msgid "Show highscore" ++msgstr "Visa poängtoppen" ++ ++#: game.cc:219 ++msgid "Go" ++msgstr "Kör" ++ ++#: game.cc:225 ++msgid "Play move" ++msgstr "Spela drag" ++ ++#: game.cc:253 ++msgid "Moves: " ++msgstr "Drag: " ++ ++#: game.cc:263 ++msgid "Time: " ++msgstr "Tid: " ++ ++#: highscore.cc:26 ++#: highscore.cc:35 ++msgid "HOME" ++msgstr "HEM" ++ ++#: highscore.cc:27 ++#: highscore.cc:36 ++msgid "/.groundhog.highscore" ++msgstr "/.groundhog.highscore" ++ ++#: highscore_dialog.cc:24 ++msgid "High scores" ++msgstr "Poängtoppen" ++ ++#: highscore_dialog.cc:32 ++msgid "Beginner" ++msgstr "Nybörjare" ++ ++#: highscore_dialog.cc:33 ++msgid "Intermediate" ++msgstr "Medelsvår" ++ ++#: highscore_dialog.cc:34 ++msgid "Expert" ++msgstr "Expert" ++ ++#: highscore_tab.cc:29 ++msgid "Rank" ++msgstr "Rank" ++ ++#: highscore_tab.cc:33 ++msgid "Name" ++msgstr "Namn" ++ ++#: highscore_tab.cc:37 ++msgid "Seconds" ++msgstr "Sekunder" ++ ++#: highscore_tab.cc:86 ++msgid "-" ++msgstr "-" ++ ++#: main.cc:31 ++msgid "../po" ++msgstr "../po" ++ ++#: new_game_dialog.cc:24 ++msgid "New Game" ++msgstr "Nytt spel" ++ ++#: new_game_dialog.cc:27 ++msgid "Size" ++msgstr "Storlek" ++ ++#: new_game_dialog.cc:43 ++msgid "Beginner (2x2)" ++msgstr "Nybörjare (2x2)" ++ ++#: new_game_dialog.cc:49 ++msgid "Intermediate (5x5)" ++msgstr "Medelsvår (5x5)" ++ ++#: new_game_dialog.cc:55 ++msgid "Expert (9x9)" ++msgstr "Expert (9x9)" ++ ++#: new_game_dialog.cc:60 ++msgid "User definable" ++msgstr "Anpassningsbar" ++ ++#: new_game_dialog.cc:67 ++msgid "Columns:" ++msgstr "Kolumner:" ++ ++#: new_game_dialog.cc:71 ++msgid "Rows:" ++msgstr "Rader:" ++ ++#: new_highscore_dialog.cc:29 ++msgid "New Highscore" ++msgstr "Nytt rekord" ++ ++#: new_highscore_dialog.cc:50 ++msgid "Congratulations, a new highscore!" ++msgstr "Gratulerar, ett nytt rekord!" ++ ++#: new_highscore_dialog.cc:54 ++msgid "Name:" ++msgstr "Namn:" ++ ++#: new_highscore_dialog.cc:74 ++msgid "LOGNAME" ++msgstr "LOGGNAMN" ++ ++#: new_highscore_dialog.cc:76 ++msgid "USER" ++msgstr "ANVÄNDARE" ++ ++#: new_highscore_dialog.cc:79 ++msgid "nobody" ++msgstr "ingen" ++ ++#: new_highscore_dialog.cc:90 ++msgid "Anonymous" ++msgstr "Anonym" ++ ++#: options_dialog.cc:24 ++msgid "Options" ++msgstr "Alternativ" ++ ++#: options_dialog.cc:30 ++msgid "Show Tooltips" ++msgstr "Visa verktygstips" ++ ++#: score.cc:24 ++msgid "(\"" ++msgstr "(\"" ++ ++#: score.cc:24 ++msgid "\" " ++msgstr "\" " ++ ++#: solved_dialog.cc:25 ++msgid "Game Solved!" ++msgstr "Spelet löst!" ++ ++#: solved_dialog.cc:40 ++msgid " Game solved in " ++msgstr " Spelet löst på " ++ ++#: solved_dialog.cc:40 ++msgid " moves!" ++msgstr " drag!" ++ --- groundhog-1.4.orig/debian/patches/README.patch +++ groundhog-1.4/debian/patches/README.patch @@ -0,0 +1,10 @@ +Index: groundhog-1.4/README +=================================================================== +--- groundhog-1.4.orig/README 2008-03-09 23:35:36.000000000 +0800 ++++ groundhog-1.4/README 2008-03-09 23:35:44.000000000 +0800 +@@ -1,4 +1,4 @@ +-This is Groundhog 1.3.1, a simple logic game. See the INSTALL file for ++This is Groundhog 1.4, a simple logic game. See the INSTALL file for + build instructions. + + Groundhog's homepage is at --- groundhog-1.4.orig/debian/patches/highscore.cc.patch +++ groundhog-1.4/debian/patches/highscore.cc.patch @@ -0,0 +1,15 @@ +Index: groundhog-1.4/src/highscore.cc +=================================================================== +--- groundhog-1.4.orig/src/highscore.cc 2008-03-09 23:43:34.000000000 +0800 ++++ groundhog-1.4/src/highscore.cc 2008-03-09 23:44:59.000000000 +0800 +@@ -16,7 +16,9 @@ + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +-#include ++#include ++#include ++using namespace std; + + #include "highscore.h" + --- groundhog-1.4.orig/debian/patches/dialog.cc.patch +++ groundhog-1.4/debian/patches/dialog.cc.patch @@ -0,0 +1,13 @@ +Index: groundhog-1.4/src/dialog.cc +=================================================================== +--- groundhog-1.4.orig/src/dialog.cc 2008-03-09 23:38:07.000000000 +0800 ++++ groundhog-1.4/src/dialog.cc 2008-03-09 23:38:21.000000000 +0800 +@@ -16,7 +16,7 @@ + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +-#include ++#include + + #include "dialog.h" + #include "intl.h" --- groundhog-1.4.orig/debian/patches/tube_pair.cc.patch +++ groundhog-1.4/debian/patches/tube_pair.cc.patch @@ -0,0 +1,13 @@ +Index: groundhog-1.4/src/tube_pair.cc +=================================================================== +--- groundhog-1.4.orig/src/tube_pair.cc 2008-03-10 00:01:30.000000000 +0800 ++++ groundhog-1.4/src/tube_pair.cc 2008-03-10 00:01:52.000000000 +0800 +@@ -16,6 +16,8 @@ + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + ++#include ++ + #include "icons.h" + #include "tube.h" + #include "tube_pair.h" --- groundhog-1.4.orig/debian/patches/score.h.patch +++ groundhog-1.4/debian/patches/score.h.patch @@ -0,0 +1,14 @@ +Index: groundhog-1.4/src/score.h +=================================================================== +--- groundhog-1.4.orig/src/score.h 2008-03-09 23:55:30.000000000 +0800 ++++ groundhog-1.4/src/score.h 2008-03-09 23:56:07.000000000 +0800 +@@ -21,6 +21,9 @@ + + #include + #include ++#include ++ ++using namespace std; + + class Score { + std::string _name; --- groundhog-1.4.orig/debian/patches/options_dialog.h.patch +++ groundhog-1.4/debian/patches/options_dialog.h.patch @@ -0,0 +1,13 @@ +Index: groundhog-1.4/src/options_dialog.h +=================================================================== +--- groundhog-1.4.orig/src/options_dialog.h 2008-03-09 23:52:12.000000000 +0800 ++++ groundhog-1.4/src/options_dialog.h 2008-03-09 23:52:27.000000000 +0800 +@@ -28,7 +28,7 @@ + Game* _game; + GtkWidget* _tooltips; + +- void OptionsDialog::OnOk(); ++ void OnOk(); + public: + OptionsDialog(Game* game); + }; --- groundhog-1.4.orig/debian/patches/highscore_tab.cc.patch +++ groundhog-1.4/debian/patches/highscore_tab.cc.patch @@ -0,0 +1,48 @@ +Index: groundhog-1.4/src/highscore_tab.cc +=================================================================== +--- groundhog-1.4.orig/src/highscore_tab.cc 2008-03-10 00:04:50.000000000 +0800 ++++ groundhog-1.4/src/highscore_tab.cc 2008-03-10 00:06:41.000000000 +0800 +@@ -16,7 +16,9 @@ + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +-#include ++#include ++#include ++using namespace std; + + #include "highscore_tab.h" + #include "intl.h" +@@ -37,11 +39,12 @@ + gtk_table_attach_defaults(GTK_TABLE(table), label, 2, 3, 0, 1); + + for (int i = 1; i <= 10; i++) { +- char scratch[16]; +- std::ostrstream ost(scratch, sizeof(scratch)); ++ string scratch; ++ ostringstream ost; + + ost << i << std::ends; +- GtkWidget* index_label = gtk_label_new(scratch); ++ scratch = ost.str(); ++ GtkWidget* index_label = gtk_label_new(scratch.c_str()); + gtk_table_attach_defaults(GTK_TABLE(table), index_label, 0, 1, i, i + 1); + + _names[i] = gtk_label_new(N_("")); +@@ -68,12 +71,13 @@ + int index = 1; + for (std::list::const_iterator i = slist.Begin(); + i != slist.End(); i++) { +- char scratch[16]; +- std::ostrstream ost(scratch, sizeof(scratch)); ++ string scratch; ++ ostringstream ost; + + ost << (*i).GetSeconds() << std::ends; ++ scratch = ost.str(); + +- FillOneScore(index++, (*i).GetName().c_str(), scratch); ++ FillOneScore(index++, (*i).GetName().c_str(), scratch.c_str()); + } + + for (; index <= 10; index++) --- groundhog-1.4.orig/debian/patches/score.cc.patch +++ groundhog-1.4/debian/patches/score.cc.patch @@ -0,0 +1,12 @@ +Index: groundhog-1.4/src/score.cc +=================================================================== +--- groundhog-1.4.orig/src/score.cc 2008-03-09 23:54:29.000000000 +0800 ++++ groundhog-1.4/src/score.cc 2008-03-09 23:54:56.000000000 +0800 +@@ -17,6 +17,7 @@ + */ + + #include ++using namespace std; + #include "score.h" + + std::ostream& --- groundhog-1.4.orig/debian/groundhog.6 +++ groundhog-1.4/debian/groundhog.6 @@ -0,0 +1,20 @@ +.TH GROUNDHOG 6 +.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection +.\" other parms are allowed: see man(7), man(1) +.SH NAME +groundhog \- Simple logic game. +.SH SYNOPSIS +.B groundhog +.SH "DESCRIPTION" +.B groundhog +is a simple logic game. The purpose is to put balls in pockets of the same +color by manipulating a maze of tubes. +.SH OPTIONS +.B groundhog +currently has no command-line options. +.SH AUTHOR +.B groundhog +was written by Maurits Rijk . +.BR +This manual page was written by Ruud de Rooij , +for the Debian GNU/Linux system (but may be used by others). --- groundhog-1.4.orig/debian/copyright +++ groundhog-1.4/debian/copyright @@ -0,0 +1,85 @@ +This is the Debian GNU/Linux prepackaged version of groundhog, a simple logic +game. Groundhog was written by Maurits Rijk. + +This package was originally put together by Ruud de Rooij . +It was maintained by Stephen M Moraco . +It is maintained by Ying-Chun Liu (PaulLiu) . + +It was downloaded from http://home-2.consunet.nl/~cb007736/groundhog.html + +Upstream Author: + + Maurits Rijk + +Copyright: + + Copyright (C) 1998 Maurits Rijk + +License: + + Groundhog is Copyright (C) 1998 Maurits Rijk. + + 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'. + +There are files or directories which have a different copyright/license. +Listed as the following: + +License for intl/*: + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + Licence along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + 02110-1301, USA. + + On Debian GNU/Linux systems, the complete text of the GNU Library + General Public License may be found in + /usr/share/common-licenses/LGPL-2 + +License for m4/{gettext.m4,lcmessage.m4,progtest.m4} : + Copyright (C) 1995-2002 Free Software Foundation, Inc. + This file is free software, distributed under the terms of the GNU + General Public License. As a special exception to the GNU General + Public License, this file may be distributed as part of a program + that contains a configuration script generated by Autoconf, under + the same distribution terms as the rest of that program. + + This file can can be used in projects which are not available under + the GNU General Public License or the GNU Library General Public + License but which still want to provide support for the GNU gettext + functionality. + Please note that the actual code of the GNU gettext library is covered + by the GNU Library General Public License, and the rest of the GNU + gettext package package is covered by the GNU General Public License. + They are *not* in the public domain. + +License for other m4/*: + Copyright (C) 2001-2002 Free Software Foundation, Inc. + This file is free software, distributed under the terms of the GNU + General Public License. As a special exception to the GNU General + Public License, this file may be distributed as part of a program + that contains a configuration script generated by Autoconf, under + the same distribution terms as the rest of that program. --- groundhog-1.4.orig/debian/dirs +++ groundhog-1.4/debian/dirs @@ -0,0 +1,3 @@ +usr/games +usr/share/doc/groundhog +usr/share/man/man6 --- groundhog-1.4.orig/debian/menu +++ groundhog-1.4/debian/menu @@ -0,0 +1,2 @@ +?package(groundhog):needs="X11" section="Games/Puzzles" \ + title="Groundhog" command="/usr/games/groundhog" --- groundhog-1.4.orig/debian/changelog +++ groundhog-1.4/debian/changelog @@ -0,0 +1,272 @@ +groundhog (1.4-9) unstable; urgency=low + + * New maintainer (Closes: Bug#465949) + * Use Homepage: instead of the pseudo-header in long description + * Add debian/compat to 4 + * Use quilt to handle patches + * Bump Standard Version to 3.7.3 + * Remove empty directories in debian/dirs + * Use autoconf/automake to generate configure + * Include Swedish translation sv.po (Closes: Bug#346520) + * Refine debian/copyright file + * Only use --build on configure in debian/rules when host type is same + * Remove unnecessary dh_* and comments in debian/rules + + -- Ying-Chun Liu (PaulLiu) Tue, 18 Mar 2008 00:14:15 +0800 + +groundhog (1.4-8.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix gcc-4.3 FTBFS, patch by tbm. (Closes: #417216) + + -- Marc 'HE' Brockschmidt Sun, 16 Mar 2008 23:03:27 +0100 + +groundhog (1.4-8) unstable; urgency=low + + * Accept NMU Content - Thank you Justin! (Closes: Bug#346716) + * Apply patch for g++ 4.1 cleanup (Closes: Bug#357861) + * Upgrade watch file to version 3 Syntax + + -- Stephen M Moraco Wed, 29 Mar 2006 22:26:53 -0700 + +groundhog (1.4-7.1) unstable; urgency=low + + * Non-maintainer upload. + * Update build-deps for xlibs-dev removal; closes: #346716. + + -- Justin Pryzby Sun, 15 Jan 2006 17:31:44 -0500 + +groundhog (1.4-7) unstable; urgency=low + + * Update Standards Version + * Add Watch file + + -- Stephen M Moraco Sun, 2 Oct 2005 13:20:33 -0600 + +groundhog (1.4-6) unstable; urgency=low + + * Update Policy Version + + -- Stephen M Moraco Fri, 20 Aug 2004 23:12:32 -0600 + +groundhog (1.4-5) unstable; urgency=low + + * Fix build problem w/gcc-3.3, streams use (Closes: Bug#196793) + * Update Policy Version + + -- Stephen M Moraco Wed, 18 Jun 2003 19:46:15 -0600 + +groundhog (1.4-4) unstable; urgency=low + + * Update per debhelper best practice changes + * Update Policy Version + + -- Stephen M Moraco Thu, 13 Mar 2003 11:53:23 -0700 + +groundhog (1.4-3) unstable; urgency=low + + * Update to latest policy version + + -- Stephen M Moraco Tue, 1 Oct 2002 17:54:33 -0600 + +groundhog (1.4-2) unstable; urgency=low + + * Revise depends (removing dep on g++-3.0) + * Build agianst latest libs (Closes: Bug#157930) + + -- Stephen M Moraco Sat, 17 Aug 2002 11:05:12 -0600 + +groundhog (1.4-1) unstable; urgency=low + + * New upstream version + + -- Stephen M Moraco Wed, 3 Jul 2002 23:45:00 -0600 + +groundhog (1.3.2-3) unstable; urgency=low + + * Remove vesigal aclocal call (Closes: Bug#131421) + + -- Stephen M Moraco Tue, 29 Jan 2002 19:11:33 -0700 + +groundhog (1.3.2-2) unstable; urgency=low + + * Correct auto-update of config.guess,config.sub + + -- Stephen M Moraco Mon, 28 Jan 2002 00:15:23 -0700 + +groundhog (1.3.2-1) unstable; urgency=low + + * New upstream version + + -- Stephen M Moraco Sun, 27 Jan 2002 16:14:11 -0700 + +groundhog (1.3.1-3) unstable; urgency=low + + * Remove postinst/rmv handling of high score file (Closes: Bug#114563) + + -- Stephen M Moraco Tue, 9 Oct 2001 01:35:19 -0600 + +groundhog (1.3.1-2) unstable; urgency=low + + * Add build-depend on g++-3.0 + + -- Stephen M Moraco Sat, 22 Sep 2001 03:03:40 -0600 + +groundhog (1.3.1-1) unstable; urgency=low + + * New upstream version + * no longer is suid app (Closes: Bug#107925) + * and the merged dupe bug (Closes: Bug#110186) + * now builds with gcc-3.0 (Closes: Bug#104848) + + -- Stephen M Moraco Thu, 20 Sep 2001 21:03:10 -0600 + +groundhog (1.2-8) unstable; urgency=low + + * remove need for setgid (Closes: Bug#107925) + * fix changelog emacs stuff per lintian + + -- Stephen M Moraco Tue, 21 Aug 2001 20:22:51 -0600 + +groundhog (1.2-7) unstable; urgency=low + + * Build against newer libs + + -- Stephen M Moraco Mon, 26 Mar 2001 14:56:04 -0700 + +groundhog (1.2-6) unstable; urgency=low + + * Add missing build-depend (Closes: Bug#90716) + * Adjust package description + + -- Stephen M Moraco Wed, 22 Mar 2001 00:20:40 -0700 + +groundhog (1.2-5) unstable; urgency=low + + * New Maintainer (Closes: Bug#90309) + + -- Stephen M Moraco Wed, 21 Mar 2001 01:06:03 -0700 + +groundhog (1.2-4) unstable; urgency=low + + * Rebuilt with dpkg-dev 1.8.3. + + -- Ruud de Rooij Mon, 15 Jan 2001 11:17:00 -0600 + +groundhog (1.2-3) unstable; urgency=low + + * Updated for new suidregister. + + -- Ruud de Rooij Thu, 11 Jan 2001 12:23:32 -0600 + +groundhog (1.2-2) unstable; urgency=low + + * Added liblockfile-dev to Build-Depends (closes: #58068). + + -- Ruud de Rooij Mon, 14 Feb 2000 18:29:50 +0100 + +groundhog (1.2-1) unstable; urgency=low + + * New upstream version. + * Standards-Version: 3.1.1. + + -- Ruud de Rooij Sun, 6 Feb 2000 17:56:55 +0100 + +groundhog (1.1-8) unstable; urgency=low + + * Recompiled for libgtk 1.2.5. + * Removed workaround introduced in 1.1-6, and display a proper board at + startup again. + + -- Ruud de Rooij Mon, 27 Sep 1999 10:23:07 +0200 + +groundhog (1.1-7) unstable; urgency=low + + * Changed Standards-Version field in debian/control to 3.0.1. + * Corrected reference to GPL in debian/copyright. + * Minor updates to debian/rules. + + -- Ruud de Rooij Sun, 26 Sep 1999 13:50:59 +0200 + +groundhog (1.1-6) unstable; urgency=low + + * Display a 1x1 board initially, which forces a resize before a new game + (this works around a GTK bug). + * Standards-Version: 3.0.1. + * High scores are kept in /var/games now. + + -- Ruud de Rooij Fri, 10 Sep 1999 21:24:57 +0200 + +groundhog (1.1-5) unstable; urgency=low + + * Recompiled for newest c++ library. + + -- Ruud de Rooij Sat, 14 Aug 1999 16:57:47 +0200 + +groundhog (1.1-4) unstable; urgency=low + + * Recompiled for liblockfile 1.0. + + -- Ruud de Rooij Tue, 22 Jun 1999 20:05:35 +0200 + +groundhog (1.1-3) unstable; urgency=low + + * High score file is now global instead of per-user. + + -- Ruud de Rooij Sun, 11 Apr 1999 20:11:27 +0200 + +groundhog (1.1-2) unstable; urgency=low + + * Recompiled for glibc 2.1. Fixes highscore dialog display problem. + + -- Ruud de Rooij Sun, 28 Mar 1999 13:10:42 +0200 + +groundhog (1.1-1) unstable; urgency=low + + * New upstream release. + + -- Ruud de Rooij Sat, 27 Feb 1999 19:49:42 +0100 + +groundhog (1.0.1-4) unstable; urgency=low + + * Worked around compile problem with GTK 1.1. + + -- Ruud de Rooij Tue, 23 Feb 1999 19:23:13 +0100 + +groundhog (1.0.1-3) unstable; urgency=low + + * New high score dialog contains user name by default. + * Initialize random seed at start of game. + * Install upstream changelog. + + -- Ruud de Rooij Mon, 1 Feb 1999 22:04:24 +0100 + +groundhog (1.0.1-2) unstable; urgency=low + + * Start with `Go' button initially disabled (closes: #32157). + + -- Ruud de Rooij Wed, 20 Jan 1999 19:40:00 +0100 + +groundhog (1.0.1-1) unstable; urgency=low + + * New upstream release. + * Tweaked `pocket' images to remove some strange pixels. + + -- Ruud de Rooij Mon, 18 Jan 1999 20:18:44 +0100 + +groundhog (1.0-1) unstable; urgency=low + + * New upstream release. + * Updated documentation. + + -- Ruud de Rooij Thu, 17 Dec 1998 22:01:22 +0100 + +groundhog (0.9-1) unstable; urgency=low + + * Initial Release. + + -- Ruud de Rooij Sat, 28 Nov 1998 23:45:23 +0100 + +Local variables: +mode: debian-changelog +End: --- groundhog-1.4.orig/debian/compat +++ groundhog-1.4/debian/compat @@ -0,0 +1 @@ +4 --- groundhog-1.4.orig/debian/watch +++ groundhog-1.4/debian/watch @@ -0,0 +1,4 @@ +# Site Directory Pattern Version Script +version=3 +http://home-2.consunet.nl/~cb007736/groundhog.html \ + groundhog-([\d+\.]+|\d+)\.tar\.gz --- groundhog-1.4.orig/debian/rules +++ groundhog-1.4/debian/rules @@ -0,0 +1,93 @@ +#!/usr/bin/make -f +# Generated by dh_make, customized by Stephen Moraco +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +# export DH_VERBOSE=1 + +# Setup proper platform id +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + confflags += --build=$(DEB_HOST_GNU_TYPE) +else + confflags += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) +endif + +include /usr/share/quilt/quilt.make + +preconfigure: preconfigure-stamp +preconfigure-stamp: + dh_testdir + $(MAKE) -f debian/rules patch + autoreconf -i + touch preconfigure-stamp + +configure: configure-stamp +configure-stamp: preconfigure-stamp + dh_testdir + # Configure the package. + ./configure $(confflags) \ + --prefix=/usr --mandir=\$${prefix}/share/man --bindir=\$${prefix}/games + + touch configure-stamp + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Compile the package. + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp preconfigure-stamp + + # Clean up after the build process. + $(MAKE) -f debian/rules patch + [ ! -f Makefile ] || $(MAKE) distclean + rm -f src/Makefile.in m4/Makefile.in Makefile.in + rm -f config.guess config.sub ltmain.sh aclocal.m4 config.h.in configure + $(MAKE) -f debian/rules unpatch + rm -f -v po/*.gmo po/stamp-po* + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Install the package into debian/groundhog. + $(MAKE) install DESTDIR=$(CURDIR)/debian/groundhog + + +# 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_installdocs + dh_installmenu + dh_installman debian/groundhog.6 + dh_installchangelogs ChangeLog + 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 configure --- groundhog-1.4.orig/debian/control +++ groundhog-1.4/debian/control @@ -0,0 +1,14 @@ +Source: groundhog +Section: games +Priority: optional +Maintainer: Ying-Chun Liu (PaulLiu) +Build-Depends: libtool, libgtk2.0-dev, liblockfile-dev, gettext, debhelper (>= 4), autoconf, automake, quilt +Standards-Version: 3.7.3 +Homepage: http://home-2.consunet.nl/~cb007736/groundhog.html + +Package: groundhog +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: A simple logic game + The purpose of this game is to put balls in pockets of the same color + by manipulating a maze of tubes. --- groundhog-1.4.orig/debian/docs +++ groundhog-1.4/debian/docs @@ -0,0 +1,4 @@ +AUTHORS +NEWS +README +TODO