diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/ace |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/ace')
-rw-r--r-- | dev-libs/ace/Manifest | 11 | ||||
-rw-r--r-- | dev-libs/ace/ace-5.7.2.ebuild | 84 | ||||
-rw-r--r-- | dev-libs/ace/ace-5.8.3.ebuild | 87 | ||||
-rw-r--r-- | dev-libs/ace/metadata.xml | 14 |
4 files changed, 196 insertions, 0 deletions
diff --git a/dev-libs/ace/Manifest b/dev-libs/ace/Manifest new file mode 100644 index 000000000000..526b673c81b4 --- /dev/null +++ b/dev-libs/ace/Manifest @@ -0,0 +1,11 @@ +DIST ACE+TAO+CIAO-5.7.2.tar.bz2 49824451 SHA256 5290e378c9417892e7e57eef06e74affeb6a93ba3e7c67e24e02e72c282ea37a SHA512 798707aaa04b253f4b1241cd3263a87bdf7188437f858aac910a6fbf54bcf27c41f827fe81cea68b813ac068bd7a04f63e7f4eb948432d9240c4979fdf7f0ce1 WHIRLPOOL 23214425fd1d2a13622b1f21ec16fde84eb76a22305a6393642cdb4ea3d6d58481b59323a64ac91bed7ff672d5b5e8b6fe389ed9620ce898a00bf6332370d38e +DIST ACE+TAO+CIAO-5.8.3.tar.bz2 44653860 SHA256 db4e7722e8c931902b7781c6a17f6d22037c93edc979ab5581a59e4990e59562 SHA512 e062c1922ebec33eea7d55fbb97acc487cb2f0342a80312a5eeebe0d3e026df9632a1b2e93e146c308971c4cfc0189cf7cfbdadfb003493971c837b506e22184 WHIRLPOOL f36decf821a3943677b74b632d7ca17444646b5cb7b867128224fa1f8f4bfb10ce4515282ab671056529aa6f9dc96026709a08e16f4c90c2969c68e8ad82db5a +DIST ACE+TAO-5.7.2.tar.bz2 26111373 SHA256 95d9bfe506bfe55e489863413d83f214d2f6948a836449ed4dce6cf8c7d05d1d SHA512 9c25bc3773dd92d943bf67595470a485be1d7ebe893ddf20ec55a77d66080cf755e0c5cdc77a8f53d49d1f2ae4ec03cdbc7ac0dc68e179467b8ce7ad3abb5387 WHIRLPOOL 02b575fc831e988164be3667f1c8b34ef7bd6c5fe131884d4443058a70ca68f975391e5b7efc56235e4d4b598879941fd6737a7a1d0448b837a512ee7269630e +DIST ACE+TAO-5.8.3.tar.bz2 21366503 SHA256 d7b7a8c570b479959465a2b0fe5013933513958b36716c05327b256a63e7c9ae SHA512 9474251a0dff0659cf0951ad7ef48bf98503e6aa293121fecaaa6d4eba665dc557b17d004f4a589b13a45bccf9ddba893fc9ea454b257c7117d8747bbc04c886 WHIRLPOOL 17fe4a016cd4d5b25bda9041a9a6ccf4d9d4ba3daf0f7266c2e3f74797ee492b59b259313e7806d07d8d3768824e15fe06383a1769e060a8b3a62156fc49278a +DIST ACE-5.7.2.tar.bz2 9724175 SHA256 e358281a93cbc932351030675fb7956875f996e0dc42cf1f499a2d5bd018e0ad SHA512 7f5d77ea9ab1f03ad615cf6b01cb75b0484c5e828790609b8492463153a34c62d974000c0f3952dfdab143cad3c0aa6e2ddc7ea089989b6e9b9797bc6430d38b WHIRLPOOL e57db857a3ca1411fe3bcf166b7aee059d8e07e752cdd919e9ca7a1766bea7562027752326a24937719da432323569f302360849d3976bd44f05f0bfb1ce0946 +DIST ACE-5.8.3.tar.bz2 8956345 SHA256 fabf53dd64674b80eee296cc95705f13866230c70bbac10f475e5a6169395b9d SHA512 3b1e0dfdd59dacbfd987499653e42ad41273de28bb5e920105b897567eed96f6e1b09a03c7f342277c2cf82231426b2bee4ed76ad98fec05e0fe589c9d86c469 WHIRLPOOL 61641e94452a538f90ded35c9b91030246566c3e90e9e7ea48831a7232d765de9207106a9ca58a7674a8e7631e8e8731e648fadb613995c87fe84181a0973105 +EBUILD ace-5.7.2.ebuild 2446 SHA256 91b4be9e3fdac26ff8cb0cd859c73164d090fc7f1ba1b18b96ec0c2b2ff36aa8 SHA512 5e4c666442570e952bbfb2be6779c918cc9ae64e77a5476e00e91b53266dce4dd29aca93b0d486fc4f319225e5b269e6a97f424b5e9b6087d73770d3e8ebf221 WHIRLPOOL bab814709c822a97db035a1aa2429d9452d669780a797262f06ee6149949914b918e40ba07489e114021e536c80300b90312559ebdb062fd2292a2121f3045e0 +EBUILD ace-5.8.3.ebuild 2430 SHA256 77ac37a5f0f42a4b7604c1e14565d86b2dfa60a2a61d4d5c73e2e49eb45c9097 SHA512 01c1848d5ec47a0d117a2f3fc984738b039ce10b66d02c3d861612437df5b2c5780da922b42f9d4d16e716a9a6591298c26b99e548937da5597d8684e96167c9 WHIRLPOOL 2735741e2f6222a0683993f037d9f74354de7d7802eb287cc6e20ec09bcabb412a5b2086de228681e2580c0ac94f4f0885f7cf9c2cafe5fba7b145c7f823dd3d +MISC ChangeLog 3814 SHA256 3b4bb68ed4d85eb729bc393049f0257590bcb5607985c2f856bba3469948ec8c SHA512 aa2f40c29e4613b15e74850d7d02a45a6bb8da3e9f27973fedf6be3814501c55f9341c38309af882c0b47a0052c61ec430300177a4b7ee7327d117ecc7b395bc WHIRLPOOL f1caa8e3b9ccfcb04083612fc8fd6090d1e9ce654f5fe4c6b7bf0e1a9530b7bcfacd9d68963c00bf4a147e0a3d164fb70339b2bfe1bdc43dc6c5271cb7f26877 +MISC ChangeLog-2015 9139 SHA256 a5211acd974a49c47bc93623b6dc3539c869aa8b8017aec863e1d80bcf12bed6 SHA512 43ceeb4ae766822fc4a11afd4d341e88e967d407c19f4137151d1c7e6998e5a873e485369a5462d726a714c7412a701ff88c4b8d520e5b9144102a40b82e5d13 WHIRLPOOL 3088e4328f760bf64ebe0c815b5aa03936878db7117336b11f7dc65aa213023eb022677402fc700f99e25f108b5a8deec70129c851d0303de5f99eb3f3a1a575 +MISC metadata.xml 450 SHA256 68052385d50177a59b4a84208b85a26e605447ab1b83e01854904d032efef586 SHA512 a1f66a959567a84d6440486b368e9b727eb7e7b3ece31c8b8ae6c54bba822da453bce3f2ab0f50f1efc962fd4a443ba0889ca75af6d077636864d72bf0a0ec05 WHIRLPOOL 49e8ab5af66c60ac9ef3c21b796e559a5103b39b288874156a86f19de3e1e58a1597ab4e7734d7536c85c61adb6b8f8f78dbf6dbb29a22dcb1d508820ec5a885 diff --git a/dev-libs/ace/ace-5.7.2.ebuild b/dev-libs/ace/ace-5.7.2.ebuild new file mode 100644 index 000000000000..4d172ad18eda --- /dev/null +++ b/dev-libs/ace/ace-5.7.2.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="The Adaptive Communications Environment" +HOMEPAGE="http://www.cs.wustl.edu/~schmidt/ACE.html" +SRC_URI="!tao? ( http://download.dre.vanderbilt.edu/previous_versions/ACE-${PV}.tar.bz2 ) + tao? ( + !ciao? ( http://download.dre.vanderbilt.edu/previous_versions/ACE+TAO-${PV}.tar.bz2 ) + ciao? ( http://download.dre.vanderbilt.edu/previous_versions/ACE+TAO+CIAO-${PV}.tar.bz2 ) + )" + +LICENSE="ACE BSD BSD-4 BSD-2 tao? ( sun-iiop RSA )" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86" +IUSE="X ipv6 tao ciao" + +COMMON_DEPEND="dev-libs/openssl" +# TODO probably more +RDEPEND="${COMMON_DEPEND} + X? ( x11-libs/libXt x11-libs/libXaw )" + +DEPEND="${COMMON_DEPEND} + X? ( x11-proto/xproto )" + +S="${WORKDIR}/ACE_wrappers" + +src_unpack() { + unpack ${A} + cd "${S}" + # Let's avoid autotools. https://bugs.gentoo.org/328027. + if has_version ">=dev-libs/openssl-1.0.0"; then + sed -i -e 's:SSL_METHOD:const SSL_METHOD:' configure || die + fi + + sed -i -e 's/-O3//' configure || die +} + +src_compile() { + export ACE_ROOT="${S}" + mkdir build + cd build + + ECONF_SOURCE="${S}" + econf \ + --enable-lib-all \ + $(use_with X) \ + $(use_enable ipv6) \ + || die "econf died" + # --with-qos needs ACE_HAS_RAPI + emake static_libs=1 || die "emake failed" +} + +src_install() { + cd build + emake ACE_ROOT="${S}" DESTDIR="${D}" install || die "failed to install" + # punt gperf stuff + rm -rf "${D}/usr/bin" "${D}/usr/share" + # remove PACKAGE_* definitions from installed config.h (#192676) + sed -i -e "s:^[ \t]*#define[ \t]\+PACKAGE_.*$:/\* & \*/:g" "${D}/usr/include/ace/config.h" + + # Install some docs + cd "${S}" + dodoc README NEWS ChangeLog AUTHORS VERSION Release || die +} + +src_test() { + cd "${S}/build" + emake ACE_ROOT="${S}" check || die "self test failed" +} + +pkg_postinst() { + + local CC_MACHINE=$($(tc-getCC) -dumpmachine) + if [ -d "/usr/$(get_libdir)/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace" ]; then + ewarn "moving /usr/$(get_libdir)/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace to" + ewarn "ace.old" + ewarn "This is required, as anything trying to compile against ACE will" + ewarn "have problems with conflicting OS.h files if this is not done." + mv "/usr/$(get_libdir)/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace" \ + "/usr/$(get_libdir)/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace.old" + fi +} diff --git a/dev-libs/ace/ace-5.8.3.ebuild b/dev-libs/ace/ace-5.8.3.ebuild new file mode 100644 index 000000000000..5acad9eca3ce --- /dev/null +++ b/dev-libs/ace/ace-5.8.3.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils multilib toolchain-funcs + +DESCRIPTION="The Adaptive Communications Environment" +HOMEPAGE="http://www.cs.wustl.edu/~schmidt/ACE.html" +SRC_URI="!tao? ( http://download.dre.vanderbilt.edu/previous_versions/ACE-${PV}.tar.bz2 ) + tao? ( + !ciao? ( http://download.dre.vanderbilt.edu/previous_versions/ACE+TAO-${PV}.tar.bz2 ) + ciao? ( http://download.dre.vanderbilt.edu/previous_versions/ACE+TAO+CIAO-${PV}.tar.bz2 ) + )" + +LICENSE="ACE BSD BSD-4 BSD-2 tao? ( sun-iiop RSA )" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="X ciao ipv6 libressl static-libs tao" + +COMMON_DEPEND=" + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= )" +# TODO probably more +RDEPEND="${COMMON_DEPEND} + X? ( x11-libs/libXt x11-libs/libXaw )" + +DEPEND="${COMMON_DEPEND} + X? ( x11-proto/xproto )" + +S="${WORKDIR}/ACE_wrappers" + +src_prepare() { + sed -i \ + -e 's:SSL_METHOD:const SSL_METHOD:' \ + -e 's/-O3//' \ + configure || die "sed on configure failed" + mkdir build || die + export ACE_ROOT="${S}" + + epatch_user +} + +src_configure() { + pushd build >/dev/null || die + ECONF_SOURCE="${S}" + econf \ + --enable-lib-all \ + $(use_with X) \ + $(use_enable ipv6) \ + $(use_enable static-libs static) + popd >/dev/null || die +} + +src_compile() { + # --with-qos needs ACE_HAS_RAPI + emake -C build +} + +src_install() { + emake -C build ACE_ROOT="${S}" DESTDIR="${D}" install + # punt gperf stuff + rm -rf "${D}/usr/bin" "${D}/usr/share" + # remove PACKAGE_* definitions from installed config.h (#192676) + sed -i -e "s:^[ \t]*#define[ \t]\+PACKAGE_.*$:/\* & \*/:g" "${D}/usr/include/ace/config.h" || die + + # Install some docs + dodoc README NEWS ChangeLog AUTHORS VERSION + + prune_libtool_files +} + +src_test() { + emake -C build ACE_ROOT="${S}" check +} + +pkg_postinst() { + + local CC_MACHINE=$($(tc-getCC) -dumpmachine) + if [ -d "/usr/$(get_libdir)/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace" ]; then + ewarn "moving /usr/$(get_libdir)/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace to" + ewarn "ace.old" + ewarn "This is required, as anything trying to compile against ACE will" + ewarn "have problems with conflicting OS.h files if this is not done." + mv "/usr/$(get_libdir)/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace" \ + "/usr/$(get_libdir)/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace.old" + fi +} diff --git a/dev-libs/ace/metadata.xml b/dev-libs/ace/metadata.xml new file mode 100644 index 000000000000..6c94047225c3 --- /dev/null +++ b/dev-libs/ace/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>cpp@gentoo.org</email> + <name>Gentoo C++ Project</name> +</maintainer> +<use> + <flag name="ciao">Include Component Intergraced Ace ORB into the build of + ace</flag> + <flag name="tao">Include the ACE ORB (CORBA stuff) (called tao) into the + build of ace</flag> +</use> +</pkgmetadata> |