playground/base/nepomuk-kde/ontologyimportclient

Michael Jansen kde at michael-jansen.biz
Mon Aug 31 13:39:08 CEST 2009


On Monday 31 August 2009 12:59:02 Alexander Neundorf wrote:
> On Friday 21 August 2009, Michael Jansen wrote:
> > SVN commit 1014078 by mjansen:
> >
> > The file is installed by
> > kdebase/runtime/nepomuk/ontologies/CMakeLists.txt into
> > ${DBUS_INTERFACES_INSTALL_DIR} .
> >
> > For us that means KDE4_DBUS_INTERFACE_DIR since we don't support
> > installing kdelibs and kdebase into different prefixes.

We meant kde as a whole. While i tried to install kdelibs and kdebase into 
different prefixes i found a lot of problems that weren't easy to fix. Stuff 
compiled but didn't run. I fixed some of those bugs but went back because i did 
not get a real functional setup that way.

So i talked to david and we came to the conclusion we don't (really) support 
it.

Should i start to install into different prefixes again and try to fix all those 
bugs? Or do we once and for all decide that is not supported.

IIRC strigi / nepomuk had some problems finding their plugins. There were 
others i forgot.

> This sounds like a bug. If you (i.e. ontologyimportclient) don't support
> kdelibs and kdebase in different directories, then it is broken and will
>  not build on such systems (e.g. my system and there are more).

I just tried to fix this because it broke many times for me. So i can't help 
you with the other questions.

> There are two options: either keep searching ENV XDG_DATA_DIRS, or also
>  export the kdebase interface dir when installing kdebase/runtime/ (this is
>  e.g. already done for kdebase/workspace, there is a
> KDE4WORKSPACE_DBUS_INTERFACES_DIR in KDE4WorkspaceConfig.cmake.in)

Searching XDG_DATA_DIRS will not help iirc. It is not set for most of us so 
the user/developer has to set it manually. So the 
KDE4RUNTIME_DBUS_INTERFACES_DIR would be the only solution if you ask me 
because it could work automatically.

But we should make a decision what we support installation wise. Document it 
and make a declaration. Currently it's not really known what we support and 
not.

Mike


More information about the Kde-buildsystem mailing list