KDE/kdebase/runtime

Maciej Mrozowski reavertm at gmail.com
Mon May 3 18:37:07 CEST 2010


On Sunday 11 of April 2010 20:11:45 Andreas Pakulat wrote:
> On 11.04.10 17:46:55, Alexander Neundorf wrote:
> > On Sunday 11 April 2010, Andreas Pakulat wrote:
> > > SVN commit 1113683 by apaku:
> > > 
> > > Fix finding SDO.
> > > 
> > > kdebase couldn't be compiled, complaining about missing
> > > function/classes in a namespace. It took me 30 minutes to find out
> > > that:
> > > a) the files where this is are generated
> > > b) the source files are from a too-old SDO version
> > > 
> > > The problem is that the check only lists SDO as an optional package
> > > that couldn't be found, but still tries to build the nepomuk stuff. So
> > > either
> > 
> > This is still not fixed ????
> > Grmbl...
> > 
> > Which part exactly did not build ?
> 
> runtime/nepomuk/strigibackend/nepomukindexwritter.cpp as it uses some
> generated file where my SDO 0.1 didn't contain the necessary stuff.
> 
> Andreas

I've adjusted this dependency a bit so that nepomuk will not be built if SDO 
3.0 is not found (instead of failing on whole kdebase/runtime making us Gentoo 
"splitters" unhappy).
(SDO CMake functions are needed in multiple places, but still only in 
nepomuk/)

Still issue remains that SDO needs to be searched explicitly (it's not covered 
just by find_package(Nepomuk))

Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt      (revision 1122320)
+++ CMakeLists.txt      (working copy)
@@ -18,7 +18,7 @@
 
 set(SOPRANO_MIN_VERSION "2.3.70")
 set(SDO_MIN_VERSION "0.3.0")
-macro_optional_find_package(SharedDesktopOntologies ${SDO_MIN_VERSION} 
REQUIRED)
+macro_optional_find_package(SharedDesktopOntologies ${SDO_MIN_VERSION})
 macro_optional_find_package(Nepomuk)
 macro_log_feature(SHAREDDESKTOPONTOLOGIES_FOUND "Shared desktop ontologies" 
"Desktop ontologies" "http://oscaf.sourceforge.net" FALSE ${SDO_MIN_VERSION} 
"Ontologies necessary for the Nepomuk semantic desktop.")
 macro_log_feature(Nepomuk_FOUND "Nepomuk" "Nepomuk Libraries" "kdelibs" FALSE 
"" "Required to build Nepomuk.")
@@ -63,9 +63,9 @@
    add_subdirectory(solidautoeject)
    add_subdirectory(solid-device-automounter)
 endif ( UNIX )
-if(Nepomuk_FOUND AND STRIGI_STRIGIQTDBUSCLIENT_LIBRARY AND 
SOPRANO_PLUGIN_REDLANDBACKEND_FOUND AND SOPRANO_PLUGIN_VIRTUOSOBACKEND_FOUND 
AND SOPRANO_PLUGIN_RAPTORPARSER_FOUND)
+if(SHAREDDESKTOPONTOLOGIES_FOUND AND Nepomuk_FOUND AND 
STRIGI_STRIGIQTDBUSCLIENT_LIBRARY AND SOPRANO_PLUGIN_REDLANDBACKEND_FOUND AND 
SOPRANO_PLUGIN_VIRTUOSOBACKEND_FOUND AND SOPRANO_PLUGIN_RAPTORPARSER_FOUND)
   macro_optional_add_subdirectory(nepomuk)
-endif(Nepomuk_FOUND AND STRIGI_STRIGIQTDBUSCLIENT_LIBRARY AND 
SOPRANO_PLUGIN_REDLANDBACKEND_FOUND AND SOPRANO_PLUGIN_VIRTUOSOBACKEND_FOUND 
AND SOPRANO_PLUGIN_RAPTORPARSER_FOUND)
+endif(SHAREDDESKTOPONTOLOGIES_FOUND AND Nepomuk_FOUND AND 
STRIGI_STRIGIQTDBUSCLIENT_LIBRARY AND SOPRANO_PLUGIN_REDLANDBACKEND_FOUND AND 
SOPRANO_PLUGIN_VIRTUOSOBACKEND_FOUND AND SOPRANO_PLUGIN_RAPTORPARSER_FOUND)
 
 # Plugins/components required for basic utility
 add_subdirectory(kcontrol)

-- 
regards
MM


More information about the Kde-buildsystem mailing list