| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| | |
baec299ecd CPack: Fix regression in Deb description
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4271
|
| |
| |
| |
| | |
Fixes: #20254
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
6d6f4b9316 CPack/DragNDrop: Support CPACK_DMG_<component>_FILE_NAME
b53230fbee Tests: Add DragNDrop as a testable CPack generator
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4227
|
| | | |
|
|\ \ \
| |/ /
|/| /
| |/
| |
| |
| | |
d491f34a5e CPack: Fix regression in DEB generator description
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4204
|
| |
| |
| |
| | |
Fixes: #20102
|
|\ \
| |/
|/|
| |
| |
| |
| | |
3476dbe6d7 CPack: CMAKE_PROJECT_HOMEPAGE_URL -> CPACK_PACKAGE_HOMEPAGE_URL
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4024
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
At CPack running time the `CMAKE_PROJECT_HOMEPAGE_URL` variable
is not set.
Internal CPack modules (e.g. CPackDEB, CPackRPM, CPackFreeBSD)
should use `CPACK_PACKAGE_HOMEPAGE_URL` instead, which is available
after inclusion of `CPack.cmake` into `CMakeLists.txt`.
Closes: #19607
|
|/
|
|
|
|
|
|
|
|
|
| |
In commit da5ac4bb60 (cpack: Add `CPACK_INSTALL_CMAKE_CONFIGURATIONS`
variable, 2019-07-10, v3.16.0-rc1~165^2) we added both the variable
and support for `cpack -C` with multiple configurations. Drop the
variable because the `package` target cannot ensure that all of the
configurations are built. Keep the command-line interface so that
it can be used manually in scripts.
Fixes: #19918
|
|
|
|
| |
Also, handle per-component description nicely.
|
|
|
|
|
|
|
|
|
| |
For the multi-configuration generators one can specify the list
of configurations to include in the package.
E.g. having a project, where debug libraries have a suffix to
distinct them from the release builds, one can build the package
containing both `Debug` and `Release` binaries.
|
|
|
|
|
|
|
|
|
|
| |
The singular name `CPACK_INSTALL_SCRIPT` has existed but was not linked
from the CPack documentation. Also, it supported multiple values and
should have had a plural name. Add a plural-named alternative now.
If both `CPACK_INSTALL_SCRIPTS` and `CPACK_INSTALL_SCRIPT` are set then
ignore the latter with a warning.
Signed-off-by: Alex Turbov <i.zaufi@gmail.com>
|
|
|
|
|
|
|
|
| |
The DEB and RPM tests are quite large, which can result in CTest
clients timing out on these tests even though they're working properly.
The RPM test in particular causes a lot of timeouts on the CMake
dashboard machines. This change splits these tests into smaller tests
so that they don't time out.
|
|
|
|
|
| |
Ext and External were used inconsistently in the code and the
docs. This change converts all uses of Ext to External, including
within variable names used by the generator.
|
| |
|
|
|
|
|
|
|
|
|
| |
CPACK_EXT_ENABLE_STAGING enables optional staging
and CPACK_EXT_PACKAGE_SCRIPT allows to specify an optional
script file that can package staged files via an
external packaging tool.
Issue: #18236
|
| |
|
| |
|
|
|
|
|
|
| |
This test case ensures that the CPack External generator produces
the proper .json file, and also ensures that the version negotation
with CPACK_EXT_REQUESTED_VERSIONS works properly.
|
|
|
|
|
|
|
|
|
|
|
| |
Introduces CPACK_DEFAULT_DIRECTORY_INSTALL_PERMISSIONS
variable which adds support for functionality introduced
by CMAKE_DEFAULT_DIRECTORY_INSTALL_PERMISSIONS variable.
Fixes #17333
# Conflicts:
# Help/release/dev/cmake-default-dir-install-permissions.rst
|
|
|
|
|
|
|
|
| |
Setting CPACK_DEBIAN_PACKAGE_GENERATE_SHLIBS did not
auto generate shlibs control file when .so version
of the library was set to 0.
Fixes #17318
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CPACK_DEBIAN_PACKAGE_VERSION variable could in the past also
contain release and epoch version so regex test should expect
the entire versioning if both CPACK_DEBIAN_PACKAGE_RELEASE
and CPACK_DEBIAN_PACKAGE_EPOCH are not set.
Also since the checks were not performed in the past the regex
test of CPACK_DEBIAN_PACKAGE_VERSION variable content should
only report author warnings instead of errors in case of the
test fail.
Fixes: #17339
|
|\
| |
| |
| |
| |
| |
| | |
74b7457f CPack RPM and DEB: improved package version handling
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1296
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adds support for epoch version to CPackRPM and
CPackDeb packagers.
Also adds better version checking to CPackDeb
that complies with Debian rules.
Fixes: #17057
|
|/
|
|
|
|
|
| |
Also add a test case that uses CPACK_INSTALL_SCRIPT.
Co-Author: Domen Vrankar <domen.vrankar@gmail.com>
Fixes: #15005
|
|
|
|
|
|
| |
Support for setting archive packager specific
per component filenames and monolithic package
filenames.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Extra slashes in some locations can
cause errors during package generation
and can also be present in generated
rpm packages causing issues for the
package user.
Closes #16619
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
36bc7e4c store old locale to a temporary variable
05c14ea0 RunCMake.CPack_* add COMPONENT to minimal test
5b0a64eb CPack/Archive minimal tests for more formats
|
| |
| |
| |
| |
| | |
Add component based packages testing to current
monolithic minimal package tests.
|
| | |
|
|/
|
|
|
|
|
|
|
| |
Monolithic deb packages were packaged
with invalid md5sums file as trailing
slash in path was causing string replace
to fail and preserve build path.
Fixes #16517
|
|
|
|
|
|
|
|
| |
* In older version "%dir %attr(-, root, root) foo" would put "%dir foo"
in the final spec file.
* Also added comment to describe this and advise not not to add trailing
slashes to directories in USER_FILELIST.
* Includes test in RunCMake CPack which now passes.
|
| |
|
|
|
|
|
|
|
|
|
| |
CPack tests can now define one or more
packaging types and that test will be
executed once per generator per packaging
type. This also enables us to set default
values per packaging type for each generator
which makes tests shorter.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Suggests tag was not present in older versions
of rpmbuild so we test that the rpm package is
always generated either with Suggests tag present
or skipped if not supported.
|
|
|
|
|
|
|
|
|
| |
Generate a single debuginfo package even
if components packaging is enabled.
This makes issue #15668 resolution feature complete.
Closes: #15486
|
|
|
|
|
|
| |
Main component rpm package is generated
without component suffix in filename
and package name.
|
|\
| |
| |
| |
| | |
d9cec8ad CPack/RPM: Generate source rpm (SRPM) packages on demand
|
| |
| |
| |
| | |
Closes: #15839
|
|/
|
|
| |
Add variable CPACK_PACKAGE_CHECKSUM to activate it.
|
|
|
|
|
|
|
| |
Add a `CPACK_DEBIAN_ARCHIVE_TYPE` option that can be used to select an
archive type that supports long file names.
Closes: #14332
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| |
| | |
f5089cfc CPack/RPM adding dist to release tag test
f7003a60 CPack/RPM release dist tag support
|
| |
| |
| |
| | |
Tests and release notes
|