Ported some services to Qt5/KF5
ClosedPublic

Authored by malteveerman on Feb 25 2018, 12:49 PM.

Details

Summary

This patch ports the ampache, magnatune, gpodder and opmldirectory services. I've laid some groundwork for the other services too, but they still have problems. For example: Jamendo has changed its API, which makes the service useless in its current form. Mp3tunes and lastfm don't work either, but I haven't yet investigated why.

Diff Detail

Repository
R181 Amarok
Branch
kf5
Lint
No Linters Available
Unit
No Unit Test Coverage
malteveerman requested review of this revision.Feb 25 2018, 12:49 PM
malteveerman created this revision.

I've created this revision against the wrong branch. How do I fix that?

I've created this revision against the wrong branch. How do I fix that?

If this is one commit, you switch to kf5 branch and cherry-pick this commit. Alternatively, rebase this branch on upstream/kf5 to get any recent changes, switch to kf5 and git merge --ff-only .

A subsequent arc diff should then update the revision. That is assuming you work with arcanist.

gpodder service using mygpo-qt, which is still in a qt4 world

Even though it may not be available on every distro out there yet (for lack of consumers), libmygpo-qt-1.0.9 supports Qt5 already. At least clementine also makes use of it, but only in their qt5 branch.

malteveerman edited the summary of this revision. (Show Details)

Fixed branch and commit author

gpodder service using mygpo-qt, which is still in a qt4 world

Even though it may not be available on every distro out there yet (for lack of consumers), libmygpo-qt-1.0.9 supports Qt5 already. At least clementine also makes use of it, but only in their qt5 branch.

On Arch Linux the official package is still Qt4. There is a Qt5 package in the AUR but I didn't test that. Is there a cmake test we could use to build the plugin conditionally?

libmygpo-qt provides a pkgconfig file libmygpo-qt5.pc you can check for using pkg_check_modules

malteveerman edited the summary of this revision. (Show Details)Feb 25 2018, 4:47 PM
markey accepted this revision.Feb 26 2018, 7:26 PM
This revision is now accepted and ready to land.Feb 26 2018, 7:26 PM
markey closed this revision.Feb 26 2018, 7:26 PM