Revision 4da8ff9...

Go back to digest for 17th March 2013

Features in KDE Base

Vishesh Handa committed changes in [nepomuk-core/feature/service2] /:

Introduce Nepomuk Service 2

Nepomuk Service version 2 unlike the old services are not launched by
the nepomukservicestub process. Instead they each have their own
process, which they install.

Nepomuk Service2 are implemented by deriving from the Service2 base
class. The derived class needs to provide its own main function as well.

This patch implements the following -

* Nepomuk::Service2 implementation
* Port the nepomukserver to support both Service and Service2
* Port all the services to Service2
--- Storage (nepomukstorage)
--- File Indexer (nepomukfileindexer)
--- File Watch (nepomukfilewatch)

These Service2 classes are much lighter as some of them can be
QCoreApplications instead of a KApplication with a ui (The FileIndexer
requires a UI for KIdleTime)

Additionally, this makes debugging a lot simpler as we will no longer
get reports that "nepomukservicestub" crash or is acting up. We will
always know which service is at fault.

File Changes

Added 4 files
  • /service
  •   libnepomukcore/nepomukservice2.desktop
  •   libnepomukcore2.cpp
  •   libnepomukcore2.h
  •   libnepomukcorecontrol2.cpp
Modified 15 files
  •   libnepomukcore/CMakeLists.txt
  •   server/servicecontroller.cpp
  •   server/servicemanager.cpp
  •   services/fileindexer/CMakeLists.txt
  •   services/fileindexer/fileindexer.cpp
  •   services/fileindexer/fileindexer.h
  •   services/fileindexer/nepomukfileindexer.desktop
  •   services/filewatch/CMakeLists.txt
  •   services/filewatch/nepomukfilewatch.cpp
  •   services/filewatch/nepomukfilewatch.desktop
  •   services/filewatch/nepomukfilewatch.h
  •   services/storage/CMakeLists.txt
  •   services/storage/nepomukstorage.desktop
  •   services/storage/storage.cpp
  •   services/storage/storage.h
19 files changed in total