diff --git a/.fmf/version b/.fmf/version deleted file mode 100644 index d00491f..0000000 --- a/.fmf/version +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/001-coroutine.patch b/001-coroutine.patch new file mode 100644 index 0000000..f9b3f4a --- /dev/null +++ b/001-coroutine.patch @@ -0,0 +1,19 @@ +------------------------------------------------------------------------ +r84947 | danieljames | 2013-07-03 22:57:56 +0100 (Wed, 03 Jul 2013) | 4 lines + +coroutine: fix typo in Jamfile + +From [84622], by olli + +------------------------------------------------------------------------ +--- 1_54_0/libs/coroutine/build/Jamfile.v2 (revision 84946) ++++ 1_54_0/libs/coroutine/build/Jamfile.v2 (revision 84947) +@@ -40,7 +40,7 @@ + : detail/standard_stack_allocator_posix.cpp + ; + +-explicit yield_sources ; ++explicit allocator_sources ; + + lib boost_coroutine + : allocator_sources diff --git a/002-date-time.patch b/002-date-time.patch new file mode 100644 index 0000000..a05efeb --- /dev/null +++ b/002-date-time.patch @@ -0,0 +1,19 @@ +------------------------------------------------------------------------ +r84948 | danieljames | 2013-07-03 23:02:30 +0100 (Wed, 03 Jul 2013) | 4 lines + +In C++11 the shared_ptr -> bool conversion is explicit. In custom time zone code, make the cast explicit. Fixes compilation failure in C++11 + +From [84626], by marshall. + +------------------------------------------------------------------------ +--- 1_54_0/boost/date_time/local_time/custom_time_zone.hpp (revision 84947) ++++ 1_54_0/boost/date_time/local_time/custom_time_zone.hpp (revision 84948) +@@ -64,7 +64,7 @@ + //! True if zone uses daylight savings adjustments + virtual bool has_dst() const + { +- return (dst_calc_rules_); //if calc_rule is set the tz has dst ++ return (bool) dst_calc_rules_; //if calc_rule is set the tz has dst + } + //! Local time that DST starts -- NADT if has_dst is false + virtual posix_time::ptime dst_local_start_time(gregorian::greg_year y) const diff --git a/003-log.patch b/003-log.patch new file mode 100644 index 0000000..a67c91f --- /dev/null +++ b/003-log.patch @@ -0,0 +1,16 @@ +------------------------------------------------------------------------ +r84966 | andysem | 2013-07-07 11:43:20 +0100 (Sun, 07 Jul 2013) | 1 line + +Backported fix for BOOST_LOG_ONCE_BLOCK_FLAG macro definition. +------------------------------------------------------------------------ +--- 1_54_0/boost/log/utility/once_block.hpp (revision 84965) ++++ 1_54_0/boost/log/utility/once_block.hpp (revision 84966) +@@ -176,7 +176,7 @@ + * been executed. + */ + #define BOOST_LOG_ONCE_BLOCK_FLAG(flag_var)\ +- BOOST_LOG_ONCE_BLOCK_INTERNAL(\ ++ BOOST_LOG_ONCE_BLOCK_FLAG_INTERNAL(\ + flag_var,\ + BOOST_LOG_UNIQUE_IDENTIFIER_NAME(_boost_log_once_block_sentry_)) + diff --git a/b2.1 b/b2.1 deleted file mode 100644 index 130814b..0000000 --- a/b2.1 +++ /dev/null @@ -1,144 +0,0 @@ -.TH "b2" 1 "Sat Nov 19 2011" "Doxygen" \" -*- nroff -*- -.ad l -.nh -.SH NAME -b2 \- Command-line utility to build Boost-related C++ projects with Boost\&.Build -.SH "SYNOPSIS" -.PP -\fBb2\fP \fC[-a] [-dx] [-fx] [-jx] [-lx] [-n] [-ox] [-px] [-q] [-sx=y] [-tx] [-v] [--x]\fP -.PP -\fIb2\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 b2 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 b2 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 -\fIb2\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/boost-1.48.0-add-bjam-man-page.patch b/boost-1.48.0-add-bjam-man-page.patch new file mode 100644 index 0000000..ea3f19f --- /dev/null +++ b/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/boost-1.50.0-fix-non-utf8-files.patch b/boost-1.50.0-fix-non-utf8-files.patch new file mode 100644 index 0000000..b60a3ac --- /dev/null +++ b/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/boost-1.50.0-foreach.patch b/boost-1.50.0-foreach.patch new file mode 100644 index 0000000..dc8cd71 --- /dev/null +++ b/boost-1.50.0-foreach.patch @@ -0,0 +1,60 @@ +Index: /trunk/boost/foreach_fwd.hpp +=================================================================== +--- /trunk/boost/foreach_fwd.hpp (revision 62661) ++++ /trunk/boost/foreach_fwd.hpp (revision 75540) +@@ -15,4 +15,6 @@ + #define BOOST_FOREACH_FWD_HPP + ++#include // for std::pair ++ + // This must be at global scope, hence the uglified name + enum boost_foreach_argument_dependent_lookup_hack +@@ -26,4 +28,7 @@ + namespace foreach + { ++ template ++ std::pair in_range(T begin, T end); ++ + /////////////////////////////////////////////////////////////////////////////// + // boost::foreach::tag +@@ -47,4 +52,22 @@ + } // namespace foreach + ++// Workaround for unfortunate https://svn.boost.org/trac/boost/ticket/6131 ++namespace BOOST_FOREACH ++{ ++ using foreach::in_range; ++ using foreach::tag; ++ ++ template ++ struct is_lightweight_proxy ++ : foreach::is_lightweight_proxy ++ {}; ++ ++ template ++ struct is_noncopyable ++ : foreach::is_noncopyable ++ {}; ++ ++} // namespace BOOST_FOREACH ++ + } // namespace boost + +Index: /trunk/boost/foreach.hpp +=================================================================== +--- /trunk/boost/foreach.hpp (revision 75077) ++++ /trunk/boost/foreach.hpp (revision 75540) +@@ -166,5 +166,5 @@ + // at the global namespace for your type. + template +-inline boost::foreach::is_lightweight_proxy * ++inline boost::BOOST_FOREACH::is_lightweight_proxy * + boost_foreach_is_lightweight_proxy(T *&, BOOST_FOREACH_TAG_DEFAULT) { return 0; } + +@@ -191,5 +191,5 @@ + // at the global namespace for your type. + template +-inline boost::foreach::is_noncopyable * ++inline boost::BOOST_FOREACH::is_noncopyable * + boost_foreach_is_noncopyable(T *&, BOOST_FOREACH_TAG_DEFAULT) { return 0; } + diff --git a/boost-1.50.0-long-double-1.patch b/boost-1.50.0-long-double-1.patch new file mode 100644 index 0000000..2574539 --- /dev/null +++ b/boost-1.50.0-long-double-1.patch @@ -0,0 +1,12 @@ +diff --git a/libs/math/config/has_long_double_support.cpp b/libs/math/config/has_long_double_support.cpp +index d314cf3..9022408 100644 +--- a/libs/math/config/has_long_double_support.cpp ++++ b/libs/math/config/has_long_double_support.cpp +@@ -8,3 +8,7 @@ + #ifdef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS + #error "long double support is not supported by Boost.Math on this Plaform: the long double version of the TR1 library will not be built." + #endif ++ ++int main(int argc, char *argv[]) { ++ return 0; ++} diff --git a/boost-1.50.0-pool.patch b/boost-1.50.0-pool.patch new file mode 100644 index 0000000..5154027 --- /dev/null +++ b/boost-1.50.0-pool.patch @@ -0,0 +1,122 @@ +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::math::static_lcm + #include +@@ -358,4 +360,13 @@ + } + ++ 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 = math::static_lcm::value + sizeof(size_type); ++ size_type max_chunks = (std::numeric_limits::max() - POD_size) / alloc_size(); ++ ++ return max_chunks; ++ } ++ + 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/boost-1.53.0-attribute.patch b/boost-1.53.0-attribute.patch new file mode 100644 index 0000000..aaa0f5d --- /dev/null +++ b/boost-1.53.0-attribute.patch @@ -0,0 +1,33 @@ +diff -urp boost_1_48_0~/boost/config/compiler/gcc.hpp boost_1_48_0/boost/config/compiler/gcc.hpp +--- boost_1_48_0~/boost/config/compiler/gcc.hpp 2012-01-16 16:15:14.643239525 +0100 ++++ boost_1_48_0/boost/config/compiler/gcc.hpp 2012-01-16 16:21:24.072247987 +0100 +@@ -120,13 +120,13 @@ + // _WIN32 or one of its variant spellings. Note that Cygwin is a POSIX environment, + // so does not define _WIN32 or its variants. + # define BOOST_HAS_DECLSPEC +-# define BOOST_SYMBOL_EXPORT __attribute__((dllexport)) +-# define BOOST_SYMBOL_IMPORT __attribute__((dllimport)) ++# define BOOST_SYMBOL_EXPORT __attribute__((__dllexport__)) ++# define BOOST_SYMBOL_IMPORT __attribute__((__dllimport__)) + # else +-# define BOOST_SYMBOL_EXPORT __attribute__((visibility("default"))) ++# define BOOST_SYMBOL_EXPORT __attribute__((__visibility__("default"))) + # define BOOST_SYMBOL_IMPORT + # endif +-# define BOOST_SYMBOL_VISIBLE __attribute__((visibility("default"))) ++# define BOOST_SYMBOL_VISIBLE __attribute__((__visibility__("default"))) + #else + // config/platform/win32.hpp will define BOOST_SYMBOL_EXPORT, etc., unless already defined + # define BOOST_SYMBOL_EXPORT +diff -urp boost_1_48_0~/boost/gil/gil_config.hpp boost_1_48_0/boost/gil/gil_config.hpp +--- boost_1_48_0~/boost/gil/gil_config.hpp 2012-01-16 16:15:29.883239865 +0100 ++++ boost_1_48_0/boost/gil/gil_config.hpp 2012-01-16 16:17:49.096243036 +0100 +@@ -32,7 +32,7 @@ + #if defined(_MSC_VER) + # define GIL_FORCEINLINE __forceinline + #elif defined(__GNUC__) && __GNUC__ > 3 +-# define GIL_FORCEINLINE inline __attribute__ ((always_inline)) ++# define GIL_FORCEINLINE inline __attribute__ ((__always_inline__)) + #else + # define GIL_FORCEINLINE inline + #endif diff --git a/boost-1.53.0-context.patch b/boost-1.53.0-context.patch new file mode 100644 index 0000000..3cc1cf0 --- /dev/null +++ b/boost-1.53.0-context.patch @@ -0,0 +1,57 @@ +--- boost_1_53_0/libs/context/src/asm/make_ppc32_sysv_elf_gas.S.orig 2013-02-11 14:03:46.631005713 -0600 ++++ boost_1_53_0/libs/context/src/asm/make_ppc32_sysv_elf_gas.S 2013-02-11 14:06:52.704815403 -0600 +@@ -87,12 +87,10 @@ + subi %r0, %r3, 64 # reserve 64 bytes (linkage + parameter area), R4 % 16 == 0 + stw %r0, 76(%r3) # save address in R3 as stack pointer for context function + +- mflr %r0 # load LR + bl 1f # jump to label 1 + 1: + mflr %r4 # load LR into R4 + addi %r4, %r4, finish - 1b # compute abs address of label finish +- mtlr %r0 # restore LR + stw %r4, 84(%r3) # save address of finish as return address for context function + # entered after context function returns + +@@ -108,4 +106,5 @@ + + li %r3, 0 # exit code is zero + bl _exit@plt # exit application ++ .long 0 # We should never get here, so SIGILL if we do + .size make_fcontext, .-make_fcontext + +--- boost_1_53_0/libs/context/src/asm/make_ppc64_sysv_elf_gas.S.orig 2013-02-11 14:03:43.726849715 -0600 ++++ boost_1_53_0/libs/context/src/asm/make_ppc64_sysv_elf_gas.S 2013-02-11 14:22:48.202839078 -0600 +@@ -99,21 +99,19 @@ + + # call align_stack, R3 contains address at 16 byte boundary after return + # == pointer to fcontext_t and address of context stack +- rlwinm %r3, %r3, 0, 0, 59 ++ clrrdi %r3, %r3, 4 + + std %r0, 184(%r3) # save address of context stack (base) in fcontext_t + std %r4, 192(%r3) # save context stack size in fcontext_t + std %r5, 176(%r3) # save address of context function in fcontext_t + +- subf %r0, %r3, 64 # 64 bytes on stack for parameter area (== 8 registers) ++ subi %r0, %r3, 64 # 64 bytes on stack for parameter area (== 8 registers) + std %r0, 152(%r3) # save the stack base + +- mflr %r0 # load LR + bl 1f # jump to label 1 + 1: + mflr %r4 # load LR into R4 + addi %r4, %r4, finish - 1b # compute abs address of label finish +- mtlr %r0 # restore LR + std %r4, 168(%r3) # save address of finish as return address for context function + # entered after context function returns + +@@ -128,5 +126,7 @@ + stwu %r1, -32(%r1) # allocate stack space, SP % 16 == 0 + + li %r3, 0 # set return value to zero +- bl _exit@plt # exit application ++ bl _exit # exit application ++ nop # nop is required by the linker ++ .long 0 # We should never get here, so SIGILL if we do + .size .make_fcontext, .-.make_fcontext diff --git a/boost-1.54.0-algorithm-unused_typedef.patch b/boost-1.54.0-algorithm-unused_typedef.patch new file mode 100644 index 0000000..6bc8fe1 --- /dev/null +++ b/boost-1.54.0-algorithm-unused_typedef.patch @@ -0,0 +1,43 @@ +diff -urp boost_1_54_0-orig/boost/algorithm/string/detail/finder.hpp boost_1_54_0/boost/algorithm/string/detail/finder.hpp +--- boost_1_54_0-orig/boost/algorithm/string/detail/finder.hpp 2013-07-23 00:47:43.933889672 +0200 ++++ boost_1_54_0/boost/algorithm/string/detail/finder.hpp 2013-07-23 00:50:40.324958667 +0200 +@@ -142,7 +142,6 @@ namespace boost { + ForwardIteratorT End, + std::forward_iterator_tag ) const + { +- typedef ForwardIteratorT input_iterator_type; + typedef iterator_range result_type; + + first_finder_type first_finder( +@@ -263,7 +262,6 @@ namespace boost { + ForwardIteratorT End, + unsigned int N) const + { +- typedef ForwardIteratorT input_iterator_type; + typedef iterator_range result_type; + + // Sanity check +@@ -298,7 +296,6 @@ namespace boost { + ForwardIteratorT End, + unsigned int N) const + { +- typedef ForwardIteratorT input_iterator_type; + typedef iterator_range result_type; + + // Sanity check +@@ -362,7 +359,6 @@ namespace boost { + unsigned int N, + std::random_access_iterator_tag ) + { +- typedef ForwardIteratorT input_iterator_type; + typedef iterator_range result_type; + + if ( (End<=Begin) || ( static_cast(End-Begin) < N ) ) +@@ -436,7 +432,6 @@ namespace boost { + unsigned int N, + std::random_access_iterator_tag ) + { +- typedef ForwardIteratorT input_iterator_type; + typedef iterator_range result_type; + + if ( (End<=Begin) || ( static_cast(End-Begin) < N ) ) diff --git a/boost-1.54.0-bind-static_assert.patch b/boost-1.54.0-bind-static_assert.patch new file mode 100644 index 0000000..bd1800e --- /dev/null +++ b/boost-1.54.0-bind-static_assert.patch @@ -0,0 +1,21 @@ +diff -up ./boost/bind/arg.hpp~ ./boost/bind/arg.hpp +--- ./boost/bind/arg.hpp~ 2007-11-25 10:07:19.000000000 -0800 ++++ ./boost/bind/arg.hpp 2013-07-18 00:41:41.667412595 -0700 +@@ -21,6 +21,7 @@ + + #include + #include ++#include + + namespace boost + { +@@ -33,8 +34,7 @@ template< int I > struct arg + + template< class T > arg( T const & /* t */ ) + { +- // static assert I == is_placeholder::value +- typedef char T_must_be_placeholder[ I == is_placeholder::value? 1: -1 ]; ++ BOOST_STATIC_ASSERT(I == is_placeholder::value); + } + }; + diff --git a/boost-1.54.0-concept-unused_typedef.patch b/boost-1.54.0-concept-unused_typedef.patch new file mode 100644 index 0000000..9559a5c --- /dev/null +++ b/boost-1.54.0-concept-unused_typedef.patch @@ -0,0 +1,21 @@ +diff -up ./boost/concept/detail/general.hpp~ ./boost/concept/detail/general.hpp +--- ./boost/concept/detail/general.hpp~ 2010-06-08 12:31:13.000000000 -0700 ++++ ./boost/concept/detail/general.hpp 2013-07-18 06:01:05.967747186 -0700 +@@ -6,6 +6,7 @@ + + # include + # include ++# include + + # ifdef BOOST_OLD_CONCEPT_SUPPORT + # include +@@ -68,7 +69,8 @@ struct requirement_ + # define BOOST_CONCEPT_ASSERT_FN( ModelFnPtr ) \ + typedef ::boost::concepts::detail::instantiate< \ + &::boost::concepts::requirement_::failed> \ +- BOOST_PP_CAT(boost_concept_check,__LINE__) ++ BOOST_PP_CAT(boost_concept_check,__LINE__) \ ++ BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE + + }} + diff --git a/boost-1.54.0-context-execstack.patch b/boost-1.54.0-context-execstack.patch new file mode 100644 index 0000000..8bf3eb1 --- /dev/null +++ b/boost-1.54.0-context-execstack.patch @@ -0,0 +1,129 @@ +diff -up boost-1.54.0/libs/context/src/asm/jump_arm_aapcs_elf_gas.S~ boost-1.54.0/libs/context/src/asm/jump_arm_aapcs_elf_gas.S +--- boost-1.54.0/libs/context/src/asm/jump_arm_aapcs_elf_gas.S~ 2012-12-21 02:22:09.000000000 -0800 ++++ boost-1.54.0/libs/context/src/asm/jump_arm_aapcs_elf_gas.S 2013-07-15 11:11:46.772543152 -0700 +@@ -71,3 +71,6 @@ jump_fcontext: + @ and as first arg in context function + ldmia a2, {v1-v8,sp-pc} @ restore v1-V8,SP-PC + .size jump_fcontext,.-jump_fcontext ++ ++/* Mark that we don't need executable stack. */ ++.section .note.GNU-stack,"",@progbits +diff -up boost-1.54.0/libs/context/src/asm/jump_i386_sysv_elf_gas.S~ boost-1.54.0/libs/context/src/asm/jump_i386_sysv_elf_gas.S +--- boost-1.54.0/libs/context/src/asm/jump_i386_sysv_elf_gas.S~ 2012-09-18 02:06:47.000000000 -0700 ++++ boost-1.54.0/libs/context/src/asm/jump_i386_sysv_elf_gas.S 2013-07-15 11:10:32.829144835 -0700 +@@ -70,3 +70,6 @@ jump_fcontext: + + jmp *%edx /* indirect jump to context */ + .size jump_fcontext,.-jump_fcontext ++ ++/* Mark that we don't need executable stack. */ ++.section .note.GNU-stack,"",@progbits +diff -up boost-1.54.0/libs/context/src/asm/jump_ppc32_sysv_elf_gas.S~ boost-1.54.0/libs/context/src/asm/jump_ppc32_sysv_elf_gas.S +--- boost-1.54.0/libs/context/src/asm/jump_ppc32_sysv_elf_gas.S~ 2012-11-27 23:52:08.000000000 -0800 ++++ boost-1.54.0/libs/context/src/asm/jump_ppc32_sysv_elf_gas.S 2013-07-15 11:10:57.848279687 -0700 +@@ -178,3 +178,6 @@ jump_fcontext: + + bctr # jump to context + .size jump_fcontext, .-jump_fcontext ++ ++/* Mark that we don't need executable stack. */ ++.section .note.GNU-stack,"",@progbits +diff -up boost-1.54.0/libs/context/src/asm/jump_ppc64_sysv_elf_gas.S~ boost-1.54.0/libs/context/src/asm/jump_ppc64_sysv_elf_gas.S +--- boost-1.54.0/libs/context/src/asm/jump_ppc64_sysv_elf_gas.S~ 2012-11-27 23:52:08.000000000 -0800 ++++ boost-1.54.0/libs/context/src/asm/jump_ppc64_sysv_elf_gas.S 2013-07-15 11:11:07.189330597 -0700 +@@ -199,3 +199,6 @@ jump_fcontext: + + bctr # jump to context + .size .jump_fcontext, .-.jump_fcontext ++ ++/* Mark that we don't need executable stack. */ ++.section .note.GNU-stack,"",@progbits +diff -up boost-1.54.0/libs/context/src/asm/jump_x86_64_sysv_elf_gas.S~ boost-1.54.0/libs/context/src/asm/jump_x86_64_sysv_elf_gas.S +--- boost-1.54.0/libs/context/src/asm/jump_x86_64_sysv_elf_gas.S~ 2012-09-18 02:06:47.000000000 -0700 ++++ boost-1.54.0/libs/context/src/asm/jump_x86_64_sysv_elf_gas.S 2013-07-15 11:09:49.724912924 -0700 +@@ -80,3 +80,6 @@ jump_fcontext: + + jmp *%rcx /* indirect jump to context */ + .size jump_fcontext,.-jump_fcontext ++ ++/* Mark that we don't need executable stack. */ ++.section .note.GNU-stack,"",@progbits +diff -up boost-1.54.0/libs/context/src/asm/make_arm_aapcs_elf_gas.S~ boost-1.54.0/libs/context/src/asm/make_arm_aapcs_elf_gas.S +--- boost-1.54.0/libs/context/src/asm/make_arm_aapcs_elf_gas.S~ 2013-01-15 01:51:39.000000000 -0800 ++++ boost-1.54.0/libs/context/src/asm/make_arm_aapcs_elf_gas.S 2013-07-15 11:11:38.626499289 -0700 +@@ -74,3 +74,6 @@ finish: + mov a1, #0 @ exit code is zero + bl _exit@PLT @ exit application + .size make_fcontext,.-make_fcontext ++ ++/* Mark that we don't need executable stack. */ ++.section .note.GNU-stack,"",@progbits +diff -up boost-1.54.0/libs/context/src/asm/make_i386_sysv_elf_gas.S~ boost-1.54.0/libs/context/src/asm/make_i386_sysv_elf_gas.S +--- boost-1.54.0/libs/context/src/asm/make_i386_sysv_elf_gas.S~ 2013-06-07 08:38:10.000000000 -0700 ++++ boost-1.54.0/libs/context/src/asm/make_i386_sysv_elf_gas.S 2013-07-15 11:10:40.333185226 -0700 +@@ -75,3 +75,6 @@ finish: + call _exit@PLT /* exit application */ + hlt + .size make_fcontext,.-make_fcontext ++ ++/* Mark that we don't need executable stack. */ ++.section .note.GNU-stack,"",@progbits +diff -up boost-1.54.0/libs/context/src/asm/make_mips32_o32_elf_gas.S~ boost-1.54.0/libs/context/src/asm/make_mips32_o32_elf_gas.S +--- boost-1.54.0/libs/context/src/asm/make_mips32_o32_elf_gas.S~ 2012-11-27 23:52:08.000000000 -0800 ++++ boost-1.54.0/libs/context/src/asm/make_mips32_o32_elf_gas.S 2013-07-15 11:12:34.392799546 -0700 +@@ -83,3 +83,6 @@ finish: + jalr $t9 # exit application + .end make_fcontext + .size make_fcontext, .-make_fcontext ++ ++/* Mark that we don't need executable stack. */ ++.section .note.GNU-stack,"",@progbits +diff -up boost-1.54.0/libs/context/src/asm/make_ppc32_sysv_elf_gas.S~ boost-1.54.0/libs/context/src/asm/make_ppc32_sysv_elf_gas.S +--- boost-1.54.0/libs/context/src/asm/make_ppc32_sysv_elf_gas.S~ 2013-05-08 22:40:43.000000000 -0700 ++++ boost-1.54.0/libs/context/src/asm/make_ppc32_sysv_elf_gas.S 2013-07-15 11:11:20.247400344 -0700 +@@ -109,3 +109,6 @@ finish: + li %r3, 0 # exit code is zero + bl _exit@plt # exit application + .size make_fcontext, .-make_fcontext ++ ++/* Mark that we don't need executable stack. */ ++.section .note.GNU-stack,"",@progbits +diff -up boost-1.54.0/libs/context/src/asm/make_ppc64_sysv_elf_gas.S~ boost-1.54.0/libs/context/src/asm/make_ppc64_sysv_elf_gas.S +--- boost-1.54.0/libs/context/src/asm/make_ppc64_sysv_elf_gas.S~ 2013-05-08 22:40:43.000000000 -0700 ++++ boost-1.54.0/libs/context/src/asm/make_ppc64_sysv_elf_gas.S 2013-07-15 11:11:13.400363259 -0700 +@@ -131,3 +131,6 @@ finish: + bl _exit # exit application + nop + .size .make_fcontext, .-.make_fcontext ++ ++/* Mark that we don't need executable stack. */ ++.section .note.GNU-stack,"",@progbits +diff -up boost-1.54.0/libs/context/src/asm/make_sparc64_sysv_elf_gas.S~ boost-1.54.0/libs/context/src/asm/make_sparc64_sysv_elf_gas.S +--- boost-1.54.0/libs/context/src/asm/make_sparc64_sysv_elf_gas.S~ 2013-02-12 04:55:22.000000000 -0800 ++++ boost-1.54.0/libs/context/src/asm/make_sparc64_sysv_elf_gas.S 2013-07-15 11:12:41.643838416 -0700 +@@ -84,3 +84,6 @@ finish: + nop + + .size make_fcontext,.-make_fcontext ++ ++/* Mark that we don't need executable stack. */ ++.section .note.GNU-stack,"",@progbits +diff -up boost-1.54.0/libs/context/src/asm/make_sparc_sysv_elf_gas.S~ boost-1.54.0/libs/context/src/asm/make_sparc_sysv_elf_gas.S +--- boost-1.54.0/libs/context/src/asm/make_sparc_sysv_elf_gas.S~ 2013-02-12 04:55:22.000000000 -0800 ++++ boost-1.54.0/libs/context/src/asm/make_sparc_sysv_elf_gas.S 2013-07-15 11:12:48.733876794 -0700 +@@ -80,3 +80,6 @@ finish: + nop + + .size make_fcontext,.-make_fcontext ++ ++/* Mark that we don't need executable stack. */ ++.section .note.GNU-stack,"",@progbits +diff -up boost-1.54.0/libs/context/src/asm/make_x86_64_sysv_elf_gas.S~ boost-1.54.0/libs/context/src/asm/make_x86_64_sysv_elf_gas.S +--- boost-1.54.0/libs/context/src/asm/make_x86_64_sysv_elf_gas.S~ 2012-11-29 23:38:52.000000000 -0800 ++++ boost-1.54.0/libs/context/src/asm/make_x86_64_sysv_elf_gas.S 2013-07-15 11:10:06.151001366 -0700 +@@ -72,3 +72,5 @@ finish: + hlt + .size make_fcontext,.-make_fcontext + ++/* Mark that we don't need executable stack. */ ++.section .note.GNU-stack,"",@progbits diff --git a/boost-1.54.0-date_time-unused_typedef-2.patch b/boost-1.54.0-date_time-unused_typedef-2.patch new file mode 100644 index 0000000..b39abe5 --- /dev/null +++ b/boost-1.54.0-date_time-unused_typedef-2.patch @@ -0,0 +1,13 @@ +diff -up boost_1_54_0/boost/date_time/gregorian/greg_facet.hpp\~ boost_1_54_0/boost/date_time/gregorian/greg_facet.hpp +--- boost_1_54_0/boost/date_time/gregorian/greg_facet.hpp~ 2008-11-23 12:13:35.000000000 +0100 ++++ boost_1_54_0/boost/date_time/gregorian/greg_facet.hpp 2013-07-22 23:44:42.834012788 +0200 +@@ -215,7 +215,6 @@ namespace gregorian { + { + std::istream_iterator, charT> beg(is), eos; + +- typedef boost::date_time::all_date_names_put facet_def; + d = from_stream(beg, eos); + return is; + } + +Diff finished. Mon Jul 22 23:44:50 2013 diff --git a/boost-1.54.0-date_time-unused_typedef.patch b/boost-1.54.0-date_time-unused_typedef.patch new file mode 100644 index 0000000..0f287ee --- /dev/null +++ b/boost-1.54.0-date_time-unused_typedef.patch @@ -0,0 +1,100 @@ +Index: boost/date_time/date_parsing.hpp +=================================================================== +--- boost/date_time/date_parsing.hpp (revision 85073) ++++ boost/date_time/date_parsing.hpp (working copy) +@@ -113,7 +113,6 @@ + spec_str = "mdy"; + } + +- typedef typename date_type::year_type year_type; + typedef typename date_type::month_type month_type; + unsigned pos = 0; + unsigned short year(0), month(0), day(0); +@@ -160,7 +159,6 @@ + parse_undelimited_date(const std::string& s) { + int offsets[] = {4,2,2}; + int pos = 0; +- typedef typename date_type::year_type year_type; + //typename date_type::ymd_type ymd((year_type::min)(),1,1); + unsigned short y = 0, m = 0, d = 0; + +Index: boost/date_time/local_time/local_time_io.hpp +=================================================================== +--- boost/date_time/local_time/local_time_io.hpp (revision 85073) ++++ boost/date_time/local_time/local_time_io.hpp (working copy) +@@ -36,7 +36,6 @@ + boost::io::ios_flags_saver iflags(os); + typedef local_date_time time_type;//::utc_time_type typename + typedef date_time::time_facet custom_time_facet; +- typedef std::time_put std_time_facet; + std::ostreambuf_iterator oitr(os); + + if(std::has_facet(os.getloc())) { +@@ -123,7 +122,6 @@ + const boost::local_time::local_time_period& p) { + boost::io::ios_flags_saver iflags(os); + typedef boost::date_time::time_facet custom_facet; +- typedef std::time_put std_time_facet; + std::ostreambuf_iterator oitr(os); + if (std::has_facet(os.getloc())) { + std::use_facet(os.getloc()).put(oitr, os, os.fill(), p); +Index: boost/date_time/posix_time/posix_time_io.hpp +=================================================================== +--- boost/date_time/posix_time/posix_time_io.hpp (revision 85073) ++++ boost/date_time/posix_time/posix_time_io.hpp (working copy) +@@ -47,7 +47,6 @@ + const ptime& p) { + boost::io::ios_flags_saver iflags(os); + typedef boost::date_time::time_facet custom_ptime_facet; +- typedef std::time_put std_ptime_facet; + std::ostreambuf_iterator oitr(os); + if (std::has_facet(os.getloc())) + std::use_facet(os.getloc()).put(oitr, os, os.fill(), p); +@@ -114,7 +113,6 @@ + const boost::posix_time::time_period& p) { + boost::io::ios_flags_saver iflags(os); + typedef boost::date_time::time_facet custom_ptime_facet; +- typedef std::time_put std_time_facet; + std::ostreambuf_iterator oitr(os); + if (std::has_facet(os.getloc())) { + std::use_facet(os.getloc()).put(oitr, os, os.fill(), p); +@@ -180,7 +178,6 @@ + { + boost::io::ios_flags_saver iflags(os); + typedef boost::date_time::time_facet custom_ptime_facet; +- typedef std::time_put std_ptime_facet; + std::ostreambuf_iterator oitr(os); + if (std::has_facet(os.getloc())) + std::use_facet(os.getloc()).put(oitr, os, os.fill(), td); +Index: boost/date_time/string_convert.hpp +=================================================================== +--- boost/date_time/string_convert.hpp (revision 85073) ++++ boost/date_time/string_convert.hpp (working copy) +@@ -21,7 +21,6 @@ + inline + std::basic_string convert_string_type(const std::basic_string& inp_str) + { +- typedef std::basic_string input_type; + typedef std::basic_string output_type; + output_type result; + result.insert(result.begin(), inp_str.begin(), inp_str.end()); +Index: boost/date_time/strings_from_facet.hpp +=================================================================== +--- boost/date_time/strings_from_facet.hpp (revision 85073) ++++ boost/date_time/strings_from_facet.hpp (working copy) +@@ -35,7 +35,6 @@ + { + typedef std::basic_string string_type; + typedef std::vector collection_type; +- typedef std::basic_ostringstream ostream_type; + typedef std::ostreambuf_iterator ostream_iter_type; + typedef std::basic_ostringstream stringstream_type; + typedef std::time_put time_put_facet_type; +@@ -86,7 +85,6 @@ + { + typedef std::basic_string string_type; + typedef std::vector collection_type; +- typedef std::basic_ostringstream ostream_type; + typedef std::ostreambuf_iterator ostream_iter_type; + typedef std::basic_ostringstream stringstream_type; + typedef std::time_put time_put_facet_type; diff --git a/boost-1.54.0-graph-unused_typedef.patch b/boost-1.54.0-graph-unused_typedef.patch new file mode 100644 index 0000000..62dee44 --- /dev/null +++ b/boost-1.54.0-graph-unused_typedef.patch @@ -0,0 +1,11 @@ +diff -urp boost_1_54_0-orig/boost/graph/breadth_first_search.hpp boost_1_54_0/boost/graph/breadth_first_search.hpp +--- boost_1_54_0-orig/boost/graph/breadth_first_search.hpp 2013-07-23 00:47:43.418886551 +0200 ++++ boost_1_54_0/boost/graph/breadth_first_search.hpp 2013-07-23 00:50:40.339958756 +0200 +@@ -64,7 +64,6 @@ namespace boost { + BOOST_CONCEPT_ASSERT(( IncidenceGraphConcept )); + typedef graph_traits GTraits; + typedef typename GTraits::vertex_descriptor Vertex; +- typedef typename GTraits::edge_descriptor Edge; + BOOST_CONCEPT_ASSERT(( BFSVisitorConcept )); + BOOST_CONCEPT_ASSERT(( ReadWritePropertyMapConcept )); + typedef typename property_traits::value_type ColorValue; diff --git a/boost-1.54.0-locale-unused_typedef.patch b/boost-1.54.0-locale-unused_typedef.patch new file mode 100644 index 0000000..b7c9128 --- /dev/null +++ b/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/boost-1.54.0-math-unused_typedef-2.patch b/boost-1.54.0-math-unused_typedef-2.patch new file mode 100644 index 0000000..d2ab628 --- /dev/null +++ b/boost-1.54.0-math-unused_typedef-2.patch @@ -0,0 +1,52 @@ +Index: boost/math/special_functions/airy.hpp +=================================================================== +--- boost/math/special_functions/airy.hpp (revision 85073) ++++ boost/math/special_functions/airy.hpp (working copy) +@@ -340,13 +340,6 @@ + inline T airy_ai_zero(unsigned m, const Policy& pol) + { + BOOST_FPU_EXCEPTION_GUARD +- typedef typename policies::evaluation::type value_type; +- typedef typename policies::normalise< +- Policy, +- policies::promote_float, +- policies::promote_double, +- policies::discrete_quantile<>, +- policies::assert_undefined<> >::type forwarding_policy; + BOOST_STATIC_ASSERT_MSG(false == std::numeric_limits::is_integer, "Airy return type must be a floating-point type."); + return policies::checked_narrowing_cast(detail::airy_ai_zero_imp(m, pol), "boost::math::airy_ai_zero<%1%>(unsigned)"); + } +@@ -388,13 +381,6 @@ + inline T airy_bi_zero(unsigned m, const Policy& pol) + { + BOOST_FPU_EXCEPTION_GUARD +- typedef typename policies::evaluation::type value_type; +- typedef typename policies::normalise< +- Policy, +- policies::promote_float, +- policies::promote_double, +- policies::discrete_quantile<>, +- policies::assert_undefined<> >::type forwarding_policy; + BOOST_STATIC_ASSERT_MSG(false == std::numeric_limits::is_integer, "Airy return type must be a floating-point type."); + return policies::checked_narrowing_cast(detail::airy_bi_zero_imp(m, pol), "boost::math::airy_bi_zero<%1%>(unsigned)"); + } +Index: boost/math/special_functions/beta.hpp +=================================================================== +--- boost/math/special_functions/beta.hpp (revision 85073) ++++ boost/math/special_functions/beta.hpp (working copy) +@@ -1331,7 +1331,6 @@ + BOOST_FPU_EXCEPTION_GUARD + typedef typename tools::promote_args::type result_type; + typedef typename policies::evaluation::type value_type; +- typedef typename lanczos::lanczos::type evaluation_type; + typedef typename policies::normalise< + Policy, + policies::promote_float, +@@ -1349,7 +1348,6 @@ + BOOST_FPU_EXCEPTION_GUARD + typedef typename tools::promote_args::type result_type; + typedef typename policies::evaluation::type value_type; +- typedef typename lanczos::lanczos::type evaluation_type; + typedef typename policies::normalise< + Policy, + policies::promote_float, diff --git a/boost-1.54.0-math-unused_typedef.patch b/boost-1.54.0-math-unused_typedef.patch new file mode 100644 index 0000000..f413279 --- /dev/null +++ b/boost-1.54.0-math-unused_typedef.patch @@ -0,0 +1,15 @@ +diff -up boost_1_54_0/boost/math/distributions/inverse_gaussian.hpp~ boost_1_54_0/boost/math/distributions/inverse_gaussian.hpp +--- boost_1_54_0/boost/math/distributions/inverse_gaussian.hpp~ 2012-09-07 01:43:19.000000000 -0700 ++++ boost_1_54_0/boost/math/distributions/inverse_gaussian.hpp 2013-07-22 03:42:15.216142075 -0700 +@@ -285,10 +285,8 @@ namespace detail + + // Define the distribution, using gamma_nooverflow: + typedef gamma_distribution gamma_nooverflow; ++ gamma_nooverflow g(static_cast(0.5), static_cast(1.)); + +- gamma_distribution g(static_cast(0.5), static_cast(1.)); +- +- // gamma_nooverflow g(static_cast(0.5), static_cast(1.)); + // R qgamma(0.2, 0.5, 1) 0.0320923 + RealType qg = quantile(complement(g, p)); + //RealType qg1 = qgamma(1.- p, 0.5, 1.0, true, false); diff --git a/boost-1.54.0-mpi-unused_typedef.patch b/boost-1.54.0-mpi-unused_typedef.patch new file mode 100644 index 0000000..3a01d61 --- /dev/null +++ b/boost-1.54.0-mpi-unused_typedef.patch @@ -0,0 +1,11 @@ +diff -urp boost_1_54_0-orig/libs/mpi/src/communicator.cpp boost_1_54_0/libs/mpi/src/communicator.cpp +--- boost_1_54_0-orig/libs/mpi/src/communicator.cpp 2013-07-23 00:48:17.317091987 +0200 ++++ boost_1_54_0/libs/mpi/src/communicator.cpp 2013-07-23 00:50:40.722961078 +0200 +@@ -118,7 +118,6 @@ optional communicator::iprobe(in + + status communicator::probe(int source, int tag) const + { +- typedef optional result_type; + + status stat; + BOOST_MPI_CHECK_RESULT(MPI_Probe, diff --git a/boost-1.54.0-mpl-print.patch b/boost-1.54.0-mpl-print.patch new file mode 100644 index 0000000..6c27b14 --- /dev/null +++ b/boost-1.54.0-mpl-print.patch @@ -0,0 +1,37 @@ +Index: boost/mpl/print.hpp +=================================================================== +--- boost/mpl/print.hpp (revision 83411) ++++ boost/mpl/print.hpp (working copy) +@@ -45,22 +45,21 @@ + : mpl::identity + #if defined(__MWERKS__) + , aux::print_base +-#endif ++#endif + { + #if defined(BOOST_MSVC) + 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 --git a/boost-1.54.0-multiprecision-unused_typedef.patch b/boost-1.54.0-multiprecision-unused_typedef.patch new file mode 100644 index 0000000..af245af --- /dev/null +++ b/boost-1.54.0-multiprecision-unused_typedef.patch @@ -0,0 +1,148 @@ +diff -up boost_1_54_0/boost/multiprecision/detail/functions/constants.hpp~ boost_1_54_0/boost/multiprecision/detail/functions/constants.hpp +--- boost_1_54_0/boost/multiprecision/detail/functions/constants.hpp~ 2012-09-20 09:04:02.000000000 -0700 ++++ boost_1_54_0/boost/multiprecision/detail/functions/constants.hpp 2013-07-22 03:31:01.145084522 -0700 +@@ -81,7 +81,6 @@ template + void calc_e(T& result, unsigned digits) + { + typedef typename mpl::front::type ui_type; +- typedef typename mpl::front::type real_type; + // + // 1100 digits in string form: + // +diff -up boost_1_54_0/boost/multiprecision/detail/functions/pow.hpp~ boost_1_54_0/boost/multiprecision/detail/functions/pow.hpp +--- boost_1_54_0/boost/multiprecision/detail/functions/pow.hpp~ 2013-03-31 09:34:50.000000000 -0700 ++++ boost_1_54_0/boost/multiprecision/detail/functions/pow.hpp 2013-07-22 03:43:12.495489757 -0700 +@@ -142,10 +142,6 @@ void hyp1F0(T& H1F0, const T& a, const T + // There are no checks on input range or parameter boundaries. + + typedef typename boost::multiprecision::detail::canonical::type si_type; +- typedef typename boost::multiprecision::detail::canonical::type ui_type; +- typedef typename T::exponent_type exp_type; +- typedef typename boost::multiprecision::detail::canonical::type canonical_exp_type; +- typedef typename mpl::front::type fp_type; + + BOOST_ASSERT(&H1F0 != &x); + BOOST_ASSERT(&H1F0 != &a); +@@ -200,7 +196,6 @@ void eval_exp(T& result, const T& x) + typedef typename boost::multiprecision::detail::canonical::type si_type; + typedef typename T::exponent_type exp_type; + typedef typename boost::multiprecision::detail::canonical::type canonical_exp_type; +- typedef typename boost::multiprecision::detail::canonical::type float_type; + + // Handle special arguments. + int type = eval_fpclassify(x); +@@ -326,7 +321,6 @@ void eval_log(T& result, const T& arg) + // then let y = x - 1 and compute: + // log(x) = log(2) * n + log1p(1 + y) + // +- typedef typename boost::multiprecision::detail::canonical::type si_type; + typedef typename boost::multiprecision::detail::canonical::type ui_type; + typedef typename T::exponent_type exp_type; + typedef typename boost::multiprecision::detail::canonical::type canonical_exp_type; +@@ -409,9 +403,6 @@ inline void eval_pow(T& result, const T& + { + BOOST_STATIC_ASSERT_MSG(number_category::value == number_kind_floating_point, "The pow function is only valid for floating point types."); + typedef typename boost::multiprecision::detail::canonical::type si_type; +- typedef typename boost::multiprecision::detail::canonical::type ui_type; +- typedef typename T::exponent_type exp_type; +- typedef typename boost::multiprecision::detail::canonical::type canonical_exp_type; + typedef typename mpl::front::type fp_type; + + if((&result == &x) || (&result == &a)) +@@ -595,10 +586,7 @@ namespace detail{ + template + void sinhcosh(const T& x, T* p_sinh, T* p_cosh) + { +- typedef typename boost::multiprecision::detail::canonical::type si_type; + typedef typename boost::multiprecision::detail::canonical::type ui_type; +- typedef typename T::exponent_type exp_type; +- typedef typename boost::multiprecision::detail::canonical::type canonical_exp_type; + typedef typename mpl::front::type fp_type; + + switch(eval_fpclassify(x)) +diff -up boost_1_54_0/boost/multiprecision/detail/functions/trig.hpp~ boost_1_54_0/boost/multiprecision/detail/functions/trig.hpp +--- boost_1_54_0/boost/multiprecision/detail/functions/trig.hpp~ 2013-03-31 09:34:50.000000000 -0700 ++++ boost_1_54_0/boost/multiprecision/detail/functions/trig.hpp 2013-07-22 03:44:30.512963273 -0700 +@@ -17,9 +17,6 @@ void hyp0F1(T& result, const T& b, const + { + typedef typename boost::multiprecision::detail::canonical::type si_type; + typedef typename boost::multiprecision::detail::canonical::type ui_type; +- typedef typename T::exponent_type exp_type; +- typedef typename boost::multiprecision::detail::canonical::type canonical_exp_type; +- typedef typename mpl::front::type fp_type; + + // Compute the series representation of Hypergeometric0F1 taken from + // http://functions.wolfram.com/HypergeometricFunctions/Hypergeometric0F1/06/01/01/ +@@ -82,8 +79,6 @@ void eval_sin(T& result, const T& x) + + typedef typename boost::multiprecision::detail::canonical::type si_type; + typedef typename boost::multiprecision::detail::canonical::type ui_type; +- typedef typename T::exponent_type exp_type; +- typedef typename boost::multiprecision::detail::canonical::type canonical_exp_type; + typedef typename mpl::front::type fp_type; + + switch(eval_fpclassify(x)) +@@ -228,8 +223,6 @@ void eval_cos(T& result, const T& x) + + typedef typename boost::multiprecision::detail::canonical::type si_type; + typedef typename boost::multiprecision::detail::canonical::type ui_type; +- typedef typename T::exponent_type exp_type; +- typedef typename boost::multiprecision::detail::canonical::type canonical_exp_type; + typedef typename mpl::front::type fp_type; + + switch(eval_fpclassify(x)) +@@ -381,11 +374,7 @@ void hyp2F1(T& result, const T& a, const + // Abramowitz and Stegun 15.1.1. + // There are no checks on input range or parameter boundaries. + +- typedef typename boost::multiprecision::detail::canonical::type si_type; + typedef typename boost::multiprecision::detail::canonical::type ui_type; +- typedef typename T::exponent_type exp_type; +- typedef typename boost::multiprecision::detail::canonical::type canonical_exp_type; +- typedef typename mpl::front::type fp_type; + + T x_pow_n_div_n_fact(x); + T pochham_a (a); +@@ -443,10 +432,7 @@ template + void eval_asin(T& result, const T& x) + { + BOOST_STATIC_ASSERT_MSG(number_category::value == number_kind_floating_point, "The asin function is only valid for floating point types."); +- typedef typename boost::multiprecision::detail::canonical::type si_type; + typedef typename boost::multiprecision::detail::canonical::type ui_type; +- typedef typename T::exponent_type exp_type; +- typedef typename boost::multiprecision::detail::canonical::type canonical_exp_type; + typedef typename mpl::front::type fp_type; + + if(&result == &x) +@@ -597,8 +583,6 @@ void eval_atan(T& result, const T& x) + BOOST_STATIC_ASSERT_MSG(number_category::value == number_kind_floating_point, "The atan function is only valid for floating point types."); + typedef typename boost::multiprecision::detail::canonical::type si_type; + typedef typename boost::multiprecision::detail::canonical::type ui_type; +- typedef typename T::exponent_type exp_type; +- typedef typename boost::multiprecision::detail::canonical::type canonical_exp_type; + typedef typename mpl::front::type fp_type; + + switch(eval_fpclassify(x)) +@@ -699,11 +683,7 @@ void eval_atan2(T& result, const T& y, c + return; + } + +- typedef typename boost::multiprecision::detail::canonical::type si_type; + typedef typename boost::multiprecision::detail::canonical::type ui_type; +- typedef typename T::exponent_type exp_type; +- typedef typename boost::multiprecision::detail::canonical::type canonical_exp_type; +- typedef typename mpl::front::type fp_type; + + switch(eval_fpclassify(y)) + { +diff -up boost_1_54_0/boost/multiprecision/detail/generic_interconvert.hpp~ boost_1_54_0/boost/multiprecision/detail/generic_interconvert.hpp +--- boost_1_54_0/boost/multiprecision/detail/generic_interconvert.hpp~ 2012-12-20 09:42:14.000000000 -0800 ++++ boost_1_54_0/boost/multiprecision/detail/generic_interconvert.hpp 2013-07-22 03:38:51.614906286 -0700 +@@ -191,7 +191,6 @@ void generic_interconvert(To& to, const + template + void generic_interconvert(To& to, const From& from, const mpl::int_& /*to_type*/, const mpl::int_& /*from_type*/) + { +- typedef typename component_type >::type from_component_type; + typedef typename component_type >::type to_component_type; + + number t(from); diff --git a/boost-1.54.0-numeric-unused_typedef.patch b/boost-1.54.0-numeric-unused_typedef.patch new file mode 100644 index 0000000..b391725 --- /dev/null +++ b/boost-1.54.0-numeric-unused_typedef.patch @@ -0,0 +1,250 @@ +diff -up boost_1_54_0/boost/numeric/ublas/detail/matrix_assign.hpp~ boost_1_54_0/boost/numeric/ublas/detail/matrix_assign.hpp +--- boost_1_54_0/boost/numeric/ublas/detail/matrix_assign.hpp~ 2010-10-19 00:01:35.000000000 -0700 ++++ boost_1_54_0/boost/numeric/ublas/detail/matrix_assign.hpp 2013-07-22 04:33:26.399038120 -0700 +@@ -1303,7 +1303,6 @@ namespace detail { + void matrix_swap (M &m, matrix_expression &e, packed_proxy_tag, row_major_tag) { + typedef F functor_type; + // R unnecessary, make_conformant not required +- typedef typename M::size_type size_type; + typedef typename M::difference_type difference_type; + typename M::iterator1 it1 (m.begin1 ()); + typename E::iterator1 it1e (e ().begin1 ()); +@@ -1329,7 +1328,6 @@ namespace detail { + void matrix_swap (M &m, matrix_expression &e, packed_proxy_tag, column_major_tag) { + typedef F functor_type; + // R unnecessary, make_conformant not required +- typedef typename M::size_type size_type; + typedef typename M::difference_type difference_type; + typename M::iterator2 it2 (m.begin2 ()); + typename E::iterator2 it2e (e ().begin2 ()); +@@ -1357,7 +1355,6 @@ namespace detail { + typedef R conformant_restrict_type; + typedef typename M::size_type size_type; + typedef typename M::difference_type difference_type; +- typedef typename M::value_type value_type; + BOOST_UBLAS_CHECK (m.size1 () == e ().size1 (), bad_size ()); + BOOST_UBLAS_CHECK (m.size2 () == e ().size2 (), bad_size ()); + +@@ -1482,7 +1479,6 @@ namespace detail { + typedef R conformant_restrict_type; + typedef typename M::size_type size_type; + typedef typename M::difference_type difference_type; +- typedef typename M::value_type value_type; + BOOST_UBLAS_CHECK (m.size1 () == e ().size1 (), bad_size ()); + BOOST_UBLAS_CHECK (m.size2 () == e ().size2 (), bad_size ()); + +diff -up boost_1_54_0/boost/numeric/ublas/detail/vector_assign.hpp~ boost_1_54_0/boost/numeric/ublas/detail/vector_assign.hpp +--- boost_1_54_0/boost/numeric/ublas/detail/vector_assign.hpp~ 2007-11-25 10:07:19.000000000 -0800 ++++ boost_1_54_0/boost/numeric/ublas/detail/vector_assign.hpp 2013-07-22 04:32:21.774650296 -0700 +@@ -379,7 +379,6 @@ namespace detail { + typedef typename V::size_type size_type; + typedef typename V::difference_type difference_type; + typedef typename V::value_type value_type; +- typedef typename V::reference reference; + #if BOOST_UBLAS_TYPE_CHECK + vector cv (v.size ()); + indexing_vector_assign (cv, v); +@@ -513,7 +512,6 @@ namespace detail { + typedef F functor_type; + typedef typename V::size_type size_type; + typedef typename V::difference_type difference_type; +- typedef typename V::value_type value_type; + + detail::make_conformant (v, e); + // FIXME should be a seperate restriction for E +diff -up boost_1_54_0/boost/numeric/ublas/lu.hpp~ boost_1_54_0/boost/numeric/ublas/lu.hpp +--- boost_1_54_0/boost/numeric/ublas/lu.hpp~ 2010-07-04 23:06:24.000000000 -0700 ++++ boost_1_54_0/boost/numeric/ublas/lu.hpp 2013-07-22 04:40:06.634440205 -0700 +@@ -63,7 +63,6 @@ namespace boost { namespace numeric { na + BOOST_UBLAS_INLINE + void swap_rows (const PM &pm, MV &mv, vector_tag) { + typedef typename PM::size_type size_type; +- typedef typename MV::value_type value_type; + + size_type size = pm.size (); + for (size_type i = 0; i < size; ++ i) { +@@ -75,7 +74,6 @@ namespace boost { namespace numeric { na + BOOST_UBLAS_INLINE + void swap_rows (const PM &pm, MV &mv, matrix_tag) { + typedef typename PM::size_type size_type; +- typedef typename MV::value_type value_type; + + size_type size = pm.size (); + for (size_type i = 0; i < size; ++ i) { +diff -up boost_1_54_0/boost/numeric/ublas/operation.hpp~ boost_1_54_0/boost/numeric/ublas/operation.hpp +--- boost_1_54_0/boost/numeric/ublas/operation.hpp~ 2007-11-25 10:07:19.000000000 -0800 ++++ boost_1_54_0/boost/numeric/ublas/operation.hpp 2013-07-22 04:42:19.436046788 -0700 +@@ -129,7 +129,6 @@ namespace boost { namespace numeric { na + const vector_expression &e2, + V &v, packed_random_access_iterator_tag, row_major_tag) { + typedef const E1 expression1_type; +- typedef const E2 expression2_type; + typedef typename V::size_type size_type; + + typename expression1_type::const_iterator1 it1 (e1 ().begin1 ()); +@@ -159,7 +158,6 @@ namespace boost { namespace numeric { na + const vector_expression &e2, + V &v, packed_random_access_iterator_tag, column_major_tag) { + typedef const E1 expression1_type; +- typedef const E2 expression2_type; + typedef typename V::size_type size_type; + + typename expression1_type::const_iterator2 it2 (e1 ().begin2 ()); +@@ -188,9 +186,7 @@ namespace boost { namespace numeric { na + axpy_prod (const matrix_expression &e1, + const vector_expression &e2, + V &v, sparse_bidirectional_iterator_tag) { +- typedef const E1 expression1_type; + typedef const E2 expression2_type; +- typedef typename V::size_type size_type; + + typename expression2_type::const_iterator it (e2 ().begin ()); + typename expression2_type::const_iterator it_end (e2 ().end ()); +@@ -350,7 +346,6 @@ namespace boost { namespace numeric { na + axpy_prod (const vector_expression &e1, + const matrix_expression &e2, + V &v, packed_random_access_iterator_tag, column_major_tag) { +- typedef const E1 expression1_type; + typedef const E2 expression2_type; + typedef typename V::size_type size_type; + +@@ -380,7 +375,6 @@ namespace boost { namespace numeric { na + axpy_prod (const vector_expression &e1, + const matrix_expression &e2, + V &v, packed_random_access_iterator_tag, row_major_tag) { +- typedef const E1 expression1_type; + typedef const E2 expression2_type; + typedef typename V::size_type size_type; + +@@ -411,8 +405,6 @@ namespace boost { namespace numeric { na + const matrix_expression &e2, + V &v, sparse_bidirectional_iterator_tag) { + typedef const E1 expression1_type; +- typedef const E2 expression2_type; +- typedef typename V::size_type size_type; + + typename expression1_type::const_iterator it (e1 ().begin ()); + typename expression1_type::const_iterator it_end (e1 ().end ()); +@@ -501,9 +493,6 @@ namespace boost { namespace numeric { na + const matrix_expression &e2, + M &m, TRI, + dense_proxy_tag, row_major_tag) { +- typedef M matrix_type; +- typedef const E1 expression1_type; +- typedef const E2 expression2_type; + typedef typename M::size_type size_type; + typedef typename M::value_type value_type; + +@@ -530,11 +519,9 @@ namespace boost { namespace numeric { na + const matrix_expression &e2, + M &m, TRI, + sparse_proxy_tag, row_major_tag) { +- typedef M matrix_type; + typedef TRI triangular_restriction; + typedef const E1 expression1_type; + typedef const E2 expression2_type; +- typedef typename M::size_type size_type; + typedef typename M::value_type value_type; + + #if BOOST_UBLAS_TYPE_CHECK +@@ -580,9 +567,6 @@ namespace boost { namespace numeric { na + const matrix_expression &e2, + M &m, TRI, + dense_proxy_tag, column_major_tag) { +- typedef M matrix_type; +- typedef const E1 expression1_type; +- typedef const E2 expression2_type; + typedef typename M::size_type size_type; + typedef typename M::value_type value_type; + +@@ -609,11 +593,9 @@ namespace boost { namespace numeric { na + const matrix_expression &e2, + M &m, TRI, + sparse_proxy_tag, column_major_tag) { +- typedef M matrix_type; + typedef TRI triangular_restriction; + typedef const E1 expression1_type; + typedef const E2 expression2_type; +- typedef typename M::size_type size_type; + typedef typename M::value_type value_type; + + #if BOOST_UBLAS_TYPE_CHECK +@@ -738,9 +720,6 @@ namespace boost { namespace numeric { na + const matrix_expression &e2, + M &m, + dense_proxy_tag, row_major_tag) { +- typedef M matrix_type; +- typedef const E1 expression1_type; +- typedef const E2 expression2_type; + typedef typename M::size_type size_type; + typedef typename M::value_type value_type; + +@@ -769,9 +748,6 @@ namespace boost { namespace numeric { na + const matrix_expression &e2, + M &m, + dense_proxy_tag, column_major_tag) { +- typedef M matrix_type; +- typedef const E1 expression1_type; +- typedef const E2 expression2_type; + typedef typename M::size_type size_type; + typedef typename M::value_type value_type; + +diff -up boost_1_54_0/boost/numeric/ublas/triangular.hpp~ boost_1_54_0/boost/numeric/ublas/triangular.hpp +--- boost_1_54_0/boost/numeric/ublas/triangular.hpp~ 2012-09-18 14:07:07.000000000 -0700 ++++ boost_1_54_0/boost/numeric/ublas/triangular.hpp 2013-07-22 04:39:31.667230329 -0700 +@@ -1859,7 +1859,6 @@ namespace boost { namespace numeric { na + void inplace_solve (const matrix_expression &e1, vector_expression &e2, + lower_tag, column_major_tag, dense_proxy_tag) { + typedef typename E2::size_type size_type; +- typedef typename E2::difference_type difference_type; + typedef typename E2::value_type value_type; + + BOOST_UBLAS_CHECK (e1 ().size1 () == e1 ().size2 (), bad_size ()); +@@ -1914,7 +1913,6 @@ namespace boost { namespace numeric { na + void inplace_solve (const matrix_expression &e1, vector_expression &e2, + lower_tag, column_major_tag, unknown_storage_tag) { + typedef typename E2::size_type size_type; +- typedef typename E2::difference_type difference_type; + typedef typename E2::value_type value_type; + + BOOST_UBLAS_CHECK (e1 ().size1 () == e1 ().size2 (), bad_size ()); +@@ -1943,7 +1941,6 @@ namespace boost { namespace numeric { na + void inplace_solve (const matrix_expression &e1, vector_expression &e2, + lower_tag, row_major_tag, dense_proxy_tag) { + typedef typename E2::size_type size_type; +- typedef typename E2::difference_type difference_type; + typedef typename E2::value_type value_type; + + BOOST_UBLAS_CHECK (e1 ().size1 () == e1 ().size2 (), bad_size ()); +@@ -1969,7 +1966,6 @@ namespace boost { namespace numeric { na + void inplace_solve (const matrix_expression &e1, vector_expression &e2, + lower_tag, row_major_tag, packed_proxy_tag) { + typedef typename E2::size_type size_type; +- typedef typename E2::difference_type difference_type; + typedef typename E2::value_type value_type; + + BOOST_UBLAS_CHECK (e1 ().size1 () == e1 ().size2 (), bad_size ()); +@@ -1998,7 +1994,6 @@ namespace boost { namespace numeric { na + void inplace_solve (const matrix_expression &e1, vector_expression &e2, + lower_tag, row_major_tag, unknown_storage_tag) { + typedef typename E2::size_type size_type; +- typedef typename E2::difference_type difference_type; + typedef typename E2::value_type value_type; + + BOOST_UBLAS_CHECK (e1 ().size1 () == e1 ().size2 (), bad_size ()); +@@ -2374,7 +2369,6 @@ namespace boost { namespace numeric { na + void inplace_solve (const matrix_expression &e1, matrix_expression &e2, + lower_tag, dense_proxy_tag) { + typedef typename E2::size_type size_type; +- typedef typename E2::difference_type difference_type; + typedef typename E2::value_type value_type; + + BOOST_UBLAS_CHECK (e1 ().size1 () == e1 ().size2 (), bad_size ()); +@@ -2435,7 +2429,6 @@ namespace boost { namespace numeric { na + void inplace_solve (const matrix_expression &e1, matrix_expression &e2, + lower_tag, unknown_storage_tag) { + typedef typename E2::size_type size_type; +- typedef typename E2::difference_type difference_type; + typedef typename E2::value_type value_type; + + BOOST_UBLAS_CHECK (e1 ().size1 () == e1 ().size2 (), bad_size ()); diff --git a/boost-1.54.0-property_tree-unused_typedef.patch b/boost-1.54.0-property_tree-unused_typedef.patch new file mode 100644 index 0000000..05158ef --- /dev/null +++ b/boost-1.54.0-property_tree-unused_typedef.patch @@ -0,0 +1,19 @@ +diff -urp boost_1_54_0-orig/boost/property_tree/detail/xml_parser_write.hpp boost_1_54_0/boost/property_tree/detail/xml_parser_write.hpp +--- boost_1_54_0-orig/boost/property_tree/detail/xml_parser_write.hpp 2013-07-23 00:47:43.731888449 +0200 ++++ boost_1_54_0/boost/property_tree/detail/xml_parser_write.hpp 2013-07-23 00:50:40.597960319 +0200 +@@ -35,7 +35,6 @@ namespace boost { namespace property_tre + const xml_writer_settings & settings + ) + { +- typedef typename std::basic_string Str; + if (separate_line) + write_xml_indent(stream,indent,settings); + stream << Ch('<') << Ch('!') << Ch('-') << Ch('-'); +@@ -69,7 +68,6 @@ namespace boost { namespace property_tre + { + + typedef typename Ptree::key_type::value_type Ch; +- typedef typename std::basic_string Str; + typedef typename Ptree::const_iterator It; + + bool want_pretty = settings.indent_count > 0; diff --git a/boost-1.54.0-python-unused_typedef.patch b/boost-1.54.0-python-unused_typedef.patch new file mode 100644 index 0000000..8adf8ed --- /dev/null +++ b/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/boost-1.54.0-random-unused_typedef.patch b/boost-1.54.0-random-unused_typedef.patch new file mode 100644 index 0000000..fff4226 --- /dev/null +++ b/boost-1.54.0-random-unused_typedef.patch @@ -0,0 +1,24 @@ +Index: boost/random/generate_canonical.hpp +=================================================================== +--- boost/random/generate_canonical.hpp (revision 85073) ++++ boost/random/generate_canonical.hpp (working copy) +@@ -54,7 +54,6 @@ + using std::floor; + BOOST_ASSERT((g.min)() == 0); + BOOST_ASSERT((g.max)() == 1); +- typedef typename URNG::result_type base_result; + std::size_t digits = std::numeric_limits::digits; + std::size_t engine_bits = detail::generator_bits::value(); + std::size_t b = (std::min)(bits, digits); +Index: boost/random/uniform_real_distribution.hpp +=================================================================== +--- boost/random/uniform_real_distribution.hpp (revision 85073) ++++ boost/random/uniform_real_distribution.hpp (working copy) +@@ -36,7 +36,6 @@ + { + for(;;) { + typedef T result_type; +- typedef typename Engine::result_type base_result; + result_type numerator = static_cast(eng() - (eng.min)()); + result_type divisor = static_cast((eng.max)() - (eng.min)()); + BOOST_ASSERT(divisor > 0); diff --git a/boost-1.54.0-spirit-unused_typedef-2.patch b/boost-1.54.0-spirit-unused_typedef-2.patch new file mode 100644 index 0000000..fdc9849 --- /dev/null +++ b/boost-1.54.0-spirit-unused_typedef-2.patch @@ -0,0 +1,22 @@ +diff -urp boost_1_54_0-orig/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp boost_1_54_0/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp +--- boost_1_54_0-orig/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp 2013-07-23 00:47:37.497850668 +0200 ++++ boost_1_54_0/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp 2013-07-23 00:50:40.662960713 +0200 +@@ -307,7 +307,6 @@ 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 = + # if !defined(__GNUC__) || (__GNUC__ > 2) +diff -urp boost_1_54_0-orig/boost/spirit/home/classic/tree/parse_tree.hpp boost_1_54_0/boost/spirit/home/classic/tree/parse_tree.hpp +--- boost_1_54_0-orig/boost/spirit/home/classic/tree/parse_tree.hpp 2013-07-23 00:47:37.407850122 +0200 ++++ boost_1_54_0/boost/spirit/home/classic/tree/parse_tree.hpp 2013-07-23 00:50:40.674960786 +0200 +@@ -76,7 +76,6 @@ struct pt_tree_policy : + template + static void concat(MatchAT& a, MatchBT const& b) + { +- typedef typename match_t::attr_t attr_t; + BOOST_SPIRIT_ASSERT(a && b); + + std::copy(b.trees.begin(), b.trees.end(), diff --git a/boost-1.54.0-spirit-unused_typedef.patch b/boost-1.54.0-spirit-unused_typedef.patch new file mode 100644 index 0000000..830e418 --- /dev/null +++ b/boost-1.54.0-spirit-unused_typedef.patch @@ -0,0 +1,11 @@ +diff -up boost_1_54_0/boost/spirit/home/classic/core/primitives/primitives.hpp~ boost_1_54_0/boost/spirit/home/classic/core/primitives/primitives.hpp +--- boost_1_54_0/boost/spirit/home/classic/core/primitives/primitives.hpp~ 2008-06-22 08:05:38.000000000 -0700 ++++ boost_1_54_0/boost/spirit/home/classic/core/primitives/primitives.hpp 2013-07-22 06:35:38.417914083 -0700 +@@ -47,7 +47,6 @@ BOOST_SPIRIT_CLASSIC_NAMESPACE_BEGIN + typename parser_result::type + parse(ScannerT const& scan) const + { +- typedef typename parser_result::type result_t; + typedef typename ScannerT::value_t value_t; + typedef typename ScannerT::iterator_t iterator_t; + diff --git a/boost-1.54.0-static_warning-unused_typedef.patch b/boost-1.54.0-static_warning-unused_typedef.patch new file mode 100644 index 0000000..9418a17 --- /dev/null +++ b/boost-1.54.0-static_warning-unused_typedef.patch @@ -0,0 +1,23 @@ +diff -up boost_1_54_0/boost/serialization/static_warning.hpp\~ boost_1_54_0/boost/serialization/static_warning.hpp +--- boost_1_54_0/boost/serialization/static_warning.hpp~ 2013-07-15 23:36:08.224983552 +0200 ++++ boost_1_54_0/boost/serialization/static_warning.hpp 2013-07-18 19:33:36.163463409 +0200 +@@ -72,6 +72,7 @@ + #include + #include + #include ++#include + + namespace boost { + namespace serialization { +@@ -101,7 +102,8 @@ struct BOOST_SERIALIZATION_SS {}; + #define BOOST_SERIALIZATION_BSW(B, L) \ + typedef boost::serialization::BOOST_SERIALIZATION_SS< \ + sizeof( boost::serialization::static_warning_test< B, L > ) \ +- > BOOST_JOIN(STATIC_WARNING_LINE, L); ++ > BOOST_JOIN(STATIC_WARNING_LINE, L) \ ++ BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE; + + #define BOOST_STATIC_WARNING(B) BOOST_SERIALIZATION_BSW(B, __LINE__) + + +Diff finished. Fri Jul 19 01:38:59 2013 diff --git a/boost-1.54.0-tuple-unused_typedef.patch b/boost-1.54.0-tuple-unused_typedef.patch new file mode 100644 index 0000000..51481c2 --- /dev/null +++ b/boost-1.54.0-tuple-unused_typedef.patch @@ -0,0 +1,12 @@ +Index: boost/tuple/detail/tuple_basic.hpp +=================================================================== +--- boost/tuple/detail/tuple_basic.hpp (revision 85075) ++++ boost/tuple/detail/tuple_basic.hpp (working copy) +@@ -225,7 +225,6 @@ + get(const cons& c BOOST_APPEND_EXPLICIT_TEMPLATE_NON_TYPE(int, N)) { + typedef BOOST_DEDUCED_TYPENAME detail::drop_front::BOOST_NESTED_TEMPLATE + apply > impl; +- typedef BOOST_DEDUCED_TYPENAME impl::type cons_element; + return impl::call(c).head; + } + diff --git a/boost-1.54.0-unordered-unused_typedef.patch b/boost-1.54.0-unordered-unused_typedef.patch new file mode 100644 index 0000000..27e900a --- /dev/null +++ b/boost-1.54.0-unordered-unused_typedef.patch @@ -0,0 +1,14 @@ +diff -up boost_1_54_0/boost/unordered/detail/unique.hpp\~ boost_1_54_0/boost/unordered/detail/unique.hpp +--- boost_1_54_0/boost/unordered/detail/unique.hpp~ 2012-12-05 23:06:57.000000000 +0100 ++++ boost_1_54_0/boost/unordered/detail/unique.hpp 2013-07-22 23:54:29.222516306 +0200 +@@ -334,8 +334,6 @@ namespace boost { namespace unordered { + + value_type& operator[](key_type const& k) + { +- typedef typename value_type::second_type mapped_type; +- + std::size_t key_hash = this->hash(k); + iterator pos = this->find_node(key_hash, k); + + +Diff finished. Mon Jul 22 23:55:15 2013 diff --git a/boost-1.54.0-xpressive-unused_typedef.patch b/boost-1.54.0-xpressive-unused_typedef.patch new file mode 100644 index 0000000..60a4f5a --- /dev/null +++ b/boost-1.54.0-xpressive-unused_typedef.patch @@ -0,0 +1,11 @@ +diff -urp boost_1_54_0-orig/boost/xpressive/regex_algorithms.hpp boost_1_54_0/boost/xpressive/regex_algorithms.hpp +--- boost_1_54_0-orig/boost/xpressive/regex_algorithms.hpp 2013-07-23 00:47:50.804931313 +0200 ++++ boost_1_54_0/boost/xpressive/regex_algorithms.hpp 2013-07-23 00:50:40.721961072 +0200 +@@ -303,7 +303,6 @@ namespace detail + ) + { + typedef core_access access; +- typedef typename iterator_value::type char_type; + match_results &what = *state.context_.results_ptr_; + BOOST_ASSERT(0 != re.regex_id()); + diff --git a/boost-1.73.0-cmakedir.patch b/boost-1.73.0-cmakedir.patch deleted file mode 100644 index e47728f..0000000 --- a/boost-1.73.0-cmakedir.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- boost_1_73_0/tools/boost_install/boost-install.jam~ 2020-04-24 20:21:50.330267122 +0100 -+++ boost_1_73_0/tools/boost_install/boost-install.jam 2020-04-24 20:22:16.818360540 +0100 -@@ -652,25 +652,6 @@ - "get_filename_component(_BOOST_CMAKEDIR \"${CMAKE_CURRENT_LIST_DIR}/../\" REALPATH)" - : true ; - -- if [ path.is-rooted $(cmakedir) ] -- { -- local cmakedir-native = [ path-native-fwd $(cmakedir) ] ; -- -- print.text -- -- "" -- "# If the computed and the original directories are symlink-equivalent, use original" -- "if(EXISTS \"$(cmakedir-native)\")" -- " get_filename_component(_BOOST_CMAKEDIR_ORIGINAL \"$(cmakedir-native)\" REALPATH)" -- " if(_BOOST_CMAKEDIR STREQUAL _BOOST_CMAKEDIR_ORIGINAL)" -- " set(_BOOST_CMAKEDIR \"$(cmakedir-native)\")" -- " endif()" -- " unset(_BOOST_CMAKEDIR_ORIGINAL)" -- "endif()" -- "" -- : true ; -- } -- - get-dir "_BOOST_INCLUDEDIR" : $(includedir) ; - - if $(library-type) = INTERFACE diff --git a/boost-1.76.0-fix-narrowing-conversions-for-ppc.patch b/boost-1.76.0-fix-narrowing-conversions-for-ppc.patch deleted file mode 100644 index ce49540..0000000 --- a/boost-1.76.0-fix-narrowing-conversions-for-ppc.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 0039878782516ea3313608f99f0d50e846151bc2 Mon Sep 17 00:00:00 2001 -From: Jonathan Wakely -Date: Mon, 31 Jan 2022 11:37:29 +0000 -Subject: [PATCH] Fix narrowing conversions for ppc - -These constants are too large for `long long` so are unsigned, -and then cannot be narrowed to the signed type. - -Fixes #29 ---- - .../numeric/interval/detail/ppc_rounding_control.hpp | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/include/boost/numeric/interval/detail/ppc_rounding_control.hpp b/include/boost/numeric/interval/detail/ppc_rounding_control.hpp -index 87fe8ee..99f9986 100644 ---- boost_1_76_0/boost/numeric/interval/detail/ppc_rounding_control.hpp -+++ boost_1_76_0/boost/numeric/interval/detail/ppc_rounding_control.hpp -@@ -28,10 +28,10 @@ typedef union { - double dmode; - } rounding_mode_struct; - --static const rounding_mode_struct mode_upward = { 0xFFF8000000000002LL }; --static const rounding_mode_struct mode_downward = { 0xFFF8000000000003LL }; --static const rounding_mode_struct mode_to_nearest = { 0xFFF8000000000000LL }; --static const rounding_mode_struct mode_toward_zero = { 0xFFF8000000000001LL }; -+static const rounding_mode_struct mode_upward = { (::boost::long_long_type)0xFFF8000000000002LL }; -+static const rounding_mode_struct mode_downward = { (::boost::long_long_type)0xFFF8000000000003LL }; -+static const rounding_mode_struct mode_to_nearest = { (::boost::long_long_type)0xFFF8000000000000LL }; -+static const rounding_mode_struct mode_toward_zero = { (::boost::long_long_type)0xFFF8000000000001LL }; - - struct ppc_rounding_control - { diff --git a/boost-1.78.0-b2-build-flags.patch b/boost-1.78.0-b2-build-flags.patch deleted file mode 100644 index 512f109..0000000 --- a/boost-1.78.0-b2-build-flags.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 1ded9b9c219542442b3c10af815e5413a2a89c75 Mon Sep 17 00:00:00 2001 -From: Thomas W Rodgers -Date: Tue, 1 Mar 2022 10:03:34 -0800 -Subject: [PATCH] Adjust b2 build flags for Fedora Packaging - ---- - src/engine/build.sh | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tools/build/src/engine/build.sh b/tools/build/src/engine/build.sh -index f1ad08cb..ab58deba 100755 ---- a/tools/build/src/engine/build.sh -+++ b/tools/build/src/engine/build.sh -@@ -323,7 +323,7 @@ case "${B2_TOOLSET}" in - - gcc|gcc-*) - CXX_VERSION_OPT=${CXX_VERSION_OPT:---version} -- B2_CXXFLAGS_RELEASE="-O2 -s" -+ B2_CXXFLAGS_RELEASE="${RPM_OPT_FLAGS} ${RPM_LD_FLAGS}" - B2_CXXFLAGS_DEBUG="-O0 -g" - ;; - --- -2.35.1 - diff --git a/boost-1.81.0-build-optflags.patch b/boost-1.81.0-build-optflags.patch deleted file mode 100644 index 0f482c8..0000000 --- a/boost-1.81.0-build-optflags.patch +++ /dev/null @@ -1,70 +0,0 @@ -From ebc90bc3e372dc8e5db21f79d2a79e4f5c4d01ee Mon Sep 17 00:00:00 2001 -From: Patrick Palka -Date: Mon, 4 Dec 2023 09:24:20 -0500 -Subject: [PATCH] Adjust options for Fedora package build - ---- - tools/build/src/tools/gcc.jam | 30 +++++++++++++++--------------- - 1 file changed, 15 insertions(+), 15 deletions(-) - -diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam -index 834f5e1bf..c753afc23 100644 ---- a/tools/build/src/tools/gcc.jam -+++ b/tools/build/src/tools/gcc.jam -@@ -513,7 +513,7 @@ rule compile.fortran ( targets * : sources * : properties * ) - - actions compile.c++ bind PCH_FILE - { -- "$(CONFIG_COMMAND)" $(LANG) -ftemplate-depth-$(TEMPLATE_DEPTH) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) $(INCLUDE-GCH)$(_)"$(PCH_FILE:S=)" $(INCLUDE-PCH)$(_)"$(PCH_FILE)" -I"$(INCLUDES)" -include$(_)"$(FORCE_INCLUDES)" -c -o "$(<)" "$(>:T)" -+ "$(CONFIG_COMMAND)" $(LANG) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) $(INCLUDE-GCH)$(_)"$(PCH_FILE:S=)" $(INCLUDE-PCH)$(_)"$(PCH_FILE)" -I"$(INCLUDES)" -include$(_)"$(FORCE_INCLUDES)" -c -o "$(<)" "$(>:T)" - } - - actions compile.c bind PCH_FILE -@@ -523,7 +523,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) $(INCLUDE-GCH)$(_)"$(PCH_FILE:S=)" $(INCLUDE-PCH)$(_)"$(PCH_FILE)" -I"$(INCLUDES)" -include$(_)"$(FORCE_INCLUDES)" "$(>:T)" -E >"$(<)" -+ "$(CONFIG_COMMAND)" $(LANG) $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) $(INCLUDE-GCH)$(_)"$(PCH_FILE:S=)" $(INCLUDE-PCH)$(_)"$(PCH_FILE)" -I"$(INCLUDES)" -include$(_)"$(FORCE_INCLUDES)" "$(>:T)" -E >"$(<)" - } - - actions compile.c.preprocess bind PCH_FILE -@@ -627,22 +627,22 @@ actions compile.c.pch - ### - - # 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 minimal : -O1 ; -+toolset.flags gcc.compile OPTIONS off : ; -+toolset.flags gcc.compile OPTIONS speed : ; -+toolset.flags gcc.compile OPTIONS space : ; -+toolset.flags gcc.compile OPTIONS minimal : ; - toolset.flags gcc.compile OPTIONS debug : -Og ; - --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 ; --toolset.flags gcc.compile OPTIONS extra : -Wall -Wextra ; --toolset.flags gcc.compile OPTIONS pedantic : -Wall -Wextra -pedantic ; --toolset.flags gcc.compile OPTIONS on : -Werror ; -+toolset.flags gcc.compile OPTIONS off : ; -+toolset.flags gcc.compile OPTIONS on : ; -+toolset.flags gcc.compile OPTIONS all : ; -+toolset.flags gcc.compile OPTIONS extra : ; -+toolset.flags gcc.compile OPTIONS pedantic : ; -+toolset.flags gcc.compile OPTIONS on : ; - - toolset.flags gcc.compile OPTIONS on : -g ; - toolset.flags gcc.compile OPTIONS on : -pg ; --- -2.43.0 - diff --git a/boost-1.90-system.patch b/boost-1.90-system.patch deleted file mode 100644 index 0cadaef..0000000 --- a/boost-1.90-system.patch +++ /dev/null @@ -1,42 +0,0 @@ -From d9554db26c3dbb00a6a293ee4fd4966e4e278da8 Mon Sep 17 00:00:00 2001 -From: Peter Dimov -Date: Mon, 15 Dec 2025 21:51:45 +0200 -Subject: [PATCH] Install boost_system as header-only - ---- - boost-install.jam | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/boost-install.jam b/boost-install.jam -index b87e308..5e6bfa6 100644 ---- a/tools/boost_install/boost-install.jam -+++ b/tools/boost_install/boost-install.jam -@@ -1015,7 +1015,7 @@ local rule install-cmake-config- ( install-or-stage : version : name : requireme - - local library-type = UNKNOWN ; - -- if $(name) = boost_headers || $(name) = boost_math || $(name) = boost_exception -+ if $(name) = boost_headers || $(name) = boost_math || $(name) = boost_exception || $(name) = boost_system - { - library-type = INTERFACE ; - } -From 9529e070ea9e9afd1da17edd48993d560fdc0d7a Mon Sep 17 00:00:00 2001 -From: Peter Dimov -Date: Mon, 15 Dec 2025 21:52:49 +0200 -Subject: [PATCH] Still install boost_system, for the CMake configuration. Refs - #132. - ---- - build.jam | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/build.jam b/build.jam -index 65da5aa6..5b6545c8 100644 ---- a/libs/system//build.jam -+++ b/libs/system//build.jam -@@ -21,4 +21,5 @@ explicit - ; - - call-if : boost-library system -+ : install boost_system - ; diff --git a/boost-1.90.0-no-rpath.patch b/boost-1.90.0-no-rpath.patch deleted file mode 100644 index de28890..0000000 --- a/boost-1.90.0-no-rpath.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 6a8ff06728b64a1121a6179d891ab0baf3b9290b Mon Sep 17 00:00:00 2001 -From: Patrick Palka -Date: Mon, 4 Dec 2023 09:27:13 -0500 -Subject: [PATCH] Adjust options to remove RPATH for Fedora package builds - ---- - tools/build/src/tools/gcc.jam | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam -index c753afc23..e0b627726 100644 ---- a/tools/build/src/tools/gcc.jam -+++ b/tools/build/src/tools/gcc.jam -@@ -1035,12 +1035,12 @@ rule link.dll ( targets * : sources * : properties * ) - - actions link bind LIBRARIES - { -- "$(CONFIG_COMMAND)" @($(<[1]:T).rsp:O=FC:<=@":>=":E=-L"$(LINKPATH)" -Wl,$(RPATH_OPTION)$(SPACE)-Wl,$(RPATH) -Wl,-rpath-link$(SPACE)-Wl,"$(RPATH_LINK)" -o "$(<:T)" $(START-GROUP) "$(>:T)" "$(LIBRARIES)" $(FINDLIBS-ST-PFX) -l$(FINDLIBS-ST) $(FINDLIBS-SA-PFX) -l$(FINDLIBS-SA) $(END-GROUP) $(OPTIONS) $(USER_OPTIONS)) -+ "$(CONFIG_COMMAND)" @($(<[1]:T).rsp:O=FC:<=@":>=":E=-L"$(LINKPATH)" -o "$(<:T)" $(START-GROUP) "$(>:T)" "$(LIBRARIES)" $(FINDLIBS-ST-PFX) -l$(FINDLIBS-ST) $(FINDLIBS-SA-PFX) -l$(FINDLIBS-SA) $(END-GROUP) $(OPTIONS) $(USER_OPTIONS)) - } - - actions link.dll bind LIBRARIES - { -- "$(CONFIG_COMMAND)" @($(<[1]:T).rsp:O=FC:<=@":>=":E=-L"$(LINKPATH)" -Wl,$(RPATH_OPTION)$(SPACE)-Wl,$(RPATH) -Wl,$(IMPLIB_OPTION:E=--out-implib),"$(<[2]:T)" -o "$(<[1]:T)" $(HAVE_SONAME)-Wl,$(SONAME_OPTION)$(SPACE)-Wl,"$(SONAME_PREFIX:E=)$(<[1]:D=)" $(SHARED_OPTION:E=-shared) $(START-GROUP) "$(>:T)" "$(LIBRARIES)" $(FINDLIBS-ST-PFX) -l$(FINDLIBS-ST) $(FINDLIBS-SA-PFX) -l$(FINDLIBS-SA) $(END-GROUP) $(OPTIONS) $(USER_OPTIONS)) -+ "$(CONFIG_COMMAND)" @($(<[1]:T).rsp:O=FC:<=@":>=":E=-L"$(LINKPATH)" -Wl,$(IMPLIB_OPTION:E=--out-implib),"$(<[2]:T)" -o "$(<[1]:T)" $(HAVE_SONAME)-Wl,$(SONAME_OPTION)$(SPACE)-Wl,"$(SONAME_PREFIX:E=)$(<[1]:D=)" $(SHARED_OPTION:E=-shared) $(START-GROUP) "$(>:T)" "$(LIBRARIES)" $(FINDLIBS-ST-PFX) -l$(FINDLIBS-ST) $(FINDLIBS-SA-PFX) -l$(FINDLIBS-SA) $(END-GROUP) $(OPTIONS) $(USER_OPTIONS)) - } - - ### --- -2.43.0 - diff --git a/boost-1.90.0-range.patch b/boost-1.90.0-range.patch deleted file mode 100644 index e4dfef3..0000000 --- a/boost-1.90.0-range.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 9ac89e9936b826c13e90611cb9a81a7aa0508d20 Mon Sep 17 00:00:00 2001 -From: Michael Cho -Date: Sun, 30 Mar 2025 21:45:49 -0400 -Subject: [PATCH] Add include for add_const - -Signed-off-by: Michael Cho ---- - include/boost/range/detail/any_iterator_interface.hpp | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/include/boost/range/detail/any_iterator_interface.hpp b/include/boost/range/detail/any_iterator_interface.hpp -index 1103be6c..79e71dbd 100644 ---- boost_1_90_0/boost/range/detail/any_iterator_interface.hpp -+++ boost_1_90_0/boost/range/detail/any_iterator_interface.hpp -@@ -13,6 +13,7 @@ - #include - #include - #include -+#include - #include - #include - #include diff --git a/boost-cmake-soname.patch b/boost-cmake-soname.patch new file mode 100644 index 0000000..8d732eb --- /dev/null +++ b/boost-cmake-soname.patch @@ -0,0 +1,19 @@ +*** tools/build/CMake/BoostCore.cmake.orig 2010-01-12 20:01:46.006547352 -0800 +--- tools/build/CMake/BoostCore.cmake 2010-01-12 20:02:54.222546929 -0800 +*************** macro(boost_library_variant LIBNAME) +*** 755,761 **** + if (BUILD_SOVERSIONED) + set_target_properties(${VARIANT_LIBNAME} + PROPERTIES +! SOVERSION "${BOOST_VERSION}" + ) + endif() + endif () +--- 755,761 ---- + if (BUILD_SOVERSIONED) + set_target_properties(${VARIANT_LIBNAME} + PROPERTIES +! SOVERSION "_FEDORA_SONAME" + ) + endif() + endif () diff --git a/boost.rpmlintrc b/boost.rpmlintrc deleted file mode 100644 index c8a2596..0000000 --- a/boost.rpmlintrc +++ /dev/null @@ -1,24 +0,0 @@ -# The meta-package doesn't contain any files, this is intended. -addFilter("boost.x86_64: E: no-binary") - -# All docs are in a separate boost-doc package -addFilter("boost.*: W: no-documentation") -addFilter("boost.*: W: description-shorter-than-summary") - -# Upstream don't provide one -addFilter("boost-doctools.x86_64: W: no-manual-page-for-binary quickbook") - -# Ignore these -addFilter("boost.*: W: spelling-error %description -l en_US foundational ") -addFilter("boost.*: W: spelling-error %description -l en_US invariants ") -addFilter("boost.*: W: spelling-error %description -l en_US postconditions ") -addFilter("boost.*: W: spelling-error %description -l en_US userland ") -addFilter("boost.*: W: spelling-error Summary(en_US) numpy ") - -# The example code is useless without the headers -addFilter("boost-examples.x86_64: E: devel-dependency boost-devel") - -# These libs are statically linked -addFilter("boost-date-time.x86_64: E: shared-lib-without-dependency-information /usr/lib64/libboost_date_time.so.*") -addFilter("boost-system.x86_64: E: shared-lib-without-dependency-information /usr/lib64/libboost_system.so.*") -addFilter("boost-stacktrace.x86_64: E: shared-lib-without-dependency-information /usr/lib64/libboost_stacktrace_noop.so.*") diff --git a/boost.spec b/boost.spec index 0ee6ede..f237b9f 100644 --- a/boost.spec +++ b/boost.spec @@ -1,34 +1,28 @@ -# 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. -%global boost_docdir __tmp_docdir -%global boost_examplesdir __tmp_examplesdir +# Support for documentation installation +# As the %%doc macro erases the target directory, namely +# $RPM_BUILD_ROOT%%{_docdir}/%%{name}-%%{version}, manually installed +# documentation must be saved into a temporary dedicated directory. +%define boost_docdir __tmp_docdir +%define boost_examplesdir __tmp_examplesdir -%if 0%{?flatpak} -# For bundling in Flatpak, currently build without mpich and openmpi, -# which aren't needed and cause prefix=/app errors. -%bcond_with mpich -%bcond_with openmpi +%ifarch %{arm} + %bcond_with mpich2 %else -# All arches have mpich -%bcond_without mpich - -%if 0%{?fedora} >= 40 || 0%{?rhel} >= 10 -%ifarch %{ix86} - # No OpenMPI support on these arches - %bcond_with openmpi -%else - %bcond_without openmpi + %bcond_without mpich2 %endif + +%ifarch s390 s390x %{arm} + # No OpenMPI support on these arches + %bcond_with openmpi %else %bcond_without openmpi %endif -%endif -%ifnarch %{ix86} x86_64 %{arm} ppc64 ppc64le aarch64 s390x riscv64 +%ifnarch %{ix86} x86_64 + # Avoid using Boost.Context on non-x86 arches. s390 is not + # supported at all and there were _syntax errors_ in PPC code. This + # should be enabled on a case-by-case basis as the arches are tested + # and fixed. %bcond_with context %else %bcond_without context @@ -36,135 +30,150 @@ %bcond_without python3 -%ifnarch %{ix86} x86_64 - %bcond_with quadmath -%else - %bcond_without quadmath -%endif - -%ifnarch x86_64 - %bcond_with stacktrace_from_exception -%else - %bcond_without stacktrace_from_exception -%endif - Name: boost -%global real_name boost Summary: The free peer-reviewed portable C++ source libraries -Version: 1.90.0 -Release: 4%{?dist} -License: BSL-1.0 AND MIT AND Python-2.0.1 +Version: 1.54.0 +%define version_enc 1_54_0 +Release: 1%{?dist} +License: Boost and MIT and Python -# Replace each . with _ in %%{version} -%global version_enc %{lua: - local ver = rpm.expand("%{version}") - ver = ver:gsub("%.", "_") - print(ver) -} -%global toplev_dirname %{real_name}_%{version_enc} +%define toplev_dirname %{name}_%{version_enc} URL: http://www.boost.org +Group: System Environment/Libraries -# https://archives.boost.io/release/1.90.0/source/boost_1_90_0.tar.bz2 -Source0: https://archives.boost.io/release/%{version}/source/%{name}_%{version_enc}.tar.bz2 -# Add a manual page for b2, based on the online documentation: +Source0: http://downloads.sourceforge.net/%{name}/%{toplev_dirname}.tar.bz2 +Source1: ver.py +Source2: libboost_thread.so + +# From the version 13 of Fedora, the Boost libraries are delivered +# with sonames equal to the Boost version (e.g., 1.41.0). +%define sonamever %{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: boost-atomic = %{version}-%{release} +Requires: boost-chrono = %{version}-%{release} +%if %{with context} +Requires: boost-context = %{version}-%{release} +%endif +Requires: boost-date-time = %{version}-%{release} +Requires: boost-filesystem = %{version}-%{release} +Requires: boost-graph = %{version}-%{release} +Requires: boost-iostreams = %{version}-%{release} +Requires: boost-locale = %{version}-%{release} +Requires: boost-math = %{version}-%{release} +Requires: boost-program-options = %{version}-%{release} +Requires: boost-python = %{version}-%{release} +Requires: boost-random = %{version}-%{release} +Requires: boost-regex = %{version}-%{release} +Requires: boost-serialization = %{version}-%{release} +Requires: boost-signals = %{version}-%{release} +Requires: boost-system = %{version}-%{release} +Requires: boost-test = %{version}-%{release} +Requires: boost-thread = %{version}-%{release} +Requires: boost-timer = %{version}-%{release} +Requires: boost-wave = %{version}-%{release} + +BuildRequires: libstdc++-devel%{?_isa} +BuildRequires: bzip2-devel%{?_isa} +BuildRequires: zlib-devel%{?_isa} +BuildRequires: python-devel%{?_isa} +%if %{with python3} +BuildRequires: python3-devel%{?_isa} +%endif +BuildRequires: libicu-devel%{?_isa} + +# 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 -Source1: b2.1 +Patch5: boost-1.48.0-add-bjam-man-page.patch -# Since Fedora 13, the Boost libraries are delivered with sonames -# equal to the Boost version (e.g., 1.41.0). -%global sonamever %{version} +# https://bugzilla.redhat.com/show_bug.cgi?id=781859 +# The following tickets have yet to be fixed by upstream. +# https://svn.boost.org/trac/boost/ticket/6413 +# https://svn.boost.org/trac/boost/ticket/8849 +Patch9: boost-1.53.0-attribute.patch -# boost is an "umbrella" package that pulls in all boost shared library -# components, except for MPI sub-packages. Those are special in that -# there are alternative implementations to choose from (Open MPI and MPICH), -# and it's not a big burden to have interested parties install them explicitly. -# The subpackages that don't install shared libraries are also not pulled in -# (b2, build, doc, doctools, examples, static). -Requires: %{name}-atomic%{?_isa} = %{version}-%{release} -Requires: %{name}-charconv%{?_isa} = %{version}-%{release} -Requires: %{name}-chrono%{?_isa} = %{version}-%{release} -Requires: %{name}-cobalt%{?_isa} = %{version}-%{release} -Requires: %{name}-container%{?_isa} = %{version}-%{release} -Requires: %{name}-contract%{?_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} -%if %{with context} -Requires: %{name}-fiber%{?_isa} = %{version}-%{release} -%endif -Requires: %{name}-filesystem%{?_isa} = %{version}-%{release} -Requires: %{name}-graph%{?_isa} = %{version}-%{release} -Requires: %{name}-iostreams%{?_isa} = %{version}-%{release} -Requires: %{name}-json%{?_isa} = %{version}-%{release} -Requires: %{name}-locale%{?_isa} = %{version}-%{release} -Requires: %{name}-log%{?_isa} = %{version}-%{release} -Requires: %{name}-math%{?_isa} = %{version}-%{release} -Requires: %{name}-nowide%{?_isa} = %{version}-%{release} -Requires: %{name}-process%{?_isa} = %{version}-%{release} -Requires: %{name}-program-options%{?_isa} = %{version}-%{release} -%if %{with python3} -Requires: %{name}-python3%{?_isa} = %{version}-%{release} -%endif -Requires: %{name}-random%{?_isa} = %{version}-%{release} -Requires: %{name}-regex%{?_isa} = %{version}-%{release} -Requires: %{name}-serialization%{?_isa} = %{version}-%{release} -Requires: %{name}-stacktrace%{?_isa} = %{version}-%{release} -Requires: %{name}-test%{?_isa} = %{version}-%{release} -Requires: %{name}-thread%{?_isa} = %{version}-%{release} -Requires: %{name}-timer%{?_isa} = %{version}-%{release} -Requires: %{name}-type_erasure%{?_isa} = %{version}-%{release} -Requires: %{name}-url%{?_isa} = %{version}-%{release} -Requires: %{name}-wave%{?_isa} = %{version}-%{release} -# F44 dropped the boost-system subpackage -Obsoletes: boost-system < 1.90.0 -Conflicts: boost-system < 1.90.0 +# https://bugzilla.redhat.com/show_bug.cgi?id=828856 +# https://bugzilla.redhat.com/show_bug.cgi?id=828857 +Patch15: boost-1.50.0-pool.patch -%if %{with python3} -Recommends: (boost-numpy3 if python3-numpy) -%endif +# https://bugzilla.redhat.com/show_bug.cgi?id=977098 +# https://svn.boost.org/trac/boost/ticket/8731 +Patch18: boost-1.54.0-__GLIBC_HAVE_LONG_LONG.patch -BuildRequires: gcc-c++ -BuildRequires: m4 -BuildRequires: libstdc++-devel -BuildRequires: bzip2-devel -BuildRequires: zlib-devel -BuildRequires: xz-devel -%if %{with python3} -BuildRequires: python3-devel -BuildRequires: python3-numpy -%endif -BuildRequires: libicu-devel -%if %{with quadmath} -BuildRequires: libquadmath-devel -%endif -BuildRequires: bison -BuildRequires: libzstd-devel +# Upstream patches posted as release notes: +# http://www.boost.org/users/history/version_1_54_0.html +Patch19: 001-coroutine.patch +Patch20: 002-date-time.patch +Patch21: 003-log.patch -# https://bugzilla.redhat.com/show_bug.cgi?id=1541035 -Patch0: boost-1.81.0-build-optflags.patch +# https://svn.boost.org/trac/boost/ticket/8826 +Patch22: boost-1.54.0-context-execstack.patch -# https://bugzilla.redhat.com/show_bug.cgi?id=1318383 -Patch1: boost-1.90.0-no-rpath.patch +# https://svn.boost.org/trac/boost/ticket/8844 +Patch23: boost-1.54.0-bind-static_assert.patch -# https://lists.boost.org/Archives/boost/2020/04/248812.php -Patch2: boost-1.73.0-cmakedir.patch +# https://svn.boost.org/trac/boost/ticket/8847 +Patch24: boost-1.54.0-concept-unused_typedef.patch -# https://bugzilla.redhat.com/show_bug.cgi?id=1541035 -Patch3: boost-1.78.0-b2-build-flags.patch +# https://svn.boost.org/trac/boost/ticket/5637 +Patch25: boost-1.54.0-mpl-print.patch -# PR https://github.com/boostorg/interval/pull/30 -# Fixes narrowing conversions for ppc - -# https://github.com/boostorg/interval/issues/29 -Patch5: boost-1.76.0-fix-narrowing-conversions-for-ppc.patch +# https://svn.boost.org/trac/boost/ticket/8859 +Patch26: boost-1.54.0-static_warning-unused_typedef.patch -# Install boost_system for the CMake configuration -# https://github.com/boostorg/system/issues/132 -Patch6: boost-1.90-system.patch +# https://svn.boost.org/trac/boost/ticket/8855 +Patch27: boost-1.54.0-math-unused_typedef.patch +Patch28: boost-1.54.0-math-unused_typedef-2.patch -# https://github.com/boostorg/range/pull/157 -Patch7: boost-1.90.0-range.patch +# https://svn.boost.org/trac/boost/ticket/8853 +Patch31: boost-1.54.0-tuple-unused_typedef.patch + +# https://svn.boost.org/trac/boost/ticket/8854 +Patch32: boost-1.54.0-random-unused_typedef.patch + +# https://svn.boost.org/trac/boost/ticket/8856 +Patch33: boost-1.54.0-date_time-unused_typedef.patch +Patch34: boost-1.54.0-date_time-unused_typedef-2.patch + +# https://svn.boost.org/trac/boost/ticket/8870 +Patch35: boost-1.54.0-spirit-unused_typedef.patch +Patch36: boost-1.54.0-spirit-unused_typedef-2.patch + +# https://svn.boost.org/trac/boost/ticket/8871 +Patch37: boost-1.54.0-numeric-unused_typedef.patch + +# https://svn.boost.org/trac/boost/ticket/8872 +Patch38: boost-1.54.0-multiprecision-unused_typedef.patch + +# https://svn.boost.org/trac/boost/ticket/8874 +Patch42: boost-1.54.0-unordered-unused_typedef.patch + +# https://svn.boost.org/trac/boost/ticket/8876 +Patch43: boost-1.54.0-algorithm-unused_typedef.patch + +# https://svn.boost.org/trac/boost/ticket/8877 +Patch44: boost-1.54.0-graph-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/8879 +Patch46: boost-1.54.0-property_tree-unused_typedef.patch + +# https://svn.boost.org/trac/boost/ticket/8880 +Patch47: boost-1.54.0-xpressive-unused_typedef.patch + +# https://svn.boost.org/trac/boost/ticket/8881 +Patch48: boost-1.54.0-mpi-unused_typedef.patch + +# https://svn.boost.org/trac/boost/ticket/8888 +Patch49: boost-1.54.0-python-unused_typedef.patch %bcond_with tests %bcond_with docs_generated @@ -180,287 +189,204 @@ others have been proposed to the C++ Standards Committee for inclusion in future standards.) %package atomic -Summary: Run-time component of boost atomic library +Summary: Run-Time component of boost atomic library +Group: System Environment/Libraries %description atomic -Run-time support for Boost.Atomic, a library that provides atomic data +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 charconv -Summary: Run-time component of boost charconv library - -%description charconv - -Run-time support for Boost.Charconv, an implementation of -in C++11. - %package chrono -Summary: Run-time component of boost chrono library -Obsoletes: boost-system < 1.90.0 -Conflicts: boost-system < 1.90.0 +Summary: Run-Time component of boost chrono library +Group: System Environment/Libraries %description chrono -Run-time support for Boost.Chrono, a set of useful time utilities. - -%package cobalt -Summary: Run-time component of boost cobalt library - -%description cobalt - -Boost.Cobalt provides a set of easy to use coroutine primitives & utilities -running on top of boost.asio. These will be of interest for applications that -perform a lot of IO that want to not block unnecessarily, yet still want to -have linear & readable code (i..e. avoid callbacks). - -%package container -Summary: Run-time component of boost container library - -%description container - -Boost.Container library implements several well-known containers, -including STL containers. The aim of the library is to offer advanced -features not present in standard containers or to offer the latest -standard draft features for compilers that don't comply with the -latest C++ standard. - -%package contract -Summary: Run-time component of boost contract library - -%description contract - -Run-time support for boost contract library. -Contract programming for C++. All contract programming features are supported: -Subcontracting, class invariants, postconditions (with old and return values), -preconditions, customizable actions on assertion failure (e.g., terminate -or throw), optional compilation and checking of assertions, etc, -from Lorenzo Caminiti. +Run-Time support for Boost.Chrono, a set of useful time utilities. %if %{with context} %package context -Summary: Run-time component of boost context switching library +Summary: Run-Time component of boost context switching library +Group: System Environment/Libraries %description context -Run-time support for Boost.Context, a foundational library that +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 -Requires: %{name}-context%{?_isa} = %{version}-%{release} - -%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 +Summary: Run-Time component of boost date-time library +Group: System Environment/Libraries %description date-time -Run-time support for Boost Date Time, a set of date-time libraries based +Run-Time support for Boost Date Time, set of date-time libraries based on generic programming concepts. -%if %{with context} -%package fiber -Summary: Run-time component of boost fiber library -Requires: %{name}-context%{?_isa} = %{version}-%{release} -Requires: %{name}-filesystem%{?_isa} = %{version}-%{release} - -%description fiber - -Run-time support for the Boost Fiber library, a framework for -micro-/userland-threads (fibers) scheduled cooperatively. -%endif - %package filesystem -Summary: Run-time component of boost filesystem library -Requires: %{name}-atomic%{?_isa} = %{version}-%{release} -Obsoletes: boost-system < 1.90.0 -Conflicts: boost-system < 1.90.0 +Summary: Run-Time component of boost filesystem library +Group: System Environment/Libraries %description filesystem -Run-time support for the Boost Filesystem Library, which provides +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 -Requires: %{name}-regex%{?_isa} = %{version}-%{release} +Summary: Run-Time component of boost graph library +Group: System Environment/Libraries %description graph -Run-time support for the BGL graph library. BGL interface and graph -components are generic, in the same sense as the Standard Template +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 +Summary: Run-Time component of boost iostreams library +Group: System Environment/Libraries %description iostreams -Run-time support for Boost.Iostreams, a framework for defining streams, +Run-Time support for Boost.IOStreams, a framework for defining streams, stream buffers and i/o filters. -%package json -Summary: Run-time component of boost json library -Requires: %{name}-container%{?_isa} = %{version}-%{release} - -%description json - -Run-time support for Boost.Json, a portable C++ library which provides -containers and algorithms that implement JavaScript Object Notation, or -simply "JSON" - %package locale -Summary: Run-time component of boost locale library -Requires: %{name}-chrono%{?_isa} = %{version}-%{release} -Requires: %{name}-thread%{?_isa} = %{version}-%{release} -Obsoletes: boost-system < 1.90.0 -Conflicts: boost-system < 1.90.0 +Summary: Run-Time component of boost locale library +Group: System Environment/Libraries %description locale -Run-time support for Boost.Locale, a set of localization and Unicode +Run-Time support for Boost.Locale, a set of localization and Unicode handling tools. -%package log -Summary: Run-time component of boost logging library -Requires: %{name}-atomic%{?_isa} = %{version}-%{release} -Requires: %{name}-chrono%{?_isa} = %{version}-%{release} -Requires: %{name}-filesystem%{?_isa} = %{version}-%{release} -Requires: %{name}-regex%{?_isa} = %{version}-%{release} -Requires: %{name}-thread%{?_isa} = %{version}-%{release} - -%description log - -Run-time support for Boost.Log, a modular and extensible logging -library that supports both narrow-character and wide-character logging. - %package math -Summary: Run-time component of boost math toolkit +Summary: Math functions for boost TR1 library +Group: System Environment/Libraries %description math -Run-time support for Boost.Math, including floating-point utilities, -specific width floating-point types, mathematical constants, -statistical distributions, special functions, and more. - -%package nowide -Summary: Standard library functions with UTF-8 API on Windows - -%description nowide - -Run-time support for Boost.Nowide. - -%if %{with python3} - -%package numpy3 -Summary: Run-time component of boost numpy library for Python 3 -Requires: %{name}-python3%{?_isa} = %{version}-%{release} -Requires: python3-numpy - -%description numpy3 - -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 the NumPy extension of the Boost Python Library for Python 3. - -%endif - -%package process -Summary: Run-time component of boost process library - -%description process - -Run-time support of the Boost.Process library, for managing system -processes. +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 +Summary: Run-Time component of boost program_options library +Group: System Environment/Libraries %description program-options -Run-time support of boost program options library, which allows program +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. +conventional methods such as command line and configuration file. + +%package python +Summary: Run-Time component of boost python library +Group: System Environment/Libraries + +%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 -Requires: python(abi) = %{python3_version} +Summary: Run-Time component of boost python library for Python 3 +Group: System Environment/Libraries %description python3 The Boost Python Library is a framework for interfacing Python and -C++. It allows you to quickly and seamlessly expose C++ classes, +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 the Boost Python Library compiled for Python 3. +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: boost-python3 = %{version}-%{release} +Requires: boost-devel = %{version}-%{release} + +%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 +Summary: Run-Time component of boost random library +Group: System Environment/Libraries %description random -Run-time support for boost random library. +Run-Time support for boost random library. %package regex -Summary: Run-time component of boost regular expression library +Summary: Run-Time component of boost regular expression library +Group: System Environment/Libraries %description regex -Run-time support for boost regular expression library. +Run-Time support for boost regular expression library. %package serialization -Summary: Run-time component of boost serialization library +Summary: Run-Time component of boost serialization library +Group: System Environment/Libraries %description serialization -Run-time support for serialization for persistence and marshaling. +Run-Time support for serialization for persistence and marshaling. -%package stacktrace -Summary: Run-time component of boost stacktrace library +%package signals +Summary: Run-Time component of boost signals and slots library +Group: System Environment/Libraries -%description stacktrace +%description signals -Run-time component of the Boost stacktrace library. +Run-Time support for managed signals & slots callback implementation. + +%package system +Summary: Run-Time component of boost system support library +Group: System Environment/Libraries + +%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 +Summary: Run-Time component of boost test library +Group: System Environment/Libraries %description test -Run-time support for simple program testing, full unit testing, and for +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 -Obsoletes: boost-system < 1.90.0 -Conflicts: boost-system < 1.90.0 +Summary: Run-Time component of boost thread library +Group: System Environment/Libraries %description thread -Run-time component Boost.Thread library, which provides classes and +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 -Requires: %{name}-chrono%{?_isa} = %{version}-%{release} -Obsoletes: boost-system < 1.90.0 -Conflicts: boost-system < 1.90.0 +Summary: Run-Time component of boost timer library +Group: System Environment/Libraries %description timer @@ -468,83 +394,56 @@ Conflicts: boost-system < 1.90.0 The Boost Timer library answers that question and does so portably, with as little as one #include and one additional line of code. -%package type_erasure -Summary: Run-time component of boost type erasure library -Requires: %{name}-chrono%{?_isa} = %{version}-%{release} -Requires: %{name}-thread%{?_isa} = %{version}-%{release} -Obsoletes: boost-system < 1.90.0 -Conflicts: boost-system < 1.90.0 - -%description type_erasure - -The Boost.TypeErasure library provides runtime polymorphism in C++ -that is more flexible than that provided by the core language. - -%package url -Summary: Runtime component of boost URL library - -%description url - -Run-time support for the Boost.URL library, a Standards conforming -library for parsing Uniform Resource Locators. - %package wave -Summary: Run-time component of boost C99/C++ preprocessing library -Requires: %{name}-chrono%{?_isa} = %{version}-%{release} -Requires: %{name}-date-time%{?_isa} = %{version}-%{release} -Requires: %{name}-filesystem%{?_isa} = %{version}-%{release} -Requires: %{name}-thread%{?_isa} = %{version}-%{release} -Obsoletes: boost-system < 1.90.0 -Conflicts: boost-system < 1.90.0 +Summary: Run-Time component of boost C99/C++ pre-processing library +Group: System Environment/Libraries %description wave -Run-time support for the Boost.Wave library, a Standards conforming, +Run-Time support for the Boost.Wave library, a Standards conforming, and highly configurable implementation of the mandated C99/C++ -preprocessor functionality. +pre-processor functionality. %package devel Summary: The Boost C++ headers and shared development libraries -Requires: %{name}%{?_isa} = %{version}-%{release} +Group: Development/Libraries +Requires: boost = %{version}-%{release} +Provides: boost-python-devel = %{version}-%{release} Requires: libicu-devel%{?_isa} -%if %{with quadmath} -Requires: libquadmath-devel%{?_isa} -%endif -%if %{with python3} -# Require boost-numpy3 here, because main boost metapackage only Recommends: it -Requires: %{name}-numpy3%{?_isa} = %{version}-%{release} -# Old Provides: for compatibility with packages that still require it. -Provides: %{name}-python3-devel = %{version}-%{release} -Provides: %{name}-python3-devel%{?_isa} = %{version}-%{release} -%endif %description devel Headers and shared object symbolic links for the Boost C++ libraries. %package static Summary: The Boost C++ static development libraries -Requires: %{name}-devel%{?_isa} = %{version}-%{release} +Group: Development/Libraries +Requires: boost-devel = %{version}-%{release} +Obsoletes: boost-devel-static < 1.34.1-14 +Provides: boost-devel-static = %{version}-%{release} %description static Static Boost C++ libraries. %package doc Summary: HTML documentation for the Boost C++ libraries -%if 0%{?rhel} >= 6 +Group: Documentation +%if 0%{?fedora} >= 10 || 0%{?rhel} >= 6 BuildArch: noarch %endif +Provides: boost-python-docs = %{version}-%{release} %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/%{version_enc}). +web page (http://www.boost.org/doc/libs/1_40_0). %package examples Summary: Source examples for the Boost C++ libraries -%if 0%{?rhel} >= 6 +Group: Documentation +%if 0%{?fedora} >= 10 || 0%{?rhel} >= 6 BuildArch: noarch %endif -Requires: %{name}-devel = %{version}-%{release} +Requires: boost-devel = %{version}-%{release} %description examples This package contains example source files distributed with boost. @@ -553,135 +452,108 @@ This package contains example source files distributed with boost. %if %{with openmpi} %package openmpi -Summary: Run-time component of Boost.MPI library +Summary: Run-Time component of Boost.MPI library +Group: System Environment/Libraries +Requires: openmpi BuildRequires: openmpi-devel -Requires: %{name}-serialization%{?_isa} = %{version}-%{release} %description openmpi -Run-time support for Boost.MPI-OpenMPI, a library providing a clean C++ +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 -Requires: %{name}-devel%{?_isa} = %{version}-%{release} -Requires: %{name}-openmpi%{?_isa} = %{version}-%{release} -Requires: %{name}-graph-openmpi%{?_isa} = %{version}-%{release} +Group: System Environment/Libraries +Requires: boost-devel = %{version}-%{release} +Requires: boost-openmpi = %{version}-%{release} +Requires: boost-openmpi-python = %{version}-%{release} +Requires: boost-graph-openmpi = %{version}-%{release} %description openmpi-devel Devel package for Boost.MPI-OpenMPI, a library providing a clean C++ API over the OpenMPI implementation of MPI. -%if %{with python3} +%package openmpi-python +Summary: Python run-time component of Boost.MPI library +Group: System Environment/Libraries +Requires: boost-openmpi = %{version}-%{release} -%package openmpi-python3 -Summary: Python 3 run-time component of Boost.MPI library -Requires: %{name}-openmpi%{?_isa} = %{version}-%{release} -Requires: %{name}-python3%{?_isa} = %{version}-%{release} -Requires: %{name}-serialization%{?_isa} = %{version}-%{release} -Requires: python3-openmpi%{?_isa} +%description openmpi-python -%description openmpi-python3 - -Python 3 support for Boost.MPI-OpenMPI, a library providing a clean C++ +Python support for Boost.MPI-OpenMPI, a library providing a clean C++ API over the OpenMPI implementation of MPI. -%package openmpi-python3-devel -Summary: Shared library symbolic links for Boost.MPI Python 3 component -Requires: %{name}-devel%{?_isa} = %{version}-%{release} -Requires: %{name}-openmpi-devel%{?_isa} = %{version}-%{release} -Requires: %{name}-openmpi-python3%{?_isa} = %{version}-%{release} - -%description openmpi-python3-devel - -Devel package for the Python 3 interface of Boost.MPI-OpenMPI, a library -providing a clean C++ API over the OpenMPI implementation of MPI. - -%endif - %package graph-openmpi -Summary: Run-time component of parallel boost graph library -Requires: %{name}-openmpi%{?_isa} = %{version}-%{release} -Requires: %{name}-serialization%{?_isa} = %{version}-%{release} +Summary: Run-Time component of parallel boost graph library +Group: System Environment/Libraries +Requires: boost-openmpi = %{version}-%{release} %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 Standard +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} +%if %{with mpich2} -%package mpich -Summary: Run-time component of Boost.MPI library -BuildRequires: mpich-devel -Requires: %{name}-serialization%{?_isa} = %{version}-%{release} +%package mpich2 +Summary: Run-Time component of Boost.MPI library +Group: System Environment/Libraries +Requires: mpich2 +BuildRequires: mpich2-devel -%description mpich +%description mpich2 -Run-time support for Boost.MPI-MPICH, a library providing a clean C++ -API over the MPICH implementation of MPI. +Run-Time support for Boost.MPI-MPICH2, a library providing a clean C++ +API over the MPICH2 implementation of MPI. -%package mpich-devel +%package mpich2-devel Summary: Shared library symbolic links for Boost.MPI -Requires: %{name}-devel%{?_isa} = %{version}-%{release} -Requires: %{name}-mpich%{?_isa} = %{version}-%{release} -Requires: %{name}-graph-mpich%{?_isa} = %{version}-%{release} +Group: System Environment/Libraries +Requires: boost-devel = %{version}-%{release} +Requires: boost-mpich2 = %{version}-%{release} +Requires: boost-mpich2-python = %{version}-%{release} +Requires: boost-graph-mpich2 = %{version}-%{release} -%description mpich-devel +%description mpich2-devel -Devel package for Boost.MPI-MPICH, a library providing a clean C++ -API over the MPICH implementation of MPI. +Devel package for Boost.MPI-MPICH2, a library providing a clean C++ +API over the MPICH2 implementation of MPI. -%if %{with python3} +%package mpich2-python +Summary: Python run-time component of Boost.MPI library +Group: System Environment/Libraries +Requires: boost-mpich2 = %{version}-%{release} -%package mpich-python3 -Summary: Python 3 run-time component of Boost.MPI library -Requires: %{name}-mpich%{?_isa} = %{version}-%{release} -Requires: %{name}-python3%{?_isa} = %{version}-%{release} -Requires: %{name}-serialization%{?_isa} = %{version}-%{release} -Requires: python3-mpich%{?_isa} +%description mpich2-python -%description mpich-python3 +Python support for Boost.MPI-MPICH2, a library providing a clean C++ +API over the MPICH2 implementation of MPI. -Python 3 support for Boost.MPI-MPICH, a library providing a clean C++ -API over the MPICH implementation of MPI. +%package graph-mpich2 +Summary: Run-Time component of parallel boost graph library +Group: System Environment/Libraries +Requires: boost-mpich2 = %{version}-%{release} -%package mpich-python3-devel -Summary: Shared library symbolic links for Boost.MPI Python 3 component -Requires: %{name}-devel%{?_isa} = %{version}-%{release} -Requires: %{name}-mpich-devel%{?_isa} = %{version}-%{release} -Requires: %{name}-mpich-python3%{?_isa} = %{version}-%{release} +%description graph-mpich2 -%description mpich-python3-devel - -Devel package for the Python 3 interface of Boost.MPI-MPICH, a library -providing a clean C++ API over the MPICH implementation of MPI. - -%endif - -%package graph-mpich -Summary: Run-time component of parallel boost graph library -Requires: %{name}-mpich%{?_isa} = %{version}-%{release} -Requires: %{name}-serialization%{?_isa} = %{version}-%{release} - -%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 Standard -Template Library (STL). This libraries in this package use 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 MPICH2 back-end to do the parallel work. %endif %package build Summary: Cross platform build system for C++ projects -Requires: %{name}-b2 +Group: Development/Tools +Requires: boost-jam BuildArch: noarch %description build @@ -689,137 +561,152 @@ 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 are using GCC, MSVC, or a dozen more supported +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 -Requires: docbook-dtds -Requires: docbook-style-xsl - -%description doctools - -Tools for working with Boost documentation in BoostBook or QuickBook format. - -%package b2 +%package jam Summary: A low-level build tool +Group: Development/Tools -%description b2 -B2 (formerly Boost.Jam) is the low-level build engine tool for Boost.Build. -Historically, B2 was based on on FTJam and on Perforce Jam but has grown -a number of significant features and is now developed independently. +%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 -%autosetup -n %{toplev_dirname} -p1 -find ./boost -name '*.hpp' -perm /111 | xargs --no-run-if-empty chmod a-x +%setup -q -n %{toplev_dirname} + +%patch4 -p1 +%patch5 -p1 +%patch9 -p1 +%patch15 -p0 +%patch18 -p1 +%patch19 -p1 +%patch20 -p1 +%patch21 -p1 +%patch22 -p1 +%patch23 -p1 +%patch24 -p1 +%patch25 -p0 +%patch26 -p1 +%patch27 -p1 +%patch28 -p0 +%patch31 -p0 +%patch32 -p0 +%patch33 -p0 +%patch34 -p1 +%patch35 -p1 +%patch36 -p1 +%patch37 -p1 +%patch38 -p1 +%patch42 -p1 +%patch43 -p1 +%patch44 -p1 +%patch45 -p1 +%patch46 -p1 +%patch47 -p1 +%patch48 -p1 +%patch49 -p1 + +# 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 -%set_build_flags -# Dump the versions being used into the build logs. +: PYTHON2_VERSION=%{python2_version} %if %{with python3} -PYTHON3_ABIFLAGS=$(/usr/bin/python3-config --abiflags) : PYTHON3_VERSION=%{python3_version} -: PYTHON3_ABIFLAGS=${PYTHON3_ABIFLAGS} +: PYTHON3_ABIFLAGS=%{python3_abiflags} %endif +cat >> ./tools/build/v2/user-config.jam << EOF # There are many strict aliasing warnings, and it's not feasible to go # through them all at this time. -# There are also lots of noisy but harmless unused local typedef warnings. -export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wno-unused-local-typedefs -Wno-deprecated-declarations" -export RPM_LD_FLAGS - -cat > ./tools/build/src/user-config.jam << "EOF" -import os ; -local RPM_OPT_FLAGS = [ os.environ RPM_OPT_FLAGS ] ; -local RPM_LD_FLAGS = [ os.environ RPM_LD_FLAGS ] ; - -using %{toolchain} : : : $(RPM_OPT_FLAGS) $(RPM_LD_FLAGS) ; -%if %{with openmpi} || %{with mpich} +using gcc : : : -fno-strict-aliasing ; using mpi ; -%endif -EOF - %if %{with python3} -cat >> ./tools/build/src/user-config.jam << EOF -using python : %{python3_version} : /usr/bin/python3 : /usr/include/python%{python3_version}${PYTHON3_ABIFLAGS} : : : ; -EOF +# 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} ; %endif +EOF -./bootstrap.sh --with-toolset=%{toolchain} --with-icu --prefix=$RPM_BUILD_ROOT%{_prefix} +./bootstrap.sh --with-toolset=gcc --with-icu +sed 's/%%{version}/%{version}/g' %{SOURCE2} > $(basename %{SOURCE2}) # 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 \ - --without-fiber \ %endif variant=release threading=multi debug-symbols=on pch=off \ -%if %{with python3} - python=%{python3_version} \ -%endif -%if !%{with stacktrace_from_exception} - boost.stacktrace.from_exception=off \ -%endif - stage + python=%{python2_version} stage # Build MPI parts of Boost with OpenMPI support -%if %{with openmpi} || %{with mpich} -# First, purge all modules so that user environment does not conflict +%if %{with openmpi} || %{with mpich2} +# 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} - -%if %{with python3} 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=%{python3_version} stage -%endif - + 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} - -%if %{with python3} +# Build MPI parts of Boost with MPICH2 support +%if %{with mpich2} +%{_mpich2_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=%{python3_version} stage -%endif - -%{_mpich_unload} + python=%{python2_version} stage +%{_mpich2_unload} export PATH=/bin${PATH:+:}$PATH %endif echo ============================= build Boost.Build ================== -(cd tools/build - ./bootstrap.sh --with-toolset=%{toolchain} --prefix=$RPM_BUILD_ROOT%{_prefix}) +(cd tools/build/v2 + ./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 does not conflict +%if %{with openmpi} || %{with mpich2} +# First, purge all modules so that user environment doesn't conflict # with the build. module purge ||: %endif @@ -828,63 +715,33 @@ module purge ||: %{_openmpi_load} # XXX We want to extract this from RPM flags # b2 instruction-set=i686 etc. - -%if %{with python3} 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=%{python3_version} stage - -# Move Python module to proper location for automatic loading -mkdir -p ${RPM_BUILD_ROOT}%{python3_sitearch}/openmpi/boost -touch ${RPM_BUILD_ROOT}%{python3_sitearch}/openmpi/boost/__init__.py -mv ${RPM_BUILD_ROOT}${MPI_HOME}/lib/boost-python%{python3_version}/mpi.so \ - ${RPM_BUILD_ROOT}%{python3_sitearch}/openmpi/boost/ -%endif - -# Using 'b2 stage' does not fix the paths in these files, so do it manually -sed -i -e 's|get_filename_component(_BOOST_INCLUDEDIR "${_BOOST_CMAKEDIR}/.*"|get_filename_component(_BOOST_INCLUDEDIR "${_BOOST_CMAKEDIR}/../../../../include"|' ${RPM_BUILD_ROOT}${MPI_HOME}/lib/cmake/*/*-config.cmake + 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}* -rm -f ${RPM_BUILD_ROOT}${MPI_HOME}/lib/libboost_numpy* -rm -rf ${RPM_BUILD_ROOT}${MPI_HOME}/lib/cmake/boost_{python,{w,}serialization}* -rm -rf ${RPM_BUILD_ROOT}${MPI_HOME}/lib/cmake/boost_numpy* %{_openmpi_unload} export PATH=/bin${PATH:+:}$PATH %endif -%if %{with mpich} -%{_mpich_load} - -%if %{with python3} +%if %{with mpich2} +%{_mpich2_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=%{python3_version} stage - -# Move Python module to proper location for automatic loading -mkdir -p ${RPM_BUILD_ROOT}%{python3_sitearch}/mpich/boost -touch ${RPM_BUILD_ROOT}%{python3_sitearch}/mpich/boost/__init__.py -mv ${RPM_BUILD_ROOT}${MPI_HOME}/lib/boost-python%{python3_version}/mpi.so \ - ${RPM_BUILD_ROOT}%{python3_sitearch}/mpich/boost/ -%endif - -# Using 'b2 stage' does not fix the paths in these files, so do it manually -sed -i -e 's|get_filename_component(_BOOST_INCLUDEDIR "${_BOOST_CMAKEDIR}/.*"|get_filename_component(_BOOST_INCLUDEDIR "${_BOOST_CMAKEDIR}/../../../../include"|' ${RPM_BUILD_ROOT}${MPI_HOME}/lib/cmake/*/*-config.cmake + 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}* -rm -f ${RPM_BUILD_ROOT}${MPI_HOME}/lib/libboost_numpy* -rm -rf ${RPM_BUILD_ROOT}${MPI_HOME}/lib/cmake/boost_{python,{w,}serialization}* -rm -rf ${RPM_BUILD_ROOT}${MPI_HOME}/lib/cmake/boost_numpy* -%{_mpich_unload} +%{_mpich2_unload} export PATH=/bin${PATH:+:}$PATH %endif @@ -893,95 +750,59 @@ echo ============================= install serial ================== --without-mpi --without-graph_parallel --build-dir=serial \ %if !%{with context} --without-context --without-coroutine \ - --without-fiber \ %endif --prefix=$RPM_BUILD_ROOT%{_prefix} \ --libdir=$RPM_BUILD_ROOT%{_libdir} \ variant=release threading=multi debug-symbols=on pch=off \ -%if %{with python3} - python=%{python3_version} \ -%endif -%if !%{with stacktrace_from_exception} - boost.stacktrace.from_exception=off \ -%endif - install + python=%{python2_version} install -cat > $RPM_BUILD_ROOT%{_libdir}/libboost_system.so << EOT -/* GNU ld script - -There is no runtime library for Boost.System. -This empty linker script exists to support Fedora packages which use --lboost_system when linking and so require a library with that name. - -This linker script will be remove in a future Fedora release. -*/ -EOT -chmod 644 $RPM_BUILD_ROOT%{_libdir}/libboost_system.so +# 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}/ echo ============================= install Boost.Build ================== -(cd tools/build +(cd tools/build/v2 ./b2 --prefix=$RPM_BUILD_ROOT%{_prefix} install - - # Somewhere along the line the boost-build install directory became b2 - # which seems not so great for our purposes, fix that up - mv $RPM_BUILD_ROOT%{_datadir}/b2 $RPM_BUILD_ROOT%{_datadir}/boost-build - - # but make a symlink so b2 knows where to look - pushd $RPM_BUILD_ROOT%{_datadir}/ - ln -s ./boost-build b2 - popd - # Fix some permissions - chmod +x $RPM_BUILD_ROOT%{_datadir}/boost-build/src/tools/doxproc.py - # Fix shebang using unversioned python - sed -i '1s@^#!/usr/bin.python$@&3@' $RPM_BUILD_ROOT%{_datadir}/boost-build/src/tools/doxproc.py + chmod -x $RPM_BUILD_ROOT%{_datadir}/boost-build/build/alias.py + chmod +x $RPM_BUILD_ROOT%{_datadir}/boost-build/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/build/project.ann.py # Empty file - rm $RPM_BUILD_ROOT%{_datadir}/boost-build/src/tools/doxygen/windows-paths-check.hpp - rm -f $RPM_BUILD_ROOT%{_datadir}/boost-build/src/tools/doxygen/windows-paths-check.hpp + rm -f $RPM_BUILD_ROOT%{_datadir}/boost-build/tools/doxygen/windows-paths-check.hpp # Install the manual page - %{__install} -p -m 644 %{SOURCE1} -D $RPM_BUILD_ROOT%{_mandir}/man1/b2.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} -p -m 644 doc/bjam.1 -D $RPM_BUILD_ROOT%{_mandir}/man1/bjam.1 ) # Install documentation files (HTML pages) within the temporary place echo ============================= install documentation ================== -# Prepare the place to temporarily store the generated 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 \ +find libs doc more -type f \( -name \*.htm -o -name \*.html \) \ | sed -n '/\//{s,/[^/]*$,,;p}' \ | sort -u > tmp-doc-directories - sed "s:^:$DOCPATH/:" tmp-doc-directories \ - | xargs -P 0 --no-run-if-empty %{__install} -d - + | xargs --no-run-if-empty %{__install} -d cat tmp-doc-directories | while read tobeinstalleddocdir; do - find $tobeinstalleddocdir -mindepth 1 -maxdepth 1 -regex $DOCREGEX -print0 \ - | xargs -P 0 -0 %{__install} -p -m 644 -t $DOCPATH/$tobeinstalleddocdir + find $tobeinstalleddocdir -mindepth 1 -maxdepth 1 -name \*.htm\* \ + | xargs %{__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 +%{__install} -p -m 644 -t $DOCPATH LICENSE_1_0.txt index.htm index.html 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 +sed -i -e 's/\r//g' libs/geometry/example/ml02_distance_strategy.vcproj 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 + 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} @@ -989,14 +810,14 @@ do rm -f libs/${tmp_doc_file}.iso8859 done -# Prepare the place to temporarily store the examples +# 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 + | xargs --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 @@ -1015,111 +836,148 @@ rm -f tmp-doc-files-to-be-installed rm -f tmp-doc-directories %{__install} -p -m 644 -t $EXAMPLESPATH LICENSE_1_0.txt -# The predef_check utility doesn't seem useful to package. -(cd $RPM_BUILD_ROOT/%{_datadir} - rm boost_predef/tools/check/* - rm boost_predef/build.jam -) +%clean +rm -rf $RPM_BUILD_ROOT -%post doctools -CATALOG=%{_sysconfdir}/xml/catalog -%{_bindir}/xmlcatalog --noout --add "rewriteSystem" \ - "http://www.boost.org/tools/boostbook/dtd" \ - "file://%{_datadir}/boostbook/dtd" $CATALOG -%{_bindir}/xmlcatalog --noout --add "rewriteURI" \ - "http://www.boost.org/tools/boostbook/dtd" \ - "file://%{_datadir}/boostbook/dtd" $CATALOG -%{_bindir}/xmlcatalog --noout --add "rewriteSystem" \ - "http://www.boost.org/tools/boostbook/xsl" \ - "file://%{_datadir}/boostbook/xsl" $CATALOG -%{_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=%{_sysconfdir}/xml/catalog - %{_bindir}/xmlcatalog --noout --del \ - "file://%{_datadir}/boostbook/dtd" $CATALOG - %{_bindir}/xmlcatalog --noout --del \ - "file://%{_datadir}/boostbook/xsl" $CATALOG -fi +# 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 + +%if %{with context} +%post context -p /sbin/ldconfig + +%postun context -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 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 + %files -%license LICENSE_1_0.txt +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt %files atomic -%license LICENSE_1_0.txt +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt %{_libdir}/libboost_atomic.so.%{sonamever} -%files charconv -%license LICENSE_1_0.txt -%{_libdir}/libboost_charconv.so.%{sonamever} - %files chrono -%license LICENSE_1_0.txt +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt %{_libdir}/libboost_chrono.so.%{sonamever} -%files cobalt -%license LICENSE_1_0.txt -%{_libdir}/libboost_cobalt.so.%{sonamever} -%{_libdir}/libboost_cobalt_io.so.%{sonamever} - -%files container -%license LICENSE_1_0.txt -%{_libdir}/libboost_container.so.%{sonamever} - %if %{with context} - %files context -%license LICENSE_1_0.txt +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt %{_libdir}/libboost_context.so.%{sonamever} - -%files coroutine -%license LICENSE_1_0.txt -%{_libdir}/libboost_coroutine.so.%{sonamever} - %endif %files date-time -%license LICENSE_1_0.txt +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt %{_libdir}/libboost_date_time.so.%{sonamever} -%if %{with context} -%files fiber -%license LICENSE_1_0.txt -%{_libdir}/libboost_fiber.so.%{sonamever} -%endif - %files filesystem -%license LICENSE_1_0.txt +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt %{_libdir}/libboost_filesystem.so.%{sonamever} %files graph -%license LICENSE_1_0.txt +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt %{_libdir}/libboost_graph.so.%{sonamever} %files iostreams -%license LICENSE_1_0.txt +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt %{_libdir}/libboost_iostreams.so.%{sonamever} -%files json -%license LICENSE_1_0.txt -%{_libdir}/libboost_json.so.%{sonamever} - %files locale -%license LICENSE_1_0.txt +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt %{_libdir}/libboost_locale.so.%{sonamever} -%files log -%license LICENSE_1_0.txt -%{_libdir}/libboost_log.so.%{sonamever} -%{_libdir}/libboost_log_setup.so.%{sonamever} - %files math -%license LICENSE_1_0.txt +%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} @@ -1127,152 +985,123 @@ fi %{_libdir}/libboost_math_tr1f.so.%{sonamever} %{_libdir}/libboost_math_tr1l.so.%{sonamever} -%files nowide -%license LICENSE_1_0.txt -%{_libdir}/libboost_nowide.so.%{sonamever} - -%if %{with python3} -%files numpy3 -%license LICENSE_1_0.txt -%{_libdir}/libboost_numpy%{python3_version_nodots}.so.%{sonamever} -%endif - -%files process -%license LICENSE_1_0.txt -%{_libdir}/libboost_process.so.%{sonamever} - %files test -%license LICENSE_1_0.txt +%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 -%license LICENSE_1_0.txt +%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 -%license LICENSE_1_0.txt -%{_libdir}/libboost_python%{python3_version_nodots}.so.%{sonamever} +%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 -%license LICENSE_1_0.txt +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt %{_libdir}/libboost_random.so.%{sonamever} %files regex -%license LICENSE_1_0.txt +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt %{_libdir}/libboost_regex.so.%{sonamever} %files serialization -%license LICENSE_1_0.txt +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt %{_libdir}/libboost_serialization.so.%{sonamever} %{_libdir}/libboost_wserialization.so.%{sonamever} -%files stacktrace -%license LICENSE_1_0.txt -%{_libdir}/libboost_stacktrace_addr2line.so.%{sonamever} -%{_libdir}/libboost_stacktrace_basic.so.%{sonamever} -%{_libdir}/libboost_stacktrace_noop.so.%{sonamever} -%if %{with stacktrace_from_exception} -%{_libdir}/libboost_stacktrace_from_exception.so.%{sonamever} -%endif +%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 -%license LICENSE_1_0.txt +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt %{_libdir}/libboost_thread.so.%{sonamever} %files timer -%license LICENSE_1_0.txt +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt %{_libdir}/libboost_timer.so.%{sonamever} -%files type_erasure -%license LICENSE_1_0.txt -%{_libdir}/libboost_type_erasure.so.%{sonamever} - -%files url -%license LICENSE_1_0.txt -%{_libdir}/libboost_url.so.%{sonamever} - %files wave -%license LICENSE_1_0.txt +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt %{_libdir}/libboost_wave.so.%{sonamever} -%files contract -%license LICENSE_1_0.txt -%{_libdir}/libboost_contract.so.%{sonamever} - %files doc +%defattr(-, root, root, -) %doc %{boost_docdir}/* %files examples +%defattr(-, root, root, -) %doc %{boost_examplesdir}/* %files devel -%license LICENSE_1_0.txt +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt %{_includedir}/%{name} -%{_libdir}/cmake %{_libdir}/libboost_atomic.so -%{_libdir}/libboost_charconv.so %{_libdir}/libboost_chrono.so -%{_libdir}/libboost_cobalt.so -%{_libdir}/libboost_cobalt_io.so -%{_libdir}/libboost_container.so -%{_libdir}/libboost_contract.so %if %{with context} %{_libdir}/libboost_context.so -%{_libdir}/libboost_coroutine.so %endif %{_libdir}/libboost_date_time.so -%if %{with context} -%{_libdir}/libboost_fiber.so -%endif %{_libdir}/libboost_filesystem.so %{_libdir}/libboost_graph.so %{_libdir}/libboost_iostreams.so -%{_libdir}/libboost_json.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_nowide.so -%if %{with python3} -%{_libdir}/libboost_numpy%{python3_version_nodots}.so -%endif -%{_libdir}/libboost_process.so %{_libdir}/libboost_prg_exec_monitor.so %{_libdir}/libboost_unit_test_framework.so %{_libdir}/libboost_program_options.so -%if %{with python3} -%{_libdir}/libboost_python%{python3_version_nodots}.so -%endif +%{_libdir}/libboost_python.so %{_libdir}/libboost_random.so %{_libdir}/libboost_regex.so %{_libdir}/libboost_serialization.so %{_libdir}/libboost_wserialization.so -%{_libdir}/libboost_stacktrace_addr2line.so -%{_libdir}/libboost_stacktrace_basic.so -%{_libdir}/libboost_stacktrace_noop.so -%if %{with stacktrace_from_exception} -%{_libdir}/libboost_stacktrace_from_exception.so -%endif +%{_libdir}/libboost_signals.so %{_libdir}/libboost_system.so %{_libdir}/libboost_thread.so %{_libdir}/libboost_timer.so -%{_libdir}/libboost_type_erasure.so -%{_libdir}/libboost_url.so %{_libdir}/libboost_wave.so %files static -%license LICENSE_1_0.txt +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt %{_libdir}/*.a -%if %{with mpich} -%{_libdir}/mpich/lib/*.a +%if %{with mpich2} +%{_libdir}/mpich2/lib/*.a %endif %if %{with openmpi} %{_libdir}/openmpi/lib/*.a @@ -1282,938 +1111,79 @@ fi %if %{with openmpi} %files openmpi -%license LICENSE_1_0.txt +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt %{_libdir}/openmpi/lib/libboost_mpi.so.%{sonamever} %files openmpi-devel -%license LICENSE_1_0.txt -%{_libdir}/openmpi/lib/cmake -%{_libdir}/openmpi/lib/libboost_mpi.so -%{_libdir}/openmpi/lib/libboost_graph.so -%{_libdir}/openmpi/lib/libboost_graph_parallel.so -%{_libdir}/openmpi/lib/libboost_container.so +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/openmpi/lib/libboost_*.so -%if %{with python3} - -%files openmpi-python3 -%license LICENSE_1_0.txt -%{_libdir}/openmpi/lib/libboost_mpi_python%{python3_version_nodots}.so.%{sonamever} -%{python3_sitearch}/openmpi/boost/ - -%files openmpi-python3-devel -%license LICENSE_1_0.txt -%{_libdir}/openmpi/lib/libboost_mpi_python%{python3_version_nodots}.so - -%endif +%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 -%license LICENSE_1_0.txt -%{_libdir}/openmpi/lib/libboost_graph.so.%{sonamever} +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt %{_libdir}/openmpi/lib/libboost_graph_parallel.so.%{sonamever} -%{_libdir}/openmpi/lib/libboost_container.so.%{sonamever} %endif -# MPICH packages -%if %{with mpich} +# MPICH2 packages +%if %{with mpich2} -%files mpich -%license LICENSE_1_0.txt -%{_libdir}/mpich/lib/libboost_mpi.so.%{sonamever} +%files mpich2 +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/mpich2/lib/libboost_mpi.so.%{sonamever} -%files mpich-devel -%license LICENSE_1_0.txt -%{_libdir}/mpich/lib/cmake -%{_libdir}/mpich/lib/libboost_mpi.so -%{_libdir}/mpich/lib/libboost_graph.so -%{_libdir}/mpich/lib/libboost_graph_parallel.so -%{_libdir}/mpich/lib/libboost_container.so +%files mpich2-devel +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/mpich2/lib/libboost_*.so -%if %{with python3} +%files mpich2-python +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/mpich2/lib/libboost_mpi_python.so.%{sonamever} +%{_libdir}/mpich2/lib/mpi.so -%files mpich-python3 -%license LICENSE_1_0.txt -%{_libdir}/mpich/lib/libboost_mpi_python%{python3_version_nodots}.so.%{sonamever} -%{python3_sitearch}/mpich/boost/ - -%files mpich-python3-devel -%license LICENSE_1_0.txt -%{_libdir}/mpich/lib/libboost_mpi_python%{python3_version_nodots}.so -%endif - -%files graph-mpich -%license LICENSE_1_0.txt -%{_libdir}/mpich/lib/libboost_graph.so.%{sonamever} -%{_libdir}/mpich/lib/libboost_graph_parallel.so.%{sonamever} -%{_libdir}/mpich/lib/libboost_container.so.%{sonamever} +%files graph-mpich2 +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_libdir}/mpich2/lib/libboost_graph_parallel.so.%{sonamever} %endif %files build -%license LICENSE_1_0.txt -%{_datadir}/%{name}-build/ -%{_datadir}/b2 +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_datadir}/boost-build/ -%files doctools -%license LICENSE_1_0.txt -%{_bindir}/quickbook -%{_datadir}/boostbook/ - -%files b2 -%license LICENSE_1_0.txt -%{_bindir}/b2 -%{_mandir}/man1/b2.1* +%files jam +%defattr(-, root, root, -) +%doc LICENSE_1_0.txt +%{_bindir}/bjam +%{_mandir}/man1/bjam.1* %changelog -* Thu Jan 15 2026 Yaakov Selkowitz - 1.90.0-4 -- Add dependencies on new subpackages to metapackage - -* Tue Jan 13 2026 Jonathan Wakely - 1.90.0-3 -- Fix libboost_system.so linker script to avoid ldcondig warning - -* Mon Jan 12 2026 Jonathan Wakely - 1.90.0-2 -- Add patch for boost/range/detail/any_iterator_interface.hpp - -* Sat Jan 10 2026 Jonathan Wakely - 1.90.0-1 -- Rebase to 1.90.0 -- See https://fedoraproject.org/wiki/Changes/F44Boost189 -- Drop boost-system subpackage and libboost_thread.so linker script -- Add new boost-charconv, boost-cobalt, and boost-process subpackages - -* Fri Sep 19 2025 Python Maint - 1.83.0-17 -- Rebuilt for Python 3.14.0rc3 bytecode - -* Fri Aug 15 2025 Python Maint - 1.83.0-16 -- Rebuilt for Python 3.14.0rc2 bytecode - -* Tue Aug 05 2025 František Zatloukal - 1.83.0-15 -- Rebuilt for icu 77.1 - -* Wed Jul 23 2025 Fedora Release Engineering - 1.83.0-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Tue Jun 03 2025 Python Maint - 1.83.0-13 -- Rebuilt for Python 3.14 - -* Sun Jan 26 2025 Wolfgang Stöggl - 1.83.0-12 -- Add boost-1.83-fix-no-member-named_that_error.patch - -* Thu Jan 16 2025 Fedora Release Engineering - 1.83.0-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Tue Dec 24 2024 Sandro - 1.83.0-10 -- Backport patches for NumPy 2.x - -* Fri Dec 06 2024 Pete Walter - 1.83.0-9 -- Rebuild for ICU 76 - -* Wed Jul 17 2024 Fedora Release Engineering - 1.83.0-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Sat Jun 08 2024 Python Maint - 1.83.0-7 -- Rebuilt for Python 3.13 - -* Thu Jun 06 2024 Jonathan Wakely - 1.83.0-6 -- Add missing Requires for rpminspect errors. - -* Sun Jun 02 2024 Songsong Zhang - 1.83.0-6 -- Backport patch to fix RISC-V functions missing - -* Sat May 25 2024 Kefu Chai - 1.83.0-5 -- Add patch to fix Boost.Math bug where float_next(+INF) and float_prior(-INF) - returns NaN, but they should return +INF and -INF respectively. - See https://github.com/boostorg/math/issues/1132 and its fix at - -* Sun May 05 2024 Kefu Chai - 1.83.0-4 -- Add patch for Boost.Multiprecision bug - See https://github.com/boostorg/multiprecision/pull/618 - -* Wed Jan 31 2024 Pete Walter - 1.83.0-3 -- Rebuild for ICU 74 - -* Tue Jan 23 2024 Fedora Release Engineering - 1.83.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Fri Jan 19 2024 Fedora Release Engineering - 1.83.0-1 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Wed Dec 06 2023 Patrick Palka - 1.83.0-0 -- Rebase to 1.83.0 -- See https://fedoraproject.org/wiki/Changes/F40Boost183 -- Drop patch for accumulators library that has since been applied upstream. -- Fix spurious Boost.Regex test failures. - -* Sun Oct 29 2023 Orion Poplawski - 1.81.0-10 -- Rebuild for openmpi 5.0.0, drops support for i686 - -* Tue Aug 29 2023 Tom Callaway - 1.81.0-9 -- apply upstream fixes for failing random tests - -* Sun Aug 20 2023 Kefu Chai - 1.81.0-8 -- Add patch for Boost.Accumulators bug - See https://github.com/boostorg/accumulators/pull/54 - -* Wed Aug 2 2023 Tom Callaway - 1.81.0-7 -- add symlink for b2 files - -* Wed Jul 19 2023 Fedora Release Engineering - 1.81.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Tue Jul 11 2023 František Zatloukal - 1.81.0-5 -- Rebuilt for ICU 73.2 - -* Thu Jul 06 2023 Jonathan Wakely - 1.81.0-4 -- Update License for SPDX migration - -* Tue Jun 13 2023 Python Maint - 1.81.0-3 -- Rebuilt for Python 3.12 - -* Fri May 05 2023 Nianqing Yao - 1.81.0-3 -- Fix build for riscv64 - See https://github.com/fedora-riscv/boost/tree/f38-rv64 - -* Wed Mar 15 2023 Jonathan Wakely - 1.81.0-2 -- Change spec file to use autospec for applying patches - -* Wed Mar 15 2023 Jonathan Wakely - 1.81.0-1 -- Add patch for Boost.Phoenix bugs (#2178210) - -* Mon Feb 20 2023 Thomas Rodgers - 1.81.0-0 -- Rebase to 1.81.0 - See https://fedoraproject.org/wiki/Changes/F38Boost181 -- Drop patches: - deleted: boost-1.58.0-pool.patch - deleted: boost-1.58.0-pool-test_linking.patch - deleted: boost-1.78.0-build-optflags.patch - deleted: boost-1.73-locale-empty-vector.patch - deleted: boost-1.76.0-fix_multiprecision_issue_419-ppc64le.patch - deleted: boost-1.76.0-ptr_cont-xml.patch - deleted: boost-1.78.0-fix-b2-staging.patch - deleted: boost-1.76.0-enum_type_object-type-python-3.11.patch -- New Boost.URL runtime component -- boost_build directory is now b2 in upstream, rename to boost_build on install - -* Wed Jan 18 2023 Fedora Release Engineering - 1.78.0-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Sat Dec 31 2022 Pete Walter - 1.78.0-10 -- Rebuild for ICU 72 - -* Mon Aug 01 2022 Frantisek Zatloukal - 1.78.0-9 -- Rebuilt for ICU 71.1 - -* Wed Jul 20 2022 Fedora Release Engineering - 1.78.0-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Thu Jul 14 2022 Jonathan Wakely - 1.78.0-7 -- Add boost-json to umbrella package - -* Fri Jun 24 2022 Jonathan Wakely - 1.78.0-6 -- Restore Provides for boost-python3-devel (#2100748) - -* Wed Jun 22 2022 Laurent Rineau - 1.78.0-5 -- Fix the CMake config file for openmpi and mpich - -* Tue Jun 21 2022 Jonathan Wakely - 1.78.0-4 -- Remove old Obsoletes tags - -* Tue Jun 14 2022 Python Maint - 1.78.0-3 -- Rebuilt for Python 3.11 - -* Tue Jun 14 2022 Laurent Rineau - 1.78.0-2 -- Re-add the CMake config file provided by Boost - -* Mon Jun 13 2022 Python Maint - 1.78.0-1 -- Rebuilt for Python 3.11 - -* Fri Apr 29 2022 Thomas Rodgers - 1.78.0-0 -- Rebase to 1.78.0 - See https://fedoraproject.org/wiki/Changes/F37Boost178 -- Drop patches: - deleted: boost-1.75.0-build-optflags.patch - deleted: boost-1.75.0-no-rpath.patch - deleted: boost-1.76.0-b2-build-flags.patch - deleted: boost-1.76.0-fix-include-inside-boost-namespace.patch - deleted: boost-1.76.0-fix-duplicate-typedef-in-mp.patch -- Fix silent dropping of some libraries - See https://github.com/bfgroup/b2/pull/113 - -* Wed Apr 27 2022 Thomas Rodgers - 1.76.0-13 -- Add missing boost-1.76.0-enum_type_object-type-python-3.11.patch file - -* Tue Apr 26 2022 Thomas Rodgers - 1.76.0-12 -- Merged https://src.fedoraproject.org/rpms/boost/pull-request/13 (#204336) - -* Tue Apr 26 2022 Thomas Rodgers - 1.76.0-11 -- Add BuildRequires: libzstd-devel to fix (#2042336) - -* Thu Mar 31 2022 Jonathan Wakely - 1.76.0-10 -- Add patch to fix XML validation errors in ptr_container docs - -* Wed Feb 2 2022 Thomas Rodgers - 1.76.0-9 -- Add patch to fix narrowing conversions on ppc64le - https://github.com/boostorg/interval/issues/29 - -* Tue Feb 1 2022 Laurent Rineau - 1.76.0-8 -- Add patch to fix Boost Multiprecision on ppc64le - https://github.com/boostorg/multiprecision/issues/419 -- Acknowledge the change of the ABI of ppc64le with long double. - -* Wed Jan 19 2022 Fedora Release Engineering - 1.76.0-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Wed Sep 01 2021 Jonathan Wakely - 1.76.0-6 -- Add patch to fix CI failure - -* Wed Sep 01 2021 Jonathan Wakely - 1.76.0-5 -- Make boost-python3 depend on specific 3.X version (#1896713) - -* Thu Aug 05 2021 Thomas Rodgers - 1.76.0-4 -- Third attempt at making the long double c99 and tr1 math libs conditional - on ppc64le - -* Thu Aug 05 2021 Thomas Rodgers - 1.76.0-3 -- Second attempt at making the long double c99 and tr1 math libs conditional - on ppc64le - -* Thu Aug 05 2021 Thomas Rodgers - 1.76.0-2 -- Boost.Math does not support 'long double' of ppc64le - See https://github.com/boostorg/math/pull/524 - -* Wed Aug 04 2021 Thomas Rodgers - 1.76.0-1 -- Rebase to 1.75.0 - See https://fedoraproject.org/wiki/Changes/F35Boost176 -- Drop patches: - deleted: boost-1.73-python3.10.patch - deleted: boost-1.73.0-b2-build-flags.patch - deleted: boost-1.75.0-boost-build-fix.patch -- Fix include inside boost namespace in boost/math/tools/mp.hpp - See https://github.com/boostorg/math/pull/670 -- Fix duplicate typedef in boost/math/tools/mp.hpp - See https://github.com/boostorg/math/pull/671 - -* Wed Jul 21 2021 Fedora Release Engineering - 1.75.0-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Fri Jun 04 2021 Python Maint - 1.75.0-8 -- Rebuilt for Python 3.10 - -* Wed May 19 2021 Pete Walter - 1.75.0-7 -- Rebuild for ICU 69 - -* Wed May 19 2021 Pete Walter - 1.75.0-6 -- Rebuild for ICU 69 - -* Fri May 07 2021 Thomas Rodgers - 1.75.0-5 -- Patch to fix deprecated iterator warnings (#1958382) - -* Tue Mar 30 2021 Jonathan Wakely - 1.75.0-4 -- Rebuilt for removed libstdc++ symbol (#1937698) - -* Tue Feb 02 2021 Thomas Rodgers - 1.75.0-3 -- Patch Boost.Build to find boost-build.jam (#1923740) - -* Tue Jan 26 2021 Fedora Release Engineering - 1.75.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Mon Jan 11 2021 Thomas Rodgers - 1.75.0-1 -- Rebase to 1.75.0 -- Add boost-json subpackage - -* Fri Jan 8 14:14:00 CET 2021 Tomas Hrnciar - 1.73.0-12 -- Patch Boost.Python for Python 3.10 - replace _Py_fopen() with fopen() (#1912903) - -* Fri Nov 20 2020 Jonathan Wakely - 1.73.0-11 -- Patch Boost.Locale to not access empty vector (#1899888) - -* Fri Nov 13 2020 Jonathan Wakely - 1.73.0-10 -- Patch Boost.Python for Python 3.10 changes (#1896382) - -* Wed Nov 04 2020 Jonathan Wakely - 1.73.0-9 -- Remove incorrect dependency on xz, only the shared lib is needed - -* Fri Oct 30 2020 Jonathan Wakely - 1.73.0-8 -- Build Boost.Iostreams with LZMA support (#1893060) - -* Sat Aug 01 2020 Fedora Release Engineering - 1.73.0-7 -- Second attempt - Rebuilt for - https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Mon Jul 27 2020 Fedora Release Engineering - 1.73.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Thu Jun 11 2020 Jonathan Wakely - 1.73.0-5 -- Add patch for Boost.MPI to fix espresso (#1843105) - -* Fri Jun 05 2020 Jonathan Wakely - 1.73.0-4 -- Add patch for Boost.Geometry issue #721 - -* Fri May 29 2020 Jonathan Wakely - 1.73.0-3 -- Rebuilt for Python 3.9 - -* Thu May 28 2020 Jonathan Wakely - 1.73.0-1 -- Rebase to 1.73.0 -- Replace boost-jam and bjam with boost-b2 and b2 -- Add boost-nowide subpackage - -* Mon May 25 2020 Miro Hrončok - 1.69.0-22 -- Rebuilt for Python 3.9 - -* Sat May 23 2020 Igor Raits - 1.69.0-21 -- Add Provides for boost-python3-devel - -* Fri May 22 2020 Jonathan Wakely - 1.69.0-20 -- Require boost-python3 for boost, fold boost-python3-devel into boost-devel -- Do not link Python extensions to libpython - -* Fri May 15 2020 Pete Walter - 1.69.0-19 -- Rebuild for ICU 67 - -* Tue May 12 2020 Avi Kivity - 1.69.0-18 -- Add patch for C++20 compatibility in Boost.Signals2 (#1834764) - -* Mon May 11 2020 Jonathan Wakely - 1.69.0-17 -- Add patch for C++20 compatibility in Boost.Test (#1832639) - -* Thu Apr 02 2020 Jonathan Wakely - 1.69.0-16 -- Drop boost-1.57.0-mpl-print.patch patch that doesn't work -- Remove vestigial parts of separate python2/python3 build -- Generate version_enc automatically from version and drop version_suffix - -* Mon Mar 30 2020 Jonathan Wakely - 1.69.0-15 -- Patch Boost.Format for C++20 compatibility with GCC 10 (#1818723) - -* Tue Jan 28 2020 Fedora Release Engineering - 1.69.0-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Fri Nov 15 2019 Denis Arnaud - 1.69.0-13 -- Removed the Python2 sub-packages - -* Fri Nov 01 2019 Pete Walter - 1.69.0-12 -- Rebuild for ICU 65 - -* Thu Oct 03 2019 Miro Hrončok - 1.69.0-11 -- Rebuilt for Python 3.8.0rc1 (#1748018) - -* Sun Aug 18 2019 Miro Hrončok - 1.69.0-10 -- Rebuilt for Python 3.8 - -* Wed Jul 24 2019 Fedora Release Engineering - 1.69.0-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Fri May 10 2019 Jonathan Wakely - 1.69.0-8 -- Fix Obsoletes tag to remove _isa (#1706079) - -* Tue May 07 2019 Jonathan Wakely - 1.69.0-7 -- Make main package obsolete old boost-signals subpackage (#1706079) - -* Thu Feb 14 2019 Jonathan Wakely - 1.69.0-6 -- Add patch for out-of-bounds vector access in Boost.MPI - -* Thu Feb 14 2019 Orion Poplawski - 1.69.0-5 -- Rebuild for openmpi 3.1.3 - -* Tue Feb 12 2019 Jonathan Wakely - 1.69.0-4 -- Patch Boost.Random to fix warning (#1673669) - -* Thu Jan 31 2019 Fedora Release Engineering - 1.69.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Wed Jan 23 2019 Pete Walter - 1.69.0-2 -- Rebuild for ICU 63 - -* Sat Dec 15 2018 Denis Arnaud - 1.69.0-1 -- Rebase to 1.69.0 -- Dropped library: Boost.Signals (now replaced by header-only Boost.Signals2) - -* Sat Dec 01 2018 Denis Arnaud - 1.68.0-1 -- Rebase to 1.68.0 -- New library: Boost.Contract -- The Python-related shared libraries now carry the full Python version, - eg _python27.so and _python37.so -- Drop patches: - deleted: boost-1.66.0-address-model.patch - deleted: boost-1.66.0-compute.patch - deleted: boost-1.66.0-numpy3.patch - deleted: boost-1.66.0-python37.patch - deleted: boost-1.66.0-spirit-abs-overflow.patch - -* Thu Sep 27 2018 Owen Taylor - 1.66.0-15 -- Disable openmpi and mpich for Flatpak-bundled builds - -* Thu Aug 23 2018 Jonathan Wakely - 1.66.0-14 -- Fix permissions and python shebang of Boost.Build files - -* Wed Jul 18 2018 Jonathan Wakely - 1.66.0-14 -- Patch numpy for Python 3 (#1596468) - -* Thu Jul 12 2018 Fedora Release Engineering - 1.66.0-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Tue Jul 10 2018 Pete Walter - 1.66.0-12 -- Rebuild for ICU 62 - -* Tue Jun 19 2018 Jonathan Wakely - 1.66.0-11 -- Add patch to fix build with Python 3.7 - -* Tue Jun 19 2018 Miro Hrončok - 1.66.0-11 -- Rebuilt for Python 3.7 - -* Mon Jun 04 2018 Jonathan Wakely - 1.66.0-10 -- Add patch for Boost.Compute (#1585515) - -* Tue May 01 2018 Jonathan Wakely - 1.66.0-9 -- Fix Provides: and Obsoletes: tags for renamed python2 subpackages -- Remove old Provides: and Obsoletes: tags for odeint packages -- Remove old Provides: and Obsoletes: tags for mpich2 packages -- Remove old Provides: and Obsoletes: tags for boost-devel-static -- Make Requires: for boost-container unconditional - -* Mon Apr 30 2018 Pete Walter - 1.66.0-8 -- Rebuild for ICU 61.1 - -* Fri Apr 27 2018 Jonathan Wakely - 1.66.0-7 -- Remove Requires: boost-openmpi-python from boost-openmpi-devel - -* Thu Apr 26 2018 Jonathan Wakely - 1.66.0-6 -- Remove main package dependency on boost-python and boost-numpy (#1569483) -- Rename all subpackages using python2 from boost-xxx to boost-xxx2. -- Split new subpackage boost-python2-devel out of boost-devel. -- Split new subpackage boost-openmpi-python2-devel out of boost-openmpi-devel. -- Split new subpackage boost-mpich-python2-devel out of boost-mpich-devel. -- Enable conditional build for python2 packages. -- Drop ver.py source file and use python2_version and python3_version macros. -- Use shell variable for Python 3 ABI flags instead of global macro. - -* Tue Feb 27 2018 Jonathan Wakely - 1.66.0-5 -- Ensure boost metapackage installs boost-container and boost-stacktrace. - -* Fri Feb 23 2018 Jonathan Wakely - 1.66.0-4 -- Add patch to fix integer overflow in Boost.Spirit absolute_value (#1545092) - -* Thu Feb 15 2018 Jonathan Wakely - 1.66.0-3 -- Remove unnecessary Group tags and post/postun scriptlets running ldconfig - -* Wed Feb 07 2018 Jonathan Wakely - 1.66.0-2 -- Add RPM_OPT_FLAGS and RPM_LD_FLAGS to build flags for bjam (#1541035). - -* Mon Feb 05 2018 Jonathan Wakely - 1.66.0-1 -- Add RPM_LD_FLAGS to Jamfile and patch build.sh to use RPM flags (#1541035). - -* Fri Jan 19 2018 Jonathan Wakely - 1.66.0-0.1 -- Rebase to 1.66.0 - - Do not pass --without-coroutine2 to b2 - - Drop patches: - boost-1.63.0-dual-python-build-v2.patch - boost-1.64.0-mpi-get_data.patch - boost-1.64.0-serialization-make_array.patch - boost-1.64.0-icl-ttp-matching.patch - boost-1.64.0-icl-undefined-shift.patch - -* Wed Jan 17 2018 Jonathan Wakely - 1.64.0-7 -- Restore "Provides: boost-python" for boost-python2 - -* Thu Dec 07 2017 Jonathan Wakely - 1.64.0-6 -- Patch to fix #1516837 - -* Thu Nov 30 2017 Pete Walter - 1.64.0-5 -- Rebuild for ICU 60.1 - -* Mon Sep 25 2017 Jonathan Wakely - 1.64.0-4 -- Fix some rpmlint issues -- Remove Requires for libquadmath (explicit-lib-dependency) -- Remove executable bits on header files (spurious-executable-perm) -- Adjust boost.wave %%description (spelling-error) - -* Wed Sep 13 2017 Jonathan Wakely - 1.64.0-3 -- Rename python2-boost to boost-python2 - -* Tue Sep 12 2017 Jonathan Wakely - 1.64.0-2 -- Patch to fix #1485641 - -* Wed Sep 06 2017 Jonathan Wakely - 1.64.0-1 -- Fix descriptions - -* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek - 1.64.0-0.8 -- Add Provides for the old name without %%_isa - -* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 1.64.0-0.7 -- Python 2 binary package renamed to python2-boost - See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 - -* Wed Aug 02 2017 Fedora Release Engineering - 1.64.0-0.6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 1.64.0-0.5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Mon Jul 24 2017 Björn Esser - 1.64.0-0.4 -- Drop obsolete patch for mpi serialization make_array -- Purge unused patches from repo - -* Mon Jul 24 2017 Björn Esser - 1.64.0-0.3 -- Add patch to fix make_array in serialization - -* Fri Jul 21 2017 Kalev Lember - 1.64.0-0.2 -- Rebuild for std::__once_functor linking issue on ppc64le (#1470692) - -* Sat Jul 01 2017 Jonathan Wakely - 1.64.0-0.1 -- Rebase to 1.64.0 - -* Sat Jul 01 2017 Yaakov Selkowitz - 1.63.0-9 -- Add numpy and numpy3 packages (#1451982) -- Fix location of openmpi-python and mpich-python modules -- Add openmpi-python3 and mpich-python3 packages -- Add missing ldconfig post/postun for python3 package - -* Sat Jul 01 2017 Jonathan Wakely - 1.63.0-8 -- Remove patch for boost::function strict aliasing problem (#1422456) - -* Tue Apr 25 2017 Jonathan Wakely - 1.63.0-7 -- Rebuild for rpm-mpi-hooks fix (#1435690) - -* Wed Apr 05 2017 Jonathan Wakely - 1.63.0-6 -- Patch boost::function to fix strict aliasing problem (#1422456) -- Per packaging guidelines don't clean buildroot in %%install and %%clean. - -* Sun Mar 12 2017 Peter Robinson 1.63.0-5 -- Enable OpenMPI/mpich on ppc64le and s390x now they have support - -* Thu Feb 16 2017 Jonathan Wakely - 1.63.0-4 -- Revert Boost.Build change that breaks building for two Python versions. - -* Thu Feb 09 2017 Jonathan Wakely - 1.63.0-3 -- Add --without-fiber when Boost.Context is not supported. - -* Fri Jan 27 2017 Jonathan Wakely - 1.63.0-2 -- Use correct sources for release, not a snapshot. -- Add -Wno-deprecated-declarations to build flags. - -* Thu Jan 26 2017 Jonathan Wakely - 1.63.0-1 -- Rebase to 1.63.0 (#1401431) - -* Tue Dec 20 2016 Miro Hrončok - 1.60.0-12 -- Rebuild for Python 3.6 - -* Fri Dec 09 2016 Jonathan Wakely - 1.60.0-11 -- Add patch for Boost.Asio to fix allocator usage (#1403165) - -* Fri Oct 21 2016 Orion Poplawski - 1.60.0-10 -- Rebuild for openmpi 2.0 - -* Mon Aug 01 2016 Jonathan Wakely - 1.60.0-9 -- Add patch for Boost.Python to fix pointer registration (#1358725) - -* Tue Jun 28 2016 Jonathan Wakely - 1.60.0-8 -- Add patch for Boost.Multiprecision (#1349638) - -* Mon Jun 06 2016 Yaakov Selkowitz - 1.60.0-7 -- Drop rpath (#1318383) - -* Tue May 03 2016 Jonathan Wakely - 1.60.0-6 -- Rebuilt for GCC 6.1 (#1331983) - -* Fri Apr 15 2016 David Tardon - 1.60.0-5 -- rebuild for ICU 57.1 - -* Wed Feb 03 2016 Fedora Release Engineering - 1.60.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Tue Jan 26 2016 Jonathan Wakely 1.60.0-3 -- Remove redundant %%defattr statements - -* Thu Jan 14 2016 Jonathan Wakely 1.60.0-2 -- Make Requires: libquadmath-devel conditional - -* Wed Jan 13 2016 Jonathan Wakely 1.60.0-1 -- Rebase to 1.60.0 - -* Fri Dec 11 2015 Dan Horák - 1.59.0-10 -- rebuilt for s390 - -* Tue Nov 24 2015 Jonathan Wakely 1.59.0-9 -- do not use arch-specific BuildRequires (#1268267) - -* Fri Nov 13 2015 Dan Horák - 1.59.0-8 -- disable also the coroutine2 module when context is not available - -* Wed Nov 11 2015 Fedora Release Engineering - 1.59.0-7 -- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 - -* Wed Oct 28 2015 David Tardon - 1.59.0-6 -- rebuild for ICU 56.1 - -* Tue Sep 15 2015 Orion Poplawski - 1.59.0-5 -- Rebuild for openmpi 1.10.0 - -* Mon Sep 14 2015 Jonathan Wakely 1.59.0-4 -- Patch Boost.Test to fix #1262444 - -* Wed Sep 02 2015 Jonathan Wakely - 1.59.0-3 -- Rebuilt for Boost 1.59 - -* Wed Sep 02 2015 Jonathan Wakely 1.59.0-2 -- Add patch for Boost.Python bug. - -* Wed Aug 26 2015 Jonathan Wakely 1.59.0-1 -- Rebase to 1.59.0 - -* Tue Aug 25 2015 Jonathan Wakely 1.58.0-9 -- Add boost-doctools subpackage (#1244268). - -* Mon Aug 24 2015 Jonathan Wakely 1.58.0-8 -- Use %%license for license files. - -* Fri Aug 21 2015 Jonathan Wakely 1.58.0-7 -- Bump release to match F23 update. - -* Mon Aug 10 2015 Sandro Mani - 1.58.0-6 -- Rebuild for RPM MPI Requires Provides Change - -* Wed Aug 05 2015 Jonathan Wakely 1.58.0-5 -- Patch incorrect placement of BOOST_UBLAS_INLINE macros. - -* Tue Aug 04 2015 Jonathan Wakely 1.58.0-4 -- Patch to prevent address model being set by Boost.Build. - -* Mon Jul 27 2015 Jonathan Wakely 1.58.0-3 -- Patch for missing include (boost-1.58.0-variant-includes.patch). - -* Thu Jul 23 2015 Marcin Juszkiewicz - 1.58.0-2 -- Re-enable boost::context on AArch64. - -* 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 does not 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 +* Thu Jul 18 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-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, @@ -2222,12 +1192,9 @@ fi 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-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, @@ -2238,6 +1205,13 @@ fi - 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-8 +- 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 + * 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) @@ -2288,7 +1262,7 @@ fi * Tue Aug 7 2012 Petr Machata - 1.50.0-2 - Enable Python 3 builds. This is still disabled in Boost MPI, which - does not seem to support Python 3 + doesn't seem to support Python 3 * Thu Jul 26 2012 Petr Machata - 1.50.0-1 - Upstream 1.50 @@ -2514,7 +1488,7 @@ fi * Fri Jun 4 2010 Petr Machata - 1.41.0-12 - Turn on mpich2 on s390. Add arm to the list of arches that openmpi - does not support. + doesn't support. * Fri Jun 4 2010 Petr Machata - 1.41.0-12 - Don't distribute cmake support files. @@ -2540,10 +1514,10 @@ fi * Tue Feb 2 2010 Petr Machata - 1.41.0-6 - More subpackage interdependency adjustments - - boost does not bring in the MPI stuff. Instead, $MPI-devel does. + - 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 - does not satisfy the SONAME dependency of boost-graph-openmpi. + doesn't satisfy the SONAME dependency of boost-graph-openmpi. - Resolves: #559009 * Mon Feb 1 2010 Denis Arnaud - 1.41.0-5 @@ -2576,7 +1550,7 @@ fi - 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 +- Don't package generated debug libs, even with (-DCMAKE_BUILD_TYPE=RelWithDebInfo | Release). - Update and include boost-cmake-soname.patch. - Uncomment ctest. diff --git a/gating.yaml b/gating.yaml deleted file mode 100644 index 4581d72..0000000 --- a/gating.yaml +++ /dev/null @@ -1,19 +0,0 @@ ---- !Policy -product_versions: - - fedora-* -decision_context: bodhi_update_push_stable -subject_type: koji_build -rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} ---- !Policy -product_versions: - - rhel-8 -decision_context: osci_compose_gate -rules: - - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1-gating.functional} ---- !Policy -product_versions: - - rhel-9 -decision_context: osci_compose_gate -rules: - - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1-gating.functional} diff --git a/libboost_thread.so b/libboost_thread.so new file mode 100644 index 0000000..a5280de --- /dev/null +++ b/libboost_thread.so @@ -0,0 +1,12 @@ +/* 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}) diff --git a/plans/ci.fmf b/plans/ci.fmf deleted file mode 100644 index 3fd3ab7..0000000 --- a/plans/ci.fmf +++ /dev/null @@ -1,5 +0,0 @@ -summary: CI Gating Plan -discover: - how: fmf -execute: - how: tmt diff --git a/sources b/sources index 17c9198..b83e24d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (boost_1_90_0.tar.bz2) = 1c81b60f63367d7249f277f0a569c181926dcf5a725e30433dd336205f1782880489dd00df6a1a74fd107765d3ca2cd49f806788cabb7d5700a8a55927a9a199 +15cb8c0803064faef0c4ddf5bc5ca279 boost_1_54_0.tar.bz2 diff --git a/tests/boost-testsuite-sanity/Makefile b/tests/boost-testsuite-sanity/Makefile deleted file mode 100644 index e1d5f40..0000000 --- a/tests/boost-testsuite-sanity/Makefile +++ /dev/null @@ -1,63 +0,0 @@ -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Makefile of /tools/boost/Sanity/boost-testsuite-sanity -# Description: boost testing by upstream testsuite -# Author: Michal Kolar -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2021 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation, either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied -# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/. -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -export TEST=/tools/boost/Sanity/boost-testsuite-sanity -export TESTVERSION=1.0 - -BUILT_FILES= - -FILES=$(METADATA) runtest.sh Makefile PURPOSE tests - -.PHONY: all install download clean - -run: $(FILES) build - ./runtest.sh - -build: $(BUILT_FILES) - test -x runtest.sh || chmod a+x runtest.sh - -clean: - rm -f *~ $(BUILT_FILES) - - -include /usr/share/rhts/lib/rhts-make.include - -$(METADATA): Makefile - @echo "Owner: Michal Kolar " > $(METADATA) - @echo "Name: $(TEST)" >> $(METADATA) - @echo "TestVersion: $(TESTVERSION)" >> $(METADATA) - @echo "Path: $(TEST_DIR)" >> $(METADATA) - @echo "Description: boost testing by upstream testsuite" >> $(METADATA) - @echo "Type: Sanity" >> $(METADATA) - @echo "TestTime: 1h" >> $(METADATA) - @echo "RunFor: boost" >> $(METADATA) - @echo "Requires: boost dnf-utils rpm-build boost-b2" >> $(METADATA) - @echo "Priority: Normal" >> $(METADATA) - @echo "License: GPLv2+" >> $(METADATA) - @echo "Confidential: no" >> $(METADATA) - @echo "Destructive: no" >> $(METADATA) - @echo "Releases: -RHEL4 -RHELClient5 -RHELServer5 -RHEL6 -RHEL7 -RHEL8" >> $(METADATA) - - rhts-lint $(METADATA) diff --git a/tests/boost-testsuite-sanity/PURPOSE b/tests/boost-testsuite-sanity/PURPOSE deleted file mode 100644 index 695d634..0000000 --- a/tests/boost-testsuite-sanity/PURPOSE +++ /dev/null @@ -1,3 +0,0 @@ -PURPOSE of /tools/boost/Sanity/boost-testsuite-sanity -Description: boost testing by upstream testsuite -Author: Michal Kolar diff --git a/tests/boost-testsuite-sanity/main.fmf b/tests/boost-testsuite-sanity/main.fmf deleted file mode 100644 index e751d7c..0000000 --- a/tests/boost-testsuite-sanity/main.fmf +++ /dev/null @@ -1,16 +0,0 @@ -summary: boost testing by upstream testsuite -description: '' -contact: -- Michal Kolar -component: -- boost -test: ./runtest.sh -framework: beakerlib -recommend: -- boost -- dnf-utils -- rpm-build -- boost-b2 -duration: 1h -extra-summary: /tools/boost/Sanity/boost-testsuite-sanity -extra-task: /tools/boost/Sanity/boost-testsuite-sanity diff --git a/tests/boost-testsuite-sanity/runtest.sh b/tests/boost-testsuite-sanity/runtest.sh deleted file mode 100755 index 2bc6957..0000000 --- a/tests/boost-testsuite-sanity/runtest.sh +++ /dev/null @@ -1,99 +0,0 @@ -#!/bin/bash -# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# runtest.sh of /tools/boost/Sanity/boost-testsuite-sanity -# Description: boost testing by upstream testsuite -# Author: Michal Kolar -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -# -# Copyright (c) 2021 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation, either version 2 of -# the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be -# useful, but WITHOUT ANY WARRANTY; without even the implied -# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -# PURPOSE. See the GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see http://www.gnu.org/licenses/. -# -# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -# Include Beaker environment -. /usr/share/beakerlib/beakerlib.sh || exit 1 - -BUILD_USER=${BUILD_USER:-bstbld} -TESTS_COUNT_MIN=${TESTS_COUNT_MIN:-100} -PACKAGE="boost" -REQUIRES="$PACKAGE rpm-build boost-b2" -if rlIsFedora; then - REQUIRES="$REQUIRES dnf-utils" -else - REQUIRES="$REQUIRES yum-utils" -fi - -rlJournalStart - rlPhaseStartSetup - rlShowRunningKernel - rlAssertRpm --all - rlRun "TmpDir=`mktemp -d /home/boost.XXXXXXXXXX`" # work in /home due to high demands on disk space - rlRun "cp tests $TmpDir" - rlRun "pushd $TmpDir" - rlFetchSrcForInstalled $PACKAGE - rlRun "useradd -M -N $BUILD_USER" 0,9 - [ "$?" == "0" ] && rlRun "del=yes" - rlRun "chown -R $BUILD_USER:users $TmpDir" - rlPhaseEnd - - rlPhaseStartSetup "build boost" - rlRun "rpm -D \"_topdir $TmpDir\" -U *.src.rpm" - rlRun "dnf builddep -y $TmpDir/SPECS/*.spec" - rlRun "sed -i -e 's/^%prep/%prep\n%dump/' $TmpDir/SPECS/*.spec" - rlRun "su -c 'rpmbuild -D \"_topdir $TmpDir\" -bp $TmpDir/SPECS/*.spec &>$TmpDir/rpmbuild.log' $BUILD_USER" - rlRun "rlFileSubmit $TmpDir/rpmbuild.log" - rlRun "toplev_dirname=`awk '/toplev_dirname/{print $3; exit}' $TmpDir/rpmbuild.log`" - cd $TmpDir/BUILD/$toplev_dirname - if [ $? -ne 0 ]; then - # handle rpm 4.20 build directory difference - # https://github.com/rpm-software-management/rpm/issues/3147 - rlRun "cd $TmpDir/BUILD/*-build/$toplev_dirname" - fi - # now we know the top-level build dir, keep it for later - rlRun "BuildDir=$(pwd)" - rlRun "su -c './bootstrap.sh &>$TmpDir/bootstrap.log' $BUILD_USER" - rlRun "rlFileSubmit $TmpDir/bootstrap.log" - rlPhaseEnd - - rlPhaseStartTest "run testsuite" - while read test_path; do - if [ -f $BuildDir/libs/$test_path/test/Jamfile* ]; then - rlRun "cd $BuildDir/libs/$test_path/test" - rlRun "su -c '/usr/bin/b2 -d1 --build-dir=$TmpDir/test-build &>>$TmpDir/testsuite.log' $BUILD_USER" - rm -fr $TmpDir/test-build - else - rlLogInfo "$test_path/Jamfile* not found, skipping" - fi - done <$TmpDir/tests - rlRun "rlFileSubmit $TmpDir/testsuite.log" - rlPhaseEnd - - rlPhaseStartTest "evaluate results" - rlRun "cd $TmpDir" - rlRun "grep -E '\.\.\.failed .+$TmpDir/test-build' testsuite.log" 1 "There should be no failure" - rlRun "tests_count=\$(grep -E '\*\*passed\*\*.+$TmpDir/test-build' testsuite.log | wc -l)" - [ "$tests_count" -ge "$TESTS_COUNT_MIN" ] && rlLogInfo "Test counter: $tests_count" || rlFail "Test counter $tests_count should be greater than or equal to $TESTS_COUNT_MIN" - rlPhaseEnd - - rlPhaseStartCleanup - rlRun "popd" - rlRun "rm -r $TmpDir" - [ "$del" == "yes" ] && rlRun "userdel $BUILD_USER" - rlPhaseEnd -rlJournalPrintText -rlJournalEnd diff --git a/tests/boost-testsuite-sanity/tests b/tests/boost-testsuite-sanity/tests deleted file mode 100644 index d360dbd..0000000 --- a/tests/boost-testsuite-sanity/tests +++ /dev/null @@ -1,5 +0,0 @@ -integer -random -rational -regex -timer diff --git a/ver.py b/ver.py new file mode 100644 index 0000000..ef88aea --- /dev/null +++ b/ver.py @@ -0,0 +1,5 @@ +import platform +import sys + +sys.stdout.write (".".join (platform.python_version_tuple ()[:2])) +sys.stdout.write ("\n")