supertuxkart-sourceforge-migration / stk-migration-test2

0 stars 0 forks source link

Use CPack for generating tarball #534

Open supertuxkart-sourceforge-migration opened 10 years ago

supertuxkart-sourceforge-migration commented 10 years ago

Author: winterheart

[[Image()]]Hello, This patch adds CPacke feature to CMakefile.txt. To get tarball just run make package_source.

Migrated-From: https://sourceforge.net/apps/trac/supertuxkart/ticket/534

supertuxkart-sourceforge-migration commented 10 years ago

Author: auria Hi,

do I understand correctly that this would require cpack to be installed separately? Since we are trying to limit dependencies I'm not sure I'm willing to add this requirement to install cpack

supertuxkart-sourceforge-migration commented 10 years ago

Author: winterheart No, cpack required only for developers. Users not required cpack, they not need to regenerate tarball. Also cpack is integrated part of cmake.

supertuxkart-sourceforge-migration commented 10 years ago

Author: winterheart Also, after some tuning for cpack section you can create debs, rpms, even NSIS-installers.

supertuxkart-sourceforge-migration commented 10 years ago

Author: auria hmm, on OSX at least it tells me the cpack module is not known :/

supertuxkart-sourceforge-migration commented 10 years ago

Author: hikerstk Hi,

thanks a lot for the patch. I have tested the existing 'make dist' implementation, and it works just fine.

Since we don't get any additional benefit from cpack (we already have NSIS installer, and debs/rpms are done by the various linux distributions anyway), and there are known problem at least on OSX, we won't be using cpack for now. If we ever should see a need to use cpack, we will certainly pick your patch!

Thanks a lot for your contribution nevertheless! Joerg