Notice that, previously, <code>find_package(Nepomuk)</code> would internally call <code>find_package(Soprano)</code>, but since <code>find_package(NepomukCore)</code> does not, you would additionally have to find Soprano explicitly to be able to use Soprano CMake macros, e.g., <code>include(SopranoAddOntology)</code>.

Notice that, previously, <code>find_package(Nepomuk)</code> would internally call <code>find_package(Soprano)</code>, but since <code>find_package(NepomukCore)</code> does not, you would additionally have to find Soprano explicitly to be able to use Soprano CMake macros, e.g., <code>include(SopranoAddOntology)</code>.

−

== Migration Notes ==

+

== Migration Notes == <!--T:17-->

=== Thing vs Resource ===

=== Thing vs Resource ===

The ''Thing'' is an abstract concept in the ontologies that certain real-world stuff is derived from. We used to have special handling for it in Nepomuk, but since we never used it in anything that was shipped, we decided to remove it, and in Nepomuk2, any previous instance of it can be replaced with a ''Resource''.

The ''Thing'' is an abstract concept in the ontologies that certain real-world stuff is derived from. We used to have special handling for it in Nepomuk, but since we never used it in anything that was shipped, we decided to remove it, and in Nepomuk2, any previous instance of it can be replaced with a ''Resource''.

+

<!--T:18-->

The Vocabularies stay the same, e.g. <code>Nepomuk2::Vocabulary::PIMO::Thing()</code> , so they shouldn't be removed.

The Vocabularies stay the same, e.g. <code>Nepomuk2::Vocabulary::PIMO::Thing()</code> , so they shouldn't be removed.

Latest revision as of 18:23, 7 April 2013

Other languages:

English

Contents

Maintaining Source Compatibility

With KDE 4.9, Nepomuk moved out out kdelibs into its own repository. KDE libs is required to maintain source compatibility with earlier releases, and therefore we could not just remove the nepomuk components from kdelibs.

A new repository called nepomuk-core was introduced which contains all the main components of nepomuk. This included vasts parts of kdelibs/nepomuk and kde-runtime/nepomuk. Another repository called nepomuk-widgets has also been introduced for 4.10.

Porting to Nepomuk2

Nepomuk2 is predominantly just a namespace change from Nepomuk to Nepomuk2. Additionally, the deprecated components of Nepomuk have been removed. In order to make porting easier, a simple script has been provided -

Notice that, previously, find_package(Nepomuk) would internally call find_package(Soprano), but since find_package(NepomukCore) does not, you would additionally have to find Soprano explicitly to be able to use Soprano CMake macros, e.g., include(SopranoAddOntology).

Migration Notes

Thing vs Resource

The Thing is an abstract concept in the ontologies that certain real-world stuff is derived from. We used to have special handling for it in Nepomuk, but since we never used it in anything that was shipped, we decided to remove it, and in Nepomuk2, any previous instance of it can be replaced with a Resource.

The Vocabularies stay the same, e.g. Nepomuk2::Vocabulary::PIMO::Thing() , so they shouldn't be removed.