Package: ion2 Version: 20040729-1 Severity: serious Tags: patch ion2 fails to build because it cannot find Xinerama.h:
> gcc -g -Os -W -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs > -Wformat -Wchar-subscripts -Wparentheses -pedantic -Wuninitialized > -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -I/usr/X11R6/include > -I../libtu/include -I.. -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -std=c99 > -DCF_HAS_VA_COPY -c rootwin.c -o rootwin.o > rootwin.c:25:37: error: X11/extensions/Xinerama.h: No such file or directory > rootwin.c:322: error: syntax error before '*' token > rootwin.c: In function 'xinerama_sanity_check': > rootwin.c:326: error: 'nxi' undeclared (first use in this function) > rootwin.c:326: error: (Each undeclared identifier is reported only once > rootwin.c:326: error: for each function it appears in.) > rootwin.c:329: error: 'xi' undeclared (first use in this function) > rootwin.c: In function 'manage_rootwin': > rootwin.c:347: error: 'XineramaScreenInfo' undeclared (first use in this > function) > rootwin.c:347: error: 'xi' undeclared (first use in this function) > rootwin.c:352: warning: implicit declaration of function > 'XineramaQueryExtension' > rootwin.c:353: warning: implicit declaration of function > 'XineramaQueryScreens' Adding libxinerama-dev to the build-dependencies, as the attached patch does, fixes this problem. The second hunk of the patch makes it ignore make's exit status for the realclean target, which allows "debian/rules clean" to succeed in a clean source package. -- Matt
diff -u ion2-20040729/debian/control ion2-20040729/debian/control --- ion2-20040729/debian/control +++ ion2-20040729/debian/control @@ -4,7 +4,7 @@ Maintainer: Per Olofsson <[EMAIL PROTECTED]> Uploaders: Norbert Tretkowski <[EMAIL PROTECTED]> Standards-Version: 3.6.1.0 -Build-Depends: debhelper (>> 4), libx11-dev, gcc (>> 3), liblua50-dev (>> 5.0.2), liblualib50-dev (>> 5.0.2), lua50 (>> 5.0.2), libtool (>> 1.4.1), libltdl3-dev (>> 1.4.1), tetex-extra, hevea +Build-Depends: debhelper (>> 4), libx11-dev, gcc (>> 3), liblua50-dev (>> 5.0.2), liblualib50-dev (>> 5.0.2), lua50 (>> 5.0.2), libtool (>> 1.4.1), libltdl3-dev (>> 1.4.1), tetex-extra, hevea, libxinerama-dev Package: ion2 Section: x11 diff -u ion2-20040729/debian/rules ion2-20040729/debian/rules --- ion2-20040729/debian/rules +++ ion2-20040729/debian/rules @@ -39,7 +39,7 @@ dh_testroot rm -f build-indep-stamp build-arch-stamp - $(MAKE) realclean + -$(MAKE) realclean cd ion-doc && $(MAKE) realclean dh_clean
signature.asc
Description: Digital signature