From 94b0aa6fe00fb1e647fe248ea11df6b38e765843 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Fri, 11 Dec 2009 18:27:54 +0000 Subject: Remove old dev-libs/boost ebuilds (1.40.0 and 1.41.0-r0). Package-Manager: portage-2.1.6.13/cvs/Linux x86_64 --- dev-libs/boost/ChangeLog | 6 +- dev-libs/boost/Manifest | 16 +- dev-libs/boost/boost-1.40.0.ebuild | 419 ---------------------- dev-libs/boost/boost-1.41.0.ebuild | 426 ----------------------- dev-libs/boost/files/remove-toolset-1.40.0.patch | 11 - 5 files changed, 6 insertions(+), 872 deletions(-) delete mode 100644 dev-libs/boost/boost-1.40.0.ebuild delete mode 100644 dev-libs/boost/boost-1.41.0.ebuild delete mode 100644 dev-libs/boost/files/remove-toolset-1.40.0.patch (limited to 'dev-libs') diff --git a/dev-libs/boost/ChangeLog b/dev-libs/boost/ChangeLog index cf61bee639ba..7d57c317fe37 100644 --- a/dev-libs/boost/ChangeLog +++ b/dev-libs/boost/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/boost # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/ChangeLog,v 1.180 2009/12/10 21:36:22 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/ChangeLog,v 1.181 2009/12/11 18:27:54 djc Exp $ + + 11 Dec 2009; Dirkjan Ochtman -boost-1.40.0.ebuild, + -files/remove-toolset-1.40.0.patch, -boost-1.41.0.ebuild: + Remove masked 1.40.0 and old 1.41.0 (superseded by -r1). 10 Dec 2009; Alexis Ballier boost-1.41.0-r1.ebuild: keyword ~x86-fbsd diff --git a/dev-libs/boost/Manifest b/dev-libs/boost/Manifest index 6f555ed0f4b9..dc3603f51361 100644 --- a/dev-libs/boost/Manifest +++ b/dev-libs/boost/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX 1.35-remove-hardlink-creation.patch 547 RMD160 0c0bae87977869efcd2e25144b910025ab3e6924 SHA1 c3833411ab8e7c84efddc5cfb4ab99abcba1eed5 SHA256 9b0515f343f0c8f7f0ce51e2c6f243edae0f3d5ce5df5b9f77a46b00041a134e AUX boost-1.33.1-gcc41_visit_each.patch 338 RMD160 295e85b70cb27da6bb24eb6d757c8cc3465877d7 SHA1 265bdab2f664ffaa23f340f78a99506616457ad6 SHA256 a9ced5f54e52ade899a7b09dff097e4c9ca958c85d51ae431c7e7521f53b441e AUX boost-1.37.0-darwin-long-double.patch 556 RMD160 54b1111e9dbc51131f01f50071f1c4f337b35d2f SHA1 827dcef39cf884948c3720ae1d94d1b5b5279578 SHA256 0beb2bf9ae43ad86c307873ab19b049152ef7798ba17523638cdb78017642c31 @@ -10,7 +7,6 @@ AUX boost-1.41.0-parameter-needs-python.patch 3037 RMD160 901d7bdda6c9f604d5487b AUX boost-alpha-threads.patch 1111 RMD160 49fe6128f6dd9277389d25a83706b401705cdb40 SHA1 846f8a187dca02a998fb60bd298d2312e16620f0 SHA256 e7d1cb78cc73763023edb80cdb66e2a9389d9ef40f448be60cf8cd4f827e7623 AUX buildid-fix.patch 1045 RMD160 ce9dbea25e21ed1ac177b16982ef1850957474f2 SHA1 af1069055e6f8d8fa143fb2ddeccb2fc36ddce9a SHA256 42a2aa4c0f4d8579a501d6133f55852acbd1d7b497598983c50bdebaa17df17f AUX random-Jamfile 355 RMD160 478b592e9d33d371b07e5364e63512c8208263bf SHA1 8ca047df78758f62a6c131bd27441173e9079fa6 SHA256 7dc71ab8b862ccd5ea9c21c42557adfe0c711ea7fbe7faa47328a37aa84bc096 -AUX remove-toolset-1.40.0.patch 465 RMD160 5d93141f9cf98fc558e15c273d4ede298a96d535 SHA1 0533de67dd64cf96c992a05161fc8dc6cff3453e SHA256 e1b3c77d5116722df5c5a48973f95307fd46fea675d53d268d60548b7ac4bd2b AUX remove-toolset-1.41.0.patch 465 RMD160 5d93141f9cf98fc558e15c273d4ede298a96d535 SHA1 0533de67dd64cf96c992a05161fc8dc6cff3453e SHA256 e1b3c77d5116722df5c5a48973f95307fd46fea675d53d268d60548b7ac4bd2b AUX remove_toolset_from_targetname.patch 490 RMD160 e050992fd79005af73410a2ea4037a82177ddf33 SHA1 80d96cca8cb0acb752c428ffcada3ef2964642b1 SHA256 5c5c6fea3c1e20e290d15a68f91b6c084cc5b34daae338e3aa0879a3fd5b9fb5 DIST boost-patches-1.34.1-3.tbz2 5681 RMD160 b7a3cece3602d6cab91118ef03bf0fd7a89db58e SHA1 ac22f748c1c31b874552a72cb62b4ee143432357 SHA256 d77f9c7d76694e3f443b8381f1506e2d586f2e3ff07b8835f512878cc8249a82 @@ -27,7 +23,6 @@ DIST boost_1_35_0.tar.bz2 23416747 RMD160 89dc46b7841cd288b5fb6f4b9a1ac7309786dc DIST boost_1_36_0.tar.bz2 28839275 RMD160 0ac38ee3c355c22fd5534bc806bf516890e5182d SHA1 b8f0f5d90b260aff995ef38fad4eee5e73d00810 SHA256 9a4a0cfbbd227c20a13519a2c41f2e707dc0d89e518a3c7bfcd381f7b7fbcdef DIST boost_1_37_0.tar.bz2 29435646 RMD160 3c4cf7eb97a8fb126e564ba529ed9edec8765185 SHA1 c0d0cf9ad8d954507824aed51a3e93e6a9da1d99 SHA256 d52ef49f70b1b9addc4e0d1a3a2a1966227f0d173c3301bac3e6d399eeac5472 DIST boost_1_39_0.tar.bz2 29408537 RMD160 4962256b48fa8563bf373b8bed97cc8655206a51 SHA1 6af42f74ab24ccc51589a025593bad298c8adde8 SHA256 44785eae8c6cce61a29a8a51f9b737e57b34d66baa7c0bcd4af188832b8018fd -DIST boost_1_40_0.tar.bz2 32068759 RMD160 dabcc7442b73048095aa3037917ea0713782781f SHA1 9dbaa06ce1d99ce310011c2eaf816ecb003b3096 SHA256 36cf4a239b587067a4923fdf6e290525a14c3af29829524fa73f3dec6841530c DIST boost_1_41_0.tar.bz2 33348161 RMD160 a604ef5a6f6f5bf50be59206c8534258ab431aea SHA1 31134e28866b90c39ca4a903c263e036bb25550c SHA256 1ef94e6749eaf13318284b4f629be063544c7015b45e38113b975ac1945cc726 EBUILD boost-1.33.1-r1.ebuild 6840 RMD160 be6e3d4e2c2a5a48eb27b77638da7079f6af2132 SHA1 f6277beaae40e99bbde2b7418590a3d9ce74ca97 SHA256 05872bda3d482ba8a205a0f8da66e1ba4b13a65184008f86b4989db88f0230ae EBUILD boost-1.34.1-r2.ebuild 6892 RMD160 3158dea84b5c69198153b90bc508551c5aca29a6 SHA1 8e6e56551e5beb538c923262e1771da85a52f175 SHA256 a48bda0aab6f8d85dffa4399084ff609f7a8d9ecbe288a5932ec9b22a412bd1e @@ -38,15 +33,6 @@ EBUILD boost-1.35.0-r5.ebuild 9720 RMD160 3d30139d774d76add1e411536156052a4c0c14 EBUILD boost-1.36.0-r1.ebuild 9662 RMD160 f415650ed89492c5a635f4b8183a6693a1f61578 SHA1 33c523b5aaf2a9822ae67a7616b8541f736cff3d SHA256 5b452ed5fa1b3f01f3420a0854c0e5356e3130f9f09b1a4cda19b5ccd479df92 EBUILD boost-1.37.0-r1.ebuild 13178 RMD160 14d44df115bb49d1551abd07ad9dc5303ade1f94 SHA1 5108f92ac808fb83fa4dd1d49c29ae299ab86cf0 SHA256 96a715f1af3950b5440bd5b415f01efea3b186c480eaf48d4d63cca4f633c809 EBUILD boost-1.39.0.ebuild 12985 RMD160 f6f349747e51213713321a3d31b1e1c53713f47e SHA1 a26afdda9369d7ea8a690ec67e854e53eee3d045 SHA256 74d8f0e1992659639b52012bf01097d3f9b4da809f8bf7aed4eb2dea5a4bb22a -EBUILD boost-1.40.0.ebuild 12833 RMD160 6113913a1fa98a4c1291c26557a596485dac2df1 SHA1 b8004dee379b7c16ce9bdcad314bf3c347d4d4bb SHA256 cb5a9b059ae2d10d51bc083c41d375432830c0f8db56a0c5678975d8e572aeed EBUILD boost-1.41.0-r1.ebuild 15094 RMD160 43a3f004ec8b0adeb3c44de7f92a771ea175881f SHA1 3d6f2e02653a42355704fa8f359164b94a83a013 SHA256 1afd0f2aa04016bdd87de99af1dfbb86a371dfe25e046922e60c9d932bf68e2d -EBUILD boost-1.41.0.ebuild 13184 RMD160 4f296e88c808542a67e618730d45afde6d61bcc4 SHA1 869eb750889f0127b02611e011a838bd74d1537c SHA256 d4fcfbb4d448497bf28c0447fd6f7780ccb93b6d9053808f0752735cd91e8b90 -MISC ChangeLog 27794 RMD160 bcb6202b5f8891de118d373409458cbc5834feb7 SHA1 0b5605ae2c97a0702f22e46c3bb39fde0ae999f5 SHA256 3f29681ae046ca503a72816883589a1974ac8dabf08840aa2baef4e2c7c9f9ac +MISC ChangeLog 27979 RMD160 b34ea42d116ec552e877f7062934915ee6899397 SHA1 efb3239de28ad256f73abc40ea63cfad1ca4c699 SHA256 73501c8b21d415c555f606cb50f363fffc69c35ec637baed329fdc1f5341392d MISC metadata.xml 1096 RMD160 cc6d436f0e4b7e79e3c5b744b570f120da328a25 SHA1 101c90eeaf52964ad88218e38be59d40877901da SHA256 add4559d40f8b5310233d3e167c2dd9c63ce2b2707c06dac411fdb5244d9bb9c ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.13 (GNU/Linux) - -iEYEARECAAYFAkshadwACgkQvFcC4BYPU0rK0gCfXAI3vYioAnWz+WDaoTXdUSxR -iWoAn2EjrZhiOzNuvYdAfO/9gpMlP/ZI -=Ak5l ------END PGP SIGNATURE----- diff --git a/dev-libs/boost/boost-1.40.0.ebuild b/dev-libs/boost/boost-1.40.0.ebuild deleted file mode 100644 index a68edbe5380c..000000000000 --- a/dev-libs/boost/boost-1.40.0.ebuild +++ /dev/null @@ -1,419 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.40.0.ebuild,v 1.7 2009/11/25 17:59:16 jer Exp $ - -EAPI="2" - -inherit python flag-o-matic multilib toolchain-funcs versionator check-reqs - -MY_P=${PN}_$(replace_all_version_separators _) - -DESCRIPTION="Boost Libraries for C++" -HOMEPAGE="http://www.boost.org/" -SRC_URI="mirror://sourceforge/boost/${MY_P}.tar.bz2" -LICENSE="Boost-1.0" -SLOT="$(get_version_component_range 1-2)" -IUSE="debug doc +eselect expat icu mpi python test tools" - -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" - -RDEPEND="icu? ( >=dev-libs/icu-3.3 ) - expat? ( dev-libs/expat ) - mpi? ( || ( >=sys-cluster/openmpi-1.2.9[cxx] =app-admin/eselect-boost-0.3" -DEPEND="${RDEPEND} - dev-util/boost-build:${SLOT}" - -S=${WORKDIR}/${MY_P} - -MAJOR_PV=$(replace_all_version_separators _ ${SLOT}) -BJAM="bjam-${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/${SLOT}/debug" - else - echo "${1}" >> "${D}/usr/share/boost-eselect/profiles/${SLOT}/${2}" - fi -} - -pkg_setup() { - if use test ; 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 - - if use debug ; then - ewarn "The debug USE-flag means that a second set of the boost libraries" - ewarn "will be built containing debug-symbols. You'll be able to select them" - ewarn "using the boost-eselect module. But even though the optimization flags" - ewarn "you might have set are not stripped, there will be a performance" - 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 support - if [[ -e /dev/urandom ]] ; then - mkdir -p libs/random/build - cp "${FILESDIR}/random-Jamfile" libs/random/build/Jamfile.v2 - # yeah, we WANT it to work on non-Linux too - sed -i -e 's/#ifdef __linux__/#if 1/' libs/random/random_device.cpp || die - fi -} - -src_configure() { - einfo "Writing new user-config.jam" - - local compiler compilerVersion compilerExecutable mpi - if [[ ${CHOST} == *-darwin* ]] ; then - compiler=darwin - compilerVersion=$(gcc-fullversion) - compilerExecutable=$(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=gcc - compilerVersion=$(gcc-version) - compilerExecutable=$(tc-getCXX) - fi - - # Huge number of strict-aliasing warnings cause a build failure w/ >= GCC 4.4 bug #252287 - [[ $(gcc-version) > 4.3 ]] && append-flags -Wno-strict-aliasing - - use mpi && mpi="using mpi ;" - - if use python ; then - python_version - pystring="using python : ${PYVER} : /usr : /usr/include/python${PYVER} : /usr/lib/python${PYVER} ;" - 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=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. - - use icu && OPTIONS="-sICU_PATH=/usr" - use expat && OPTIONS="${OPTIONS} -sEXPAT_INCLUDE=/usr/include -sEXPAT_LIBPATH=/usr/$(get_libdir)" - use mpi || OPTIONS="${OPTIONS} --without-mpi" - use python || OPTIONS="${OPTIONS} --without-python" - - if use sparc || use mips || use hppa ; then - OPTIONS="${OPTIONS} --disable-long-double" - fi - - OPTIONS="${OPTIONS} --user-config=\"${S}/user-config.jam\" --boost-build=/usr/share/boost-build-${MAJOR_PV} --prefix=\"${D}/usr\" --layout=versioned" - -} - -src_compile() { - - NUMJOBS=$(sed -e 's/.*\(\-j[ 0-9]\+\) .*/\1/; s/--jobs=\?/-j/' <<< ${MAKEOPTS}) - - einfo "Using the following options to build: " - einfo " ${OPTIONS}" - - export BOOST_ROOT="${S}" - - ${BJAM} ${NUMJOBS} -q \ - gentoorelease \ - ${OPTIONS} \ - threading=single,multi link=shared,static runtime-link=shared \ - || die "building boost failed" - - # ... and do the whole thing one more time to get the debug libs - if use debug ; then - ${BJAM} ${NUMJOBS} -q \ - gentoodebug \ - ${OPTIONS} \ - threading=single,multi link=shared,static runtime-link=shared \ - --buildid=debug \ - || die "building boost failed" - fi - - if use tools; then - cd "${S}/tools/" - ${BJAM} ${NUMJOBS} -q \ - gentoorelease \ - ${OPTIONS} \ - || die "building tools failed" - fi - -} - -src_install () { - einfo "Using the following options to install: " - einfo " ${OPTIONS}" - - export BOOST_ROOT="${S}" - - ${BJAM} -q \ - gentoorelease \ - ${OPTIONS} \ - threading=single,multi link=shared,static runtime-link=shared \ - --includedir="${D}/usr/include" \ - --libdir="${D}/usr/$(get_libdir)" \ - install || die "install failed for options '${OPTIONS}'" - - if use debug ; then - ${BJAM} -q \ - gentoodebug \ - ${OPTIONS} \ - threading=single,multi link=shared,static runtime-link=shared \ - --includedir="${D}/usr/include" \ - --libdir="${D}/usr/$(get_libdir)" \ - --buildid=debug \ - install || die "install failed for options '${OPTIONS}'" - fi - - use python || rm -rf "${D}/usr/include/boost-${MAJOR_PV}/boost"/python* - - dodir /usr/share/boost-eselect/profiles/${SLOT} - touch "${D}/usr/share/boost-eselect/profiles/${SLOT}/default" - use debug && touch "${D}/usr/share/boost-eselect/profiles/${SLOT}/debug" - - # Move the mpi.so to the right place and make sure it's slotted - if use mpi && use python; then - mkdir -p "${D}/usr/$(get_libdir)/python${PYVER}/site-packages/boost_${MAJOR_PV}" - mv "${D}/usr/$(get_libdir)/mpi.so" "${D}/usr/$(get_libdir)/python${PYVER}/site-packages/boost_${MAJOR_PV}/" - touch "${D}/usr/$(get_libdir)/python${PYVER}/site-packages/boost_${MAJOR_PV}/__init__.py" - _add_line "python=\"/usr/$(get_libdir)/python${PYVER}/site-packages/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 more people wiki - dohtml \ - -A pdf,txt \ - -r tools - insinto /usr/share/doc/${PF}/html - doins -r libs - - # To avoid broken links - insinto /usr/share/doc/${PF}/html - doins LICENSE_1_0.txt - - dosym /usr/include/boost /usr/share/doc/${PF}/html/boost - fi - - cd "${D}/usr/$(get_libdir)" - - # 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 *{.a,$(get_libname)} | 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}" - done - - # The threading libs obviously always gets the "-mt" (multithreading) tag - # some packages seem to have a problem with it. Creating symlinks... - for lib in libboost_thread-mt-${MAJOR_PV}{.a,$(get_libname)} ; do - dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})" - done - - # The same goes for the mpi libs - if use mpi ; then - for lib in libboost_mpi-mt-${MAJOR_PV}{.a,$(get_libname)} ; do - dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})" - done - fi - - if use debug ; then - for lib in libboost_thread-mt-${MAJOR_PV}-debug{.a,$(get_libname)} ; do - dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})" - done - - if use mpi ; then - for lib in libboost_mpi-mt-${MAJOR_PV}-debug{.a,$(get_libname)} ; do - dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})" - 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} - - _add_line "libs=\"" default - for f in $(ls -1 *{.a,$(get_libname)} | grep -v debug) ; do - dosym ../${f} /usr/$(get_libdir)/boost-${MAJOR_PV}/${f/-${MAJOR_PV}} - _add_line "/usr/$(get_libdir)/${f}" default - done - _add_line "\"" default - - if use debug ; then - _add_line "libs=\"" debug - dodir /usr/$(get_libdir)/boost-${MAJOR_PV}-debug - for f in $(ls -1 *{.a,$(get_libname)} | grep debug) ; do - dosym ../${f} /usr/$(get_libdir)/boost-${MAJOR_PV}-debug/${f/-${MAJOR_PV}-debug} - _add_line "/usr/$(get_libdir)/${f}" debug - done - _add_line "\"" debug - - _add_line "includes=\"/usr/include/boost-${MAJOR_PV}/boost\"" debug - _add_line "suffix=\"-debug\"" debug - fi - - _add_line "includes=\"/usr/include/boost-${MAJOR_PV}/boost\"" default - - if use tools; then - cd "${S}/dist/bin" - # Append version postfix to binaries for slotting - _add_line "bins=\"" - for b in * ; do - newbin "${b}" "${b}-${MAJOR_PV}" - _add_line "/usr/bin/${b}-${MAJOR_PV}" - done - _add_line "\"" - - cd "${S}/dist" - insinto /usr/share - doins -r share/boostbook - # Append version postfix for slotting - mv "${D}/usr/share/boostbook" "${D}/usr/share/boostbook-${MAJOR_PV}" - _add_line "dirs=\"/usr/share/boostbook-${MAJOR_PV}\"" - fi - - cd "${S}/status" - if [ -f regress.log ] ; then - docinto status - dohtml *.{html,gif} ../boost.png - dodoc regress.log - 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_names. - [[ -z ${ED+set} ]] && local ED=${D%/}${EPREFIX}/ - if [[ ${CHOST} == *-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=$(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=${S} - - cd "${S}/tools/regression/build" - ${BJAM} -q \ - gentoorelease \ - ${OPTIONS} \ - process_jam_log compiler_status \ - || die "building regression test helpers failed" - - cd "${S}/status" - - # Some of the test-checks seem to rely on regexps - export LC_ALL="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 - ${BJAM} \ - ${OPTIONS} \ - --dump-tests 2>&1 | tee regress.log - - # Postprocessing - cat regress.log | "${S}/tools/regression/build/bin/gcc-$(gcc-version)/gentoorelease/process_jam_log" --v2 - if test $? != 0 ; then - die "Postprocessing the build log failed" - fi - - cat > "${S}/status/comment.html" <<- __EOF__ -

Tests are run on a Gentoo system.

-__EOF__ - - # Generate the build log html summary page - "${S}/tools/regression/build/bin/gcc-$(gcc-version)/gentoorelease/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|http://www.boost.org/boost.png|boost.png|' *.html -} - -pkg_postinst() { - use eselect && eselect boost update - if [ ! -h "${ROOT}/etc/eselect/boost/active" ] ; then - elog "No active boost version found. Calling eselect to select one..." - eselect boost update - fi -} diff --git a/dev-libs/boost/boost-1.41.0.ebuild b/dev-libs/boost/boost-1.41.0.ebuild deleted file mode 100644 index 693cbaba13f6..000000000000 --- a/dev-libs/boost/boost-1.41.0.ebuild +++ /dev/null @@ -1,426 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.41.0.ebuild,v 1.1 2009/12/02 14:32:19 djc Exp $ - -EAPI="2" - -inherit python flag-o-matic multilib toolchain-funcs versionator check-reqs - -MY_P=${PN}_$(replace_all_version_separators _) - -DESCRIPTION="Boost Libraries for C++" -HOMEPAGE="http://www.boost.org/" -SRC_URI="mirror://sourceforge/boost/${MY_P}.tar.bz2" -LICENSE="Boost-1.0" -SLOT="$(get_version_component_range 1-2)" -IUSE="debug doc +eselect expat icu mpi python test tools" - -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" - -RDEPEND="icu? ( >=dev-libs/icu-3.3 ) - expat? ( dev-libs/expat ) - mpi? ( || ( >=sys-cluster/openmpi-1.2.9[cxx] =app-admin/eselect-boost-0.3" -DEPEND="${RDEPEND} - dev-util/boost-build:${SLOT}" - -S=${WORKDIR}/${MY_P} - -MAJOR_PV=$(replace_all_version_separators _ ${SLOT}) -BJAM="bjam-${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/${SLOT}/debug" - else - echo "${1}" >> "${D}/usr/share/boost-eselect/profiles/${SLOT}/${2}" - fi -} - -pkg_setup() { - if use test ; 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 - - if use debug ; then - ewarn "The debug USE-flag means that a second set of the boost libraries" - ewarn "will be built containing debug-symbols. You'll be able to select them" - ewarn "using the boost-eselect module. But even though the optimization flags" - ewarn "you might have set are not stripped, there will be a performance" - 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" - - # bug 291660 - epatch "${FILESDIR}/boost-${PV}-parameter-needs-python.patch" - - # http://thread.gmane.org/gmane.comp.lib.boost.devel/196471 - epatch "${FILESDIR}/boost-${PV}-mpi_process_group-missing-include.patch" - - # This enables building the boost.random library with /dev/urandom support - if [[ -e /dev/urandom ]] ; then - mkdir -p libs/random/build - cp "${FILESDIR}/random-Jamfile" libs/random/build/Jamfile.v2 - # yeah, we WANT it to work on non-Linux too - sed -i -e 's/#ifdef __linux__/#if 1/' libs/random/random_device.cpp || die - fi -} - -src_configure() { - einfo "Writing new user-config.jam" - - local compiler compilerVersion compilerExecutable mpi - if [[ ${CHOST} == *-darwin* ]] ; then - compiler=darwin - compilerVersion=$(gcc-fullversion) - compilerExecutable=$(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=gcc - compilerVersion=$(gcc-version) - compilerExecutable=$(tc-getCXX) - fi - - # Using -fno-strict-aliasing to prevent possible creation of invalid code. - append-flags -fno-strict-aliasing - - use mpi && mpi="using mpi ;" - - if use python ; then - python_version - pystring="using python : ${PYVER} : /usr : /usr/include/python${PYVER} : /usr/lib/python${PYVER} ;" - 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=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. - - use icu && OPTIONS="-sICU_PATH=/usr" - use expat && OPTIONS="${OPTIONS} -sEXPAT_INCLUDE=/usr/include -sEXPAT_LIBPATH=/usr/$(get_libdir)" - use mpi || OPTIONS="${OPTIONS} --without-mpi" - use python || OPTIONS="${OPTIONS} --without-python" - - # https://svn.boost.org/trac/boost/attachment/ticket/2597/add-disable-long-double.patch - if use sparc || use mips || use hppa || use arm || use x86-fbsd; then - OPTIONS="${OPTIONS} --disable-long-double" - fi - - OPTIONS="${OPTIONS} --user-config=\"${S}/user-config.jam\" --boost-build=/usr/share/boost-build-${MAJOR_PV} --prefix=\"${D}/usr\" --layout=versioned" - -} - -src_compile() { - - NUMJOBS=$(sed -r -e 's/--jobs=?/-j/; s/.*(-j ?[0-9]+).*/\1/' <<< ${MAKEOPTS}) - - einfo "Using the following options to build: " - einfo " ${OPTIONS}" - - export BOOST_ROOT="${S}" - - ${BJAM} ${NUMJOBS} -q \ - gentoorelease \ - ${OPTIONS} \ - threading=single,multi link=shared,static runtime-link=shared \ - || die "building boost failed" - - # ... and do the whole thing one more time to get the debug libs - if use debug ; then - ${BJAM} ${NUMJOBS} -q \ - gentoodebug \ - ${OPTIONS} \ - threading=single,multi link=shared,static runtime-link=shared \ - --buildid=debug \ - || die "building boost failed" - fi - - if use tools; then - cd "${S}/tools/" - ${BJAM} ${NUMJOBS} -q \ - gentoorelease \ - ${OPTIONS} \ - || die "building tools failed" - fi - -} - -src_install () { - einfo "Using the following options to install: " - einfo " ${OPTIONS}" - - export BOOST_ROOT="${S}" - - ${BJAM} -q \ - gentoorelease \ - ${OPTIONS} \ - threading=single,multi link=shared,static runtime-link=shared \ - --includedir="${D}/usr/include" \ - --libdir="${D}/usr/$(get_libdir)" \ - install || die "install failed for options '${OPTIONS}'" - - if use debug ; then - ${BJAM} -q \ - gentoodebug \ - ${OPTIONS} \ - threading=single,multi link=shared,static runtime-link=shared \ - --includedir="${D}/usr/include" \ - --libdir="${D}/usr/$(get_libdir)" \ - --buildid=debug \ - install || die "install failed for options '${OPTIONS}'" - fi - - use python || rm -rf "${D}/usr/include/boost-${MAJOR_PV}/boost"/python* - - dodir /usr/share/boost-eselect/profiles/${SLOT} - touch "${D}/usr/share/boost-eselect/profiles/${SLOT}/default" - use debug && touch "${D}/usr/share/boost-eselect/profiles/${SLOT}/debug" - - # Move the mpi.so to the right place and make sure it's slotted - if use mpi && use python; then - mkdir -p "${D}/usr/$(get_libdir)/python${PYVER}/site-packages/boost_${MAJOR_PV}" - mv "${D}/usr/$(get_libdir)/mpi.so" "${D}/usr/$(get_libdir)/python${PYVER}/site-packages/boost_${MAJOR_PV}/" - touch "${D}/usr/$(get_libdir)/python${PYVER}/site-packages/boost_${MAJOR_PV}/__init__.py" - _add_line "python=\"/usr/$(get_libdir)/python${PYVER}/site-packages/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 more people wiki - dohtml \ - -A pdf,txt \ - -r tools - insinto /usr/share/doc/${PF}/html - doins -r libs - - # To avoid broken links - insinto /usr/share/doc/${PF}/html - doins LICENSE_1_0.txt - - dosym /usr/include/boost-${MAJOR_PV}/boost /usr/share/doc/${PF}/html/boost - fi - - cd "${D}/usr/$(get_libdir)" - - # 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 *{.a,$(get_libname)} | 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}" - done - - # The threading libs obviously always gets the "-mt" (multithreading) tag - # some packages seem to have a problem with it. Creating symlinks... - for lib in libboost_thread-mt-${MAJOR_PV}{.a,$(get_libname)} ; do - dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})" - done - - # The same goes for the mpi libs - if use mpi ; then - for lib in libboost_mpi-mt-${MAJOR_PV}{.a,$(get_libname)} ; do - dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})" - done - fi - - if use debug ; then - for lib in libboost_thread-mt-${MAJOR_PV}-debug{.a,$(get_libname)} ; do - dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})" - done - - if use mpi ; then - for lib in libboost_mpi-mt-${MAJOR_PV}-debug{.a,$(get_libname)} ; do - dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})" - 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} - - _add_line "libs=\"" default - for f in $(ls -1 *{.a,$(get_libname)} | grep -v debug) ; do - dosym ../${f} /usr/$(get_libdir)/boost-${MAJOR_PV}/${f/-${MAJOR_PV}} - _add_line "/usr/$(get_libdir)/${f}" default - done - _add_line "\"" default - - if use debug ; then - _add_line "libs=\"" debug - dodir /usr/$(get_libdir)/boost-${MAJOR_PV}-debug - for f in $(ls -1 *{.a,$(get_libname)} | grep debug) ; do - dosym ../${f} /usr/$(get_libdir)/boost-${MAJOR_PV}-debug/${f/-${MAJOR_PV}-debug} - _add_line "/usr/$(get_libdir)/${f}" debug - done - _add_line "\"" debug - - _add_line "includes=\"/usr/include/boost-${MAJOR_PV}/boost\"" debug - _add_line "suffix=\"-debug\"" debug - fi - - _add_line "includes=\"/usr/include/boost-${MAJOR_PV}/boost\"" default - - if use tools; then - cd "${S}/dist/bin" - # Append version postfix to binaries for slotting - _add_line "bins=\"" - for b in * ; do - newbin "${b}" "${b}-${MAJOR_PV}" - _add_line "/usr/bin/${b}-${MAJOR_PV}" - done - _add_line "\"" - - cd "${S}/dist" - insinto /usr/share - doins -r share/boostbook - # Append version postfix for slotting - mv "${D}/usr/share/boostbook" "${D}/usr/share/boostbook-${MAJOR_PV}" - _add_line "dirs=\"/usr/share/boostbook-${MAJOR_PV}\"" - fi - - cd "${S}/status" - if [ -f regress.log ] ; then - docinto status - dohtml *.{html,gif} ../boost.png - dodoc regress.log - 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_names. - [[ -z ${ED+set} ]] && local ED=${D%/}${EPREFIX}/ - if [[ ${CHOST} == *-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=$(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=${S} - - cd "${S}/tools/regression/build" - ${BJAM} -q \ - gentoorelease \ - ${OPTIONS} \ - process_jam_log compiler_status \ - || die "building regression test helpers failed" - - cd "${S}/status" - - # Some of the test-checks seem to rely on regexps - export LC_ALL="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 - ${BJAM} \ - ${OPTIONS} \ - --dump-tests 2>&1 | tee regress.log - - # Postprocessing - cat regress.log | "${S}/tools/regression/build/bin/gcc-$(gcc-version)/gentoorelease/process_jam_log" --v2 - if test $? != 0 ; then - die "Postprocessing the build log failed" - fi - - cat > "${S}/status/comment.html" <<- __EOF__ -

Tests are run on a Gentoo system.

-__EOF__ - - # Generate the build log html summary page - "${S}/tools/regression/build/bin/gcc-$(gcc-version)/gentoorelease/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|http://www.boost.org/boost.png|boost.png|' *.html -} - -pkg_postinst() { - use eselect && eselect boost update - if [ ! -h "${ROOT}/etc/eselect/boost/active" ] ; then - elog "No active boost version found. Calling eselect to select one..." - eselect boost update - fi -} diff --git a/dev-libs/boost/files/remove-toolset-1.40.0.patch b/dev-libs/boost/files/remove-toolset-1.40.0.patch deleted file mode 100644 index b7d797c37376..000000000000 --- a/dev-libs/boost/files/remove-toolset-1.40.0.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- Jamroot 2009-08-23 18:17:37.000000000 +0200 -+++ Jamroot.gentoo 2009-10-21 13:31:46.000000000 +0200 -@@ -352,7 +352,7 @@ - if $(layout) = versioned - { - result = [ common.format-name -- -$(BOOST_VERSION_TAG) -+ -$(BOOST_VERSION_TAG) - -$(BUILD_ID) - : $(name) : $(type) : $(property-set) ] ; - } -- cgit v1.2.3-65-gdbad