pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Update boost to 1.34.1. This is based on the patches ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/fcf672e49365
branches: trunk
changeset: 537194:fcf672e49365
user: jmmv <jmmv%pkgsrc.org@localhost>
date: Fri Jan 04 19:58:39 2008 +0000
description:
Update boost to 1.34.1. This is based on the patches provided by Brook Milligan
in PR pkg/36558. Committing it right after the freeze so that we have enough
time to resolve the problems that this will surely cause.
New Libraries
* Foreach Library:
BOOST_FOREACH macro for easily iterating over the elements of a
sequence, from Eric Niebler.
* Statechart Library:
Arbitrarily complex finite state machines can be implemented in
easily readable and maintainable C++ code, from Andreas Huber.
* TR1 Library:
An implementation of the C++ Technical Report on Standard Library
Extensions, from John Maddock.
This library does not itself implement the TR1 components, rather
it's a thin wrapper that will include your standard library's TR1
implementation (if it has one), otherwise it will include the Boost
Library equivalents, and import them into namespace std::tr1. Highlights
include: Reference Wrappers, Smart Pointers, result_of,
Function Object Binders, Polymorphic function wrappers, Type Traits,
Random Number Generators and Distributions, Tuples, Fixed Size Array,
Hash Function Objects, Regular Expressions and
Complex Number Additional Algorithms.
* Typeof Library:
Typeof operator emulation, from Arkadiy Vertleyb and Peder Holt.
* Xpressive Library:
Regular expressions that can be written as strings or as expression
templates, and that can refer to each other and themselves recursively
with the power of context-free grammars, from Eric Niebler.
Updated Libraries
* Assign Library:
o Support for ptr_map<key,T> via the new function ptr_map_insert()
o Support for initialization of Pointer Containers when the containers
hold pointers to an abstract base class.
* Date_time library:
o Support for new US/Canada timezone rules and other bug fixes.
See Change History for details.
* Filesystem Library:
Major upgrade in preparation for submission to the C++ Standards Committee
for TR2. Changes include:
o Internationalization, provided by class templates basic_path,
basic_filesystem_error, basic_directory_iterator
and basic_directory_entry.
o Simplification of the path interface by eliminating special constructors
to identify native formats.
o Rationalization of predicate function design, including the addition of
several new functions.
o Clearer specification by reference to POSIX, the ISO/IEEE Single Unix
Standard, with provisions for Windows and other operating systems.
o Preservation of existing user code whenever possible.
o More efficient directory iteration.
o Addition of a recursive directory iterator.
* Function Library:
Boost.Function now implements a small buffer optimization, which can
drastically improve the performance when copying or constructing
Boost.Function objects storing small function objects. For instance,
bind(&X:foo, &x, _1, _2) requires no heap allocation when placed into
a Boost.Function object.
* Functional/Hash Library
o Use declarations for standard classes, so that the library doesn't
need to include all of their headers
o Deprecated the <boost/functional/hash/*.hpp> headers.
o Add support for the BOOST_HASH_NO_EXTENSIONS macro, which disables
the extensions to TR1
o Minor improvements to the hash functions for floating point numbers.
* Graph Library:
o edmonds_maximum_cardinality_matching, from Aaron Windsor.
o lengauer_tarjan_dominator_tree, from JongSoo Park.
o compressed_sparse_row_graph, from Jeremiah Willcock and Douglas Gregor
of Indiana University.
o sorted_erdos_renyi_iterator, from Jeremiah Willcock
of Indiana University.
o biconnected_components now supports a visitor and named parameters,
from Janusz Piwowarski.
o adjacency_matrix now models the Bidirectional Graph concept.
o dijkstra_shortest_paths now calls vis.initialize_vertex for each
vertex during initialization.
o Note: the name of the compiled library for the GraphViz reader has
changed to boost_graph (from bgl-viz) to match Boost conventions.
o See the complete revision history for more information.
* MultiArray Library:
Boost.MultiArray now by default provides range-checking for operator[].
Range checking can be disabled by defining the macro BOOST_DISABLE_ASSERTS
before including multi_array.hpp. A bug in multi_array::resize() related
to storage orders was fixed.
* Multi-index Containers Library:
o New random access indices.
o Non key-based indices feature new rearrange facilities.
o This version also includes a number of optimizations and usage
improvements. For a complete list of changes,
see the library release notes.
* Optional Library:
o boost::none_t and boost::none now added to Optional's documentation
o Relational operators now directly support arguments of type 'T'
and 'none_t'
o operator->() now also works with reference types.
o Helper functions make_optional(val), make_optional(cond,val)
and get_optional_value_or(opt,alternative_value) added.
o Constructor taking a boolean condition (as well as a value) added.
o Member function get_value_or(alternative_value) added.
o Incompatbility bug with mpl::apply<> fixed.
o Converting assignment bug with uninitialized lvalues fixed.
* Parameter Library:
o Every ArgumentPack is now a valid MPL Forward Sequence.
o Support for unnamed arguments (those whose keyword is deduced from
their types) is added.
o Support for named and unnamed template arguments is added.
o New overload generation macros solve the forwarding problem directly.
o See also the Python library changes, below.
* Pointer Container Library:
o Support for serialization via Boost.Serialization.
o Exceptions can be disabled by defining the macro
BOOST_PTR_CONTAINER_NO_EXCEPTIONS before including any header.
This macro is defined by default if BOOST_NO_EXCEPTIONS is defined.
o Additional std::auto_ptr<T> overloads added s.t. one can also pass
std::auto_ptr<T> instead of only T* arguments to member functions.
o transfer() now has weaker requirements s.t. one can transfer objects
from ptr_container<Derived> to ptr_container<Base>,
* Python Library:
o Boost.Python now automatically appends C++ signatures to docstrings.
The new docstring_options.hpp header is available to control the
content of docstrings.
o stl_input_iterator, for turning a Python iterable object into an STL
input iterator, from Eric Niebler.
o Support for void* conversions is added.
o Integrated support for wrapping C++ functions built with the
parameter library; keyword names are automatically known to
docsstrings.
o Enhancements to the API for better embedding support
(boost::python::import(), boost::python::exec()
and boost::python::exec_file()).
* Signals Library:
More improvements to signal invocation performance from Robert Zeh.
* Smart Pointers Library:
o Allocator support as proposed in N1851 (162 Kb PDF).
o pointer_cast and pointer_to_other utilities to allow
pointer-independent code, from Ion Gaztanaga.
* String Algorithm Library:
o lexicographical_compare
o join
o New comparison predicates is_less, is_not_greater.
o Negative indexes support (like Perl) in various algorihtms
(*_head/tail, *_nth).
* Wave Library:
o Wave now correctly recognizes pp-number tokens as mandated by the
C++ Standard, which are converted to C++ tokens right before they are
returned from the library.
o Several new preprocessing hooks have been added. For a complete
description please refer to the related documentation page:
The Context Policy.
o Shared library (dll) support has been added for the generated Wave
libraries.
o The overall error handling has been improved. It is now possible to
recover and continue after an error or a warning was issued.
o Support for optional comment and/or full whitespace preservation
in the generated output stream has been added.
o The Wave library now performs automatic include guard detection to
avoid accessing header files more than once, if appropriate.
o Full interactive mode has been added to the Wave tool. Now the Wave
tool can be used just like Python or Perl for instance to
interactively try out your BOOST_PP macros. Additionally it is now
possible to load and save the current state of an interactive
session (macro tables et.al.).
o The overall performance has been improved by upto 40-60%, depending
on the concrete files to process.
o Support for new pragmas has been added allowing to control certain
library features from inside the preprocessed sources (partial
output redirection, control of generated whitespace and #line
directives).
o Optional support for #pragma message "..." has been added.
o This version also includes a number of bug fixes and usage
improvements. For a complete list of changes, see the libraries
change log.
diffstat:
devel/boost-build/Makefile | 5 +-
devel/boost-build/PLIST | 114 +++++-
devel/boost-build/buildlink3.mk | 4 +-
devel/boost-docs/Makefile | 3 +-
devel/boost-docs/PLIST | 468 +++++++++++++++++++++++--------
devel/boost-headers/Makefile | 12 +-
devel/boost-headers/PLIST | 488 ++++++++++++++++++++++++++++++++-
devel/boost-headers/buildlink3.mk | 4 +-
devel/boost-jam/Makefile | 11 +-
devel/boost-jam/bjam.mk | 30 +-
devel/boost-jam/buildlink3.mk | 4 +-
devel/boost-libs/Makefile | 3 +-
devel/boost-libs/PLIST | 47 ++-
devel/boost-libs/buildlink3.mk | 4 +-
devel/boost-libs/hacks.mk | 7 -
devel/boost-python/Makefile | 11 +-
devel/boost-python/PLIST | 5 +-
devel/boost-python/buildlink3.mk | 6 +-
meta-pkgs/boost/Makefile.common | 6 +-
meta-pkgs/boost/distinfo | 26 +-
meta-pkgs/boost/patches/patch-aa | 48 ---
meta-pkgs/boost/patches/patch-ab | 13 -
meta-pkgs/boost/patches/patch-ad | 8 +-
meta-pkgs/boost/patches/patch-ae | 21 -
meta-pkgs/boost/patches/patch-af | 23 +-
meta-pkgs/boost/patches/patch-ag | 12 -
meta-pkgs/boost/patches/patch-ah | 10 +-
meta-pkgs/boost/patches/patch-ai | 15 -
meta-pkgs/boost/patches/patch-aj | 21 -
meta-pkgs/boost/patches/patch-ak | 8 +-
meta-pkgs/boost/patches/patch-al | 42 ++
meta-pkgs/boost/patches/patch-am | 12 +
meta-pkgs/boost/patches/patch-an | 160 ++++++++++
meta-pkgs/boost/patches/patch-ao | 556 ++++++++++++++++++++++++++++++++++++++
34 files changed, 1800 insertions(+), 407 deletions(-)
diffs (truncated from 4292 to 300 lines):
diff -r 320450c7e2ff -r fcf672e49365 devel/boost-build/Makefile
--- a/devel/boost-build/Makefile Fri Jan 04 19:56:45 2008 +0000
+++ b/devel/boost-build/Makefile Fri Jan 04 19:58:39 2008 +0000
@@ -1,12 +1,10 @@
-# $NetBSD: Makefile,v 1.5 2007/06/09 07:42:23 jmmv Exp $
+# $NetBSD: Makefile,v 1.6 2008/01/04 19:58:39 jmmv Exp $
#
BOOST_PACKAGE= build
BOOST_COMMENT= (Boost.Build framework)
BOOST_CONFIG= no
-PKGREVISION= 2
-
.include "../../meta-pkgs/boost/Makefile.common"
SUBST_CLASSES+= confdir
@@ -34,6 +32,7 @@
${INSTALL_DATA_DIR} ${PREFIX}/share/boost-build
cd ${WRKSRC}/tools/build/v2 && ${PAX} -rw -pp -pm . \
${PREFIX}/share/boost-build
+ find ${PREFIX}/share/boost-build -name "*.orig" -exec rm "{}" \;
${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKDIR}/site-config.jam ${EGDIR}
diff -r 320450c7e2ff -r fcf672e49365 devel/boost-build/PLIST
--- a/devel/boost-build/PLIST Fri Jan 04 19:56:45 2008 +0000
+++ b/devel/boost-build/PLIST Fri Jan 04 19:58:39 2008 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2007/06/09 07:42:23 jmmv Exp $
+@comment $NetBSD: PLIST,v 1.4 2008/01/04 19:58:39 jmmv Exp $
share/boost-build/boost-build.jam
share/boost-build/boost.css
share/boost-build/bootstrap.jam
@@ -34,14 +34,17 @@
share/boost-build/doc/src/catalog.xml
share/boost-build/doc/src/extending.xml
share/boost-build/doc/src/faq.xml
+share/boost-build/doc/src/fragments.xml
share/boost-build/doc/src/howto.xml
share/boost-build/doc/src/install.xml
share/boost-build/doc/src/recipes.xml
share/boost-build/doc/src/reference.xml
+share/boost-build/doc/src/standalone.xml
+share/boost-build/doc/src/tasks.xml
share/boost-build/doc/src/tutorial.xml
share/boost-build/doc/src/userman.xml
+share/boost-build/doc/src/v1_vs_v2.xml
share/boost-build/doc/tools.html
-share/boost-build/doc/tracker.html
share/boost-build/doc/userman.pdf
share/boost-build/example/boost-build.jam
share/boost-build/example/customization/Jamfile
@@ -54,6 +57,13 @@
share/boost-build/example/customization/t2.verbatim
share/boost-build/example/customization/usage.verbatim
share/boost-build/example/customization/verbatim.jam
+share/boost-build/example/generate/Jamroot
+share/boost-build/example/generate/REAME.txt
+share/boost-build/example/generate/a.cpp
+share/boost-build/example/generator/Jamroot
+share/boost-build/example/generator/README.txt
+share/boost-build/example/generator/foo.gci
+share/boost-build/example/generator/soap.jam
share/boost-build/example/gettext/Jamfile
share/boost-build/example/gettext/main.cpp
share/boost-build/example/gettext/project-root.jam
@@ -67,26 +77,35 @@
share/boost-build/example/libraries/util/foo/Jamfile
share/boost-build/example/libraries/util/foo/bar.cpp
share/boost-build/example/libraries/util/foo/include/lib1.h
-share/boost-build/example/make/Jamfile
-share/boost-build/example/make/a.cpp
-share/boost-build/example/make/extlib/Jamfile
-share/boost-build/example/make/extlib/c.cpp
-share/boost-build/example/make/extlib/gcc.jam
-share/boost-build/example/make/extlib/project-root.jam
-share/boost-build/example/make/gcc.jam
-share/boost-build/example/make/lib/Jamfile
-share/boost-build/example/make/lib/b.cpp
-share/boost-build/example/make/project-root.jam
+share/boost-build/example/make/Jamroot
+share/boost-build/example/make/main_cpp.pro
share/boost-build/example/make/readme.txt
-share/boost-build/example/qt-ui/Jamfile
-share/boost-build/example/qt-ui/hello_world_widget.ui
-share/boost-build/example/qt-ui/main.cpp
-share/boost-build/example/qt-ui/project-root.jam
-share/boost-build/example/qt/Jamfile
-share/boost-build/example/qt/canvas.cpp
-share/boost-build/example/qt/canvas.h
-share/boost-build/example/qt/main.cpp
-share/boost-build/example/qt/project-root.jam
+share/boost-build/example/pch/Jamroot
+share/boost-build/example/pch/include/pch.hpp
+share/boost-build/example/pch/source/hello_world.cpp
+share/boost-build/example/python_modules/Jamroot
+share/boost-build/example/python_modules/python_helpers.jam
+share/boost-build/example/python_modules/python_helpers.py
+share/boost-build/example/python_modules/readme.txt
+share/boost-build/example/qt/README.txt
+share/boost-build/example/qt/qt3/hello/Jamroot
+share/boost-build/example/qt/qt3/hello/canvas.cpp
+share/boost-build/example/qt/qt3/hello/canvas.h
+share/boost-build/example/qt/qt3/hello/main.cpp
+share/boost-build/example/qt/qt3/moccable-cpp/Jamroot
+share/boost-build/example/qt/qt3/moccable-cpp/main.cpp
+share/boost-build/example/qt/qt3/uic/Jamroot
+share/boost-build/example/qt/qt3/uic/hello_world_widget.ui
+share/boost-build/example/qt/qt3/uic/main.cpp
+share/boost-build/example/qt/qt4/hello/Jamroot
+share/boost-build/example/qt/qt4/hello/arrow.cpp
+share/boost-build/example/qt/qt4/hello/arrow.h
+share/boost-build/example/qt/qt4/hello/main.cpp
+share/boost-build/example/qt/qt4/moccable-cpp/Jamroot
+share/boost-build/example/qt/qt4/moccable-cpp/main.cpp
+share/boost-build/example/qt/qt4/uic/Jamroot
+share/boost-build/example/qt/qt4/uic/hello_world_widget.ui
+share/boost-build/example/qt/qt4/uic/main.cpp
share/boost-build/example/variant/Jamfile
share/boost-build/example/variant/a.cpp
share/boost-build/example/variant/libs/Jamfile
@@ -107,6 +126,7 @@
share/boost-build/nightly.sh
share/boost-build/notes/README.txt
share/boost-build/notes/build_dir_option.txt
+share/boost-build/notes/relative_source_paths.txt
share/boost-build/options/help.jam
share/boost-build/release_procedure.txt
share/boost-build/roll.sh
@@ -127,12 +147,15 @@
share/boost-build/test/boostbook/a.hpp
share/boost-build/test/boostbook/docs.xml
share/boost-build/test/build_dir.py
+share/boost-build/test/build_file.py
+share/boost-build/test/build_no.py
share/boost-build/test/c_file.py
share/boost-build/test/chain.py
share/boost-build/test/check-arguments.jam
share/boost-build/test/check-bindrule.jam
share/boost-build/test/check-jam-patches.jam
share/boost-build/test/check-test-tools.jam
+share/boost-build/test/clean.py
share/boost-build/test/composite.py
share/boost-build/test/conditionals.py
share/boost-build/test/conditionals2.py
@@ -173,18 +196,24 @@
share/boost-build/test/direct-request-test/b_inverse.cpp
share/boost-build/test/direct-request-test/project-root.jam
share/boost-build/test/direct_request_test.py
+share/boost-build/test/disambiguation.py
share/boost-build/test/dll_path.py
share/boost-build/test/double_loading.py
share/boost-build/test/duplicate.py
share/boost-build/test/echo_args.jam
share/boost-build/test/empty.jam
+share/boost-build/test/example_customization.py
+share/boost-build/test/example_gettext.py
+share/boost-build/test/example_libraries.py
+share/boost-build/test/example_make.py
+share/boost-build/test/example_qt4.py
share/boost-build/test/expansion.py
share/boost-build/test/explicit.py
share/boost-build/test/gcc_runtime.py
share/boost-build/test/generators-test/Jamfile
share/boost-build/test/generators-test/a.cpp
share/boost-build/test/generators-test/b.cxx
-share/boost-build/test/generators-test/c.ui
+share/boost-build/test/generators-test/c.tui
share/boost-build/test/generators-test/d.wd
share/boost-build/test/generators-test/e.cpp
share/boost-build/test/generators-test/extra.jam
@@ -198,9 +227,11 @@
share/boost-build/test/generators-test/y.x_pro
share/boost-build/test/generators-test/z.cpp
share/boost-build/test/generators_test.py
-share/boost-build/test/glob.py
+share/boost-build/test/implicit_dependency.py
+share/boost-build/test/indirect_conditional.py
share/boost-build/test/inherit_toolset.py
share/boost-build/test/inline.py
+share/boost-build/test/lib_source_property.py
share/boost-build/test/library_chain.py
share/boost-build/test/library_order.py
share/boost-build/test/library_property.py
@@ -220,6 +251,7 @@
share/boost-build/test/ordered_properties.py
share/boost-build/test/out_of_tree.py
share/boost-build/test/path_features.py
+share/boost-build/test/pch.py
share/boost-build/test/prebuilt.py
share/boost-build/test/prebuilt/Jamfile
share/boost-build/test/prebuilt/ext/Jamfile
@@ -271,7 +303,9 @@
share/boost-build/test/project-test4/project-root.jam
share/boost-build/test/project-test4/readme.txt
share/boost-build/test/project_dependencies.py
+share/boost-build/test/project_glob.py
share/boost-build/test/project_root_constants.py
+share/boost-build/test/project_root_rule.py
share/boost-build/test/project_test1.py
share/boost-build/test/project_test3.py
share/boost-build/test/project_test4.py
@@ -293,6 +327,8 @@
share/boost-build/test/recursive.jam
share/boost-build/test/regression.py
share/boost-build/test/relative_sources.py
+share/boost-build/test/remove_requirement.py
+share/boost-build/test/resolution.py
share/boost-build/test/searched_lib.py
share/boost-build/test/skipping.py
share/boost-build/test/source_locations.py
@@ -363,6 +399,7 @@
share/boost-build/tools/boostbook.jam
share/boost-build/tools/borland.jam
share/boost-build/tools/builtin.jam
+share/boost-build/tools/cast.jam
share/boost-build/tools/common.jam
share/boost-build/tools/como-linux.jam
share/boost-build/tools/como-win.jam
@@ -370,29 +407,39 @@
share/boost-build/tools/cw-config.jam
share/boost-build/tools/cw.jam
share/boost-build/tools/darwin.jam
+share/boost-build/tools/dmc.jam
share/boost-build/tools/docutils.jam
+share/boost-build/tools/doxproc.py
share/boost-build/tools/doxygen-config.jam
share/boost-build/tools/doxygen.jam
share/boost-build/tools/fop.jam
share/boost-build/tools/fortran.jam
share/boost-build/tools/gcc.jam
+share/boost-build/tools/generate.jam
share/boost-build/tools/gettext.jam
share/boost-build/tools/gfortran.jam
+share/boost-build/tools/hp_cxx.jam
share/boost-build/tools/hpfortran.jam
share/boost-build/tools/ifort.jam
share/boost-build/tools/intel-linux.jam
share/boost-build/tools/intel-win.jam
share/boost-build/tools/intel.jam
-share/boost-build/tools/kylix.jam
share/boost-build/tools/lex.jam
share/boost-build/tools/make.jam
+share/boost-build/tools/mc.jam
+share/boost-build/tools/midl.jam
+share/boost-build/tools/mpi.jam
share/boost-build/tools/msvc-config.jam
share/boost-build/tools/msvc.jam
share/boost-build/tools/notfile.jam
share/boost-build/tools/package.jam
+share/boost-build/tools/pch.jam
share/boost-build/tools/python-config.jam
share/boost-build/tools/python.jam
+share/boost-build/tools/qcc.jam
share/boost-build/tools/qt.jam
+share/boost-build/tools/qt3.jam
+share/boost-build/tools/qt4.jam
share/boost-build/tools/quickbook-config.jam
share/boost-build/tools/quickbook.jam
share/boost-build/tools/rc.jam
@@ -401,11 +448,13 @@
share/boost-build/tools/sun.jam
share/boost-build/tools/symlink.jam
share/boost-build/tools/testing.jam
+share/boost-build/tools/types/asm.jam
share/boost-build/tools/types/cpp.jam
share/boost-build/tools/types/exe.jam
share/boost-build/tools/types/html.jam
share/boost-build/tools/types/lib.jam
share/boost-build/tools/types/obj.jam
+share/boost-build/tools/types/qt.jam
share/boost-build/tools/types/register.jam
share/boost-build/tools/types/rsp.jam
share/boost-build/tools/unix.jam
@@ -489,10 +538,19 @@
@dirrm share/boost-build/example/versioned
@dirrm share/boost-build/example/variant/libs
@dirrm share/boost-build/example/variant
-@dirrm share/boost-build/example/qt-ui
+@dirrm share/boost-build/example/qt/qt4/uic
+@dirrm share/boost-build/example/qt/qt4/moccable-cpp
+@dirrm share/boost-build/example/qt/qt4/hello
+@dirrm share/boost-build/example/qt/qt4
+@dirrm share/boost-build/example/qt/qt3/uic
+@dirrm share/boost-build/example/qt/qt3/moccable-cpp
+@dirrm share/boost-build/example/qt/qt3/hello
+@dirrm share/boost-build/example/qt/qt3
@dirrm share/boost-build/example/qt
-@dirrm share/boost-build/example/make/lib
-@dirrm share/boost-build/example/make/extlib
+@dirrm share/boost-build/example/python_modules
+@dirrm share/boost-build/example/pch/source
+@dirrm share/boost-build/example/pch/include
+@dirrm share/boost-build/example/pch
@dirrm share/boost-build/example/make
@dirrm share/boost-build/example/libraries/util/foo/include
@dirrm share/boost-build/example/libraries/util/foo
@@ -501,6 +559,8 @@
@dirrm share/boost-build/example/libraries
Home |
Main Index |
Thread Index |
Old Index