policy for adding cmake modules to kdelibs/cmake/modules/

Alexander Neundorf neundorf at kde.org
Fri Jan 9 19:33:46 CET 2009


Hi,

all cmake modules which are in kdelibs/cmake/modules/ are installed on "make 
install", and so form part of the public interface of kdelibs, i.e. we must 
keep source compatibility for them. This is a not negligible maintainance 
effort.
Currently usually modules are added if they are used by at least two modules. 
These are quite many, i.e. for KDE 4.3 already 2 new ones again.

I would suggest to increase the threshold to 3 users of a module.
As long as there are only 2 users, both apps/modules can keep a copy of the 
module (so at least only one module has to be kept in sync manually). That's 
not really nice, but I'm afraid adding more and more modules to kdelibs and 
keeping them compatible may become a maintainance problem in the long term.
(actually that's the same reason why new modules are only added to cmake 
itself if somebody offers to maintain it).

What do you think ?

Alex


More information about the Kde-buildsystem mailing list