tags 372558 patch
kthxbye

On Sat, Jun 10, 2006 at 09:40:23 +0200, Julien Danjou wrote:

> Package: gai
> Version: 0.5.10-1
> Severity: serious
> 
> Hello,
> 
> There was a problem while autobuilding your package:
> 
> > Automatic build of gai_0.5.10-1 on avidan by sbuild/i386 0.46
> > Build started at 20060610-0430
> > ******************************************************************************
> ...
> > checking /usr/X11R6/include/X11/X.h usability... no
> > checking /usr/X11R6/include/X11/X.h presence... no
> > checking for /usr/X11R6/include/X11/X.h... no
> > configure: error: No header files for X windows is found. Is xlib devel 
> > installed?

Hi,

the attached patch makes configure look for X.h in /usr/include/X11
instead of /usr/X11R6/include/X11.  It also adds a build-dep on
x11proto-core-dev.
(I didn't include the patch to configure itself, so you need to run
autoconf after applying this.)

Cheers,
Julien
diff -u gai-0.5.10/debian/changelog gai-0.5.10/debian/changelog
--- gai-0.5.10/debian/changelog
+++ gai-0.5.10/debian/changelog
@@ -1,3 +1,10 @@
+gai (0.5.10-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Look for X.h in /usr/include/X11/ (Closes: #372558).
+
+ -- Julien Cristau <[EMAIL PROTECTED]>  Sat, 10 Jun 2006 13:06:24 +0200
+
 gai (0.5.10-1) unstable; urgency=low
 
   * New upstream release (closes: #303697).
diff -u gai-0.5.10/debian/control gai-0.5.10/debian/control
--- gai-0.5.10/debian/control
+++ gai-0.5.10/debian/control
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Jose M. Moya <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.1.0), cdbs, libpanel-applet2-dev (>= 2.4), 
libgtkglext1-dev (>= 1.0.0), libpango1.0-dev (>= 1.2.5), xmms-dev (>= 1.2), 
libsdl1.2-dev (>= 1.2.0)
+Build-Depends: debhelper (>= 4.1.0), cdbs, libpanel-applet2-dev (>= 2.4), 
libgtkglext1-dev (>= 1.0.0), libpango1.0-dev (>= 1.2.5), xmms-dev (>= 1.2), 
libsdl1.2-dev (>= 1.2.0), x11proto-core-dev
 Standards-Version: 3.6.2
 
 Package: libgai0
only in patch2:
unchanged:
--- gai-0.5.10.orig/configure.in
+++ gai-0.5.10/configure.in
@@ -149,7 +149,7 @@
 
 dnl Checking for X header file.
 
-AC_CHECK_HEADER(/usr/X11R6/include/X11/X.h, [], [
+AC_CHECK_HEADER(/usr/include/X11/X.h, [], [
        AC_MSG_ERROR(No header files for X windows is found. Is xlib devel 
installed?)
 ])
 
@@ -417,4 +417,4 @@
 echo "It might be that the gai.pc file will be installed into a directory 
which"
 echo "pkg-config doesn't know about(=you won't be able to install applets)."
 echo "See README for help."
-fi
\ No newline at end of file
+fi

Attachment: signature.asc
Description: Digital signature

Reply via email to