<commit_before>include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/include )
include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/src/searchproviders )
include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/src )
include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/src/handler )
include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/test )
include_directories( ${QT_QTDBUS_INCLUDE_DIR} )

add_subdirectory( src )
add_subdirectory( debugger )

set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions" )

########### next target ###############
set(libakonadiprivate_SRCS
  src/akonadi.cpp
  src/akonadiconnection.cpp
  src/handler.cpp
  src/handlerhelper.cpp
  src/response.cpp
  src/handler/append.cpp
  src/handler/create.cpp
  src/handler/capability.cpp
  src/handler/expunge.cpp
  src/handler/fetch.cpp
  src/handler/fetchquery.cpp
  src/handler/list.cpp
  src/handler/login.cpp
  src/handler/logout.cpp
  src/handler/noop.cpp
  src/handler/search.cpp
  src/handler/searchhelper.cpp
  src/handler/searchpersistent.cpp
  src/handler/select.cpp
  src/handler/status.cpp
  src/handler/store.cpp
  src/handler/storequery.cpp
  src/handler/uid.cpp
  test/teststoragebackend.cpp
  src/persistentsearch.cpp
  src/persistentsearchmanager.cpp
  src/searchprovider.cpp
  src/searchprovidermanager.cpp
  src/searchproviders/emailsearchprovider.cpp
  src/storage/entity.cpp
  src/storage/datastore.cpp
  src/storage/debug.cpp
  src/collection.cpp
  src/tracer.cpp
  src/dbustracer.cpp
  src/filetracer.cpp
  src/notificationmanager.cpp
)

set(akonadiserver_bin_SRCS ${libakonadiprivate_SRCS}
    src/main.cpp
)

qt4_add_dbus_adaptor( libakonadiprivate_SRCS
  src/org.kde.Akonadi.NotificationManager.xml notificationmanager.h NotificationManager
)
qt4_add_dbus_adaptor( libakonadiprivate_SRCS
  src/org.kde.Akonadi.Tracer.xml dbustracer.h DBusTracer
)

kde4_automoc(${libakonadiprivate_SRCS} ${akonadiserver_bin_SRCS})

kde4_add_executable(akonadi_bin ${akonadiserver_bin_SRCS})
set_target_properties(akonadi_bin PROPERTIES OUTPUT_NAME akonadi)
target_link_libraries(akonadi_bin ${QT_QTCORE_LIBRARIES}  ${QT_QTNETWORK_LIBRARIES} ${QT_QTSQL_LIBRARIES} ${QT_QTDBUS_LIBRARIES})

install_targets(/bin akonadi_bin)

<commit_msg>Use correct namespace.<commit_after>include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/include )
include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/src/searchproviders )
include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/src )
include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/src/handler )
include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/test )
include_directories( ${QT_QTDBUS_INCLUDE_DIR} )

add_subdirectory( src )
add_subdirectory( debugger )

set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions" )

########### next target ###############
set(libakonadiprivate_SRCS
  src/akonadi.cpp
  src/akonadiconnection.cpp
  src/handler.cpp
  src/handlerhelper.cpp
  src/response.cpp
  src/handler/append.cpp
  src/handler/create.cpp
  src/handler/capability.cpp
  src/handler/expunge.cpp
  src/handler/fetch.cpp
  src/handler/fetchquery.cpp
  src/handler/list.cpp
  src/handler/login.cpp
  src/handler/logout.cpp
  src/handler/noop.cpp
  src/handler/search.cpp
  src/handler/searchhelper.cpp
  src/handler/searchpersistent.cpp
  src/handler/select.cpp
  src/handler/status.cpp
  src/handler/store.cpp
  src/handler/storequery.cpp
  src/handler/uid.cpp
  test/teststoragebackend.cpp
  src/persistentsearch.cpp
  src/persistentsearchmanager.cpp
  src/searchprovider.cpp
  src/searchprovidermanager.cpp
  src/searchproviders/emailsearchprovider.cpp
  src/storage/entity.cpp
  src/storage/datastore.cpp
  src/storage/debug.cpp
  src/collection.cpp
  src/tracer.cpp
  src/dbustracer.cpp
  src/filetracer.cpp
  src/notificationmanager.cpp
)

set(akonadiserver_bin_SRCS ${libakonadiprivate_SRCS}
    src/main.cpp
)

qt4_add_dbus_adaptor( libakonadiprivate_SRCS
  src/org.kde.Akonadi.NotificationManager.xml notificationmanager.h Akonadi::NotificationManager
)
qt4_add_dbus_adaptor( libakonadiprivate_SRCS
  src/org.kde.Akonadi.Tracer.xml dbustracer.h Akonadi::DBusTracer
)

kde4_automoc(${libakonadiprivate_SRCS} ${akonadiserver_bin_SRCS})

kde4_add_executable(akonadi_bin ${akonadiserver_bin_SRCS})
set_target_properties(akonadi_bin PROPERTIES OUTPUT_NAME akonadi)
target_link_libraries(akonadi_bin ${QT_QTCORE_LIBRARIES}  ${QT_QTNETWORK_LIBRARIES} ${QT_QTSQL_LIBRARIES} ${QT_QTDBUS_LIBRARIES})

install_targets(/bin akonadi_bin)


{'fraction_non_alphanumeric': 0.10596777853415021, 'fraction_numerical': 0.0018152938506920807, 'mean_word_length': 5.974683544303797, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5689884', 'n_tokens_mistral': 1696, 'n_tokens_neox': 1641, 'n_words': 178}