| 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.
|
| |
|
| |
|
|
|
|
| |
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>
|
|
|
|
| |
Found via `codespell`
|
| |
|
|
|
|
|
| |
Debuginfo packages can not be created from programs and
shared libraries that do not have execute permissions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some are user facing.
Found using
codespell -q 3 --skip="./Utilities" -I .cmake-whitelist.txt`
whereby the whitelist contained:
ans
dum
helpfull
emmited
emmitted
buil
iff
isnt
nto
ot
pathes
substract
te
todays
upto
whitespaces
|
|\
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
|
| |
Patch adds `/usr/share/aclocal` path to exclude list and
and documents `/usr/libx32` and `/usr/include` paths that
were already on the list.
Closes: #17056
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
8b3693e4 CPack/RPM doc: CPACK_RPM_BUILDREQUIRES docs
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !730
|
| |
| |
| |
| |
| |
| |
| | |
Missing documentation for an already existing
CPackRPM source rpm packages feature.
Fixes #16814
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
f237f5f8 CPack/RPM: support for debuginfo package renaming
6c09c5d6 CPack/RPM honor package file name on debuginfo enabled
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !620
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Packages with debuginfo enabled should
still honor defined package file name
if file name is not set to RPM-DEFAULT.
Fixes #16715
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
1e0fc685 CPack/RPM can now generate a single debuginfo package
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !630
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
CMake 3.8 introduced possibility of
generating a single debuginfo package
even if component packaging is enabled
so this note no longer applies.
|
| |\ \ |
|
|\ \ \ \
| | |/ /
| |/| /
| |_|/
|/| |
| | |
| | |
| | | |
8dc23a43 CPack/RPM: fix error message associated with source path length
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Domen Vrankar <domen.vrankar@gmail.com>
Merge-request: !614
|
| | | |
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
5606622e CPack/RPM: fix cpack_rpm_debugsymbol_check parameter
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !595
|
| |/
| |
| |
| |
| |
| |
| | |
`CPACK_RPM_INSTALL_FILES` must be converted into a list before it is
used as parameter to `cpack_rpm_debugsymbol_check`.
Fixes: #16717
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
| |
Update hard-coded library paths in bundled CMake Modules for libx32 as
used with x32-abi.
|
|\
| |
| |
| |
| | |
574c81e2 CPack/RPM fix - custom binary spec file handling
|
| |
| |
| |
| | |
Fixes #16507
|
| |
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| |
| |
| | |
Some tags are not listed by rpmbuild querytags
even though they are supported. Ignore those
tags during the removal of unsupported tags.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Omit tags that are not supported by provided rpmbuild
as some tags get added/removed in later versions of
the tool.
Closes: #13423
|
|\ \
| |/
| |
| |
| |
| | |
4ab3b0c4 CPackRPM: Fix incorrect variable name in documentation
e6460e7d CPackDeb: Fix incorrect variable name in documentation
|
| |
| |
| |
| |
| |
| | |
`CPACK_RPM_COMPONENT_INSTALL` is the correct variable to set to enable
component packaging. `CPACK_RPM_PACKAGE_COMPONENT` is just set to a
component name when CPack calls corresponding installer.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|
|
|
|
| |
Handle case when a component doesn't contain
any debuginfo symbols.
|
|
|
|
|
|
|
| |
objdump prints out error text if file is not an
executable and that should be suppressed as we
don't care about non executable files during that
test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
List of sources must be split into paths parts
so that debuginfo package cleans up after
itself.
|
|
|
|
|
| |
Issue #15668 fix was missing relevant source
files in debuginfo package.
|
|\
| |
| |
| |
| | |
edb3f6ee CPackRPM: Avoid CMP0007 warnings
|
| |
| |
| |
| |
| | |
For older versions of CMake minimum required version CMP0007 policy
warning was printed out.
|
|/
|
|
| |
Closes: #15839
|
|
|
|
|
| |
Added new variable to CPackRPM for debuginfo rpm package
generation. Binaries will be checked for debug symbols.
|
|
|
|
|
|
|
| |
Automate with:
find Modules -type f -print0 | xargs -0 perl -i -0pe \
's/set\(([a-zA-Z0-9_]+)(\s+)"\$\{\1\}([^"])/string(APPEND \1\2"\3/g'
|
|\
| |
| |
| |
| | |
83799aa9 CPack/RPM: Debug logging should only print if requested for
|
| | |
|
|\ \
| |/
|/|
| |
| | |
672e6d2e CPack/RPM: Add missed CPACK_RPM_FILE_NAME fallback variable
|