summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2007-06-06 19:25:19 +0000
committerTiziano Müller <dev-zero@gentoo.org>2007-06-06 19:25:19 +0000
commit08ddfbff1eef7ec2ac16941cea0b75d56704dfd6 (patch)
treed3d698ed68767ae7c28725a80194f59792d987dd /dev-libs/boost
parentVersion bump. (diff)
downloadhistorical-08ddfbff1eef7ec2ac16941cea0b75d56704dfd6.tar.gz
historical-08ddfbff1eef7ec2ac16941cea0b75d56704dfd6.tar.bz2
historical-08ddfbff1eef7ec2ac16941cea0b75d56704dfd6.zip
Version bump.
Package-Manager: portage-2.1.2.9
Diffstat (limited to 'dev-libs/boost')
-rw-r--r--dev-libs/boost/ChangeLog8
-rw-r--r--dev-libs/boost/Manifest24
-rw-r--r--dev-libs/boost/boost-1.34.0.ebuild (renamed from dev-libs/boost/boost-1.34_pre20061214.ebuild)117
-rw-r--r--dev-libs/boost/files/digest-boost-1.34.03
-rw-r--r--dev-libs/boost/files/digest-boost-1.34_pre200612143
5 files changed, 124 insertions, 31 deletions
diff --git a/dev-libs/boost/ChangeLog b/dev-libs/boost/ChangeLog
index c51363a3ad58..37c10f4145f8 100644
--- a/dev-libs/boost/ChangeLog
+++ b/dev-libs/boost/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/boost
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/ChangeLog,v 1.109 2007/02/20 20:43:00 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/ChangeLog,v 1.110 2007/06/06 19:25:19 dev-zero Exp $
+
+*boost-1.34.0 (06 Jun 2007)
+
+ 06 Jun 2007; Tiziano Müller <dev-zero@gentoo.org>
+ -boost-1.34_pre20061214.ebuild, +boost-1.34.0.ebuild:
+ Version bump.
20 Feb 2007; Tiziano Müller <dev-zero@gentoo.org> boost-1.33.1-r1.ebuild:
Using check-reqs to check for enough free diskspace for building tests
diff --git a/dev-libs/boost/Manifest b/dev-libs/boost/Manifest
index 592cab5744c1..4a247d7f9f5f 100644
--- a/dev-libs/boost/Manifest
+++ b/dev-libs/boost/Manifest
@@ -11,7 +11,7 @@ MD5 1d43f6ee1fc426f1ddcb4aafc6b77b9b files/random-Jamfile 355
RMD160 478b592e9d33d371b07e5364e63512c8208263bf files/random-Jamfile 355
SHA256 7dc71ab8b862ccd5ea9c21c42557adfe0c711ea7fbe7faa47328a37aa84bc096 files/random-Jamfile 355
DIST boost_1_33_1.tar.bz2 11507161 RMD160 3d5999d321b558f74d786bec52ee1b1fcd7e7152 SHA1 22682f75ff0d1ea548688e78c8cca83d599ca576 SHA256 6232e93205acbc8c705f44f15977aae158550c99a384f41606cff26c16393be0
-DIST boost_1_34_pre20061214.tar.bz2 12357020 RMD160 51a96ef3dc28b4bd1d5fc3c295a4a3f874fe59fa SHA1 62e6fc5ea23aec68e26282068e950c0ca035f846 SHA256 4c88805afe6b47366d960d878eec8a6e0e7f40a7f9122a7d877020e9102d0e49
+DIST boost_1_34_0.tar.bz2 13021700 RMD160 2297f8093e0b2ecb8d52dd9734f149a073136d8a SHA1 d2fdb4535a13566917fe3d8377b017f094933641 SHA256 455cb8fa41b759272768257c2e7bdc5c47ec113245dfa533f275e787a855efd2
EBUILD boost-1.33.1-r1.ebuild 7040 RMD160 67e18fb6836914ce49e3ee6cacb7ed7f25489cd3 SHA1 76c774027a8e74c072991bb1c928eeae94c016b1 SHA256 bcbb766b08efd63f646eb25bc5ee04c42b03a922d7ba89658752e04cad017413
MD5 f046cd50e69d0f5a594a6f9bc344affe boost-1.33.1-r1.ebuild 7040
RMD160 67e18fb6836914ce49e3ee6cacb7ed7f25489cd3 boost-1.33.1-r1.ebuild 7040
@@ -20,14 +20,14 @@ EBUILD boost-1.33.1.ebuild 5698 RMD160 6c77b00c3027e82a9753419446d57fd489b93a5e
MD5 85e241bdaa449cd9fd1f1dfd99915f64 boost-1.33.1.ebuild 5698
RMD160 6c77b00c3027e82a9753419446d57fd489b93a5e boost-1.33.1.ebuild 5698
SHA256 40ca99406b69fc646969eade68e3363279218df5fce358ec9d7ad98b289dc0f5 boost-1.33.1.ebuild 5698
-EBUILD boost-1.34_pre20061214.ebuild 3851 RMD160 fe475d7c04c74b975262c602288def1c34223e7f SHA1 69f3b827170f9cff95ab7949a02af9538bf14ae7 SHA256 cbf5b683dad117032b4e17e91ebc29f7d908caa95af0febd00e07bde876bd038
-MD5 f37a63a2720f7dd8e0075f6eed86d3d9 boost-1.34_pre20061214.ebuild 3851
-RMD160 fe475d7c04c74b975262c602288def1c34223e7f boost-1.34_pre20061214.ebuild 3851
-SHA256 cbf5b683dad117032b4e17e91ebc29f7d908caa95af0febd00e07bde876bd038 boost-1.34_pre20061214.ebuild 3851
-MISC ChangeLog 14886 RMD160 114ced7d0e6cf1e7569fa3d3bce3250545898ed8 SHA1 3e0e20c053e48e5c0a1f6dfd40f7c2415a335756 SHA256 34baaf29bc10fc797f3956501656f7d4ab0da5b02f7b01a97be5e4fc56e0b20e
-MD5 3b1ead98f286a4bcb35abd678e19a805 ChangeLog 14886
-RMD160 114ced7d0e6cf1e7569fa3d3bce3250545898ed8 ChangeLog 14886
-SHA256 34baaf29bc10fc797f3956501656f7d4ab0da5b02f7b01a97be5e4fc56e0b20e ChangeLog 14886
+EBUILD boost-1.34.0.ebuild 6257 RMD160 d16b3aeab15f1b047fc3bb01c72fb6d0dcce62f8 SHA1 f856f7c3036b835f9e5858cc196d35e6c91251b5 SHA256 d9c0998da3aa64cab26dd617ce5c4a377fba8bd61e19c44c9151302002b9c9a4
+MD5 abc13d9059d4b69109ef4dcc6a46969f boost-1.34.0.ebuild 6257
+RMD160 d16b3aeab15f1b047fc3bb01c72fb6d0dcce62f8 boost-1.34.0.ebuild 6257
+SHA256 d9c0998da3aa64cab26dd617ce5c4a377fba8bd61e19c44c9151302002b9c9a4 boost-1.34.0.ebuild 6257
+MISC ChangeLog 15041 RMD160 208b4bebd57d8ca685e7e8df14fb9476ed967c15 SHA1 1523acd3da140a82c63ecce8191cd06fa0ebb55d SHA256 3a1fc33c472e732967162418e868cd62c053e06315099cff98851558897f074f
+MD5 1693c318494d632317bdebf9364887a1 ChangeLog 15041
+RMD160 208b4bebd57d8ca685e7e8df14fb9476ed967c15 ChangeLog 15041
+SHA256 3a1fc33c472e732967162418e868cd62c053e06315099cff98851558897f074f ChangeLog 15041
MISC metadata.xml 349 RMD160 d25d9702dc4a5438f4bf5f7a9e9fc1b0664b6bdd SHA1 042144f72d878c355a55ad72a5212b2c2db88b9a SHA256 17524a0d3400af3c713289c5cf1f713cf63619264b9c6b535be3e2d543512cf6
MD5 b0f631e883fed00f233ff27ce7ceb93d metadata.xml 349
RMD160 d25d9702dc4a5438f4bf5f7a9e9fc1b0664b6bdd metadata.xml 349
@@ -38,6 +38,6 @@ SHA256 81d215f8a743fe6c248ca79c782decf96967f883a5e015840cdea311556a278b files/di
MD5 afef39b54f8c7050345e448b9cfef207 files/digest-boost-1.33.1-r1 247
RMD160 be54469c475e8d818c7af17b21f0d6bfc8bb328e files/digest-boost-1.33.1-r1 247
SHA256 81d215f8a743fe6c248ca79c782decf96967f883a5e015840cdea311556a278b files/digest-boost-1.33.1-r1 247
-MD5 4d2c7622840a8822a22de0b6b476a878 files/digest-boost-1.34_pre20061214 277
-RMD160 9a9df1d0836e4228bb0555168feaec083d916c49 files/digest-boost-1.34_pre20061214 277
-SHA256 06642f8f05261ead16839bb8350548064c469dba0f16992c748e9a3c2b0b0f46 files/digest-boost-1.34_pre20061214 277
+MD5 e510e76996ad15f10d2eebe80282d2a3 files/digest-boost-1.34.0 247
+RMD160 cc7660c3269f93cc7199ff0dd23b627ec5a16a4c files/digest-boost-1.34.0 247
+SHA256 e6ddb1f3228847ac03c8e2dfd4be96c94820020f987ea7d817caa474b1ea2b74 files/digest-boost-1.34.0 247
diff --git a/dev-libs/boost/boost-1.34_pre20061214.ebuild b/dev-libs/boost/boost-1.34.0.ebuild
index 3f20e9bc9aee..af9b7c4955cd 100644
--- a/dev-libs/boost/boost-1.34_pre20061214.ebuild
+++ b/dev-libs/boost/boost-1.34.0.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.34_pre20061214.ebuild,v 1.4 2007/02/20 20:32:25 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.34.0.ebuild,v 1.1 2007/06/06 19:25:19 dev-zero Exp $
-inherit distutils flag-o-matic multilib toolchain-funcs versionator
+inherit distutils flag-o-matic multilib toolchain-funcs versionator check-reqs
KEYWORDS="~amd64 ~x86"
@@ -10,10 +10,10 @@ MY_P=${PN}_$(replace_all_version_separators _)
DESCRIPTION="Boost Libraries for C++"
HOMEPAGE="http://www.boost.org/"
-SRC_URI="http://dev.gentoo.org/~dev-zero/distfiles/${MY_P}.tar.bz2"
+SRC_URI="mirror://sourceforge/boost/${MY_P}.tar.bz2"
LICENSE="freedist Boost-1.0"
SLOT="0"
-IUSE="debug doc icc icu pyste tools userland_Darwin"
+IUSE="debug doc icu pyste tools userland_Darwin"
DEPEND="icu? ( >=dev-libs/icu-3.2 )
sys-libs/zlib
@@ -23,12 +23,35 @@ RDEPEND="${DEPEND}
S=${WORKDIR}/${MY_P}
+# Maintainer Information
+# ToDo:
+# - gccxml needed by pyste is broken with >=gcc-4.1.1 (bug #147976)
+# - write a patch to support /dev/urandom on FreeBSD and OSX (see below)
+
+pkg_setup() {
+ if has test ${FEATURES} ; then
+ CHECKREQS_DISK_BUILD="1024"
+ check_reqs
+
+ ewarn "The tests may take several hours on a recent machine"
+ ewarn "but they will not fail (unless something weird happens ;-)"
+ ewarn "This is because the tests depend on the used compiler/-version"
+ ewarn "and the platform and upstream says that this is normal."
+ ewarn "If you are interested in the results, please take a look at the"
+ ewarn "generated results page:"
+ ewarn " ${ROOT}usr/share/doc/${PF}/status/cs-$(uname).html"
+ ebeep 5
+
+ fi
+}
+
src_unpack() {
unpack ${A}
cd "${S}"
rm boost-build.jam
+ # This enables building the boost.random library with /dev/urandom support
if ! use userland_Darwin ; then
mkdir -p libs/random/build
cp "${FILESDIR}/random-Jamfile" libs/random/build/Jamfile.v2
@@ -38,6 +61,15 @@ src_unpack() {
generate_options() {
LINK_OPTIONS="shared static"
+ # Maintainer information:
+ # The debug-symbols=none and optimization=none
+ # are not official upstream flags but a Gentoo
+ # specific patch to make sure that all our
+ # CXXFLAGS/LDFLAGS are being respected.
+ # Using optimization=off would for example add
+ # "-O0" and override "-O2" set by the user.
+ # Please take a look at the boost-build ebuild
+ # for more infomration.
if ! use debug ; then
OPTIONS="release debug-symbols=none"
else
@@ -45,10 +77,10 @@ generate_options() {
fi
OPTIONS="${OPTIONS} optimization=none"
- OPTIONS="${OPTIONS} threading=single,multi"
use icu && OPTIONS="${OPTIONS} -sHAVE_ICU=1 -sICU_PATH=/usr"
+ OPTIONS="${OPTIONS} --user-config=${S}/user-config.jam"
}
generate_userconfig() {
@@ -56,10 +88,7 @@ generate_userconfig() {
distutils_python_version
local compiler compilerVersion compilerExecutable
- if use icc ; then
- compiler=intel-linux
- compilerExecutable=icc
- elif use userland_Darwin ; then
+ if use userland_Darwin ; then
compiler=darwin
compilerExecutable=c++
append-ldflags -ldl
@@ -69,7 +98,7 @@ generate_userconfig() {
compilerExecutable=$(tc-getCXX)
fi
- cat > "${HOME}/user-config.jam" << __EOF__
+ cat > "${S}/user-config.jam" << __EOF__
import toolset : using ;
import toolset : flags ;
using ${compiler} : ${compilerVersion} : ${compilerExecutable} : <cxxflags>"${CXXFLAGS}" <linkflags>"${LDFLAGS}" ;
@@ -85,15 +114,17 @@ src_compile() {
generate_userconfig
generate_options
+ elog "Using the following options to build: "
+ elog " ${OPTIONS}"
+
export BOOST_ROOT=${S}
export BOOST_BUILD_PATH=/usr/share/boost-build
- # Note: The line "debug-symbols=on" only adds '-g' to compiler and linker invocation
- # and prevents boost-build from stripping the libraries/binaries
for linkoption in ${LINK_OPTIONS} ; do
einfo "Building ${linkoption} libraries"
bjam ${NUMJOBS} \
${OPTIONS} \
+ threading=single,multi \
runtime-link=${linkoption} link=${linkoption} \
--prefix="${D}/usr" \
--layout=system \
@@ -110,12 +141,23 @@ src_compile() {
# We have to set optimization to -O0 or -O1 to work around a gcc-bug
# optimization=off adds -O0 to the compiler call and overwrites our settings.
bjam ${NUMJOBS} \
- release \
- debug-symbols=none \
+ release debug-symbols=none \
optimization=off \
--prefix="${D}/usr" \
- --layout=system || die "building tools failed"
+ --layout=system \
+ --user-config="${S}/user-config.jam" \
+ || die "building tools failed"
fi
+
+ if has test ${FEATURES} ; then
+ cd "${S}/tools/regression/build"
+ bjam \
+ ${OPTIONS} \
+ --prefix="${D}/usr" \
+ --layout=system \
+ || die "building regression test helpers failed"
+ fi
+
}
src_install () {
@@ -128,6 +170,7 @@ src_install () {
for linkoption in ${LINK_OPTIONS} ; do
bjam \
${OPTIONS} \
+ threading=single,multi \
runtime-link=${linkoption} link=${linkoption} \
--prefix="${D}/usr" \
--includedir="${D}/usr/include" \
@@ -162,4 +205,48 @@ src_install () {
doins -r share
fi
+ if has test ${FEATURES} ; then
+ cd "${S}/status"
+ docinto status
+ dohtml *.{html,gif} ../boost.png
+ dodoc regress.log
+ fi
+}
+
+src_test() {
+ generate_options
+
+ export BOOST_ROOT=${S}
+ export BOOST_BUILD_PATH=/usr/share/boost-build
+
+ cd "${S}/status"
+
+ # The following is largely taken from tools/regression/run_tests.sh,
+ # but adapted to our needs.
+
+ # Run the tests & write them into a file for postprocessing
+ bjam \
+ ${OPTIONS} \
+ --dump-tests 2>&1 | tee regress.log
+
+ # Postprocessing
+ cat regress.log | "${S}/dist/bin/process_jam_log" --v2
+ if test $? != 0 ; then
+ die "Postprocessing the build log failed"
+ fi
+
+ cat > "${S}/status/comment.html" <<- __EOF__
+ <p>Tests are run on a <a href="http://www.gentoo.org">Gentoo</a> system.</p>
+__EOF__
+
+ # Generate the build log html summary page
+ "${S}/dist/bin/compiler_status" --v2 \
+ --comment "${S}/status/comment.html" "${S}" \
+ cs-$(uname).html cs-$(uname)-links.html
+ if test $? != 0 ; then
+ die "Generating the build log html summary page failed"
+ fi
+
+ # And do some cosmetic fixes :)
+ sed -i -e 's|../boost.png|boost.png|' *.html
}
diff --git a/dev-libs/boost/files/digest-boost-1.34.0 b/dev-libs/boost/files/digest-boost-1.34.0
new file mode 100644
index 000000000000..792d3db7556c
--- /dev/null
+++ b/dev-libs/boost/files/digest-boost-1.34.0
@@ -0,0 +1,3 @@
+MD5 ed5b9291ffad776f8757a916e1726ad0 boost_1_34_0.tar.bz2 13021700
+RMD160 2297f8093e0b2ecb8d52dd9734f149a073136d8a boost_1_34_0.tar.bz2 13021700
+SHA256 455cb8fa41b759272768257c2e7bdc5c47ec113245dfa533f275e787a855efd2 boost_1_34_0.tar.bz2 13021700
diff --git a/dev-libs/boost/files/digest-boost-1.34_pre20061214 b/dev-libs/boost/files/digest-boost-1.34_pre20061214
deleted file mode 100644
index ed25c5f3af30..000000000000
--- a/dev-libs/boost/files/digest-boost-1.34_pre20061214
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 c2ecc5f9f12198eb7fe116a14edd65a5 boost_1_34_pre20061214.tar.bz2 12357020
-RMD160 51a96ef3dc28b4bd1d5fc3c295a4a3f874fe59fa boost_1_34_pre20061214.tar.bz2 12357020
-SHA256 4c88805afe6b47366d960d878eec8a6e0e7f40a7f9122a7d877020e9102d0e49 boost_1_34_pre20061214.tar.bz2 12357020