Install the gwenview part into kf5/parts, embed JSON metadata
ClosedPublic

Authored by dfaure on Jan 1 2020, 6:49 PM.

Details

Summary

lxr says nobody is loading "gvpart" by name.

Test Plan

kparts/bin/partviewer /tmp/myfile.jpg still works, after removing the old gvpart.so

Diff Detail

Branch
kf5_parts
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 20594
Build 20612: arc lint + arc unit
dfaure created this revision.Jan 1 2020, 6:49 PM
Restricted Application added a project: Gwenview. · View Herald TranscriptJan 1 2020, 6:49 PM
dfaure requested review of this revision.Jan 1 2020, 6:49 PM
dfaure updated this revision to Diff 72573.Jan 1 2020, 7:54 PM
dfaure retitled this revision from Install the gwenview part into kf5/parts to Install the gwenview part into kf5/parts, embed JSON metadata.

Also needs JSON metadata

Have not tested. Looks good code-wise, is what I would have done.

+1 (leaving gwenview maintainers the Accept role for now)

part/CMakeLists.txt
22

I know myself how drive-by clean-up is tempting, but as strict reviewer I have to officially say: please separate commit.

part/gvpart.cpp
52

Perhaps set (KF5_MIN_VERSION "5.43.0") can be bumped by one to 5.44.0, so this here could be simply K_PLUGIN_CLASS_WITH_JSON(Gwenview::GVPart, "gvpart.json")

ngraham added a subscriber: ngraham.Jan 3 2020, 6:34 AM

+1 to everything @kossebau said, then shipit

dfaure updated this revision to Diff 72714.Jan 3 2020, 9:37 PM

rebase onto separated cleanup commit

ngraham accepted this revision.Jan 4 2020, 2:23 AM
This revision is now accepted and ready to land.Jan 4 2020, 2:23 AM
dfaure closed this revision.Jan 4 2020, 9:58 AM