In Qt, at/near line 66 of /src/plugins/platforms/xcb/qxcbwindow.cpp), they
check to see if one of the #DEFINE macros from one of the newer, divided-util
XCB 'include' files had been defined. (It's not defined until after the util
packages were split.) Maybe that would be shorter, easier than a big
'FIND_PACKAGE' search?
On Tuesday, 26 June 2012 19:26:37 David Faure wrote:
On 06/27/2012 05:00 AM, [email protected] wrote:
Send Kde-frameworks-devel mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Kde-frameworks-devel digest..."
Today's Topics:
1. Re: Porting the NETWM classes to xcb (David Faure)
----------------------------------------------------------------------
Message: 1
Date: Tue, 26 Jun 2012 19:26:37 +0200
From: David Faure <[email protected]>
To: [email protected], [email protected],
[email protected]
Subject: Re: Porting the NETWM classes to xcb
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"
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 ....). See
FindSoprano.cmake for an example. The list could get quite long, but most code
won't need all modules, right?
CC'ing kde-buildsystem for help.
Just in case the example I found is outdated :)
_______________________________________________
Kde-frameworks-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel