Package: gajim
Version: 0.7.1-1
Severity: serious
Tags: patch

gajim fails to build because it cannot include
<X11/extensions/scrnsaver.h>:

> cc `pkg-config --cflags gtk+-2.0 pygtk-2.0` -fpic 
> -I/usr/include/python`python -V 2>&1 | awk '{print $2}' | cut -f1,2 -d.` -I. 
> `pkg-config --libs gtk+-2.0 pygtk-2.0` -shared idle.c  -o idle.so 
> -L/usr/X11R6/lib -lX11 -lXss -lXext
> idle.c:22:39: error: X11/extensions/scrnsaver.h: No such file or directory
> In file included from /usr/include/python2.3/Python.h:8,
>                  from idle.c:31:
> /usr/include/python2.3/pyconfig.h:856:1: warning: "_POSIX_C_SOURCE" redefined
> In file included from /usr/include/sys/types.h:27,
>                  from /usr/X11R6/include/X11/Xlib.h:52,
>                  from idle.c:20:
> /usr/include/features.h:190:1: warning: this is the location of the previous 
> definition
> idle.c: In function 'idle_getIdleSec':
> idle.c:57: error: syntax error before '*' token
> idle.c:67: error: 'mit_info' undeclared (first use in this function)
> idle.c:67: error: (Each undeclared identifier is reported only once
> idle.c:67: error: for each function it appears in.)

The attached patch adds a build-dependency on libxss-dev, which fixes
this problem.

-- 
Matt
diff -u gajim-0.7.1/debian/control gajim-0.7.1/debian/control
--- gajim-0.7.1/debian/control
+++ gajim-0.7.1/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Yann Le Boulanger <[EMAIL PROTECTED]>
 Standards-Version: 3.6.1.1
-Build-Depends: debmake, python-dev, libgtk2.0-dev, python-gtk2-dev, 
libgtkspell-dev, gettext
+Build-Depends: debmake, python-dev, libgtk2.0-dev, python-gtk2-dev, 
libgtkspell-dev, gettext, libxss-dev
 
 Package: gajim
 Architecture: any

Attachment: signature.asc
Description: Digital signature

Reply via email to