--- jumpnbump-1.50+dfsg1.orig/FAQ +++ jumpnbump-1.50+dfsg1/FAQ @@ -0,0 +1,38 @@ + +little faq for jump n bump on linux + +Q: -nosound option doesn't werk? +A: we know, it will be fixed some day... (contributions welcome) + +Q: sound effects sound other than on the dos version! +A: i know, the *plop* (if you kill some bunnies) comes too late (lagged) + and sounds completely wrong too? + there's sound effects missing if you are near the flies and if + you jump into the water (the *splash* is missing) + +Q: i can't download this or that level. you not have enough bandwith? +A: longislandman did a mirror try it from there + http://jonatkins.org/jumpnbump/levels/ + he has got most of the levels i have (some are missing maybe) + +Q: can i do my own level? how? +A: yes, see the manpage + +Q: do i need click each level one by one to save them? i want all of them? +A: no just go into your jumpnbump directory into data there type + wget --no-parent -r -l1 http://jumpbump.mine.nu/levels.bz2 + mv jumpbump.mine.nu/*.bz2 . + rm -rf jumpbump.mine.nu + bunzip *.bz2 + (oh well i didn't thest it :) + +Q: my menuselector looks other than yours? +A: that's probably because i have tkstep8.0 and changed the first + line in jbrun.tcl to (wish8.0) + +Q: i want to do a link to your homepage? +A: find banners here http://jumpbump.mine.nu/jbbanner1.jpg + here http://jumpbump.mine.nu/jbbanner2.jpg + and here http://jumpbump.mine.nu/jbbanner3.jpg + add something like this to your homepage: + --- jumpnbump-1.50+dfsg1.orig/globals.pre +++ jumpnbump-1.50+dfsg1/globals.pre @@ -168,7 +168,7 @@ #elif _WIN32 #define DATA_PATH "data/jumpbump.dat" #else -#define DATA_PATH "%%PREFIX%%/share/jumpnbump/jumpbump.dat" +#define DATA_PATH "%%PREFIX%%/share/games/jumpnbump/jumpbump.dat" #endif #endif @@ -344,6 +344,7 @@ #ifdef USE_SDL /* long filelength(int handle); */ void fs_toggle(); +void exit_fullscreen(); int intr_sysupdate(); #endif --- jumpnbump-1.50+dfsg1.orig/Makefile +++ jumpnbump-1.50+dfsg1/Makefile @@ -2,7 +2,7 @@ SDL_LIBS = `sdl-config --libs` CFLAGS = -Wall -O2 -ffast-math -funroll-loops -Dstricmp=strcasecmp \ -Dstrnicmp=strncasecmp -DUSE_SDL -DNDEBUG -I. $(SDL_CFLAGS) -DUSE_NET -LIBS = -lm $(SDL_LIBS) -lSDL_mixer -lSDL_net +LIBS = $(SDL_LIBS) -lSDL_mixer -lSDL_net SDL_TARGET = sdl.a MODIFY_TARGET = gobpack jnbpack jnbunpack OBJS = fireworks.o main.o menu.o filter.o --- jumpnbump-1.50+dfsg1.orig/README +++ jumpnbump-1.50+dfsg1/README @@ -24,15 +24,6 @@ Thanks to ivo for doing debian packages. f10 change between windowed/fullscreen mode -(see the XF86Config-4, copy n paste the modeline 400x256 -then add the mode "400x256" to whatever bpp you have by default, restart x) -example: add following line in Section "Monitor" of your -/etc/X11/XF86Config (or XF86Config-4) -Modeline "400x256" 22.00 400 416 480 504 256 259 262 269 doublescan -then in Section "Screen" if your DefaultDepth is 24 do be sure you have -something like: -Modes "1024x768" "640x480" "512x384" "400x256" "320x240" -esc/f12 exit For compilation you will need: do following on a debian gnu/linux system (www.debian.org) @@ -44,19 +35,8 @@ there's a screensaver mode as well: jumpnbump -fireworks -fullscreen -Network play works like this, oh well here's an example -Player 1: jumpnbump -port 7777 -net 0 ip_or_hostname_of_player2 port_of_player2 -Player 2: jumpnbump -port 7777 -net 1 ip_or_hostname_of_player1 port_of_player1 -just take port 7777 for all ports and hope it's open and you aren't -firewalled (it's all udp!) -You can add -net 3 and -net 4 for 3rd and 4th player, and be sure. -All the players use the same -dat level.dat -(the scoreboards is different on each player and strange things like -that, but longislandman is working on it (isn't it? longislandman? you alive?)) - You can find the original dos game (which runs in dos/win9x (dosextender!)) at http://www.brainchilddesign.com/games/jumpnbump/index.html If you like the game or have any ideas don't hesitate to contact me gurkan@linuks.mine.nu - --- jumpnbump-1.50+dfsg1.orig/main.c +++ jumpnbump-1.50+dfsg1/main.c @@ -3338,6 +3338,7 @@ free(mask_pic); remove_keyb_handler(); + exit_fullscreen(); #ifdef DOS regs.x.ax = 0x3; @@ -3352,7 +3353,6 @@ exit(1); } else exit(0); - } --- jumpnbump-1.50+dfsg1.orig/sdl/gfx.c +++ jumpnbump-1.50+dfsg1/sdl/gfx.c @@ -226,6 +226,11 @@ fullscreen ^= 1; } +void exit_fullscreen() +{ + if (fullscreen) + fs_toggle(); +} void wait_vrt(int mix) { --- jumpnbump-1.50+dfsg1.orig/sdl/sound.c +++ jumpnbump-1.50+dfsg1/sdl/sound.c @@ -23,6 +23,11 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#define _BSD_SOURCE +#define _POSIX_C_SOURCE + +#include +#include #include "globals.h" #include #ifndef _MSC_VER @@ -463,11 +468,8 @@ { #ifndef NO_SDL_MIXER FILE *tmp; -# if ((defined _MSC_VER) || (defined __MINGW32__)) - char filename[] = "jnb.tmpmusic.mod"; -# else - char filename[] = "/tmp/jnb.tmpmusic.mod"; -# endif + int tmp_fd; + char* filename; unsigned char *fp; int len; @@ -506,15 +508,24 @@ return 0; } - tmp = fopen(filename, "wb"); - if (tmp) { - fwrite(fp, len, 1, tmp); - fflush(tmp); - fclose(tmp); + filename = strdup("/tmp/jumpnbump.mod.XXXXXX"); + tmp_fd = mkstemp(filename); + if (tmp_fd == -1) { + free(filename); + return 0; + } + tmp = fdopen(tmp_fd, "wb"); + if (!tmp) { + free(filename); + return 0; } + fwrite(fp, len, 1, tmp); + fflush(tmp); + fclose(tmp); current_music = Mix_LoadMUS(filename); unlink(filename); + free(filename); if (current_music == NULL) { fprintf(stderr, "Couldn't load music: %s\n", SDL_GetError()); return 0; --- jumpnbump-1.50+dfsg1.orig/jumpnbump_menu/AUTHOR +++ jumpnbump-1.50+dfsg1/jumpnbump_menu/AUTHOR @@ -0,0 +1 @@ +Martin Willemoes Hansen --- jumpnbump-1.50+dfsg1.orig/jumpnbump_menu/jumpnbump_menu.glade +++ jumpnbump-1.50+dfsg1/jumpnbump_menu/jumpnbump_menu.glade @@ -0,0 +1,870 @@ + + + + + + + True + Jump n Bump menu + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_CENTER + False + True + False + + + + + 5 + True + False + 5 + + + + True + 0 + 0.5 + GTK_SHADOW_ETCHED_IN + + + + 5 + True + False + 5 + + + + True + True + _Standalone + True + GTK_RELIEF_NORMAL + False + False + True + + + + 0 + False + False + + + + + + True + True + _Fireworks + True + GTK_RELIEF_NORMAL + False + False + True + standalone + + + + 0 + False + False + + + + + + True + True + _Client + True + GTK_RELIEF_NORMAL + False + False + True + standalone + + + + 0 + False + False + + + + + + True + True + Ser_ver + True + GTK_RELIEF_NORMAL + False + False + True + standalone + + + + 0 + False + False + + + + + + + + True + Mode + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + label_item + + + + + 0 + True + True + + + + + + 5 + True + False + 5 + + + + True + True + GTK_POLICY_ALWAYS + GTK_POLICY_ALWAYS + GTK_SHADOW_NONE + GTK_CORNER_TOP_LEFT + + + + True + True + True + False + False + True + + + + + + 0 + True + True + + + + + + 200 + 128 + True + 0.5 + 0.5 + 0 + 0 + + + 0 + False + True + + + + + 0 + True + True + + + + + + True + 0 + 0.5 + GTK_SHADOW_ETCHED_IN + + + + 5 + True + 2 + 2 + False + 5 + 5 + + + + True + False + 5 + + + + True + False + Remote server ip/name + True + True + True + 0 + + True + * + False + + + 0 + True + True + + + + + + True + False + Your are player number? + True + 1 + 0 + False + GTK_UPDATE_IF_VALID + False + True + 2 1 3 1 10 10 + + + 0 + False + True + + + + + 1 + 2 + 1 + 2 + + + + + + True + _Number of remote clients: + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + num_of_clients + + + 0 + 1 + 0 + 1 + fill + + + + + + + True + Rem_ote server: + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + server_entry + + + 0 + 1 + 1 + 2 + fill + + + + + + + True + 0 + 0.5 + 0 + 1 + + + + True + False + True + 1 + 0 + False + GTK_UPDATE_IF_VALID + False + True + 1 1 3 1 10 10 + + + + + 1 + 2 + 0 + 1 + fill + + + + + + + + + True + Network + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + label_item + + + + + 0 + True + True + + + + + + True + True + 5 + + + + True + 0 + 0.5 + GTK_SHADOW_ETCHED_IN + + + + 5 + True + False + 0 + + + + True + True + Fullscr_een + True + GTK_RELIEF_NORMAL + False + False + True + + + 0 + False + False + + + + + + True + True + No _gore + True + GTK_RELIEF_NORMAL + False + False + True + + + 0 + False + False + + + + + + True + True + _Double resolution + True + GTK_RELIEF_NORMAL + False + False + True + + + 0 + False + False + + + + + + True + True + _Mirror level + True + GTK_RELIEF_NORMAL + False + False + True + + + 0 + False + False + + + + + + + + True + Graphics + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + label_item + + + + + 0 + True + True + + + + + + True + 0 + 0.5 + GTK_SHADOW_ETCHED_IN + + + + 5 + True + False + 0 + + + + True + True + No so_und + True + GTK_RELIEF_NORMAL + False + False + True + + + 0 + False + False + + + + + + True + True + No f_lies + True + GTK_RELIEF_NORMAL + False + False + True + + + 0 + False + False + + + + + + True + True + _With music but without sound. + True + GTK_RELIEF_NORMAL + False + False + True + + + 0 + False + False + + + + + + + + True + Sound + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + label_item + + + + + 0 + True + True + + + + + 0 + False + False + + + + + + 5 + True + GTK_BUTTONBOX_DEFAULT_STYLE + 0 + + + + True + True + True + gtk-quit + True + GTK_RELIEF_NORMAL + + + + + + + True + True + True + GTK_RELIEF_NORMAL + + + + + True + 0.5 + 0.5 + 0 + 0 + + + + True + False + 2 + + + + True + gtk-apply + 4 + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + True + _Run + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + + + + + + + True + True + True + _About + True + GTK_RELIEF_NORMAL + + + + + + 0 + True + True + + + + + + + + True + About + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_CENTER + False + True + False + + + + 5 + True + False + 5 + + + + True + True + False + True + 0 + Jump n Bump menu 0.6 + True + * + False + + + 0 + False + False + + + + + + True + Copyright (c) 2002 Martin Willemoes Hansen <mwh@sysrq.dk> + +Jump n Bump starter. + +Gtk+ and Python rocks!! + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + True + + + 0 + True + True + + + + + + True + GTK_BUTTONBOX_END + 0 + + + + True + True + True + GTK_RELIEF_NORMAL + + + + + True + 0.5 + 0.5 + 0 + 0 + + + + True + False + 2 + + + + True + gtk-ok + 4 + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + True + _Ok + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + + + + + + 0 + True + True + + + + + + + --- jumpnbump-1.50+dfsg1.orig/jumpnbump_menu/Makefile +++ jumpnbump-1.50+dfsg1/jumpnbump_menu/Makefile @@ -0,0 +1,11 @@ +PREFIX=/usr + +all: + @echo "This software is interpreted, no compilation needed" +install: + cp jumpnbump_menu.glade $(PREFIX)/share/games/jumpnbump/ + cp jumpnbump_menu.py $(PREFIX)/games/ + +uninstall: + rm $(PREFIX)/share/games/jumpnbump/jumpnbump_menu.glade + rm $(PREFIX)/games/jumpnbump_menu.py --- jumpnbump-1.50+dfsg1.orig/jumpnbump_menu/NEWS +++ jumpnbump-1.50+dfsg1/jumpnbump_menu/NEWS @@ -0,0 +1,27 @@ +0.6 +=== +o A couple of HIG issues where fixed. + +0.5 +=== +o GUI fixes. + +0.4 +=== +o Level preview implemented + +0.3 +=== +o UI tweaks. +o jumpbump.dat is default level +o Path to levels and binary has changed. + +0.2 +=== +o Added Makefile for installing/uninstalling +o Fixed mirror checkbox. +o Does not have to be run from shell. + +0.1 +=== +o Initial release. --- jumpnbump-1.50+dfsg1.orig/jumpnbump_menu/README +++ jumpnbump-1.50+dfsg1/jumpnbump_menu/README @@ -0,0 +1,16 @@ +Edit the Makefile to your liking. +Also check the variables in the top of the python script. + +Then run +make install + +==== +reqs +==== + +Python-2.2.1 +pygtk-1.99.13 +ImageMagick-5.4.6 +jumpnbump-1.39 + +At least thats what I have ;) --- jumpnbump-1.50+dfsg1.orig/jumpnbump_menu/jumpnbump_menu.py +++ jumpnbump-1.50+dfsg1/jumpnbump_menu/jumpnbump_menu.py @@ -0,0 +1,218 @@ +#!/usr/bin/env python + +# Author: Martin Willemoes Hansen +# License: Gnu GPL + +# Next two lines are a workaround for Debian bug 163794 +import sys + +import pygtk +pygtk.require('2.0') +import gtk +import gtk.glade +import gtk.gdk +import gobject +import os +import tempfile +import shutil + +RESOURCE_DIR='/usr/share/games/jumpnbump' +BINARY_DIR='/usr/games' + +def populate_treeview(): + levels = [] + for file in os.listdir (RESOURCE_DIR): + if (file.endswith ('.dat')): + levels.append (file) + + levels.sort() + + COLUMN_LEVEL = 0 + store = gtk.ListStore (gobject.TYPE_STRING) + + for level in levels: + iter = store.append() + store.set (iter, COLUMN_LEVEL, level) + + treeview.set_model (store) + + renderer = gtk.CellRendererText() + treeview.append_column (gtk.TreeViewColumn ('Level', renderer, text=COLUMN_LEVEL)) + +def standalone_mode (widget): + disable_enable_level (1) + disable_enable_server (0) + num_clients.set_sensitive (0) + nogore.set_sensitive (1) + noflies.set_sensitive (1) + +def client_mode (widget): + disable_enable_level (1) + disable_enable_server (1) + num_clients.set_sensitive (0) + nogore.set_sensitive (1) + noflies.set_sensitive (1) + +def server_mode (widget): + disable_enable_level (1) + disable_enable_server (0) + num_clients.set_sensitive (1) + nogore.set_sensitive (1) + noflies.set_sensitive (1) + +def fireworks_mode (widget): + disable_enable_level (0) + disable_enable_server (0) + nogore.set_sensitive (0) + nogore.set_active (0) + noflies.set_sensitive (0) + noflies.set_active (0) + +def disable_enable_server (setting): + server_entry.set_sensitive (setting) + player_num.set_sensitive (setting) + +def disable_enable_level (setting): + treeview.set_sensitive (setting) + mirror.set_sensitive (setting) + if (not setting): + mirror.set_active (setting) + +def level_changed (widget): + model, iter = treeview.get_selection().get_selected() + global choosen_level + choosen_level = '%s/%s' % (RESOURCE_DIR, model.get_value (iter, 0)) + unpackdir = None + try: + unpackdir = tempfile.mkdtemp ("", "jumpnbump-menu-") + os.chdir(unpackdir) + os.spawnlp (os.P_WAIT, '/usr/lib/jumpnbump/unpack', 'unpack', choosen_level) + os.spawnlp (os.P_WAIT, 'convert', 'convert', '-scale', '50%', 'level.pcx', 'level_scaled.pcx') + os.spawnlp (os.P_WAIT, 'convert', 'convert', 'level_scaled.pcx', 'level.png') + image.set_from_file ('level.png') + except Exception, err: + print err + finally: + if unpackdir != None: + shutil.rmtree(unpackdir) + + image.show() + +def about (widget): + global about_dialog + + if (not about_dialog): + gui = gtk.glade.XML (gladefile, 'about') + about_dialog = gui.get_widget ('about') + gui.signal_connect ('ok', about_close) + +def about_close (widget): + global about_dialog + + about_dialog.destroy() + about_dialog = None + +def run (widget): + if (standalone.get_active()): + execute (*get_level()+common_options()) + elif (fireworks.get_active()): + execute ('-fireworks', *common_options()) + elif (client.get_active()): + execute ('-player', str (player_num.get_value_as_int()), + '-connect', server_entry.get_text(), + *get_level() + common_options()) + else: + execute ('-server', str (num_clients.get_value_as_int()), + *get_level() + common_options()) + +def get_level(): + level = [] + if (mirror.get_active()): + level.append ('-mirror') + else: + level.append ('-dat') + level.append (choosen_level) + + return level + +def common_options(): + options = [] + + if (fullscreen.get_active()): + options.append ('-fullscreen') + if (nogore.get_active()): + options.append ('-nogore') + if (double_res.get_active()): + options.append ('-scaleup') + if (nosound.get_active()): + options.append ('-nosound') + if (noflies.get_active()): + options.append ('-noflies') + if (withmusic.get_active()): + options.append ('-musicnosound') + if (mirror.get_active()): + options.append ('-mirror') + + return options + +def execute (*cmd): + try: + os.spawnl (os.P_NOWAIT, BINARY_DIR + '/jumpnbump', 'jumpnbump', *cmd) + except Exception, err: + print err + +def main(): + global gladefile + + global_gladefile = RESOURCE_DIR + '/jumpnbump_menu.glade' + local_gladefile = './jumpnbump_menu.glade' + + if (os.access (global_gladefile, os.R_OK)): + gladefile = global_gladefile + del local_gladefile + elif (os.access (local_gladefile, os.R_OK)): + gladefile = local_gladefile + del global_gladefile + else: + print 'Could not find the glade file' + return 0 + + gui = gtk.glade.XML (gladefile, 'main') + + global about_dialog, choosen_level, standalone, fireworks, client, server, treeview, \ + mirror, num_clients, server_entry, player_num, fullscreen, \ + nogore, double_res, nosound, noflies, withmusic, image + + about_dialog = None + choosen_level = '' + standalone = gui.get_widget ('standalone') + fireworks = gui.get_widget ('fireworks') + client = gui.get_widget ('client') + server = gui.get_widget ('server') + treeview = gui.get_widget ('level_treeview') + populate_treeview() + mirror = gui.get_widget ('mirror') + num_clients = gui.get_widget ('num_of_clients') + server_entry = gui.get_widget ('server_entry') + player_num = gui.get_widget ('player_num') + fullscreen = gui.get_widget ('fullscreen') + nogore = gui.get_widget ('nogore') + double_res = gui.get_widget ('double_res') + nosound = gui.get_widget ('nosound') + noflies = gui.get_widget ('noflies') + withmusic = gui.get_widget ('withmusic') + image = gui.get_widget ('image') + + gui.signal_autoconnect ({'standalone_mode': standalone_mode, + 'client_mode': client_mode, + 'server_mode': server_mode, + 'fireworks_mode': fireworks_mode, + 'level_changed': level_changed, + 'quit': lambda *args: gtk.main_quit(), + 'run': run, + 'about': about}) + + gtk.main() + +if __name__ == '__main__': + main() --- jumpnbump-1.50+dfsg1.orig/jumpnbump_menu/TODO +++ jumpnbump-1.50+dfsg1/jumpnbump_menu/TODO @@ -0,0 +1,4 @@ +o Enable a kill server. (it tends to lock) +o Refactor level preview +o Make jumpbump.dat the default level + --- jumpnbump-1.50+dfsg1.orig/modify/jnbunpack.c +++ jumpnbump-1.50+dfsg1/modify/jnbunpack.c @@ -23,6 +23,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include #include #include #include @@ -83,8 +84,13 @@ memset(filename, 0, sizeof(filename)); strncpy(filename, datafile[i].filename, 12); printf("Extracting %s ", filename); + fflush(stdout); - outfd = open(filename, O_RDWR | O_CREAT | O_BINARY, 0644); + if (unlink(filename) == -1 && errno != ENOENT) { + perror("cannot unlink file"); + exit(1); + } + outfd = open(filename, O_RDWR | O_CREAT | O_EXCL | O_BINARY, 0644); if (!outfd) { perror("cant open file"); exit(1); --- jumpnbump-1.50+dfsg1.orig/debian/control +++ jumpnbump-1.50+dfsg1/debian/control @@ -0,0 +1,22 @@ +Source: jumpnbump +Section: games +Priority: optional +Maintainer: Debian Games Team +Uploaders: Francois Marier , + Ansgar Burchardt +Build-Depends: debhelper (>= 6), libsdl1.2-dev (>= 1.2.2-3.1), libsdl-mixer1.2-dev (>= 1.2.0-1.1), libsdl-net1.2-dev (>= 1.2.0-5.1) +Standards-Version: 3.8.0 +Homepage: http://jumpbump.mine.nu/ +Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/jumpnbump/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/jumpnbump/?op=log + +Package: jumpnbump +Architecture: any +Suggests: jumpnbump-levels +Depends: ${shlibs:Depends}, imagemagick, python, python-glade2, python-gtk2 +Description: cute multiplayer platform game with bunnies + You, as a bunny, have to jump on your opponents to make them + explode. It's a true multiplayer game, you can't play this alone. + It has network support. + . + This program is a unix port of the old DOS game by brainchilddesign. --- jumpnbump-1.50+dfsg1.orig/debian/changelog +++ jumpnbump-1.50+dfsg1/debian/changelog @@ -0,0 +1,244 @@ +jumpnbump (1.50+dfsg1-1) unstable; urgency=high + + * Urgency set to high as this upload closes a security issue: + * Fix insecure handling of /tmp (Closes: #500611) + * Fix path to utility programs in jumpnbump-menu (Closes: #500340). + Thanks to Kilian Kilger for the patch. + * Repackage source to remove dos/libdj.a (no source provided), + mention this in debian/copyright + * Bump Standards Version to 3.8.0 (no changes) + * Add myself to Uploaders. + + -- Ansgar Burchardt Mon, 29 Sep 2008 22:01:59 +0200 + +jumpnbump (1.50-12) unstable; urgency=low + + * Fix vcs-browser field to refer to the right package + * Bump debhelper compatibility to 6 + * Removed the watch file + * Move utilities to /usr/lib/jumpnbump and update manpage + * Fix hyphens in manpage + + -- Francois Marier Tue, 03 Jun 2008 14:31:04 +1200 + +jumpnbump (1.50-11) unstable; urgency=low + + * Switch to collaborative maintenance with the Games Team + * Mention secrets in README.Debian + * Improve copyright statement in debian/copyright + * Update upstream URL for the menu + + -- Francois Marier Sat, 26 Apr 2008 15:10:30 +1200 + +jumpnbump (1.50-10) unstable; urgency=low + + * Call dh_desktop from debian/rules + * Bump Standards-Version up to 3.7.3 (no other changes) + + -- Francois Marier Mon, 24 Dec 2007 02:59:21 -0500 + +jumpnbump (1.50-9) unstable; urgency=low + + * Rename XS-Vcs-* fields to Vcs-* + + -- Francois Marier Tue, 20 Nov 2007 15:43:47 +1300 + +jumpnbump (1.50-8) unstable; urgency=low + + * Added README.Debian to describe how to play against the computer + * debian/rules: + - Fixed "make distclean" lintian warning + * Add homepage field in debian/control + * Add collab-maint repo in debian/control + * Change the menu section to Games/Action (menu transition) + * Remove the Application category in the free desktop menu + + -- Francois Marier Fri, 19 Oct 2007 16:36:36 +1300 + +jumpnbump (1.50-7) unstable; urgency=low + + * Add a menu item for GNOME and KDE (closes: #422503) + * Better xpm icon + * Fix the watch file + + -- Francois Marier Mon, 07 May 2007 08:44:10 +1200 +jumpnbump (1.50-6) unstable; urgency=low + + * Add the AI keyboard shortcuts to the manpage (closes: #369498) + * Bump Standards-Version up to 3.7.2 (no changes) + + -- Francois Marier Sun, 4 Jun 2006 01:38:15 -0400 + +jumpnbump (1.50-5) unstable; urgency=low + + * Apply patch (thanks to Dan Carpenter!) to exit fullscreen mode when you + quit (closes: #338705) + * Fixed charset issue in the manpage to get rid of a lintian warning. + * Fixed watch file + + -- Francois Marier Wed, 18 Jan 2006 23:48:50 -0500 + +jumpnbump (1.50-4) unstable; urgency=low + + * Fix the manpage symlinks + + -- Francois Marier Mon, 27 Jun 2005 10:02:46 -0400 + +jumpnbump (1.50-3) unstable; urgency=low + + * New maintainer (closes: #284871): thanks Sam and Gürkan for your work! + * Bump Standards-Version up to 3.6.2 (no changes) + * Bump debian/compat and Debhelper dependency to version 4 + * Remove debug patch (closes: #277107) + * Remove README.Network and outdated network information in README (closes: #314221) + * Revert PowerPC patch, need a better one (closes: #283952) + * Removed useless files in /usr/share/doc/jumpnbump + * Update manpage with current command line parameters + * Make the package Lintian and Linda clean + * Add watch file + + -- Francois Marier Sun, 26 Jun 2005 13:02:29 -0400 + +jumpnbump (1.50-2) unstable; urgency=low + + * main.c: fix for a PowerPC crash, courtesy of James Morrison + (Closes: #277737). + + -- Sam Hocevar (Debian packages) Sun, 24 Oct 2004 13:30:39 +0200 + +jumpnbump (1.50-1) unstable; urgency=low + + * New upstream release (Closes: #259975). + * New maintainers (Sam Hocevar and Gürkan Sengün). + * debian/control: + + Set policy to 3.6.1.1. + + Uncapitalised short description. + * debian/menu: + + Quoted strings where appropriate. + * debian/rules: + + Use debian/compat instead of DH_COMPAT. + + Replaced deprecated call to dh_installmanpages with dh_installman. + + -- Sam Hocevar (Debian packages) Tue, 20 Jul 2004 09:50:36 +0200 + +jumpnbump (1.41-1) unstable; urgency=low + + * New upstream release. + * debian/control: Update Standards-Version. + + -- Ivo Timmermans Sat, 10 May 2003 00:03:53 +0200 + +jumpnbump (1.40-6) unstable; urgency=low + + * jumpnbump_menu/jumpnbump_menu.py: Undo hackery. (Closes: #182448) + + -- Ivo Timmermans Sun, 9 Mar 2003 18:14:11 +0100 + +jumpnbump (1.40-5) unstable; urgency=low + + * The “brown paper bag”-release. + * Normally I don't give names to releases, but I feel really bad + about this bug :( + * debian/rules: Merge the two Depends lines. (Closes: #170935) + + -- Ivo Timmermans Wed, 27 Nov 2002 18:19:40 +0100 + +jumpnbump (1.40-4) unstable; urgency=low + + * Follow the suggestions made by Markus Oberhumer: + - debian/control: Remove conflicts for python-gtk/-glade; + - jumpnbump_menu.py: Insert the path to the GTK modules to the + front of the list, rather than at the end. + + -- Ivo Timmermans Wed, 13 Nov 2002 09:48:13 +0100 + +jumpnbump (1.40-3) unstable; urgency=low + + * Fix several signed/unsigned issues and missing declarations. + (Closes: #164630, #164465) + * debian/menu, debian/rules: Fix location of icon. (Closes: #167741) + * debian/control: Depend on imagemagick, python-gtk2 and python-glade2, + and conflict with python-gtk and python-glade. (Closes: #164630) + + -- Ivo Timmermans Mon, 11 Nov 2002 20:27:55 +0100 + +jumpnbump (1.40-2) unstable; urgency=low + + * debian/rules, globals.pre: Make the game look in + /usr/share/games/jumpnbump instead of /usr/local/share/jumpnbump... + + -- Ivo Timmermans Wed, 9 Oct 2002 21:01:32 +0200 + +jumpnbump (1.40-1) unstable; urgency=low + + * New upstream release: + - Includes joystick patch (really!). (Closes: 156395) + * jumpnbump_menu: New dir. + * debian/rules: Install the menu from jumpnbump_menu instead of + jnbmenu.tcl. + * debian/copyright: Updated to include jumpnbump_menu. + * debian/control: Recommend python and imagemagick instead of depending + on tcl. + + -- Ivo Timmermans Tue, 8 Oct 2002 15:09:28 +0200 + +jumpnbump (1.39-2) unstable; urgency=low + + * debian/rules: Install jumpnbump.xpm. + + -- Ivo Timmermans Sun, 18 Aug 2002 13:44:50 +0200 + +jumpnbump (1.39-1) unstable; urgency=low + + * New upstream release:- + - Includes new option -noflies to disable the buzzing of flies; + (Closes: #156397) + - Includes joystick support. (Closes: #156395) + * debian/rules: Install some utility programs: + - gobpack (/usr/bin/jumpnbump-gobpack) + - jnbpack (/usr/bin/jumpnbump-pack) + - jnbmenu.tcl (/usr/games/jumpnbump-menu) + - jnbunpack (/usr/bin/jumpnbump-unpack) + + -- Ivo Timmermans Sat, 17 Aug 2002 14:10:57 +0200 + +jumpnbump (1.3-1) unstable; urgency=low + + * New upstream release. (Closes: #143808) + * Install pack and unpack as jumpnbump-{,un}pack + + -- Ivo Timmermans Fri, 14 Jun 2002 12:20:21 +0200 + +jumpnbump (1.1-1) unstable; urgency=low + + * New upstream release + + -- Ivo Timmermans Fri, 1 Mar 2002 13:12:16 +0100 + +jumpnbump (0.72-4) unstable; urgency=low + + * Added patch by Michael Dänzer, hopefully fixes architecture + problems. (Closes: #131974) + + -- Ivo Timmermans Wed, 13 Feb 2002 14:35:41 +0100 + +jumpnbump (0.72-3) unstable; urgency=low + + * Build-depends on the latest sdl libraries (Closes: #115860) + * Added extra libraries when linking. + + -- Ivo Timmermans Sun, 21 Oct 2001 15:40:15 +0200 + +jumpnbump (0.72-2) unstable; urgency=low + + * Make jumpnbump suggest jumpnbump-levels. + * Include a jumpnbump(6) manual page. (Closes: #94773) + * Compile with new sdl libraries. + + -- Ivo Timmermans Tue, 8 May 2001 22:15:09 +0200 + +jumpnbump (0.72-1) unstable; urgency=low + + * Initial Release. (Closes: #90550) + + -- Ivo Timmermans Wed, 21 Mar 2001 11:37:29 +0100 --- jumpnbump-1.50+dfsg1.orig/debian/docs +++ jumpnbump-1.50+dfsg1/debian/docs @@ -0,0 +1,5 @@ +FAQ +README +gob.txt +LINKS +source.txt --- jumpnbump-1.50+dfsg1.orig/debian/menu +++ jumpnbump-1.50+dfsg1/debian/menu @@ -0,0 +1,3 @@ +?package(jumpnbump):needs="X11" section="Games/Action" \ + title="Jump'n'Bump" command="/usr/games/jumpnbump-menu" \ + icon="/usr/share/pixmaps/jumpnbump.xpm" --- jumpnbump-1.50+dfsg1.orig/debian/compat +++ jumpnbump-1.50+dfsg1/debian/compat @@ -0,0 +1 @@ +6 --- jumpnbump-1.50+dfsg1.orig/debian/jumpnbump.xpm +++ jumpnbump-1.50+dfsg1/debian/jumpnbump.xpm @@ -0,0 +1,91 @@ +/* XPM */ +static char * jumpnbump_xpm[] = { +"32 32 56 1", +" c None", +". c #999998", +"+ c #746D6A", +"@ c #8B8A89", +"# c #767676", +"$ c #ABA7A5", +"% c #585757", +"& c #504C4C", +"* c #C8C1BB", +"= c #434143", +"- c #6D6D6B", +"; c #B8B5B2", +"> c #E0DDDB", +", c #FFFFFF", +"' c #EAB68A", +") c #EFE8E4", +"! c #FDA744", +"~ c #DAB69E", +"{ c #F68627", +"] c #EF9A47", +"^ c #DCCEC6", +"/ c #FDB055", +"( c #C86917", +"_ c #6A4E3A", +": c #CA7C30", +"< c #9B4E10", +"[ c #5E3A1E", +"} c #F97B13", +"| c #A05618", +"1 c #DB8434", +"2 c #E28A32", +"3 c #B8590D", +"4 c #EC7818", +"5 c #E6A86C", +"6 c #864C1E", +"7 c #2A262A", +"8 c #F8DCC2", +"9 c #261814", +"0 c #967A60", +"a c #F6993C", +"b c #AE9276", +"c c #894209", +"d c #3A363A", +"e c #B83A18", +"f c #733403", +"g c #823E06", +"h c #C2610F", +"i c #AB530B", +"j c #F6C29E", +"k c #D6A67A", +"l c #661834", +"m c #5E2E06", +"n c #6B3203", +"o c #B66016", +"p c #846A54", +"q c #8B6241", +" ", +" ", +" .. ", +" + @@# ", +" .$ %& @## ", +" $.* @%= @-. ", +" $;; $#.%& @#@ ", +" >>;,,';@;%+.@.. ", +" .,)*!~**,&##@@ ", +" {!!!]>))'>)^/%%#@@(_ ", +" :!!!/$),),)*]<=#@.#[{}{ ", +" |1//),,,,,)23&%@.%+-4{{{{{ ", +" |//,,,,,,,567&#@#%@4{4{{{ ", +" <:5)^))),,8_9&##@-03(}aa ", +" <((}44b#,.,,,8c9d%--#efgha ", +" i4}}}41j;,,,^|99dd&_e1a]!a ", +" <(}}4}4a),>k3llm_1a!!!!!! ", +" fg(}}}}{]k(3<(a!!!!!!a!!! ", +" nmn<3(3<|<(a/!!!!!!!!!!!a! ", +" nnnnnfmnncha!!/!!!!!!!aaaa ", +" nnnnnnnnng(2/!/!!!!!!]:0 ", +" nnnmnnnnn<(32///!!2oop- ", +" nnnfnnmnn3(ii]a1oiiii+-- ", +" mnnnnnnnf3h3i(oiiiii|##++ ", +" nnnnnnfh(hiiiiiiiq+--+-- ", +" nnnfnghho3ii|iq-++#+### ", +" nnnng(h3ii|q++--#--- ", +" nnchhhq+----- ", +" n<3 -+-## ", +" ", +" ", +" "}; --- jumpnbump-1.50+dfsg1.orig/debian/jumpnbump.desktop +++ jumpnbump-1.50+dfsg1/debian/jumpnbump.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Jump'n'Bump +Comment=Jump on your opponents to make them explode +Exec=jumpnbump-menu +Icon=/usr/share/pixmaps/jumpnbump.xpm +Terminal=false +Type=Application +Categories=Game;ActionGame; --- jumpnbump-1.50+dfsg1.orig/debian/dirs +++ jumpnbump-1.50+dfsg1/debian/dirs @@ -0,0 +1,5 @@ +usr/games +usr/lib/jumpnbump +usr/share/applications +usr/share/games/jumpnbump +usr/share/pixmaps --- jumpnbump-1.50+dfsg1.orig/debian/jumpnbump.6 +++ jumpnbump-1.50+dfsg1/debian/jumpnbump.6 @@ -0,0 +1,138 @@ +.TH jumpnbump 6 "June 4th, 2006" +.SH NAME +jumpnbump \- Cute multiplayer platform game with bunnies +.SH SYNOPSIS +jumpnbump \fR[ options... ] +jumpnbump-menu +.SH DESCRIPTION +You, as a bunny, have to jump on your opponents to make them +explode. It's a true multiplayer game, you can't play this alone. +It has network support. +.br +Use the jumpnbump-menu command to launch a graphical menu allowing +you to select the level and set any command line parameter. +.SH OPTIONS +.IP "-h" +Print help. +.IP "-v" +Print version. +.IP "-dat \fIlevelname\fR" +Load \fIlevelname\fR and use it as the level for this game. +.IP "-server \fIplayercount\fR" +Start as server waiting for players. +.IP "-connect \fIhostname\fR" +Connect (using a network) to another person running jump'n'bump on +\fIhostname\fR. +.IP "-player \fInum\fR" +Set main player to num (0-3). Needed for networking. +.IP "-fireworks" +Run the program in "screensaver" mode. This is useful with \-fullscreen. +.IP "-fullscreen" +Run jump'n'bump in fullscreen mode. +.IP "-nosound" +Play without sound. +.IP "-nogore" +Play without blood. +.IP "-noflies" +Disable flies. +.IP "-mirror" +Play with mirrored level. +.IP "-scaleup" +Play with doubled resolution (800x512). +.IP "-musicnosound" +Play with music but without sound. +.SH USAGE +The goal of the game is to jump on the other players. Each rabbit has +three control keys. +.IP "Player 1 (Dott)" +Left - Left +.br +Right - Right +.br +Jump - Up +.IP "Player 2 (Jiffy)" +Left - A +.br +Right - D +.br +Jump - W +.IP "Player 3 (Fizz)" +Left - J +.br +Right - L +.br +Jump - I +.IP "Player 4 (Mijji)" +Left - 4 +.br +Right - 5 +.br +Jump - 8 +.IP "In the game" +Turn on/off computer play (AI) of bunny 1 - 1 +.br +Turn on/off computer play (AI) of bunny 2 - 2 +.br +Turn on/off computer play (AI) of bunny 3 - 3 +.br +Turn on/off computer play (AI) of bunny 4 - 4 +.br +.SH SECRETS +You can type these while in the game + jetpack - you can fly + pogostick - the bunnies keep jumping + bunniesinspace - gravity is lower, you can jump higher + lordoftheflies - the flies are attracted + bloodisthickerthanwater - water turns to blood +.SH LEVELS +There are two programs in /usr/lib/jumpnbump to help you make +your own levels: pack and unpack. +.IP pack +.br +/usr/lib/jumpnbump/pack \-o /tmp/newlevel.dat ... +.br +or you can just put all the files in a dir, cd to +that dir and do +.br +/usr/lib/jumpnbump/pack \-o /tmp/newlevel.dat * +.br +and it will put all the files +in the current dir inside the packfile. Don't try things like +pack \-o stuff.dat ../file.c because it will add ../file.c as the filename in the packfile, which won't work. +.br +.IP unpack +.br +/usr/lib/jumpnbump/unpack level.dat +.br +will unpack it in the current directory. +.IP gobpack +.br +With gobpack you can convert .gob files (which are sprites, +described in /usr/share/doc/jumpnbump/gob.txt) into .pcx files +which you can edit with The Gimp for example, then convert back +to a .gob and use it in your own level. +.br +/usr/lib/jumpnbump/gobpack \-u font menu.pcx +.br +will unpack font.gob using the color palette from menu.pcx and +write the files font.pcx font.txt. The other gob files should +use level.pcx for the correct palette. +.br +/usr/lib/jumpnbump/gobpack font +.br +will generate font.gob from font.pcx and the specifications +in font.txt. The .pcx files should be resaved with another +program, as they are not packed and are thus very large. +.SH AUTHORS +.PP +Chuck Mason , Jon Atkins , +Philippe Brochard , G\[:u]rkan Seng\[:u]n , +and "timecop" are the authors of jump'n'bump. +.PP +This program is a UNIX port of the old DOS game by brainchilddesign. +.PP +This manual page was written for the Debian GNU/Linux distribution because +the original program does not have a manual page. +.PP +This manual page was written by Joe Wreschnig , for the +Debian GNU/Linux system (but may be used by others). --- jumpnbump-1.50+dfsg1.orig/debian/copyright +++ jumpnbump-1.50+dfsg1/debian/copyright @@ -0,0 +1,43 @@ +This package was debianized by Ivo Timmermans on +Wed, 21 Mar 2001 11:37:29 +0100. + +It was downloaded from http://jumpbump.mine.nu/ + +Upstream Authors: Chuck Mason , + Jon Atkins , + Philippe Brochard , + Gürkan Sengün , + "timecop" + +Copyright: (C) 2001-2004 Chuck Mason et al + + 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. + + 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 with + the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL; + if not, write to the Free Software Foundation, Inc., 51 Franklin Street, + Fifth Floor, Boston, MA 02110-1301, USA + +You are free to distribute this software under the terms of the GNU General +Public License. On Debian systems, the complete text of the GNU General +Public License can be found in /usr/share/common-licenses/GPL file. + +The file `dos/libdj.a' was removed as no source is provided in the archive. + +This package also includes the following code: + + The python menu in jumpnbump_menu is written by + Martin Willemoes Hansen + + and was downloaded from + http://www.sysrq.dk/applications + + It is also licensed under the terms of the GPL. + --- jumpnbump-1.50+dfsg1.orig/debian/rules +++ jumpnbump-1.50+dfsg1/debian/rules @@ -0,0 +1,88 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +configure: configure-stamp +configure-stamp: + dh_testdir + + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + + $(MAKE) PREFIX=/usr all data + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + [ ! -f Makefile ] || $(MAKE) clean + rm -f data/font.gob + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + install -o root -g root -m 755 jumpnbump $(CURDIR)/debian/jumpnbump/usr/games/jumpnbump + install -o root -g root -m 755 jumpnbump.svgalib $(CURDIR)/debian/jumpnbump/usr/games/jumpnbump.svgalib + install -o root -g root -m 755 jumpnbump.fbcon $(CURDIR)/debian/jumpnbump/usr/games/jumpnbump.fbcon + install -o root -g root -m 755 jnbpack $(CURDIR)/debian/jumpnbump/usr/lib/jumpnbump/pack + install -o root -g root -m 755 jnbunpack $(CURDIR)/debian/jumpnbump/usr/lib/jumpnbump/unpack + install -o root -g root -m 755 gobpack $(CURDIR)/debian/jumpnbump/usr/lib/jumpnbump/gobpack + install -o root -g root -m 755 -d $(CURDIR)/debian/jumpnbump/usr/share/games/jumpnbump + install -o root -g root -m 644 debian/jumpnbump.xpm $(CURDIR)/debian/jumpnbump/usr/share/pixmaps/jumpnbump.xpm + install -o root -g root -m 644 debian/jumpnbump.desktop $(CURDIR)/debian/jumpnbump/usr/share/applications/jumpnbump.desktop + install -o root -g root -m 644 jumpnbump_menu/jumpnbump_menu.glade $(CURDIR)/debian/jumpnbump/usr/share/games/jumpnbump/ + install -o root -g root -m 644 data/jumpbump.dat $(CURDIR)/debian/jumpnbump/usr/share/games/jumpnbump/ + install -o root -g root -m 755 -d $(CURDIR)/debian/jumpnbump/usr/share/man/man6 + install -o root -g root -m 755 jumpnbump_menu/jumpnbump_menu.py $(CURDIR)/debian/jumpnbump/usr/games/jumpnbump-menu + + # Man page links + ln -s jumpnbump.6.gz $(CURDIR)/debian/jumpnbump/usr/share/man/man6/jumpnbump.svgalib.6.gz + ln -s jumpnbump.6.gz $(CURDIR)/debian/jumpnbump/usr/share/man/man6/jumpnbump-menu.6.gz + ln -s jumpnbump.6.gz $(CURDIR)/debian/jumpnbump/usr/share/man/man6/jumpnbump.fbcon.6.gz + ln -s jumpnbump.6.gz $(CURDIR)/debian/jumpnbump/usr/share/man/man6/jumpnbump-pack.6.gz + ln -s jumpnbump.6.gz $(CURDIR)/debian/jumpnbump/usr/share/man/man6/jumpnbump-unpack.6.gz + ln -s jumpnbump.6.gz $(CURDIR)/debian/jumpnbump/usr/share/man/man6/jumpnbump-gobpack.6.gz + + +# 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_installexamples + dh_installmenu + dh_installcron + dh_installman debian/jumpnbump.6 + dh_installinfo + dh_installchangelogs ChangeLog + dh_desktop + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- jumpnbump-1.50+dfsg1.orig/debian/README.Debian +++ jumpnbump-1.50+dfsg1/debian/README.Debian @@ -0,0 +1,24 @@ +Playing against the computer +----------------------------- + +The trick is to start the game as if you were playing with more people on +the same computer, then press the keys to let these players be controlled +by the AI. + +So you grab more than one bunny and jump over the log in the welcome screen +and then you start the game and enable AI for bunnies other than the one you +want to control. The keys to enable AI are the numbers 1, 2, 3 and 4. + + +Secrets +-------- + +Type the following during the game to toggle them on or off: + + jetpack + pogostick + lordoftheflies + bunniesinspace + bloodisthickerthanwater + + -- Francois Marier Wed, 11 Jul 2007 09:30:40 +1200