summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackDebGenerator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Remove some unneeded c_str calls.Stephen Kelly2014-11-231-1/+1
|
* strings: Remove redundant calls to std::string::c_str()Nils Gladitz2014-10-151-3/+3
| | | | | Replacements were detected and performed by the clang tool remove-cstr-calls on a linux build.
* CPackDeb: Add option to set compression typeSean D'Epagnier2014-03-141-9/+37
| | | | | | Add a CPACK_DEBIAN_COMPRESSION_TYPE option to set the compression type. Default to 'gzip' to preserve existing behavior. Use "cmake -E tar" for 'gzip', 'bzip2', and 'none'. Use system "tar" for 'lzma' and 'xz'.
* Remove c_str calls when using stream APIs.Stephen Kelly2014-03-111-8/+8
| | | | | Use an ad-hoc clang tool for matching the calls which should be ported.
* Remove some c_str() calls.Stephen Kelly2014-03-111-3/+3
| | | | | | Use the clang RemoveCStrCalls tool to automatically migrate the code. This was only run on linux, so does not have any positive or negative effect on other platforms.
* Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream.Clinton Stimpson2014-01-071-2/+2
| | | | | Also use SystemTools::Fopen() instead of fopen(). This is to eventually support utf-8 filenames.
* CPack: Avoid "format expects 'unsigned int'" warningsPaul Kunysch2013-03-221-4/+4
| | | | | Cast sprintf uid and gid arguments to match the type expected by their "%-6u" format strings.
* CPack: Fix RPM/Deb package names to not include "ALL_COMPONENTS_IN_ONE"Clinton Stimpson2012-11-061-2/+10
|
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-11/+11
| | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
* Use fakeroot for control.tar.gz as wellEric NOULARD2012-04-171-5/+10
|
* Handle CPACK_MONOLITHIC_INSTALL in some rare use cases.Eric NOULARD2012-03-181-1/+1
| | | | | | | | | | | | | For example, when CPACK_<GEN>_COMPONENT_INSTALL and CPACK_MONOLITHIC_INSTALL are both set. Previously, this combination of variable settings produced an error without any explanation. Now, in this case CPACK_MONOLITHIC_INSTALL wins without trouble. This is useful for when e.g. CPACK_ARCHIVE_COMPONENT_INSTALL is globally on and one wants MONOLITHIC install for STGZ (but not other generators). The same behavior may be obtained by re-setting CPACK_ARCHIVE_COMPONENT_INSTALL to 0 but in any case the 'both set' case should have been handled without error.
* CPackDeb fix #10325 automagically use fakeroot for DEB if fakeroot is foundEric NOULARD2011-09-051-1/+4
|
* CPackDeb: Handle dirs for CONTROL_EXTRA correctly when packaging componentsMartin Konrad2011-04-091-1/+1
| | | | | | Copy the files specified in CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA to the right directory when packaging components. This fixes #12061. Signed-off-by: Eric NOULARD <eric.noulard@gmail.com>
* Fix KWStyle warningsEric NOULARD2011-04-041-1/+2
|
* Combine component packaging methods into an enum.Clinton Stimpson2011-03-311-4/+4
| | | | | Also allow generators to override the default packaging method. Add a ONE_PER_GROUP option so that method can be specified by the user without relying on defaults.
* CPack fix #11930 and simplifies component packaging optionsEric NOULARD2011-03-231-114/+79
|
* CPack fix CPackDeb crash when CPackDeb.cmake ends with a FATAL_ERROREric NOULARD2011-03-191-4/+9
|
* CPackDeb add Component Support to DEB generator fix #0011655M. Konrad2011-03-111-29/+328
| | | | | Contribution by Martin Konrad Signed-off-by: Eric NOULARD <eric.noulard@gmail.com>
* CPackDeb Added several optional debian binary package fieldsEric NOULARD2010-10-251-4/+40
| | | | | | This fixes bugs #0011355 and 0008342. The merged patch is a contribution from Michael Lasmanis and Petri Hodju with some extra documentation added by the merger.
* CPack Backward-compatibly enforce DESTDIR for DEB and RPMEric NOULARD2010-08-231-1/+4
|
* CPack: Refactor API in order to handle multi-file packagesEric NOULARD2010-08-111-8/+6
| | | | | | | | The multi-argument CompressFiles(...) method has been replace by the no-argument PackageFiles() method and 3 more member variables. This will enable implemention of multi-package generators. Now each specific generator (which overloads PackageFiles()) may decide to change the name and/or the number of generated package files.
* Merge topic 'CPackDEB-auto-dependency-support'Brad King2010-08-031-2/+8
|\ | | | | | | | | ded3a15 CPackDeb optionally generates auto-dependency list part fix of bug 10292
| * CPackDeb optionally generates auto-dependency list part fix of bug 10292Eric NOULARD2010-07-281-2/+8
| | | | | | | | | | The default behavior is not to activate this option because it may break DEB package building for project who does not use INSTALL RPATH.
* | CPackDEB: merge wrong installed size patch. see bugs 10296 (and 10292)Eric NOULARD2010-07-281-1/+1
|/
* Fix integer conversions in cpackBrad King2010-06-301-4/+4
| | | | These were revealed by GCC's -Wconversion option.
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-14/+9
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* ENH: add installed size to deb packageBill Hoffman2008-09-111-0/+11
|
* ENH: add CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA variableBill Hoffman2008-04-011-0/+24
|
* BUG: fix packaging of files installed to absolute paths, works only whenAlexander Neundorf2008-03-291-1/+21
| | | | | | used with SET(CPACK_SET_DESTDIR "ON") Alex
* COMP: Add include of <limits.h> to get USHRT_MAX constant.Brad King2008-01-241-0/+2
|
* STYLE: fix line length issueBill Hoffman2007-11-061-1/+2
|
* COMP: Fix warnings on 64-bit Mac OS X build. Patch from issue #3697.Brad King2007-11-051-5/+5
|
* ENH: Add CPACK_SET_DESTDIR handling to enable packaging of installed files ↵David Cole2007-10-311-0/+8
| | | | in absolute locations. With this setting on, cpack will set the DESTDIR env var when building the package so that files end up in their intended locations. Default behavior is not to set DESTDIR for backwards compatibility. Helps address issue #4993 and issue #5257. Also, remove unused CPACK_USE_DESTDIR variable. ENH: Add variable CPACK_PACKAGING_INSTALL_PREFIX to allow overriding the CPack GetPackagingInstallPrefix from a project's CMakeLists file if necessary. Could be used to remove the annoying /usr prefix still used by default in the Mac PackageMaker generator.
* BUG: rename DEBIAN_PACKAGE_* variables to CPACK_DEBIAN_PACKAGE_* variablesAlexander Neundorf2007-10-251-11/+17
| | | | | | to make them actually work Alex
* STYLE: use %-10lld instead of %-10qd for printing a 64bit int, maybe thisAlexander Neundorf2007-09-211-2/+2
| | | | | | silences the warning of the HP compiler Alex
* BUG: Another space-in-path fix.Brad King2007-08-311-2/+4
|
* BUG: work if there are spaces in the path to cmakeAlexander Neundorf2007-08-291-4/+6
| | | | Alex
* COMP: fix warning about comparison signed - unsignedAlexander Neundorf2007-08-151-1/+2
| | | | Alex
* COMP: fix build on HPUX, snprintf apparently doesn't work thereAlexander Neundorf2007-08-151-7/+6
| | | | Alex
* STYLE: another patch from Mathieu with some commentsAlexander Neundorf2007-08-141-2/+6
| | | | Alex
* ENH: deb generator: don't use the system provided ar, but do it yourselfAlexander Neundorf2007-08-141-23/+251
| | | | | | | using the code from OpenBSD ar COMP: don't build all package generators on all platforms Alex
* ENH: patch from Mathieu: more entries in the debian control fileAlexander Neundorf2007-08-081-4/+24
| | | | Alex
* ENH: another fix for the deb generator by MathieuAlexander Neundorf2007-08-061-2/+17
| | | | Alex
* BUG: patch from Mathieu: the md5sums were not correctAlexander Neundorf2007-08-061-0/+7
| | | | Alex
* STYLE: fix line lengthAlexander Neundorf2007-07-271-1/+2
| | | | Alex
* ENH: deb generator can now generate deb packagesAlexander Neundorf2007-07-271-21/+19
| | | | | | | | | | -remove the unscriptable commands also from the cpack cmake -use CPACK_PACKAGE_CONTACT in CMakeCPack.cmake, it's used in the nsis and the deb generator -make set_properties() scriptable -use a non-const char array for adding the python modules Alex
* ENH: apply patch from Mathieu which creates a deb file (not finishsed yet)Alexander Neundorf2007-07-251-5/+110
| | | | Alex
* COMP: silence warningsAlexander Neundorf2007-07-251-0/+5
| | | | Alex
* ENH: add an empty debian package generator, Mathieu volunteered to fill itAlexander Neundorf2007-07-251-0/+58
:-) Alex