Package: frozen-bubble Version: 2.1.0-2 Severity: minor Tags: patch User: [EMAIL PROTECTED] Usertags: origin-ubuntu hardy ubuntu-patch
The frozen bubble level editor has a minor but annoying defect when the user attempts to open a levelset. The defect is that an artifact from the "choose levelset level to play" dialog (from the start 1 player game menu) shows up on the "open levelset" dialog as well. You can find additional information here https://bugs.launchpad.net/ubuntu/+source/frozen-bubble/+bug/181933 *** /tmp/tmpWrf2WF In Ubuntu, we've applied the attached patch to achieve the following: * debian/rules, debian/control, debian/patches/00list: - added dpatch support * debian/patches/fble_open_dialog.dpatch: - fixed level editor showing selected level (LP: #181933) (thanks to David Joham for the patch) We thought you might be interested in doing the same. -- System Information: Debian Release: lenny/sid APT prefers hardy-updates APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500, 'hardy') Architecture: i386 (i686) Kernel: Linux 2.6.24-3-generic (SMP w/2 CPU cores) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -u frozen-bubble-2.1.0/debian/control frozen-bubble-2.1.0/debian/control --- frozen-bubble-2.1.0/debian/control +++ frozen-bubble-2.1.0/debian/control @@ -3,7 +3,7 @@ Priority: extra Maintainer: Ubuntu MOTU Developers <[EMAIL PROTECTED]> XSBC-Original-Maintainer: Josselin Mouette <[EMAIL PROTECTED]> -Build-Depends: debhelper (>= 5), libsdl-perl (>= 1.20-8), perl (>= 5.8), libsdl1.2-dev (>= 1.2.4), libsdl-mixer1.2-dev (>> 1.2.2), libsdl-pango-dev, libglib2.0-dev, dpkg-dev (>= 1.13.19) +Build-Depends: debhelper (>= 5), libsdl-perl (>= 1.20-8), perl (>= 5.8), libsdl1.2-dev (>= 1.2.4), libsdl-mixer1.2-dev (>> 1.2.2), libsdl-pango-dev, libglib2.0-dev, dpkg-dev (>= 1.13.19), dpatch Standards-Version: 3.7.2 Package: frozen-bubble diff -u frozen-bubble-2.1.0/debian/rules frozen-bubble-2.1.0/debian/rules --- frozen-bubble-2.1.0/debian/rules +++ frozen-bubble-2.1.0/debian/rules @@ -6,18 +6,20 @@ # architecture-dependant package, as well as an architecture-independent # package. +include /usr/share/dpatch/dpatch.make + # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 DEST_DIR=$(CURDIR)/debian/tmp/usr build: build-stamp -build-stamp: +build-stamp: patch-stamp dh_testdir $(MAKE) PREFIX=/usr DATADIR=/usr/share/games LOCALEDIR=/usr/share/locale LIBDIR=/usr/lib/games BINDIR=/usr/games MANDIR=/usr/share/man OPTIMIZE="-O2 -g -Wall" touch build-stamp -clean: +clean: unpatch dh_testdir dh_testroot rm -f build-stamp configure-stamp diff -u frozen-bubble-2.1.0/debian/changelog frozen-bubble-2.1.0/debian/changelog only in patch2: unchanged: --- frozen-bubble-2.1.0.orig/debian/patches/00list +++ frozen-bubble-2.1.0/debian/patches/00list @@ -0,0 +1,2 @@ +fble_open_dialog.dpatch only in patch2: unchanged: --- frozen-bubble-2.1.0.orig/debian/patches/fble_open_dialog.dpatch +++ frozen-bubble-2.1.0/debian/patches/fble_open_dialog.dpatch @@ -0,0 +1,21 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fble_open_dialog.dpatch by Mario Bonino <[EMAIL PROTECTED]> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Patch to fix frozen bubble level editor open levelset dialog bug (patch from David Joham). + [EMAIL PROTECTED]@ +diff -urNad frozen-bubble-2.1.0~/c_stuff/lib/FBLE.pm frozen-bubble-2.1.0/c_stuff/lib/FBLE.pm +--- frozen-bubble-2.1.0~/c_stuff/lib/FBLE.pm 2006-10-27 12:14:39.000000000 +0200 ++++ frozen-bubble-2.1.0/c_stuff/lib/FBLE.pm 2008-01-11 14:38:43.000000000 +0100 +@@ -1363,10 +1363,6 @@ + } + } + $list_browser_highlight_offset = $file_highlight_offset; +- if (is_ok_select_start_value($start_level) == 0) { +- $start_level = $file_browser_levelsets_num_levels[$list_browser_highlight_offset]; +- show_selected_level(); +- } + display_levelset_screenshot(); + } else { + $list_browser_highlight_offset = $file_highlight_offset;