[Marble-devel] Restructuring the sources dir layout, esp. for internal & external plugins

Friedrich W. H. Kossebau kossebau at kde.org
Thu Aug 4 14:25:19 UTC 2016


Hi,

while working on the applet and wallpaper plugins for Plasma I found that the 
current layout of the directory structure in the Marble repo is slightly 
inconsistent/confusing for the different software units.
So I would like to propose to reorganize things a little in the near future 
(perhaps after GSoC end).

Here the current groups as I see them:

central lib(s):
/src/lib

extensions for the central lib
/src/plugins/positionprovider
/src/plugins/render
/src/plugins/runner

products based on the central lib:
own apps:
/src/apps
/tools
development "wrappings":
/src/bindings
/src/plugins/designer
workspace integration:
/src/plasmarunner
/src/plasma (as in latest review request)
/src/thumbnailer


Things which confuse me again and again:
* "tools" are not below "src", while being source code as well
* "designer" as plugin for external being in same folder as internal plugins,
  while other plugins for external things are not
* "thumbnailer" is not specific enough as name
* "plasmarunner" should be "krunner" these days

I would like to propose to structure things more like this:
/src/lib
/src/bindings
/src/designer
/src/apps
/src/tools
/src/plugins
/src/extplugins (for external plugins, any better name?)

where /src/extplugins would contain:
/src/extplugins/krunner
/src/extplugins/plasma
/src/extplugins/kiothumbnailer

Given right now there are only 3 types of external plugins, perhaps they could 
also be merged a level up for now:
/src/krunner
/src/plasma
/src/kiothumbnailer


What do you think? Which parts of this proposal can you agree on, which parts 
would you object/do differently?

Cheers
Friedrich


More information about the Marble-devel mailing list