[SCM] Packaging of frozen-bubble game in Debian branch, master, updated. debian/2.212-2-7-g85cba85

Dominique Dumont dod at debian.org
Sun Jun 17 16:31:40 UTC 2012


The following commit has been merged in the master branch:
commit f97db150c3cb366565210ddbc915ebf4b126a736
Author: Dominique Dumont <dod at debian.org>
Date:   Sun Jun 17 17:49:51 2012 +0200

    new shorter-nick patch: makes lan nick length compatible with lan-server (Closes: #459666)

diff --git a/debian/patches/series b/debian/patches/series
index 0dd45c0..8ba2559 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ hard-code-share-dir-path
 total_bubbles
 de_po
 spelling-error-in-manpage.patch
+shorter-nick
diff --git a/debian/patches/shorter-nick b/debian/patches/shorter-nick
new file mode 100644
index 0000000..3217e8c
--- /dev/null
+++ b/debian/patches/shorter-nick
@@ -0,0 +1,25 @@
+Description: Shorter nick
+ nickname for lan game is limited to 12 char by the server. frozen-bubble adds a 'lan-' prefix so the limit
+ is actually 8. THis nick is used only for lan games so
+ the hi-score should not be affected.
+Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=459666
+--- a/bin/frozen-bubble
++++ b/bin/frozen-bubble
+@@ -203,7 +203,7 @@
+  --colour-blind         use bubbles for colourblind people
+  --joysticks-info       print information about detected joystick(s) on startup
+  --no-echo              when sound is enabled, disable echoing each typed character with a typewriter sound
+- --my-nick <nick>       for net/lan games, use this nick instead of username (max 10 chars, ASCII alphanumeric plus dash and underscore only)
++ --my-nick <nick>       for net/lan games, use this nick instead of username (max 8 chars, ASCII alphanumeric plus dash and underscore only)
+  --private              when starting a net game, don't use http://hostip.info/ to retrieve your geographical position to send it to other players
+  --record <dir>         specify the recording directory (normally, records are saved in the directory '$FBHOME/records')
+  --auto-record          automatically record all applicable games (normally, a record is triggered by hitting the Print Screen key during a game)
+@@ -3682,7 +3682,7 @@
+ 
+ sub sanitize_nick {
+     my ($nick) = @_;
+-    $nick = substr($nick, 0, 10);
++    $nick = substr($nick, 0, 8);
+     $nick =~ s/[^a-zA-Z0-9_-]//g;
+     return $nick;
+ }

-- 
Packaging of frozen-bubble game in Debian



More information about the Pkg-perl-cvs-commits mailing list