CPack 2.6 and downstream packagers

Alexander Neundorf neundorf at kde.org
Thu Apr 3 23:11:39 CEST 2008


On Thursday 03 April 2008, Pau Garcia i Quiles wrote:
> Hello,
>
> The upcoming CPack 2.6 generates .deb and .rpm packages natively.
...
> I think that would make life easier for downstream packagers. The
> other options are:
> - they maintain their own CPack stuff on their own repository, totally
> unrelated to KDE
> - they keep packaging as they have done until now, as if CPack 2.6
> cannot properly package .deb and .rpm

I'd be happy if somebody would start using cpack for KDE stuff, I think 
currently nobody does. One of the reasons is that it is still quite new (... 
and not used that much yet so there are probably a few missing features).
For the style:
I'd suggest not to put any cpack-related code directly in the CMakeList.txt, 
but just include cpack config files, e.g. in kdelibs: 

include(KDELibsCPack.cmake)

This keeps the actual CMakeLists.txt clean.

Alex


More information about the Kde-buildsystem mailing list