| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These modules are not meant to be included by user code, they are
only an internal implementation detail for CPack. Having them live
in the main Modules directory with documentation was misleading, so
they have been moved into Modules/Internal/CPack, and their
documentation has been stripped following its move into the new
"CPack Generators" section. No-op modules which contained only
documentation have been removed entirely.
The only module that hasn't been moved is CPackIFW, because it
contains user-facing macros which would be lost if it were moved.
So, the CPackIFW module has been updated with a note explaining what
needs to (eventually) happen.
|
|
|
|
| |
Found via `codespell` and `grep`
|
|
|
|
| |
The wiki has moved. Update links to reference the new pages.
|
|
|
|
|
|
|
|
|
| |
This sets variables like PROJECT_HOMEPAGE_URL, which can be
used as default values for various things (packaging modules,
doxygen defaults, etc.). Some packaging modules have been
updated to do this as part of this commit.
Co-Author: Craig Scott <craig.scott@crascit.com>
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Regex [+-~] passes all characters between + and ~ and not only
+, - and ~
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
Adds support for epoch version to CPackRPM and
CPackDeb packagers.
Also adds better version checking to CPackDeb
that complies with Debian rules.
Fixes: #17057
|
|
|
|
|
| |
The OPKG packaging system uses deb like package files with
an .ipk extension. Allow the DEB generator to be used in that context.
|
|
|
|
|
|
|
|
| |
While some features require external Unix tools the
generator is mostly portable.
By enabling it on Windows it can be used for cross platform
packaging.
|
| |
|
|
|
|
|
|
|
|
| |
Missing or missconfigured file utility should not
skip adding dependencies. Instead it should print
out a fatal error message.
Fixes #16486
|
|
|
|
|
|
| |
`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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This reverts commit 332b089ad213a1aa89658fffd8f68c9064c6d3db as multiline
descriptions require special formatting.
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Add a `CPACK_DEBIAN_ARCHIVE_TYPE` option that can be used to select an
archive type that supports long file names.
Closes: #14332
|
| |
|
|\
| |
| |
| |
| | |
adbd3985 CPack/Deb possibility to change package name
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Debian packages file naming format must contain
revision number - package release number
(breaks compatibility with previous versions)
|
|
|
|
|
| |
Proper Debian packages file naming for single package
setup (breaks compatibility with previous versions)
|
|
|
|
|
|
| |
Allowed to set per-compoment Debian package architecture.
Useful, if you distribute documentation (should have
"all architecture").
|
|
|
|
|
| |
In multi-component setup dependencies
between packages are set (breaking change)
|
|
|
|
|
| |
Proper Debian packages file naming for multi-component setup
(breaks compatibility with previous versions)
|
|
|
|
|
|
| |
DEBIAN/postinst and DEBAIN/postrm files generation if
the package installs libraries in ldconfig controlled
location (/lib/, /usr/lib/)
|
|
|
|
|
| |
DEBIAN/shlibs control file generation if the package
contains libraries
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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'
|
| |
|
| |
|
|
|
|
|
| |
Component version of CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA
variable.
|
|
|
|
|
| |
We compute _local_component_name the first time we check for
CPACK_DEB_PACKAGE_COMPONENT so we can just re-use it later.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Use if(MATCHES) to verify that a match exists before using the match
group variable.
|
| |
|
|
|
|
| |
Dependencies may now be set per component
|
|
|
|
| |
Dependency auto-discovery can now be set per component
|
|
|
|
|
| |
Support for setting different description
for each component.
|