<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
On Wed, 2010-06-09 at 23:48 +0200, Julien Cristau wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
On Wed, Jun  9, 2010 at 17:42:00 -0400, Gaetan Nadon wrote:

&gt; On Wed, 2010-06-09 at 23:24 +0200, Julien Cristau wrote:
&gt; 
&gt; &gt; On Wed, Jun  9, 2010 at 17:17:44 -0400, Gaetan Nadon wrote:
&gt; &gt; 
&gt; &gt; &gt; The xf86.h file contains external declarations specific to RANDR
&gt; &gt; &gt; If this extension is defined (installed) evdev will not compile
&gt; &gt; &gt; if randrproto is not installed.
&gt; &gt; &gt; Because this is an optional extension, XORG_DRIVER_CHECK_EXT
&gt; &gt; &gt; must be used.
&gt; &gt; &gt; 
&gt; &gt; If the only thing pulling in randr headers is xf86.h then the dependency
&gt; &gt; on randrproto should come from xorg-server.pc, not from evdev.
&gt; &gt; 
&gt; 
&gt; The protocols are independent packages which can be removed/uninstalled
&gt; at any time. I simply go to proto/randrproto and &quot;make uninstall&quot;. Then
&gt; evdev fails to compile. Same issue with xext and kbproto. The xf86.h
&gt; file is &quot;for video driver&quot; according to it's own comment.
&gt; 
&gt; I would love for this dependency not to exist. I originally thought it
&gt; did not.
&gt; 
I'm not sure what you're getting at, but that has nothing to do with
what I said afaict.  I'm saying 'Requires.private: randrproto' in
xorg-server.pc would be the correct way to express the fact that xf86.h
needs randrproto.h.

</PRE>
</BLOCKQUOTE>
Now I get it. However randr is an optional extension, it may or may not be defined in the server. On the other hand, the server should perhaps have this in place for xext, kbproto and inputproto which are part of the server and not optional. This is an interesting path...<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
Cheers,
Julien
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>