Porting the NETWM classes to xcb

Alexander Neundorf neundorf at kde.org
Wed Jun 27 20:32:13 UTC 2012


On Tuesday 26 June 2012, David Faure wrote:
> On Wednesday 04 April 2012 00:27:34 Fredrik Höglund wrote:
> > It's apparently also an issue that some Linux distributions are shipping
> > old versions of xcb that are missing some of the libraries the cmake
> > test checks for.
> 
> I tried compiling your netwm-xcb changes (merged onto kdelibs-4.9), but it
> fails to find xcb_util.h (and the associated pkgconfig module).
> 
> (The all-in-one PKG_CHECK_MODULES makes diagnosing this a bit difficult
> btw. Removing QUIET helps, though:
>  package 'xcb-util' not found
>  package 'xcb-ewmh' not found
> )
> 
> > Right now the only library kdelibs is using is the core
> > xcb library. This will change over time though, so I'm not sure what the
> > best way is to deal with this.
> 
> Quick fix: comment out everything else ;)
> 
> Longer term fix: ask kde-buildsystem for the proper way to do this.
> Probably something related to the user of FindXCB.cmake asking for the
> modules that it needs. There's obviously support for that in cmake, but I
> don't know the exact details. Something with FIND_PACKAGE(XCB COMPONENTS
> ....). 

Yes.

OTOH, I know nothing about xcb.
That's the replacement for xlib, right ?
Maybe we can have a look in Tallinn...

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20120627/da96c58a/attachment.html>


More information about the Kde-buildsystem mailing list