Fix build and update to 1.4.5.
* gnu/packages/cpp.scm (cpplint): Update to 1.4.5,
[native-inputs]: add python-pytest, python-pytest-cov,
python-pytest-runner,
[arguments]: add a new 'use-later-pytest phase to remove pytest version
requirement.
* gnu/packages/check.scm (catch-framework2): Update to 2.1.2.
(catch-framework2-1): New variable.
* gnu/packages/cpp.scm (fifo-map)[native-inputs]: Use catch-framework2-1.
* gnu/packages/cpp.scm (ccls): Configure using -isystem for header files.
[arguments]: Use GCC as a build input for preprocessing and searching GCC
subdirectories, this provides better support for header file completion on
runtime.
[inputs]: Add ncurses for command-line support. Remove LLVM, it is not needed.
[native-inputs]: Move rapidjson from inputs to native-inputs, add GCC.
* gnu/packages/cpp.scm (rct): Move the call to 'git-version' into the
package definition.
[source]: Explicitly include the source URI rather than using
'home-page'.
* gnu/packages/patches/rct-add-missing-headers.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/cpp.scm (rct): Use the patch, enable RTTI.
[source]: Use the patch to add missing headers from installation.
[arguments]: Enable RTTI in configure-flags.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
OpenSSL and zlib are referred to by the built package, so we make them
regular inputs.
This is a followup to commit e8b409741b.
* gnu/packages/cpp.scm (rct)[native-inputs]: Move openssl and zlib to ...
[inputs]: ... new field.