Gentoo Archives: gentoo-commits

From: "Daniel Black (dragonheart)" <dragonheart@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/ace: ChangeLog ace-5.6.5.ebuild ace-5.5.9.ebuild
Date: Fri, 20 Jun 2008 14:21:33
Message-Id: E1K9hUW-0002Yy-2E@stork.gentoo.org
1 dragonheart 08/06/20 14:21:28
2
3 Modified: ChangeLog
4 Added: ace-5.6.5.ebuild
5 Removed: ace-5.5.9.ebuild
6 Log:
7 version bump inspired by bug #227533. removed old unstable version
8 (Portage version: 2.1.4.4)
9
10 Revision Changes Path
11 1.53 dev-libs/ace/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ace/ChangeLog?rev=1.53&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ace/ChangeLog?rev=1.53&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ace/ChangeLog?r1=1.52&r2=1.53
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/ace/ChangeLog,v
20 retrieving revision 1.52
21 retrieving revision 1.53
22 diff -u -r1.52 -r1.53
23 --- ChangeLog 8 Oct 2007 09:06:40 -0000 1.52
24 +++ ChangeLog 20 Jun 2008 14:21:27 -0000 1.53
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-libs/ace
27 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/ace/ChangeLog,v 1.52 2007/10/08 09:06:40 dragonheart Exp $
29 +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/ace/ChangeLog,v 1.53 2008/06/20 14:21:27 dragonheart Exp $
31 +
32 +*ace-5.6.5 (20 Jun 2008)
33 +
34 + 20 Jun 2008; Daniel Black <dragonheart@g.o> -ace-5.5.9.ebuild,
35 + +ace-5.6.5.ebuild:
36 + version bump inspired by bug #227533. removed old unstable version
37
38 08 Oct 2007; Daniel Black <dragonheart@g.o> ace-5.5-r1.ebuild,
39 -ace-5.5.8.ebuild, ace-5.6.1.ebuild:
40
41
42
43 1.1 dev-libs/ace/ace-5.6.5.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ace/ace-5.6.5.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/ace/ace-5.6.5.ebuild?rev=1.1&content-type=text/plain
47
48 Index: ace-5.6.5.ebuild
49 ===================================================================
50 # Copyright 1999-2008 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-libs/ace/ace-5.6.5.ebuild,v 1.1 2008/06/20 14:21:27 dragonheart Exp $
53
54 inherit toolchain-funcs
55
56 DESCRIPTION="The Adaptive Communications Environment"
57 HOMEPAGE="http://www.cs.wustl.edu/~schmidt/ACE.html"
58 SRC_URI="!tao? ( http://download.dre.vanderbilt.edu/previous_versions/ACE-${PV}.tar.bz2 )
59 tao? (
60 !ciao? ( http://download.dre.vanderbilt.edu/previous_versions/ACE+TAO-${PV}.tar.bz2 )
61 ciao? ( http://download.dre.vanderbilt.edu/previous_versions/ACE+TAO+CIAO-${PV}.tar.bz2 )
62 )"
63 LICENSE="BSD as-is"
64 SLOT="0"
65 KEYWORDS="~x86 ~sparc ~ppc ~alpha ~amd64"
66 IUSE="X ipv6 tao ciao"
67
68 COMMON_DEPEND="dev-libs/openssl"
69 # TODO probably more
70 RDEPEND="${COMMON_DEPEND}
71 X? ( x11-libs/libXt x11-libs/libXaw )"
72
73 DEPEND="${COMMON_DEPEND}
74 X? ( x11-proto/xproto )"
75
76 S="${WORKDIR}/ACE_wrappers"
77
78 src_compile() {
79 export ACE_ROOT="${S}"
80 mkdir build
81 cd build
82
83 # This disables a silly test which fills the memory
84 # waiting for a bad_alloc exception and happily
85 # leaking memory (bug #169647)
86 #export ace_cv_new_throws_bad_alloc_exception="yes"
87
88 ECONF_SOURCE="${S}"
89 econf \
90 --enable-lib-all \
91 $(use_with X) \
92 $(use_enable ipv6) \
93 || die "econf died"
94 # --with-qos needs ACE_HAS_RAPI
95 emake static_libs=1 || die "emake failed"
96 }
97
98 src_install() {
99 cd build
100 emake ACE_ROOT="${S}" DESTDIR="${D}" install || die "failed to install"
101 insinto /usr/include/ace
102 doins "${S}/ace/OS.inl"
103 doins "${S}/ace/Select_Reactor.h"
104 # punt gperf stuff
105 rm -rf "${D}/usr/bin" "${D}/usr/share"
106 }
107
108 src_test() {
109 cd "${S}/build"
110 emake ACE_ROOT="${S}" check || die "self test failed"
111 sed -i -e "^#define PACKAGE_.*//g" /usr/include/ace/config.h
112 }
113
114 pkg_postinst() {
115
116 local CC_MACHINE=$($(tc-getCC) -dumpmachine)
117 if [ -d "/usr/$(get_libdir)/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace" ]; then
118 ewarn "moving /usr/$(get_libdir)/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace to"
119 ewarn "ace.old"
120 ewarn "This is required, as anything trying to compile against ACE will"
121 ewarn "have problems with conflicting OS.h files if this is not done."
122 mv "/usr/$(get_libdir)/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace" \
123 "/usr/$(get_libdir)/gcc-lib/${CC_MACHINE}/$(gcc-fullversion)/include/ace.old"
124 fi
125 }
126
127
128
129 --
130 gentoo-commits@l.g.o mailing list