Porting the NETWM classes to xcb

Rick Stockton rickstockton at reno-computerhelp.com
Wed Jun 27 16:50:23 UTC 2012


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, kde-frameworks-devel-request at kde.org wrote:
> Send Kde-frameworks-devel mailing list submissions to
> 	kde-frameworks-devel at kde.org
>
> 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
> 	kde-frameworks-devel-request at kde.org
>
> You can reach the person managing the list at
> 	kde-frameworks-devel-owner at kde.org
>
> 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 <faure at kde.org>
> To: kde-frameworks-devel at kde.org, fredrik at kde.org,
> 	kde-buildsystem at kde.org
> Subject: Re: Porting the NETWM classes to xcb
> Message-ID: <67039546.yvAyumZeWd at asterix.site>
> 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 :)
>




More information about the Kde-frameworks-devel mailing list