Akonadi integration

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Akonadi integration

Martin Riethmayer
Hello Digikam-Team / Users,

First of all: thank you so much for providing such a wonderful software!
I love using it, even though I'm only just beginning to manage my fotos
and I'm sure there's so much I just don't know yet.

One of the things I recently discovered is the tagging of fotos with
Faces / Persons. Unfortunately (in my opinion), digikam does not seem to
support / import the contacts from Akonadi / KAdressBook. I've done a
google search and only came up with a mailing-list conversation, that
didn't like Akonadi that much - however, the conversation is a few years
old [1].

I'm on KDE SC 4.13 (opensuse 13.1, KDE Current repository enabled) now,
and (at least for me) the KDE PIM suite and Akonadi work very well and I
have a well organized Adressbook (synced with a Kolab-Server). I'm using
digikam 4.0 and it seems the contacts are not imported / shared with
Akonadi.

Is there a plug-in / run-time switch / compile-time switch which I could
download / enable to make this integration happening? Am I doing
something wrong?

If not, is there hope that you will re-consider the current situation
with regards to the Akonadi integration? I actually love the idea of the
integrated / semantic / shared-data approach by KDE.

Best regards

Martin

[1] http://mail.kde.org/pipermail/digikam-users/2011-August/013831.html

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Akonadi integration

Gilles Caulier-4
Martin,

I forwarded to your mailbox a private talk from few days ago about this subject.

I CC this talk here for info and archiving in this mailing list :

Forwarded conversation
Subject: Digikam and KAddressbook
------------------------

From: Raymond Wooninck <[hidden email]>
Date: 2014-05-10 10:41 GMT+02:00
To: Gilles Caulier <[hidden email]>


Hi Gilles,

Question about Digikam and face tagging. According to the documentation,
Digikam can make use of the Kaddressbook when it was compiled with kdepimlibs
support.

In openSUSE we are compiling digikam with kdepimlibs (which is nicely
indicated from the cmake results), but users are indicating that nothing shows
up from their addressbooks.

Now I wonder if we missed any requirement that is needed to have this support
or that with Nepomuk dropped now, this feature no longer works ?

This is with KDE 4.13, which now has baloo instead of Nepomuk.

Thanks

Regards

Raymond
OpenSUSE KDE Community Packaging lead

----------
From: Gilles Caulier <[hidden email]>
Date: 2014-05-10 11:26 GMT+02:00
To: Raymond Wooninck <[hidden email]>


All code relevant of KAdressBook is commented. I don't know why exactly :

//void ContextMenuHelper::slotABCContextMenu()
//{
//#ifdef HAVE_KDEPIMLIBS
//    d->ABCmenu->clear();
//
//    KABC::AddressBook* ab = KABC::StdAddressBook::self();
//    QStringList names;
//
//    for ( KABC::AddressBook::Iterator it = ab->begin(); it !=
ab->end(); ++it )
//    {
//        names.push_back(it->formattedName());
//    }
//
//    qSort(names);
//
//    for ( QStringList::ConstIterator it = names.constBegin(); it !=
names.constEnd(); ++it )
//    {
//        QString name = *it;
//
//        if (!name.isNull() )
//        {
//            d->ABCmenu->addAction(name);
//        }
//    }
//
//    if (d->ABCmenu->isEmpty())
//    {
//        QAction* nothingFound = d->ABCmenu->addAction(i18n("No
address book entries found"));
//        nothingFound->setEnabled(false);
//    }
//
//#endif // HAVE_KDEPIMLIBS
//}

Probably, this code do not compile anymore with KDEPimLib...

Gilles Caulier

2014-05-10 10:41 GMT+02:00 Raymond Wooninck <[hidden email]>:

----------
From: Gilles Caulier <[hidden email]>
Date: 2014-05-10 11:32 GMT+02:00
To: Raymond Wooninck <[hidden email]>


Yes, i can confirm that KAdressBook API has changed, and if i
uncomment code in digiKam, this will not compile fine :

[ 58%] Building CXX object
core/digikam/CMakeFiles/digikam.dir/utils/contextmenuhelper.cpp.o
/mnt/devel/GIT/3.x/core/digikam/utils/contextmenuhelper.cpp: In member
function ‘void Digikam::ContextMenuHelper::slotABCContextMenu()’:
/mnt/devel/GIT/3.x/core/digikam/utils/contextmenuhelper.cpp:570:4:
erreur: ‘KABC’ has not been declared
    KABC::AddressBook* ab = KABC::StdAddressBook::self();
    ^
/mnt/devel/GIT/3.x/core/digikam/utils/contextmenuhelper.cpp:570:23:
erreur: ‘ab’ was not declared in this scope
    KABC::AddressBook* ab = KABC::StdAddressBook::self();
                       ^
/mnt/devel/GIT/3.x/core/digikam/utils/contextmenuhelper.cpp:570:28:
erreur: ‘KABC’ has not been declared
    KABC::AddressBook* ab = KABC::StdAddressBook::self();
                            ^
/mnt/devel/GIT/3.x/core/digikam/utils/contextmenuhelper.cpp:573:10:
erreur: ‘KABC’ has not been declared
    for ( KABC::AddressBook::Iterator it = ab->begin(); it != ab->end(); ++it )
          ^
/mnt/devel/GIT/3.x/core/digikam/utils/contextmenuhelper.cpp:573:38:
erreur: expected ‘;’ before ‘it’
    for ( KABC::AddressBook::Iterator it = ab->begin(); it != ab->end(); ++it )
                                      ^
/mnt/devel/GIT/3.x/core/digikam/utils/contextmenuhelper.cpp:573:56:
erreur: ‘it’ was not declared in this scope
    for ( KABC::AddressBook::Iterator it = ab->begin(); it != ab->end(); ++it )
                                                        ^
core/digikam/CMakeFiles/digikam.dir/build.make:4186: recipe for target
'core/digikam/CMakeFiles/digikam.dir/utils/contextmenuhelper.cpp.o'
failed
make[2]: *** [core/digikam/CMakeFiles/digikam.dir/utils/contextmenuhelper.cpp.o]
Error 1
CMakeFiles/Makefile2:12231: recipe for target
'core/digikam/CMakeFiles/digikam.dir/all' failed
make[1]: *** [core/digikam/CMakeFiles/digikam.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2

Gilles Caulier

2014-05-10 11:26 GMT+02:00 Gilles Caulier <[hidden email]>:

----------
From: Raymond Wooninck <[hidden email]>
Date: 2014-05-10 17:37 GMT+02:00
To: Gilles Caulier <[hidden email]>


On Saturday 10 May 2014 11:32:27 you wrote:
> Yes, i can confirm that KAdressBook API has changed, and if i
> uncomment code in digiKam, this will not compile fine :
Hi Gilles,

Thanks for looking into this. Will the code be adjusted to the new API or
rather be dropped completely ?

Thanks

Regards

Raymond

----------
From: Gilles Caulier <[hidden email]>
Date: 2014-05-10 17:39 GMT+02:00
To: Raymond Wooninck <[hidden email]>



Good question. No idea for the moment. I will put this job to my TODO list

Gilles

2014-05-10 17:37 GMT+02:00 Raymond Wooninck <[hidden email]>:

2014-05-21 10:18 GMT+02:00 Martin Riethmayer <[hidden email]>:

> Hello Digikam-Team / Users,
>
> First of all: thank you so much for providing such a wonderful software! I
> love using it, even though I'm only just beginning to manage my fotos and
> I'm sure there's so much I just don't know yet.
>
> One of the things I recently discovered is the tagging of fotos with Faces /
> Persons. Unfortunately (in my opinion), digikam does not seem to support /
> import the contacts from Akonadi / KAdressBook. I've done a google search
> and only came up with a mailing-list conversation, that didn't like Akonadi
> that much - however, the conversation is a few years old [1].
>
> I'm on KDE SC 4.13 (opensuse 13.1, KDE Current repository enabled) now, and
> (at least for me) the KDE PIM suite and Akonadi work very well and I have a
> well organized Adressbook (synced with a Kolab-Server). I'm using digikam
> 4.0 and it seems the contacts are not imported / shared with Akonadi.
>
> Is there a plug-in / run-time switch / compile-time switch which I could
> download / enable to make this integration happening? Am I doing something
> wrong?
>
> If not, is there hope that you will re-consider the current situation with
> regards to the Akonadi integration? I actually love the idea of the
> integrated / semantic / shared-data approach by KDE.
>
> Best regards
>
> Martin
>
> [1] http://mail.kde.org/pipermail/digikam-users/2011-August/013831.html
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users