[freedroidrpg] 02/32: Import Debian patch 0.15.1-1

Julien Puydt julien.puydt at laposte.net
Fri Nov 11 14:40:14 UTC 2016


This is an automated email from the git hooks/post-receive script.

jpuydt-guest pushed a commit to branch master
in repository freedroidrpg.

commit 8b37b01efb86b931234996f0172381831186e852
Author: Bart Martens <bartm at debian.org>
Date:   Sat May 5 09:17:47 2012 +0000

    Import Debian patch 0.15.1-1
---
 debian/changelog                  | 188 ++++++++++++++++++++++++
 debian/compat                     |   1 +
 debian/control                    |  29 ++++
 debian/copyright                  | 297 ++++++++++++++++++++++++++++++++++++++
 debian/freedroidrpg-data.install  |   1 +
 debian/freedroidrpg.desktop       |  11 ++
 debian/freedroidrpg.docs          |   1 +
 debian/freedroidrpg.install       |   3 +
 debian/freedroidrpg.menu          |   3 +
 debian/freedroidrpg.xpm           |  70 +++++++++
 debian/patches/07_framerate.diff  |  11 ++
 debian/patches/17_debianize.diff  |  39 +++++
 debian/patches/20_enter_keys.diff |  35 +++++
 debian/patches/27_debug.diff      | 150 +++++++++++++++++++
 debian/patches/series             |   4 +
 debian/rules                      |  10 ++
 debian/source/format              |   1 +
 debian/watch                      |   3 +
 18 files changed, 857 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..530cdc7
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,188 @@
+freedroidrpg (0.15.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Switch to dpkg-source 3.0 (quilt) format, debhelper 8, no cdbs.
+  * debian/control: Build-Depends: libsdl-gfx1.2-dev, libjpeg-dev, libz-dev,
+    libpng-dev.
+  * debian/control: Removed Build-Depends: automake1.9.
+  * debian/control: Depends: freedroidrpg-data (= ...).  Closes: #629268.
+  * debian/control: Fixed description-synopsis-starts-with-article.
+
+ -- Bart Martens <bartm at debian.org>  Sat, 05 May 2012 09:17:47 +0000
+
+freedroidrpg (0.14.1-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Bart Martens <bartm at debian.org>  Mon, 27 Dec 2010 15:56:46 +0000
+
+freedroidrpg (0.13-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/freedroidrpg.manpages: Removed.
+  * Removed obsolete patches:
+    + debian/patches/01_array_bounds.diff
+    + debian/patches/04_call_for_contrib.diff
+    + debian/patches/09_druidname.diff
+    + debian/patches/09_druidname.diff.DISABLED
+    + debian/patches/13_resolution.diff.DISABLED
+    + debian/patches/16_cookies.diff.DISABLED
+    + debian/patches/19_chat_text.diff.DISABLED
+    + debian/patches/24_no_editor.diff.DISABLED
+    + debian/patches/25_out_of_map.diff.DISABLED
+  * Updated to fit new upstream release:
+    + debian/patches/07_framerate.diff
+    + debian/patches/17_debianize.diff
+    + debian/patches/20_enter_keys.diff
+  * debian/patches/27_debug.diff: Added.  Reduces output on stdout/stderr.
+
+ -- Bart Martens <bartm at debian.org>  Sat, 27 Feb 2010 17:26:08 +0100
+
+freedroidrpg (0.12.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * To fit new upstream release:
+    + debian/patches/13_resolution.diff: Disabled.
+    + debian/patches/17_debianize.diff: Updated.
+    + debian/patches/26_credits.diff: Removed.
+  * debian/rules: Removed testcoding and simplified.
+  * debian/copyright: Updated.
+
+ -- Bart Martens <bartm at debian.org>  Sat, 25 Apr 2009 16:36:07 +0200
+
+freedroidrpg (0.11.1-1) experimental; urgency=low
+
+  * New upstream release.
+  * debian/patches/11_debug.diff: Removed.
+  * debian/patches/18_droid_drives.diff: Removed.
+  * debian/patches/21_newtown.diff: Removed.
+  * debian/patches/22_end_dialog.diff: Removed.
+  * debian/patches/23_later.diff: Removed.
+  * debian/patches/01_array_bounds.diff: Updated.
+  * debian/patches/04_call_for_contrib.diff: Updated.
+  * debian/patches/07_framerate.diff: Updated.
+  * debian/patches/09_druidname.diff: Partially updated, partially disabled.
+  * debian/patches/13_resolution.diff: Updated.
+  * debian/patches/16_cookies.diff: Disabled.
+  * debian/patches/17_debianize.diff: Updated.
+  * debian/patches/19_chat_text.diff: Disabled.
+  * debian/patches/20_enter_keys.diff: Updated.
+  * debian/patches/24_no_editor.diff: Disabled.  So the level editor is back.
+  * debian/patches/25_out_of_map.diff: Disabled.
+  * debian/patches/26_credits.diff: Added.
+  * debian/control: Standards-Version.
+  * debian/watch: Updated.
+
+ -- Bart Martens <bartm at debian.org>  Sun, 28 Sep 2008 18:43:04 +0200
+
+freedroidrpg (0.10.3-3) unstable; urgency=low
+
+  * debian/patches/24_no_editor.diff: Added, to hide the crashing map editor.
+    Closes: #458178, #444553, #458066.
+  * debian/patches/25_out_of_map.diff: Added, to prevent going out of the map.
+    Closes: #447434.
+
+ -- Bart Martens <bartm at debian.org>  Sat, 29 Dec 2007 12:27:25 +0100
+
+freedroidrpg (0.10.3-2) unstable; urgency=low
+
+  * debian/patches/04_call_for_contrib.diff: Updated.
+  * debian/patches/13_resolution.diff: Added resolutions.
+  * debian/patches/20_enter_keys.diff: Fixes enter key on some keyboards.
+  * debian/patches/21_newtown.diff: Added.  Closes: #447362, #445487.
+  * debian/patches/22_end_dialog.diff: Added.  Fixes endless dialog.
+  * debian/patches/23_later.diff: Added.  Closes: #447355.
+  * debian/rules: Updated, to remove empty directories.
+
+ -- Bart Martens <bartm at debian.org>  Sun, 14 Oct 2007 23:38:09 +0200
+
+freedroidrpg (0.10.3-1) unstable; urgency=low
+
+  * New upstream release.  Closes: #442324.
+  * debian/freedroidrpg-data.install, debian/rules: Install in
+    /usr/share/games.  Closes: #437755.
+  * debian/freedroidrpg.desktop: Updated "Categories".  Closes: #442325.
+  * debian/patches/*: Updated to fit new upstream release.
+  * debian/patches/18_droid_drives.diff: Fixes regression.
+  * debian/patches/19_chat_text.diff: Fixes regression.
+  * debian/rules: Don't install speak.py.
+
+ -- Bart Martens <bartm at knars.be>  Sat, 15 Sep 2007 11:55:58 +0200
+
+freedroidrpg (0.10.2-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/patches/07_framerate.diff: Updated.
+  * debian/patches/11_debug.diff: Updated.
+  * debian/patches/13_resolution.diff: Updated.
+
+ -- Bart Martens <bartm at knars.be>  Wed, 04 Jul 2007 19:43:32 +0200
+
+freedroidrpg (0.10.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/patches/01_array_bounds.diff: Updated.
+  * debian/patches/02_textures.diff: Removed.
+  * debian/patches/03_male_greeting.diff: Removed.
+  * debian/patches/04_call_for_contrib.diff: Updated.
+  * debian/patches/10_typo.diff: Removed.
+  * debian/patches/11_debug.diff: Updated.
+  * debian/patches/12_play.diff: Removed.
+  * debian/patches/14_audio_rate.diff: Removed.
+  * debian/patches/15_negative_z.diff: Removed.
+  * debian/patches/16_cookies.diff: Added.  Fixes a bug with the trailing
+    colon in cookies confusing the dialogs.
+
+ -- Bart Martens <bartm at knars.be>  Sun, 11 Feb 2007 09:41:07 +0100
+
+freedroidrpg (0.10.0+d070110-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/copyright: Updated.
+  * debian/freedroidrpg.desktop, debian/freedroidrpg.menu: Mouse-over text.
+  * debian/patches/01_no_voice_sample.diff: Removed obsolete patch.
+  * debian/patches/01_array_bounds.diff: Check array bounds.
+  * debian/patches/02_textures.diff: Fix crash "Ran out of...".
+  * debian/patches/03_male_greeting.diff: No male greetings by females.
+  * debian/patches/04_call_for_contrib.diff: Don't call for contributions
+    during the game, but use reasonable general default values.
+  * debian/patches/07_framerate.diff: Don't show framerate by default.
+  * debian/patches/09_druidname.diff: Better druidnames handling.
+  * debian/patches/10_typo.diff: Fixed typo's.
+  * debian/patches/11_debug.diff: Less noise on stderr.
+  * debian/patches/12_play.diff: Replaced "Single Player" by just "Play".
+  * debian/patches/13_resolution.diff: Changes related to screen resolutions.
+  * debian/patches/14_audio_rate.diff: Fixed scratchy sound.  Closes: #406437.
+  * debian/patches/15_negative_z.diff: Patch by upstream developer, Arthur
+    Huillet <arthur.huillet at agoctrl.org>.
+
+ -- Bart Martens <bartm at knars.be>  Mon,  1 Jan 2007 10:52:54 +0100
+
+freedroidrpg (0.9.13-2) unstable; urgency=low
+
+  * debian/control: Removed circular dependency.  Closes: #403262.
+  * debian/control: Added "not the same game as Freedroid".  Closes: #403271.
+  * debian/patches/01_no_voice_sample.diff: Fixes duplicate voice sample.
+
+ -- Bart Martens <bartm at knars.be>  Sat, 16 Dec 2006 10:45:22 +0100
+
+freedroidrpg (0.9.13-1) unstable; urgency=low
+
+  * Initial release in Debian.  Closes: #339896.
+  * New upstream release.
+  * debian/control: Build-Depends on autotools-dev.
+  * debian/copyright: Updated.
+  * debian/freedroidrpg.install: Don't install croppy and pngtoico.
+  * debian/freedroidrpg.manpages: One manpage.
+  * debian/rules: debhelper.mk before autotools.mk.
+  * debian/rules: Don't build the editors to avoid libgtk1.2-dev.
+  * debian/watch: Handle that 0.9.13-rc3 is older than 0.9.13.
+
+ -- Bart Martens <bartm at knars.be>  Sat,  2 Dec 2006 09:41:45 +0100
+
+freedroidrpg (0.9.13rc3-1) unstable; urgency=low
+
+  * Initial release Closes: #339896
+
+ -- Daniel Milstein <djmilstein at gmail.com>  Sat, 19 Nov 2005 15:31:33 +0000
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..afccb5f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,29 @@
+Source: freedroidrpg
+Section: games
+Priority: optional
+Maintainer: Bart Martens <bartm at debian.org>
+Build-Depends: debhelper (>= 8.0.0), autotools-dev, libsdl1.2-dev, libsdl-image1.2-dev, libsdl-net1.2-dev, libsdl-mixer1.2-dev, libsdl-gfx1.2-dev, libvorbis-dev, libjpeg-dev, libz-dev, libpng-dev
+Standards-Version: 3.9.3
+Homepage: http://freedroid.sourceforge.net/
+
+Package: freedroidrpg
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, freedroidrpg-data (= ${source:Version})
+Description: Isometric RPG influenced by Paradroid
+ Freedroid RPG is an RPG with isometric graphics. In it, the player
+ is Tux, who must fight rebelling robots in order to restore peace to 
+ humankind. To do so,Tux may take over robots in a minigame based off the 
+ classic game Paradroid, or may simply blast them to pieces with a weapon.
+ .
+ Note that this is not the same game as Freedroid, also available in Debian.
+
+Package: freedroidrpg-data
+Architecture: all
+Depends: ${misc:Depends}
+Description: Data files for freedroidrpg
+ Freedroid RPG is an RPG with isometric graphics. In it, the player
+ is Tux, who must fight rebelling robots in order to restore peace to 
+ humankind. To do so,Tux may take over robots in a minigame based off the 
+ classic game Paradroid, or may simply blast them to pieces with a weapon.
+ .
+ Note that this is not the same game as Freedroid, also available in Debian.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..68bc12a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,297 @@
+This package was debianized by Daniel Milstein <djmilstein at gmail.com> on
+Sat, 19 Nov 2005 15:31:33 +0000.
+
+It was downloaded from:
+
+    http://sourceforge.net/projects/freedroid
+
+Upstream authors, as found in the CREDITS menu of the game:
+
+    |                                 FreedroidRPG 0.15.1
+    | PROGRAMMING:
+    |         Maria Grazia Alastra
+    |         Pedro Arana
+    |         Catalin Badea
+    |         Bryan C
+    |         Samuel Degrande
+    |         Arthur Huillet
+    |         Stefan Kangas
+    |         Jozef Kucia
+    |         Pavaluca Matei
+    |         Michael Mendelson
+    |         Esa-Matti Mourujarvi
+    |         Nicolas Pepin-Perreault
+    |         Samuel Pitoiset
+    |         Alexander Solovets
+    |         Philippe Tetar
+    | GAME CONTENT:
+    |         Matthias Krüger
+    |         Miles McCammon
+    |         Sebastian Offermann
+    |         Kurtis Parramore
+    |         Niklas Spille
+    |         JK Wood
+    |         James
+    |         Starminn
+    |         Thor
+    |         rudi_s
+    |         Infrared
+    | RELEASE MANAGEMENT:
+    |         Arthur Huillet
+    |         Miles McCammon
+    | 
+    |                           ALSO, IN PREVIOUS VERSIONS
+    | PROGRAMMING:
+    |         Johannes Prix
+    |         Reinhard Prix
+    |         Quentin Pradet
+    |         jcoral
+    |         Pierre Bourdon
+    |         Simon Castellan
+    |         Ari Mustonen
+    | GAME CONTENT:
+    |         Stefan Huszics
+    | GRAPHICS:
+    |         Bastian Salmela
+    | DIALOGUES:
+    |         Karol Swietlicki
+    | MUSIC:
+    |         Nick "Nario" Hagman
+    |         Arvid Picciani
+    |         "The Beginning"
+    |             by 4t thieves
+    |         "Daybreak"
+    |             by realsmokers
+    |         "Bleostrada"
+    |             by stud
+    | MISC:
+    |         Mbrola - text-to-speech
+    |         eSpeak - text-to-speech
+    |         Ryan 'simcop2387' Voots
+    |         Andrew A. Gill
+    |         Zombie Ryushu
+    |         Ted Cipicchio
+    |         The Doctor
+    |         Simon Newton
+    |         Clint Herron
+    |         Hike Danakian
+    |         Ian Griffiths
+    |         David Kremer
+    |         Armin Winterer
+
+Copyright:
+
+    Copyright (c) 1994, 2002-2004 Johannes Prix
+    Copyright (c) 1994, 2002-2004 Reinhard Prix
+    Copyright (c) 2009-2010 the Freedroid dev team
+    Copyright (c) 2003 Pete Spicer
+    Copyright (c) 2006 Arvid Picciani
+    Copyright (c) 2007-2010 Stefan Huszics
+    Copyright (c) 2007 Karol Swietlicki
+    Copyright (c) 1989-2010 Free Software Foundation, Inc.
+    Copyright (c) 2004-2011 Arthur Huillet
+    Copyright (c) 2008-2011 Samuel Degrande
+    Copyright (c) 2011 Miles McCammon
+    Copyright (c) 2006 Angelo "Encelo" Theodorou
+    Copyright (c) 2004 Scott James Remnant <scott at netsplit.co>
+    Copyright (c) 2010 Maleesh Prasan
+    Copyright (c) 2010 Alexander Solovets
+    Copyright (c) 2010 Ari Mustonen
+    Copyright (c) 2010-2011 Samuel Pitoiset
+    Copyright (c) 2011 Catalin Badea
+    Copyright (C) 2006  Pekka Enberg
+    Copyright (c) 2010 Stefan Kangas
+    Copyright (c) 2001 H. Peter Anvin
+
+License:
+
+    | This file is part of Freedroid
+    | 
+    | Freedroid 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.
+    | 
+    | Freedroid 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 Freedroid; see the file COPYING. 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'.
+
+The Debian packaging is
+Copyright (C) 2005, Daniel Milstein <djmilstein at gmail.com>
+Copyright (C) 2006-2012, Bart Martens <bartm at knars.be>
+and is licensed under the GPL, see above.
+
+Part of the file src/text_public.c has this copyright and license:
+
+    | Copyright (C) 1997-2001 Id Software, Inc., under GPL
+    | 
+    | FS_filelength().. (taken from quake2)
+
+Part of the file src/colldet.c has this copyright and license:
+
+    | This function is Copyright (c) 1999 ID Software,
+    | from Quake3 source code, released under GPL
+    | static inline float Q_rsqrt( float number )
+
+The file win32/pngtoico.c has this copyright and license:
+
+    | Copyright 2001 H. Peter Anvin - All Rights Reserved
+    | 
+    | 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, Inc., 51 Franklin St, Fifth Floor,
+    | Bostom MA 02110-1301, USA; either version 2 of the License, or
+    | (at your option) any later version; incorporated herein by reference.
+
+The file src/keyboard.c has this copyright and license:
+
+    | Copyright 2006, 2007, 2008 Edgar Simo Serra
+    | Copyright 2008 Arthur Huillet
+    | 
+    | This program is free software; you can redistribute it and/or modify
+    | it under the terms of the GNU General Public License version 3 as
+    | published by the Free Software Foundation.
+    | 
+    | 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, see <http://www.gnu.org/licenses/>.
+
+On Debian systems, the complete text of the GNU General Public License
+version 3 can be found in `/usr/share/common-licenses/GPL-3'.
+
+The files lua/* have this copyright and license:
+
+    | Lua License
+    | -----------
+    | 
+    | Lua is licensed under the terms of the MIT license reproduced below.
+    | This means that Lua is free software and can be used for both academic
+    | and commercial purposes at absolutely no cost.
+    | 
+    | For details and rationale, see http://www.lua.org/license.html .
+    | 
+    | Copyright (C) 1994-2008 Lua.org, PUC-Rio.
+    | 
+    | Permission is hereby granted, free of charge, to any person obtaining a copy
+    | of this software and associated documentation files (the "Software"), to deal
+    | in the Software without restriction, including without limitation the rights
+    | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+    | copies of the Software, and to permit persons to whom the Software is
+    | furnished to do so, subject to the following conditions:
+    | 
+    | The above copyright notice and this permission notice shall be included in
+    | all copies or substantial portions of the Software.
+    | 
+    | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+    | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+    | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
+    | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+    | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+    | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+    | THE SOFTWARE.
+
+The files
+  src/lists.c
+  src/lists.h
+have this copyright and license:
+
+    | Linux kernel linked lists,
+    | modified for userspace by
+    | - kazutomo at mcs.anl.gov
+    | 
+    | This is obviously GPL licensed.
+
+The file src/BFont.c contains this:
+    | BFONT.c v. 1.0.3 - Billi Font Library by Diego Billi
+    | Heavily modified for FreedroidRPG needs over years
+and the file src/BFont.h contains this:
+    | BFONT.h v. 1.0.3 - Billi Font Library by Diego Billi
+On 2009-04-26 Diego Billi wrote that the original files have
+this copyright and license:
+
+    | Copyright (c) 2003-2004 Diego Billi
+    | License: GPL version 2 or later
+
+The file m4/lua.m4 has this copyright and license :
+
+    | Copyright 2011 Arthur Huillet
+    | Copyright 2011 Google Inc.
+    | All rights reserved.
+    |
+    | Redistribution and use in source and binary forms, with or without
+    | modification, are permitted provided that the following conditions are
+    | met:
+    |
+    | * Redistributions of source code must retain the above copyright
+    |   notice, this list of conditions and the following disclaimer.
+    | * Redistributions in binary form must reproduce the above copyright
+    |   notice, this list of conditions and the following disclaimer in the
+    |   documentation and/or other materials provided with the distribution.
+    | * Neither the name of Google Inc. nor the names of its contributors
+    |   may be used to endorse or promote products derived from this software
+    |   without specific prior written permission.
+    |
+    | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+    | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+    | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+    | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+    | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+    | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+    | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+    | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+    | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+    | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+    | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+The file src/keyboard.c has this copyright and license :
+
+    | Copyright 2006, 2007, 2008 Edgar Simo Serra
+    | Copyright 2008 Arthur Huillet
+    |
+    | This program is free software; you can redistribute it and/or modify
+    | it under the terms of the GNU General Public License version 3 as
+    | published by the Free Software Foundation.
+    |
+    | 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, see <http://www.gnu.org/licenses/>.
+
+The file src/gen_savestruct.py has this copyright and license :
+
+    | Copyright (c) 2008 Pierre "delroth" Bourdon <root at delroth.is-a-geek.org>
+    | Copyright (c) 2009 Arthur Huillet
+    | Copyright (c) 2011 Samuel Degrande
+    |
+    | 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 3 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, see <http://www.gnu.org/licenses/>.
+
+The text "Copyright by MegaSys" is not a real copyright notice.  It is just
+part of the game text.
+
diff --git a/debian/freedroidrpg-data.install b/debian/freedroidrpg-data.install
new file mode 100644
index 0000000..dd222db
--- /dev/null
+++ b/debian/freedroidrpg-data.install
@@ -0,0 +1 @@
+usr/share
diff --git a/debian/freedroidrpg.desktop b/debian/freedroidrpg.desktop
new file mode 100644
index 0000000..6361a67
--- /dev/null
+++ b/debian/freedroidrpg.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Encoding=UTF-8
+Name=Freedroid RPG
+Comment=Isometric role playing game
+TryExec=/usr/games/freedroidRPG
+Exec=/usr/games/freedroidRPG
+Categories=Game;RolePlaying;
+Icon=/usr/share/pixmaps/freedroidrpg.xpm
+
diff --git a/debian/freedroidrpg.docs b/debian/freedroidrpg.docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/freedroidrpg.docs
@@ -0,0 +1 @@
+README
diff --git a/debian/freedroidrpg.install b/debian/freedroidrpg.install
new file mode 100644
index 0000000..487c578
--- /dev/null
+++ b/debian/freedroidrpg.install
@@ -0,0 +1,3 @@
+usr/games/freedroidRPG
+../freedroidrpg.xpm usr/share/pixmaps
+../freedroidrpg.desktop usr/share/applications
diff --git a/debian/freedroidrpg.menu b/debian/freedroidrpg.menu
new file mode 100644
index 0000000..d671812
--- /dev/null
+++ b/debian/freedroidrpg.menu
@@ -0,0 +1,3 @@
+?package(freedroidrpg):needs="X11" section="Games/Adventure"\
+  longtitle="Isometric role playing game"\
+  title="Freedroid RPG" command="/usr/games/freedroidRPG" icon="/usr/share/pixmaps/freedroidrpg.xpm"
diff --git a/debian/freedroidrpg.xpm b/debian/freedroidrpg.xpm
new file mode 100644
index 0000000..c767781
--- /dev/null
+++ b/debian/freedroidrpg.xpm
@@ -0,0 +1,70 @@
+/* XPM */
+static char * freedroidrpg_xpm[] = {
+"32 32 35 1",
+" 	c None",
+".	c #FFFF9F",
+"+	c #FFE3D3",
+"@	c #FFFFFF",
+"#	c #CB7F4F",
+"$	c #D3D3D3",
+"%	c #FFFF7F",
+"&	c #F7DF67",
+"*	c #9B9B9B",
+"=	c #5F4323",
+"-	c #3F3F3F",
+";	c #676767",
+">	c #ABABAB",
+",	c #4B3B1B",
+"'	c #2B230F",
+")	c #FFB383",
+"!	c #573F1F",
+"~	c #43331B",
+"{	c #000000",
+"]	c #3B2F17",
+"^	c #E3C333",
+"/	c #AB6B17",
+"(	c #C79323",
+"_	c #232323",
+":	c #4B4B4B",
+"<	c #575757",
+"[	c #2F2F2F",
+"}	c #DF8B57",
+"|	c #93430F",
+"1	c #3B3B3B",
+"2	c #8F8F8F",
+"3	c #B7B7B7",
+"4	c #DBDBFF",
+"5	c #F3DBFF",
+"6	c #C3C3C3",
+"                                ",
+"             .+@@+              ",
+"            .++@@@@             ",
+"           #..+@@@@$            ",
+"           #%&.+@@+*            ",
+"           =-;;>++.&            ",
+"           =,==';&)             ",
+"            '===!~'             ",
+"           {~#;='{{             ",
+"         {{]!##!{'^&            ",
+"         {'!===,=&./            ",
+"        {{,!==/(%+*{'           ",
+"        {',~]=/(&&#__{          ",
+"       {{',{{:<</^({_{          ",
+"       {{'~{[:<;=(/{{'=         ",
+"       {{'][:<<<=(/'{!}|]       ",
+"       {{],-::<:/(/'{|#/|       ",
+"       {{]~1-:<[=//~{///=       ",
+"       {{''1-:-{=(/~'//;=       ",
+"        {  _1-_{~/|'{|/|<       ",
+"        {{-___{{{''{{|/|<       ",
+"        {{[1_{{{{{{{'|/|=       ",
+"        {{{--_{{{{{{{|/;=       ",
+"        [[_---[{{{{{{=||        ",
+"       1<;----  _{{_1!/!        ",
+"      <<2*----  1--11'          ",
+"      :;2*<<<: 1---1-           ",
+"        >*<:<2>;:---1           ",
+"        3   34 at 562;<            ",
+"        6  :*$45@@53            ",
+"        3    2$444$             ",
+"                :--             "};
diff --git a/debian/patches/07_framerate.diff b/debian/patches/07_framerate.diff
new file mode 100644
index 0000000..0874719
--- /dev/null
+++ b/debian/patches/07_framerate.diff
@@ -0,0 +1,11 @@
+--- ./src/init.c.orig	2012-03-16 13:42:18.000000000 +0000
++++ ./src/init.c	2012-05-05 11:39:04.000000000 +0000
+@@ -1296,7 +1296,7 @@
+ 	GameConfig.Current_Sound_FX_Volume = 0.5;
+ 	GameConfig.current_gamma_correction = 1.00;
+ 	GameConfig.WantedTextVisibleTime = 3;
+-	GameConfig.Draw_Framerate = TRUE;
++	GameConfig.Draw_Framerate = FALSE;
+ 	GameConfig.Draw_Position = TRUE;
+ 	GameConfig.All_Texts_Switch = FALSE;
+ 	GameConfig.enemy_energy_bars_visible = TRUE;
diff --git a/debian/patches/17_debianize.diff b/debian/patches/17_debianize.diff
new file mode 100644
index 0000000..b0000d2
--- /dev/null
+++ b/debian/patches/17_debianize.diff
@@ -0,0 +1,39 @@
+--- ./src/init.c.orig	2012-05-05 11:40:01.000000000 +0000
++++ ./src/init.c	2012-05-05 12:02:42.000000000 +0000
+@@ -1011,10 +1011,8 @@
+ 	next_startup_percentage(1);
+ }
+ 
+-char copyright[] = "\nFreedroidRPG comes with NO WARRANTY to the extent permitted by law.\n\
+-You may redistribute copies of FreedroidRPG\n\
+-under the terms of the GNU General Public License.\n\
+-For more information about these matters, see the file named COPYING.\n";
++char copyright[] = "\nSee /usr/share/doc/freedroidrpg/copyright\n\
++for details about copyright and distribution license.\n";
+ 
+ char usage_string[] = "\
+ Usage: freedroidRPG [-h | --help] \n\
+--- ./map/titles/Credits.title.orig	2012-03-17 16:31:36.000000000 +0000
++++ ./map/titles/Credits.title	2012-05-05 12:12:28.000000000 +0000
+@@ -38,6 +38,10 @@
+         Arthur Huillet
+         Miles McCammon
+ 
++DEBIAN PACKAGING:
++
++        Bart Martens
++
+ 
+ 
+                           ALSO, IN PREVIOUS VERSIONS
+@@ -90,6 +94,10 @@
+             by stud
+ 
+ 
++DEBIAN PACKAGING:
++
++        Daniel Milstein (2005)
++
+ 
+ MISC:
+ 
diff --git a/debian/patches/20_enter_keys.diff b/debian/patches/20_enter_keys.diff
new file mode 100644
index 0000000..72d44c6
--- /dev/null
+++ b/debian/patches/20_enter_keys.diff
@@ -0,0 +1,35 @@
+Index: freedroidrpg-0.15.1/src/input.c
+===================================================================
+--- freedroidrpg-0.15.1.orig/src/input.c	2012-05-05 12:49:57.000000000 +0000
++++ freedroidrpg-0.15.1/src/input.c	2012-05-05 12:50:28.000000000 +0000
+@@ -192,7 +192,7 @@
+ int EnterPressed()
+ {
+ 	SDL_PumpEvents();
+-	return ((key_state_array[SDLK_RETURN]));
++	return ((key_state_array[SDLK_RETURN] || key_state_array[SDLK_KP_ENTER]));
+ }
+ 
+ int EscapePressed()
+Index: freedroidrpg-0.15.1/src/text.c
+===================================================================
+--- freedroidrpg-0.15.1.orig/src/text.c	2012-05-05 12:49:57.000000000 +0000
++++ freedroidrpg-0.15.1/src/text.c	2012-05-05 12:50:28.000000000 +0000
+@@ -179,7 +179,7 @@
+ 			Terminate(EXIT_SUCCESS, TRUE);
+ 			break;
+ 		case SDL_KEYDOWN:
+-			if (e.key.keysym.sym == SDLK_SPACE || e.key.keysym.sym == SDLK_RETURN || e.key.keysym.sym == SDLK_ESCAPE)
++			if (e.key.keysym.sym == SDLK_SPACE || e.key.keysym.sym == SDLK_RETURN || e.key.keysym.sym == SDLK_KP_ENTER || e.key.keysym.sym == SDLK_ESCAPE)
+ 				goto wait_click_and_out;
+ 			break;
+ 		case SDL_MOUSEBUTTONDOWN:
+@@ -608,7 +608,7 @@
+ 
+ 		key = getchar_raw(NULL);
+ 
+-		if (key == SDLK_RETURN) {
++		if (key == SDLK_RETURN || key == SDLK_KP_ENTER) {
+ 			// Display the image again so both buffers are in sync
+ 			// useful for GL drivers that do true pageflipping (win32, nvidia 173.x, ...)
+ 			if (use_open_gl) {
diff --git a/debian/patches/27_debug.diff b/debian/patches/27_debug.diff
new file mode 100644
index 0000000..f84accb
--- /dev/null
+++ b/debian/patches/27_debug.diff
@@ -0,0 +1,150 @@
+Index: freedroidrpg-0.15.1/src/init.c
+===================================================================
+--- freedroidrpg-0.15.1.orig/src/init.c	2012-05-05 12:51:11.000000000 +0000
++++ freedroidrpg-0.15.1/src/init.c	2012-05-05 12:51:15.000000000 +0000
+@@ -1025,6 +1025,9 @@
+                     [-l character-name | --load=character-name] \n\
+                     [-r Y | --resolution=Y]  Y = 99 lists hardcoded resolutions. \n\
+                           Y may also be of the form 'WxH' e.g. '800x600'\n\
++";
++
++char report_bugs_string[] = "\
+ \n\
+ Please report bugs either by entering them into the bug tracker\n\
+ on our website at:\n\n\
+@@ -1090,6 +1093,7 @@
+ 		case 'h':
+ 		case '?':
+ 			printf("%s",usage_string);
++			DebugPrintf( 1, report_bugs_string );
+ 			exit(0);
+ 			break;
+ 
+@@ -1150,6 +1154,13 @@
+ 					if (resolution_code >= 0 && resolution_code < nb_res) {
+ 						GameConfig.screen_width = hard_resolutions[resolution_code].xres;
+ 						GameConfig.screen_height = hard_resolutions[resolution_code].yres;
++					} else if( resolution_code == 99 ) {
++						printf( "Available resolution codes:\n" );
++						int i;
++						for (i = 0; i < nb_res; ++i) {
++							printf( "\t%d = %s\n", i, hard_resolutions[i].comment);
++						}
++						exit( 0 );
+ 					} else {
+ 						fprintf(stderr, "\nresolution code received: %d\n", resolution_code);
+ 						char *txt = (char *)malloc((nb_res * 128 + 1) * sizeof(char));
+@@ -1485,7 +1496,7 @@
+ 	// We mention the version of FreedroidRPG, so that debug reports
+ 	// are easier to assign to the different versions of the game.
+ 	//
+-	DebugPrintf(-4, "\nHello, this is FreedroidRPG, version %s.", VERSION);
++	DebugPrintf(1, "\nHello, this is FreedroidRPG, version %s.", VERSION);
+ 
+ 	set_signal_handlers();
+ 
+Index: freedroidrpg-0.15.1/src/misc.c
+===================================================================
+--- freedroidrpg-0.15.1.orig/src/misc.c	2012-05-05 12:49:37.000000000 +0000
++++ freedroidrpg-0.15.1/src/misc.c	2012-05-05 12:51:15.000000000 +0000
+@@ -1201,15 +1201,15 @@
+  */
+ void Terminate(int exit_code, int save_config)
+ {
+-	printf("\n---------------------------------------------------------------------------------");
+-	printf("\nTermination of freedroidRPG initiated... ");
++	DebugPrintf( 1, "\n---------------------------------------------------------------------------------");
++	DebugPrintf( 1, "\nTermination of freedroidRPG initiated... ");
+ 
+ 	// We save the config file in any case.
+ 
+ 	if (save_config)
+ 		SaveGameConfig();
+ 
+-	printf("Thank you for playing freedroidRPG.\n\n");
++	DebugPrintf( 1, "Thank you for playing freedroidRPG.\n\n");
+ 	SDL_Quit();
+ 
+ 	// Finally, especially on win32 systems, we should open an editor with
+Index: freedroidrpg-0.15.1/src/graphics.c
+===================================================================
+--- freedroidrpg-0.15.1.orig/src/graphics.c	2012-05-05 12:49:37.000000000 +0000
++++ freedroidrpg-0.15.1/src/graphics.c	2012-05-05 12:51:15.000000000 +0000
+@@ -608,16 +608,16 @@
+ 	// Since we want to use openGl, it might be good to check the OpenGL vendor string
+ 	// provided by the graphics driver.  Let's see...
+ 	//
+-	fprintf(stderr, "\n-OpenGL--------------------------------------------------------------------------");
+-	fprintf(stderr, "\nVendor     : %s", glGetString(GL_VENDOR));
++	DebugPrintf(1, stderr, "\n-OpenGL--------------------------------------------------------------------------");
++	DebugPrintf(1, stderr, "\nVendor     : %s", glGetString(GL_VENDOR));
+ 	open_gl_check_error_status(__FUNCTION__);
+-	fprintf(stderr, "\nRenderer   : %s", glGetString(GL_RENDERER));
++	DebugPrintf(1, stderr, "\nRenderer   : %s", glGetString(GL_RENDERER));
+ 	open_gl_check_error_status(__FUNCTION__);
+-	fprintf(stderr, "\nVersion    : %s", glGetString(GL_VERSION));
++	DebugPrintf(1, stderr, "\nVersion    : %s", glGetString(GL_VERSION));
+ 	open_gl_check_error_status(__FUNCTION__);
+-	fprintf(stderr, "\nExtensions : %s", glGetString(GL_EXTENSIONS));
++	DebugPrintf(1, stderr, "\nExtensions : %s", glGetString(GL_EXTENSIONS));
+ 	open_gl_check_error_status(__FUNCTION__);
+-	fprintf(stderr, "\n\n");
++	DebugPrintf(1, stderr, "\n\n");
+ #endif
+ };				// void safely_show_open_gl_driver_info ( void )
+ 
+@@ -712,11 +712,11 @@
+ 		GameConfig.next_time_height_of_screen = GameConfig.screen_height;
+ 		break;
+ 	default:
+-		DebugPrintf(-4, "\nTesting if color depth %d bits is available... ", vid_bpp);
++		DebugPrintf(1, "\nTesting if color depth %d bits is available... ", vid_bpp);
+ 		if (video_mode_ok_check_result == vid_bpp) {
+-			DebugPrintf(-4, "YES.");
++			DebugPrintf(1, "YES.");
+ 		} else {
+-			DebugPrintf(-4, "NO! \nThe closest we will get is %d bits per pixel.", video_mode_ok_check_result);
++			DebugPrintf(1, "NO! \nThe closest we will get is %d bits per pixel.", video_mode_ok_check_result);
+ 			/*
+ 			   ErrorMessage ( __FUNCTION__  , "\
+ 			   SDL reported, that the video mode mentioned \nabove is not supported UNDER THE COLOR DEPTH MENTIONED ABOVE!\n\
+@@ -743,7 +743,7 @@
+ 		SDL_GL_GetAttribute(SDL_GL_BLUE_SIZE, &blue_size);
+ 		SDL_GL_GetAttribute(SDL_GL_ALPHA_SIZE, &alpha_size);
+ 		SDL_GL_GetAttribute(SDL_GL_DEPTH_SIZE, &depth_size);
+-		fprintf(stderr, "\n\nvideo mode set (bpp=%d RGBA=%d%d%d%d depth=%d)",
++		DebugPrintf(1, "\n\nvideo mode set (bpp=%d RGBA=%d%d%d%d depth=%d)",
+ 			buffer_size, red_size, green_size, blue_size, alpha_size, depth_size);
+ 	}
+ 
+@@ -791,7 +791,7 @@
+ 	// NOTE:  This has got NOTHING to do with OpenGL and OpenGL venour or the like yet...
+ 	//
+ 	if (SDL_VideoDriverName(vid_driver, 80)) {
+-		DebugPrintf(-4, "\nVideo system type: %s.", vid_driver);
++		DebugPrintf(1, "\nVideo system type: %s.", vid_driver);
+ 	} else {
+ 		fprintf(stderr, "Video driver seems not to exist or initialization failure!\nError code: %s\n", SDL_GetError());
+ 		Terminate(EXIT_FAILURE, FALSE);
+@@ -805,7 +805,7 @@
+ 
+ 	// We note the screen resolution used.
+ 	//
+-	DebugPrintf(-4, "\nUsing screen resolution %d x %d.\n", GameConfig.screen_width, GameConfig.screen_height);
++	DebugPrintf(1, "\nUsing screen resolution %d x %d.\n", GameConfig.screen_width, GameConfig.screen_height);
+ 
+ 	// We query the available video configuration on this system.
+ 	//
+Index: freedroidrpg-0.15.1/src/main.c
+===================================================================
+--- freedroidrpg-0.15.1.orig/src/main.c	2012-05-05 12:49:37.000000000 +0000
++++ freedroidrpg-0.15.1/src/main.c	2012-05-05 12:51:15.000000000 +0000
+@@ -430,7 +430,7 @@
+ 				if (!strcmp(curShip.AllLevels[i]->Levelname, "Town"))
+ 					continue;
+ 
+-				DebugPrintf(-10, "\nNow respawning all bots on level : %d. ", i);
++				DebugPrintf(1, "\nNow respawning all bots on level : %d. ", i);
+ 				Me.time_since_last_visit_or_respawn[i] = 0;
+ 
+ 				respawn_level(i);
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..253def1
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,4 @@
+07_framerate.diff
+17_debianize.diff
+20_enter_keys.diff
+27_debug.diff
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..fde1a9a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+
+%:
+	dh $@  --with autotools-dev
+
+override_dh_auto_configure:
+	dh_auto_configure -- --bindir=/usr/games --datadir=/usr/share/games
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..ccd462f
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts="uversionmangle=s/(\d)[\-_]?(rc\d+|pre-rc\d+|pre\d+a?)$/$1~$2/;s/[\-\.](source|Source|src|orig|unix)$//;s/-(bin|osx)$/~$1/;s/^v(\d)/$1/;" \
+http://sf.net/freedroid/freedroid(?i:RPG)[\-_](v?[\d\.]+(?:rc|rc\d+|pre-rc\d+|-unix|-source|-Source|-src|\.src|\.orig|[a-z]|b\d+|beta\d+-src|beta\d+)?)\.(?:tar\.gz|tgz|tar\.bz2|zip|pm\.gz|jar|shar\.gz|shar\.Z)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/freedroidrpg.git



More information about the Pkg-games-commits mailing list