summaryrefslogtreecommitdiffstats
path: root/Modules/CPackDeb.cmake
Commit message (Collapse)AuthorAgeFilesLines
* CPackDeb: use CPACK_DEBIAN_PACKAGE_VERSIONDaniel Pfeifer2016-12-201-2/+2
|
* CPack/DEB shlibdep options depend on file utilityHenning Meyer2016-12-071-1/+10
| | | | | | | | Missing or missconfigured file utility should not skip adding dependencies. Instead it should print out a fatal error message. Fixes #16486
* CPackDeb: Fix incorrect variable name in documentationAlex Turbov2016-11-021-1/+1
| | | | | | `CPACK_DEB_COMPONENT_INSTALL` is the correct variable to set to enable component packaging. `CPACK_DEB_PACKAGE_COMPONENT` is just set to a component name when CPack calls corresponding installer.
* CPackDeb: fix copy-n-paste typos in documentationAlex Turbov2016-11-011-3/+3
|
* Simplify CMake per-source license noticesBrad King2016-09-271-18/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* Revert "CPack/DEB: Make package description variable precedence match RPM"Domen Vrankar2016-09-241-22/+21
| | | | | This reverts commit 332b089ad213a1aa89658fffd8f68c9064c6d3db as multiline descriptions require special formatting.
* CPack/DEB: Make package description variable precedence match RPMDomen Vrankar2016-09-071-21/+22
| | | | | | | | | Make `CPACK_DEBIAN_PACKAGE_DESCRIPTION` fallback variable precedence match CPackRPM behavior as much as possible. This is technically a breaking change, but the new behavior is more consistent with expectation anyway. Closes: #16272
* CPack/DEB: Add option to select archive typeDomen Vrankar2016-09-051-1/+32
| | | | | | | Add a `CPACK_DEBIAN_ARCHIVE_TYPE` option that can be used to select an archive type that supports long file names. Closes: #14332
* CPackRPM and CPackDeb documentation improvementsDomen Vrankar2016-06-011-31/+40
|
* Merge topic 'cpack-deb-different-package-names'Brad King2016-05-241-7/+63
|\ | | | | | | | | adbd3985 CPack/Deb possibility to change package name
| * CPack/Deb possibility to change package nameDomen Vrankar2016-05-231-7/+63
| | | | | | | | | | | | | | | | This patch preserves backward compatibility of deb package names with previous CMake versions but similarly to CPack/RPM allows to change package name format and supports DEB-DEFAULT setting that produces proper Debian package names.
* | CPack/Deb prevent accidental component dependenciesDomen Vrankar2016-05-231-13/+23
|/ | | | | | | | | | Prevent accidental inter component dependency setting since this is a breaking feature in situations where another CPack module is already using the feature. It should be enabled if desired since it can cause issues when upgrading only one of the components for e.g. configuration instead of all the components at once.
* CPack/Deb package release number in file nameDomen Vrankar2016-05-131-1/+17
| | | | | | Debian packages file naming format must contain revision number - package release number (breaks compatibility with previous versions)
* CPack/Deb proper package file namingDomen Vrankar2016-05-131-9/+8
| | | | | Proper Debian packages file naming for single package setup (breaks compatibility with previous versions)
* CPack/Deb per-component package architectureAlexander Smorkalov2016-05-131-1/+4
| | | | | | Allowed to set per-compoment Debian package architecture. Useful, if you distribute documentation (should have "all architecture").
* CPack/Deb inter package dependenciesAlexander Smorkalov2016-05-131-1/+17
| | | | | In multi-component setup dependencies between packages are set (breaking change)
* CPack/Deb proper component packages file namingAlexander Smorkalov2016-05-131-6/+23
| | | | | Proper Debian packages file naming for multi-component setup (breaks compatibility with previous versions)
* CPack/Deb generation of postinst and postrm ldconfig filesAlexander Smorkalov2016-05-131-0/+29
| | | | | | DEBIAN/postinst and DEBAIN/postrm files generation if the package installs libraries in ldconfig controlled location (/lib/, /usr/lib/)
* CPack/Deb generation of DEBIAN/shlibs control fileAlexander Smorkalov2016-05-131-27/+112
| | | | | DEBIAN/shlibs control file generation if the package contains libraries
* CPack/Deb Create DEBIAN directory for dpkg-shlibdepsFlorian Apolloner and John Knottenbelt2016-02-191-0/+6
| | | | | | | If CMAKE_INSTALL_RPATH is set and contains $ORIGIN then dpkg-shlibdeps searches for the DEBIAN directory in order to resolve $ORIGIN in the rpath to a directory. We need to create the DEBIAN directory for this to work.
* CPackDeb: CPACK_DEBIAN_PACKAGE_NAME documentation improvementDomen Vrankar2015-11-091-2/+10
|
* CPackDeb: set package control field per componentMarkus Rickert2015-11-091-5/+7
|
* CPackDeb: set priority control field per componentDomen Vrankar2015-11-091-2/+6
|
* CPackDeb: additional CPACK_DEBIAN_PACKAGE_SECTION documentationDomen Vrankar2015-11-081-0/+5
|
* CPackDeb: set section control field per componentMarkus Rickert2015-11-081-7/+8
|
* CPackDEB: added config file optional Source fieldRaffi Enficiaud2015-11-041-2/+35
|
* CPackDEB: minor documentation and debug logging fixesRaffi Enficiaud2015-11-041-13/+13
|
* Replace http://www.cmake.org URLs with https://cmake.orgBrad King2015-09-251-3/+3
| | | | | | | The latter is now the preferred URL for visiting cmake.org with a browser. Convert using the shell code: git ls-files -z | xargs -0 sed -i 's|http://www\.cmake|https://cmake|g'
* CPackDeb: use of libarchive and removal of fakerootRaffi Enficiaud2015-09-171-7/+32
|
* CPack/Deb: enable per component setting of dependenciesDomen Vrankar2015-09-091-16/+60
|
* CPack/DEB: component version of PACKAGE_CONTROL_EXTRADomen Vrankar2015-07-151-1/+9
| | | | | Component version of CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA variable.
* CPack/DEB: Remove duplicate string(TOUPPER) callsDomen Vrankar2015-07-151-2/+0
| | | | | We compute _local_component_name the first time we check for CPACK_DEB_PACKAGE_COMPONENT so we can just re-use it later.
* CPackDeb: Check dpkg-shlibdeps --ignore-missing-info flagBrad King2015-06-031-3/+6
| | | | | | Check for this flag explicitly in the --help output before using it. It turns out there are some versions of the tool that support --version but not --ignore-missing-info.
* CPackDeb: Check dpkg-shlibdeps version more robustlyBrad King2015-06-031-4/+5
| | | | | Use if(MATCHES) to verify that a match exists before using the match group variable.
* CPack/DEB: reworked documentationRaffi Enficiaud2015-05-151-47/+100
|
* CPack/DEB per component dependenciesRaffi Enficiaud2015-05-081-15/+53
| | | | Dependencies may now be set per component
* CPack/DEB component dependency auto-discoveryRaffi Enficiaud2015-05-071-63/+111
| | | | Dependency auto-discovery can now be set per component
* CPackDEB component descriptionRaffi Enficiaud2015-04-291-8/+33
| | | | | Support for setting different description for each component.
* CPackDeb: Refactor package variable lookup by generatorDomen Vrankar2015-04-211-196/+223
| | | | | | | | Preparation for per component variables. Patch makes sure we know which variables will be set for per component generator and also prevents accidental overflows of variable values between components.
* CPackDeb: Invoke "dpkg-shlibdeps --version" with C localeNils Gladitz2014-05-281-1/+1
| | | | The version message is localized and may not match when a non-english locale is in use.
* Replace string(REGEX REPLACE) with string(REPLACE) where possibleRolf Eike Beer2014-04-141-1/+1
| | | | The simple replacement is much faster.
* CPackDeb: Add option to set compression typeSean D'Epagnier2014-03-141-1/+12
| | | | | | 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'.
* CPack: Replace #<type> markup with reStructuredText equivalentKitware Robot2013-10-161-136/+114
| | | | | | | Drop #end and #module. Convert #section to a subsection header. Convert #variable to the cmake domain "variable" directive. Convert #macro to the cmake domain "command" directive. Perform minor formatting fixes in text near these changes.
* Convert builtin help to reStructuredText source filesKitware Robot2013-10-151-163/+210
| | | | | | | | Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.
* CPack: Fix RPM/Deb package names to not include "ALL_COMPONENTS_IN_ONE"Clinton Stimpson2012-11-061-4/+2
|
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-32/+32
| | | | | | | | | | | | | | | | | Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style. Run the following shell code: for c in else endif endforeach endfunction endmacro endwhile; do echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | egrep -z -v 'Tests/CMakeTests/While-Endwhile-' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Convert CMake-language commands to lower caseKitware Robot2012-08-131-126/+126
| | | | | | | | | | | | | | | | | Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code: cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | xargs -0 sed -i -f convert.sed && rm convert.sed
* CPackDeb add missing documentation for some CPACK_DEBIAN_xx variables.Eric NOULARD2012-06-191-1/+29
| | | | Inspired-By: Doug Linden <linderd@iinet.net.au>
* Dynamically add documentation section specified in documented script.Eric NOULARD2012-02-181-1/+1
| | | | Modify CPackDeb and CPackRPM as an example
* Make the load of script documentation more efficient and dynamic.Eric NOULARD2012-02-141-0/+4
| | | | | | | | CPack help will be searched in any CPack*.cmake file located near to CPack.cmake file. The script files is parsed iff the first line begin with ##section. Moreover the documentation section name is specified on the remaining part of the line minus the space immediately following ##section.