Co-authored with Jonathan Brielmaier <jonathan.brielmaier@web.de>
* gnu/packages/boost.scm (boost-for-mysql)[arguments]: Replace inherited
'configure, phase remove references to python and update the substitute
regex for boost-1.59. Absorb 'more-bin-sh-patching into 'configure.Adjust
make-flags to always pass '--without-python'.
[native-inputs]: Remove python.
* gnu/packages/boost.scm (boost-static)[arguments]: Adjust libboost_python27.a
file name to take the Python 3 counterpart in the provide_libboost_python phase.
* gnu/packages/boost.scm (version-with-underscores, boost-patch): New
procedures.
(boost)[source](uri): Remove LET binding for VERSION-WITH-UNDERSCORES.
[source](patches): New field.
* gnu/packages/boost.scm (boost)[inputs]: Change PYTHON-2 to PYTHON-WRAPPER.
[arguments]: Add #:modules and #:imported-modules. Adjust phases 'configure'
and 'provide-libboost_python.so' to be agnostic of Python version.
* gnu/packages/boost.scm (boost-with-python3): Rename to ...
* gnu/packages/boost.scm (boost-with-python2): ... this.
[arguments]: Remove.
[native-inputs]: Inherit from BOOST, but replace the "python" input with PYTHON-2.
Co-authored-by: Marius Bakke <mbakke@fastmail.com>
* gnu/packages/patches/boost-dumpversion.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/boost.scm (boost)[source]: Apply it,
[native-inputs]: add python unless cross-compiling,
[arguments]: pass cross-compilation mandatory
flags and fill a user-config.jam file pointing to cross-compiler. Disable
python support that is broken when cross-compiling. Disable
provide-libboost_python when cross-compiling.
Fixes <https://bugs.gnu.org/33605> and <https://bugs.gnu.org/33610>.
* gnu/packages/boost.scm (boost-cxx14): New variable.
* gnu/packages/compression.scm (innoextract)[inputs]: Use it.
* gnu/packages/mpd.scm (ncmpcpp)[inputs]: Use it.
Some parts of Boost which are used by other Guix packages require C++14 support.
Fixes <https://bugs.gnu.org/33605>.
* gnu/packages/boost.scm (boost)[arguments]: Pass 'cxxflags=-std=c++14'
to #:make-flags.
Fixes a regression introduced in commit
7cbf06d8c2 where the top-level code of
these two modules would depend on each other, leading to "boost: unbound
variable" kind of errors in some circumstances.
* gnu/packages/databases.scm (boost-for-mysql): Move to...
* gnu/packages/boost.scm (boost-for-mysql): ... here. Make public and
add 'properties' field.
* gnu/packages/boost.scm (boost)[arguments]: Remove the extra make-flags
"--without-context", "--without-coroutine", and "--without-coroutine2" that
were previously added on mips64 systems.
* gnu/packages/patches/boost-fix-icu-build.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/boost.scm (boost)[source]: Add the patch.
[arguments]: In the custom configure phase, pass --with-icu=[...]
to ./bootstrap.sh