Skip to content

Commit

Permalink
[sociald] Support one-way Google calendar sync. Contributes to JB#11818
Browse files Browse the repository at this point in the history
This commit implements downsync from Google Calendar v3.0 API.
We only synchronize calendars which the user owns; we do not sync the
automatically generated calendars (public holidays, contact birthdays,
etc).

Contributes to JB#11818
  • Loading branch information
Chris Adams committed Dec 3, 2013
1 parent 80b526d commit e8c52dd
Show file tree
Hide file tree
Showing 6 changed files with 506 additions and 3 deletions.
1 change: 1 addition & 0 deletions rpm/sociald.spec
Expand Up @@ -49,6 +49,7 @@ A daemon process which provides data synchronization with various social service
%config %{_sysconfdir}/buteo/profiles/sync/facebook.Notifications.xml
%config %{_sysconfdir}/buteo/profiles/sync/twitter.Notifications.xml
%config %{_sysconfdir}/buteo/profiles/sync/twitter.Posts.xml
%config %{_sysconfdir}/buteo/profiles/sync/google.Calendars.xml
%config %{_sysconfdir}/buteo/profiles/sync/google.Contacts.xml
%{_datadir}/lipstick/notificationcategories/x-nemo.social.facebook.notification.conf
%{_datadir}/lipstick/notificationcategories/x-nemo.social.twitter.mention.conf
Expand Down
4 changes: 3 additions & 1 deletion src/google/google.pri
Expand Up @@ -4,12 +4,14 @@ PKGCONFIG += qtcontacts-sqlite-qt5-extensions

SOURCES += \
$$PWD/googledatatypesyncadaptor.cpp \
$$PWD/googlecalendarsyncadaptor.cpp \
$$PWD/googlecontactsyncadaptor.cpp \
$$PWD/googlecontactstream.cpp \
$$PWD/googlecontactatom.cpp

HEADERS += \
$$PWD/googledatatypesyncadaptor.h \
$$PWD/googlecalendarsyncadaptor.h \
$$PWD/googlecontactsyncadaptor.h \
$$PWD/googlecontactstream.h \
$$PWD/googlecontactatom.h
Expand All @@ -18,6 +20,6 @@ OTHER_FILES += google_sync_profiles.files

# google buteo sync profiles
google_sync_profiles.path = /etc/buteo/profiles/sync
google_sync_profiles.files = $$PWD/../xml/sync/google.Contacts.xml
google_sync_profiles.files = $$PWD/../xml/sync/google.Contacts.xml $$PWD/../xml/sync/google.Calendars.xml

INSTALLS += google_sync_profiles

0 comments on commit e8c52dd

Please sign in to comment.