debian/0000755000000000000000000000000011657704604007200 5ustar debian/kobodeluxe.desktop0000644000000000000000000000061511657703107012733 0ustar [Desktop Entry] Type=Application Name=Kobo Deluxe Name[bg]=Кобо делукс Comment=Destroy enemy bases in space Comment[nl]=Schiet vijandelijke bases in de ruimte kapot Comment[fr]=Détruire des bases ennemies dans l'espace Comment[bg]=Унищожете вражеските бази в космоса Exec=kobodl Icon=kobo-icon StartupNotify=true Terminal=false Categories=Game;ArcadeGame debian/kobodeluxe.dirs0000644000000000000000000000002211657703107012213 0ustar usr/share/pixmaps debian/watch0000644000000000000000000000012411657703107010223 0ustar version=2 http://olofson.net/kobodl/download.html .*/KoboDeluxe-([0-9pre.]*).tar.gz debian/copyright0000644000000000000000000002405511657703107011136 0ustar This is the Debian Linux prepackaged version of Kobo Deluxe, a game of space battle. This package was put together by Joey Hess , with sources obtained from: http://olofson.net/kobodl/ As of June 2008 it is maintained by Debian Games Team Licensing summary: GNU General Public License, version 2 or later GNU Lesser General Public License, version 2.1 or later . There are also files with uncertain licensing, see below for detailed list. Upstream confirmed that they are either GPL-2+ or LGPL-2.1+ in http://www.freelists.org/archives/olofsonprojects/06-2008/msg00000.html . On Debian systems the complete text of the GPL is in /usr/share/common-licenses/GPL and LGPL is in /usr/share/common-licenses/LGPL Copyright summary: Copyright (C) 1995,1996 Akira Higuchi a-higuti@math.hokudai.ac.jp Copyright (C) 1999-2007, David Olofson david@olofson.net Copyright (C) 2005 Erik Auerswald Copyright (C) 2002 Jeremy Sheeley Copyright (C) 1999, 2000, 2001 Simon Peter, Copyright (C) 2002, Florian Schulze Copyright (C) 19??, Masanao Izumo . There are also files with uncertain copyright, see below for detailed list. ************************************** Copyright/license details Copyright of files licensed under 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 St, Fifth Floor, Boston, MA 02110-1301, USA. ============================================ scenes.cpp: Copyright (C) 1995,1996 Akira Higuchi a-higuti@math.hokudai.ac.jp version.h: Copyright (C) 1995, 1996, Akira Higuchi Copyright (C) 2001, David Olofson config.h: Copyright (C) 1995, 1996, Akira Higuchi Copyright (C) 2001-2003, David Olofson kobo.h, radar.cpp, radar.h, screen.cpp: Copyright (C) 1995, 1996 Akira Higuchi Copyright (C) 2001-2003, 2005, 2007 David Olofson kobo.cpp: Copyright (C) 1995, 1996 Akira Higuchi Copyright (C) 2001-2003, 2005-2007 David Olofson Copyright (C) 2005 Erik Auerswald gamectl.h: Copyright (C) 1995, 1996, Akira Higuchi Copyright (C) 2001, 2002, 2006, David Olofson gamectl.cpp: Copyright (C) 1995, 1996, Akira Higuchi Copyright (C) 2001 - 2003, 2006, David Olofson enemies.cpp, enemies.h, enemy.cpp, myship.cpp, myship.h, screen.h: Copyright (C) 1995, 1996 Akira Higuchi Copyright (C) 2001-2003, 2007 David Olofson manage.cpp, manage.h, score.cpp, score.h: Copyright (C) 1995, 1996 Akira Higuchi Copyright (C) 2002 Jeremy Sheeley Copyright (C) 2001-2003, 2007 David Olofson random.cpp: Copyright (C) 1995, 1996, Akira Higuchi Copyright (C) 2002, David Olofson map.cpp, map.h, random.h: Copyright (C) 1995, 1996 Akira Higuchi Copyright (C) 2002, 2007 David Olofson scenes.h: Copyright (C) 1995,1996 Akira Higuchi a-higuti@math.hokudai.ac.jp Copyright (C) 2006, 2007 David Olofson cfgform.cpp: Copyright (C) 2001-2003, 2006-2007 David Olofson states.cpp: Copyright (C) 2001-2003 David Olofson Copyright (C) 2002 Jeremy Sheeley Copyright (C) 2005-2007 David Olofson states.h: Copyright (C) 2001-2003 David Olofson Copyright (C) 2002 Jeremy Sheeley Copyright (C) 2007 David Olofson prefs.cpp, prefs.h: Copyright (C) 2001-2003, 2007 David Olofson Copyright (C) 2005 Erik Auerswald options.h: Copyright (C) 2001, 2003, 2007 David Olofson options.cpp: Copyright (C) 2001-2003, 2006-2007 David Olofson Copyright (C) 2005 Erik Auerswald form.cpp: Copyright (C) 2001, 2002, 2007 David Olofson Copyright (C) 2005 Erik Auerswald cfgform.h: Copyright (C) 2001, 2003, David Olofson form.h: Copyright (C) 2001, 2007 David Olofson Copyright (C) 2005 Erik Auerswald game.cpp, game.h: Copyright (C) 2002, 2007 David Olofson kobolog.h: Copyright (C) 2003, David Olofson dashboard.h, dashboard.cpp: Copyright (C) 2003, 2007 David Olofson sound.cpp, sound.h: Copyright (C) 2007 David Olofson Copyright of files licensed under LGPL: This code is released under the terms of the GNU LGPL . It is assumed the author means LGPL-2.1 as this is what they distribute in COPYING.LIB ==================================================== sound/audiodev.h: Copyright (C) David Olofson, 1999-2001 sound/audiodev.c: Copyright (C) David Olofson, 1999, 2001 graphics/glSDL.c, graphics/glSDL.h: Copyright (C) 2001-2004, 2006-2007 David Olofson cfgparse.cpp, cfgparse.h: Copyright (C) 2001, 2007 David Olofson filemap.cpp, graphics/display.cpp: Copyright (C) David Olofson, 2001, 2003, 2007 filemap.h, graphics/display.h: © David Olofson, 2001 Copyright of files licensed under LGPL-2.1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. ====================================================== sound/a_midifile.c, sound/a_midifile.h: Copyright (C) 1999, 2000, 2001 Simon Peter, , et al. stripped down, translated into C, and adapted for the Audio Engine by David Olofson, 2002 eel/symtab.h: Copyright (C) 2000, 2002, David Olofson eel/symtab.c: Copyright (C) 2000-2003, 2007 David Olofson graphics/toolkit.cpp, graphics/toolkit.h, sound/a_channel.c, sound/a_delay.c, sound/a_delay.h, sound/a_midi.h, sound/a_midisock.c, sound/a_midisock.h: Copyright (C) 2001 David Olofson sound/a_bus.c, sound/a_bus.h, sound/a_channel.h, sound/a_control.c, sound/a_control.h, sound/a_filters.c, sound/a_filters.h, sound/a_globals.c, sound/a_globals.h, sound/a_limiter.c, sound/a_limiter.h, sound/a_math.h, sound/a_midicon.c, sound/a_midicon.h, sound/a_patch.h, sound/a_pitch.c, sound/a_pitch.h, sound/a_struct.c, sound/a_struct.h, sound/a_types.h, sound/a_voice.h: Copyright (C) 2001, 2002, David Olofson gamestate.cpp, gamestate.h, sound/a_patch.c, sound/a_tools.h, sound/a_voice.c: Copyright (C) 2001-2003, David Olofson sound/a_mixers.h: Copyright (C) 2001, 2002, 2007 David Olofson sound/a_midi.c: Copyright (C) 2001, 2003, David Olofson graphics/gfxengine.cpp, graphics/window.cpp: Copyright (C) 2001-2003, 2006-2007 David Olofson graphics/gfxengine.h, graphics/window.h, sound/a_commands.c, sound/a_commands.h, sound/a_wave.c, sound/a_wave.h: Copyright (C) 2001-2003, 2007 David Olofson graphics/filters.h: Copyright (C) David Olofson, 2001, 2003 graphics/filters.c: Copyright (C) 2001, 2003, 2006, 2007 David Olofson graphics/cs.c, graphics/cs.h, graphics/sprite.c, graphics/sprite.h: Copyright (C) 2001, 2003, 2007 David Olofson pfile.h, eel/_e_script.h, eel/e_lexer.c, eel/e_lexer.h, eel/e_path.c, eel/e_register.c, eel/e_register.h, eel/e_script.h, eel/e_util.h, eel/eel.h, sound/a_events.c, sound/a_events.h, sound/a_plugin.c, sound/a_plugin.h, sound/a_sequencer.c, sound/a_sequencer.h, sound/a_wca.c, sound/a_wca_h, sound/a_wcaosc.hi, sound/ptable.h: Copyright (C) 2002, David Olofson eel/e_script.c: Copyright (C) 2002, David Olofson Copyright (C) 2002, Florian Schulze pfile.cpp, eel/e_builtin.c, eel/e_getargs.c, eel/e_util.c, sound/a_agw.c, sound/a_agw.h: Copyright (C) 2002, 2003, David Olofson eel/eel.c: Copyright (C) 2002, 2007 David Olofson logger.c, logger.h: Copyright (C) 2003, David Olofson graphics/region.c, graphics/region.h, graphics/vidmodes.c, graphics/vidmodes.h: Copyright (C) 2007 David Olofson Copyright of files licensed under LGPL-2+ ========================================= graphics/sofont.h Originally from C Library: Karl Bartel Copied into a C++ object to allow multiple fonts by: Luc-Olivier de Charriere Further changes: David Olofson No explicit license. Assumed to be LGPL-2.1+ ============================================ sound/sfifo.*: (c) 2000-2002, David Olofson No copyright/license note at all. Assumed to be by David Olofson and licensed under LGPL-2.1+ ================================================== graphics/sofont.cpp Uncertain - either LGPL-2.1+ or 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.1 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 St, Fifth Floor, Boston, MA 02110-1301, USA. ==================================================== sound/audio.c, sound/audio.h: Copyright (C) 19??, Masanao Izumo Copyright (C) 2001-2003, 2007 David Olofson Files under gfx/* and sfx/* miss copyright/licensing, but upstream said in http://www.freelists.org/archives/olofsonprojects/06-2008/msg00004.html | Anyway, as of 0.5.1, the author of all sounds and graphics is yours | truly, and the license is intended to be the same as for the game | (non-engine code); that is GNU GPL v2. This means Copyright (c) David Olofson, 2007 and GPL-2+ debian/postrm0000644000000000000000000000012711657703107010444 0ustar #!/bin/sh -e #DEBHELPER# if [ "$1" = purge ]; then rm -rf /var/games/kobo-deluxe fi debian/docs0000644000000000000000000000001511657703107010044 0ustar README* TODO debian/source/0000755000000000000000000000000011657704104010473 5ustar debian/source/format0000644000000000000000000000001411657704104011701 0ustar 3.0 (quilt) debian/kobodeluxe.install0000644000000000000000000000016511657703107012730 0ustar usr/games var usr/share/man debian/kobodeluxe.desktop usr/share/applications debian/kobo-icon.xpm usr/share/pixmaps/ debian/changelog0000644000000000000000000002273011657704311011051 0ustar kobodeluxe (0.5.1-6) unstable; urgency=low * Switch to automake (Closes: #648583) * Change to debhelper compat 9, thus enabling hardened build flags * Switch to source format 3 and remove quilt from build-deps and drop README.source * Bump standards version to 3.9.2, no changed needed * Remove historic postinst -- Moritz Muehlenhoff Sun, 13 Nov 2011 09:58:32 +0100 kobodeluxe (0.5.1-5) unstable; urgency=low * add patch by Iain Lane to fix compilation error with GCC-4.4 Closes: #552548; thanks to Ilya Barygin * clean build-dependencies from versions satisfied by Etch * rules: move the list of files to clean in debian/clean + trim further by using debhelper overrides * Standards-Version: 3.8.3 (no changes) -- Damyan Ivanov Sat, 31 Oct 2009 15:32:31 +0200 kobodeluxe (0.5.1-4) unstable; urgency=low * add 04_enemies-pipe-decl.patch renames pipe2 symbol to pipe2_kbdl to avoid clash with pipe2 from unistd.h Closes: #527705 -- FTBFS * add description to 03_manpage-minus-not-hyphen.patch * control: remove "a " in front of the short description * control: fill -data long description * Standards-Version: 3.8.1 (no changes needed) -- Damyan Ivanov Sat, 09 May 2009 10:05:22 +0300 kobodeluxe (0.5.1-3) unstable; urgency=low * Adopt for Debian Games Team. Thanks, Joey for all your work! Closes: #487478 -- ITA * Remove conflicts/provides/replaces: xkobo, which is not even in oldstable * trim debian/rles a bit using debhelper 7 * rewrite debian/copyright listing all copyright holders/licenses + add clarifications to licensing/copyright from upstream * Move changes to upstream sources into separate patches + integrate quilt * Split graphics and sounds into arch-indep kobodeluxe-data * add 03_manpage-minus-not-hyphen.patch, thanks lintian * Package now conforms to Policy 3.8.0 * add .desktop file. Closes: #382954, #459630 -- Damyan Ivanov Wed, 25 Jun 2008 14:44:23 +0300 kobodeluxe (0.5.1-2) unstable; urgency=low * Orphaned the package. -- Joey Hess Sat, 21 Jun 2008 22:07:21 -0400 kobodeluxe (0.5.1-1) unstable; urgency=low * Add homepage field. * Fix FTFBS if built twice in a row. * Add -g to cflags. * Avoid an infinite loop if the high score directory cannot be read, as when running under gdb. -- Joey Hess Mon, 31 Dec 2007 21:34:56 -0500 kobodeluxe (0.5.0-2) unstable; urgency=low * Improve clean rule. -- Joey Hess Sun, 16 Dec 2007 13:51:00 -0500 kobodeluxe (0.5.0-1) unstable; urgency=low * New upstream release. -- Joey Hess Sun, 16 Dec 2007 12:51:10 -0500 kobodeluxe (0.4.1-1) unstable; urgency=low * New upstream release. -- Joey Hess Thu, 15 Nov 2007 19:40:12 -0500 kobodeluxe (0.4pre10-5) unstable; urgency=low * Current policy. * New menu policy. * De-hardcode path to game in menu file. -- Joey Hess Sun, 08 Jul 2007 16:26:47 -0400 kobodeluxe (0.4pre10-4) unstable; urgency=low * Update FSF address in copyright. * Current standards version. -- Joey Hess Sun, 18 Dec 2005 17:16:41 -0500 kobodeluxe (0.4pre10-3) unstable; urgency=low * Disable reading of configs, graphics, and data from the current directory. So it's safe to run kobodeluxe from anywhere w/o worry about an attacker feeding it bad data. Not that I've gotten bad data to crash it (although I can hang it).. just being paranoid this evening. -- Joey Hess Sat, 23 Jul 2005 23:05:43 -0400 kobodeluxe (0.4pre10-2) unstable; urgency=low * Patch to support building with gcc 4.0, add type decl for gamestatemanager_t. Closes: #314693 -- Joey Hess Fri, 17 Jun 2005 19:25:14 -0400 kobodeluxe (0.4pre10-1) unstable; urgency=low * New upstream release. * Fix documentation of cheat mode. Closes: #307723 * Build-depend on automake1.7. * Delete auto-generated files in clean to keep diff down. * Auto config.sub/config.guess updates. -- Joey Hess Wed, 4 May 2005 20:41:11 -0400 kobodeluxe (0.4pre9-5) unstable; urgency=low * Add a name to a struct in scenes.h to make it compile with gcc 4.0. Closes: #284867 -- Joey Hess Thu, 9 Dec 2004 14:38:40 -0500 kobodeluxe (0.4pre9-4) unstable; urgency=low * Make scores directory 770, so users cannot access their score files outside kobo. Closes: #213523 -- Joey Hess Wed, 1 Oct 2003 18:41:50 -0400 kobodeluxe (0.4pre9-3) unstable; urgency=low * Applied maxfps patch from Martijn van Oosterhout . Use -fps 75 (or in config file) to cap the FPS rate, great for laptops. -- Joey Hess Fri, 7 Feb 2003 14:20:33 -0500 kobodeluxe (0.4pre9-2) unstable; urgency=medium * Drop games gid before writing ~/.kobodlrc, to prevent symlink attack that would let it overwrite any file owned by group games. -- Joey Hess Sun, 29 Dec 2002 21:48:01 -0500 kobodeluxe (0.4pre9-1) unstable; urgency=low * New upstream release, should fix va_list stuff. Closes: #164392 * e_getargs.c needs to include toplevel config.h to avoid link problem. -- Joey Hess Thu, 17 Oct 2002 17:10:18 -0400 kobodeluxe (0.4pre8-3) unstable; urgency=low * Turned off some of the debug verbosity. * Update config.sub/.guess for mips. Closes: #164347 -- Joey Hess Fri, 11 Oct 2002 15:23:38 -0400 kobodeluxe (0.4pre8-2) unstable; urgency=low * Modified center_token_fxp() to use an explicit signed char. Closes: #163979 * Remove empty directories in /usr/games. Closes: #163996 -- Joey Hess Wed, 9 Oct 2002 18:50:45 -0400 kobodeluxe (0.4pre8-1) unstable; urgency=low * A new upstream source for kobo, with sound, music, better graphics, and the same gameplay. It's called kobodeluxe. Closes: #114506 * Copied over xkobo's old changelog, etc files and modified for kobodeluxe. * None of my patches to xkobo are necessary. * Copied over and modified man page, since kobodeluxe has none. * Copied over icon file. * Includes its own fonts. Closes: #162293 * Updated copyright file. -- Joey Hess Mon, 30 Sep 2002 23:12:36 -0400 xkobo (1.11-13) unstable; urgency=low * Debhelper v4. -- Joey Hess Thu, 13 Jun 2002 17:40:24 -0400 xkobo (1.11-12) unstable; urgency=low * Moved the man page to section 6, Closes: #117249 * Debhelper v3. -- Joey Hess Sat, 27 Oct 2001 23:52:00 -0400 xkobo (1.11-11) unstable; urgency=low * Now builds under gcc 3.0. Closes: #104859 -- Joey Hess Sat, 14 Jul 2001 23:59:33 -0400 xkobo (1.11-10) unstable; urgency=low * A bug in my build script caused me to upload a xkobo_1.11-9.tar.gz last time; this upload should fix that (I hope). * No longer uses suidmanager. -- Joey Hess Wed, 10 Jan 2001 12:41:30 -0800 xkobo (1.11-9) unstable; urgency=low * Build-depends xutils, Closes: #81794 -- Joey Hess Wed, 10 Jan 2001 10:11:32 -0800 xkobo (1.11-8) unstable; urgency=low * Added a menu icon, Closes: #75816 * The icon is by Robert Cleaver Ancell , and is GPL. -- Joey Hess Fri, 5 Jan 2001 17:47:09 -0800 xkobo (1.11-7) unstable; urgency=low * Use /var/games FHS directory. * Added build dep on rman. * Rman is generating html man pages now, I had to add some hackery to delete it. -- Joey Hess Sun, 5 Nov 2000 23:09:36 -0800 xkobo (1.11-6) unstable; urgency=low * Build deps. -- Joey Hess Sat, 4 Dec 1999 18:30:49 -0800 xkobo (1.11-5) unstable; urgency=low * FHS * Fixed all the ANSI C++ violations the compiler puked up. -- Joey Hess Mon, 6 Sep 1999 18:51:32 -0700 xkobo (1.11-4) unstable; urgency=low * Rebuilt with latest debhelper to change how sgid binary is registered. -- Joey Hess Tue, 27 Oct 1998 22:36:35 -0800 xkobo (1.11-3) frozen unstable; urgency=low * Moved the binary to /usr/games, per latest policy. * Moved man page to section 6 and to /usr/man. -- Joey Hess Wed, 15 Apr 1998 00:16:10 -0700 xkobo (1.11-2) unstable; urgency=low * Updated standards-version and fsf address. -- Joey Hess Mon, 9 Feb 1998 14:36:06 -0800 xkobo (1.11-1) unstable; urgency=low * New upstream release, with pristine source. * Use debhelper. -- Joey Hess Mon, 24 Nov 1997 15:15:06 -0500 xkobo (1.9-5) unstable; urgency=low * libc6. * Routine update of debian/rules: Fixed binary-indep target. -- Joey Hess Mon, 8 Sep 1997 19:28:13 -0400 xkobo (1.9-4) unstable; urgency=low * Remove /var/lib/games/xkobo-scores on purge. (#9990) * Updated menu to menu-1 format. * Moved menu entry out of Apps/Games into Games -- Joey Hess Tue, 20 May 1997 13:35:27 -0400 xkobo (1.9-3) unstable; urgency=low * Added upstream changelog to the pacakge. * Added a menu-file. * Routine update of debian/rules: New email address. -- Joey Hess Tue, 17 Dec 1996 13:27:34 -0500 xkobo (1.9-2) unstable; urgency=low * Updated to new source format. * Now registers itself with install-fvwm2menu. -- Joey Hess Sun, 6 Oct 1996 20:10:12 -0400 1.9-1 * Initial release. debian/compat0000644000000000000000000000000211657703551010376 0ustar 9 debian/patches/0000755000000000000000000000000011657703107010624 5ustar debian/patches/series0000644000000000000000000000022111657703107012034 0ustar 04_enemies-pipe-decl.patch 01_graphics_window-signed-char.patch 02_paths.patch 03_manpage-minus-not-hyphen.patch 05_const_charp_conversion.patch debian/patches/01_graphics_window-signed-char.patch0000644000000000000000000000275211657703107017524 0ustar # This was created in responce to Debian bug #163979 # Thing is, if you want to compant "-1" with a char value, # you better make that char signed --- kobodeluxe-0.5.1.orig/graphics/window.cpp +++ kobodeluxe-0.5.1/graphics/window.cpp @@ -331,7 +331,7 @@ } -void window_t::center_token(int _x, int _y, const char *txt, char token) +void window_t::center_token(int _x, int _y, const char *txt, signed char token) { center_token_fxp(PIXEL2CS(_x), PIXEL2CS(_y), txt, token); } @@ -374,7 +374,7 @@ } -void window_t::center_token_fxp(int _x, int _y, const char *txt, char token) +void window_t::center_token_fxp(int _x, int _y, const char *txt, signed char token) { _x = CS2PIXEL((_x * xs + 128) >> 8); _y = CS2PIXEL((_y * ys + 128) >> 8); --- kobodeluxe-0.5.1.orig/graphics/window.h +++ kobodeluxe-0.5.1/graphics/window.h @@ -265,10 +265,10 @@ void font(int fnt); void string(int _x, int _y, const char *txt); void center(int _y, const char *txt); - void center_token(int _x, int _y, const char *txt, char token = 0); + void center_token(int _x, int _y, const char *txt, signed char token = 0); void string_fxp(int _x, int _y, const char *txt); void center_fxp(int _y, const char *txt); - void center_token_fxp(int _x, int _y, const char *txt, char token = 0); + void center_token_fxp(int _x, int _y, const char *txt, signed char token = 0); int textwidth(const char *txt, int min = 0, int max = 255); int textwidth_fxp(const char *txt, int min = 0, int max = 255); int fontheight(); debian/patches/04_enemies-pipe-decl.patch0000644000000000000000000000460411657703107015441 0ustar # Authhor: Damyan Ivanov # Description: rename pipe2 symbol to pipe2_kbdl to avoid clashes with the one # declared in system unistd.h # Debian-Bug: 527705 # Upstream-Report: http://www.freelists.org/post/olofsonprojects/kobodeluxe-failing-to-build-in-Debian-enemiesh75-error-const-enemy-kind-pipe2-redeclared-as-different-kind-of-symbol --- a/enemies.h +++ b/enemies.h @@ -72,7 +72,7 @@ extern const enemy_kind bombdeto; extern const enemy_kind cannon; extern const enemy_kind pipe1; extern const enemy_kind core; -extern const enemy_kind pipe2; +extern const enemy_kind pipe2_kbdl; extern const enemy_kind rock; extern const enemy_kind ring; extern const enemy_kind enemy_m1; @@ -430,7 +430,7 @@ inline int _enemy::realize() inline int _enemy::is_pipe() { - return ((_state != notuse) && ((ek == &pipe1) || (ek == &pipe2))); + return ((_state != notuse) && ((ek == &pipe1) || (ek == &pipe2_kbdl))); } --- a/enemy.cpp +++ b/enemy.cpp @@ -755,10 +755,10 @@ void _enemy::move_core() void _enemy::kill_core() { - enemies.make(&pipe2, CS2PIXEL(x), CS2PIXEL(y), 0, 0, 3); - enemies.make(&pipe2, CS2PIXEL(x), CS2PIXEL(y), 0, 0, 7); - enemies.make(&pipe2, CS2PIXEL(x), CS2PIXEL(y), 0, 0, 1); - enemies.make(&pipe2, CS2PIXEL(x), CS2PIXEL(y), 0, 0, 5); + enemies.make(&pipe2_kbdl, CS2PIXEL(x), CS2PIXEL(y), 0, 0, 3); + enemies.make(&pipe2_kbdl, CS2PIXEL(x), CS2PIXEL(y), 0, 0, 7); + enemies.make(&pipe2_kbdl, CS2PIXEL(x), CS2PIXEL(y), 0, 0, 1); + enemies.make(&pipe2_kbdl, CS2PIXEL(x), CS2PIXEL(y), 0, 0, 5); enemies.make(&explosion4, CS2PIXEL(x), CS2PIXEL(y)); sound.g_base_core_explo(x, y); release(); @@ -978,19 +978,19 @@ void _enemy::move_pipe2() } p ^= a; if(p & U_MASK) - enemies.make(&pipe2, CS2PIXEL(x), CS2PIXEL(y), 0, 0, 1); + enemies.make(&pipe2_kbdl, CS2PIXEL(x), CS2PIXEL(y), 0, 0, 1); if(p & R_MASK) - enemies.make(&pipe2, CS2PIXEL(x), CS2PIXEL(y), 0, 0, 3); + enemies.make(&pipe2_kbdl, CS2PIXEL(x), CS2PIXEL(y), 0, 0, 3); if(p & D_MASK) - enemies.make(&pipe2, CS2PIXEL(x), CS2PIXEL(y), 0, 0, 5); + enemies.make(&pipe2_kbdl, CS2PIXEL(x), CS2PIXEL(y), 0, 0, 5); if(p & L_MASK) - enemies.make(&pipe2, CS2PIXEL(x), CS2PIXEL(y), 0, 0, 7); + enemies.make(&pipe2_kbdl, CS2PIXEL(x), CS2PIXEL(y), 0, 0, 7); manage.add_score(10); release(); } -const enemy_kind pipe2 = { +const enemy_kind pipe2_kbdl = { 0, &_enemy::make_pipe2, &_enemy::move_pipe2, debian/patches/05_const_charp_conversion.patch0000644000000000000000000000124411657703107016722 0ustar Description: Avoid compilation error with gcc-4.4. "const char* -> char*" conversion is fatal in that version Origin: vendor, https://bugs.launchpad.net/ubuntu/+source/kobodeluxe/+bug/461373 Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/kobodeluxe/+bug/461373 Bug-Debian: http://bugs.debian.org/552548 Forwarded: http://www.freelists.org/post/olofsonprojects/kobodlpatch-compile-error-in-windowcpp-with-g44 --- a/graphics/window.cpp +++ b/graphics/window.cpp @@ -398,7 +398,7 @@ void window_t::center_token_fxp(int _x, */ if(token) { - char *tok = strchr(txt, token); + const char *tok = strchr(txt, token); if(tok) tokpos = tok-txt; else debian/patches/03_manpage-minus-not-hyphen.patch0000644000000000000000000000102311657703107016773 0ustar # Author: Damyan Ivanov # Description: convert a hyphen in kobodl manpage to a minus, which is what is # inttented here # Upstream-Report: http://www.freelists.org/post/olofsonprojects/patch-manpage-uses-hyphen-instead-of-a-minus-sign --- a/kobodl.6 +++ b/kobodl.6 @@ -176,7 +176,7 @@ Video Mode. Default: 17200. Enable Vertical Sync. Default: On. .TP .B \-videopages -Number of Video Pages. Default: -1. +Number of Video Pages. Default: \-1. .TP .B \-scalemode Scaling Filter Mode. Default: 1. debian/patches/02_paths.patch0000644000000000000000000000211111657703107013260 0ustar # Disable reading of configs, graphics, and data from the current directory. # So it's safe to run kobodeluxe from anywhere w/o worry about an attacker # feeding it bad data. --- kobodeluxe-0.5.1.orig/kobo.cpp +++ kobodeluxe-0.5.1/kobo.cpp @@ -141,21 +141,21 @@ * Graphics data */ /* Current dir; from within the build tree */ - fmap->addpath("GFX", "./data/gfx"); + //fmap->addpath("GFX", "./data/gfx"); /* Real data dir */ fmap->addpath("GFX", "DATA>>gfx"); /* Current dir */ - fmap->addpath("GFX", "./gfx"); + //fmap->addpath("GFX", "./gfx"); /* * Sound data */ /* Current dir; from within the build tree */ - fmap->addpath("SFX", "./data/sfx"); + //fmap->addpath("SFX", "./data/sfx"); /* Real data dir */ fmap->addpath("SFX", "DATA>>sfx"); /* Current dir */ - fmap->addpath("SFX", "./sfx"); + //fmap->addpath("SFX", "./sfx"); /* * Score files (user and global) @@ -173,7 +173,7 @@ /* System local */ fmap->addpath("CONFIG", SYSCONF_DIR); /* In current dir (last resort) */ - fmap->addpath("CONFIG", "./"); + //fmap->addpath("CONFIG", "./"); } debian/kobodeluxe-data.install0000644000000000000000000000004311657703107013632 0ustar debian/tmp/usr/share/kobo-deluxe/* debian/kobo-icon.xpm0000644000000000000000000000263311657703107011607 0ustar /* XPM */ static char * xkobo_icon_xpm[] = { "32 32 15 1", " c None", ". c #000000", "+ c #9C599C", "@ c #9CA73A", "# c #3A3A3A", "$ c #A5A5A5", "% c #F7F7F7", "& c #636363", "* c #00006B", "= c #9C3AC3", "- c #1019B5", "; c #314ACE", "> c #635AAD", ", c #94C5FF", "' c #9C4AAF", "...................+............", "..............@.................", "................................", "................................", "................................", "................................", "................................", "................................", "................................", "................................", "...............##...............", "..............#$%&..............", "..............#$%&..............", "..............#$%&..............", "...........##.#$%&.##...........", "...........#%##$%&$#%...........", "...........#%&#**&$#%...........", "....=.....##%&*--*$#%%..........", "..........##%&*---$#%%..........", ".........#&#%&-;>-$#%$%.........", ".........#&#%&->,-$#%$%.........", ".........#&#%&#--&$#%$%.........", "..........##%&#$%&$#%&..........", "...........#%&#%%&$#%...........", "...........#%......#%...........", "................................", "..........................'.....", "................................", "................................", "................................", "................................", "................................"}; debian/rules0000755000000000000000000000156111657704604010263 0ustar #!/usr/bin/make -f SCORES = var/games/kobo-deluxe/scores PACKAGE = $(firstword $(shell dh_listpackages)) DATAPKG = $(PACKAGE)-data TMP = $(CURDIR)/debian/tmp PKGDIR = $(CURDIR)/debian/$(PACKAGE) %: dh $@ override_dh_auto_configure: ln -sf /usr/share/misc/config.sub ln -sf /usr/share/misc/config.guess aclocal automake autoconf ./configure --bindir=/usr/games --prefix=/usr --sysconfdir=/etc \ --mandir=/usr/share/man --sharedstatedir=/usr/share override_dh_auto_build: $(MAKE) kobo_scoredir=/$(SCORES) override_dh_auto_install: mkdir -p $(TMP)/$(SCORES) $(MAKE) DESTDIR=$(TMP) kobo_scoredir=/$(SCORES) install rm -rfv $(TMP)/usr/games/kobo-deluxe \ $(TMP)/usr/share/kobo-deluxe/scores override_dh_fixperms: dh_fixperms chown root.games $(PKGDIR)/usr/games/kobodl \ $(PKGDIR)/$(SCORES) chmod g+s $(PKGDIR)/usr/games/kobodl chmod 2775 $(PKGDIR)/$(SCORES) debian/menu0000644000000000000000000000021311657703107010060 0ustar ?package(kobodeluxe):needs="x11" section="Games/Action" \ title="Kobo Deluxe" command="kobodl" \ icon="/usr/share/pixmaps/kobo-icon.xpm" debian/clean0000644000000000000000000000031411657703107010200 0ustar Makefile.in aclocal.m4 config.guess config.log config.status config.sub configure data/Makefile.in data/gfx/Makefile.in data/sfx/Makefile.in eel/Makefile.in graphics/Makefile.in sound/Makefile.in stamp-h debian/control0000644000000000000000000000323511657704136010606 0ustar Source: kobodeluxe Section: games Priority: optional Build-Depends: debhelper (>= 7.0.50), libsdl-image1.2-dev, libsdl1.2-dev, automake, autotools-dev Maintainer: Debian Games Team Uploaders: Damyan Ivanov Standards-Version: 3.9.2 Vcs-Git: git://git.debian.org/git/pkg-games/kobodeluxe.git Vcs-Browser: http://git.debian.org/?p=pkg-games/kobodeluxe.git;a=summary Homepage: http://olofson.net/kobodl/ Package: kobodeluxe Architecture: any Depends: kobodeluxe-data (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends} Description: game of space battle Kobo Deluxe is a third person scrolling 2D shooter with a simple and responsive control system - which you'll need to tackle the tons of enemy ships that shoot at you, chase you, circle around you shooting, or even launch other ships at you, while you're trying to destroy the labyrinth shaped bases. There are 50 action packed levels with smoothly increasing difficulty, and different combinations of enemies that require different tactics to be dealt with successfully. It's loads of classical arcade style fun. Package: kobodeluxe-data Architecture: all Depends: ${misc:Depends} Recommends: kobodeluxe Replaces: kobodeluxe (<< 0.5.1-3~) Conflicts: kobodeluxe (<< 0.5.1-3~) Description: game of space battle -- shared data Kobo Deluxe is a third person scrolling 2D shooter. There are 50 action packed levels with smoothly increasing difficulty, and different combinations of enemies that require different tactics to be dealt with successfully. It's loads of classical arcade style fun. . This package contains architecture-independent data for kobodeluxe.