From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1R88lv-0001RN-Pk for garchives@archives.gentoo.org; Mon, 26 Sep 2011 10:50:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4AF0021C04C; Mon, 26 Sep 2011 10:50:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D859A21C04C for ; Mon, 26 Sep 2011 10:50:40 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CA2C31B4022 for ; Mon, 26 Sep 2011 10:50:39 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id EECB880042 for ; Mon, 26 Sep 2011 10:50:38 +0000 (UTC) From: "Markos Chandras" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Markos Chandras" Message-ID: <107a37c0be213fac13b09b575f48a1c28cd10494.hwoarang@gentoo> Subject: [gentoo-commits] dev/hwoarang:master commit in: dev-util/boost-build/, profiles/, dev-libs/boost/ X-VCS-Repository: dev/hwoarang X-VCS-Files: dev-libs/boost/Manifest dev-libs/boost/boost-1.47.0.ebuild dev-util/boost-build/Manifest dev-util/boost-build/boost-build-1.47.0.ebuild profiles/package.mask X-VCS-Directories: dev-util/boost-build/ profiles/ dev-libs/boost/ X-VCS-Committer: hwoarang X-VCS-Committer-Name: Markos Chandras X-VCS-Revision: 107a37c0be213fac13b09b575f48a1c28cd10494 Date: Mon, 26 Sep 2011 10:50:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 9e2cd6f7f18c79c3d0b7f38abf06310a commit: 107a37c0be213fac13b09b575f48a1c28cd10494 Author: hwoarang gentoo org> AuthorDate: Mon Sep 26 10:49:15 2011 +0000 Commit: Markos Chandras gentoo org> CommitDate: Mon Sep 26 10:49:15 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Ddev/hwoarang.git;a= =3Dcommit;h=3D107a37c0 Moving boost-1.47 to gx86 --- dev-libs/boost/Manifest | 27 ++- dev-libs/boost/boost-1.47.0.ebuild | 487 ------------------= ------ dev-util/boost-build/Manifest | 7 +- dev-util/boost-build/boost-build-1.47.0.ebuild | 114 ------ profiles/package.mask | 5 - 5 files changed, 32 insertions(+), 608 deletions(-) diff --git a/dev-libs/boost/Manifest b/dev-libs/boost/Manifest index 32a62ea..b4f8fd2 100644 --- a/dev-libs/boost/Manifest +++ b/dev-libs/boost/Manifest @@ -1 +1,26 @@ -DIST boost_1_47_0.tar.bz2 518705 RMD160 b02ffbea6a2d862a0a8800b749bb5f40= f171ec72 SHA1 61281cd9923599c72f118e60fbe23dd2bedd3461 SHA256 997dd493b90= d21324b8bbad53288f60eea8f3fe9d84842cb3f9c7134838a66d5 +AUX 1.35-remove-hardlink-creation.patch 547 RMD160 0c0bae87977869efcd2e2= 5144b910025ab3e6924 SHA1 c3833411ab8e7c84efddc5cfb4ab99abcba1eed5 SHA256 = 9b0515f343f0c8f7f0ce51e2c6f243edae0f3d5ce5df5b9f77a46b00041a134e +AUX boost-1.37.0-darwin-long-double.patch 556 RMD160 54b1111e9dbc51131f0= 1f50071f1c4f337b35d2f SHA1 827dcef39cf884948c3720ae1d94d1b5b5279578 SHA25= 6 0beb2bf9ae43ad86c307873ab19b049152ef7798ba17523638cdb78017642c31 +AUX boost-1.41.0-fix-CRC-on-x64-during-gzip-decompression.patch 1030 RMD= 160 8cf63aa1179ed4d8e3a79fb3f00b6c8f3db816f0 SHA1 028d0d2611392a68b35403f= 089486963d7d4e549 SHA256 4b935fe0b3c9f3a2b1fcedda048b0ebc518531aa143f95cd= d1b7fa51de1133d4 +AUX boost-1.41.0-iostreams-missing-include-guard.patch 813 RMD160 3a8e5e= 7f1635d784da3680c30c8f7c692bc26be0 SHA1 7f701c2d7c186d1cf72f9a9adf3640965= 0ca964a SHA256 5b495a10b9cfca17c5d5f5de6e9f10527e67e999145d115349cc87721f= 2f3613 +AUX boost-1.41.0-mpi_process_group-missing-include.patch 448 RMD160 415f= 9e7d9195b8d3796524285e090230831466a1 SHA1 7cca39a7847f9d6c4fe0d30f5c67777= 4576db5d3 SHA256 0d5a09e3dc170afd4756fbb296f1a0c30438cc7fb4a771dc7b91763c= 88e8f88d +AUX boost-1.41.0-parameter-needs-python.patch 3037 RMD160 901d7bdda6c9f6= 04d5487b09d247592e8558fcfa SHA1 ee3bf830495506e6d250b2073efbf42de60f9d03 = SHA256 0d0e47ef2582da43c40ccf8b5b58435a2d42e2236d29ea7883e1b1ecd1aaa439 +AUX boost-1.41.0-spirit-fixed-include-guard-conflict.patch 613 RMD160 43= 4235581f62a4fa569cb6425b7718f866a52ed4 SHA1 39738e64e9e935914a132f899cab8= 310fe3bb273 SHA256 83c7b2b00225433f82a78c86e3959e56e8529443d769ba35ebef02= b4c2c26888 +AUX boost-1.42.0-gcc45-python.patch 628 RMD160 261b0e98f133fd745e29998bd= 0f0165f0a007ab3 SHA1 80146b1018e96b0958d930e2a8c828310ffec68a SHA256 5ab5= 28cfc9beb940d6cfa94ff1b39b0e29c6adc3c1d1906f31cfabaf94232761 +AUX boost-1.42.0-parameter-needs-python.patch 3037 RMD160 901d7bdda6c9f6= 04d5487b09d247592e8558fcfa SHA1 ee3bf830495506e6d250b2073efbf42de60f9d03 = SHA256 0d0e47ef2582da43c40ccf8b5b58435a2d42e2236d29ea7883e1b1ecd1aaa439 +AUX boost-1.42.0-template_arity-gcc45.patch 970 RMD160 0edcdbcaf0165e4e2= 85b041f6406b1f71e798753 SHA1 f0cccc3ba7c2496f092cbc623473d21585bdd304 SHA= 256 e289a56bed08914704fad58bc4779ce9f327b4acac8ebd6a93bc6dd09f9a6e98 +AUX boost-1.45.0-lambda_bind.patch 1607 RMD160 ea61aaac83cfebfcb10c0e20d= e72022d4d4c1b27 SHA1 39856bef27d2a55f1ae2e0d7a7005264a8613289 SHA256 0ff6= a7bf481d5311ec57be1eeaafdd0c0e9e0c09b896700d40295f67bf77be0b +AUX boost-1.46.1-python32.patch 579 RMD160 bf659da8646379b73ce255d243246= 7724c33c4be SHA1 0d3f2896ca46179cf2138fa4571fb48f5f496a2d SHA256 6227eb26= 92777b70896fe63a6726b630239b07845f4ae1ae57d2e83a062dc57e +AUX buildid-fix.patch 1045 RMD160 ce9dbea25e21ed1ac177b16982ef1850957474= f2 SHA1 af1069055e6f8d8fa143fb2ddeccb2fc36ddce9a SHA256 42a2aa4c0f4d8579a= 501d6133f55852acbd1d7b497598983c50bdebaa17df17f +AUX point_release_naming_fix.patch 389 RMD160 a58388a1e52ce1a05a3259295f= ccbc8399a95f67 SHA1 7c1b5b0c75fb134599cc2a167e5e5a2799b273c5 SHA256 c26a9= 582d85bbbfde2ecdb36562fdddafc30389205f105508350b4720aa5b576 +AUX random-Jamfile 355 RMD160 478b592e9d33d371b07e5364e63512c8208263bf S= HA1 8ca047df78758f62a6c131bd27441173e9079fa6 SHA256 7dc71ab8b862ccd5ea9c2= 1c42557adfe0c711ea7fbe7faa47328a37aa84bc096 +AUX random-Jamfile-1.45.0 358 RMD160 dd8a847d5104923006795c9a19fa9154e49= a8894 SHA1 a3d8cc42b95a09a451c2a1c429e019288f3b76aa SHA256 412c26f915db9d= 2664305d596406f6a75132d8cfe1827b42f17dc083dc632f00 +AUX random-Jamfile-1.46.1 358 RMD160 dd8a847d5104923006795c9a19fa9154e49= a8894 SHA1 a3d8cc42b95a09a451c2a1c429e019288f3b76aa SHA256 412c26f915db9d= 2664305d596406f6a75132d8cfe1827b42f17dc083dc632f00 +AUX random-Jamfile-1.47.0 358 RMD160 dd8a847d5104923006795c9a19fa9154e49= a8894 SHA1 a3d8cc42b95a09a451c2a1c429e019288f3b76aa SHA256 412c26f915db9d= 2664305d596406f6a75132d8cfe1827b42f17dc083dc632f00 +AUX remove-toolset-1.41.0.patch 465 RMD160 5d93141f9cf98fc558e15c273d4ed= e298a96d535 SHA1 0533de67dd64cf96c992a05161fc8dc6cff3453e SHA256 e1b3c77d= 5116722df5c5a48973f95307fd46fea675d53d268d60548b7ac4bd2b +AUX remove-toolset-1.42.0.patch 465 RMD160 5d93141f9cf98fc558e15c273d4ed= e298a96d535 SHA1 0533de67dd64cf96c992a05161fc8dc6cff3453e SHA256 e1b3c77d= 5116722df5c5a48973f95307fd46fea675d53d268d60548b7ac4bd2b +AUX remove-toolset-1.45.0.patch 465 RMD160 18b160e97e183392a635ebc60f840= d10c30a0b1b SHA1 e476d9b06e7e16499ee7659f5178a52564d6831a SHA256 c1cc35cd= 5e25160e481912dcdd1e45a86d518bb0ac009ad50bd3811b097226b7 +AUX remove-toolset-1.46.1.patch 465 RMD160 18b160e97e183392a635ebc60f840= d10c30a0b1b SHA1 e476d9b06e7e16499ee7659f5178a52564d6831a SHA256 c1cc35cd= 5e25160e481912dcdd1e45a86d518bb0ac009ad50bd3811b097226b7 +AUX remove-toolset-1.47.0.patch 475 RMD160 affc424b21d5f72f164549a924530= fc97ed161f3 SHA1 a16fbb8e43b1fdb650eac0440f3e2d0bc359c55b SHA256 c16838de= 102445b12c6fc3818d1b1c82adddeb639f05fb3493c15a25ce8b48fa +AUX remove_toolset_from_targetname.patch 490 RMD160 e050992fd79005af7341= 0a2ea4037a82177ddf33 SHA1 80d96cca8cb0acb752c428ffcada3ef2964642b1 SHA256= 5c5c6fea3c1e20e290d15a68f91b6c084cc5b34daae338e3aa0879a3fd5b9fb5 +MISC ChangeLog 34329 RMD160 0306158a378f23758596a5da4be57fffe177009d SHA= 1 7a0ccd8b5ec8b83e236658d056a70246a2de3d9a SHA256 b9d2b41afe5044f4daf1d1a= 8a29dcdc2f5e7ff12d48efe1e8b5414679ec41eba +MISC metadata.xml 773 RMD160 3f4c57fa2861bb416fc5d92d839c41acb2b9861a SH= A1 6c90f699901853658c41fbfdb3661eb617682040 SHA256 6563b78be463b4ae931f3d= c07d5cd280281bf168c07ecea59fe5dc946f2d0ecf diff --git a/dev-libs/boost/boost-1.47.0.ebuild b/dev-libs/boost/boost-1.= 47.0.ebuild deleted file mode 100644 index e6a4bd6..0000000 --- a/dev-libs/boost/boost-1.47.0.ebuild +++ /dev/null @@ -1,487 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.46.1.ebuild,v = 1.5 2011/05/15 19:59:21 mr_bones_ Exp $ - -EAPI=3D"2" - -inherit python flag-o-matic multilib toolchain-funcs versionator check-r= eqs - -MY_P=3D${PN}_$(replace_all_version_separators _) - -DESCRIPTION=3D"Boost Libraries for C++" -HOMEPAGE=3D"http://www.boost.org/" -SRC_URI=3D"mirror://sourceforge/boost/${MY_P}.tar.bz2" -LICENSE=3D"Boost-1.0" -SLOT=3D"$(get_version_component_range 1-2)" -IUSE=3D"debug doc +eselect icu mpi python static-libs test tools" - -KEYWORDS=3D"~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~= sparc ~x86 ~x86-fbsd" - -RDEPEND=3D"icu? ( >=3Ddev-libs/icu-3.3 ) - mpi? ( || ( sys-cluster/openmpi[cxx] sys-cluster/mpich2[cxx,threads] ) = ) - sys-libs/zlib - python? ( dev-lang/python ) - !!<=3Ddev-libs/boost-1.35.0-r2 - >=3Dapp-admin/eselect-boost-0.3" -DEPEND=3D"${RDEPEND} - dev-util/boost-build:${SLOT}" - -S=3D${WORKDIR}/${MY_P} - -MAJOR_PV=3D$(replace_all_version_separators _ ${SLOT}) -BJAM=3D"b2-${MAJOR_PV}" - -# Usage: -# _add_line -# ... to add to specific profile -# or -# _add_line -# ... to add to all profiles for which the use flag set - -_add_line() { - if [ -z "$2" ] ; then - echo "${1}" >> "${D}/usr/share/boost-eselect/profiles/${SLOT}/default" - use debug && echo "${1}" >> "${D}/usr/share/boost-eselect/profiles/${S= LOT}/debug" - else - echo "${1}" >> "${D}/usr/share/boost-eselect/profiles/${SLOT}/${2}" - fi -} - -pkg_setup() { - # It doesn't compile with USE=3D"python mpi" and python-3 (bug 295705) - if use python && use mpi ; then - if [[ "$(python_get_version --major)" !=3D "2" ]]; then - eerror "The Boost.MPI python bindings do not support any other python= version" - eerror "than 2.x. Please either use eselect to select a python 2.x ve= rsion or" - eerror "disable the python and/or mpi use flag for =3D${CATEGORY}/${P= F}." - die "unsupported python version" - fi - fi - - if use test ; then - CHECKREQS_DISK_BUILD=3D"15360" - 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 - - if use debug ; then - ewarn "The debug USE-flag means that a second set of the boost librari= es" - ewarn "will be built containing debug-symbols. You'll be able to selec= t them" - ewarn "using the boost-eselect module. But even though the optimizatio= n flags" - ewarn "you might have set are not stripped, there will be a performanc= e" - ewarn "penalty and linking other packages against the debug version" - ewarn "of boost is _not_ recommended." - fi -} - -src_prepare() { - epatch "${FILESDIR}/remove-toolset-${PV}.patch" - - # This enables building the boost.random library with /dev/urandom supp= ort - if [[ -e /dev/urandom ]] ; then - mkdir -p libs/random/build || die - cp "${FILESDIR}/random-Jamfile-${PV}" libs/random/build/Jamfile.v2 || = die - fi -} - -src_configure() { - einfo "Writing new user-config.jam" - - local compiler compilerVersion compilerExecutable mpi - if [[ ${CHOST} =3D=3D *-darwin* ]] ; then - compiler=3Ddarwin - compilerVersion=3D$(gcc-fullversion) - compilerExecutable=3D$(tc-getCXX) - # we need to add the prefix, and in two cases this exceeds, so prepare - # for the largest possible space allocation - append-ldflags -Wl,-headerpad_max_install_names - else - compiler=3Dgcc - compilerVersion=3D$(gcc-version) - compilerExecutable=3D$(tc-getCXX) - fi - - # Using -fno-strict-aliasing to prevent possible creation of invalid co= de. - append-flags -fno-strict-aliasing - - # bug 298489 - if use ppc || use ppc64 ; then - [[ $(gcc-version) > 4.3 ]] && append-flags -mno-altivec - fi; - - use mpi && mpi=3D"using mpi ;" - - if use python ; then - pystring=3D"using python : $(python_get_version) : /usr : $(python_get= _includedir) : $(python_get_libdir) ;" - fi - - cat > "${S}/user-config.jam" << __EOF__ - -variant gentoorelease : release : none none= ; -variant gentoodebug : debug : none ; - -using ${compiler} : ${compilerVersion} : ${compilerExecutable} : "${CXXFLAGS}" "${LDFLAGS}" ; - -${pystring} - -${mpi} - -__EOF__ - - # Maintainer information: - # The debug-symbols=3Dnone and optimization=3Dnone - # are not official upstream flags but a Gentoo - # specific patch to make sure that all our - # CXXFLAGS/LDFLAGS are being respected. - # Using optimization=3Doff would for example add - # "-O0" and override "-O2" set by the user. - # Please take a look at the boost-build ebuild - # for more infomration. - - use icu && OPTIONS=3D"-sICU_PATH=3D/usr" - use icu || OPTIONS=3D"--disable-icu" - use mpi || OPTIONS=3D"${OPTIONS} --without-mpi" - use python || OPTIONS=3D"${OPTIONS} --without-python" - - # https://svn.boost.org/trac/boost/attachment/ticket/2597/add-disable-l= ong-double.patch - if use sparc || { use mips && [[ ${ABI} =3D "o32" ]]; } || use hppa || = use arm || use x86-fbsd || use sh; then - OPTIONS=3D"${OPTIONS} --disable-long-double" - fi - - OPTIONS=3D"${OPTIONS} pch=3Doff --user-config=3D\"${S}/user-config.jam\= " --boost-build=3D/usr/share/boost-build-${MAJOR_PV} --prefix=3D\"${D}/us= r\" --layout=3Dversioned" - - if use static-libs ; then - LINK_OPTS=3D"link=3Dshared,static" - LIBRARY_TARGETS=3D"*.a *$(get_libname)" - else - LINK_OPTS=3D"link=3Dshared" - #there is no dynamicly linked version of libboost_test_exec_monitor an= d libboost_exception - LIBRARY_TARGETS=3D"libboost_test_exec_monitor*.a libboost_exception*.a= *$(get_libname)" - fi -} - -src_compile() { - jobs=3D$( echo " ${MAKEOPTS} " | \ - sed -e 's/ --jobs[=3D ]/ -j /g' \ - -e 's/ -j \([1-9][0-9]*\)/ -j\1/g' \ - -e 's/ -j\>/ -j1/g' | \ - ( while read -d ' ' j ; do if [[ "${j#-j}" =3D "$j" ]]; then continue= ; fi; jobs=3D"${j#-j}"; done; echo ${jobs} ) ) - if [[ "${jobs}" !=3D "" ]]; then NUMJOBS=3D"-j"${jobs}; fi; - - export BOOST_ROOT=3D"${S}" - - einfo "Using the following command to build: " - einfo "${BJAM} ${NUMJOBS} -q -d+2 gentoorelease ${OPTIONS} threading=3D= single,multi ${LINK_OPTS} runtime-link=3Dshared" - - ${BJAM} ${NUMJOBS} -q -d+2 \ - gentoorelease \ - ${OPTIONS} \ - threading=3Dsingle,multi ${LINK_OPTS} runtime-link=3Dshared \ - || die "building boost failed" - - # ... and do the whole thing one more time to get the debug libs - if use debug ; then - einfo "Using the following command to build: " - einfo "${BJAM} ${NUMJOBS} -q -d+2 gentoodebug ${OPTIONS} threading=3Ds= ingle,multi ${LINK_OPTS} runtime-link=3Dshared --buildid=3Ddebug" - - ${BJAM} ${NUMJOBS} -q -d+2 \ - gentoodebug \ - ${OPTIONS} \ - threading=3Dsingle,multi ${LINK_OPTS} runtime-link=3Dshared \ - --buildid=3Ddebug \ - || die "building boost failed" - fi - - if use tools; then - cd "${S}/tools/" - einfo "Using the following command to build the tools: " - einfo "${BJAM} ${NUMJOBS} -q -d+2 gentoorelease ${OPTIONS}" - - ${BJAM} ${NUMJOBS} -q -d+2\ - gentoorelease \ - ${OPTIONS} \ - || die "building tools failed" - fi - -} - -src_install () { - export BOOST_ROOT=3D"${S}" - - einfo "Using the following command to install: " - einfo "${BJAM} -q -d+2 gentoorelease ${OPTIONS} threading=3Dsingle,mult= i ${LINK_OPTS} runtime-link=3Dshared --includedir=3D\"${D}/usr/include\" = --libdir=3D\"${D}/usr/$(get_libdir)\" install" - - ${BJAM} -q -d+2 \ - gentoorelease \ - ${OPTIONS} \ - threading=3Dsingle,multi ${LINK_OPTS} runtime-link=3Dshared \ - --includedir=3D"${D}/usr/include" \ - --libdir=3D"${D}/usr/$(get_libdir)" \ - install || die "install failed for options '${OPTIONS}'" - - if use debug ; then - einfo "Using the following command to install: " - einfo "${BJAM} -q -d+2 gentoodebug ${OPTIONS} threading=3Dsingle,multi= ${LINK_OPTS} runtime-link=3Dshared --includedir=3D\"${D}/usr/include\" -= -libdir=3D\"${D}/usr/$(get_libdir)\" --buildid=3Ddebug" - - ${BJAM} -q -d+2 \ - gentoodebug \ - ${OPTIONS} \ - threading=3Dsingle,multi ${LINK_OPTS} runtime-link=3Dshared \ - --includedir=3D"${D}/usr/include" \ - --libdir=3D"${D}/usr/$(get_libdir)" \ - --buildid=3Ddebug \ - install || die "install failed for options '${OPTIONS}'" - fi - - use python || rm -rf "${D}/usr/include/boost-${MAJOR_PV}/boost"/python*= || die - - dodir /usr/share/boost-eselect/profiles/${SLOT} || die - touch "${D}/usr/share/boost-eselect/profiles/${SLOT}/default" || die - if use debug ; then - touch "${D}/usr/share/boost-eselect/profiles/${SLOT}/debug" || die - fi - - # Move the mpi.so to the right place and make sure it's slotted - if use mpi && use python; then - mkdir -p "${D}$(python_get_sitedir)/boost_${MAJOR_PV}" || die - mv "${D}/usr/$(get_libdir)/mpi.so" "${D}$(python_get_sitedir)/boost_${= MAJOR_PV}/" || die - touch "${D}$(python_get_sitedir)/boost_${MAJOR_PV}/__init__.py" || die - _add_line "python=3D\"$(python_get_sitedir)/boost_${MAJOR_PV}/mpi.so\"= " - fi - - if use doc ; then - find libs/*/* -iname "test" -or -iname "src" | xargs rm -rf - dohtml \ - -A pdf,txt,cpp,hpp \ - *.{htm,html,png,css} \ - -r doc || die - dohtml \ - -A pdf,txt \ - -r tools || die - insinto /usr/share/doc/${PF}/html - doins -r libs || die - doins -r more || die - - # To avoid broken links - insinto /usr/share/doc/${PF}/html - doins LICENSE_1_0.txt || die - - dosym /usr/include/boost-${MAJOR_PV}/boost /usr/share/doc/${PF}/html/b= oost || die - fi - - cd "${D}/usr/$(get_libdir)" || die - - # Remove (unversioned) symlinks - # And check for what we remove to catch bugs - # got a better idea how to do it? tell me! - for f in $(ls -1 ${LIBRARY_TARGETS} | grep -v "${MAJOR_PV}") ; do - if [ ! -h "${f}" ] ; then - eerror "Ups, tried to remove '${f}' which is a a real file instead of= a symlink" - die "slotting/naming of the libs broken!" - fi - rm "${f}" || die - done - - # The threading libs obviously always gets the "-mt" (multithreading) t= ag - # some packages seem to have a problem with it. Creating symlinks... - - if use static-libs ; then - THREAD_LIBS=3D"libboost_thread-mt-${MAJOR_PV}.a libboost_thread-mt-${M= AJOR_PV}$(get_libname)" - else - THREAD_LIBS=3D"libboost_thread-mt-${MAJOR_PV}$(get_libname)" - fi - for lib in ${THREAD_LIBS} ; do - dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})" || di= e - done - - # The same goes for the mpi libs - if use mpi ; then - if use static-libs ; then - MPI_LIBS=3D"libboost_mpi-mt-${MAJOR_PV}.a libboost_mpi-mt-${MAJOR_PV}= $(get_libname)" - else - MPI_LIBS=3D"libboost_mpi-mt-${MAJOR_PV}$(get_libname)" - fi - for lib in ${MPI_LIBS} ; do - dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})" || d= ie - done - fi - - if use debug ; then - if use static-libs ; then - THREAD_DEBUG_LIBS=3D"libboost_thread-mt-${MAJOR_PV}-debug$(get_libnam= e) libboost_thread-mt-${MAJOR_PV}-debug.a" - else - THREAD_DEBUG_LIBS=3D"libboost_thread-mt-${MAJOR_PV}-debug$(get_libnam= e)" - fi - - for lib in ${THREAD_DEBUG_LIBS} ; do - dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})" || d= ie - done - - if use mpi ; then - if use static-libs ; then - MPI_DEBUG_LIBS=3D"libboost_mpi-mt-${MAJOR_PV}-debug.a libboost_mpi-m= t-${MAJOR_PV}-debug$(get_libname)" - else - MPI_DEBUG_LIBS=3D"libboost_mpi-mt-${MAJOR_PV}-debug$(get_libname)" - fi - - for lib in ${MPI_DEBUG_LIBS} ; do - dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})" || = die - done - fi - fi - - # Create a subdirectory with completely unversioned symlinks - # and store the names in the profiles-file for eselect - dodir /usr/$(get_libdir)/boost-${MAJOR_PV} || die - - _add_line "libs=3D\"" default - for f in $(ls -1 ${LIBRARY_TARGETS} | grep -v debug) ; do - dosym ../${f} /usr/$(get_libdir)/boost-${MAJOR_PV}/${f/-${MAJOR_PV}} |= | die - _add_line "/usr/$(get_libdir)/${f}" default - done - _add_line "\"" default - - if use debug ; then - _add_line "libs=3D\"" debug - dodir /usr/$(get_libdir)/boost-${MAJOR_PV}-debug || die - for f in $(ls -1 ${LIBRARY_TARGETS} | grep debug) ; do - dosym ../${f} /usr/$(get_libdir)/boost-${MAJOR_PV}-debug/${f/-${MAJOR= _PV}-debug} || die - _add_line "/usr/$(get_libdir)/${f}" debug - done - _add_line "\"" debug - - _add_line "includes=3D\"/usr/include/boost-${MAJOR_PV}/boost\"" debug - _add_line "suffix=3D\"-debug\"" debug - fi - - _add_line "includes=3D\"/usr/include/boost-${MAJOR_PV}/boost\"" default - - if use tools; then - cd "${S}/dist/bin" || die - # Append version postfix to binaries for slotting - _add_line "bins=3D\"" - for b in * ; do - newbin "${b}" "${b}-${MAJOR_PV}" || die - _add_line "/usr/bin/${b}-${MAJOR_PV}" - done - _add_line "\"" - - cd "${S}/dist" || die - insinto /usr/share || die - doins -r share/boostbook || die - # Append version postfix for slotting - mv "${D}/usr/share/boostbook" "${D}/usr/share/boostbook-${MAJOR_PV}" |= | die - _add_line "dirs=3D\"/usr/share/boostbook-${MAJOR_PV}\"" - fi - - cd "${S}/status" || die - if [ -f regress.log ] ; then - docinto status || die - dohtml *.html ../boost.png || die - dodoc regress.log || die - fi - - use python && python_need_rebuild - - # boost's build system truely sucks for not having a destdir. Because = for - # this reason we are forced to build with a prefix that includes the - # DESTROOT, dynamic libraries on Darwin end messed up, referencing the - # DESTROOT instread of the actual EPREFIX. There is no way out of here - # but to do it the dirty way of manually setting the right install_name= s. - [[ -z ${ED+set} ]] && local ED=3D${D%/}${EPREFIX}/ - if [[ ${CHOST} =3D=3D *-darwin* ]] ; then - einfo "Working around completely broken build-system(tm)" - for d in "${ED}"usr/lib/*.dylib ; do - if [[ -f ${d} ]] ; then - # fix the "soname" - ebegin " correcting install_name of ${d#${ED}}" - install_name_tool -id "/${d#${D}}" "${d}" - eend $? - # fix references to other libs - refs=3D$(otool -XL "${d}" | \ - sed -e '1d' -e 's/^\t//' | \ - grep "^libboost_" | \ - cut -f1 -d' ') - for r in ${refs} ; do - ebegin " correcting reference to ${r}" - install_name_tool -change \ - "${r}" \ - "${EPREFIX}/usr/lib/${r}" \ - "${d}" - eend $? - done - fi - done - fi -} - -src_test() { - export BOOST_ROOT=3D${S} - - cd "${S}/tools/regression/build" || die - einfo "Using the following command to build test helpers: " - einfo "${BJAM} -q -d+2 gentoorelease ${OPTIONS} process_jam_log compile= r_status" - - ${BJAM} -q -d+2 \ - gentoorelease \ - ${OPTIONS} \ - process_jam_log compiler_status \ - || die "building regression test helpers failed" - - cd "${S}/status" || die - - # Some of the test-checks seem to rely on regexps - export LC_ALL=3D"C" - - # 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 - einfo "Using the following command to test: " - einfo "${BJAM} ${OPTIONS} --dump-tests" - - ${BJAM} \ - ${OPTIONS} \ - --dump-tests 2>&1 | tee regress.log || die - - # Postprocessing - cat regress.log | "${S}/tools/regression/build/bin/gcc-$(gcc-version)/g= entoorelease/pch-off/process_jam_log" --v2 - if test $? !=3D 0 ; then - die "Postprocessing the build log failed" - fi - - cat > "${S}/status/comment.html" <<- __EOF__ -

Tests are run on a Gentoo sys= tem.

-__EOF__ - - # Generate the build log html summary page - "${S}/tools/regression/build/bin/gcc-$(gcc-version)/gentoorelease/pch-o= ff/compiler_status" --v2 \ - --comment "${S}/status/comment.html" "${S}" \ - cs-$(uname).html cs-$(uname)-links.html - if test $? !=3D 0 ; then - die "Generating the build log html summary page failed" - fi - - # And do some cosmetic fixes :) - sed -i -e 's|http://www.boost.org/boost.png|boost.png|' *.html || die -} - -pkg_postinst() { - if use eselect ; then - eselect boost update || ewarn "eselect boost update failed." - fi - - if [ ! -h "${ROOT}/etc/eselect/boost/active" ] ; then - elog "No active boost version found. Calling eselect to select one..." - eselect boost update || ewarn "eselect boost update failed." - fi -} diff --git a/dev-util/boost-build/Manifest b/dev-util/boost-build/Manifes= t index 32a62ea..3da4c26 100644 --- a/dev-util/boost-build/Manifest +++ b/dev-util/boost-build/Manifest @@ -1 +1,6 @@ -DIST boost_1_47_0.tar.bz2 518705 RMD160 b02ffbea6a2d862a0a8800b749bb5f40= f171ec72 SHA1 61281cd9923599c72f118e60fbe23dd2bedd3461 SHA256 997dd493b90= d21324b8bbad53288f60eea8f3fe9d84842cb3f9c7134838a66d5 +AUX 1.35.0-fix_broken_icu_build.patch 1752 RMD160 0e7ee05c17d76e29abff91= 5e84181361e4095b89 SHA1 273de1fa957091bf3c0d041f54aec9797810f3cf SHA256 7= 1d858236c47b835947d996d3caf0a1de96ace267140d52dd09594db3a96729d +AUX boost-1.41-fix-mpich2-detection.patch 1378 RMD160 fd81c6a03dd8bf2d6a= fdaf3fa4957ee0ff1f6e10 SHA1 bbe5ba6fb554ab89e5fa4649f8a44ad7cd1dfa80 SHA2= 56 8e1adadb1345ff045930bbd1c6d9d6e4b06462de2939021bf9e3a3fe1c9d6100 +AUX boost-1.42-fix-mpich2-detection.patch 1378 RMD160 fd81c6a03dd8bf2d6a= fdaf3fa4957ee0ff1f6e10 SHA1 bbe5ba6fb554ab89e5fa4649f8a44ad7cd1dfa80 SHA2= 56 8e1adadb1345ff045930bbd1c6d9d6e4b06462de2939021bf9e3a3fe1c9d6100 +AUX boost-build-1.42-env-whitespace.patch 683 RMD160 a96ff55a09a889c5fba= 0c898cc7d4c2a6d2ef1a5 SHA1 9fd231fc699813df1d3ba78ae95f5f322166ade7 SHA25= 6 52714f45a54cad8c126d5fca8bd5eacc4d746b29df24aaa9d2c55e3694a6f4aa +MISC ChangeLog 9527 RMD160 2b4a1a101b2d2e76640223160af278cee3e1057d SHA1= 96a1d16156b855c63b0dfe00719ce47670b2d8ac SHA256 ef9d1eeb5340c2150c7f852a= 12b935161f8dae0dc1964b12e9a9f126d296beb0 +MISC metadata.xml 467 RMD160 46a5b92ef812d514cce62b4a7d6644597c137bf9 SH= A1 c47d4a412061b3fe75a2ac875542bc6f1ea4d269 SHA256 45d1630f3fe0286a9ea6cb= 8cb04ec73ae7f4b7fd52f413e423fce4c436c23f6a diff --git a/dev-util/boost-build/boost-build-1.47.0.ebuild b/dev-util/bo= ost-build/boost-build-1.47.0.ebuild deleted file mode 100644 index e566747..0000000 --- a/dev-util/boost-build/boost-build-1.47.0.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/boost-build-1.46= .1.ebuild,v 1.2 2011/07/10 15:15:48 aballier Exp $ - -EAPI=3D"2" - -inherit eutils flag-o-matic toolchain-funcs versionator - -MY_PV=3D$(replace_all_version_separators _) -MAJOR_PV=3D"$(replace_all_version_separators _ $(get_version_component_r= ange 1-2))" - -DESCRIPTION=3D"A system for large project software construction, which i= s simple to use and powerful." -HOMEPAGE=3D"http://www.boost.org/doc/tools/build/index.html" -SRC_URI=3D"mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2" -LICENSE=3D"Boost-1.0" -SLOT=3D"$(get_version_component_range 1-2)" -KEYWORDS=3D"~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~= sparc ~x86 ~x86-fbsd" -IUSE=3D"examples python" - -DEPEND=3D"! (1 Aug 2011) -# Masked for testing -=3Ddev-libs/boost-1.47.0 -=3Ddev-util/boost-build-1.47.0 - # Markos Chandras (19 May 2011) # Totally broken but feel free to provide patches # Bug: #364071