From 5cf40dba79301e2d54d63c8da4607325159f26b6 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 6 May 2012 21:49:47 +0200 Subject: Remove kde-runtime dependency "nepomukdatamanagement" Follow the suggestion from Vishesh Handa and copy the ResourceWatcher code from kde-runtime instead of creating a dependency. This will of course get removed again as soon as Nepomuk's resource watcher will get a public API. --- src/CMakeLists.txt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3a06d6093..c00d29c20 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -77,7 +77,16 @@ if (Nepomuk_FOUND) set(dolphinprivate_LIB_SRCS ${dolphinprivate_LIB_SRCS} kitemviews/private/knepomukrolesprovider.cpp + kitemviews/private/nepomuk/resourcewatcher.cpp ) + + qt4_add_dbus_interface(dolphinprivate_LIB_SRCS + kitemviews/private/nepomuk/org.kde.nepomuk.ResourceWatcherConnection.xml + resourcewatcherconnectioninterface) + + qt4_add_dbus_interface(dolphinprivate_LIB_SRCS + kitemviews/private/nepomuk/org.kde.nepomuk.ResourceWatcher.xml + resourcewatchermanagerinterface) endif (Nepomuk_FOUND) kde4_add_kcfg_files(dolphinprivate_LIB_SRCS @@ -103,7 +112,6 @@ if (Nepomuk_FOUND) dolphinprivate ${NEPOMUK_LIBRARIES} ${NEPOMUK_QUERY_LIBRARIES} - nepomukdatamanagement nepomukutils ${SOPRANO_LIBRARIES} ) @@ -219,7 +227,6 @@ if (Nepomuk_FOUND) ${NEPOMUK_LIBRARIES} ${SOPRANO_LIBRARIES} ${NEPOMUK_QUERY_LIBRARIES} - nepomukdatamanagement nepomukutils ) endif (Nepomuk_FOUND) -- cgit v1.3.1