On Wed, May 03, 2006 at 11:29:25PM -0700, Steve Langasek wrote:
> Well, I'm afraid I have to reopen this bug.  It turns out that it was never
> really an xaw3dg bug at all: emacs21 build-depends only on xaw3dg-dev, but
> expects to find X11/Xaw/Paned.h, which has never been shipped by xaw3dg-dev
> but only incidentally dragged in by a (wrong) dependency on libxaw7-dev.

It seems emacs21 #includes X11/Xaw/ everywhere except for the 3d
scrollbars, in which case (if it finds -lXaw3d during configure) it will
#include from X11/Xaw3d/.  Further, if it finds -lXaw3d during
configure, it will replace -lXaw with -lXaw3d, so in the end emacs21
only links against Xaw3d.

At least, AFAICT.
 
> Perhaps xaw3dg-dev should actually be installing its own headers as
> X11/Xaw/*, I don't know; 

This is configurable in xaw3d's Imakefile, but the upstream default is
X11/Xaw3d/ and Debian does not appear to change this.  Xaw3d's README
(which is the only source of information I found so far) does not seem
to touch the question on which #include line to use.

> but in practice this is not the interface that Xaw3d provides,
> upstream or in Debian, so emacs21 needs to either include X11/Xaw3d/*
> instead of X11/Xaw/, or build-depend on libxaw7-dev.

At least emacs CVS still does that (only #including
<X11/Xaw3d/Scrollbar.h> etc. for the scrollbars and otherwise using
<X11/Xaw/*.h>)


Michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to