Your message dated Mon, 09 May 2011 07:17:11 +0000
with message-id <[email protected]>
and subject line Bug#602750: fixed in jumpnbump 1.50+dfsg1-3
has caused the Debian Bug report #602750,
regarding jumpnbump-menu uses a directory in ~ to store additionnal levels
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
602750: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=602750
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: jumpnbump
Version: 1.50+dfsg1-2
Severity: wishlist
Tags: patch
Currently, jumpnbump-menu searchs levels only in
'/usr/share/games/jumpnbump'. Only root can add levels in this
directory, so normal users can't use jumpnbump-menu and add new levels
by themself. In the last case, they need to use a terminal.
This patch modifies the behaviour of jumpnbump-menu to:
- display and play levels found in '~/.jumpnnbump/levels/' (and the
'/usr/share/games/jumpnbump' as before);
- search for file with extension '.dat' or '.DAT' because several
levels found on the web are in uppercase.
The diff for the manpage provide info about this new feature.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages jumpnbump depends on:
ii imagemagick 8:6.6.0.4-2.2 image manipulation programs
ii libc6 2.11.2-6+squeeze1 Embedded GNU C Library: Shared lib
ii libsdl-mixer1.2 1.2.8-6+b1 mixer library for Simple DirectMed
ii libsdl-net1.2 1.2.7-2 network library for Simple DirectM
ii libsdl1.2debian 1.2.14-6.1 Simple DirectMedia Layer
ii python 2.6.6-3+squeeze1 interactive high-level object-orie
ii python-glade2 2.17.0-4 GTK+ bindings: Glade support
ii python-gtk2 2.17.0-4 Python bindings for the GTK+ widge
jumpnbump recommends no packages.
Versions of packages jumpnbump suggests:
ii jumpnbump-levels 20091107 cute multiplayer platform game wit
-- no debconf information
--
Stéphane
--- /usr/games/jumpnbump-menu 2009-03-03 04:52:17.000000000 +0100
+++ ./jump_modif 2010-11-07 19:43:02.000000000 +0100
@@ -13,6 +13,7 @@
import gtk.gdk
import gobject
import os
+import posixpath
import tempfile
import shutil
import gettext
@@ -25,24 +26,32 @@
def populate_treeview():
levels = []
- for file in os.listdir (RESOURCE_DIR):
- if (file.endswith ('.dat')):
- levels.append (file)
-
- levels.sort()
+ add_levels (levels, RESOURCE_DIR)
+ add_levels (levels, posixpath.expanduser("~/.jumpnbump/levels"))
+
+ levels = sorted(levels, key=lambda level: level[0])
COLUMN_LEVEL = 0
- store = gtk.ListStore (gobject.TYPE_STRING)
+ 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)
+ 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)
@@ -85,7 +94,8 @@
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))
+ choosen_level = '%s/%s' % (model.get_value (iter, 1), model.get_value (iter, 0))
+
unpackdir = None
try:
unpackdir = tempfile.mkdtemp ("", "jumpnbump-menu-")
--- jumpnbump-menu.6 2010-11-07 19:35:10.000000000 +0100
+++ modif.jumpnbump-menu.6 2010-11-07 19:31:59.000000000 +0100
@@ -84,7 +84,11 @@
bunniesinspace - gravity is lower, you can jump higher
lordoftheflies - the flies are attracted
bloodisthickerthanwater - water turns to blood
-.SH LEVELS
+.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
--- End Message ---
--- Begin Message ---
Source: jumpnbump
Source-Version: 1.50+dfsg1-3
We believe that the bug you reported is fixed in the latest version of
jumpnbump, which is due to be installed in the Debian FTP archive:
jumpnbump_1.50+dfsg1-3.debian.tar.gz
to main/j/jumpnbump/jumpnbump_1.50+dfsg1-3.debian.tar.gz
jumpnbump_1.50+dfsg1-3.dsc
to main/j/jumpnbump/jumpnbump_1.50+dfsg1-3.dsc
jumpnbump_1.50+dfsg1-3_amd64.deb
to main/j/jumpnbump/jumpnbump_1.50+dfsg1-3_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Paul Wise <[email protected]> (supplier of updated jumpnbump package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Mon, 09 May 2011 14:51:48 +0800
Source: jumpnbump
Binary: jumpnbump
Architecture: source amd64
Version: 1.50+dfsg1-3
Distribution: unstable
Urgency: low
Maintainer: Debian Games Team <[email protected]>
Changed-By: Paul Wise <[email protected]>
Description:
jumpnbump - cute multiplayer platform game with bunnies
Closes: 554929 602750
Changes:
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 <[email protected]>
* 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)
Checksums-Sha1:
eb2a3de0a11bb01adf108e4cfeeb9ea991747de9 1349 jumpnbump_1.50+dfsg1-3.dsc
d239252bf3bb3790877176a092a697772964badf 19534
jumpnbump_1.50+dfsg1-3.debian.tar.gz
ad76d463a4ad63c454545455a0cf8a73bd81c86a 316576
jumpnbump_1.50+dfsg1-3_amd64.deb
Checksums-Sha256:
2b787229a3e7046d6203272f1aeb99451d60672c2e5b16fc5af0a7ffd9ca4d12 1349
jumpnbump_1.50+dfsg1-3.dsc
353b1b164fbe9eaefe90658137c44883613ab7bfbcd4869429399207590369be 19534
jumpnbump_1.50+dfsg1-3.debian.tar.gz
f6e2b53f15696e7b16f3517c17a166af7c2b666c94468e327e4406743602fdfb 316576
jumpnbump_1.50+dfsg1-3_amd64.deb
Files:
24ec1b0c1cce3c98d5376ba0e9d0effb 1349 games optional jumpnbump_1.50+dfsg1-3.dsc
2959327dfad55ed94056878d0f19beaa 19534 games optional
jumpnbump_1.50+dfsg1-3.debian.tar.gz
18d21f3fa15aad45d74996a1ce48926b 316576 games optional
jumpnbump_1.50+dfsg1-3_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk3HkuUACgkQ5Sc9mGvjxCPulwCglQn3AL/r7SdRv8wPLgb0xgSa
aDAAoK7vqXa0rVWhj7m2H4teiMtltZ8i
=xt05
-----END PGP SIGNATURE-----
--- End Message ---