diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1b28ba7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/boost_1_58_0.tar.bz2 diff --git a/.rh-mongodb32-boost.metadata b/.rh-mongodb32-boost.metadata new file mode 100644 index 0000000..82e56a4 --- /dev/null +++ b/.rh-mongodb32-boost.metadata @@ -0,0 +1 @@ +2fc96c1651ac6fe9859b678b165bd78dc211e881 SOURCES/boost_1_58_0.tar.bz2 diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/0001-Changes-required-for-aarch64-support-in-boost-config.patch b/SOURCES/0001-Changes-required-for-aarch64-support-in-boost-config.patch new file mode 100644 index 0000000..5003a58 --- /dev/null +++ b/SOURCES/0001-Changes-required-for-aarch64-support-in-boost-config.patch @@ -0,0 +1,26 @@ +From 8787f6b0718b6b0750869ba52bc65d26db665a05 Mon Sep 17 00:00:00 2001 +From: Ananth Jasty +Date: Wed, 15 Apr 2015 17:59:47 -0700 +Subject: [PATCH] Changes required for aarch64 support in boost::config. + +--- + libs/config/checks/architecture/arm.cpp | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/libs/config/checks/architecture/arm.cpp b/libs/config/checks/architecture/arm.cpp +index 6a83737..794aba8 100644 +--- a/libs/config/checks/architecture/arm.cpp ++++ b/libs/config/checks/architecture/arm.cpp +@@ -8,6 +8,8 @@ + + #if !defined(__arm__) && !defined(__thumb__) && \ + !defined(__TARGET_ARCH_ARM) && !defined(__TARGET_ARCH_THUMB) && \ +- !defined(_ARM) && !defined(_M_ARM) ++ !defined(_ARM) && !defined(_M_ARM) && \ ++ !defined(__aarch64__) + #error "Not ARM" + #endif ++ +-- +2.4.5 + diff --git a/SOURCES/0002-Fix-a-regression-with-non-constexpr-types.patch b/SOURCES/0002-Fix-a-regression-with-non-constexpr-types.patch new file mode 100644 index 0000000..03d028e --- /dev/null +++ b/SOURCES/0002-Fix-a-regression-with-non-constexpr-types.patch @@ -0,0 +1,98 @@ +diff --git a/include/boost/fusion/adapted/struct/detail/define_struct.hpp b/include/boost/fusion/adapted/struct/detail/define_struct.hpp +index 2554292..ce3737e 100644 +--- a/include/boost/fusion/adapted/struct/detail/define_struct.hpp ++++ b/include/boost/fusion/adapted/struct/detail/define_struct.hpp +@@ -69,7 +69,7 @@ + ATTRIBUTES_SEQ, ATTRIBUTE_TUPEL_SIZE) \ + \ + template \ +- BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED \ ++ BOOST_FUSION_GPU_ENABLED \ + self_type& \ + operator=(Seq const& seq) \ + { \ +@@ -128,7 +128,7 @@ + ATTRIBUTE_TUPEL_SIZE, \ + ATTRIBUTES_SEQ) \ + \ +- BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED \ ++ BOOST_FUSION_GPU_ENABLED \ + NAME() \ + : BOOST_PP_SEQ_FOR_EACH_I_R( \ + 1, \ +@@ -137,7 +137,7 @@ + ATTRIBUTES_SEQ) \ + {} \ + \ +- BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED \ ++ BOOST_FUSION_GPU_ENABLED \ + NAME(self_type const& other_self) \ + : BOOST_PP_SEQ_FOR_EACH_I_R( \ + 1, \ +@@ -147,7 +147,7 @@ + {} \ + \ + template \ +- BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED \ ++ BOOST_FUSION_GPU_ENABLED \ + NAME(Seq const& seq \ + BOOST_PP_IF( \ + BOOST_PP_DEC(BOOST_PP_SEQ_SIZE(ATTRIBUTES_SEQ)), \ +@@ -167,7 +167,7 @@ + #define BOOST_FUSION_DEFINE_STRUCT_CTOR_1( \ + NAME, ATTRIBUTES_SEQ, ATTRIBUTE_TUPEL_SIZE) \ + \ +- BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED \ ++ BOOST_FUSION_GPU_ENABLED \ + explicit \ + NAME(boost::call_traits< \ + BOOST_PP_TUPLE_ELEM( \ +@@ -180,7 +180,7 @@ + #define BOOST_FUSION_DEFINE_TPL_STRUCT_CTOR_1( \ + TEMPLATE_PARAMS_SEQ, NAME, ATTRIBUTES_SEQ, ATTRIBUTE_TUPEL_SIZE) \ + \ +- BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED \ ++ BOOST_FUSION_GPU_ENABLED \ + explicit \ + NAME(typename boost::call_traits< \ + typename boost::fusion::detail::get_first_arg< \ +@@ -217,7 +217,7 @@ + #define BOOST_FUSION_DEFINE_TPL_STRUCT_CTOR_N( \ + TEMPLATE_PARAMS_SEQ, NAME, ATTRIBUTES_SEQ, ATTRIBUTE_TUPEL_SIZE) \ + \ +- BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED \ ++ BOOST_FUSION_GPU_ENABLED \ + NAME(BOOST_PP_SEQ_FOR_EACH_I_R( \ + 1, \ + BOOST_FUSION_DEFINE_TPL_STRUCT_CTOR_ARG_I, \ +@@ -245,7 +245,7 @@ + #define BOOST_FUSION_DEFINE_STRUCT_CTOR_N( \ + NAME, ATTRIBUTES_SEQ, ATTRIBUTE_TUPEL_SIZE) \ + \ +- BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED \ ++ BOOST_FUSION_GPU_ENABLED \ + NAME(BOOST_PP_SEQ_FOR_EACH_I_R( \ + 1, \ + BOOST_FUSION_DEFINE_STRUCT_CTOR_ARG_I, \ +diff --git a/include/boost/fusion/adapted/struct/detail/define_struct_inline.hpp b/include/boost/fusion/adapted/struct/detail/define_struct_inline.hpp +index a5a3ae0..a037ffe 100644 +--- a/include/boost/fusion/adapted/struct/detail/define_struct_inline.hpp ++++ b/include/boost/fusion/adapted/struct/detail/define_struct_inline.hpp +@@ -66,7 +66,7 @@ + #define BOOST_FUSION_IGNORE_2(ARG1, ARG2) + + #define BOOST_FUSION_MAKE_COPY_CONSTRUCTOR(NAME, ATTRIBUTES_SEQ) \ +- BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED \ ++ BOOST_FUSION_GPU_ENABLED \ + NAME(BOOST_PP_SEQ_FOR_EACH_I( \ + BOOST_FUSION_MAKE_CONST_REF_PARAM, \ + ~, \ +@@ -337,7 +337,7 @@ + typedef boost::mpl::int_ index; \ + typedef boost_fusion_detail_Seq sequence_type; \ + \ +- BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED \ ++ BOOST_FUSION_GPU_ENABLED \ + BOOST_FUSION_ITERATOR_NAME(NAME)(boost_fusion_detail_Seq& seq) \ + : seq_(seq) \ + BOOST_FUSION_DEFINE_ITERATOR_WKND_INIT_LIST_ENTRIES( \ diff --git a/SOURCES/boost-1.48.0-add-bjam-man-page.patch b/SOURCES/boost-1.48.0-add-bjam-man-page.patch new file mode 100644 index 0000000..ea3f19f --- /dev/null +++ b/SOURCES/boost-1.48.0-add-bjam-man-page.patch @@ -0,0 +1,150 @@ +diff --git a/tools/build/v2/doc/bjam.1 b/tools/build/v2/doc/bjam.1 +new file mode 100644 +index 0000000..8a44af6 +--- /dev/null ++++ b/tools/build/v2/doc/bjam.1 +@@ -0,0 +1,144 @@ ++.TH "bjam" 1 "Sat Nov 19 2011" "Doxygen" \" -*- nroff -*- ++.ad l ++.nh ++.SH NAME ++bjam \- Command-line utility to build Boost-related C++ projects with Boost\&.Build ++.SH "SYNOPSIS" ++.PP ++\fBbjam\fP \fC[-a] [-dx] [-fx] [-jx] [-lx] [-n] [-ox] [-px] [-q] [-sx=y] [-tx] [-v] [--x]\fP ++.PP ++\fIbjam\fP accepts the following options: ++.PP ++\fB-a\fP ++.br ++ Build all targets, even if they are current ++.PP ++\fB-dx\fP ++.br ++ Set the debug level to x (0-9) ++.PP ++\fB-fx\fP ++.br ++ Read x instead of Jambase ++.PP ++\fB-jx\fP ++.br ++ Run up to x shell commands concurrently ++.PP ++\fB-lx\fP ++.br ++ Limit actions to x number of seconds after which they are stopped ++.PP ++\fB-n\fP ++.br ++ Don't actually execute the updating actions ++.PP ++\fB-ox\fP ++.br ++ Write the updating actions to file x ++.PP ++\fB-px\fP ++.br ++ x=0, pipes action stdout and stderr merged into action output ++.PP ++\fB-q\fP ++.br ++ Quit quickly as soon as a target fails ++.PP ++\fB-sx=y\fP ++.br ++ Set variable x=y, overriding environment ++.PP ++\fB-tx\fP ++.br ++ Rebuild x, even if it is up-to-date ++.PP ++\fB-v\fP ++.br ++ Print the version of jam and exit ++.PP ++\fB--x\fP ++.br ++ Option is ignored ++.SH "DESCRIPTION" ++.PP ++This section provides the information necessary to create your own projects using \fIBoost\&.Build\fP The information provided here is relatively high-level, and Chapter 6, Reference as well as the on-line help system must be used to obtain low-level documentation (see --help) ++.PP ++\fIBoost\&.Build\fP actually consists of two parts - \fIBoost\&.Jam\fP, a build engine with its own interpreted language, and \fIBoost\&.Build\fP itself, implemented in \fIBoost\&.Jam's\fP language\&. The chain of events when you type bjam on the command line is as follows: ++.IP "\(bu" 2 ++\fIBoost\&.Jam\fP tries to find \fIBoost\&.Build\fP and loads the top-level module\&. The exact process is described in the section called “Initialization” ++.PP ++.PP ++.IP "\(bu" 2 ++The top-level module loads user-defined configuration files, \fIuser-config\&.jam\fP and \fIsite-config\&.jam\fP, which define available toolsets ++.PP ++.PP ++.IP "\(bu" 2 ++The \fIJamfile\fP in the current directory is read That in turn might cause reading of further Jamfiles\&. As a result, a tree of projects is created, with targets inside projects ++.PP ++.PP ++.IP "\(bu" 2 ++Finally, using the build request specified on the command line, \fIBoost\&.Build\fP decides which targets should be built and how\&. That information is passed back to \fIBoost\&.Jam\fP, which takes care of actually running the scheduled build action commands ++.PP ++.PP ++So, to be able to successfully use \fIBoost\&.Build\fP, you need to know only four things: ++.IP "\(bu" 2 ++How to configure \fIBoost\&.Build\fP (http://www.boost.org/boost-build2/doc/html/bbv2/overview/configuration.html) ++.IP "\(bu" 2 ++How to declare targets in Jamfiles (http://www.boost.org/boost-build2/doc/html/bbv2/overview/targets.html) ++.IP "\(bu" 2 ++How the build process works (http://www.boost.org/boost-build2/doc/html/bbv2/overview/build_process.html) ++.PP ++.PP ++Some Basics about the \fIBoost\&.Jam\fP language\&. See the section called “Boost\&.Jam Language” (http://www.boost.org/boost-build2/doc/html/bbv2/overview/jam_language.html) ++.SH "CONCEPTS" ++.PP ++\fIBoost\&.Build\fP has a few unique concepts that are introduced in this section\&. The best way to explain the concepts is by comparison with more classical build tools ++.PP ++When using any flavour of make, you directly specify targets and commands that are used to create them from other target\&. The below example creates a\&.o from a\&.c using a hardcoded compiler invocation command ++.PP ++a\&.o: a\&.c ++.br ++ g++ -o a\&.o -g a\&.c ++.PP ++This is rather low-level description mechanism and it is hard to adjust commands, options, and sets of created targets depending on the used compiler and operating system\&. ++.PP ++To improve portability, most modern build system provide a set of higher-level functions that can be used in build description files\&. Consider this example: ++.PP ++add_program ('a', 'a\&.c') ++.br ++.PP ++This is a function call that creates targets necessary to create executable file from source file a\&.c\&. Depending on configured properties, different commands line may be used\&. However, \fIadd_program\fP is higher-level, but rather thin level All targets are created immediately when build description is parsed, which makes it impossible to perform multi-variant builds\&. Often, change in any build property requires complete reconfiguration of the build tree ++.PP ++In order to support true multivariant builds, Boost\&.Build introduces the concept of metatarget—object that is created when build description is parsed and can be later called with specific build properties to generate actual targets ++.PP ++Consider an example: ++.PP ++exe a : a\&.cpp ; ++.br ++.PP ++When this declaration is parsed, \fIBoost\&.Build\fP creates a metatarget, but does not yet decides what files must be created, or what commands must be used\&. After all build files are parsed, Boost\&.Build considers properties requested on the command line\&. Supposed you have invoked \fIBoost\&.Build\fP with: ++.PP ++\fIbjam\fP toolset=gcc toolset=msvc ++.br ++.PP ++In that case, the metatarget will be called twice, once with toolset=gcc and once with toolset=msvc\&. Both invocations will produce concrete targets, that will have different extensions and use different command lines\&. Another key concept is build property\&. Build property is a variable that affects the build process\&. It can be specified on the command line, and is passed when calling a metatarget ++.PP ++While all build tools have a similar mechanism, \fIBoost\&.Build\fP differs by requiring that all build properties are declared in advance, and providing a large set of properties with portable semantics ++.PP ++The final concept is property propagation\&. Boost\&.Build does not require that every metatarget is called with the same properties\&. Instead, the 'top-level' metatargets are called with the properties specified on the command line Each metatarget can elect to augment or override some properties (in particular, using the requirements mechanism, see the section called “Requirements”: http://www.boost.org/boost-build2/doc/html/bbv2/overview/targets.html#bbv2.overview.targets.requirements) Then, the dependency metatargets are called with modified properties and produce concrete targets that are then used in build process Of course, dependency metatargets maybe in turn modify build properties and have dependencies of their own\&. ++.PP ++For more in-depth treatment of the requirements and concepts, you may refer to SYRCoSE 2009 Boost\&.Build article (http://syrcose.ispras.ru/2009/files/04_paper.pdf)\&. ++.SH "SEE ALSO" ++.PP ++\fBboost-libraries\fP(3) ++.SH "SUPPORT" ++.PP ++Please report any bugs to https://svn.boost.org/trac/boost/ ++.SH "COPYRIGHT" ++.PP ++Boost Software License - Version 1\&.0 - August 17th, 2003 ++.PP ++See the LICENSE_1_0\&.txt file for more information on that license, or directly on Internet: ++.br ++ http://www.boost.org/LICENSE_1_0.txt diff --git a/SOURCES/boost-1.50.0-fix-non-utf8-files.patch b/SOURCES/boost-1.50.0-fix-non-utf8-files.patch new file mode 100644 index 0000000..b60a3ac --- /dev/null +++ b/SOURCES/boost-1.50.0-fix-non-utf8-files.patch @@ -0,0 +1,22 @@ +diff --git a/libs/units/example/autoprefixes.cpp b/libs/units/example/autoprefixes.cpp +index 8b2bc43..d04f2fe 100644 +--- a/libs/units/example/autoprefixes.cpp ++++ b/libs/units/example/autoprefixes.cpp +@@ -67,7 +67,7 @@ struct thing_base_unit : boost::units::base_unit + { + static const char* name() { return("EUR"); } +- static const char* symbol() { return("�"); } ++ static const char* symbol() { return("€"); } + }; + + int main() +@@ -140,7 +140,7 @@ int main() + + quantity ce = 2048. * euro_base_unit::unit_type(); + cout << name_format << engineering_prefix << ce << endl; // 2.048 kiloEUR +- cout << symbol_format << engineering_prefix << ce << endl; // 2.048 k� ++ cout << symbol_format << engineering_prefix << ce << endl; // 2.048 k€ + + + return 0; diff --git a/SOURCES/boost-1.54.0-locale-unused_typedef.patch b/SOURCES/boost-1.54.0-locale-unused_typedef.patch new file mode 100644 index 0000000..b7c9128 --- /dev/null +++ b/SOURCES/boost-1.54.0-locale-unused_typedef.patch @@ -0,0 +1,11 @@ +diff -urp boost_1_54_0-orig/boost/locale/boundary/segment.hpp boost_1_54_0/boost/locale/boundary/segment.hpp +--- boost_1_54_0-orig/boost/locale/boundary/segment.hpp 2013-07-23 00:47:27.020787174 +0200 ++++ boost_1_54_0/boost/locale/boundary/segment.hpp 2013-07-23 00:50:40.382959016 +0200 +@@ -27,7 +27,6 @@ namespace boundary { + int compare_text(LeftIterator l_begin,LeftIterator l_end,RightIterator r_begin,RightIterator r_end) + { + typedef LeftIterator left_iterator; +- typedef RightIterator right_iterator; + typedef typename std::iterator_traits::value_type char_type; + typedef std::char_traits traits; + while(l_begin!=l_end && r_begin!=r_end) { diff --git a/SOURCES/boost-1.54.0-python-unused_typedef.patch b/SOURCES/boost-1.54.0-python-unused_typedef.patch new file mode 100644 index 0000000..8adf8ed --- /dev/null +++ b/SOURCES/boost-1.54.0-python-unused_typedef.patch @@ -0,0 +1,15 @@ +diff -up boost_1_53_0/boost/python/to_python_value.hpp\~ boost_1_53_0/boost/python/to_python_value.hpp +--- boost_1_53_0/boost/python/to_python_value.hpp~ 2007-12-16 11:12:07.000000000 +0100 ++++ boost_1_53_0/boost/python/to_python_value.hpp 2013-07-23 16:19:02.518904596 +0200 +@@ -147,8 +147,8 @@ namespace detail + template + inline PyObject* registry_to_python_value::operator()(argument_type x) const + { +- typedef converter::registered r; + # if BOOST_WORKAROUND(__GNUC__, < 3) ++ typedef converter::registered r; + // suppresses an ICE, somehow + (void)r::converters; + # endif + +Diff finished. Tue Jul 23 16:19:05 2013 diff --git a/SOURCES/boost-1.55.0-python-test-PyImport_AppendInittab.patch b/SOURCES/boost-1.55.0-python-test-PyImport_AppendInittab.patch new file mode 100644 index 0000000..1d2ee5c --- /dev/null +++ b/SOURCES/boost-1.55.0-python-test-PyImport_AppendInittab.patch @@ -0,0 +1,98 @@ +diff -up boost_1_55_0/libs/python/test/exec.cpp\~ boost_1_55_0/libs/python/test/exec.cpp +--- boost_1_55_0/libs/python/test/exec.cpp~ 2010-07-05 00:38:38.000000000 +0200 ++++ boost_1_55_0/libs/python/test/exec.cpp 2015-01-09 21:31:12.903218280 +0100 +@@ -56,6 +56,20 @@ void eval_test() + BOOST_TEST(value == "ABCDEFG"); + } + ++struct PyCtx ++{ ++ PyCtx() { ++ Py_Initialize(); ++ } ++ ++ ~PyCtx() { ++ // N.B. certain problems may arise when Py_Finalize is called when ++ // using Boost.Python. However in this test suite it all seems to ++ // work fine. ++ Py_Finalize(); ++ } ++}; ++ + void exec_test() + { + // Register the module with the interpreter +@@ -68,6 +82,8 @@ void exec_test() + ) == -1) + throw std::runtime_error("Failed to add embedded_hello to the interpreter's " + "builtin modules"); ++ ++ PyCtx ctx; + // Retrieve the main module + python::object main = python::import("__main__"); + +@@ -148,41 +164,43 @@ void check_pyerr(bool pyerr_expected=fal + } + } + ++template ++bool ++run_and_handle_exception(Cb cb, bool pyerr_expected = false) ++{ ++ PyCtx ctx; ++ if (python::handle_exception(cb)) { ++ check_pyerr(pyerr_expected); ++ return true; ++ } else { ++ return false; ++ } ++} ++ + int main(int argc, char **argv) + { + BOOST_TEST(argc == 2 || argc == 3); + std::string script = argv[1]; +- // Initialize the interpreter +- Py_Initialize(); + +- if (python::handle_exception(eval_test)) { +- check_pyerr(); +- } +- else if(python::handle_exception(exec_test)) { +- check_pyerr(); +- } +- else if (python::handle_exception(boost::bind(exec_file_test, script))) { ++ // N.B. exec_test mustn't be called through run_and_handle_exception ++ // as it needs to handles the python context by itself. ++ if (run_and_handle_exception(eval_test) ++ || python::handle_exception(exec_test)) + check_pyerr(); +- } +- +- if (python::handle_exception(exec_test_error)) +- { +- check_pyerr(/*pyerr_expected*/ true); +- } + else +- { ++ run_and_handle_exception(boost::bind(exec_file_test, script)); ++ ++ if (!run_and_handle_exception(exec_test_error, true)) + BOOST_ERROR("Python exception expected, but not seen."); +- } + + if (argc > 2) { ++ PyCtx ctx; + // The main purpose is to test compilation. Since this test generates + // a file and I (rwgk) am uncertain about the side-effects, run it only + // if explicitly requested. + exercise_embedding_html(); + } + +- // Boost.Python doesn't support Py_Finalize yet. +- // Py_Finalize(); + return boost::report_errors(); + } + + +Diff finished. Fri Jan 9 21:31:13 2015 diff --git a/SOURCES/boost-1.57.0-build-optflags.patch b/SOURCES/boost-1.57.0-build-optflags.patch new file mode 100644 index 0000000..d0b925f --- /dev/null +++ b/SOURCES/boost-1.57.0-build-optflags.patch @@ -0,0 +1,48 @@ +diff -up ./tools/build/src/tools/gcc.jam~ ./tools/build/src/tools/gcc.jam +--- ./tools/build/src/tools/gcc.jam~ 2015-02-09 15:01:04.850331626 +0100 ++++ ./tools/build/src/tools/gcc.jam 2015-02-09 15:44:29.122307134 +0100 +@@ -366,17 +366,17 @@ generators.override gcc.compile.c++.pch + toolset.flags gcc.compile PCH_FILE on : ; + + # Declare flags and action for compilation. +-toolset.flags gcc.compile OPTIONS off : -O0 ; +-toolset.flags gcc.compile OPTIONS speed : -O3 ; +-toolset.flags gcc.compile OPTIONS space : -Os ; ++toolset.flags gcc.compile OPTIONS off : ; ++toolset.flags gcc.compile OPTIONS speed : ; ++toolset.flags gcc.compile OPTIONS space : ; + +-toolset.flags gcc.compile OPTIONS off : -fno-inline ; +-toolset.flags gcc.compile OPTIONS on : -Wno-inline ; +-toolset.flags gcc.compile OPTIONS full : -finline-functions -Wno-inline ; ++toolset.flags gcc.compile OPTIONS off : ; ++toolset.flags gcc.compile OPTIONS on : ; ++toolset.flags gcc.compile OPTIONS full : ; + +-toolset.flags gcc.compile OPTIONS off : -w ; +-toolset.flags gcc.compile OPTIONS on : -Wall ; +-toolset.flags gcc.compile OPTIONS all : -Wall -pedantic ; ++toolset.flags gcc.compile OPTIONS off : ; ++toolset.flags gcc.compile OPTIONS on : ; ++toolset.flags gcc.compile OPTIONS all : ; + toolset.flags gcc.compile OPTIONS on : -Werror ; + + toolset.flags gcc.compile OPTIONS on : -g ; +@@ -603,7 +603,7 @@ rule compile.fortran ( targets * : sourc + + actions compile.c++ bind PCH_FILE + { +- "$(CONFIG_COMMAND)" $(LANG) -ftemplate-depth-$(TEMPLATE_DEPTH) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(PCH_FILE:D)" -I"$(INCLUDES)" -c -o "$(<:W)" "$(>:W)" ++ "$(CONFIG_COMMAND)" $(LANG) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(PCH_FILE:D)" -I"$(INCLUDES)" -c -o "$(<:W)" "$(>:W)" + } + + actions compile.c bind PCH_FILE +@@ -613,7 +613,7 @@ actions compile.c bind PCH_FILE + + actions compile.c++.preprocess bind PCH_FILE + { +- "$(CONFIG_COMMAND)" $(LANG) -ftemplate-depth-$(TEMPLATE_DEPTH) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(PCH_FILE:D)" -I"$(INCLUDES)" "$(>:W)" -E >"$(<:W)" ++ "$(CONFIG_COMMAND)" $(LANG) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(PCH_FILE:D)" -I"$(INCLUDES)" "$(>:W)" -E >"$(<:W)" + } + + actions compile.c.preprocess bind PCH_FILE diff --git a/SOURCES/boost-1.57.0-mpl-print.patch b/SOURCES/boost-1.57.0-mpl-print.patch new file mode 100644 index 0000000..561cef1 --- /dev/null +++ b/SOURCES/boost-1.57.0-mpl-print.patch @@ -0,0 +1,31 @@ +diff -up boost_1_57_0/boost/mpl/print.hpp\~ boost_1_57_0/boost/mpl/print.hpp +--- boost_1_57_0/boost/mpl/print.hpp~ 2014-07-09 23:12:31.000000000 +0200 ++++ boost_1_57_0/boost/mpl/print.hpp 2015-01-20 12:44:59.621400948 +0100 +@@ -52,16 +52,15 @@ struct print + enum { n = sizeof(T) + -1 }; + #elif defined(__MWERKS__) + void f(int); +-#else +- enum { +- n = +-# if defined(__EDG_VERSION__) +- aux::dependent_unsigned::value > -1 +-# else +- sizeof(T) > -1 +-# endif +- }; +-#endif ++#elif defined(__EDG_VERSION__) ++ enum { n = aux::dependent_unsigned::value > -1 }; ++#elif defined(BOOST_GCC) ++ enum { n1 }; ++ enum { n2 }; ++ enum { n = n1 != n2 }; ++#else ++ enum { n = sizeof(T) > -1 }; ++#endif + }; + + #if defined(BOOST_MSVC) + +Diff finished. Tue Jan 20 12:45:03 2015 diff --git a/SOURCES/boost-1.57.0-python-abi_letters.patch b/SOURCES/boost-1.57.0-python-abi_letters.patch new file mode 100644 index 0000000..7df3ee7 --- /dev/null +++ b/SOURCES/boost-1.57.0-python-abi_letters.patch @@ -0,0 +1,62 @@ +--- boost_1_57_0/tools/build/src/tools/python.jam 2013-05-21 06:14:18.000000000 +0200 ++++ boost_1_55_0/tools/build/src/tools/python.jam 2014-05-29 19:09:12.115413877 +0200 +@@ -94,7 +94,7 @@ feature.feature pythonpath : : free opti + # using python : 2.3 : /usr/local/bin/python ; + # + rule init ( version ? : cmd-or-prefix ? : includes * : libraries ? +- : condition * : extension-suffix ? ) ++ : condition * : extension-suffix ? : abi-letters ? ) + { + project.push-current $(.project) ; + +@@ -107,7 +107,7 @@ rule init ( version ? : cmd-or-prefix ? + } + } + +- configure $(version) : $(cmd-or-prefix) : $(includes) : $(libraries) : $(condition) : $(extension-suffix) ; ++ configure $(version) : $(cmd-or-prefix) : $(includes) : $(libraries) : $(condition) : $(extension-suffix) : $(abi-letters) ; + + project.pop-current ; + } +@@ -653,7 +653,7 @@ local rule system-library-dependencies ( + + # Declare a target to represent Python's library. + # +-local rule declare-libpython-target ( version ? : requirements * ) ++local rule declare-libpython-target ( version ? : requirements * : abi-letters ? ) + { + # Compute the representation of Python version in the name of Python's + # library file. +@@ -677,13 +677,13 @@ local rule declare-libpython-target ( ve + } + + # Declare it. +- lib python.lib : : python$(lib-version) $(requirements) ; ++ lib python.lib : : python$(lib-version)$(abi-letters) $(requirements) ; + } + + + # Implementation of init. + local rule configure ( version ? : cmd-or-prefix ? : includes * : libraries ? : +- condition * : extension-suffix ? ) ++ condition * : extension-suffix ? : abi-letters ? ) + { + local prefix ; + local exec-prefix ; +@@ -699,6 +699,7 @@ local rule configure ( version ? : cmd-o + extension-suffix ?= _d ; + } + extension-suffix ?= "" ; ++ abi-letters ?= "" ; + + # Normalize and dissect any version number. + local major-minor ; +@@ -922,7 +923,7 @@ local rule configure ( version ? : cmd-o + } + else + { +- declare-libpython-target $(version) : $(target-requirements) ; ++ declare-libpython-target $(version) : $(target-requirements) : $(abi-letters) ; + + # This is an evil hack. On, Windows, when Python is embedded, nothing + # seems to set up sys.path to include Python's standard library diff --git a/SOURCES/boost-1.57.0-python-libpython_dep.patch b/SOURCES/boost-1.57.0-python-libpython_dep.patch new file mode 100644 index 0000000..57bfc26 --- /dev/null +++ b/SOURCES/boost-1.57.0-python-libpython_dep.patch @@ -0,0 +1,13 @@ +Index: boost_1_57_0/tools/build/src/tools/python.jam +=================================================================== +--- boost_1_57_0/tools/build/src/tools/python.jam (revision 50406) ++++ boost_1_57_0/tools/build/src/tools/python.jam (working copy) +@@ -994,7 +994,7 @@ + else + { + alias python_for_extensions +- : ++ : python + : $(target-requirements) + : + : $(usage-requirements) diff --git a/SOURCES/boost-1.57.0-spirit-unused_typedef.patch b/SOURCES/boost-1.57.0-spirit-unused_typedef.patch new file mode 100644 index 0000000..2829629 --- /dev/null +++ b/SOURCES/boost-1.57.0-spirit-unused_typedef.patch @@ -0,0 +1,19 @@ +diff -up boost_1_57_0/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp\~ boost_1_57_0/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp +--- boost_1_57_0/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp~ 2014-10-13 12:21:40.000000000 +0200 ++++ boost_1_57_0/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp 2015-01-20 13:25:50.069710766 +0100 +@@ -282,12 +282,12 @@ struct grammar_definition + #if !defined(BOOST_SPIRIT_SINGLE_GRAMMAR_INSTANCE) + typedef impl::grammar_helper_base helper_base_t; + typedef grammar_helper_list helper_list_t; +- typedef typename helper_list_t::vector_t::reverse_iterator iterator_t; + + helper_list_t& helpers = + grammartract_helper_list::do_(self); + + # if defined(BOOST_INTEL_CXX_VERSION) ++ typedef typename helper_list_t::vector_t::reverse_iterator iterator_t; + for (iterator_t i = helpers.rbegin(); i != helpers.rend(); ++i) + (*i)->undefine(self); + # else + +Diff finished. Tue Jan 20 13:25:53 2015 diff --git a/SOURCES/boost-1.57.0-uuid-comparison.patch b/SOURCES/boost-1.57.0-uuid-comparison.patch new file mode 100644 index 0000000..7b7f991 --- /dev/null +++ b/SOURCES/boost-1.57.0-uuid-comparison.patch @@ -0,0 +1,22 @@ +From fc32eea4ac9e514a7d210306cd9fa3a017dfe02c Mon Sep 17 00:00:00 2001 +From: VemundH +Date: Tue, 30 Sep 2014 21:53:45 +0200 +Subject: [PATCH] remove incorrect casts + +--- + include/boost/uuid/detail/uuid_x86.hpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/include/boost/uuid/detail/uuid_x86.hpp b/include/boost/uuid/detail/uuid_x86.hpp +index 1a329b0..5a2cdec 100644 +--- a/include/boost/uuid/detail/uuid_x86.hpp ++++ b/include/boost/uuid/detail/uuid_x86.hpp +@@ -100,7 +100,7 @@ inline bool operator< (uuid const& lhs, uuid const& rhs) BOOST_NOEXCEPT + cmp = (cmp - 1u) ^ cmp; + rcmp = (rcmp - 1u) ^ rcmp; + +- return static_cast< uint16_t >(cmp) < static_cast< uint16_t >(rcmp); ++ return cmp < rcmp; + } + + } // namespace uuids diff --git a/SOURCES/boost-1.58-binomial_heap.patch b/SOURCES/boost-1.58-binomial_heap.patch new file mode 100644 index 0000000..5ab7d6b --- /dev/null +++ b/SOURCES/boost-1.58-binomial_heap.patch @@ -0,0 +1,27 @@ +From 8091fbf00ae6953d34b717ab077a041420e5ba43 Mon Sep 17 00:00:00 2001 +From: Tim Blechmann +Date: Sat, 5 Sep 2015 09:04:32 +0200 +Subject: [PATCH] heap: binomial heap - fix size handling in pop() + +--- + include/boost/heap/binomial_heap.hpp | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/include/boost/heap/binomial_heap.hpp b/include/boost/heap/binomial_heap.hpp +index 7e0760f..01ccf3f 100644 +--- a/include/boost/heap/binomial_heap.hpp ++++ b/include/boost/heap/binomial_heap.hpp +@@ -404,8 +404,13 @@ class binomial_heap: + binomial_heap children(value_comp(), element->children, sz); + if (trees.empty()) { + stability_counter_type stability_count = super_t::get_stability_count(); ++ size_t size = constant_time_size ? size_holder::get_size() ++ : 0; + swap(children); + super_t::set_stability_count(stability_count); ++ ++ if (constant_time_size) ++ size_holder::set_size( size ); + } else + merge_and_clear_nodes(children); + diff --git a/SOURCES/boost-1.58-ublas-inlines.patch b/SOURCES/boost-1.58-ublas-inlines.patch new file mode 100644 index 0000000..e50ca3f --- /dev/null +++ b/SOURCES/boost-1.58-ublas-inlines.patch @@ -0,0 +1,52 @@ +From ca2ff08600fa63c8dea90897cfe649427bf58a6e Mon Sep 17 00:00:00 2001 +From: Nasos +Date: Wed, 5 Aug 2015 10:17:51 -0400 +Subject: [PATCH] Corrected inline issue in storage.hpp + +--- + include/boost/numeric/ublas/storage.hpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/include/boost/numeric/ublas/storage.hpp b/include/boost/numeric/ublas/storage.hpp +index 8821309..19bc907 100644 +--- a/include/boost/numeric/ublas/storage.hpp ++++ b/include/boost/numeric/ublas/storage.hpp +@@ -777,8 +777,8 @@ namespace boost { namespace numeric { namespace ublas { + BOOST_UBLAS_INLINE + shallow_array_adaptor (size_type size, pointer data): + size_ (size), own_ (false), data_ (data, leaker ()) {} +- BOOST_UBLAS_INLINE + template ++ BOOST_UBLAS_INLINE + shallow_array_adaptor (T (&data)[N]): + size_ (N), own_ (false), data_ (data, leaker ()) {} + +From b805369990aed13a2c837f642a280a7b6352e012 Mon Sep 17 00:00:00 2001 +From: Nasos +Date: Wed, 5 Aug 2015 10:31:25 -0400 +Subject: [PATCH] Corrected inline issue in storage.hpp + +--- + include/boost/numeric/ublas/storage.hpp | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/include/boost/numeric/ublas/storage.hpp b/include/boost/numeric/ublas/storage.hpp +index 19bc907..bd64892 100644 +--- a/include/boost/numeric/ublas/storage.hpp ++++ b/include/boost/numeric/ublas/storage.hpp +@@ -833,13 +833,13 @@ namespace boost { namespace numeric { namespace ublas { + void resize (size_type size, pointer data, value_type init) { + resize_internal (size, data, init, true); + } +- BOOST_UBLAS_INLINE + template ++ BOOST_UBLAS_INLINE + void resize (T (&data)[N]) { + resize_internal (N, data, value_type (), false); + } +- BOOST_UBLAS_INLINE + template ++ BOOST_UBLAS_INLINE + void resize (T (&data)[N], value_type init) { + resize_internal (N, data, init, true); + } diff --git a/SOURCES/boost-1.58.0-address-model.patch b/SOURCES/boost-1.58.0-address-model.patch new file mode 100644 index 0000000..3582737 --- /dev/null +++ b/SOURCES/boost-1.58.0-address-model.patch @@ -0,0 +1,13 @@ +--- boost_1_58_0/tools/build/src/tools/gcc.jam~ 2015-07-17 15:14:57.381636224 +0100 ++++ boost_1_58_0/tools/build/src/tools/gcc.jam 2015-07-27 17:35:29.122264048 +0100 +@@ -421,7 +421,9 @@ + + rule setup-address-model ( targets * : sources * : properties * ) + { +- local model = [ feature.get-values address-model : $(properties) ] ; ++ # For RPM builds the address model flag is passed in %{optflags}. ++ # local model = [ feature.get-values address-model : $(properties) ] ; ++ local model ; + if $(model) + { + local option ; diff --git a/SOURCES/boost-1.58.0-pool-test_linking.patch b/SOURCES/boost-1.58.0-pool-test_linking.patch new file mode 100644 index 0000000..a381370 --- /dev/null +++ b/SOURCES/boost-1.58.0-pool-test_linking.patch @@ -0,0 +1,31 @@ +diff -up boost_1_58_0/libs/pool/test/Jamfile.v2\~ boost_1_58_0/libs/pool/test/Jamfile.v2 +--- boost_1_57_0/libs/pool/test/Jamfile.v2~ 2015-07-17 11:36:16.362519826 +0100 ++++ boost_1_57_0/libs/pool/test/Jamfile.v2 2015-07-17 11:37:38.858847388 +0100 +@@ -28,17 +28,17 @@ + local Werr = gcc:on msvc:on ; + + test-suite pool : +- [ run test_simple_seg_storage.cpp : : : $(Werr) msvc:-wd4267 ] +- [ run test_pool_alloc.cpp : : : $(Werr) ] +- [ run pool_msvc_compiler_bug_test.cpp : : : $(Werr) msvc:-wd4512 ] +- [ run test_msvc_mem_leak_detect.cpp : : : $(Werr) ] +- [ run test_bug_3349.cpp : : : $(Werr) ] +- [ run test_bug_4960.cpp : : : $(Werr) ] +- [ run test_bug_1252.cpp : : : $(Werr) ] +- [ run test_bug_2696.cpp : : : $(Werr) ] +- [ run test_bug_5526.cpp : : : $(Werr) ] ++ [ run test_simple_seg_storage.cpp : : : $(Werr) msvc:-wd4267 /boost/system//boost_system ] ++ [ run test_pool_alloc.cpp : : : $(Werr) /boost/system//boost_system ] ++ [ run pool_msvc_compiler_bug_test.cpp : : : $(Werr) msvc:-wd4512 /boost/system//boost_system ] ++ [ run test_msvc_mem_leak_detect.cpp : : : $(Werr) /boost/system//boost_system ] ++ [ run test_bug_3349.cpp : : : $(Werr) /boost/system//boost_system ] ++ [ run test_bug_4960.cpp : : : $(Werr) /boost/system//boost_system ] ++ [ run test_bug_1252.cpp : : : $(Werr) /boost/system//boost_system ] ++ [ run test_bug_2696.cpp : : : $(Werr) /boost/system//boost_system ] ++ [ run test_bug_5526.cpp : : : $(Werr) /boost/system//boost_system ] + [ run test_threading.cpp : : : multi /boost/thread//boost_thread ] +- [ run ../example/time_pool_alloc.cpp : : : $(Werr) ] ++ [ run ../example/time_pool_alloc.cpp : : : $(Werr) /boost/system//boost_system ] + [ compile test_poisoned_macros.cpp : $(Werr) ] + + # diff --git a/SOURCES/boost-1.58.0-pool.patch b/SOURCES/boost-1.58.0-pool.patch new file mode 100644 index 0000000..ed8449e --- /dev/null +++ b/SOURCES/boost-1.58.0-pool.patch @@ -0,0 +1,120 @@ +Index: boost/pool/pool.hpp +=================================================================== +--- boost/pool/pool.hpp (revision 78317) ++++ boost/pool/pool.hpp (revision 78326) +@@ -27,4 +27,6 @@ + #include + ++// std::numeric_limits ++#include + // boost::integer::static_lcm + #include +@@ -358,4 +360,11 @@ + } + ++ size_type max_chunks() const ++ { //! Calculated maximum number of memory chunks that can be allocated in a single call by this Pool. ++ size_type partition_size = alloc_size(); ++ size_type POD_size = integer::static_lcm::value + sizeof(size_type); ++ return (std::numeric_limits::max() - POD_size) / alloc_size(); ++ } ++ + static void * & nextof(void * const ptr) + { //! \returns Pointer dereferenced. +@@ -377,5 +388,7 @@ + //! the first time that object needs to allocate system memory. + //! The default is 32. This parameter may not be 0. +- //! \param nmax_size is the maximum number of chunks to allocate in one block. ++ //! \param nmax_size is the maximum number of chunks to allocate in one block. ++ set_next_size(nnext_size); ++ set_max_size(nmax_size); + } + +@@ -400,7 +413,7 @@ + } + void set_next_size(const size_type nnext_size) +- { //! Set number of chunks to request from the system the next time that object needs to allocate system memory. This value should never be set to 0. +- //! \returns nnext_size. +- next_size = start_size = nnext_size; ++ { //! Set number of chunks to request from the system the next time that object needs to allocate system memory. This value should never be set to 0. ++ BOOST_USING_STD_MIN(); ++ next_size = start_size = min BOOST_PREVENT_MACRO_SUBSTITUTION(nnext_size, max_chunks()); + } + size_type get_max_size() const +@@ -410,5 +423,6 @@ + void set_max_size(const size_type nmax_size) + { //! Set max_size. +- max_size = nmax_size; ++ BOOST_USING_STD_MIN(); ++ max_size = min BOOST_PREVENT_MACRO_SUBSTITUTION(nmax_size, max_chunks()); + } + size_type get_requested_size() const +@@ -713,7 +727,7 @@ + BOOST_USING_STD_MIN(); + if(!max_size) +- next_size <<= 1; ++ set_next_size(next_size << 1); + else if( next_size*partition_size/requested_size < max_size) +- next_size = min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, max_size*requested_size/ partition_size); ++ set_next_size(min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, max_size * requested_size / partition_size)); + + // initialize it, +@@ -753,7 +767,7 @@ + BOOST_USING_STD_MIN(); + if(!max_size) +- next_size <<= 1; ++ set_next_size(next_size << 1); + else if( next_size*partition_size/requested_size < max_size) +- next_size = min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, max_size*requested_size/ partition_size); ++ set_next_size(min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, max_size * requested_size / partition_size)); + + // initialize it, +@@ -797,4 +811,6 @@ + //! \returns Address of chunk n if allocated ok. + //! \returns 0 if not enough memory for n chunks. ++ if (n > max_chunks()) ++ return 0; + + const size_type partition_size = alloc_size(); +@@ -845,7 +861,7 @@ + BOOST_USING_STD_MIN(); + if(!max_size) +- next_size <<= 1; ++ set_next_size(next_size << 1); + else if( next_size*partition_size/requested_size < max_size) +- next_size = min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, max_size*requested_size/ partition_size); ++ set_next_size(min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, max_size * requested_size / partition_size)); + + // insert it into the list, +Index: libs/pool/test/test_bug_6701.cpp +=================================================================== +--- libs/pool/test/test_bug_6701.cpp (revision 78326) ++++ libs/pool/test/test_bug_6701.cpp (revision 78326) +@@ -0,0 +1,27 @@ ++/* Copyright (C) 2012 Étienne Dupuis ++* ++* Use, modification and distribution is subject to the ++* Boost Software License, Version 1.0. (See accompanying ++* file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) ++*/ ++ ++// Test of bug #6701 (https://svn.boost.org/trac/boost/ticket/6701) ++ ++#include ++#include ++ ++int main() ++{ ++ boost::pool<> p(1024, std::numeric_limits::max() / 768); ++ ++ void *x = p.malloc(); ++ BOOST_ASSERT(!x); ++ ++ BOOST_ASSERT(std::numeric_limits::max() / 1024 >= p.get_next_size()); ++ BOOST_ASSERT(std::numeric_limits::max() / 1024 >= p.get_max_size()); ++ ++ void *y = p.ordered_malloc(std::numeric_limits::max() / 768); ++ BOOST_ASSERT(!y); ++ ++ return 0; ++} diff --git a/SOURCES/boost-1.58.0-variant-includes.patch b/SOURCES/boost-1.58.0-variant-includes.patch new file mode 100644 index 0000000..2938371 --- /dev/null +++ b/SOURCES/boost-1.58.0-variant-includes.patch @@ -0,0 +1,18 @@ +commit 2b2cc6543c44beeb8331dc8e1a7eff2e071a8cc8 +Author: Antony Polukhin +Date: Sun May 10 21:53:27 2015 +0300 + + Fix error with missing include, that was found by Maarten de Vries + +diff --git a/include/boost/variant/detail/element_index.hpp b/include/boost/variant/detail/element_index.hpp +index bd80bdd..842b018 100644 +--- a/include/boost/variant/detail/element_index.hpp ++++ b/include/boost/variant/detail/element_index.hpp +@@ -16,6 +16,7 @@ + #include "boost/variant/recursive_wrapper_fwd.hpp" + #include "boost/variant/variant_fwd.hpp" + ++#include "boost/type_traits/remove_cv.hpp" + #include "boost/mpl/find_if.hpp" + + namespace boost { namespace detail { namespace variant { diff --git a/SOURCES/libboost_thread.so b/SOURCES/libboost_thread.so new file mode 100644 index 0000000..db50610 --- /dev/null +++ b/SOURCES/libboost_thread.so @@ -0,0 +1,21 @@ +changequote(`[', `]')dnl +/* GNU ld script + + Boost.Thread header files pull in enough of Boost.System that + symbols from the latter library are referenced by a compiled object + that includes Boost.Thread headers. libboost_system-mt.so is among + libboost_thread-mt.so's DT_NEEDED, but program linker requires that + missing symbols are satisfied by direct dependency, not by a + transitive one. Hence this linker script, which brings in the + Boost.System DSO. */ + +INPUT(libboost_thread.so.VERSION) +INPUT(libboost_system.so.VERSION) +ifdef([HAS_ATOMIC_FLAG_LOCKFREE],[], +[ +/* If the given architecture doesn't have lock-free implementation of + boost::atomic_flag, the dependency on Boost.Atomic may leak from + the header files to client binaries. */ + +INPUT(libboost_atomic.so.VERSION) +])dnl diff --git a/SOURCES/ver.py b/SOURCES/ver.py new file mode 100644 index 0000000..ef88aea --- /dev/null +++ b/SOURCES/ver.py @@ -0,0 +1,5 @@ +import platform +import sys + +sys.stdout.write (".".join (platform.python_version_tuple ()[:2])) +sys.stdout.write ("\n") diff --git a/SPECS/boost.spec b/SPECS/boost.spec new file mode 100644 index 0000000..e0af9f4 --- /dev/null +++ b/SPECS/boost.spec @@ -0,0 +1,2368 @@ +%{?scl:%scl_package %{?scl_prefix}boost} +%{!?scl:%global pkg_name %{name}} + +# Support for documentation installation As the %%doc macro erases the +# target directory ($RPM_BUILD_ROOT%%{_docdir}/%%{name}), manually +# installed documentation must be saved into a temporary dedicated +# directory. +# XXX note that as of rpm 4.9.1, this shouldn't be necessary anymore. +# We should be able to install directly. +%define boost_docdir __tmp_docdir +%define boost_examplesdir __tmp_examplesdir + +%ifarch ppc64le + %bcond_with mpich +%else +%if 0%{?scl:1} + %bcond_with mpich +%else + %bcond_without mpich +%endif +%endif + +%ifarch s390 s390x ppc64le + # No OpenMPI support on these arches + %bcond_with openmpi +%else +%if 0%{?scl:1} + # No OpenMPI in SCLs + %bcond_with openmpi +%else + %bcond_without openmpi +%endif +%endif + +%ifnarch %{ix86} x86_64 %{arm} ppc64 ppc64le aarch64 + %bcond_with context +%else + %bcond_without context +%endif + +%bcond_with python3 + +Name: %{?scl_prefix}boost +Summary: The free peer-reviewed portable C++ source libraries +Version: 1.58.0 +%define version_enc 1_58_0 +Release: 16%{?dist} +License: Boost and MIT and Python + +%define toplev_dirname boost_%{version_enc} +URL: http://www.boost.org +Group: System Environment/Libraries + +Source0: http://downloads.sourceforge.net/boost/%{toplev_dirname}.tar.bz2 +Source1: ver.py +Source2: libboost_thread.so + +# Since Fedora 13, the Boost libraries are delivered with sonames +# equal to the Boost version (e.g., 1.41.0). +%define sonamever %{?scl_prefix}%{version} + +# boost is an "umbrella" package that pulls in all other boost +# components, except for MPI and Python 3 sub-packages. Those are +# special in that they are rarely necessary, and it's not a big burden +# to have interested parties install them explicitly. +Requires: %{name}-atomic%{?_isa} = %{version}-%{release} +Requires: %{name}-chrono%{?_isa} = %{version}-%{release} +%if %{with context} +Requires: %{name}-context%{?_isa} = %{version}-%{release} +Requires: %{name}-coroutine%{?_isa} = %{version}-%{release} +%endif +Requires: %{name}-date-time%{?_isa} = %{version}-%{release} +Requires: %{name}-filesystem%{?_isa} = %{version}-%{release} +Requires: %{name}-graph%{?_isa} = %{version}-%{release} +Requires: %{name}-iostreams%{?_isa} = %{version}-%{release} +Requires: %{name}-locale%{?_isa} = %{version}-%{release} +Requires: %{name}-log%{?_isa} = %{version}-%{release} +Requires: %{name}-math%{?_isa} = %{version}-%{release} +Requires: %{name}-program-options%{?_isa} = %{version}-%{release} +Requires: %{name}-python%{?_isa} = %{version}-%{release} +Requires: %{name}-random%{?_isa} = %{version}-%{release} +Requires: %{name}-regex%{?_isa} = %{version}-%{release} +Requires: %{name}-serialization%{?_isa} = %{version}-%{release} +Requires: %{name}-signals%{?_isa} = %{version}-%{release} +Requires: %{name}-system%{?_isa} = %{version}-%{release} +Requires: %{name}-test%{?_isa} = %{version}-%{release} +Requires: %{name}-thread%{?_isa} = %{version}-%{release} +Requires: %{name}-timer%{?_isa} = %{version}-%{release} +Requires: %{name}-wave%{?_isa} = %{version}-%{release} + +BuildRequires: m4 +BuildRequires: libstdc++-devel +BuildRequires: bzip2-devel +BuildRequires: zlib-devel +BuildRequires: python-devel +%if %{with python3} +BuildRequires: python3-devel +%endif +BuildRequires: libicu-devel +BuildRequires: chrpath + +# https://svn.boost.org/trac/boost/ticket/6150 +Patch4: boost-1.50.0-fix-non-utf8-files.patch + +# Add a manual page for bjam, based on the on-line documentation: +# http://www.boost.org/boost-build2/doc/html/bbv2/overview.html +Patch5: boost-1.48.0-add-bjam-man-page.patch + +# https://bugzilla.redhat.com/show_bug.cgi?id=828856 +# https://bugzilla.redhat.com/show_bug.cgi?id=828857 +# https://svn.boost.org/trac/boost/ticket/6701 +Patch15: boost-1.58.0-pool.patch + +# https://svn.boost.org/trac/boost/ticket/5637 +Patch25: boost-1.57.0-mpl-print.patch + +# https://svn.boost.org/trac/boost/ticket/8870 +Patch36: boost-1.57.0-spirit-unused_typedef.patch + +# https://svn.boost.org/trac/boost/ticket/8878 +Patch45: boost-1.54.0-locale-unused_typedef.patch + +# https://svn.boost.org/trac/boost/ticket/8888 +Patch49: boost-1.54.0-python-unused_typedef.patch + +# https://svn.boost.org/trac/boost/ticket/9038 +Patch51: boost-1.58.0-pool-test_linking.patch + +# https://bugzilla.redhat.com/show_bug.cgi?id=1102667 +Patch61: boost-1.57.0-python-libpython_dep.patch +Patch62: boost-1.57.0-python-abi_letters.patch +Patch63: boost-1.55.0-python-test-PyImport_AppendInittab.patch + +# https://bugzilla.redhat.com/show_bug.cgi?id=1190039 +Patch65: boost-1.57.0-build-optflags.patch + +# https://svn.boost.org/trac/boost/ticket/10510 +Patch66: boost-1.57.0-uuid-comparison.patch + +# https://svn.boost.org/trac/boost/ticket/11283 +Patch67: boost-1.58.0-variant-includes.patch + +# Prevent gcc.jam from setting -m32 or -m64. +Patch68: boost-1.58.0-address-model.patch + +# https://github.com/boostorg/ublas/pull/25 +Patch69: boost-1.58-ublas-inlines.patch + +Patch70: 0001-Changes-required-for-aarch64-support-in-boost-config.patch + +#http://www.boost.org/patches/1_58_0/0002-Fix-a-regression-with-non-constexpr-types.patch +Patch80: 0002-Fix-a-regression-with-non-constexpr-types.patch +# https://bugzilla.redhat.com/show_bug.cgi?id=1294515 +Patch81: boost-1.58-binomial_heap.patch + +%bcond_with tests +%bcond_with docs_generated + +%description +Boost provides free peer-reviewed portable C++ source libraries. The +emphasis is on libraries which work well with the C++ Standard +Library, in the hopes of establishing "existing practice" for +extensions and providing reference implementations so that the Boost +libraries are suitable for eventual standardization. (Some of the +libraries have already been included in the C++ 2011 standard and +others have been proposed to the C++ Standards Committee for inclusion +in future standards.) + +%package atomic +Summary: Run-Time component of boost atomic library +Group: System Environment/Libraries +%{?scl:Requires:%scl_runtime} + +%description atomic + +Run-Time support for Boost.Atomic, a library that provides atomic data +types and operations on these data types, as well as memory ordering +constraints required for coordinating multiple threads through atomic +variables. + +%package chrono +Summary: Run-Time component of boost chrono library +Group: System Environment/Libraries +Requires: %{name}-system%{?_isa} = %{version}-%{release} +%{?scl:Requires:%scl_runtime} + +%description chrono + +Run-Time support for Boost.Chrono, a set of useful time utilities. + +%package container +Summary: Run-Time component of boost container library +Group: System Environment/Libraries +%{?scl:Requires:%scl_runtime} + +%description container + +Boost.Container library implements several well-known containers, +including STL containers. The aim of the library is to offers advanced +features not present in standard containers or to offer the latest +standard draft features for compilers that comply with C++03. + +%if %{with context} +%package context +Summary: Run-Time component of boost context switching library +Group: System Environment/Libraries +%{?scl:Requires:%scl_runtime} + +%description context + +Run-Time support for Boost.Context, a foundational library that +provides a sort of cooperative multitasking on a single thread. + +%package coroutine +Summary: Run-Time component of boost coroutine library +Group: System Environment/Libraries +%{?scl:Requires:%scl_runtime} + +%description coroutine +Run-Time support for Boost.Coroutine, a library that provides +generalized subroutines which allow multiple entry points for +suspending and resuming execution. + +%endif + +%package date-time +Summary: Run-Time component of boost date-time library +Group: System Environment/Libraries +%{?scl:Requires:%scl_runtime} + +%description date-time + +Run-Time support for Boost Date Time, set of date-time libraries based +on generic programming concepts. + +%package filesystem +Summary: Run-Time component of boost filesystem library +Group: System Environment/Libraries +Requires: %{name}-system%{?_isa} = %{version}-%{release} +%{?scl:Requires:%scl_runtime} + +%description filesystem + +Run-Time support for the Boost Filesystem Library, which provides +portable facilities to query and manipulate paths, files, and +directories. + +%package graph +Summary: Run-Time component of boost graph library +Group: System Environment/Libraries +Requires: %{name}-regex%{?_isa} = %{version}-%{release} +%{?scl:Requires:%scl_runtime} + +%description graph + +Run-Time support for the BGL graph library. BGL interface and graph +components are generic, in the same sense as the the Standard Template +Library (STL). + +%package iostreams +Summary: Run-Time component of boost iostreams library +Group: System Environment/Libraries +%{?scl:Requires:%scl_runtime} + +%description iostreams + +Run-Time support for Boost.IOStreams, a framework for defining streams, +stream buffers and i/o filters. + +%package locale +Summary: Run-Time component of boost locale library +Group: System Environment/Libraries +Requires: %{name}-chrono%{?_isa} = %{version}-%{release} +Requires: %{name}-system%{?_isa} = %{version}-%{release} +Requires: %{name}-thread%{?_isa} = %{version}-%{release} +%{?scl:Requires:%scl_runtime} + +%description locale + +Run-Time support for Boost.Locale, a set of localization and Unicode +handling tools. + +%package log +Summary: Run-Time component of boost logging library +Group: System Environment/Libraries +%{?scl:Requires:%scl_runtime} + +%description log + +Boost.Log library aims to make logging significantly easier for the +application developer. It provides a wide range of out-of-the-box +tools along with public interfaces for extending the library. + +%package math +Summary: Math functions for boost TR1 library +Group: System Environment/Libraries +%{?scl:Requires:%scl_runtime} + +%description math + +Run-Time support for C99 and C++ TR1 C-style Functions from math +portion of Boost.TR1. + +%package program-options +Summary: Run-Time component of boost program_options library +Group: System Environment/Libraries +%{?scl:Requires:%scl_runtime} + +%description program-options + +Run-Time support of boost program options library, which allows program +developers to obtain (name, value) pairs from the user, via +conventional methods such as command line and configuration file. + +%package python +Summary: Run-Time component of boost python library +Group: System Environment/Libraries +%{?scl:Requires:%scl_runtime} + +%description python + +The Boost Python Library is a framework for interfacing Python and +C++. It allows you to quickly and seamlessly expose C++ classes +functions and objects to Python, and vice versa, using no special +tools -- just your C++ compiler. This package contains run-time +support for Boost Python Library. + +%if %{with python3} + +%package python3 +Summary: Run-Time component of boost python library for Python 3 +Group: System Environment/Libraries +%{?scl:Requires:%scl_runtime} + +%description python3 + +The Boost Python Library is a framework for interfacing Python and +C++. It allows you to quickly and seamlessly expose C++ classes +functions and objects to Python, and vice versa, using no special +tools -- just your C++ compiler. This package contains run-time +support for Boost Python Library compiled for Python 3. + +%package python3-devel +Summary: Shared object symbolic links for Boost.Python 3 +Group: System Environment/Libraries +Requires: %{name}-python3%{?_isa} = %{version}-%{release} +Requires: %{name}-devel%{?_isa} = %{version}-%{release} +%{?scl:Requires:%scl_runtime} +%{?scl:Requires:%scl_runtime} + +%description python3-devel + +Shared object symbolic links for Python 3 variant of Boost.Python. + +%endif + +%package random +Summary: Run-Time component of boost random library +Group: System Environment/Libraries +%{?scl:Requires:%scl_runtime} + +%description random + +Run-Time support for boost random library. + +%package regex +Summary: Run-Time component of boost regular expression library +Group: System Environment/Libraries +%{?scl:Requires:%scl_runtime} + +%description regex + +Run-Time support for boost regular expression library. + +%package serialization +Summary: Run-Time component of boost serialization library +Group: System Environment/Libraries +%{?scl:Requires:%scl_runtime} + +%description serialization + +Run-Time support for serialization for persistence and marshaling. + +%package signals +Summary: Run-Time component of boost signals and slots library +Group: System Environment/Libraries +%{?scl:Requires:%scl_runtime} + +%description signals + +Run-Time support for managed signals & slots callback implementation. + +%package system +Summary: Run-Time component of boost system support library +Group: System Environment/Libraries +%{?scl:Requires:%scl_runtime} + +%description system + +Run-Time component of Boost operating system support library, including +the diagnostics support that will be part of the C++0x standard +library. + +%package test +Summary: Run-Time component of boost test library +Group: System Environment/Libraries +%{?scl:Requires:%scl_runtime} + +%description test + +Run-Time support for simple program testing, full unit testing, and for +program execution monitoring. + +%package thread +Summary: Run-Time component of boost thread library +Group: System Environment/Libraries +Requires: %{name}-system%{?_isa} = %{version}-%{release} +%{?scl:Requires:%scl_runtime} + +%description thread + +Run-Time component Boost.Thread library, which provides classes and +functions for managing multiple threads of execution, and for +synchronizing data between the threads or providing separate copies of +data specific to individual threads. + +%package timer +Summary: Run-Time component of boost timer library +Group: System Environment/Libraries +Requires: %{name}-chrono%{?_isa} = %{version}-%{release} +Requires: %{name}-system%{?_isa} = %{version}-%{release} +%{?scl:Requires:%scl_runtime} + +%description timer + +"How long does my C++ code take to run?" +The Boost Timer library answers that question and does so portably, +with as little as one #include and one additional line of code. + +%package wave +Summary: Run-Time component of boost C99/C++ pre-processing library +Group: System Environment/Libraries +Requires: %{name}-chrono%{?_isa} = %{version}-%{release} +Requires: %{name}-date-time%{?_isa} = %{version}-%{release} +Requires: %{name}-filesystem%{?_isa} = %{version}-%{release} +Requires: %{name}-system%{?_isa} = %{version}-%{release} +Requires: %{name}-thread%{?_isa} = %{version}-%{release} +%{?scl:Requires:%scl_runtime} + +%description wave + +Run-Time support for the Boost.Wave library, a Standards conforming, +and highly configurable implementation of the mandated C99/C++ +pre-processor functionality. + +%package devel +Summary: The Boost C++ headers and shared development libraries +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} +Provides: %{name}-python-devel +Requires: libicu-devel%{?_isa} +%{?scl:Requires:%scl_runtime} + +# Odeint was shipped in Fedora 18, but later became part of Boost. +# Note we also obsolete odeint-doc down there. +# https://bugzilla.redhat.com/show_bug.cgi?id=892850 +Provides: %{?scl_prefix}odeint = 2.2-5 +Obsoletes: %{?scl_prefix}odeint < 2.2-5 +Provides: %{?scl_prefix}odeint-devel = 2.2-5 +Obsoletes: %{?scl_prefix}odeint-devel < 2.2-5 + +%description devel +Headers and shared object symbolic links for the Boost C++ libraries. + +%package static +Summary: The Boost C++ static development libraries +Group: Development/Libraries +Requires: %{name}-devel%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-devel-static < 1.34.1-14 +Provides: %{name}-devel-static = %{version}-%{release} +%{?scl:Requires:%scl_runtime} + +%description static +Static Boost C++ libraries. + +%package doc +Summary: HTML documentation for the Boost C++ libraries +Group: Documentation +%if 0%{?rhel} >= 6 +BuildArch: noarch +%endif +Provides: %{name}-python-docs = %{version}-%{release} +%{?scl:Requires:%scl_runtime} + +# See the description above. +Provides: %{?scl_prefix}odeint-doc = 2.2-5 +Obsoletes: %{?scl_prefix}odeint-doc < 2.2-5 + +%description doc +This package contains the documentation in the HTML format of the Boost C++ +libraries. The documentation provides the same content as that on the Boost +web page (http://www.boost.org/doc/libs/1_40_0). + +%package examples +Summary: Source examples for the Boost C++ libraries +Group: Documentation +%if 0%{?rhel} >= 6 +BuildArch: noarch +%endif +Requires: %{name}-devel = %{version}-%{release} +%{?scl:Requires:%scl_runtime} + +%description examples +This package contains example source files distributed with boost. + + +%if %{with openmpi} + +%package openmpi +Summary: Run-Time component of Boost.MPI library +Group: System Environment/Libraries +BuildRequires: openmpi-devel +Requires: %{name}-serialization%{?_isa} = %{version}-%{release} +%{?scl:Requires:%scl_runtime} + +%description openmpi + +Run-Time support for Boost.MPI-OpenMPI, a library providing a clean C++ +API over the OpenMPI implementation of MPI. + +%package openmpi-devel +Summary: Shared library symbolic links for Boost.MPI +Group: System Environment/Libraries +Requires: %{name}-devel%{?_isa} = %{version}-%{release} +Requires: %{name}-openmpi%{?_isa} = %{version}-%{release} +Requires: %{name}-openmpi-python%{?_isa} = %{version}-%{release} +Requires: %{name}-graph-openmpi%{?_isa} = %{version}-%{release} +%{?scl:Requires:%scl_runtime} + +%description openmpi-devel + +Devel package for Boost.MPI-OpenMPI, a library providing a clean C++ +API over the OpenMPI implementation of MPI. + +%package openmpi-python +Summary: Python run-time component of Boost.MPI library +Group: System Environment/Libraries +Requires: %{name}-openmpi%{?_isa} = %{version}-%{release} +Requires: %{name}-python%{?_isa} = %{version}-%{release} +Requires: %{name}-serialization%{?_isa} = %{version}-%{release} +%{?scl:Requires:%scl_runtime} + +%description openmpi-python + +Python support for Boost.MPI-OpenMPI, a library providing a clean C++ +API over the OpenMPI implementation of MPI. + +%package graph-openmpi +Summary: Run-Time component of parallel boost graph library +Group: System Environment/Libraries +Requires: %{name}-openmpi%{?_isa} = %{version}-%{release} +Requires: %{name}-serialization%{?_isa} = %{version}-%{release} +%{?scl:Requires:%scl_runtime} + +%description graph-openmpi + +Run-Time support for the Parallel BGL graph library. The interface and +graph components are generic, in the same sense as the the Standard +Template Library (STL). This libraries in this package use OpenMPI +back-end to do the parallel work. + +%endif + + +%if %{with mpich} + +%package mpich +Summary: Run-Time component of Boost.MPI library +Group: System Environment/Libraries +BuildRequires: mpich-devel +Requires: %{name}-serialization%{?_isa} = %{version}-%{release} +Provides: %{name}-mpich2 = %{version}-%{release} +Obsoletes: %{name}-mpich2 < 1.53.0-9 +%{?scl:Requires:%scl_runtime} + +%description mpich + +Run-Time support for Boost.MPI-MPICH, a library providing a clean C++ +API over the MPICH implementation of MPI. + +%package mpich-devel +Summary: Shared library symbolic links for Boost.MPI +Group: System Environment/Libraries +Requires: %{name}-devel%{?_isa} = %{version}-%{release} +Requires: %{name}-mpich%{?_isa} = %{version}-%{release} +Requires: %{name}-mpich-python%{?_isa} = %{version}-%{release} +Requires: %{name}-graph-mpich%{?_isa} = %{version}-%{release} +Provides: %{name}-mpich2-devel = %{version}-%{release} +Obsoletes: %{name}-mpich2-devel < 1.53.0-9 +%{?scl:Requires:%scl_runtime} + +%description mpich-devel + +Devel package for Boost.MPI-MPICH, a library providing a clean C++ +API over the MPICH implementation of MPI. + +%package mpich-python +Summary: Python run-time component of Boost.MPI library +Group: System Environment/Libraries +Requires: %{name}-mpich%{?_isa} = %{version}-%{release} +Requires: %{name}-python%{?_isa} = %{version}-%{release} +Requires: %{name}-serialization%{?_isa} = %{version}-%{release} +Provides: %{name}-mpich2-python = %{version}-%{release} +Obsoletes: %{name}-mpich2-python < 1.53.0-9 +%{?scl:Requires:%scl_runtime} + +%description mpich-python + +Python support for Boost.MPI-MPICH, a library providing a clean C++ +API over the MPICH implementation of MPI. + +%package graph-mpich +Summary: Run-Time component of parallel boost graph library +Group: System Environment/Libraries +Requires: %{name}-mpich%{?_isa} = %{version}-%{release} +Requires: %{name}-serialization%{?_isa} = %{version}-%{release} +Provides: %{name}-graph-mpich2 = %{version}-%{release} +Obsoletes: %{name}-graph-mpich2 < 1.53.0-9 +%{?scl:Requires:%scl_runtime} + +%description graph-mpich + +Run-Time support for the Parallel BGL graph library. The interface and +graph components are generic, in the same sense as the the Standard +Template Library (STL). This libraries in this package use MPICH +back-end to do the parallel work. + +%endif + +%package build +Summary: Cross platform build system for C++ projects +Group: Development/Tools +Requires: %{name}-jam +BuildArch: noarch +%{?scl:Requires:%scl_runtime} + +%description build +Boost.Build is an easy way to build C++ projects, everywhere. You name +your pieces of executable and libraries and list their sources. Boost.Build +takes care about compiling your sources with the right options, +creating static and shared libraries, making pieces of executable, and other +chores -- whether you're using GCC, MSVC, or a dozen more supported +C++ compilers -- on Windows, OSX, Linux and commercial UNIX systems. + +%package doctools +Summary: Tools for working with Boost documentation +Group: Applications/Publishing +Requires: docbook-dtds +Requires: docbook-style-xsl +%{?scl:Requires:%scl_runtime} + +%description doctools + +Tools for working with Boost documentation in BoostBook or QuickBook format. + +%package jam +Summary: A low-level build tool +Group: Development/Tools +%{?scl:Requires:%scl_runtime} + +%description jam +Boost.Jam (BJam) is the low-level build engine tool for Boost.Build. +Historically, Boost.Jam is based on on FTJam and on Perforce Jam but has grown +a number of significant features and is now developed independently + +%prep +%setup -q -n %{toplev_dirname} + +%patch4 -p1 +%patch5 -p1 +%patch15 -p0 +%patch25 -p1 +%patch36 -p1 +%patch45 -p1 +%patch49 -p1 +%patch51 -p1 +%patch61 -p1 +%patch62 -p1 +%patch63 -p1 +%patch65 -p1 +%patch66 -p2 +%patch67 -p2 +%patch68 -p1 +%patch69 -p2 +%patch70 -p1 +%patch80 -p2 +%patch81 -p2 + +# At least python2_version needs to be a macro so that it's visible in +# %%install as well. +%global python2_version %(/usr/bin/python2 %{SOURCE1}) +%if %{with python3} +%global python3_version %(/usr/bin/python3 %{SOURCE1}) +%global python3_abiflags %(/usr/bin/python3-config --abiflags) +%endif + +%build +: PYTHON2_VERSION=%{python2_version} +%if %{with python3} +: PYTHON3_VERSION=%{python3_version} +: PYTHON3_ABIFLAGS=%{python3_abiflags} +%endif + +# There are many strict aliasing warnings, and it's not feasible to go +# through them all at this time. +export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" + +cat > ./tools/build/src/user-config.jam << "EOF" +import os ; +local RPM_OPT_FLAGS = [ os.environ RPM_OPT_FLAGS ] ; + +using gcc : : : $(RPM_OPT_FLAGS) ; +%if %{with openmpi} || %{with mpich} +using mpi ; +%endif +%if %{with python3} +# This _adds_ extra python version. It doesn't replace whatever +# python 2.X is default on the system. +using python : %{python3_version} : /usr/bin/python3 : /usr/include/python%{python3_version}%{python3_abiflags} : : : : %{python3_abiflags} ; +%endif +EOF + +./bootstrap.sh --with-toolset=gcc --with-icu + +# To prefix soname version with sclname +# http://lists.boost.org/boost-build/2016/04/28603.php +sed -i 's|.$(BOOST_VERSION)|.%{scl_prefix}$(BOOST_VERSION)|g' boostcpp.jam + +# N.B. When we build the following with PCH, parts of boost (math +# library in particular) end up being built second time during +# installation. Unsure why that is, but all sub-builds need to be +# built with pch=off to avoid this. +# +# The "python=2.*" bit tells jam that we want to _also_ build 2.*, not +# just 3.*. When omitted, it just builds for python 3 twice, once +# calling the library libboost_python and once libboost_python3. I +# assume this is for backward compatibility for apps that are used to +# linking against -lboost_python, for when 2->3 transition is +# eventually done. + +echo ============================= build serial ================== +./b2 -d+2 -q %{?_smp_mflags} \ + --without-mpi --without-graph_parallel --build-dir=serial \ +%if !%{with context} + --without-context --without-coroutine \ +%endif + variant=release threading=multi debug-symbols=on pch=off \ + python=%{python2_version} stage + +# See libs/thread/build/Jamfile.v2 for where this file comes from. +if [ $(find serial -type f -name has_atomic_flag_lockfree \ + -print -quit | wc -l) -ne 0 ]; then + DEF=D +else + DEF=U +fi + +m4 -${DEF}HAS_ATOMIC_FLAG_LOCKFREE -DVERSION=%{version} \ + %{SOURCE2} > $(basename %{SOURCE2}) + +# Build MPI parts of Boost with OpenMPI support + +%if %{with openmpi} || %{with mpich} +# First, purge all modules so that user environment doesn't conflict +# with the build. +module purge ||: +%endif + +# N.B. python=2.* here behaves differently: it exactly selects a +# version that we want to build against. Boost MPI is not portable to +# Python 3 due to API changes in Python, so this suits us. +%if %{with openmpi} +%{_openmpi_load} +echo ============================= build $MPI_COMPILER ================== +./b2 -d+2 -q %{?_smp_mflags} \ + --with-mpi --with-graph_parallel --build-dir=$MPI_COMPILER \ + variant=release threading=multi debug-symbols=on pch=off \ + python=%{python2_version} stage +%{_openmpi_unload} +export PATH=/bin${PATH:+:}$PATH +%endif + +# Build MPI parts of Boost with MPICH support +%if %{with mpich} +%{_mpich_load} +echo ============================= build $MPI_COMPILER ================== +./b2 -d+2 -q %{?_smp_mflags} \ + --with-mpi --with-graph_parallel --build-dir=$MPI_COMPILER \ + variant=release threading=multi debug-symbols=on pch=off \ + python=%{python2_version} stage +%{_mpich_unload} +export PATH=/bin${PATH:+:}$PATH +%endif + +echo ============================= build Boost.Build ================== +(cd tools/build + ./bootstrap.sh --with-toolset=gcc) + +%check +: + + +%install +rm -rf $RPM_BUILD_ROOT +cd %{_builddir}/%{toplev_dirname} + +%if %{with openmpi} || %{with mpich} +# First, purge all modules so that user environment doesn't conflict +# with the build. +module purge ||: +%endif + +%if %{with openmpi} +%{_openmpi_load} +# XXX We want to extract this from RPM flags +# b2 instruction-set=i686 etc. +echo ============================= install $MPI_COMPILER ================== +./b2 -q %{?_smp_mflags} \ + --with-mpi --with-graph_parallel --build-dir=$MPI_COMPILER \ + --stagedir=${RPM_BUILD_ROOT}${MPI_HOME} \ + variant=release threading=multi debug-symbols=on pch=off \ + python=%{python2_version} stage + +# Remove generic parts of boost that were built for dependencies. +rm -f ${RPM_BUILD_ROOT}${MPI_HOME}/lib/libboost_{python,{w,}serialization}* + +%{_openmpi_unload} +export PATH=/bin${PATH:+:}$PATH +%endif + +%if %{with mpich} +%{_mpich_load} +echo ============================= install $MPI_COMPILER ================== +./b2 -q %{?_smp_mflags} \ + --with-mpi --with-graph_parallel --build-dir=$MPI_COMPILER \ + --stagedir=${RPM_BUILD_ROOT}${MPI_HOME} \ + variant=release threading=multi debug-symbols=on pch=off \ + python=%{python2_version} stage + +# Remove generic parts of boost that were built for dependencies. +rm -f ${RPM_BUILD_ROOT}${MPI_HOME}/lib/libboost_{python,{w,}serialization}* + +%{_mpich_unload} +export PATH=/bin${PATH:+:}$PATH +%endif + +echo ============================= install serial ================== +./b2 -d+2 -q %{?_smp_mflags} \ + --without-mpi --without-graph_parallel --build-dir=serial \ +%if !%{with context} + --without-context --without-coroutine \ +%endif + --prefix=$RPM_BUILD_ROOT%{_prefix} \ + --libdir=$RPM_BUILD_ROOT%{_libdir} \ + variant=release threading=multi debug-symbols=on pch=off \ + python=%{python2_version} install + +%if 0%{?scl:1} +# Create unversioned symbolic links for libraries - bjam does not do this for prefixed libs +# Removed RPATH +for file in $(find $RPM_BUILD_ROOT%{_libdir}/ -name '*.so*'); do + ln -s $(basename $file) ${file%%.%{sonamever}} + chrpath --delete $file +done +%endif + +# Override DSO symlink with a linker script. See the linker script +# itself for details of why we need to do this. +[ -f $RPM_BUILD_ROOT%{_libdir}/libboost_thread.so ] # Must be present +rm -f $RPM_BUILD_ROOT%{_libdir}/libboost_thread.so +install -p -m 644 $(basename %{SOURCE2}) $RPM_BUILD_ROOT%{_libdir}/ +sed -i -r "s|%{version}|%{sonamever}|g" $RPM_BUILD_ROOT%{_libdir}/$(basename %{SOURCE2}) + + +echo ============================= install Boost.Build ================== +(cd tools/build + ./b2 --prefix=$RPM_BUILD_ROOT%{_prefix} install + # Fix some permissions + chmod -x $RPM_BUILD_ROOT%{_datadir}/boost-build/src/build/alias.py + chmod +x $RPM_BUILD_ROOT%{_datadir}/boost-build/src/tools/doxproc.py + # We don't want to distribute this + rm -f $RPM_BUILD_ROOT%{_bindir}/b2 + # Not a real file + rm -f $RPM_BUILD_ROOT%{_datadir}/boost-build/src/build/project.ann.py + # Empty file + rm -f $RPM_BUILD_ROOT%{_datadir}/boost-build/src/tools/doxygen/windows-paths-check.hpp + # Install the manual page + %{__install} -p -m 644 v2/doc/bjam.1 -D $RPM_BUILD_ROOT%{_mandir}/man1/bjam.1 +) + +echo ============================= install Boost.QuickBook ================== +(cd tools/quickbook + ../build/b2 --prefix=$RPM_BUILD_ROOT%{_prefix} + %{__install} -p -m 755 ../../dist/bin/quickbook $RPM_BUILD_ROOT%{_bindir}/ + cd ../boostbook + find dtd -type f -name '*.dtd' | while read tobeinstalledfiles; do + install -p -m 644 $tobeinstalledfiles -D $RPM_BUILD_ROOT%{_datadir}/boostbook/$tobeinstalledfiles + done + find xsl -type f | while read tobeinstalledfiles; do + install -p -m 644 $tobeinstalledfiles -D $RPM_BUILD_ROOT%{_datadir}/boostbook/$tobeinstalledfiles + done +) + +# Install documentation files (HTML pages) within the temporary place +echo ============================= install documentation ================== +# Prepare the place to temporary store the generated documentation +rm -rf %{boost_docdir} && %{__mkdir_p} %{boost_docdir}/html +DOCPATH=%{boost_docdir} +DOCREGEX='.*\.\(html?\|css\|png\|gif\)' + +find libs doc more -type f -regex $DOCREGEX \ + | sed -n '/\//{s,/[^/]*$,,;p}' \ + | sort -u > tmp-doc-directories + +sed "s:^:$DOCPATH/:" tmp-doc-directories \ + | xargs -P 0 --no-run-if-empty %{__install} -d + +cat tmp-doc-directories | while read tobeinstalleddocdir; do + find $tobeinstalleddocdir -mindepth 1 -maxdepth 1 -regex $DOCREGEX \ + | xargs -P 0 %{__install} -p -m 644 -t $DOCPATH/$tobeinstalleddocdir +done +rm -f tmp-doc-directories +%{__install} -p -m 644 -t $DOCPATH LICENSE_1_0.txt index.htm index.html boost.png rst.css boost.css + +echo ============================= install examples ================== +# Fix a few non-standard issues (DOS and/or non-UTF8 files) +sed -i -e 's/\r//g' libs/geometry/example/ml02_distance_strategy.cpp +for tmp_doc_file in flyweight/example/Jamfile.v2 \ + format/example/sample_new_features.cpp multi_index/example/Jamfile.v2 \ + multi_index/example/hashed.cpp serialization/example/demo_output.txt \ + test/example/cla/wide_string.cpp +do + mv libs/${tmp_doc_file} libs/${tmp_doc_file}.iso8859 + iconv -f ISO8859-1 -t UTF8 < libs/${tmp_doc_file}.iso8859 > libs/${tmp_doc_file} + touch -r libs/${tmp_doc_file}.iso8859 libs/${tmp_doc_file} + rm -f libs/${tmp_doc_file}.iso8859 +done + +# Prepare the place to temporary store the examples +rm -rf %{boost_examplesdir} && mkdir -p %{boost_examplesdir}/html +EXAMPLESPATH=%{boost_examplesdir} +find libs -type d -name example -exec find {} -type f \; \ + | sed -n '/\//{s,/[^/]*$,,;p}' \ + | sort -u > tmp-doc-directories +sed "s:^:$EXAMPLESPATH/:" tmp-doc-directories \ + | xargs -P 0 --no-run-if-empty %{__install} -d +rm -f tmp-doc-files-to-be-installed && touch tmp-doc-files-to-be-installed +cat tmp-doc-directories | while read tobeinstalleddocdir +do + find $tobeinstalleddocdir -mindepth 1 -maxdepth 1 -type f \ + >> tmp-doc-files-to-be-installed +done +cat tmp-doc-files-to-be-installed | while read tobeinstalledfiles +do + if test -s $tobeinstalledfiles + then + tobeinstalleddocdir=`dirname $tobeinstalledfiles` + %{__install} -p -m 644 -t $EXAMPLESPATH/$tobeinstalleddocdir $tobeinstalledfiles + fi +done +rm -f tmp-doc-files-to-be-installed +rm -f tmp-doc-directories +%{__install} -p -m 644 -t $EXAMPLESPATH LICENSE_1_0.txt + +%clean +rm -rf $RPM_BUILD_ROOT + + +# MPI subpackages don't need the ldconfig magic. They are hidden by +# default, in MPI back-end-specific directory, and only show to the +# user after the relevant environment module has been loaded. +# rpmlint will report that as errors, but it is fine. + +%post atomic -p /sbin/ldconfig + +%postun atomic -p /sbin/ldconfig + +%post chrono -p /sbin/ldconfig + +%postun chrono -p /sbin/ldconfig + +%post container -p /sbin/ldconfig + +%postun container -p /sbin/ldconfig + +%if %{with context} +%post context -p /sbin/ldconfig + +%postun context -p /sbin/ldconfig + +%post coroutine -p /sbin/ldconfig + +%postun coroutine -p /sbin/ldconfig +%endif + +%post date-time -p /sbin/ldconfig + +%postun date-time -p /sbin/ldconfig + +%post filesystem -p /sbin/ldconfig + +%postun filesystem -p /sbin/ldconfig + +%post graph -p /sbin/ldconfig + +%postun graph -p /sbin/ldconfig + +%post iostreams -p /sbin/ldconfig + +%postun iostreams -p /sbin/ldconfig + +%post locale -p /sbin/ldconfig + +%postun locale -p /sbin/ldconfig + +%post log -p /sbin/ldconfig + +%postun log -p /sbin/ldconfig + +%post math -p /sbin/ldconfig + +%postun math -p /sbin/ldconfig + +%post program-options -p /sbin/ldconfig + +%postun program-options -p /sbin/ldconfig + +%post python -p /sbin/ldconfig + +%postun python -p /sbin/ldconfig + +%post random -p /sbin/ldconfig + +%postun random -p /sbin/ldconfig + +%post regex -p /sbin/ldconfig + +%postun regex -p /sbin/ldconfig + +%post serialization -p /sbin/ldconfig + +%postun serialization -p /sbin/ldconfig + +%post signals -p /sbin/ldconfig + +%postun signals -p /sbin/ldconfig + +%post system -p /sbin/ldconfig + +%postun system -p /sbin/ldconfig + +%post test -p /sbin/ldconfig + +%postun test -p /sbin/ldconfig + +%post thread -p /sbin/ldconfig + +%postun thread -p /sbin/ldconfig + +%post timer -p /sbin/ldconfig + +%postun timer -p /sbin/ldconfig + +%post wave -p /sbin/ldconfig + +%postun wave -p /sbin/ldconfig + +%post doctools +CATALOG=%{_root_sysconfdir}/xml/catalog +%{_root_bindir}/xmlcatalog --noout --add "rewriteSystem" \ + "http://www.boost.org/tools/boostbook/dtd" \ + "file://%{_datadir}/boostbook/dtd" $CATALOG +%{_root_bindir}/xmlcatalog --noout --add "rewriteURI" \ + "http://www.boost.org/tools/boostbook/dtd" \ + "file://%{_datadir}/boostbook/dtd" $CATALOG +%{_root_bindir}/xmlcatalog --noout --add "rewriteSystem" \ + "http://www.boost.org/tools/boostbook/xsl" \ + "file://%{_datadir}/boostbook/xsl" $CATALOG +%{_root_bindir}/xmlcatalog --noout --add "rewriteURI" \ + "http://www.boost.org/tools/boostbook/xsl" \ + "file://%{_datadir}/boostbook/xsl" $CATALOG + +%postun doctools +# remove entries only on removal of package +if [ "$1" = 0 ]; then + CATALOG=%{_root_sysconfdir}/xml/catalog + %{_root_bindir}/xmlcatalog --noout --del \ + "file://%{_datadir}/boostbook/dtd" $CATALOG + %{_root_bindir}/xmlcatalog --noout --del \ + "file://%{_datadir}/boostbook/xsl" $CATALOG +fi + + +%files +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt + +%files atomic +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_atomic.so.%{sonamever} + +%files chrono +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_chrono.so.%{sonamever} + +%files container +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_container.so.%{sonamever} + +%if %{with context} + +%files context +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_context.so.%{sonamever} + +%files coroutine +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_coroutine.so.%{sonamever} + +%endif + +%files date-time +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_date_time.so.%{sonamever} + +%files filesystem +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_filesystem.so.%{sonamever} + +%files graph +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_graph.so.%{sonamever} + +%files iostreams +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_iostreams.so.%{sonamever} + +%files locale +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_locale.so.%{sonamever} + +%files log +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_log.so.%{sonamever} +%{_libdir}/libboost_log_setup.so.%{sonamever} + +%files math +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_math_c99.so.%{sonamever} +%{_libdir}/libboost_math_c99f.so.%{sonamever} +%{_libdir}/libboost_math_c99l.so.%{sonamever} +%{_libdir}/libboost_math_tr1.so.%{sonamever} +%{_libdir}/libboost_math_tr1f.so.%{sonamever} +%{_libdir}/libboost_math_tr1l.so.%{sonamever} + +%files test +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_prg_exec_monitor.so.%{sonamever} +%{_libdir}/libboost_unit_test_framework.so.%{sonamever} + +%files program-options +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_program_options.so.%{sonamever} + +%files python +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_python.so.%{sonamever} + +%if %{with python3} +%files python3 +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_python3.so.%{sonamever} + +%files python3-devel +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_python3.so +%endif + +%files random +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_random.so.%{sonamever} + +%files regex +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_regex.so.%{sonamever} + +%files serialization +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_serialization.so.%{sonamever} +%{_libdir}/libboost_wserialization.so.%{sonamever} + +%files signals +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_signals.so.%{sonamever} + +%files system +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_system.so.%{sonamever} + +%files thread +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_thread.so.%{sonamever} + +%files timer +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_timer.so.%{sonamever} + +%files wave +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/libboost_wave.so.%{sonamever} + +%files doc +%defattr(-, root, root, -) +%doc %{boost_docdir}/* + +%files examples +%defattr(-, root, root, -) +%doc %{boost_examplesdir}/* + +%files devel +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_includedir}/%{pkg_name} +%{_libdir}/libboost_atomic.so +%{_libdir}/libboost_chrono.so +%{_libdir}/libboost_container.so +%if %{with context} +%{_libdir}/libboost_context.so +%{_libdir}/libboost_coroutine.so +%endif +%{_libdir}/libboost_date_time.so +%{_libdir}/libboost_filesystem.so +%{_libdir}/libboost_graph.so +%{_libdir}/libboost_iostreams.so +%{_libdir}/libboost_locale.so +%{_libdir}/libboost_log.so +%{_libdir}/libboost_log_setup.so +%{_libdir}/libboost_math_tr1.so +%{_libdir}/libboost_math_tr1f.so +%{_libdir}/libboost_math_tr1l.so +%{_libdir}/libboost_math_c99.so +%{_libdir}/libboost_math_c99f.so +%{_libdir}/libboost_math_c99l.so +%{_libdir}/libboost_prg_exec_monitor.so +%{_libdir}/libboost_unit_test_framework.so +%{_libdir}/libboost_program_options.so +%{_libdir}/libboost_python.so +%{_libdir}/libboost_random.so +%{_libdir}/libboost_regex.so +%{_libdir}/libboost_serialization.so +%{_libdir}/libboost_wserialization.so +%{_libdir}/libboost_signals.so +%{_libdir}/libboost_system.so +%{_libdir}/libboost_thread.so +%{_libdir}/libboost_timer.so +%{_libdir}/libboost_wave.so + +%files static +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/*.a +%if %{with mpich} +%{_libdir}/mpich/lib/*.a +%endif +%if %{with openmpi} +%{_libdir}/openmpi/lib/*.a +%endif + +# OpenMPI packages +%if %{with openmpi} + +%files openmpi +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/openmpi/lib/libboost_mpi.so.%{sonamever} + +%files openmpi-devel +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/openmpi/lib/libboost_*.so + +%files openmpi-python +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/openmpi/lib/libboost_mpi_python.so.%{sonamever} +%{_libdir}/openmpi/lib/mpi.so + +%files graph-openmpi +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/openmpi/lib/libboost_graph_parallel.so.%{sonamever} + +%endif + +# MPICH packages +%if %{with mpich} + +%files mpich +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/mpich/lib/libboost_mpi.so.%{sonamever} + +%files mpich-devel +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/mpich/lib/libboost_*.so + +%files mpich-python +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/mpich/lib/libboost_mpi_python.so.%{sonamever} +%{_libdir}/mpich/lib/mpi.so + +%files graph-mpich +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/mpich/lib/libboost_graph_parallel.so.%{sonamever} + +%endif + +%files build +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_datadir}/boost-build/ + +%files doctools +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_bindir}/quickbook +%{_datadir}/boostbook/ + +%files jam +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_bindir}/bjam +%{_mandir}/man1/bjam.1* + +%changelog +* Wed Apr 6 2016 Marek Skalicky - 1.58.0-16 +- Use better way to prefix libraries major soname with sclname + +* Wed Apr 6 2016 Marek Skalicky - 1.58.0-15 +- Libraries major soname prefixed with sclname +- Removed RPATH from libraries (RHBZ#1323136) + +* Wed Apr 6 2016 Marek Skalicky - 1.58.0-14 +- Fixed postun scriptlet (RHBZ#1321958) +- Added scl prefix to odeint provides (RHBZ#1321956) + +* Sun Feb 07 2016 Honza Horak - 1.58.0-13 +- Fixed postun xmlcatalog location + +* Sun Feb 07 2016 Honza Horak - 1.58.0-12 +- Convert to SCL package + +* Fri Jan 15 2016 Jonathan Wakely 1.58.0-11 +- Add patch for binomial_heap::pop (#1294515) + +* Tue Dec 22 2015 Jonathan Wakely 1.58.0-10 +- Add boost-doctools subpackage (#1244268). + +* Fri Dec 04 2015 Jonathan Wakely 1.58.0-9 +- do not use arch-specific BuildRequires (#1268267) + +* Mon Aug 31 2015 Jonathan Wakely 1.58.0-8 +- Add patch for Boost.Fusion bug. + +* Fri Aug 21 2015 Marcin Juszkiewicz - 1.58.0-7 +- Re-enable boost::context on AArch64. + +* Sat Aug 15 2015 Zbigniew Jędrzejewski-Szmek - 1.58.0-6 +- Rebuild for MPI provides + +* Mon Aug 10 2015 Sandro Mani - 1.58.0-5 +- Rebuild for RPM MPI Requires Provides Change + +* Sat Aug 08 2015 Jonathan Wakely 1.58.0-4 +- Patch incorrect placement of BOOST_UBLAS_INLINE macros. + +* Tue Aug 04 2015 Jonathan Wakely 1.58.0-3 +- Patch to prevent address model being set by Boost.Build. + +* Mon Jul 27 2015 Jonathan Wakely 1.58.0-2 +- Patch for missing include (boost-1.58.0-variant-includes.patch). + +* Fri Jul 17 2015 Jonathan Wakely - 1.58.0-1 +- Rebase to 1.58.0 + +* Wed Jun 17 2015 Fedora Release Engineering - 1.57.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon Apr 13 2015 Marcin Juszkiewicz - 1.57.0-7 +- Add AArch64 support for boost::context + - Numbered patches are cherry-picked from upstream repository. + - partial-revert-of-0002 removes some build definitions which are defined + in coroutine/ + - last patch changes ABI names - taken from boost ML + +* Sun Apr 12 2015 David Tardon - 1.57.0-6 +- rebuild for yet another C++ ABI break + +* Mon Mar 16 2015 Than Ngo 1.57.0-5 +- rebuild against new gcc + +* Wed Feb 18 2015 Petr Machata - 1.57.0-4 +- Fix template class boost::rv, which for union T's inherits + off them. (boost-1.57.0-move-is_class.patch) + +* Mon Feb 9 2015 Petr Machata - 1.57.0-3 +- Honor RPM_OPT_FLAGS (boost-1.57.0-build-optflags.patch) + - And don't pass -ftemplate-depth at all. The intention there was + to increase the default instantiation depth above the default 17, + but GCC defaults to 900 anyway, and requesting 128 actually lowers + the limit. (The same patch.) + +- Add a patch to fix incorrect operator< in Boost.UUID + (boost-1.57.0-uuid-comparison.patch) + +* Thu Jan 29 2015 Petr Machata - 1.57.0-2 +- Change Provides: and Obosoletes: back to not use %%{?_isa} +- Enable Boost.Context on PowerPC, it should now be supported +- Add a patch for Boost.Signal2 to include weak_ptr where it uses it + (boost-1.57.0-signals2-weak_ptr.patch) + +* Tue Jan 20 2015 Petr Machata - 1.57.0-1 +- Rebase to 1.57.0 + - Drop patches: + boost-1.54.0-bind-static_assert.patch + boost-1.54.0-concept-unused_typedef.patch + boost-1.54.0-static_warning-unused_typedef.patch + boost-1.54.0-tuple-unused_typedef.patch + boost-1.54.0-random-unused_typedef.patch + boost-1.54.0-date_time-unused_typedef.patch + boost-1.54.0-date_time-unused_typedef-2.patch + boost-1.54.0-spirit-unused_typedef.patch + boost-1.54.0-numeric-unused_typedef.patch + boost-1.54.0-property_tree-unused_typedef.patch + boost-1.55.0-program_options-class_attribute.patch + boost-1.55.0-archive-init_order.patch + boost-1.55.0-xpressive-unused_typedefs.patch + boost-1.55.0-spirit-unused_typedefs.patch + boost-1.54.0-smart_ptr-shared_ptr_at.patch + boost-1.55.0-atomic-int128_1.patch + boost-1.55.0-atomic-int128_2.patch + + - Rebase patches: + boost-1.54.0-mpl-print.patch -> boost-1.57.0-mpl-print.patch + boost-1.54.0-spirit-unused_typedef-2.patch -> boost-1.57.0-spirit-unused_typedef.patch + boost-1.54.0-pool-test_linking.patch -> boost-1.57.0-pool-test_linking.patch + + - Add new subpackages boost-container + +* Fri Jan 9 2015 Petr Machata - 1.55.0-8 +- Build libboost_python and libboost_python3 such that they depend on + their respective libpython's. + (boost-1.55.0-python-libpython_dep.patch, + boost-1.55.0-python-abi_letters.patch) +- Fix Boost.Python test suite so that PyImport_AppendInittab is called + before PyInitialize, which broke the test suite with Python 3. + (boost-1.55.0-python-test-PyImport_AppendInittab.patch) + +* Thu Jan 8 2015 Petr Machata - 1.55.0-7 +- Change Requires: and other package references to use %%{?_isa}, so + that dependencies are arch-aware. +- Drop two obsolete conditions testing Fedora >= 10 (but leave RHEL >= + 6 for potential EPEL deployment). + +* Fri Jan 2 2015 Petr Machata - 1.55.0-6 +- Boost.Atomic: Fixed incorrect initialization of 128-bit values, when + no native support for 128-bit integers is available. + (boost-1.55.0-atomic-int128_1.patch, + boost-1.55.0-atomic-int128_2.patch) + +* Wed Nov 12 2014 Petr Machata - 1.55.0-5 +- Fix boost::shared_ptr::operator[], which was ill-formed for + non-array T's. (boost-1.54.0-smart_ptr-shared_ptr_at.patch) + +* Tue Aug 26 2014 David Tardon - 1.55.0-4 +- rebuild for ICU 53.1 + +* Fri Aug 15 2014 Fedora Release Engineering - 1.55.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1.55.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Mon May 12 2014 Petr Machata - 1.55.0-1 +- Add a new sub-package boost-coroutine +- Annotate or drop some unused typedefs + (boost-1.55.0-python-unused_typedefs.patch, + boost-1.55.0-spirit-unused_typedefs.patch, + boost-1.55.0-xpressive-unused_typedefs.patch) +- Add a patch for wrong initialization order + (boost-1.55.0-archive-init_order.patch) +- Add a patch for misplaced attribute at class declaration + (boost-1.55.0-program_options-class_attribute.patch) +- Drop 001-coroutine.patch, 002-date-time.patch, 003-log.patch, + boost-1.53.0-attribute.patch, + boost-1.54.0-__GLIBC_HAVE_LONG_LONG.patch, + boost-1.54.0-algorithm-unused_typedef.patch, + boost-1.54.0-context-execstack.patch, + boost-1.54.0-graph-unused_typedef.patch, + boost-1.54.0-interprocess-atomic_cas32-ppc.patch, + boost-1.54.0-lexical_cast-int128.patch, + boost-1.54.0-math-unused_typedef-2.patch, + boost-1.54.0-math-unused_typedef.patch, + boost-1.54.0-mpi-unused_typedef.patch, + boost-1.54.0-multiprecision-unused_typedef.patch, + boost-1.54.0-thread-cond_variable_shadow.patch, + boost-1.54.0-thread-link_atomic.patch, + boost-1.54.0-unordered-unused_typedef.patch, + boost-1.54.0-xpressive-unused_typedef.patch, + +* Tue Mar 18 2014 Petr Machata - 1.54.0-14 +- Fix a noexecstack patch for ARM, enable Boost.Context on ARM. + (boost-1.54.0-context-execstack.patch) + +* Tue Mar 18 2014 Björn Esser - 1.54.0-13 +- rebuilt for mpich-3.1 + +* Mon Mar 17 2014 Peter Robinson 1.54.0-12 +- Enable MPICH and OpenMPI support on aarch64 + +* Wed Feb 12 2014 Petr Machata - 1.54.0-11 +- Rebuild for ICU soname bump. + +* Thu Jan 9 2014 Petr Machata - 1.54.0-10 +- Add ppc64le to the list of arches that OpenMPI and MPICH don't + support. + +* Wed Dec 18 2013 Peter Robinson 1.54.0-9 +- Enable MPICH and OpenMPI support on ARM as it's long had them both + +* Fri Dec 13 2013 Petr Machata - 1.54.0-8 +- Add aarch64 into the list of arches that OpenMPI doesn't support. + +* Sun Dec 1 2013 Petr Machata - 1.54.0-7 +- Fix shameful blunders in implementation of the previous fix: don't + hard-code path to has_atomic_flag_lockfree binary; use m4 instead of + cpp, cpp in F19+ prefixes output with a bunch of comments. + +* Wed Nov 27 2013 Petr Machata - 1.54.0-6 +- Add libboost_atomic.so.* to the libboost_thread.so linker script on + architectures that need it. + +* Thu Aug 29 2013 Petr Machata - 1.54.0-5 +- Fix atomic_cas32 (thanks Jaroslav Škarvada for figuring out where + the problem is) (boost-1.54.0-interprocess-atomic_cas32-ppc.patch) + +* Fri Aug 23 2013 Petr Machata - 1.54.0-4 +- Fix compilation of Boost.Pool test cases + (boost-1.54.0-pool-test_linking.patch) +- Fix -Wshadow warnings in Boost.Pool + (boost-1.54.0-pool-max_chunks_shadow.patch) +- -Wshadow warnings in Boost.Thread + (boost-1.54.0-thread-cond_variable_shadow.patch) +- libboost_thread.so.* lacks DT_NEEDED on libboost_atomic.so.* on + s390. (boost-1.54.0-thread-link_atomic.patch) + +* Mon Aug 19 2013 Petr Machata - 1.54.0-3 +- Bump odeint obsoletes and provides a notch to cover a build that + sneaked into rawhide (bug 892850). + +* Tue Jul 30 2013 Petr Machata - 1.54.0-2 +- Fix detection of availability of 128-bit integers in + Boost.LexicalCast (boost-1.54.0-lexical_cast-int128.patch) + +* Fri Jul 26 2013 Petr Machata - 1.54.0-1 +- Rebase to 1.54.0 + - Add new sub-package boost-log + - Boost.Coroutine is only enabled if Boost.Context is + - Drop boost-1.53-context.patch (interesting parts now upstream) + - Drop boost-1.50.0-foreach.patch (#define foreach now discouraged) + - Drop several unused typedef patches that are now upstream. + (boost-1.53.0-static_assert-unused_typedef.patch, + boost-1.53.0-fpclassify-unused_typedef.patch, + boost-1.53.0-math-unused_typedef-3.patch, + boost-1.53.0-lexical_cast-unused_typedef.patch, + boost-1.53.0-regex-unused_typedef.patch, + boost-1.53.0-thread-unused_typedef.patch) + - Add release notes patches (001-coroutine.patch, + 002-date-time.patch, 003-log.patch) + - Add additional unused typedefs in Boost.Math + (boost-1.54.0-math-unused_typedef-2.patch) +- Drop symlinks from libboost_{thread,locale,atomic}.so -> *-mt.so, + which we don't need anymore, as we ditched the tagged layout. + +* Fri Jul 26 2013 Petr Machata - 1.53.0-12 +- There's no physical difference between single-threaded and + multi-threaded builds, except some libraries are only built in + multi-threaded mode. So build everything in multi-threaded mode, + and ditch tagged layout, which we don't need anymore. + https://bugzilla.redhat.com/show_bug.cgi?id=971956 + +* Fri Jul 26 2013 Petr Machata - 1.53.0-11 +- Add Obsoletes for odeint (bug 892850) + +* Thu Jul 25 2013 Deji Akingunola - 1.53.0-10 +- Add Provides and Obsoletes for the mpich2->mpich renames + +* Wed Jul 24 2013 Petr Machata - 1.53.0-9 +- Add explicit dependencies between some of the boost sub-packages + +* Tue Jul 23 2013 Petr Machata - 1.53.0-8 +- MPICH2 became MPICH -- rename subpackages, dependencies and + conditionals. +- Install supporting files (images etc.) for documentation + (courtesy Marcel Metz, bug 985593) +- Add many patches for silencing unused local typedef warnings + (boost-1.53.0-static_assert-unused_typedef.patch, + boost-1.54.0-bind-static_assert.patch, + boost-1.54.0-concept-unused_typedef.patch, + boost-1.54.0-static_warning-unused_typedef.patch, + boost-1.54.0-math-unused_typedef.patch, + boost-1.54.0-math-unused_typedef-2.patch, + boost-1.53.0-fpclassify-unused_typedef.patch, + boost-1.54.0-math-unused_typedef-3.patch, + boost-1.54.0-tuple-unused_typedef.patch, + boost-1.54.0-random-unused_typedef.patch, + boost-1.54.0-date_time-unused_typedef.patch, + boost-1.54.0-date_time-unused_typedef-2.patch, + boost-1.54.0-spirit-unused_typedef.patch, + boost-1.54.0-spirit-unused_typedef-2.patch, + boost-1.54.0-numeric-unused_typedef.patch, + boost-1.54.0-multiprecision-unused_typedef.patch, + boost-1.53.0-lexical_cast-unused_typedef.patch, + boost-1.53.0-regex-unused_typedef.patch, + boost-1.53.0-thread-unused_typedef.patch, + boost-1.54.0-unordered-unused_typedef.patch, + boost-1.54.0-algorithm-unused_typedef.patch, + boost-1.53.0-graph-unused_typedef.patch, + boost-1.54.0-locale-unused_typedef.patch, + boost-1.54.0-property_tree-unused_typedef.patch, + boost-1.54.0-xpressive-unused_typedef.patch, + boost-1.54.0-mpi-unused_typedef.patch, + boost-1.54.0-python-unused_typedef.patch) +- Add a patch to turn off execstack in Boost.Context + (boost-1.54.0-context-execstack.patch) +- Fix boost::mpl::print on GCC (boost-1.54.0-mpl-print.patch) +- Add symlinks for /usr/lib/libboost_{thread,locale}.so -> *-mt.so + +* Wed Jun 26 2013 Petr Machata - 1.53.0-7 +- Fix detection of availability of {,u}int64_t in glibc headers. + (boost-1.53.0-__GLIBC_HAVE_LONG_LONG.patch) + +* Wed Mar 6 2013 Petr Machata - 1.53.0-6 +- libboost_context.so must be guarded by conditional in the expanded + filelist at boost-devel. + +* Tue Mar 5 2013 Petr Machata - 1.53.0-5 +- Split off Python 3 DSO symlink to a separate subpackage + boost-python3-devel. This makes it possible to install + boost-devel separately, without Python 3 support. +- Build with -fno-strict-aliasing + +* Wed Feb 27 2013 Petr Machata - 1.53.0-4 +- Make Boost.Context support conditional + +* Mon Feb 11 2013 Petr Machata - 1.53.0-3 +- Fix Boost.Context on ppc64 +- Future-proof the linker script boost_thread-mt.so + +* Sun Feb 10 2013 Denis Arnaud - 1.53.0-2 +- Fixed the libboost_thread-mt.so script (which wrongly referred to Boost-1.50) + +* Fri Feb 8 2013 Petr Machata - 1.53.0-1 +- Upstream 1.53.0 beta1 + - Drop boost-1.50.0-signals-erase.patch + - Port boost-1.50.0-attribute.patch + - Drop boost-1.50.0-polygon.patch + - New sub-packages boost-atomic and boost-context + +* Sat Jan 26 2013 Peter Robinson 1.50.0-7 +- Rebuild for icu soname bump + +* Sat Nov 03 2012 Denis Arnaud - 1.50.0-6 +- Rebuild for the new MPICH2 (and libmpich2 soname bump) + +* Thu Aug 16 2012 Petr Machata - 1.50.0-5 +- Update %%description to reflect current state of C++ + standardization. Courtesy of Jonathan Wakely. (#837813) + +* Wed Aug 15 2012 Petr Machata - 1.50.0-4 +- Override boost_thread-mt.so with a linker script that brings in + Boost.System DSO as well. + +* Wed Aug 8 2012 Petr Machata - 1.50.0-3 +- boost-python3 shouldn't be under the overall boost umbrella + +* Tue Aug 7 2012 Petr Machata - 1.50.0-2 +- Enable Python 3 builds. This is still disabled in Boost MPI, which + doesn't seem to support Python 3 + +* Thu Jul 26 2012 Petr Machata - 1.50.0-1 +- Upstream 1.50 + - boost-cmake-soname.patch drop, upstream handles soname well, and + we haven't been doing manual numbering for several years now + - boost-1.48.0-cmakeify-full.patch drop, not necessary for bjam + - Rebase many patches, port others, courtesy of Denis Arnaud: + - boost-1.48.0-exceptions.patch drop + - boost-1.48.0-lexical_cast-incomplete.patch drop + - boost-1.48.0-gcc47-pthreads.patch drop + - boost-1.48.0-long-double.patch drop + - boost-1.48.0-xtime.patch drop + - boost-1.48.0-locale.patch drop + - boost-1.48.0-signals-erase.patch port + - boost-1.48.0-fix-non-utf8-files.patch port + - boost-1.48.0-foreach.patch port + - boost-1.48.0-attribute.patch port + - boost-1.48.0-long-double-1.patch port + - boost-1.48.0-polygon.patch port + - boost-1.48.0-pool.patch port + +* Wed Jul 18 2012 Fedora Release Engineering - 1.48.0-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu Jun 21 2012 Petr Machata - 1.48.0-16 +- Build Boost.Locale backends +- Resolves: #832265 + +* Wed Jun 6 2012 Petr Machata - 1.48.0-15 +- In Boost.Pool, be careful not to overflow allocated chunk size. +- Resolves: #828857 + +* Thu May 24 2012 Petr Machata - 1.48.0-14 +- Don't attempt to install Python 3 portions of boost when given + --without python3 +- glibc newly defines a macro TIME_UTC, which collides with + boost::TIME_UTC. We can't avoid expanding that macro, but the value + happens to be the same as that of boost::TIME_UTC. So drop enum + xtime_clock_types. Update boost to use macro TIME_UTC instead of + the scoped enum value. External clients will have to do the same. +- Resolves: #824810 +- BR on hwloc-devel shouldn't be required anymore (see #814798) + +* Wed May 2 2012 Petr Machata - 1.48.0-13 +- Support building boost-python against Python 3 +- Resolves: #807780 + +* Sun Apr 22 2012 Robert Scheck - 1.48.0-12 +- Included -math subpackage into umbrella package +- Added missing /sbin/ldconfig for -math subpackage + +* Fri Apr 20 2012 Petr Machata - 1.48.0-11 +- Add hwloc-devel BR to work around a probable bug in openmpi-devel + which fails to pull it in + +* Tue Feb 28 2012 Fedora Release Engineering - 1.48.0-10 +- Rebuilt for c++ ABI breakage + +* Wed Jan 25 2012 Petr Machata - 1.48.0-9 +- Only build the long double math libraries on arches that support + long double. +- ARM was considered unsupporting, because libc defines + __NO_LONG_DOUBLE_MATH. Ignore this setting, ARM has perfectly + working long double that just happens to be only as long as double. +- Resolves: #783660 +- Add a missing sort adaptor include to boost polygon +- Resolves: #784654 + +* Mon Jan 16 2012 Petr Machata - 1.48.0-8 +- Add underscores around several uses of __attribute__((X)) to prevent + interactions with user-defined macro X +- Resolves: #781859 + +* Sat Jan 14 2012 Denis Arnaud - 1.48.0-7 +- Added source source files for mingw cross-compilation of Boost.Locale. +- Resolves: #781751 + +* Sat Jan 7 2012 Denis Arnaud - 1.48.0-6 +- Added the Boost.Timer sub-package. Resolves: #772397 + +* Wed Jan 4 2012 Denis Arnaud - 1.48.0-5 +- Integrated into "upstream" (CMake-ified Boost) the Boost.TR1/Math patch. + +* Wed Jan 4 2012 Petr Machata - 1.48.0-4 +- Build math portion of Boost.TR1, package DSOs in boost-math. +- Resolves: #771370 + +* Tue Jan 3 2012 Petr Machata - 1.48.0-3 +- Add an upstream patch for BOOST_ENABLE_THREADS + +* Tue Nov 29 2011 Petr Machata - 1.48.0-2 +- Add an upstream patch for BOOST_FOREACH declaration issue #756005 +- Add a proposed patch for error in boost lexical_cast #757385 + +* Sat Nov 19 2011 Denis Arnaud - 1.48.0-1 +- Upgrade to Boost-1.48.0, adding two new header-only components + (Container and Move) and a new library (Locale). +- Resolves: #754865 +- Added a patch with a manual page for the bjam executable. +- Added a patch to fix the non-UTF8-encoded example source file. +- Re-worked a little bit the example section, so as to fix the + DOS-formatted and the ISO-8859-encoded files. + +* Thu Nov 3 2011 Petr Machata - 1.47.0-7 +- Use instead of C++11 header in boost math. +- Resolves: #751210 + +* Fri Sep 9 2011 Petr Machata - 1.47.0-6 +- Rebuild for libicu soname bump +- Hack /bin back to PATH after MPI module unload +- Resolves: #736890 + +* Tue Aug 30 2011 Petr Machata - 1.47.0-4 +- Drop BR bzip2-libs, which is brought it via bzip2-devel +- Source->Source0 +- Drop unnecessary BuildRoot tag +- Update License tag to include all licenses that are found in + sources. Python license is at the main package, not to the python + sub-package, because python22_fixed.h is in -devel. + - Related: #673839 +- Resolves: #225622 + +* Tue Jul 26 2011 Petr Machata - 1.47.0-3 +- Package examples +- Resolves: #722844 + +* Fri Jul 22 2011 Petr Machata - 1.47.0-2 +- Convert two throws in boost/numeric/conversion to + boost::throw_exception to allow compilation with -fno-exception +- Resolves: #724015 + +* Thu Jul 14 2011 Denis Arnaud - 1.47.0-1 +- Upgrade to Boost-1.47.0, adding three new header-only components + (Geometry, Phoenix, Ratio) and a new library (Chrono). + +* Sat Jun 18 2011 Peter Robinson - 1.46.1-4 +- Fix compile on ARM platforms + +* Mon Apr 4 2011 Petr Machata - 1.46.1-3 +- Yet another way to pass -DBOOST_LIB_INSTALL_DIR to cmake. Passing + via CMAKE_CXX_FLAGS for some reason breaks when rpm re-quotes the + expression as a result of %%{optflags} expansion. +- Related: #667294 + +* Wed Mar 30 2011 Deji Akingunola - 1.46.1-2 +- Rebuild for mpich2 soname bump + +* Sun Mar 13 2011 Denis Arnaud - 1.46.1-1 +- Merged the latest changes from the bug-fix release of Boost-1.46 + +* Mon Mar 07 2011 Caolán McNamara - 1.46.0-0.5 +- rebuild for icu 4.6 + +* Thu Feb 24 2011 Denis Arnaud - 1.46.0-0.4 +- Merged the latest changes from the now final release of Boost-1.46 + +* Tue Feb 8 2011 Petr Machata - 1.46.0-0.3.beta1 +- spirit.patch: Fix a problem in using boost::spirit with utf-8 + strings. Thanks to Hicham HAOUARI for digging up the fix. + +* Mon Feb 07 2011 Fedora Release Engineering - 1.46.0-0.2.beta1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Feb 3 2011 Petr Machata - 1.46.0-0.1.beta1 +- Package 1.46.0-beta1 +- Reintroduce the soname patch +- unordered-cctor.patch: Add copy constructors and assignment + operators when using rvalue references +- signals-erase.patch: Pass const_iterator to map::erase to avoid + ambigous overload vs. templatized value_type ctor +- Related: #656410 + +* Mon Jan 10 2011 Denis Arnaud - 1.44.0-7 +- Integrated Petr's work to fix missing Boost.Filesystem V3 issue +- Resolves: #667740 + +* Thu Jan 6 2011 Petr Machata - 1.44.0-6 +- Don't override CXXFLAGS with -DBOOST_IOSTREAMS_USE_DEPRECATED +- Resolves: #667294 + +* Mon Jan 3 2011 Petr Machata - 1.44.0-5 +- Add boost-random DSOs +- Resolves: #665679 + +* Wed Dec 8 2010 Petr Machata - 1.44.0-4 +- Build with support for iostreams deprecated functions +- Resolves: #654480 + +* Fri Dec 3 2010 Tom "spot" Callaway - 1.44.0-3 +- also package build-system.jam in boost-build + +* Tue Nov 30 2010 Tom "spot" Callaway - 1.44.0-2 +- add boost-build, boost-jam subpackages + +* Sat Oct 23 2010 Denis Arnaud - 1.44.0-1.1 +- Rebuild. + +* Sat Aug 21 2010 Denis Arnaud - 1.44.0-1 +- Split the CMake-buildable tar-ball into pristine upstream tar-ball + and CMake framework patch + +* Mon Aug 16 2010 Denis Arnaud - 1.44.0-0.6 +- Merged the latest changes from the now final release of Boost-1.44 + +* Fri Aug 6 2010 Denis Arnaud - 1.44.0-0.5 +- Patched header file in boost/random/detail. Resolves: #621631 + +* Sat Jul 31 2010 Denis Arnaud - 1.44.0-0.4 +- Added missing header files in boost/random/detail. Resolves: #619869 + +* Tue Jul 27 2010 Orcan Ogetbil - 1.44.0-0.3 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Tue Jul 27 2010 Benjamin Kosnik - 1.44.0-0.2 +- Rebuild. + +* Fri Jul 23 2010 Denis Arnaud - 1.44.0-0.1 +- Upstream update: Boost-1.44 with CMake enabled +- Resolves: #607615 + +* Thu Jul 22 2010 David Malcolm - 1.41.0-13 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Fri Jun 4 2010 Petr Machata - 1.41.0-12 +- Turn on mpich2 on s390. Add arm to the list of arches that openmpi + doesn't support. + +* Fri Jun 4 2010 Petr Machata - 1.41.0-12 +- Don't distribute cmake support files. +- Related: #597020 + +* Wed Jun 2 2010 Dan Horák - 1.41.0-11 +- don't build with mpich2/openmpi on s390/s390x + +* Mon May 10 2010 Petr Machata - 1.41.0-10 +- Add an upstream patch that fixes computation of CRC in zlib streams. +- Resolves: #590205 + +* Wed May 05 2010 Rex Dieter - 1.41.0-9 +- -devel: own %%{_datadir}/cmake/%%{name}/ +- -devel: Requires: cmake (for %%{_datadir}/cmake ownership) + +* Fri Apr 02 2010 Caolán McNamara - 1.41.0-8 +- rebuild for icu + +* Mon Feb 22 2010 Petr Machata - 1.41.0-7 +- Add a patch for serialization of shared pointers to non polymorphic + types + +* Tue Feb 2 2010 Petr Machata - 1.41.0-6 +- More subpackage interdependency adjustments + - boost doesn't bring in the MPI stuff. Instead, $MPI-devel does. + It needs to, so that the symbolic links don't dangle. + - boost-graph-$MPI depends on boost-$MPI so that boost-mpich2 + doesn't satisfy the SONAME dependency of boost-graph-openmpi. +- Resolves: #559009 + +* Mon Feb 1 2010 Denis Arnaud - 1.41.0-5 +- Various fixes on the specification +- Resolves: #559009 + +* Fri Jan 29 2010 Petr Machata - 1.41.0-5 +- Introduce support for both OpenMPI and MPICH2 +- Resolves: #559009 + +* Mon Jan 25 2010 Petr Machata - 1.41.0-4 +- Add a patch to build mapnik +- Resolves: #558383 + +* Tue Jan 19 2010 Petr Machata - 1.41.0-3 +- Generalize the soname selection + +* Mon Jan 18 2010 Denis Arnaud - 1.41.0-2.2 +- Further split the Boost.MPI sub-package into boost-mpi and + boost-mpi-python +- Changed the description of Boost.MPI according to the actual + dependency (MPICH2 rather than OpenMPI) +- Added a few details on the generation of the mpi.so library + +* Thu Jan 14 2010 Petr Machata - 1.41.0-2 +- Replace a boost-math subpackage with a stub +- Drop _cmake_lib_suffix and CMAKE_INSTALL_PREFIX magic, the rpm macro + does that for us +- Drop LICENSE from the umbrella package +- Drop obsolete Obsoletes: boost-python and boost-doc <= 1.30.2 + +* Tue Jan 12 2010 Benjamin Kosnik - 1.41.0-1 +- Don't package generated debug libs, even with + (-DCMAKE_BUILD_TYPE=RelWithDebInfo | Release). +- Update and include boost-cmake-soname.patch. +- Uncomment ctest. +- Fix up --with tests to run tests. + +* Sat Dec 19 2009 Denis Arnaud - 1.41.0-0.7 +- Switched off the delivery into a versioned sub-directory + +* Thu Dec 17 2009 Denis Arnaud - 1.41.0-0.6 +- Boost-CMake upstream integration + +* Wed Dec 16 2009 Benjamin Kosnik - 1.41.0-0.5 +- Rebase to 1.41.0 +- Set build type to RelWithDebInfo +- Resolves: #533922 + +* Mon Nov 16 2009 Denis Arnaud - 1.40.0-1 +- Add support for the Boost.MPI sub-package +- Build with CMake (https://svn.boost.org/trac/boost/wiki/CMake) +- Resolves: #529563 + +* Mon Nov 16 2009 Petr Machata - 1.39.0-11 +- Move comment in Patch13 out of line + +* Mon Nov 16 2009 Petr Machata - 1.39.0-10 +- translate_exception.hpp misses a include +- Related: #537612 + +* Thu Oct 15 2009 Petr Machata - 1.39.0-9 +- Package index.html in the -doc subpackage +- Resolves: #529030 + +* Wed Oct 14 2009 Petr Machata - 1.39.0-8 +- Several fixes to support PySide +- Resolves: #520087 +- GCC 4.4 name resolution fixes for GIL +- Resolves: #526834 + +* Sun Oct 11 2009 Jitesh Shah 1.39.0-7 +- Disable long double support for ARM + +* Tue Sep 08 2009 Karsten Hopp 1.39.0-6 +- bump release and rebuild as the package was linked with an old libicu + during the mass rebuild on s390x + +* Wed Aug 26 2009 Tomas Mraz - 1.39.0-5 +- Make it to be usable with openssl-1.0 + +* Fri Jul 24 2009 Fedora Release Engineering - 1.39.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Jul 2 2009 Petr Machata - 1.39.0-3 +- Drop file list for main "boost" package, which was inadvertently left in. +- Add thread sub-package to capture omitted boost_thread. +- Add upstream patch to make boost_filesystem compatible with C++0x. +- Resolves: #496188 +- Resolves: #509250 + +* Mon May 11 2009 Benjamin Kosnik - 1.39.0-2 +- Apply patch from Caolan McNamara +- Resolves: #500030 function_template bug is back... + +* Thu May 07 2009 Benjamin Kosnik - 1.39.0-1 +- Update release. + +* Wed May 06 2009 Benjamin Kosnik - 1.39.0-0.3 +- Fixes for rpmlint. + +* Wed May 06 2009 Petr Machata - 1.39.0-0.2 +- Split up boost package to sub-packages per library +- Resolves: #496188 + +* Wed May 06 2009 Benjamin Kosnik - 1.39.0-0.1 +- Rebase to 1.39.0. +- Add --with docs_generated. +- #225622: Substitute optflags at prep time instead of RPM_OPT_FLAGS. + +* Mon May 04 2009 Benjamin Kosnik - 1.37.0-7 +- Rebuild for libicu bump. + +* Mon Mar 23 2009 Petr Machata - 1.37.0-6 +- Apply a SMP patch from Stefan Ring +- Apply a workaround for "cannot appear in a constant-expression" in + dynamic_bitset library. +- Resolves: #491537 + +* Mon Feb 23 2009 Fedora Release Engineering - 1.37.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Mon Jan 12 2009 Petr Machata - 1.37.0-3 +- Apply a unneccessary_iostreams patch from Caolan McNamara +- Fix soname patch so that it applies with fuzz=0. Use fuzz=0 option + in spec file just like ordinary patches do. +- Resolves: #479409 + +* Fri Dec 19 2008 Petr Machata - 1.37.0-2 +- Apply a function_template patch from Caolan McNamara +- Resolves: #477131 + +* Tue Dec 16 2008 Benjamin Kosnik - 1.37.0-1 +- Fix rpmlint rpath errors. +- Fix rpmlint warnings on tabs and spaces. +- Bump SONAME to 4 + +* Mon Nov 17 2008 Benjamin Kosnik - 1.37.0-0.1 +- Rebase to 1.37.0. + +* Tue Oct 21 2008 Benjamin Kosnik - 1.36.0-1 +- Rebase to 1.36.0. + +* Mon Oct 6 2008 Petr Machata - 1.34.1-17 +- Fix gcc43 patch to apply cleanly under --fuzz=0 +- Resolves: #465003 + +* Mon Aug 11 2008 Petr Machata - 1.36.0-0.1.beta1 +- Rebase to 1.36.0.beta1 + - Drop boost-regex.patch and portions of boost-gcc43.patch, port the rest + - Automate SONAME tracking and bump SONAME to 4 + - Adjust boost-configure.patch to include threading=single,multi explicitly + +* Thu Jun 12 2008 Petr Machata - 1.34.1-16 +- Fix "changes meaning of keywords" in boost date_time +- Related: #450718 + +* Thu May 29 2008 Tom "spot" Callaway - 1.34.1-15 +- fix license tag + +* Thu Mar 27 2008 Petr Machata - 1.34.1-14 +- Change devel-static back to static. +- Related: #225622 + +* Wed Mar 26 2008 Petr Machata - 1.34.1-13 +- Install library doc files +- Revamp %%install phase to speed up overall build time +- Some cleanups per merge review +- Resolves: #437032 + +* Thu Feb 14 2008 Petr Machata - 1.34.1-12 +- Fix "changes meaning of keywords" in boost python +- Resolves: #432694 + +* Wed Feb 13 2008 Petr Machata - 1.34.1-11 +- Fix "changes meaning of special_values_parser" in boost date_time +- Resolves: #432433 + +* Wed Feb 6 2008 Petr Machata - 1.34.1-10 +- Fixes for GCC 4.3 +- Resolves: #431609 + +* Mon Jan 14 2008 Benjamin Kosnik 1.34.1-7 +- Fixes for boost.regex (rev 42674). + +* Wed Sep 19 2007 Benjamin Kosnik 1.34.1-5 +- (#283771: Linking against boost libraries fails). + +* Tue Aug 21 2007 Benjamin Kosnik 1.34.1-4 +- Rebuild. + +* Wed Aug 08 2007 Benjamin Kosnik 1.34.1-3 +- Rebuild for icu 3.8 bump. + +* Thu Aug 02 2007 Benjamin Kosnik 1.34.1-2 +- SONAME to 3. + +* Tue Jul 31 2007 Benjamin Kosnik 1.34.1-1 +- Update to boost_1_34_1. +- Source via http. +- Philipp Thomas fix for RPM_OPT_FLAGS +- Philipp Thomas fix for .so sym links. +- (#225622) Patrice Dumas review comments. + +* Tue Jun 26 2007 Benjamin Kosnik 1.34.1.rc1-0.1 +- Update to boost_1_34_1_RC1. + +* Mon Apr 02 2007 Benjamin Kosnik 1.33.1-13 +- (#225622: Merge Review: boost) + Change static to devel-static. + +* Mon Mar 26 2007 Benjamin Kosnik 1.33.1-12 +- (#233523: libboost_python needs rebuild against python 2.5) + Use patch. + +* Mon Mar 26 2007 Benjamin Kosnik 1.33.1-11 +- (#225622: Merge Review: boost) + Source to http. + BuildRoot to preferred value. + PreReq to post/postun -p + Clarified BSL as GPL-Compatible, Free Software License. + Remove Obsoletes. + Add Provides boost-python. + Remove mkdir -p $RPM_BUILD_ROOT%%{_docdir} + Added periods for decription text. + Fix Group field. + Remove doc Requires boost. + Preserve timestamps on install. + Use %%defattr(-, root, root, -) + Added static package for .a libs. + Install static libs with 0644 permissions. + Use %%doc for doc files. + +* Mon Jan 22 2007 Benjamin Kosnik 1.34.0-0.5 +- Update to boost.RC_1_34_0 snapshot as of 2007-01-19. +- Modify build procedures for boost build v2. +- Add *-mt variants for libraries, or at least variants that use + threads (regex and thread). + +* Thu Nov 23 2006 Benjamin Kosnik 1.33.1-10 +- (#182414: boost: put tests in %%check section) via Rex Dieter +- Fix EVR with %%{?dist} tag via Gianluca Sforna + +* Wed Nov 15 2006 Benjamin Kosnik 1.33.1-9 +- (#154784: boost-debuginfo package is empty) + +* Tue Nov 14 2006 Benjamin Kosnik 1.33.1-8 +- (#205866: Revert scanner.hpp change.) + +* Mon Nov 13 2006 Benjamin Kosnik 1.33.1-7 +- (#205866: boost::spirit generates warnings with -Wshadow) +- (#205863: serialization lib generates warnings) +- (#204326: boost RPM missing dependencies) +- (#193465: [SIGNAL/BIND] Regressions with GCC 4.1) +- BUILD_FLAGS, add, to see actual compile line. +- REGEX_FLAGS, add, to compile regex with ICU support. + +* Wed Jul 12 2006 Jesse Keating - 1.33.1-6.1 +- rebuild + +* Tue May 16 2006 Karsten Hopp 1.33.1-6 +- buildrequire python-devel for Python.h + +* Thu Feb 16 2006 Florian La Roche - 1.33.1-5 +- use the real version number to point to the shared libs + +* Fri Feb 10 2006 Jesse Keating - 1.33.1-4.2 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating - 1.33.1-4.1 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Thu Jan 05 2006 Benjamin Kosnik 1.33.1-4 +- Fix symbolic links. + +* Wed Jan 04 2006 Benjamin Kosnik 1.33.1-3 +- Update to boost-1.33.1. +- (#176485: Missing BuildRequires) +- (#169271: /usr/lib/libboost*.so.? links missing in package) + +* Thu Dec 22 2005 Jesse Keating 1.33.1-2 +- rebuilt + +* Mon Nov 14 2005 Benjamin Kosnik 1.33.1-1 +- Update to boost-1.33.1 beta. +- Run testsuite, gather results. + +* Tue Oct 11 2005 Nils Philippsen 1.33.0-4 +- build require bzip2-devel and zlib-devel + +* Tue Aug 23 2005 Benjamin Kosnik 1.33.0-3 +- Create doc package again. +- Parts of the above by Neal Becker . + +* Fri Aug 12 2005 Benjamin Kosnik 1.33.0-1 +- Update to boost-1.33.0, update SONAME to 2 due to ABI changes. +- Simplified PYTHON_VERSION by Philipp Thomas + +* Tue May 24 2005 Benjamin Kosnik 1.32.0-6 +- (#153093: boost warns that gcc 4.0.0 is an unknown compiler) +- (#152205: development .so symbolic links should be in -devel subpackage) +- (#154783: linker .so symbolic links missing from boost-devel package) + +* Fri Mar 18 2005 Benjamin Kosnik 1.32.0-5 +- Revert boost-base.patch to old behavior. +- Use SONAMEVERSION instead of dllversion. + +* Wed Mar 16 2005 Benjamin Kosnik 1.32.0-4 +- (#142612: Compiling Boost 1.32.0 Failed in RHEL 3.0 on Itanium2) +- (#150069: libboost_python.so is missing) +- (#141617: bad patch boost-base.patch) +- (#122817: libboost_*.so symbolic links missing) +- Re-add boost-thread.patch. +- Change boost-base.patch to show thread tags. +- Change boost-gcc-tools.patch to use SOTAG, compile with dllversion. +- Add symbolic links to files. +- Sanity check can compile with gcc-3.3.x, gcc-3.4.2, gcc-4.0.x., gcc-4.1.x. + +* Thu Dec 02 2004 Benjamin Kosnik 1.32.0-3 +- (#122817: libboost_*.so symbolic links missing) +- (#141574: half of the package is missing) +- (#141617: bad patch boost-base.patch) + +* Wed Dec 01 2004 Benjamin Kosnik 1.32.0-2 +- Remove bogus Obsoletes. + +* Mon Nov 29 2004 Benjamin Kosnik 1.32.0-1 +- Update to 1.32.0 + +* Wed Sep 22 2004 Than Ngo 1.31.0-9 +- cleanup specfile +- fix multiarch problem + +* Tue Jun 15 2004 Elliot Lee +- rebuilt + +* Wed May 05 2004 Warren Togami 1.31.0-7 +- missing Obsoletes boost-python + +* Mon May 03 2004 Benjamin Kosnik +- (#121630: gcc34 patch needed) + +* Wed Apr 21 2004 Warren Togami +- #121415 FC2 BLOCKER: Obsoletes boost-python-devel, boost-doc +- other cleanups + +* Tue Mar 30 2004 Benjamin Kosnik +- Remove bjam dependency. (via Graydon). +- Fix installed library names. +- Fix SONAMEs in shared libraries. +- Fix installed header location. +- Fix installed permissions. + +* Fri Feb 13 2004 Elliot Lee +- rebuilt + +* Mon Feb 09 2004 Benjamin Kosnik 1.31.0-2 +- Update to boost-1.31.0 + +* Thu Jan 22 2004 Benjamin Kosnik 1.31.0-1 +- Update to boost-1.31.0.rc2 +- (#109307: Compile Failure with boost libraries) +- (#104831: Compile errors in apps using Boost.Python...) +- Unify into boost, boost-devel rpms. +- Simplify installation using bjam and prefix install. + +* Tue Sep 09 2003 Nalin Dahyabhai 1.30.2-2 +- require boost-devel instead of devel in subpackages which require boost-devel +- remove stray Prefix: tag + +* Mon Sep 08 2003 Benjamin Kosnik 1.30.2-1 +- change license to Freely distributable +- verify installation of libboost_thread +- more boost-devel removals +- deal with lack of _REENTRANT on ia64/s390 +- (#99458) rpm -e fixed via explict dir additions +- (#103293) update to 1.30.2 + +* Wed Jun 04 2003 Elliot Lee +- rebuilt + +* Tue May 13 2003 Florian La Roche +- remove packager, change to new Group: + +* Tue May 06 2003 Tim Powers 1.30.0-3 +- add deffattr's so we don't have unknown users owning files