kdepimlibs dependency on nepomuk-core breaks build for Calligra and kdeplasma-addons

Andreas Pakulat apaku at gmx.de
Mon Dec 17 19:57:33 UTC 2012


Hi,

On Mon, Dec 17, 2012 at 8:07 PM, Ben Cooksley <bcooksley at kde.org> wrote:
> Currently build.kde.org is unable to successfully complete builds of
> kdeplasma-addons and Calligra due to recent changes in kdepimlibs.
> These changes are a port from Nepomuk (part of kdelibs) to NepomukCore
> (a seperate repository).
>
> As kdepimlibs uses the *Config.cmake method of exporting it's
> location, this means that the proper location of the library is not
> set correctly.
> The nepomukcore library will only be found if all projects which
> depend on kdepimlibs include the following:
> find_package(NepomukCore)
>
> Last time a problem such as this occurred it involved KDevPlatform and
> Grantlee - and the fix in that case was to ensure the
> KDevPlatformConfig.cmake file included the above find_package line
> itself. Can someone please make this adjustment, or propose a better
> way of fixing this?

Actually thats wrong, the fix in the case of KDevPlatform was to not
expose the Grantlee dependencies in the public API of kdevplatform and
hence make it unecessary to link to grantlee when linking to the
corresponding kdevplatform library.

Andreas


More information about the Kde-buildsystem mailing list