From 2127986867289af4a5df4a88e372d1b831f639929b6df63524199a03dae32fb6 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 16 Feb 2009 13:08:16 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/boost?expand=0&rev=25 --- boost-autoconf.tar.bz2 | 3 + boost-default_extension.patch | 17 -- boost-fix_valgrind_complaint.patch | 16 -- boost-lib64.patch | 88 ++++++++ boost-rpmlintrc | 2 + boost-sigcld_handling.patch | 72 ------- boost-threading.patch | 11 - boost-use_rpm_optflags.patch | 59 ------ boost.changes | 163 +++++++++++++++ boost.spec | 315 ++++++++++++++++++++--------- boost.spec.in | 24 +-- boost_1_36_0.tar.bz2 | 3 - boost_1_38_0.tar.bz2 | 3 + mkspec.sh | 2 +- 14 files changed, 493 insertions(+), 285 deletions(-) create mode 100644 boost-autoconf.tar.bz2 delete mode 100644 boost-default_extension.patch delete mode 100644 boost-fix_valgrind_complaint.patch create mode 100644 boost-lib64.patch delete mode 100644 boost-sigcld_handling.patch delete mode 100644 boost-threading.patch delete mode 100644 boost-use_rpm_optflags.patch delete mode 100644 boost_1_36_0.tar.bz2 create mode 100644 boost_1_38_0.tar.bz2 diff --git a/boost-autoconf.tar.bz2 b/boost-autoconf.tar.bz2 new file mode 100644 index 0000000..7e2cc42 --- /dev/null +++ b/boost-autoconf.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:51543a408c1f1af352127af41e346355e9ddce2fd5a3064bd764de86482ba20c +size 9879 diff --git a/boost-default_extension.patch b/boost-default_extension.patch deleted file mode 100644 index 0744dd2..0000000 --- a/boost-default_extension.patch +++ /dev/null @@ -1,17 +0,0 @@ -See https://svn.boost.org/trac/boost/ticket/2224 - -The default extension is wrong for string_type==std::wstring and causes a -compiler error. - - ---- boost/filesystem/path.hpp -+++ boost/filesystem/path.hpp -@@ -203,7 +203,7 @@ - } - - basic_path & remove_filename(); -- basic_path & replace_extension( const string_type & new_extension = "" ); -+ basic_path & replace_extension( const string_type & new_extension = string_type() ); - - # ifndef BOOST_FILESYSTEM_NO_DEPRECATED - basic_path & remove_leaf() { return remove_filename(); } diff --git a/boost-fix_valgrind_complaint.patch b/boost-fix_valgrind_complaint.patch deleted file mode 100644 index 3190949..0000000 --- a/boost-fix_valgrind_complaint.patch +++ /dev/null @@ -1,16 +0,0 @@ -From https://svn.boost.org/trac/boost/changeset/46159: - -Valgrind complains if any data passed to a syscall is uninitialized, -even though logically the kernel will not use part of it. - ---- boost/test/impl/execution_monitor.ipp -+++ boost/test/impl/execution_monitor.ipp -@@ -668,7 +668,7 @@ - ::alarm( 0 ); - - #ifdef BOOST_TEST_USE_ALT_STACK -- stack_t sigstk; -+ stack_t sigstk = {}; - - sigstk.ss_flags = SS_DISABLE; - BOOST_TEST_SYS_ASSERT( ::sigaltstack( &sigstk, 0 ) != -1 ); diff --git a/boost-lib64.patch b/boost-lib64.patch new file mode 100644 index 0000000..bf7db3e --- /dev/null +++ b/boost-lib64.patch @@ -0,0 +1,88 @@ +--- m4/ax_boost_base.m4 ++++ m4/ax_boost_base.m4 +@@ -35,6 +35,47 @@ + # permitted in any medium without royalty provided the copyright notice + # and this notice are preserved. + ++AC_DEFUN([AX_BOOST_CHECK_LIB64], ++[ ++ AC_ARG_ENABLE(libsuffix, ++ AC_HELP_STRING([--enable-libsuffix], ++ [/lib directory suffix (64,32,none,auto[=default])]), ++ boostlibsuff=$enableval, boostlibsuff="auto") ++ ++ ++ if test "$kdelibsuff" = "auto"; then ++ cat > conftest.c << EOF ++#include ++int main(int argc, char *argv[]) ++{ ++ return 0; ++} ++EOF ++ ++ boostlibsuff=`$CC conftest.c -o conftest.out; ldd conftest.out |sed -ne '/libc.so/{ ++ s,.*/lib\([[^\/]]*\)/.*,\1, ++ p ++}'` ++ rm -rf conftest.* ++ fi ++ ++ if test "$boostlibsuff" = "no" || test "$boostlibsuff" = "none"; then ++ boostlibsuff= ++ fi ++ if test -z "$boostlibsuff"; then ++ AC_MSG_RESULT([not using lib directory suffix]) ++ AC_DEFINE(BOOSTLIBSUFF, [""], Suffix for lib directories) ++ else ++ if test "$libdir" = '${exec_prefix}/lib'; then ++ libdir="$libdir${boostlibsuff}" ++ AC_SUBST([libdir], ["$libdir"]) dnl ugly hack for lib64 platforms ++ fi ++ AC_DEFINE_UNQUOTED(BOOSTLIBSUFF, ["${boostlibsuff}"], Suffix for lib directories) ++ AC_MSG_RESULT([using lib directory suffix $boostlibsuff]) ++ fi ++]) ++ ++ + AC_DEFUN([AX_BOOST_BASE], + [ + AC_ARG_WITH([boost], +@@ -80,16 +121,17 @@ + AC_MSG_CHECKING(for boostlib >= $boost_lib_version_req) + succeeded=no + ++ AX_BOOST_CHECK_LIB64 + dnl first we check the system location for boost libraries + dnl this location ist chosen if boost libraries are installed with the --layout=system option + dnl or if you install boost with RPM + if test "$ac_boost_path" != ""; then +- BOOST_LDFLAGS="-L$ac_boost_path/lib" ++ BOOST_LDFLAGS="-L$ac_boost_path/lib${boostlibsuff}" + BOOST_CPPFLAGS="-I$ac_boost_path/include" + else + for ac_boost_path_tmp in /usr /usr/local /opt /opt/local ; do + if test -d "$ac_boost_path_tmp/include/boost" && test -r "$ac_boost_path_tmp/include/boost"; then +- BOOST_LDFLAGS="-L$ac_boost_path_tmp/lib" ++ BOOST_LDFLAGS="-L$ac_boost_path_tmp/lib${boostlibsuff}" + BOOST_CPPFLAGS="-I$ac_boost_path_tmp/include" + break; + fi +@@ -99,7 +141,7 @@ + dnl overwrite ld flags if we have required special directory with + dnl --with-boost-libdir parameter + if test "$ac_boost_lib_path" != ""; then +- BOOST_LDFLAGS="-L$ac_boost_lib_path" ++ BOOST_LDFLAGS="-L$ac_boost_lib_path${boostlibsuff}" + fi + + CPPFLAGS_SAVED="$CPPFLAGS" +@@ -163,7 +205,7 @@ + BOOST_CPPFLAGS="-I$best_path/include/boost-$VERSION_UNDERSCORE" + if test "$ac_boost_lib_path" = "" + then +- BOOST_LDFLAGS="-L$best_path/lib" ++ BOOST_LDFLAGS="-L$best_path/lib${boostlibsuff}" + fi + + if test "x$BOOST_ROOT" != "x"; then diff --git a/boost-rpmlintrc b/boost-rpmlintrc index 4cdd609..d51b0b3 100644 --- a/boost-rpmlintrc +++ b/boost-rpmlintrc @@ -9,3 +9,5 @@ addFilter("boost.* explicit-lib-dependency") addFilter("boost.* filename-too-long-for-joliet") addFilter("boost.* no-binary") addFilter("boost.* static-library-without-debuginfo") +addFilter("boost.* obsolete-suse-version-check") +addFilter("boost.* shlib-unversioned-lib") diff --git a/boost-sigcld_handling.patch b/boost-sigcld_handling.patch deleted file mode 100644 index e420fa5..0000000 --- a/boost-sigcld_handling.patch +++ /dev/null @@ -1,72 +0,0 @@ ---- boost/test/impl/execution_monitor.ipp -+++ boost/test/impl/execution_monitor.ipp 2008/10/29 12:36:46 -@@ -401,40 +401,43 @@ - } - break; - -+#if defined(BOOST_TEST_CATCH_SIGCHLD) -+ - case SIGCHLD: - switch( m_sig_info->si_code ) { - case CLD_EXITED: - report_error( execution_exception::system_error, - "child has exited; pid: %d; uid: %d; exit value: %d", -- (int)m_sig_info->si_uid, (int)m_sig_info->si_pid, (int)m_sig_info->si_status ); -+ (int)m_sig_info->si_pid, (int)m_sig_info->si_uid, (int)m_sig_info->si_status ); - break; - case CLD_KILLED: - report_error( execution_exception::system_error, - "child was killed; pid: %d; uid: %d; exit value: %d", -- (int)m_sig_info->si_uid, (int)m_sig_info->si_pid, (int)m_sig_info->si_status ); -+ (int)m_sig_info->si_pid, (int)m_sig_info->si_uid, (int)m_sig_info->si_status ); - break; - case CLD_DUMPED: - report_error( execution_exception::system_error, - "child terminated abnormally; pid: %d; uid: %d; exit value: %d", -- (int)m_sig_info->si_uid, (int)m_sig_info->si_pid, (int)m_sig_info->si_status ); -+ (int)m_sig_info->si_pid, (int)m_sig_info->si_uid, (int)m_sig_info->si_status ); - break; - case CLD_TRAPPED: - report_error( execution_exception::system_error, - "traced child has trapped; pid: %d; uid: %d; exit value: %d", -- (int)m_sig_info->si_uid, (int)m_sig_info->si_pid, (int)m_sig_info->si_status ); -+ (int)m_sig_info->si_pid, (int)m_sig_info->si_uid, (int)m_sig_info->si_status ); - break; - case CLD_STOPPED: - report_error( execution_exception::system_error, - "child has stopped; pid: %d; uid: %d; exit value: %d", -- (int)m_sig_info->si_uid, (int)m_sig_info->si_pid, (int)m_sig_info->si_status ); -+ (int)m_sig_info->si_pid, (int)m_sig_info->si_uid, (int)m_sig_info->si_status ); - break; - case CLD_CONTINUED: - report_error( execution_exception::system_error, - "stopped child had continued; pid: %d; uid: %d; exit value: %d", -- (int)m_sig_info->si_uid, (int)m_sig_info->si_pid, (int)m_sig_info->si_status ); -+ (int)m_sig_info->si_pid, (int)m_sig_info->si_uid, (int)m_sig_info->si_status ); - break; - } - break; -+#endif - - #if defined(BOOST_TEST_CATCH_SIGPOLL) - -@@ -595,7 +598,9 @@ - signal_action m_FPE_action; - signal_action m_SEGV_action; - signal_action m_BUS_action; -+#ifdef BOOST_TEST_CATCH_SIGCHLD - signal_action m_CHLD_action; -+#endif - #ifdef BOOST_TEST_CATCH_SIGPOLL - signal_action m_POLL_action; - #endif -@@ -621,7 +626,9 @@ - , m_FPE_action ( SIGFPE , catch_system_errors, attach_dbg, alt_stack ) - , m_SEGV_action( SIGSEGV, catch_system_errors, attach_dbg, alt_stack ) - , m_BUS_action ( SIGBUS , catch_system_errors, attach_dbg, alt_stack ) -+#ifdef BOOST_TEST_CATCH_SIGCHLD - , m_CHLD_action( SIGCHLD, catch_system_errors, attach_dbg, alt_stack ) -+#endif - #ifdef BOOST_TEST_CATCH_SIGPOLL - , m_POLL_action( SIGPOLL, catch_system_errors, attach_dbg, alt_stack ) - #endif diff --git a/boost-threading.patch b/boost-threading.patch deleted file mode 100644 index 7fa61f8..0000000 --- a/boost-threading.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- tools/build/v2/tools/gcc.jam -+++ tools/build/v2/tools/gcc.jam -@@ -770,7 +770,7 @@ - } - case * : - { -- flags gcc OPTIONS multi : -pthread ; -+ flags gcc OPTIONS multi : -pthread -D_REENTRANT ; - flags gcc FINDLIBS-SA : rt ; - } - } diff --git a/boost-use_rpm_optflags.patch b/boost-use_rpm_optflags.patch deleted file mode 100644 index 3b81de3..0000000 --- a/boost-use_rpm_optflags.patch +++ /dev/null @@ -1,59 +0,0 @@ ---- tools/build/v2/tools/builtin.jam -+++ tools/build/v2/tools/builtin.jam -@@ -83,17 +83,17 @@ - feature.set-default target-os : [ default-host-os ] ; - - --feature.feature toolset : : implicit propagated symmetric ; --feature.feature stdlib : native : propagated composite ; --feature.feature link : shared static : propagated ; --feature.feature runtime-link : shared static : propagated ; --feature.feature runtime-debugging : on off : propagated ; --feature.feature optimization : off speed space : propagated ; --feature.feature profiling : off on : propagated ; --feature.feature inlining : off on full : propagated ; --feature.feature threading : single multi : propagated ; --feature.feature rtti : on off : propagated ; --feature.feature exception-handling : on off : propagated ; -+feature.feature toolset : : implicit propagated symmetric ; -+feature.feature stdlib : native : propagated composite ; -+feature.feature link : shared static : propagated ; -+feature.feature runtime-link : shared static : propagated ; -+feature.feature runtime-debugging : on off : propagated ; -+feature.feature optimization : off speed space rpm : propagated ; -+feature.feature profiling : off on : propagated ; -+feature.feature inlining : off on full : propagated ; -+feature.feature threading : single multi : propagated ; -+feature.feature rtti : on off : propagated ; -+feature.feature exception-handling : on off : propagated ; - - # Whether there is support for asynchronous EH (e.g. catching SEGVs). - feature.feature asynch-exceptions : off on : propagated ; -@@ -101,7 +101,7 @@ - # Whether all extern "C" functions are considered nothrow by default. - feature.feature extern-c-nothrow : off on : propagated ; - --feature.feature debug-symbols : on off : propagated ; -+feature.feature debug-symbols : on off rpm : propagated ; - feature.feature define : : free ; - feature.feature undef : : free ; - feature.feature "include" : : free path ; #order-sensitive ; -@@ -339,7 +339,7 @@ - - variant debug : off on off - on ; --variant release : speed off full -+variant release : rpm rpm full - off NDEBUG ; - variant profile : release : on on ; - ---- tools/build/v2/tools/gcc.jam -+++ tools/build/v2/tools/gcc.jam -@@ -290,6 +290,7 @@ - flags gcc.compile OPTIONS off : -O0 ; - flags gcc.compile OPTIONS speed : -O3 ; - flags gcc.compile OPTIONS space : -Os ; -+flags gcc.compile OPTIONS rpm : "$RPM_OPT_FLAGS" ; - - flags gcc.compile OPTIONS off : -fno-inline ; - flags gcc.compile OPTIONS on : -Wno-inline ; diff --git a/boost.changes b/boost.changes index 4da2d6b..03ff9d0 100644 --- a/boost.changes +++ b/boost.changes @@ -1,3 +1,166 @@ +------------------------------------------------------------------- +Fri Feb 13 15:18:12 CET 2009 - pth@suse.de + +- Fix spec file (remove patches). + +------------------------------------------------------------------- +Wed Feb 11 17:19:21 CET 2009 - pth@suse.de + +- Add boost autoconf macros from the autoconf archive to the + -devel package. +- Update to 1.38.0: + + New Libraries + + * Flyweight: + o Design pattern to manage large quantities of highly redundant + objects, from Joaquín M López Muñoz. + * ScopeExit: + o Execute arbitrary code at scope exit, from Alexander Nasonov. + * Swap: + o Enhanced generic swap function, from Joseph Gauterin. + + Updated Libraries + + * Accumulators: + o Add rolling_sum, rolling_count and rolling_mean accumulators. + + * Any: + o Use a by-value argument for operator= (#2311). + + * Asio: + o Improved compatibility with some Windows firewall software. + o Ensured arguments to windows::overlapped_ptr::complete() are + correctly passed to the completion handler (#2614). + o Drop back to using a pipe for notification if eventfd is not + available at runtime on Linux (#2683). + o Various minor bug and documentation fixes (#2534, #2541, + #2607, #2617, #2619) + + * Config: + o Add new macros BOOST_NO_STD_UNORDERED and + BOOST_NO_INITIALIZER_LISTS. + o Added Codegear compiler support. + o Added Dragonfly to the BSD family of configs. + o Recognise latest compilers from MS and Intel. + * Date_Time: + o Added support for formatting and reading time durations longer + than 24 hours with new formatter: %0. + o Removed the testfrmwk.hpp file from the public include directory. + o Fixed several bugs and compile errors. + o For full details see the change history + + * Exception: + o Improved and more customizable diagnostic_information output. + + * Filesystem: + o Fix native(name) test failures on POSIX-like systems. + o Several bugfixes (#2543, #2224, #2531, #1840, #2542). + + * Graph: + o Added a new algorithms for Travelling Salesman Problem + approximation (metric_tsp_approx) and resource-constrained + Shortest Paths (r_c_shortest_paths). + o Support for named vertices in adjacency_list. + o A number of bugfixes ( #416, #1622, #1700, #2209, #2392, + #2460, and #2550) + + * Hash: + o boost/functional/detail/container_fwd.hpp has been moved to + boost/detail/container_fwd.hpp. The current location is + deprecated. + o For more detail, see the library changelog. + + * Interprocess: + o Updated documentation to show rvalue-references functions + instead of emulation functions. + o More non-copyable classes are now movable. + o Move-constructor and assignments now leave moved object in + default-constructed state instead of just swapping contents. + o Several bugfixes (#2391, #2431, #1390, #2570, #2528). + + * Intrusive: + o New treap-based containers: treap, treap_set, treap_multiset. + o Corrected compilation bug for Windows-based 64 bit compilers. + o Corrected exception-safety bugs in container constructors. + + o Updated documentation to show rvalue-references functions + instead of emulation functions. + + * Lexical Cast: + o Changed to work without RTTI when BOOST_NO_TYPEID is defined + (#1220). + + * Math: + o Added Johan Råde's optimised floating point classification routines. + o Fixed code so that it compiles in GCC's -pedantic mode (bug report #1451). + + * Multi-index Containers: + o Some redundant type definitions have been deprecated. Consult the + library release notes for further information. + * Proto: + o Fix problem with SFINAE of binary operators (Bug 2407). + o Fix proto::call transform for callable transforms with >3 arguments. + o result_of::value changed behavior for array-by-value terminals. + o unpack_expr requires only Forward Sequences rather than Random Access + Sequences. + o Deprecate legacy undocumented BOOST_PROTO_DEFINE_(VARARG_)FUNCTION_TEMPLATE + macros. + o Add BOOST_PROTO_REPEAT and BOOST_PROTO_LOCAL_ITERATE macros to help with + repetitive code generation + o Support for nullary expressions with tag types other than + proto::tag::terminal + o Allow 0- and 1-argument variants of proto::or_ and proto::and_ + + * Regex: + o Breaking change: empty expressions, and empty alternatives are + now allowed when using the Perl regular expression syntax. + This change has been added for Perl compatibility, when the + new syntax_option_type no_empty_expressions is set then the + old behaviour is preserved and empty expressions are + prohibited. This is issue #1081. + o Added support for Perl style ${n} expressions in format strings + (issue #2556). + o Added support for accessing the location of sub-expressions + within the regular expression string (issue #2269). + o Fixed compiler compatibility issues #2244, #2514, and #2458. + + * Thread: + o No longer catches unhandled exceptions in threads as this debuggers + couldn't identify the cause of unhandled exceptions in threads. An + unhandled exception will still cause the application to terminate. + + * TR1: + o Added support for the TR1 math functions and the unordered + containers. + + * Type Traits: + o Added support for Codegear intrinsics. + o Minor tweaks to warning suppression and alignment_of code. + + * Unordered: + o Use boost::swap. + o Use a larger prime number list for selecting the number of buckets. + o Use aligned storage to store the types. + o Add support for C++0x initializer lists where they're available. + o For more detail, see the library changelog. + + * Xpressive: + o basic_regex gets nested syntax_option_flags and value_type typedef, + for compatibility with std::basic_regex + o Ported to Proto v4; Proto v2 at boost/xpressive/proto has been + removed. + o regex_error inherits from boost::exception + + Other Changes + + * Experimental support for building Boost with CMake has been introduced in + this version. For more details see the wiki, Discussion is taking place + on the Boost-cmake mailing list. + * Fixed subversion properties for several files. Most notably, unix shell + scripts should always have unix line endings, even in the windows + packages. + ------------------------------------------------------------------- Fri Jan 9 17:34:53 CET 2009 - pth@suse.de diff --git a/boost.spec b/boost.spec index 5615232..cfa7e52 100644 --- a/boost.spec +++ b/boost.spec @@ -1,5 +1,5 @@ # -# spec file for package boost (Version 1.36.0) +# spec file for package boost (Version 1.38.0) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -22,16 +22,16 @@ %else %define build_mpi 1 %endif -%define most_libs libboost_date_time1_36_0 libboost_filesystem1_36_0 libboost_graph1_36_0 libboost_iostreams1_36_0 libboost_math1_36_0 libboost_test1_36_0 libboost_program_options1_36_0 libboost_python1_36_0 libboost_serialization1_36_0 libboost_signals1_36_0 libboost_system1_36_0 libboost_thread1_36_0 libboost_wave1_36_0 libboost_regex1_36_0 +%define most_libs libboost_date_time1_38_0 libboost_filesystem1_38_0 libboost_graph1_38_0 libboost_iostreams1_38_0 libboost_math1_38_0 libboost_test1_38_0 libboost_program_options1_38_0 libboost_python1_38_0 libboost_serialization1_38_0 libboost_signals1_38_0 libboost_system1_38_0 libboost_thread1_38_0 libboost_wave1_38_0 libboost_regex1_38_0 %if %build_mpi -%define all_libs %{most_libs} libboost_mpi1_36_0 +%define all_libs %{most_libs} libboost_mpi1_38_0 %else %define all_libs %{most_libs} %endif %define debug_package_requires %{all_libs} Name: boost -BuildRequires: boost-jam >= 3.1.16 dos2unix gcc-c++ libbz2-devel libicu-devel python-devel xorg-x11-devel +BuildRequires: boost-jam >= 3.1.17 dos2unix gcc-c++ libbz2-devel libicu-devel python-devel xorg-x11-devel BuildRequires: libexpat-devel %if %build_mpi BuildRequires: openmpi-devel @@ -44,9 +44,9 @@ License: BSD 3-Clause Group: Development/Libraries/C and C++ Summary: Boost C++ Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-build -Version: 1.36.0 -Release: 11 -Source0: %{name}_1_36_0.tar.bz2 +Version: 1.38.0 +Release: 1 +Source0: %{name}_1_38_0.tar.bz2 Source1: boost-rpmlintrc Source2: boost_1_33_1_man.tar.bz2 Source3: existing_extra_docs @@ -54,19 +54,16 @@ Source5: mkspec.sh Source6: boost.spec.in Source7: Makefile Source8: pre_checkin.sh -Patch0: boost-threading.patch +Source9: boost-autoconf.tar.bz2 Patch1: boost-thread.patch Patch2: boost-no_type_punning.patch Patch4: boost-visit_each.diff Patch5: boost-pass_BJAM_CONFIG.patch -Patch6: boost-use_rpm_optflags.patch Patch8: boost-no_segfault_in_Regex_filter.patch Patch9: boost-ppc-asm.patch -Patch18: boost-sigcld_handling.patch Patch19: boost-sane_versioning.patch Patch20: boost-strict_aliasing.patch -Patch21: boost-default_extension.patch -Patch22: boost-fix_valgrind_complaint.patch +Patch21: boost-lib64.patch Recommends: %{all_libs} %description @@ -127,208 +124,204 @@ This package contains documentation about the boost dynamic libraries. -%package -n libboost_date_time1_36_0 +%package -n libboost_date_time1_38_0 License: BSD 3-Clause Summary: Boost::Date.Time Runtime libraries Group: System/Libraries Requires: %{name}-license = %{version} AutoReqProv: on -%description -n libboost_date_time1_36_0 +%description -n libboost_date_time1_38_0 This package contains the Boost Date.Time runtime libraries. -%package -n libboost_filesystem1_36_0 +%package -n libboost_filesystem1_38_0 License: BSD 3-Clause Summary: Boost::Filesystem Runtime Libraries Group: System/Localization Requires: %{name}-license = %{version} AutoReqProv: on -%description -n libboost_filesystem1_36_0 +%description -n libboost_filesystem1_38_0 This package contains the Boost::Filesystem libraries. -%package -n libboost_graph1_36_0 +%package -n libboost_graph1_38_0 License: BSD 3-Clause Summary: Boost::Graph Runtime Libraries Group: System/Libraries Requires: %{name}-license = %{version} AutoReqProv: on -%description -n libboost_graph1_36_0 +%description -n libboost_graph1_38_0 This package contains the Boost::Graph Runtime libraries. -%package -n libboost_iostreams1_36_0 +%package -n libboost_iostreams1_38_0 License: BSD 3-Clause Summary: Boost::IOStreams Runtime Libraries Group: System/Libraries Requires: %{name}-license = %{version} AutoReqProv: on -%description -n libboost_iostreams1_36_0 +%description -n libboost_iostreams1_38_0 This package contains the Boost::IOStreams Runtime libraries. -%package -n libboost_math1_36_0 +%package -n libboost_math1_38_0 License: BSD 3-Clause Summary: Boost::Math Runtime Libraries Group: System/Libraries Requires: %{name}-license = %{version} AutoReqProv: on -%description -n libboost_math1_36_0 +%description -n libboost_math1_38_0 This package contains the Boost::Math Runtime libraries. %if %build_mpi -%package -n libboost_mpi1_36_0 +%package -n libboost_mpi1_38_0 License: BSD 3-Clause Summary: Boost::MPI Runtime libraries Group: System/Libraries Requires: %{name}-license = %{version} AutoReqProv: on -%description -n libboost_mpi1_36_0 +%description -n libboost_mpi1_38_0 This package contains the Boost::MPI Runtime libraries. %endif -%package -n libboost_test1_36_0 +%package -n libboost_test1_38_0 License: BSD 3-Clause Summary: Boost::Test Runtime Libraries Group: System/Libraries Requires: %{name}-license = %{version} AutoReqProv: on -%description -n libboost_test1_36_0 +%description -n libboost_test1_38_0 This package contains the Boost::Test runtime libraries. -%package -n libboost_program_options1_36_0 +%package -n libboost_program_options1_38_0 License: BSD 3-Clause Summary: Boost::ProgramOptions Runtime libraries Group: System/Libraries Requires: %{name}-license = %{version} AutoReqProv: on -%description -n libboost_program_options1_36_0 +%description -n libboost_program_options1_38_0 This package contains the Boost::ProgramOptions Runtime libraries. -%package -n libboost_python1_36_0 +%package -n libboost_python1_38_0 License: BSD 3-Clause Summary: Boost::Python Runtime Libraries Group: System/Libraries Requires: %{name}-license = %{version} AutoReqProv: on -%description -n libboost_python1_36_0 +%description -n libboost_python1_38_0 This package contains the Boost::Python Runtime libraries. -%package -n libboost_serialization1_36_0 +%package -n libboost_serialization1_38_0 License: BSD 3-Clause Summary: Boost::Serialization Runtime Libraries Group: System/Libraries Requires: %{name}-license = %{version} AutoReqProv: on -%description -n libboost_serialization1_36_0 +%description -n libboost_serialization1_38_0 This package contains the Boost::Serialization Runtime libraries. -%package -n libboost_signals1_36_0 +%package -n libboost_signals1_38_0 License: BSD 3-Clause Summary: Boost::Signals Runtime Libraries Group: System/Libraries Requires: %{name}-license = %{version} AutoReqProv: on -%description -n libboost_signals1_36_0 +%description -n libboost_signals1_38_0 This package contains the Boost::Signals Runtime libraries. -%package -n libboost_system1_36_0 +%package -n libboost_system1_38_0 License: BSD 3-Clause Summary: Boost::System Runtime Libraries Group: System/Libraries Requires: %{name}-license = %{version} AutoReqProv: on -%description -n libboost_system1_36_0 +%description -n libboost_system1_38_0 This package contains the Boost::System runtime libraries. -%package -n libboost_thread1_36_0 +%package -n libboost_thread1_38_0 License: BSD 3-Clause Summary: Boost::Thread Runtime Libraries Group: System/Libraries Requires: %{name}-license = %{version} AutoReqProv: on -%description -n libboost_thread1_36_0 +%description -n libboost_thread1_38_0 This package contains the Boost::Thread runtime libraries. -%package -n libboost_wave1_36_0 +%package -n libboost_wave1_38_0 License: BSD 3-Clause Summary: Boost::Wave Runtime Libraries Group: System/Libraries Requires: %{name}-license = %{version} AutoReqProv: on -%description -n libboost_wave1_36_0 +%description -n libboost_wave1_38_0 This package contains the Boost::Wave runtime libraries. -%package -n libboost_regex1_36_0 +%package -n libboost_regex1_38_0 License: BSD 3-Clause Summary: The Boost::Regex runtime library Group: System/Libraries Requires: %{name}-license = %{version} AutoReqProv: on -%description -n libboost_regex1_36_0 +%description -n libboost_regex1_38_0 This package contains the Boost::Regex runtime library. %prep -%setup -q -n %{name}_1_36_0 -a 2 +%setup -q -n %{name}_1_38_0 -a 2 -a 9 find -name .cvsignore -exec rm -f {} + #everything in the tarball has the executable flag set ...... find -type f ! \( -name \*.sh -o -name \*.py -o -name \*.pl \) -exec chmod -x {} + -%patch %patch1 %patch2 %patch4 %patch5 -%patch6 %patch8 %patch9 -%patch18 %patch19 %patch20 %patch21 -%patch22 chmod +x configure #stupid build machinery copies .orig files find . -name \*.orig -exec rm {} + @@ -402,7 +395,7 @@ source /var/mpi-selector/data/$(cat /etc/sysconfig/mpi-selector).sh --libdir=%{buildroot}%{_libdir} \ --includedir=%{buildroot}%{_includedir} \ install || echo "Not all Boost libraries built properly." -mv %{buildroot}%{_includedir}/boost-1_36/boost %{buildroot}%{_includedir}/ +mv %{buildroot}%{_includedir}/boost-1_38/boost %{buildroot}%{_includedir}/ mkdir -p %{buildroot}%{_docdir}/boost-%{version} ## install lib #for i in $(find stage -type f -name \*.a); do @@ -444,6 +437,9 @@ for page in $(find . -type f); do install -p -m 644 $page %buildroot/%{_mandir}/$page done popd +#install autoconf macros +install -d %{buildroot}%{_datadir}/aclocal +install -m 644 m4/*.m4 %{buildroot}%{_datadir}/aclocal #install doc files dos2unix libs/ptr_container/doc/tutorial_example.html \ libs/parameter/doc/html/reference.html \ @@ -463,135 +459,135 @@ find %{buildroot}%{_docdir}/boost-%{version} -name \*.py -exec chmod -x {} + %fdupes %buildroot %endif -%post -n libboost_date_time1_36_0 -p /sbin/ldconfig +%post -n libboost_date_time1_38_0 -p /sbin/ldconfig -%post -n libboost_filesystem1_36_0 -p /sbin/ldconfig +%post -n libboost_filesystem1_38_0 -p /sbin/ldconfig -%post -n libboost_iostreams1_36_0 -p /sbin/ldconfig +%post -n libboost_iostreams1_38_0 -p /sbin/ldconfig -%post -n libboost_test1_36_0 -p /sbin/ldconfig +%post -n libboost_test1_38_0 -p /sbin/ldconfig -%post -n libboost_program_options1_36_0 -p /sbin/ldconfig +%post -n libboost_program_options1_38_0 -p /sbin/ldconfig -%post -n libboost_python1_36_0 -p /sbin/ldconfig +%post -n libboost_python1_38_0 -p /sbin/ldconfig -%post -n libboost_regex1_36_0 -p /sbin/ldconfig +%post -n libboost_regex1_38_0 -p /sbin/ldconfig -%post -n libboost_serialization1_36_0 -p /sbin/ldconfig +%post -n libboost_serialization1_38_0 -p /sbin/ldconfig -%post -n libboost_signals1_36_0 -p /sbin/ldconfig +%post -n libboost_signals1_38_0 -p /sbin/ldconfig -%post -n libboost_thread1_36_0 -p /sbin/ldconfig +%post -n libboost_thread1_38_0 -p /sbin/ldconfig -%post -n libboost_math1_36_0 -p /sbin/ldconfig +%post -n libboost_math1_38_0 -p /sbin/ldconfig %if %build_mpi -%post -n libboost_mpi1_36_0 -p /sbin/ldconfig +%post -n libboost_mpi1_38_0 -p /sbin/ldconfig %endif -%post -n libboost_graph1_36_0 -p /sbin/ldconfig +%post -n libboost_graph1_38_0 -p /sbin/ldconfig -%post -n libboost_system1_36_0 -p /sbin/ldconfig +%post -n libboost_system1_38_0 -p /sbin/ldconfig -%post -n libboost_wave1_36_0 -p /sbin/ldconfig +%post -n libboost_wave1_38_0 -p /sbin/ldconfig -%postun -n libboost_date_time1_36_0 -p /sbin/ldconfig +%postun -n libboost_date_time1_38_0 -p /sbin/ldconfig -%postun -n libboost_filesystem1_36_0 -p /sbin/ldconfig +%postun -n libboost_filesystem1_38_0 -p /sbin/ldconfig -%postun -n libboost_iostreams1_36_0 -p /sbin/ldconfig +%postun -n libboost_iostreams1_38_0 -p /sbin/ldconfig -%postun -n libboost_test1_36_0 -p /sbin/ldconfig +%postun -n libboost_test1_38_0 -p /sbin/ldconfig -%postun -n libboost_program_options1_36_0 -p /sbin/ldconfig +%postun -n libboost_program_options1_38_0 -p /sbin/ldconfig -%postun -n libboost_python1_36_0 -p /sbin/ldconfig +%postun -n libboost_python1_38_0 -p /sbin/ldconfig -%postun -n libboost_regex1_36_0 -p /sbin/ldconfig +%postun -n libboost_regex1_38_0 -p /sbin/ldconfig -%postun -n libboost_serialization1_36_0 -p /sbin/ldconfig +%postun -n libboost_serialization1_38_0 -p /sbin/ldconfig -%postun -n libboost_signals1_36_0 -p /sbin/ldconfig +%postun -n libboost_signals1_38_0 -p /sbin/ldconfig -%postun -n libboost_thread1_36_0 -p /sbin/ldconfig +%postun -n libboost_thread1_38_0 -p /sbin/ldconfig -%postun -n libboost_math1_36_0 -p /sbin/ldconfig +%postun -n libboost_math1_38_0 -p /sbin/ldconfig %if %build_mpi -%postun -n libboost_mpi1_36_0 -p /sbin/ldconfig +%postun -n libboost_mpi1_38_0 -p /sbin/ldconfig %endif -%postun -n libboost_graph1_36_0 -p /sbin/ldconfig +%postun -n libboost_graph1_38_0 -p /sbin/ldconfig -%postun -n libboost_system1_36_0 -p /sbin/ldconfig +%postun -n libboost_system1_38_0 -p /sbin/ldconfig -%postun -n libboost_wave1_36_0 -p /sbin/ldconfig +%postun -n libboost_wave1_38_0 -p /sbin/ldconfig %files license %defattr(-, root, root, -) %doc LICENSE_1_0.txt -%files -n libboost_date_time1_36_0 +%files -n libboost_date_time1_38_0 %defattr(-, root, root, -) %{_libdir}/libboost_date_time*.so.* -%files -n libboost_filesystem1_36_0 +%files -n libboost_filesystem1_38_0 %defattr(-, root, root, -) %{_libdir}/libboost_filesystem*.so.* -%files -n libboost_graph1_36_0 +%files -n libboost_graph1_38_0 %defattr(-, root, root, -) %{_libdir}/libboost_graph*.so.* -%files -n libboost_iostreams1_36_0 +%files -n libboost_iostreams1_38_0 %defattr(-, root, root, -) %{_libdir}/libboost_iostreams*.so.* -%files -n libboost_math1_36_0 +%files -n libboost_math1_38_0 %defattr(-, root, root, -) %{_libdir}/libboost_math_*.so.* %if %build_mpi -%files -n libboost_mpi1_36_0 +%files -n libboost_mpi1_38_0 %defattr(-, root, root, -) %{_libdir}/libboost_mpi*.so.* %{_libdir}/mpi.so %endif -%files -n libboost_test1_36_0 +%files -n libboost_test1_38_0 %defattr(-, root, root, -) %{_libdir}/libboost_prg_exec_monitor*.so.* %{_libdir}/libboost_unit_test_framework*.so.* -%files -n libboost_program_options1_36_0 +%files -n libboost_program_options1_38_0 %defattr(-, root, root, -) %{_libdir}/libboost_program_options*.so.* -%files -n libboost_python1_36_0 +%files -n libboost_python1_38_0 %defattr(-, root, root, -) %{_libdir}/libboost_python*.so.* -%files -n libboost_serialization1_36_0 +%files -n libboost_serialization1_38_0 %defattr(-, root, root, -) %{_libdir}/libboost_*serialization*.so.* -%files -n libboost_signals1_36_0 +%files -n libboost_signals1_38_0 %defattr(-, root, root, -) %{_libdir}/libboost_signals*.so.* -%files -n libboost_system1_36_0 +%files -n libboost_system1_38_0 %defattr(-, root, root, -) %{_libdir}/libboost_system*.so.* -%files -n libboost_thread1_36_0 +%files -n libboost_thread1_38_0 %defattr(-, root, root, -) %{_libdir}/libboost_thread*.so.* -%files -n libboost_wave1_36_0 +%files -n libboost_wave1_38_0 %defattr(-, root, root, -) %{_libdir}/libboost_wave*.so.* -%files -n libboost_regex1_36_0 +%files -n libboost_regex1_38_0 %defattr(-, root, root, -) %{_libdir}/libboost_regex*.so.* @@ -603,6 +599,7 @@ find %{buildroot}%{_docdir}/boost-%{version} -name \*.py -exec chmod -x {} + %if %build_mpi %exclude %{_libdir}/mpi.so %endif +%{_datadir}/aclocal/*.m4 %files doc %defattr(-, root, root, -) @@ -611,6 +608,138 @@ find %{buildroot}%{_docdir}/boost-%{version} -name \*.py -exec chmod -x {} + %doc %{_mandir}/man7/*.7.gz %changelog +* Fri Feb 13 2009 pth@suse.de +- Fix spec file (remove patches). +* Wed Feb 11 2009 pth@suse.de +- Add boost autoconf macros from the autoconf archive to the + -devel package. +- Update to 1.38.0: + New Libraries + * Flyweight: + o Design pattern to manage large quantities of highly redundant + objects, from Joaquín M López Muñoz. + * ScopeExit: + o Execute arbitrary code at scope exit, from Alexander Nasonov. + * Swap: + o Enhanced generic swap function, from Joseph Gauterin. + Updated Libraries + * Accumulators: + o Add rolling_sum, rolling_count and rolling_mean accumulators. + * Any: + o Use a by-value argument for operator= (#2311). + * Asio: + o Improved compatibility with some Windows firewall software. + o Ensured arguments to windows::overlapped_ptr::complete() are + correctly passed to the completion handler (#2614). + o Drop back to using a pipe for notification if eventfd is not + available at runtime on Linux (#2683). + o Various minor bug and documentation fixes (#2534, #2541, + [#2607], #2617, #2619) + * Config: + o Add new macros BOOST_NO_STD_UNORDERED and + BOOST_NO_INITIALIZER_LISTS. + o Added Codegear compiler support. + o Added Dragonfly to the BSD family of configs. + o Recognise latest compilers from MS and Intel. + * Date_Time: + o Added support for formatting and reading time durations longer + than 24 hours with new formatter: %%0. + o Removed the testfrmwk.hpp file from the public include directory. + o Fixed several bugs and compile errors. + o For full details see the change history + * Exception: + o Improved and more customizable diagnostic_information output. + * Filesystem: + o Fix native(name) test failures on POSIX-like systems. + o Several bugfixes (#2543, #2224, #2531, #1840, #2542). + * Graph: + o Added a new algorithms for Travelling Salesman Problem + approximation (metric_tsp_approx) and resource-constrained + Shortest Paths (r_c_shortest_paths). + o Support for named vertices in adjacency_list. + o A number of bugfixes ( #416, #1622, #1700, #2209, #2392, + [#2460], and #2550) + * Hash: + o boost/functional/detail/container_fwd.hpp has been moved to + boost/detail/container_fwd.hpp. The current location is + deprecated. + o For more detail, see the library changelog. + * Interprocess: + o Updated documentation to show rvalue-references functions + instead of emulation functions. + o More non-copyable classes are now movable. + o Move-constructor and assignments now leave moved object in + default-constructed state instead of just swapping contents. + o Several bugfixes (#2391, #2431, #1390, #2570, #2528). + * Intrusive: + o New treap-based containers: treap, treap_set, treap_multiset. + o Corrected compilation bug for Windows-based 64 bit compilers. + o Corrected exception-safety bugs in container constructors. + o Updated documentation to show rvalue-references functions + instead of emulation functions. + * Lexical Cast: + o Changed to work without RTTI when BOOST_NO_TYPEID is defined + (#1220). + * Math: + o Added Johan Råde's optimised floating point classification routines. + o Fixed code so that it compiles in GCC's -pedantic mode (bug report #1451). + * Multi-index Containers: + o Some redundant type definitions have been deprecated. Consult the + library release notes for further information. + * Proto: + o Fix problem with SFINAE of binary operators (Bug 2407). + o Fix proto::call transform for callable transforms with >3 arguments. + o result_of::value changed behavior for array-by-value terminals. + o unpack_expr requires only Forward Sequences rather than Random Access + Sequences. + o Deprecate legacy undocumented BOOST_PROTO_DEFINE_(VARARG_)FUNCTION_TEMPLATE + macros. + o Add BOOST_PROTO_REPEAT and BOOST_PROTO_LOCAL_ITERATE macros to help with + repetitive code generation + o Support for nullary expressions with tag types other than + proto::tag::terminal + o Allow 0- and 1-argument variants of proto::or_ and proto::and_ + * Regex: + o Breaking change: empty expressions, and empty alternatives are + now allowed when using the Perl regular expression syntax. + This change has been added for Perl compatibility, when the + new syntax_option_type no_empty_expressions is set then the + old behaviour is preserved and empty expressions are + prohibited. This is issue #1081. + o Added support for Perl style ${n} expressions in format strings + (issue #2556). + o Added support for accessing the location of sub-expressions + within the regular expression string (issue #2269). + o Fixed compiler compatibility issues #2244, #2514, and #2458. + * Thread: + o No longer catches unhandled exceptions in threads as this debuggers + couldn't identify the cause of unhandled exceptions in threads. An + unhandled exception will still cause the application to terminate. + * TR1: + o Added support for the TR1 math functions and the unordered + containers. + * Type Traits: + o Added support for Codegear intrinsics. + o Minor tweaks to warning suppression and alignment_of code. + * Unordered: + o Use boost::swap. + o Use a larger prime number list for selecting the number of buckets. + o Use aligned storage to store the types. + o Add support for C++0x initializer lists where they're available. + o For more detail, see the library changelog. + * Xpressive: + o basic_regex gets nested syntax_option_flags and value_type typedef, + for compatibility with std::basic_regex + o Ported to Proto v4; Proto v2 at boost/xpressive/proto has been + removed. + o regex_error inherits from boost::exception + Other Changes + * Experimental support for building Boost with CMake has been introduced in + this version. For more details see the wiki, Discussion is taking place + on the Boost-cmake mailing list. + * Fixed subversion properties for several files. Most notably, unix shell + scripts should always have unix line endings, even in the windows + packages. * Fri Jan 09 2009 pth@suse.de - Apply patch in boost.spec.in * Thu Jan 08 2009 pth@suse.de diff --git a/boost.spec.in b/boost.spec.in index 756988c..a767a3e 100644 --- a/boost.spec.in +++ b/boost.spec.in @@ -1,5 +1,5 @@ # -# spec file for package boost (Version 1.36.0) +# spec file for package boost (Version 1.38.0) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -41,7 +41,7 @@ %define debug_package_requires %{all_libs} Name: boost -BuildRequires: boost-jam >= 3.1.16 dos2unix gcc-c++ libbz2-devel libicu-devel python-devel xorg-x11-devel +BuildRequires: boost-jam >= 3.1.17 dos2unix gcc-c++ libbz2-devel libicu-devel python-devel xorg-x11-devel BuildRequires: libexpat-devel %if %build_mpi BuildRequires: openmpi-devel @@ -54,7 +54,7 @@ License: BSD 3-Clause Group: Development/Libraries/C and C++ Summary: Boost C++ Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-build -Version: 1.36.0 +Version: 1.38.0 Release: 2 Source0: %{name}_@file_version@.tar.bz2 Source1: boost-rpmlintrc @@ -64,19 +64,16 @@ Source5: mkspec.sh Source6: boost.spec.in Source7: Makefile Source8: pre_checkin.sh -Patch0: boost-threading.patch +Source9: boost-autoconf.tar.bz2 Patch1: boost-thread.patch Patch2: boost-no_type_punning.patch Patch4: boost-visit_each.diff Patch5: boost-pass_BJAM_CONFIG.patch -Patch6: boost-use_rpm_optflags.patch Patch8: boost-no_segfault_in_Regex_filter.patch Patch9: boost-ppc-asm.patch -Patch18: boost-sigcld_handling.patch Patch19: boost-sane_versioning.patch Patch20: boost-strict_aliasing.patch -Patch21: boost-default_extension.patch -Patch22: boost-fix_valgrind_complaint.patch +Patch21: boost-lib64.patch Recommends: %{all_libs} %description @@ -318,23 +315,19 @@ This package contains the Boost::Regex runtime library. %prep -%setup -q -n %{name}_@file_version@ -a 2 +%setup -q -n %{name}_@file_version@ -a 2 -a 9 find -name .cvsignore -exec rm -f {} + #everything in the tarball has the executable flag set ...... find -type f ! \( -name \*.sh -o -name \*.py -o -name \*.pl \) -exec chmod -x {} + -%patch %patch1 %patch2 %patch4 %patch5 -%patch6 %patch8 %patch9 -%patch18 %patch19 %patch20 %patch21 -%patch22 chmod +x configure #stupid build machinery copies .orig files find . -name \*.orig -exec rm {} + @@ -474,6 +467,10 @@ for page in $(find . -type f); do done popd +#install autoconf macros +install -d %{buildroot}%{_datadir}/aclocal +install -m 644 m4/*.m4 %{buildroot}%{_datadir}/aclocal + #install doc files dos2unix libs/ptr_container/doc/tutorial_example.html \ libs/parameter/doc/html/reference.html \ @@ -605,6 +602,7 @@ find %{buildroot}%{_docdir}/boost-%{version} -name \*.py -exec chmod -x {} + %if %build_mpi %exclude %{_libdir}/mpi.so %endif +%{_datadir}/aclocal/*.m4 %files doc %defattr(-, root, root, -) diff --git a/boost_1_36_0.tar.bz2 b/boost_1_36_0.tar.bz2 deleted file mode 100644 index 0947a9d..0000000 --- a/boost_1_36_0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9a4a0cfbbd227c20a13519a2c41f2e707dc0d89e518a3c7bfcd381f7b7fbcdef -size 28839275 diff --git a/boost_1_38_0.tar.bz2 b/boost_1_38_0.tar.bz2 new file mode 100644 index 0000000..a630764 --- /dev/null +++ b/boost_1_38_0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3ee3a45af4d2fabf343b9e05cfbe033c35d63719b45a6554d5849e4a34216066 +size 29164877 diff --git a/mkspec.sh b/mkspec.sh index 6c3ddc7..490a334 100644 --- a/mkspec.sh +++ b/mkspec.sh @@ -1,6 +1,6 @@ #!/bin/bash -version=1.36.0 +version=1.38.0 man_version=1.33.1 file_version="$(echo $version|sed 's/\./_/g')"