Scratchpad/KDEKDChart

From KDE Community Wiki

Calligra, KMyMoney and Massif Visualizer (perhaps more) use KDAB's library KDChart/KDGantt. Because there is no public repo for these lib(s), the programs have a complete copy of the sources in their repos. Those copies get updated manually to newer version and also get custom patches. Not perfect.

Plan is to have the "public" version of KDChart/KDGantt in an own repo, maintained by KDE people.

Tasks

Name

KD* can not be used, something else will be needed. "kde-kdchart" working title for now. Proposals:

  • libkarta
  • KChart
  • (your proposal)

Perhaps split KDGantt and KDChart into separate projects, given they do not share code.

Buildsystem

  • setup a CMake build system [Done]
  • remove qmake build system [Done] (some compiler flags still need checking if still relevant)

Repo location

Decide about location in KDE repos. Proposals:

  • Extragear/Libs
  • KF5 (does need license change to LGPL, see Licensing Policy)
  • (your proposal)

Clean up code

  • get rid of old code that's probably not required anymore, like libkdabfakes and stuff that's guarded by ancient QT_VERSION checks
  • ensure all relevant patches from Massif Visualizer, Calligra, ... are available in this version (Friedrich's version has MV & most Calligra commits added for KDChart)

Port programs to use it

Get rid of the custom copies, use this new library instead

Current status

Original dump of code at [email protected]/scratch/mwolff/kde-kdchart

Latest version with porting work done at [email protected]:scratch/kossebau/kde-kdchart