Bug#713734: Update

Niko Tyni ntyni at debian.org
Thu Aug 15 16:43:11 UTC 2013


On Tue, Aug 13, 2013 at 07:41:16PM +0200, Dominic Hargreaves wrote:
 
> I tried to fix this by applying define_functions_fix_build.patch from
> the Ubuntu package, 

FWIW that patch (attached for the maintainer's convenience) seems fine to me.

> but another failure then appeared:

The actual error here is

  xtext.c: In function ‘gtk_xtext_set_clip_owner’:
  xtext.c:2070:3: error: implicit declaration of function ‘gtk_clipboard_get’ [-Werror=implicit-function-declaration]
     gtk_clipboard_set_text (gtk_clipboard_get (GDK_SELECTION_CLIPBOARD), str, len);
   ^
and it presumably doesn't happen in Ubuntu because they patch that part
away with 120-fix-clipboard-segfault.patch (attached as well.)

I see the underlying reason for the error is that the gtk_clipboard_get()
declaration in <gtk/gtkclipboard.h> reads

  #ifndef GDK_MULTIHEAD_SAFE
  GtkClipboard *gtk_clipboard_get             (GdkAtom       selection);
  #endif

and xtext.c defines GDK_MULTIHEAD_SAFE. I can't say what the correct fix
would be.

The package builds fine for me with these two patches applied.
-- 
Niko Tyni   ntyni at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 120-fix-clipboard-segfault.patch
Type: text/x-diff
Size: 1537 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20130815/ab512136/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: define_functions_fix_build.patch
Type: text/x-diff
Size: 948 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20130815/ab512136/attachment-0001.patch>


More information about the pkg-gnome-maintainers mailing list