Akonadi Google 0.3 arrives


After many months of “I will release it next week” I finally released libkgoogle 0.3 and new version of Akonadi resources for Google this week.

So, what’s new? I managed to implement everything I described in this post back in November. That’s support for multiple Google accounts, and merging the tasks resource into the calendar resource (so now it’s called “Calendar and Tasks resource”). The calendar now properly supports events recurrence and partially exceptions in recurrent events (there’s still some work to be done). The contacts resource now splits your contacts to “My Contacts” and “Others” groups. I hoped to fully support contact groups, the code was even in place, but I’ve run to some problems how to store it in Akonadi and unfortunately KAddressBook is not “compatible” with the Google’s concept of contact groups, so I decided to stick with the two elementary groups and hopefully I’ll get to this later (maybe some PIM dev could help me on Akademy? ;) )

If you run to any problems or bugs, please report them to the libkgoogle product in bugzilla.

Finally, I’d like to thank to Jan Grulich and Vojtěch Zeisek for putting their contacts and events at risk to test the pre-release versions and provided valuable feedback.


(Updated tarball!) akonadi-google-0.3.tar.gz (md5: 8c5c1e015068bea90bf25dd7858dc913)


If you want to follow the most recent development, you can use sources from the master branch.

Have a nice day!

22 thoughts on “Akonadi Google 0.3 arrives

  1. Torsten Bielen

    Thank you for your great job. I use the connector on my daily work and it’s a great peace of software.

  2. Sam Iam

    Thank you very much. I’ve been a KDE user since 2003 and was really disillusioned lately with all the Akonadi $!@#. Was about to give up and go with Thunderbird+Lightning, a few months ago and then I came across your project. It worked enough that I postponed going with Mozilla. However, 0.2 wasn’t really synching with Google and for the last two weeks I have been running TB in parallel to start switching.

    Then I saw 0.3 and thought I’d give it a try. So far, it has been running flawlessly. Being able to sync with Google tasks is a real plus (Lightning can’t do that). You single handedly kept this one user with KDE. My hat’s off to you sir!

  3. Donatas

    Nice, it works much better than the default plugin in Kubuntu 11.10. Finally events are visible in the calendar widget. It would be great if I could also point to a date in the calendar, right-click and add a new event to the calendar (I realize this functionality is not related to akonadi-google).

  4. Failed to compile in Gentoo Linux

    /var/tmp/portage/kde-misc/akonadi-google-0.3/work/akonadi-google-0.3/calendar/calendarresource.cpp: In member function ‘virtual void CalendarResource::configure(WId)’:
    /var/tmp/portage/kde-misc/akonadi-google-0.3/work/akonadi-google-0.3/calendar/calendarresource.cpp:144: error: reference to ‘Exception’ is ambiguous
    /usr/include/akonadi/exception.h:36: error: candidates are: class Akonadi::Exception
    /var/tmp/portage/kde-misc/akonadi-google-0.3/work/akonadi-google-0.3/libkgoogle/common.h:64: error: namespace KGoogle::Exception { }
    [ 94%] Building CXX object calendar/CMakeFiles/akonadi_googlecalendar_resource.dir/settingsdialog.cpp.o
    make[2]: *** [calendar/CMakeFiles/akonadi_googlecalendar_resource.dir/calendarresource.cpp.o] Error 1
    make[2]: *** Waiting for unfinished jobs….
    make[1]: *** [calendar/CMakeFiles/akonadi_googlecalendar_resource.dir/all] Error 2
    make: *** [all] Error 2
    * ERROR: kde-misc/akonadi-google-0.3 failed (compile phase):
    * emake failed

    • This is a known issue with clang compiler. It has been already fixed in git master (commit 3e0a93e).

      Sorry for the inconvenience, I didn’t think about testing compilation with other compilers before the release.

  5. anton

    failed to compile on debian sid

    ~/exe/akonadi-google-0.3/build$ cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_CONTACTS=OFF -DUSE_KCAL=TRUE– Looking for Q_WS_X11
    — Looking for Q_WS_X11 – found
    — Looking for Q_WS_WIN
    — Looking for Q_WS_WIN – not found.
    — Looking for Q_WS_QWS
    — Looking for Q_WS_QWS – not found.
    — Looking for Q_WS_MAC
    — Looking for Q_WS_MAC – not found.
    — Found Qt4: /usr/bin/qmake (found suitable version “4.7.4”, required is “4.7.0”)
    CMake Error at /usr/share/cmake-2.8/Modules/FindKDE4.cmake:98 (MESSAGE):
    ERROR: cmake/modules/FindKDE4Internal.cmake not found in
    Call Stack (most recent call first):
    CMakeLists.txt:8 (find_package)

    — Configuring incomplete, errors occurred!

      • anton

        sorry, yes of coarse. still having troubles though. you have an error in calendar_p.h. namespace is spelled wrong.
        after fixing that there is still some errors with the whole KCal/KCalCore handling…
        akonadi-google-0.3/libkgoogle/services/calendar.cpp:457:31: error: ‘KCalCore’ has not been declared

        I appreciate your contributions and your help


    I have been able to compile your source file.
    Unfortunaely i do not suceed in using it….
    i have creaed akonadi resource with google agendas (is this the good way?) and ….. nothing happens , there is no synchro at all.
    At the moment the best result i have had was with the DAV resource but it only synchronised the first time (with akonadi-googledata).
    I had put hope in your work so could you please publish a how to use smewhere?
    Thanks in advance.
    PS: I am a french oneiric Kubuntu user.

    • Hello,

      does the resource list all calendars correctly in the settings dialog, or is that broken for you as well?

      Also, if you were using the akonadi-googledata, make sure you have uninstalled it before trying akonadi-google (see this bug for details).


    I have removed the Davcalendar and removed/purged the akonadi-kderessource-googledata package, then create a new google calendar and it seemed all right as the window showed me my google account and then listed
    calndars and a list of tasks related to my account.
    Now when i create or delete an event on the google agenda website nothing happens in my kde resource…..
    And when i create an event in the kde resource i got a brief error message:
    “the top level collection cannot contains events or tasks” and the google agenda on the web is not updated….
    I don t know where to search to find where the problem may lie.
    Maybe you do?

    • > Now when i create or delete an event on the google
      > agenda website nothing happens in my kde resource…..

      There is no ‘push’ from Google, you need to resync the calendars manually to fetch the new updates. Or you can set automatic synchronization in “Folder properties” of each calendar. The resource will then fetch new updates from your Google calendar periodically.

      > And when i create an event in the kde resource i got a
      > brief error message:
      > “the top level collection cannot contains events or tasks”
      > and the google agenda on the web is not updated….

      Yes, you are not allowed to create events in the root folder. The reason for it being writable is to work around some bugs in older KOrganizer. If you want to add an event to your default calendar, choose the “your.email@gmail.com/your.email@gmail.com” calendar. That’s the default one. The top-level folder merely represents the Google account associated with the calendars.

      > I don t know where to search to find where the problem
      > may lie.
      There are not many sources of information about Akonadi Google except for this blog. I should really sit down and write a wiki page….:)


    It s all fine now.
    I just did not understand the logical tree of the account .
    I have to thank you for your work and your kindness.
    I will try to promote your software anywhere i can.
    and i hope it will be part of the next kubuntu version.
    Many thanks.

      • THOMAZEAU Yves

        Nothing is never simple and although i did succeed to compile again the source on another computer, the google ressources are not showed in the kontact dialog..
        Is there a way to trace errors somewhere or at least how can i uninstall (i have tried “sudo make uninstall” in the build folder with no success and there is no install-manifest.txt in it).

Comments are closed.