Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[buteo-sync-plugins-social] Remove Facebook contacts plugin. JB#50552
It will not work with the latest QtPim changes, and as it's unused it
should be removed anyway.
  • Loading branch information
Bea Lam committed Sep 25, 2020
1 parent 7bfecf3 commit dfe6bb2
Show file tree
Hide file tree
Showing 14 changed files with 1 addition and 2,091 deletions.
31 changes: 1 addition & 30 deletions rpm/sociald.spec
Expand Up @@ -23,6 +23,7 @@ Requires: systemd
Requires(pre): sailfish-setup
Requires(post): systemd
Obsoletes: sociald-facebook-notifications
Obsoletes: sociald-facebook-contacts

%description
A Buteo plugin which provides data synchronization with various social services.
Expand Down Expand Up @@ -66,36 +67,6 @@ done
systemctl-user try-restart msyncd.service || :


%package facebook-contacts
Summary: Provides contact synchronisation with Facebook
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Contacts)
BuildRequires: pkgconfig(qtcontacts-sqlite-qt5-extensions)
Requires: %{name} = %{version}-%{release}

%description facebook-contacts
%{summary}

%files facebook-contacts
#out-of-process-plugin form:
%{_libdir}/buteo-plugins-qt5/oopp/facebook-contacts-client
#in-process-plugin form:
#%%{_libdir}/buteo-plugins-qt5/libfacebook-contacts-client.so
%config %{_sysconfdir}/buteo/profiles/client/facebook-contacts.xml
%config %{_sysconfdir}/buteo/profiles/sync/facebook.Contacts.xml

%pre facebook-contacts
USERS=$(getent group users | cut -d ":" -f 4 | tr "," "\n")
for user in $USERS; do
USERHOME=$(getent passwd ${user} | cut -d ":" -f 6)
rm -f ${USERHOME}/.cache/msyncd/sync/client/facebook-contacts.xml || :
rm -f ${USERHOME}/.cache/msyncd/sync/facebook.Contacts.xml || :
done

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


%package facebook-images
Summary: Provides image synchronisation with Facebook
Requires: %{name} = %{version}-%{release}
Expand Down
7 changes: 0 additions & 7 deletions src/facebook/facebook-contacts/facebook-contacts.pri

This file was deleted.

25 changes: 0 additions & 25 deletions src/facebook/facebook-contacts/facebook-contacts.pro

This file was deleted.

4 changes: 0 additions & 4 deletions src/facebook/facebook-contacts/facebook-contacts.xml

This file was deleted.

15 changes: 0 additions & 15 deletions src/facebook/facebook-contacts/facebook.Contacts.xml

This file was deleted.

58 changes: 0 additions & 58 deletions src/facebook/facebook-contacts/facebookcontactsplugin.cpp

This file was deleted.

47 changes: 0 additions & 47 deletions src/facebook/facebook-contacts/facebookcontactsplugin.h

This file was deleted.

0 comments on commit dfe6bb2

Please sign in to comment.