[SCM] ktp-common-internals packaging branch, master, updated. debian/15.12.1-2-1839-gf0635e9

Maximiliano Curia maxy at moszumanska.debian.org
Mon May 9 09:07:36 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=5431ba8

The following commit has been merged in the master branch:
commit 5431ba800dcca2f90cacb9f52617c2e1ad742852
Author: Vishesh Handa <me at vhanda.in>
Date:   Thu May 23 19:23:02 2013 +0530

    Make sure PersonContact is a nie:DataObject
    
    That way they do not get identified.
    
    Nepomuk has this resource identification code which tries to find other
    PersonContacts which are similar to the one being pushed. That code is
    useful in the case when pushing generic stuff like artists, and email
    contacts, but not in this case where each PersonContact directly
    corresponds to a vcard. We do not want it merged with any other contact.
---
 kpeople/nepomuk-feeder/nepomuk-storage.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/kpeople/nepomuk-feeder/nepomuk-storage.cpp b/kpeople/nepomuk-feeder/nepomuk-storage.cpp
index 04b820a..adee609 100644
--- a/kpeople/nepomuk-feeder/nepomuk-storage.cpp
+++ b/kpeople/nepomuk-feeder/nepomuk-storage.cpp
@@ -38,6 +38,7 @@
 
 #include <Nepomuk2/Vocabulary/NCO>
 #include <Nepomuk2/Vocabulary/PIMO>
+#include <Nepomuk2/Vocabulary/NIE>
 #include <Soprano/Vocabulary/RDF>
 #include <Soprano/Vocabulary/NAO>
 #include <Soprano/Vocabulary/NRL>
@@ -594,6 +595,7 @@ void NepomukStorage::createContact(const QString &path, const Tp::ContactPtr &co
 
     Nepomuk2::SimpleResource newPersonContact;
     newPersonContact.addType(NCO::PersonContact());
+    newPersonContact.addType(NIE::DataObject());
 
     Nepomuk2::SimpleResource newImAccount;
     //TODO: Somehow add this imAccount as a sub resource the account, maybe.

-- 
ktp-common-internals packaging



More information about the pkg-kde-commits mailing list