debian/0000755000000000000000000000000011601334514007164 5ustar debian/contrib/0000755000000000000000000000000011467746411010641 5ustar debian/contrib/jumpnbump_menu/0000755000000000000000000000000011467747364013712 5ustar debian/contrib/jumpnbump_menu/README0000644000000000000000000000033711467746411014565 0ustar 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 ;) debian/contrib/jumpnbump_menu/Makefile0000644000000000000000000000062111467746411015341 0ustar PREFIX ?= /usr all: $(MAKE) -C po all clean: $(MAKE) -C po clean install: install -o root -g root -m 644 jumpnbump_menu.glade $(PREFIX)/share/games/jumpnbump/ install -o root -g root -m 755 jumpnbump_menu.py $(PREFIX)/games/jumpnbump-menu $(MAKE) -C po install uninstall: rm $(PREFIX)/share/games/jumpnbump/jumpnbump_menu.glade rm $(PREFIX)/games/jumpnbump-menu $(MAKE) -C po uninstall debian/contrib/jumpnbump_menu/jumpnbump_menu.glade0000644000000000000000000007616311467746411017756 0ustar 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 debian/contrib/jumpnbump_menu/po/0000755000000000000000000000000011467755122014317 5ustar debian/contrib/jumpnbump_menu/po/fr.po0000644000000000000000000000555011467746411015274 0ustar # French translations for jumpnbump package # Traductions françaises du paquet jumpnbump. # Copyright (C) 2009 Stéphane Blondon # This file is distributed under the same license as the PACKAGE package. # stephane , 2009. # msgid "" msgstr "" "Project-Id-Version: fr\n" "Report-Msgid-Bugs-To: stephane.blondon@gmail.com\n" "POT-Creation-Date: 2009-02-23 22:47+0100\n" "PO-Revision-Date: 2009-02-23 23:21+0100\n" "Last-Translator: stephane \n" "Language-Team: French\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #: jumpnbump-menu:46 msgid "Level" msgstr "Niveau" #: jumpnbump_menu.glade:8 msgid "Jump n Bump menu" msgstr "Jump n Bump menu" #: jumpnbump_menu.glade:41 msgid "_Standalone" msgstr "Au_tonome" #: jumpnbump_menu.glade:60 msgid "_Fireworks" msgstr "_Feu d'artifice" #: jumpnbump_menu.glade:80 msgid "_Client" msgstr "_Client" #: jumpnbump_menu.glade:100 msgid "Ser_ver" msgstr "Ser_veur" #: jumpnbump_menu.glade:121 msgid "Mode" msgstr "Mode" #: jumpnbump_menu.glade:230 msgid "Remote server ip/name" msgstr "Serveur distant ip/nom" #: jumpnbump_menu.glade:237 jumpnbump_menu.glade:742 msgid "*" msgstr "*" #: jumpnbump_menu.glade:251 msgid "Your are player number?" msgstr "Votre numéro de joueur" #: jumpnbump_menu.glade:279 msgid "_Number of remote clients:" msgstr "_Nombre de clients distants" #: jumpnbump_menu.glade:304 msgid "Rem_ote server:" msgstr "Serveur _distant" #: jumpnbump_menu.glade:364 msgid "Network" msgstr "Réseau" #: jumpnbump_menu.glade:411 msgid "Fullscr_een" msgstr "Pl_ein écran" #: jumpnbump_menu.glade:429 msgid "No _gore" msgstr "Pas de san_g" #: jumpnbump_menu.glade:447 msgid "_Double resolution" msgstr "Résolution dou_blée" #: jumpnbump_menu.glade:465 msgid "_Mirror level" msgstr "Niveau en _miroir" #: jumpnbump_menu.glade:484 msgid "Graphics" msgstr "Vidéo" #: jumpnbump_menu.glade:525 msgid "No so_und" msgstr "Pas de _son" #: jumpnbump_menu.glade:543 msgid "No f_lies" msgstr "Pas de mouc_hes" #: jumpnbump_menu.glade:561 msgid "_With music but without sound." msgstr "Ave_c musique mais sans son" #: jumpnbump_menu.glade:580 msgid "Sound" msgstr "Son" #: jumpnbump_menu.glade:671 msgid "_Run" msgstr "_Jouer" #: jumpnbump_menu.glade:700 msgid "_About" msgstr "_A propos" #: jumpnbump_menu.glade:719 msgid "About" msgstr "À propos" #: jumpnbump_menu.glade:740 msgid "Jump n Bump menu 0.6" msgstr "Jump n Bump menu 0.6" #: jumpnbump_menu.glade:755 msgid "" "Copyright (c) 2002 Martin Willemoes Hansen \n" "\n" "Jump n Bump starter.\n" "\n" "Gtk+ and Python rocks!!" msgstr "" "Copyright (c) 2002 Martin Willemoes Hansen \n" "\n" "Lanceur pour Jump'n Bump.\n" "\n" "Gtk+ et Python, c'est bon!" #: jumpnbump_menu.glade:836 msgid "_Ok" msgstr "_Ok" debian/contrib/jumpnbump_menu/po/Makefile0000644000000000000000000000064511467746411015765 0ustar LANGS = $(subst .po,,$(wildcard *.po)) MOS = $(subst .po,.mo,$(wildcard *.po)) all: $(MOS) clean: rm -f $(MOS) install: for lang in $(LANGS) ; do \ install -D -o root -g root -m 0644 $$lang.mo $(PREFIX)/share/locale/$$lang/LC_MESSAGES/jumpnbump-menu.mo ; \ done uninstall: for lang in $(LANGS) ; do \ rm $(PREFIX)/share/locale/$$lang/LC_MESSAGES/jumpnbumo-menu.mo ; \ done %.mo: %.po msgfmt -o $@ $< debian/contrib/jumpnbump_menu/po/jumpnbump-menu.pot0000644000000000000000000000445511467746411020033 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-02-23 22:47+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: jumpnbump-menu:46 msgid "Level" msgstr "" #: jumpnbump_menu.glade:8 msgid "Jump n Bump menu" msgstr "" #: jumpnbump_menu.glade:41 msgid "_Standalone" msgstr "" #: jumpnbump_menu.glade:60 msgid "_Fireworks" msgstr "" #: jumpnbump_menu.glade:80 msgid "_Client" msgstr "" #: jumpnbump_menu.glade:100 msgid "Ser_ver" msgstr "" #: jumpnbump_menu.glade:121 msgid "Mode" msgstr "" #: jumpnbump_menu.glade:230 msgid "Remote server ip/name" msgstr "" #: jumpnbump_menu.glade:237 jumpnbump_menu.glade:742 msgid "*" msgstr "" #: jumpnbump_menu.glade:251 msgid "Your are player number?" msgstr "" #: jumpnbump_menu.glade:279 msgid "_Number of remote clients:" msgstr "" #: jumpnbump_menu.glade:304 msgid "Rem_ote server:" msgstr "" #: jumpnbump_menu.glade:364 msgid "Network" msgstr "" #: jumpnbump_menu.glade:411 msgid "Fullscr_een" msgstr "" #: jumpnbump_menu.glade:429 msgid "No _gore" msgstr "" #: jumpnbump_menu.glade:447 msgid "_Double resolution" msgstr "" #: jumpnbump_menu.glade:465 msgid "_Mirror level" msgstr "" #: jumpnbump_menu.glade:484 msgid "Graphics" msgstr "" #: jumpnbump_menu.glade:525 msgid "No so_und" msgstr "" #: jumpnbump_menu.glade:543 msgid "No f_lies" msgstr "" #: jumpnbump_menu.glade:561 msgid "_With music but without sound." msgstr "" #: jumpnbump_menu.glade:580 msgid "Sound" msgstr "" #: jumpnbump_menu.glade:671 msgid "_Run" msgstr "" #: jumpnbump_menu.glade:700 msgid "_About" msgstr "" #: jumpnbump_menu.glade:719 msgid "About" msgstr "" #: jumpnbump_menu.glade:740 msgid "Jump n Bump menu 0.6" msgstr "" #: jumpnbump_menu.glade:755 msgid "" "Copyright (c) 2002 Martin Willemoes Hansen \n" "\n" "Jump n Bump starter.\n" "\n" "Gtk+ and Python rocks!!" msgstr "" #: jumpnbump_menu.glade:836 msgid "_Ok" msgstr "" debian/contrib/jumpnbump_menu/NEWS0000644000000000000000000000053111467746411014400 0ustar 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. debian/contrib/jumpnbump_menu/TODO0000644000000000000000000000015311467746411014371 0ustar o Enable a kill server. (it tends to lock) o Refactor level preview o Make jumpbump.dat the default level debian/contrib/jumpnbump_menu/jumpnbump_menu.py0000644000000000000000000001535711467750375017334 0ustar #!/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 import gettext RESOURCE_DIR='/usr/share/games/jumpnbump' BINARY_DIR='/usr/games' application = "jumpnbump-menu" gettext.install(application) def populate_treeview(): levels = [] add_levels (levels, RESOURCE_DIR) add_levels (levels, os.path.expanduser("~/.jumpnbump/levels")) levels = sorted(levels, key=lambda level: level[0]) COLUMN_LEVEL = 0 COLUMN_DIR = 1 store = gtk.ListStore (gobject.TYPE_STRING, gobject.TYPE_STRING) for level in levels: iter = store.append() store.set (iter, COLUMN_LEVEL, level[0], COLUMN_DIR, level[1]) treeview.set_model (store) renderer = gtk.CellRendererText() treeview.append_column (gtk.TreeViewColumn (_('Level'), renderer, text=COLUMN_LEVEL)) def add_levels(levels, dir): try: for file in os.listdir (dir): if (file.endswith ('.dat') or file.endswith ('.DAT')): levels.append ((file, dir)) except OSError, err: print("%s not found (%s)." % (dir, str(err))) 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' % (model.get_value (iter, 1), 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', domain=application) 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', domain=application) 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() debian/contrib/jumpnbump_menu/AUTHOR0000644000000000000000000000004711467746411014630 0ustar Martin Willemoes Hansen debian/control0000644000000000000000000000176511601334162010577 0ustar Source: jumpnbump Section: games Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Games Team Uploaders: 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-Git: git://git.debian.org/git/pkg-games/jumpnbump.git Vcs-Browser: http://git.debian.org/?p=pkg-games/jumpnbump.git Package: jumpnbump Architecture: any Suggests: jumpnbump-levels Depends: ${misc: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. debian/menu0000644000000000000000000000023711467746411010072 0ustar ?package(jumpnbump):needs="X11" section="Games/Action" \ title="Jump'n'Bump" command="/usr/games/jumpnbump-menu" \ icon="/usr/share/pixmaps/jumpnbump.xpm" debian/docs0000644000000000000000000000005311467746411010052 0ustar debian/FAQ README gob.txt LINKS source.txt debian/jumpnbump.xpm0000644000000000000000000000400011467746411011736 0ustar /* 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 -+-## ", " ", " ", " "}; debian/compat0000644000000000000000000000000211467746411010377 0ustar 6 debian/rules0000755000000000000000000000552111561710710010250 0ustar #!/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 $(MAKE) -C debian/contrib/jumpnbump_menu PREFIX=/usr all touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp [ ! -f Makefile ] || $(MAKE) clean $(MAKE) -C debian/contrib/jumpnbump_menu 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 data/jumpbump.dat $(CURDIR)/debian/jumpnbump/usr/share/games/jumpnbump/ $(MAKE) -C debian/contrib/jumpnbump_menu PREFIX=$(CURDIR)/debian/jumpnbump/usr install # 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_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 debian/patches/0000755000000000000000000000000011601334317010614 5ustar debian/patches/do-not-link-libm.patch0000644000000000000000000000063411467746411014730 0ustar Subject: Do not link libm --- jumpnbump.orig/modify/Makefile +++ jumpnbump/modify/Makefile @@ -1,7 +1,7 @@ CFLAGS = -Wall -ansi -pedantic -O2 -ffast-math -funroll-loops \ -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DNDEBUG \ -I. -I.. -DUSE_NET -D_BSD_SOURCE -LIBS = -lm +LIBS = SRCS = gobpack.c jnbpack.c jnbunpack.c OBJS = gobpack.o jnbpack.o jnbunpack.o TARGETS = ../gobpack ../jnbpack ../jnbunpack debian/patches/safe-temporary-files.patch0000644000000000000000000000377011467746411015716 0ustar Subject: Handle temporary files in a safe way From: Ansgar Burchardt Date: Mon, 29 Sep 2008 22:01:59 +0200 See http://bugs.debian.org/500611. --- jumpnbump.orig/modify/jnbunpack.c +++ jumpnbump/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.orig/sdl/sound.c +++ jumpnbump/sdl/sound.c @@ -23,6 +23,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include +#include #include "globals.h" #include #ifndef _MSC_VER @@ -463,11 +465,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 +505,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; debian/patches/series0000644000000000000000000000032511601334205012025 0ustar exit-fullscreen.patch safe-temporary-files.patch use-usr-share-games.patch do-not-link-libm.patch remove-outdated-network-info.patch remove-XF86Config-information.patch handle-SDL-quit-event.patch as-needed.patch debian/patches/remove-XF86Config-information.patch0000644000000000000000000000132411467746411017310 0ustar Subject: Remove modeline for XF86Config-4 from README --- jumpnbump.orig/README +++ jumpnbump/README @@ -24,14 +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: debian/patches/as-needed.patch0000644000000000000000000000070411601334317013463 0ustar Description: Fix order of parameters passed to ld. Fixes FTBFS when linking with --as-needed. Author: Ilya Barygin --- jumpnbump-1.50+dfsg1.orig/Makefile +++ jumpnbump-1.50+dfsg1/Makefile @@ -22,7 +22,7 @@ $(MODIFY_TARGET): globals.h cd modify && make $(TARGET): $(OBJS) $(SDL_TARGET) data globals.h - $(CC) -o $(TARGET) $(OBJS) $(LIBS) $(SDL_TARGET) + $(CC) -o $(TARGET) $(OBJS) $(SDL_TARGET) $(LIBS) $(OBJS): globals.h debian/patches/handle-SDL-quit-event.patch0000644000000000000000000000067711467746411015635 0ustar Subject: Handle SQL quit event From: Ansgar Burchardt Date: Sat Dec 13 15:00:01 2008 +0100 This patch makes Jump'n'bump quit when pressing the close button or using other means to ask Jump'n'bump to quit (e.g. Alt+F4). Closes: #487333 --- jumpnbump.orig/sdl/interrpt.c +++ jumpnbump/sdl/interrpt.c @@ -419,6 +419,9 @@ break; } break; + case SDL_QUIT: + deinit_program(); + break; default: break; } debian/patches/remove-outdated-network-info.patch0000644000000000000000000000201711467746411017375 0ustar Subject: Remove outdated network information from README From: Francois Marier Date: Sun, 26 Jun 2005 13:02:29 -0400 See http://bugs.debian.org/314221. --- jumpnbump.orig/README +++ jumpnbump/README @@ -44,16 +44,6 @@ 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 debian/patches/exit-fullscreen.patch0000644000000000000000000000135411467746411014765 0ustar Subject: Exit fullscreen mode on quit From: Dan Carpenter Date: Tue, 17 Jan 2006 08:37:51 -0800 See http://bugs.debian.org/338705 --- jumpnbump.orig/globals.pre +++ jumpnbump/globals.pre @@ -344,6 +344,7 @@ #ifdef USE_SDL /* long filelength(int handle); */ void fs_toggle(); +void exit_fullscreen(); int intr_sysupdate(); #endif --- jumpnbump.orig/main.c +++ jumpnbump/main.c @@ -3324,6 +3324,8 @@ __dpmi_regs regs; #endif + exit_fullscreen(); + dj_stop(); dj_free_mod(MOD_MENU); dj_free_mod(MOD_GAME); --- jumpnbump.orig/sdl/gfx.c +++ jumpnbump/sdl/gfx.c @@ -227,6 +227,13 @@ } +void exit_fullscreen() +{ + if (fullscreen) + fs_toggle(); +} + + void wait_vrt(int mix) { return; debian/patches/use-usr-share-games.patch0000644000000000000000000000074611467746411015455 0ustar Subject: Use /usr/share/games/jumpnbump From: Ivo Timmermans Date: Wed, 9 Oct 2002 21:01:32 +0200 Make jumpnbump use /usr/share/games/jumpnbump instead of /usr/local/share/jumpnbump. --- jumpnbump.orig/globals.pre +++ jumpnbump/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 debian/jumpnbump.desktop0000644000000000000000000000031311467746411012606 0ustar [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; debian/copyright0000644000000000000000000000252111467746411011134 0ustar 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 Jump'n'Bump 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. Jump'n'Bump 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. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2. 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. debian/dirs0000644000000000000000000000016311467746411010065 0ustar usr/games usr/lib/jumpnbump usr/share/applications usr/share/games/jumpnbump usr/share/man/man6 usr/share/pixmaps debian/FAQ0000644000000000000000000000274711467746411007545 0ustar 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: debian/source/0000755000000000000000000000000011561711075010472 5ustar debian/source/format0000644000000000000000000000001411561711075011700 0ustar 3.0 (quilt) debian/README.Debian0000644000000000000000000000125411467746411011244 0ustar 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 debian/changelog0000644000000000000000000002266211601334514011046 0ustar jumpnbump (1.50+dfsg1-3ubuntu1) oneiric; urgency=low * as-needed.patch: fix FTBFS related to linking (LP: #770740). -- Ilya Barygin Sat, 25 Jun 2011 14:32:32 +0400 jumpnbump (1.50+dfsg1-3) unstable; urgency=low * Team upload. [ Paul Wise ] * Add patch to the jumpnbump-menu program so that users can add new levels and play them (Closes: #602750) Patch by Stéphane Blondon * Drop dh_desktop usage, it does nothing * Wrap Build-Depends one item per line * Switch to dpkg-source format v3 [ Ansgar Burchardt ] * Fix FTBFS with binutils-gold (Closes: #554929) -- Paul Wise Mon, 09 May 2011 14:51:48 +0800 jumpnbump (1.50+dfsg1-2) unstable; urgency=low [ Francois Marier ] * Remove myself from uploaders [ Ansgar Burchardt ] * Use quilt for patch management, move some files to debian/ * handle SQL quit event (Closes: #487333) * exit fullscreen mode early to avoid crash (Closes: #432361) * Use Makefile to install jumpnbump-menu * Add i18n for jumpnbump-menu (Closes: #516850) - thanks to Stéphane Blondon * Do not link jnbpack, jnbunpack against libm * Mention GPL version in debian/copyright -- Ansgar Burchardt Tue, 03 Mar 2009 01:40:20 +0100 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 debian/jumpnbump.60000644000000000000000000001010411467747511011303 0ustar .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 ADD LEVELS You can add levels in ~/.jumpnbump/levels directory (create it if necessary). To see the added level, you have to restart jumpnbump-menu. The extension name for level is ".dat". .SH CREATE 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).