Skip to content

Commit

Permalink
[buteo-sync-plugins-social] Remove Facebook Notifications sync plugin…
Browse files Browse the repository at this point in the history
…. Contributes to JB#39572

Facebook no longer allow applications to sync notification data.
Removing the plugin.

Contributes to JB#39572
  • Loading branch information
Chris Adams committed Oct 9, 2017
1 parent 6ae0ff7 commit 2ec81cc
Show file tree
Hide file tree
Showing 13 changed files with 4 additions and 510 deletions.
34 changes: 3 additions & 31 deletions rpm/sociald.spec
Expand Up @@ -20,10 +20,11 @@ BuildRequires: pkgconfig(libsailfishkeyprovider)
BuildRequires: qt5-qttools-linguist
BuildRequires: ssu-devel
Requires: buteo-syncfw-qt5-msyncd
Obsoletes: buteo-sync-plugins-google-simple <= 0.0.2
Provides: buteo-sync-plugins-google-simple
Requires: systemd
Requires(post): systemd
Obsoletes: buteo-sync-plugins-facebook-notifications
Obsoletes: buteo-sync-plugins-google-simple <= 0.0.2
Provides: buteo-sync-plugins-google-simple

%description
A Buteo plugin which provides data synchronization with various social services.
Expand Down Expand Up @@ -117,35 +118,6 @@ rm -f /home/nemo/.cache/msyncd/sync/facebook.Images.xml || :
systemctl-user try-restart msyncd.service || :


%package facebook-notifications
Summary: Provides notification synchronisation with Facebook
License: LGPLv2.1
Group: System/Libraries
BuildRequires: nemo-qml-plugin-notifications-qt5-devel
BuildRequires: qt5-qttools-linguist
Requires: %{name} = %{version}-%{release}

%description facebook-notifications
Provides notification synchronisation with Facebook

%files facebook-notifications
#out-of-process-plugin form:
/usr/lib/buteo-plugins-qt5/oopp/facebook-notifications-client
#in-process-plugin form:
#/usr/lib/buteo-plugins-qt5/libfacebook-notifications-client.so
%config %{_sysconfdir}/buteo/profiles/client/facebook-notifications.xml
%config %{_sysconfdir}/buteo/profiles/sync/facebook.Notifications.xml
%{_datadir}/lipstick/notificationcategories/x-nemo.social.facebook.notification.conf

%pre facebook-notifications
rm -f /home/nemo/.cache/msyncd/sync/client/facebook-notifications.xml || :
rm -f /home/nemo/.cache/msyncd/sync/facebook.Notifications.xml || :

%post facebook-notifications
systemctl-user try-restart msyncd.service || :



%package facebook-signon
Summary: Provides signon credentials refreshing with Facebook
License: LGPLv2.1
Expand Down

This file was deleted.

29 changes: 0 additions & 29 deletions src/facebook/facebook-notifications/facebook-notifications.pro

This file was deleted.

This file was deleted.

15 changes: 0 additions & 15 deletions src/facebook/facebook-notifications/facebook.Notifications.xml

This file was deleted.

This file was deleted.

47 changes: 0 additions & 47 deletions src/facebook/facebook-notifications/facebooknotificationsplugin.h

This file was deleted.

0 comments on commit 2ec81cc

Please sign in to comment.