Switch to the Attica framework

Authored by pino on May 28 2018, 8:49 PM.

Description

Switch to the Attica framework

Summary:
Switch from the old version of Attica, libattica-ocsclient, to the
frameworks version of Attica, adapting the code in the following ways:

  • manually load the providers using ProviderManager
  • switch to the currently working provider, i.e. the kde-look.org one
  • deal with non-const methods of Provider by copying it locally
  • use the different API of jobs
  • manually load the avatars (always with KIO), since Attica does not do that

Sadly, there is no kde/opendesktop provider that seems to provide
information on users at this time, so most of this is not tested much.
(But then, for the same reason the old code is not usable either.)

Test Plan: Builds fine

Reviewers: Amarok, heikobecker

Reviewed By: heikobecker

Subscribers: amarok-devel

Differential Revision: https://phabricator.kde.org/D13180

Details

Committed
pinoJun 7 2018, 10:34 AM
Reviewer
heikobecker
Differential Revision
D13180: Switch to the Attica framework
Parents
R181:910609aa77dd: GIT_SILENT made messages (after extraction)
Branches
Unknown
Tags
Unknown