[KPhotoAlbum] libkface

Robert Krawitz rlk at alum.mit.edu
Sat Oct 11 17:58:40 BST 2014


On Sat, 11 Oct 2014 12:09:24 +0200, Tobias Leupold wrote:
> Hi list :-)
>
> Just that this is not only a conversation between me and Gilles Caulier from Digikam ;-)
>
> Quite a lot of work is going on at the moment to detach libkface from Digikam and make it an independent library, released with KDE itself. You can read the whole story on the Digikam-devel, Kde-graphics-devel and kde-core-devel mailing lists.
>
> Hopefully, libkface will already be included as a separate lib in the next KDE release. Some changes had to be made so that it could be accepted. I just pushed the necessary changes to the KPA codebase to reflect these changes (so git master now depends on the current libkface git master. At the moment, we don't have a libkface release with the "new" API yet).
>
> Cheers, Tobias
> _______________________________________________
> KPhotoAlbum mailing list
> KPhotoAlbum at mail.kdab.com
> https://mail.kdab.com/mailman/listinfo/kphotoalbum

Currently getting the following build error (I have kface 4.3.0 installed):

[  6%] Building CXX object CMakeFiles/kphotoalbum.dir/FaceManagement/Recognizer.cpp.o
/home/rlk/sandbox/kphotoalbum/FaceManagement/Recognizer.cpp: In member function ‘void FaceManagement::Recognizer::changeIdentityName(QString, QString, QString)’:
/home/rlk/sandbox/kphotoalbum/FaceManagement/Recognizer.cpp:112:61: error: expression cannot be used as a function
     m_recognitionDatabase.setIdentityAttributes(identity.id(), attributes);
                                                             ^
/home/rlk/sandbox/kphotoalbum/FaceManagement/Recognizer.cpp: In member function ‘void FaceManagement::Recognizer::updateCategoryName(QString, QString)’:
/home/rlk/sandbox/kphotoalbum/FaceManagement/Recognizer.cpp:205:80: error: expression cannot be used as a function
             m_recognitionDatabase.setIdentityAttributes(allIdentities.at(i).id(), attributes);
                                                                                ^
/home/rlk/sandbox/kphotoalbum/FaceManagement/Recognizer.cpp: In member function ‘QPair<QString, QString> FaceManagement::Recognizer::parseIdentity(KFaceIface::Identity)’:
/home/rlk/sandbox/kphotoalbum/FaceManagement/Recognizer.cpp:243:37: error: ‘class KFaceIface::Identity’ has no member named ‘attributesMap’
     QStringList tagParts = identity.attributesMap()[QString::fromLatin1("fullName")].split(
                                     ^
make[2]: *** [CMakeFiles/kphotoalbum.dir/FaceManagement/Recognizer.cpp.o] Error 1
make[1]: *** [CMakeFiles/kphotoalbum.dir/all] Error 2
make: *** [all] Error 2


-- 
Robert Krawitz                                     <rlk at alum.mit.edu>

MIT VI-3 1987 - Congrats MIT Engineers 6 straight men's hoops tourney
Tall Clubs International  --  http://www.tall.org/ or 1-888-IM-TALL-2
Member of the League for Programming Freedom  --  http://ProgFree.org
Project lead for Gutenprint   --    http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton



More information about the Kphotoalbum mailing list