Package: dasher
Version: 3.2.13-1
Severity: serious
Tags: patch

dasher fails to build because it passes too few parameters to
wnck_window_activate:

> if i486-linux-gnu-g++ -DPACKAGE_NAME=\"dasher\" -DPACKAGE_TARNAME=\"dasher\" 
> -DPACKAGE_VERSION=\"3.2.13\" -DPACKAGE_STRING=\"dasher\ 3.2.13\" 
> -DPACKAGE_BUGREPORT=\"[EMAIL PROTECTED]" -DPACKAGE=\"dasher\" 
> -DVERSION=\"3.2.13\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
> -DHAVE_DLFCN_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -DGETTEXT_PACKAGE=\"dasher\" 
> -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 
> -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -DHAVE_LIBEXPAT=1 
> -DHAVE_XTST=1 -DGNOME_LIBS=1 -DGNOME_SPEECH=1 -DGNOME_A11Y=1  -I. -I.    -O2 
> -DXTHREADS -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include 
> -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 
> -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
>  -DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DORBIT2=1 -pthread 
> -I/usr/include/gnome-speech-1.0 -I/usr/include/libbonobo-2.0 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 
> -I/usr/include/bonobo-activation-2.0   -DORBIT2=1 -pthread -DXTHREADS 
> -I/usr/include/bonobo-activation-2.0 -I/usr/include/glib-2.0 
> -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 
> -I/usr/include/libbonobo-2.0 -I/usr/include/libgnomeui-2.0 
> -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 
> -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 
> -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0 
> -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/pango-1.0 
> -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include 
> -I/usr/include/atk-1.0 -I/usr/include/libxml2 -I/usr/include/at-spi-1.0   
> -DXTHREADS -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 
> -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include 
> -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DORBIT2=1 -pthread 
> -DXTHREADS -I/usr/include/libgnome-2.0 -I/usr/include/glib-2.0 
> -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 
> -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 
> -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include 
> -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 
> -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 
> -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 
> -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include 
> -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/libxml2   
> -DXTHREADS -I/usr/include/libwnck-1.0 -I/usr/include/gtk-2.0 
> -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 
> -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 
> -I/usr/lib/glib-2.0/include   -DWNCK_I_KNOW_THIS_IS_UNSTABLE 
> -I./../DasherCore -DPROGDATA=\"/usr/share/dasher\" -I../../intl -I../../intl 
> -g -O2 -MT edit.o -MD -MP -MF ".deps/edit.Tpo" -c -o edit.o edit.cc; \
> then mv -f ".deps/edit.Tpo" ".deps/edit.Po"; else rm -f ".deps/edit.Tpo"; 
> exit 1; fi
> edit.cc: In function 'void gtk2_edit_outputcontrol_callback(void*, int)':
> /usr/include/libwnck-1.0/libwnck/window.h:198: error: too few arguments to 
> function 'void wnck_window_activate(WnckWindow*, guint32)'
> edit.cc:189: error: at this point in file

The attached patch (extracted from upstream :) fixes this problem.

-- 
Matt
--- dasher-3.2.13.orig/Src/Gtk2/edit.cc
+++ dasher-3.2.13/Src/Gtk2/edit.cc
@@ -186,7 +186,8 @@
     break;
   case 31:
          if (pointer!=NULL) {
-                 wnck_window_activate((WnckWindow *)pointer);
+                 wnck_window_activate((WnckWindow *)pointer,
+                                      gtk_get_current_event_time());
          }
          break;
 #endif

Attachment: signature.asc
Description: Digital signature

Reply via email to