Bug#425069: Processed: Patch for building against current guichan and boost-filesystem

2007-06-13 Thread Steven Barker

tags 425096 - patch
tags 425069 + patch
thanks

Sorry about this, I sent my patch to the wrong bug report.  The patch
is for the balder2d package.

Steven Barker
[EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#425096: Patch for building against current guichan and boost-filesystem

2007-06-13 Thread Steven Barker

tags 427904 + patch
tags 425096 + patch
thanks

Attached is a patch that solves the current build issues related to
the current versions of guichan and boost-filesystem.  I put it
together by fixing each compiler error message that I encountered
until it worked.

The boost linking issue was simple to resolve, though as with the rest
of the patch, I don't really know what the deep meaning of the change
is (just that the library names are different).

The rest of the fixes were related to the new guichan API.  Half of
these were trivial find/replace jobs (setEventID becomes
setActionEventID and so on).  Only in one place was there a
non-obvious fix needed and I found that simply commenting out that
line has few harmful effects.  I have marked that line with "XXX
FIXME" so it can be found and fixed if it was actually doing something
important.

The patched version compiles and runs on my system (unstable, amd64).
It should be ok on other architectures and systems (but it is
untested!).  Please let me know if there is anything more I can assist
with.

Steven Barker
[EMAIL PROTECTED]
diff -ru balder2d-1.0~rc1-orig/include/menu/gamesetup.h balder2d-1.0~rc1/include/menu/gamesetup.h
--- balder2d-1.0~rc1-orig/include/menu/gamesetup.h	2006-10-15 23:42:21.0 -0700
+++ balder2d-1.0~rc1/include/menu/gamesetup.h	2007-06-12 21:14:12.0 -0700
@@ -33,7 +33,7 @@
 public:
 GameSetupMenu(gcn::Container* top, SubMenu* parent);
 virtual ~GameSetupMenu();
-void action(const std::string& action);
+void action(const gcn::ActionEvent& action);
 private:
 gcn::Button* backButton;
 SampleMapWidget* sampleMap;
diff -ru balder2d-1.0~rc1-orig/include/menu/mainmenu.h balder2d-1.0~rc1/include/menu/mainmenu.h
--- balder2d-1.0~rc1-orig/include/menu/mainmenu.h	2006-10-15 23:42:21.0 -0700
+++ balder2d-1.0~rc1/include/menu/mainmenu.h	2007-06-12 21:00:53.0 -0700
@@ -32,7 +32,7 @@
   public:
 MainMenu(gcn::Container* top, Menu* menusystem);
 virtual ~MainMenu();
-void action(const std::string& action);
+void action(const gcn::ActionEvent& action);
   private:
 Menu* system;
 SubMenu* optionsMenu;
diff -ru balder2d-1.0~rc1-orig/include/menu/menu.h balder2d-1.0~rc1/include/menu/menu.h
--- balder2d-1.0~rc1-orig/include/menu/menu.h	2006-10-15 23:42:21.0 -0700
+++ balder2d-1.0~rc1/include/menu/menu.h	2007-06-12 20:46:50.0 -0700
@@ -35,7 +35,7 @@
   public:
 Menu(SoundManager *);
 virtual ~Menu();
-void action(const std::string& action);
+ void action(const gcn::ActionEvent& action);
 bool Run();
 static SDLKey lastKeyPressed; // ugly hack for keybinding
   private:
diff -ru balder2d-1.0~rc1-orig/include/menu/numberfield.h balder2d-1.0~rc1/include/menu/numberfield.h
--- balder2d-1.0~rc1-orig/include/menu/numberfield.h	2006-10-15 23:42:21.0 -0700
+++ balder2d-1.0~rc1/include/menu/numberfield.h	2007-06-12 22:22:31.0 -0700
@@ -25,7 +25,7 @@
 {
 public:
 NumberField(int n, int maxDigits = 3);
-virtual void mousePress(int x, int y, int button);
+virtual void mousePressed(gcn::MouseEvent &e);
 virtual void keyPress (const gcn::Key &key);
 virtual void draw(gcn::Graphics*);
 int getValue();
diff -ru balder2d-1.0~rc1-orig/include/menu/options.h balder2d-1.0~rc1/include/menu/options.h
--- balder2d-1.0~rc1-orig/include/menu/options.h	2006-10-15 23:42:21.0 -0700
+++ balder2d-1.0~rc1/include/menu/options.h	2007-06-12 21:10:44.0 -0700
@@ -31,7 +31,7 @@
   public:
 OptionsMenu(gcn::Container* top, SubMenu* parent);
 virtual ~OptionsMenu();
-void action(const std::string& action);
+void action(const gcn::ActionEvent& action);
   private:
 SubMenu* gameSetupMenu;
 SubMenu* playerSetupMenu;
diff -ru balder2d-1.0~rc1-orig/include/menu/playersetup.h balder2d-1.0~rc1/include/menu/playersetup.h
--- balder2d-1.0~rc1-orig/include/menu/playersetup.h	2006-10-15 23:42:21.0 -0700
+++ balder2d-1.0~rc1/include/menu/playersetup.h	2007-06-12 21:21:48.0 -0700
@@ -34,7 +34,7 @@
 public:
 PlayerSetupMenu(gcn::Container* top, SubMenu* parent);
 virtual ~PlayerSetupMenu();
-void action(const std::string& action);
+void action(const gcn::ActionEvent& action);
 void BindKey(const gcn::Key& key);
 private:
 void RefreshKeys();
diff -ru balder2d-1.0~rc1-orig/include/menu/soundvideo.h balder2d-1.0~rc1/include/menu/soundvideo.h
--- balder2d-1.0~rc1-orig/include/menu/soundvideo.h	2006-10-15 23:42:21.0 -0700
+++ balder2d-1.0~rc1/include/menu/soundvideo.h	2007-06-12 21:15:23.0 -0700
@@ -31,7 +31,7 @@
 public:
 SoundVideoMenu(gcn::Container* top, SubMenu* parent);
 virtual ~SoundVideoMenu();
-void action(const std::string& action);
+void action(const gcn::ActionEvent& acti

Bug#373712: ghex: Freezes when a search reaches the end of a file

2006-06-15 Thread Steven Barker
Package: ghex
Version: 2.8.2-3
Severity: important


Steps to reproduce:

1. Start ghex
2. Open a file
3. Choose "Find" from the Edit menu
4. Enter any hex or ASCII value that does not exist in the file you
opened and click either "Find Next" or "Find Previous"
5. Freeze!  A message about memory corruption printed to stderr

>From cursory examination it looks to be some kind of issue with
gettext, but as I am totally unfamilliar with that system I've not
investigated very far.

GDB backtrace (of an unstripped copy, compiled from source package):

[EMAIL PROTECTED]:~/src/ghex-2.8.2/src$ LD_LIBRARY_PATH=/usr/lib/debug gdb 
.libs/lt-ghex2
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...Using host libthread_db library 
"/usr/lib/debug/libthread_db.so.1".

(gdb) run
Starting program: /home/steve/src/ghex-2.8.2/src/.libs/lt-ghex2
[Thread debugging using libthread_db enabled]
[New Thread 46912582011472 (LWP 13712)]
[New Thread 1074006368 (LWP 13715)]
[New Thread 1082399072 (LWP 13716)]
[Thread 1082399072 (LWP 13716) exited]
*** glibc detected *** malloc(): memory corruption: 0x00972610 ***

Program received signal SIGABRT, Aborted.
[Switching to Thread 46912582011472 (LWP 13712)]
0x2e3f6de0 in *__GI_raise () from /usr/lib/debug/libc.so.6
(gdb) bt
#0  0x2e3f6de0 in *__GI_raise () from /usr/lib/debug/libc.so.6
#1  0x2e3f8290 in *__GI_abort () from /usr/lib/debug/libc.so.6
#2  0x2e42d01e in __libc_message () from /usr/lib/debug/libc.so.6
#3  0x2e4338aa in _int_malloc () from /usr/lib/debug/libc.so.6
#4  0x2e434cfb in *__GI___libc_malloc () from /usr/lib/debug/libc.so.6
#5  0x2e3f3ce2 in _nl_make_l10nflist () from /usr/lib/debug/libc.so.6
#6  0x2e3f1e20 in _nl_find_domain () from /usr/lib/debug/libc.so.6
#7  0x2e3f1800 in __dcigettext () from /usr/lib/debug/libc.so.6
#8  0x0040e911 in find_next_cb (button=, 
dialog=0x95b950) at findreplace.c:547
#9  0x2dccf910 in IA__g_closure_invoke (closure=0x8f0750, 
return_value=dwarf2_read_address: Corrupted DWARF expression.
) at gclosure.c:490
#10 0x2dcdeaf2 in signal_emit_unlocked_R (node=0x86f9f0, detail=0, 
instance=0x879500, emission_return=0x0,
instance_and_params=0x7fe50490) at gsignal.c:2438
#11 0x2dcdffcc in IA__g_signal_emit_valist (instance=0x879500, 
signal_id=, detail=0,
var_args=0x7fe50710) at gsignal.c:2197
#12 0x2dce0383 in IA__g_signal_emit (instance=0x3590, signal_id=13712, 
detail=6) at gsignal.c:2241
#13 0x2c5c6c0a in gtk_button_key_release (widget=0x3590, event=) at gtkbutton.c:1310
#14 0x2c67f5e0 in _gtk_marshal_BOOLEAN__BOXED (closure=0x6cc470, 
return_value=0x7fe50a00,
n_param_values=, param_values=0x7fe50b00, 
invocation_hint=,
marshal_data=0x2c5c6bd0) at gtkmarshalers.c:83
#15 0x2dccf910 in IA__g_closure_invoke (closure=0x6cc470, 
return_value=dwarf2_read_address: Corrupted DWARF expression.
) at gclosure.c:490
#16 0x2dcdec9d in signal_emit_unlocked_R (node=0x6cc4e0, detail=0, 
instance=0x879500,
emission_return=0x7fe50d20, instance_and_params=0x7fe50b00) at 
gsignal.c:2476
#17 0x2dcdfd0c in IA__g_signal_emit_valist (instance=0x879500, 
signal_id=, detail=0,
var_args=0x7fe50d80) at gsignal.c:2207
#18 0x2dce0383 in IA__g_signal_emit (instance=0x3590, signal_id=13712, 
detail=6) at gsignal.c:2241
#19 0x2c75e1c5 in gtk_widget_event_internal (widget=0x879500, 
event=0x8f9aa0) at gtkwidget.c:3751
#20 0x2c67dae3 in IA__gtk_propagate_event (widget=0x879500, 
event=0x8f9aa0) at gtkmain.c:2161
#21 0x2c67de67 in IA__gtk_main_do_event (event=0x8f9aa0) at 
gtkmain.c:1424
#22 0x2c9c92ac in gdk_event_dispatch (source=, 
callback=,
user_data=) at gdkevents-x11.c:2291
#23 0x2e033afd in IA__g_main_context_dispatch (context=0x577960) at 
gmain.c:1916
#24 0x2e036dc5 in g_main_context_iterate (context=0x577960, block=1, 
dispatch=1, self=)
at gmain.c:2547
#25 0x2e03708a in IA__g_main_loop_run (loop=0x7767e0) at gmain.c:2751
#26 0x2b5cd395 in bonobo_main () from /usr/lib64/libbonobo-2.so.0
#27 0x00410c5d in main (argc=1, argv=0x6d8000) at main.c:127
(gdb) up 8
#8  0x0040e911 in find_next_cb (button=, 
dialog=0x95b950) at findreplace.c:547
547 ghex_window_flash(win, _("End Of File reached"));
(gdb) l
542  
gh->cursor_pos+1, str, str_len, &offset))
543 {
544 gtk_hex_set_cursor(gh, offset);
545 }
546 

Bug#322704: pioneers-client: client hangs on startup if show_toolbar=0 is in config file

2005-08-12 Thread Steven Barker
Package: pioneers-client
Version: 0.9.19-1
Severity: important

The pioneers client runs forever using 100% cpu when started with
the line "show_toolbar=0" in the [settings] section of the the user
config file (~/.gnome2/pioneers).  That line added by the game if
you uncheck the "Toolbar" box in the settings menu, then exit.

Thanks for packaging pioneers for Debian!

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages pioneers-client depends on:
ii  libatk1.0-0   1.10.1-2   The ATK accessibility toolkit
ii  libbonobo2-0  2.10.0-1   Bonobo CORBA interfaces library
ii  libc6 2.3.5-3GNU C Library: Shared libraries an
ii  libgconf2-4   2.10.1-1   GNOME configuration database syste
ii  libglib2.0-0  2.6.6-1The GLib library of C routines
ii  libgnome2-0   2.10.1-1   The GNOME 2 library - runtime file
ii  libgnomevfs2-02.10.1-5   The GNOME virtual file-system libr
ii  libgtk2.0-0   2.6.9-1The GTK+ graphical user interface 
ii  liborbit2 1:2.12.2-3 libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0 1.8.2-1Layout and rendering of internatio
ii  libpopt0  1.7-5  lib for parsing cmdline parameters

Versions of packages pioneers-client recommends:
ii  pioneers-help 0.9.19-1   Online help for the Pioneers clien
ii  pioneers-server-console   0.9.19-1   Pioneers server - a game for Gnome
ii  pioneers-server-gtk   0.9.19-1   Pioneers server - a game for Gnome

-- no debconf information

-- 
Steven Barker [EMAIL PROTECTED]
  There are no winners in life, only survivors.
Get my GnuPG public key at: http://www.blckknght.org/publickey.asc
Fingerprint: 272A 3EC8 52CE F22B F745  775E 5292 F743 EBD5 936B

[settings]
show_toolbar=1
toolbar_show_accelerators=1

[favorites]
server0name=localhost
server0port=5556

[connect]
server=localhost
port=5556
meta-server=pioneers.debian.net
name=steve


signature.asc
Description: Digital signature


Bug#280513: xscreensaver and fortune

2005-03-13 Thread Steven Barker
Hi Rafael,

xscreensaver can work properly without fortune, but you have to
configure it to use a different program to get text (using the
-program option for most hacks).  Because fortune is not strictly
necessary for normal operaton, a dependancy isn't required by Debian
policy.  If I were the maintainer, I would probably use Reccomends,
but there may be a reason Suggests is more appropriate in this case.

If this satisfies you, I will close this bug.  If you really think
there the relation be a Depends, you can say so and I'll leave it
open.

-- 
Steven Barker [EMAIL PROTECTED]
  You'd like to do it instantaneously, but that's too slow.
Get my GnuPG public key at: http://www.blckknght.org/publickey.asc
Fingerprint: 272A 3EC8 52CE F22B F745  775E 5292 F743 EBD5 936B


signature.asc
Description: Digital signature


Bug#222734: Bug#22734 is still present in xscreensaver version 4.16-1

2005-03-13 Thread Steven Barker
reopen 222734 =
thanks

This bug is still present in the latest version of xscreensaver
available in Debian.

Just a couple of weeks ago the upstream author indicates that the
patch I wrote would go into the 4.21 release, but that version is not
in Debian (in fact, it hasn't been released yet).  Until it is, the
Debian maintainer should consider applying the patch to the Debian
version.  It's an obviously correct fix.

I'm re-opening the bug.  I'm not really sure why it was closed.
Reading the bug log and looking at the version numbers should have
made it clear that this fix had not yet been applied.  You could even
run /usr/lib/xscreensaver/pyro yourself and judge for yourself.

-- 
Steven Barker [EMAIL PROTECTED]
Get my GnuPG public key at: http://www.blckknght.org/publickey.asc
Fingerprint: 272A 3EC8 52CE F22B F745  775E 5292 F743 EBD5 936B


signature.asc
Description: Digital signature