pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Complete rework of the Boost packages:
details: https://anonhg.NetBSD.org/pkgsrc/rev/ec5b7e081495
branches: trunk
changeset: 489826:ec5b7e081495
user: jmmv <jmmv%pkgsrc.org@localhost>
date: Sat Feb 26 22:48:34 2005 +0000
description:
Complete rework of the Boost packages:
- Drop devel/boost and devel/boost-thread.
- Add devel/boost-docs which includes all the documentation related to Boost
(previously included in devel/boost).
- Add devel/boost-build which includes bjam, the Boost.Build framework.
- Add devel/boost-headers which includes all the header files needed at build
time by programs using Boost (previously included in devel/boost).
- Add devel/boost-libs which includes all the binary libraries needed at build
and run time by programs using Boost (previously included in devel/boost and
devel/thread). All of them are multithreaded, to make things easier.
- devel/boost-python includes the Boost Python library (as it did before), but
now works, given that everything is threaded again.
- Drop our thread_user.hpp customization. Avoids some build failures that
appeared when the previous boost-thread package was not installed.
- Use static PLISTs.
- Install unversioned files. Makes things *a lot* easier when building stuff
outside pkgsrc.
- Add meta-pkgs/boost, a meta package that depends on all of the above.
Thanks go to jlam@ and tv@ for their comments.
While here, update to 1.32.0:
New Toolset Names
The names of some the Boost.Build toolsets have been changed to remove the "."
(dot) character and to fix some other naming inconsistencies. For example,
vc7.1 toolset was renamed to become vc-7_1. Please refer to the Supported
Toolsets section of the installation guide for the complete list of the current
toolset names. This change was made as a part of the effort to make the Boost
distribution compatible with ISO 9660 level 2 requirements.
New Libraries
* Assignment Library: Filling containers with constant or generated data
has never been easier, from Thorsten Ottosen.
* Minmax Library: Standard library extensions for simultaneous min/max and
min/max element computations, from Hervé Brönnimann.
* Multi-index Containers Library: Containers with multiple STL-compatible
access interfaces, from Joaquín M López Muñoz.
* Numeric Conversion Library: Optimized policy-based numeric conversions,
from Fernando Cacciola.
* Program Options Library: Access to configuration data given on command
line, in config files and other sources, from Vladimir Prus.
* Range Library: A new infrastructure for generic algorithms that builds
on top of the new iterator concepts, from Thorsten Ottosen.
* Serialization Library: Serialization/de-serialization of arbitrary C++
data structures to various formats including text, binary, and xml, from
Robert Ramey.
* String Algorithms Library: Collection of string related algorithms for
case conversion, trimming, find/replace operations and more, from Pavol
Droba.
* Tribool: 3-state boolean type library, from Doug Gregor.
Updated Libraries
* Compose: This deprecated library has been removed.
* Graph:
o Added bundled properties to the adjacency_list and adjacency_matrix
class templates, greatly simplifying the introduction of internal
vertex and edge properties.
o The LEDA graph adaptors have been ported to LEDA 4.5.
o Added algorithms for betweenness centrality and betweenness
centrality clustering.
o Added circle layout and undirected spring layout algorithms.
* MPL Library:
o Updated to use the Boost Software License.
o New documentation, including a complete reference manual.
o Major interface changes and improvements, many of which are not
backward compatible. Please refer to the 1.32 changelog for the
detailed information about upgrading to the new version.
* Python Library:
o Updated to use the Boost Software License.
o A new, better method of wrapping classes with virtual functions
has been implemented.
o Support for the new Python Bool type, thanks to Daniel Holth.
o Support for upcoming GCC symbol export control features have been
folded in, thanks to Niall Douglas.
o Improved support for std::auto_ptr-like types.
o Components used by other libraries have been moved out of
python/detail and into boost/detail to improve dependency
relationships.
o Miscellaneous bug fixes and compiler workarounds.
* Signals Library: Introduced deterministic slot ordering, permitting
slots to be connected at the beginning or end of slot groups or the slot
list itself. Combiners may safely have state and are accessible from the
signal.
* Utility: class template result_of added.
* Test Library:
o namespace names gets shorten; old one still supported till next
release
o added proper encoding of XML PCDATA
o support for wide string comparison implemented
For complete list of changes see Test Library release notes.
Regression tests
This release has been extensively tested on a variety of different compilers
and platforms. It is known to contain no regressions against the previous
reference release on the compilers and configurations tested. Please refer to
the corresponding regression reports to see how well your compiler performs on
the new Boost codebase.
diffstat:
devel/boost-build/DESCR | 5 +
devel/boost-build/Makefile | 22 +
devel/boost-build/PLIST | 2 +
devel/boost-build/bjam.mk | 28 +
devel/boost-build/buildlink3.mk | 19 +
devel/boost-build/toolset.mk | 13 +
devel/boost-docs/DESCR | 4 +
devel/boost-docs/Makefile | 27 +
devel/boost-docs/PLIST | 3759 +++++++++++++++++++++++++
devel/boost-headers/DESCR | 6 +
devel/boost-headers/Makefile | 22 +
devel/boost-headers/PLIST | 3143 +++++++++++++++++++++
devel/boost-headers/buildlink3.mk | 19 +
devel/boost-libs/DESCR | 6 +
devel/boost-libs/Makefile | 21 +
devel/boost-libs/PLIST | 19 +
devel/boost-libs/buildlink3.mk | 20 +
devel/boost-python/DESCR | 7 +-
devel/boost-python/Makefile | 40 +-
devel/boost-python/PLIST | 4 +-
devel/boost-python/buildlink3.mk | 10 +-
devel/boost-thread/DESCR | 3 -
devel/boost-thread/Makefile | 28 -
devel/boost-thread/PLIST | 2 -
devel/boost-thread/buildlink3.mk | 21 -
devel/boost/DESCR | 3 -
devel/boost/Makefile | 39 -
devel/boost/Makefile.common | 54 -
devel/boost/PLIST | 5401 -------------------------------------
devel/boost/buildlink3.mk | 21 -
devel/boost/distinfo | 7 -
devel/boost/patches/patch-aa | 26 -
devel/boost/patches/patch-ab | 17 -
devel/boost/toolset.mk | 14 -
doc/CHANGES | 9 +-
doc/TODO | 3 +-
meta-pkgs/boost/DESCR | 4 +
meta-pkgs/boost/Makefile | 34 +
meta-pkgs/boost/Makefile.common | 67 +
meta-pkgs/boost/PLIST | 2 +
meta-pkgs/boost/distinfo | 7 +
meta-pkgs/boost/patches/patch-aa | 26 +
meta-pkgs/boost/patches/patch-ab | 13 +
43 files changed, 7320 insertions(+), 5677 deletions(-)
diffs (truncated from 13206 to 300 lines):
diff -r 740773a0715e -r ec5b7e081495 devel/boost-build/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/boost-build/DESCR Sat Feb 26 22:48:34 2005 +0000
@@ -0,0 +1,5 @@
+Boost is a set of free, peer-reviewed, C++ libraries. The emphasis is on
+portable libraries which work well with the ISO C++ Standard Library.
+
+This package provides the Boost.Build module, which includes bjam. This
+is the tool used to build Boost itself, and is based on Perforce Jam.
diff -r 740773a0715e -r ec5b7e081495 devel/boost-build/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/boost-build/Makefile Sat Feb 26 22:48:34 2005 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2005/02/26 22:48:35 jmmv Exp $
+#
+
+BOOST_PACKAGE= build
+BOOST_COMMENT= (Boost.Build framework)
+BOOST_CONFIG= no
+
+.include "../../meta-pkgs/boost/Makefile.common"
+
+.include "toolset.mk"
+
+INSTALLATION_DIRS= bin
+
+do-build:
+ @cd ${WRKSRC}/tools/build/jam_src && \
+ ${SETENV} ${MAKE_ENV} ${SH} ./build.sh ${BOOST_TOOLSET}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/tools/build/jam_src/bin.*/bjam \
+ ${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
diff -r 740773a0715e -r ec5b7e081495 devel/boost-build/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/boost-build/PLIST Sat Feb 26 22:48:34 2005 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2005/02/26 22:48:35 jmmv Exp $
+bin/bjam
diff -r 740773a0715e -r ec5b7e081495 devel/boost-build/bjam.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/boost-build/bjam.mk Sat Feb 26 22:48:34 2005 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: bjam.mk,v 1.1 2005/02/26 22:48:35 jmmv Exp $
+#
+
+USE_BUILDLINK3= YES
+.include "../../devel/boost-build/buildlink3.mk"
+
+.include "toolset.mk"
+.include "../../mk/bsd.prefs.mk"
+
+BJAM= ${BUILDLINK_PREFIX.boost-build}/bin/bjam
+BJAM_ARGS+= --builddir=${WRKSRC}/build
+BJAM_ARGS+= --layout=system
+BJAM_ARGS+= --prefix=${PREFIX}
+BJAM_ARGS+= -sBUILD=${BJAM_BUILD:Q}
+BJAM_ARGS+= -sTOOLS=${BOOST_TOOLSET}
+.if defined(BOOST_DEBUG) && !empty(BOOST_DEBUG:M[Yy][Ee][Ss])
+BJAM_BUILD+= debug
+.endif
+BJAM_BUILD+= <linkflags>-Wl,-R${PREFIX}/lib
+BJAM_BUILD+= <threading>multi
+BJAM_BUILD+= release
+BJAM_CMD= ${SETENV} ${MAKE_ENV} ${BJAM} ${BJAM_ARGS}
+
+bjam-build:
+ @cd ${WRKSRC} && ${BJAM_CMD} stage
+
+bjam-install:
+ @cd ${WRKSRC} && ${BJAM_CMD} install
diff -r 740773a0715e -r ec5b7e081495 devel/boost-build/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/boost-build/buildlink3.mk Sat Feb 26 22:48:34 2005 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2005/02/26 22:48:35 jmmv Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+BOOST_BUILD_BUILDLINK3_MK:= ${BOOST_BUILD_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= boost-build
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nboost-build}
+BUILDLINK_PACKAGES+= boost-build
+
+.if !empty(BOOST_BUILD_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.boost-build+= boost-build>=1.32.0
+BUILDLINK_DEPMETHOD.boost-build?= build
+BUILDLINK_PKGSRCDIR.boost-build?= ../../devel/boost-build
+.endif # BOOST_BUILD_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff -r 740773a0715e -r ec5b7e081495 devel/boost-build/toolset.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/boost-build/toolset.mk Sat Feb 26 22:48:34 2005 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: toolset.mk,v 1.1 2005/02/26 22:48:35 jmmv Exp $
+
+.include "../../mk/compiler.mk"
+
+.if !empty(PKGSRC_COMPILER:Mgcc)
+BOOST_TOOLSET= gcc
+.elif !empty(PKGSRC_COMPILER:Mmipspro*)
+BOOST_TOOLSET= mipspro
+.elif !empty(PKGSRC_COMPILER:Msunpro)
+BOOST_TOOLSET= sunpro
+.else
+BROKEN+= "Unknown compiler ${PKGSRC_COMPILER} for Boost"
+.endif
diff -r 740773a0715e -r ec5b7e081495 devel/boost-docs/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/boost-docs/DESCR Sat Feb 26 22:48:34 2005 +0000
@@ -0,0 +1,4 @@
+Boost is a set of free, peer-reviewed, C++ libraries. The emphasis is on
+portable libraries which work well with the ISO C++ Standard Library.
+
+This package provides all the documentation that accompanies Boost.
diff -r 740773a0715e -r ec5b7e081495 devel/boost-docs/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/boost-docs/Makefile Sat Feb 26 22:48:34 2005 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2005/02/26 22:48:35 jmmv Exp $
+#
+
+BOOST_PACKAGE= docs
+BOOST_COMMENT= (documentation)
+BOOST_CONFIG= no
+
+.include "../../meta-pkgs/boost/Makefile.common"
+
+DOCDIR= ${PREFIX}/share/doc/boost
+
+NO_BUILD= # defined
+
+do-install:
+ ${INSTALL_DATA_DIR} ${DOCDIR}
+ cd ${WRKSRC} && ${PAX} -rw -pm \
+ -s':^.*/build$$::' \
+ -s':^.*/build/.*$$::' \
+ -s':^libs/.*/test$$::' \
+ -s':^libs/.*/test/.*$$::' \
+ *.png *.css *.htm libs more ${DOCDIR}
+ ${FIND} ${DOCDIR} \
+ -type f -print | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP}
+ ${FIND} ${DOCDIR} \
+ -type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE}
+
+.include "../../mk/bsd.pkg.mk"
diff -r 740773a0715e -r ec5b7e081495 devel/boost-docs/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/boost-docs/PLIST Sat Feb 26 22:48:34 2005 +0000
@@ -0,0 +1,3759 @@
+@comment $NetBSD: PLIST,v 1.1 2005/02/26 22:48:35 jmmv Exp $
+share/doc/boost/boost.css
+share/doc/boost/boost.png
+share/doc/boost/google_logo_40wht.png
+share/doc/boost/index.htm
+share/doc/boost/libs/algorithm/minmax/doc/minmax_benchs.html
+share/doc/boost/libs/algorithm/minmax/doc/minmax_synopsis.html
+share/doc/boost/libs/algorithm/minmax/example/Jamfile
+share/doc/boost/libs/algorithm/minmax/example/minmax_ex.cpp
+share/doc/boost/libs/algorithm/minmax/example/minmax_timer.cpp
+share/doc/boost/libs/algorithm/minmax/index.html
+share/doc/boost/libs/algorithm/string/doc/Jamfile.v2
+share/doc/boost/libs/algorithm/string/doc/concept.xml
+share/doc/boost/libs/algorithm/string/doc/credits.xml
+share/doc/boost/libs/algorithm/string/doc/design.xml
+share/doc/boost/libs/algorithm/string/doc/environment.xml
+share/doc/boost/libs/algorithm/string/doc/external_concepts.html
+share/doc/boost/libs/algorithm/string/doc/intro.xml
+share/doc/boost/libs/algorithm/string/doc/quickref.xml
+share/doc/boost/libs/algorithm/string/doc/rationale.xml
+share/doc/boost/libs/algorithm/string/doc/string_algo.xml
+share/doc/boost/libs/algorithm/string/doc/usage.xml
+share/doc/boost/libs/algorithm/string/example/Jamfile
+share/doc/boost/libs/algorithm/string/example/conv_example.cpp
+share/doc/boost/libs/algorithm/string/example/find_example.cpp
+share/doc/boost/libs/algorithm/string/example/predicate_example.cpp
+share/doc/boost/libs/algorithm/string/example/regex_example.cpp
+share/doc/boost/libs/algorithm/string/example/replace_example.cpp
+share/doc/boost/libs/algorithm/string/example/rle_example.cpp
+share/doc/boost/libs/algorithm/string/example/split_example.cpp
+share/doc/boost/libs/algorithm/string/example/trim_example.cpp
+share/doc/boost/libs/algorithm/string/index.html
+share/doc/boost/libs/algorithm/sublibs
+share/doc/boost/libs/any/any_test.cpp
+share/doc/boost/libs/any/doc/any.xml
+share/doc/boost/libs/any/index.html
+share/doc/boost/libs/any/test.hpp
+share/doc/boost/libs/array/array1.cpp
+share/doc/boost/libs/array/array2.cpp
+share/doc/boost/libs/array/array3.cpp
+share/doc/boost/libs/array/array4.cpp
+share/doc/boost/libs/array/array5.cpp
+share/doc/boost/libs/array/doc/array.xml
+share/doc/boost/libs/array/index.html
+share/doc/boost/libs/array/print.hpp
+share/doc/boost/libs/assign/doc/email_example.html
+share/doc/boost/libs/assign/doc/index.html
+share/doc/boost/libs/assign/doc/multi_index_container.html
+share/doc/boost/libs/assign/doc/my_vector_example.html
+share/doc/boost/libs/assign/doc/style.css
+share/doc/boost/libs/assign/index.html
+share/doc/boost/libs/bind/bind.html
+share/doc/boost/libs/bind/bind_as_compose.cpp
+share/doc/boost/libs/bind/bind_visitor.cpp
+share/doc/boost/libs/bind/doc/ref.xml
+share/doc/boost/libs/bind/index.html
+share/doc/boost/libs/bind/mem_fn.html
+share/doc/boost/libs/bind/ref.html
+share/doc/boost/libs/compatibility/generate_cpp_c_headers.py
+share/doc/boost/libs/compatibility/index.html
+share/doc/boost/libs/compose/index.htm
+share/doc/boost/libs/concept_check/Jamfile
+share/doc/boost/libs/concept_check/bad_error_eg.cpp
+share/doc/boost/libs/concept_check/bibliography.htm
+share/doc/boost/libs/concept_check/class_concept_check_test.cpp
+share/doc/boost/libs/concept_check/class_concept_fail_expected.cpp
+share/doc/boost/libs/concept_check/concept_check.htm
+share/doc/boost/libs/concept_check/concept_check_fail_expected.cpp
+share/doc/boost/libs/concept_check/concept_check_test.cpp
+share/doc/boost/libs/concept_check/concept_covering.htm
+share/doc/boost/libs/concept_check/creating_concepts.htm
+share/doc/boost/libs/concept_check/doc/Jamfile.v2
+share/doc/boost/libs/concept_check/doc/reference/Assignable.xml
+share/doc/boost/libs/concept_check/doc/reference/BidirectionalIterator.xml
+share/doc/boost/libs/concept_check/doc/reference/CopyConstructible.xml
+share/doc/boost/libs/concept_check/doc/reference/DefaultConstructible.xml
+share/doc/boost/libs/concept_check/doc/reference/EqualityComparable.xml
+share/doc/boost/libs/concept_check/doc/reference/ForwardIterator.xml
+share/doc/boost/libs/concept_check/doc/reference/InputIterator.xml
+share/doc/boost/libs/concept_check/doc/reference/LessThanComparable.xml
+share/doc/boost/libs/concept_check/doc/reference/OutputIterator.xml
+share/doc/boost/libs/concept_check/doc/reference/RandomAccessIterator.xml
+share/doc/boost/libs/concept_check/doc/reference/SignedInteger.xml
+share/doc/boost/libs/concept_check/doc/reference/concepts.xml
+share/doc/boost/libs/concept_check/implementation.htm
+share/doc/boost/libs/concept_check/index.html
+share/doc/boost/libs/concept_check/prog_with_concepts.htm
+share/doc/boost/libs/concept_check/reference.htm
+share/doc/boost/libs/concept_check/stl_concept_check.cpp
+share/doc/boost/libs/concept_check/stl_concept_covering.cpp
+share/doc/boost/libs/concept_check/using_concept_check.htm
+share/doc/boost/libs/config/config.htm
+share/doc/boost/libs/config/configure
+share/doc/boost/libs/config/index.html
+share/doc/boost/libs/config/tools/configure.in
+share/doc/boost/libs/config/tools/generate
+share/doc/boost/libs/conversion/cast.htm
+share/doc/boost/libs/conversion/cast_test.cpp
+share/doc/boost/libs/conversion/index.html
+share/doc/boost/libs/conversion/lexical_cast.htm
+share/doc/boost/libs/conversion/lexical_cast_test.cpp
+share/doc/boost/libs/conversion/numeric_cast_test.cpp
+share/doc/boost/libs/conversion/test.hpp
+share/doc/boost/libs/crc/crc.html
+share/doc/boost/libs/crc/crc_example.cpp
+share/doc/boost/libs/crc/crc_test.cpp
+share/doc/boost/libs/crc/index.html
+share/doc/boost/libs/date_time/data/README.zone_spec_csv_file
+share/doc/boost/libs/date_time/data/date_time_zonespec.csv
+share/doc/boost/libs/date_time/doc/index.html
+share/doc/boost/libs/date_time/doc/time_duration_inherit.png
+share/doc/boost/libs/date_time/example/Jamfile
+share/doc/boost/libs/date_time/example/gregorian/Jamfile.v2
+share/doc/boost/libs/date_time/example/gregorian/date_serialization_demo.cpp
+share/doc/boost/libs/date_time/example/gregorian/dates_as_strings.cpp
+share/doc/boost/libs/date_time/example/gregorian/days_alive.cpp
+share/doc/boost/libs/date_time/example/gregorian/days_between_new_years.cpp
+share/doc/boost/libs/date_time/example/gregorian/days_since_year_start.cpp
+share/doc/boost/libs/date_time/example/gregorian/days_till_new_year.cpp
+share/doc/boost/libs/date_time/example/gregorian/end_of_month_day.cpp
+share/doc/boost/libs/date_time/example/gregorian/localization.cpp
+share/doc/boost/libs/date_time/example/gregorian/month_add.cpp
+share/doc/boost/libs/date_time/example/gregorian/period_calc.cpp
+share/doc/boost/libs/date_time/example/gregorian/print_holidays.cpp
+share/doc/boost/libs/date_time/example/gregorian/print_month.cpp
+share/doc/boost/libs/date_time/example/posix_time/Jamfile.v2
+share/doc/boost/libs/date_time/example/posix_time/local_utc_conversion.cpp
+share/doc/boost/libs/date_time/example/posix_time/print_hours.cpp
+share/doc/boost/libs/date_time/example/posix_time/time_math.cpp
+share/doc/boost/libs/date_time/example/posix_time/time_periods.cpp
+share/doc/boost/libs/date_time/index.html
+share/doc/boost/libs/date_time/src/date_time.doc
+share/doc/boost/libs/date_time/src/gregorian/date_generators.cpp
+share/doc/boost/libs/date_time/src/gregorian/greg_month.cpp
+share/doc/boost/libs/date_time/src/gregorian/greg_names.hpp
+share/doc/boost/libs/date_time/src/gregorian/greg_weekday.cpp
+share/doc/boost/libs/date_time/src/gregorian/gregorian_types.cpp
+share/doc/boost/libs/date_time/src/posix_time/posix_time_types.cpp
+share/doc/boost/libs/date_time/xmldoc/Jamfile.v2
+share/doc/boost/libs/date_time/xmldoc/README
+share/doc/boost/libs/date_time/xmldoc/acknowledgements.xml
+share/doc/boost/libs/date_time/xmldoc/buildinfo.xml
+share/doc/boost/libs/date_time/xmldoc/calculations.xml
+share/doc/boost/libs/date_time/xmldoc/catalog.xml
Home |
Main Index |
Thread Index |
Old Index