[PATCH v5 xserver] config: declare xserver private dependencies in xorg-server.pc

Gaetan Nadon memsize at videotron.ca
Wed Jun 16 10:49:06 PDT 2010


On Wed, 2010-06-16 at 08:45 -0700, Dan Nicholson wrote:


> Since the reason for these variables is to populate the pkg-config
> Requires field, I don't think it makes sense to have an "optional"
> version. When you call "pkg-config --cflags xorg-server", the module
> will be required. So, I'd just put everything under
> SDK_REQUIRED_MODULES. SDK_OPTIONAL_MODULES is misleading since it
> seems to mean "optional in the build" and modules are required once
> they're exposed by the sdk.
> 
> In other words, if you've built the server such that the DRI2
> extension is enabled _and_ dri2proto datatypes/protocal are exposed in
> the sdk headers, then the module is required by xorg-server.
> 

I see how it can be confusing. 

> Also, we only want to add modules to Requires that are explicitly
> exposed by the sdk. If a driver decides it needs a specific API that's
> not exposed by the xorg sdk, then it should handle that itself.
> 

It took me a while to figure out what is "exposed" vs "what is not
exposed". 
I never used that SDK...


> Thanks for grovelling through all the drivers, though. It's definitely
> good to know what APIs are actually in use.
> 

Thanks for your patience, it will help reducing and strengthening driver
configuration.

> --
> Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100616/558d9879/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100616/558d9879/attachment.pgp>


More information about the xorg-devel mailing list