1 |
caster 10/04/24 19:41:57 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: omniORB-4.1.4-r1.ebuild |
5 |
Log: |
6 |
Revbump with python improvements, thanks to Arfrefer, bug #315835. Add patch to respect LDFLAGS, bug #284191. |
7 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.62 net-misc/omniORB/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/omniORB/ChangeLog?rev=1.62&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/omniORB/ChangeLog?rev=1.62&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/omniORB/ChangeLog?r1=1.61&r2=1.62 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/omniORB/ChangeLog,v |
19 |
retrieving revision 1.61 |
20 |
retrieving revision 1.62 |
21 |
diff -u -r1.61 -r1.62 |
22 |
--- ChangeLog 23 Apr 2010 20:04:01 -0000 1.61 |
23 |
+++ ChangeLog 24 Apr 2010 19:41:57 -0000 1.62 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for net-misc/omniORB |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/omniORB/ChangeLog,v 1.61 2010/04/23 20:04:01 caster Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/omniORB/ChangeLog,v 1.62 2010/04/24 19:41:57 caster Exp $ |
29 |
+ |
30 |
+*omniORB-4.1.4-r1 (24 Apr 2010) |
31 |
+ |
32 |
+ 24 Apr 2010; Vlastimil Babka <caster@g.o> +omniORB-4.1.4-r1.ebuild, |
33 |
+ +files/ldflags.patch: |
34 |
+ Revbump with python improvements, thanks to Arfrefer, bug #315835. Add |
35 |
+ patch to respect LDFLAGS, bug #284191. |
36 |
|
37 |
23 Apr 2010; Vlastimil Babka <caster@g.o> -files/omniORB-4.0.0, |
38 |
-omniORB-4.0.5.ebuild, -omniORB-4.1.2.ebuild, -omniORB-4.1.3.ebuild, |
39 |
|
40 |
|
41 |
|
42 |
1.1 net-misc/omniORB/omniORB-4.1.4-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/omniORB/omniORB-4.1.4-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/omniORB/omniORB-4.1.4-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: omniORB-4.1.4-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2010 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/omniORB/omniORB-4.1.4-r1.ebuild,v 1.1 2010/04/24 19:41:57 caster Exp $ |
52 |
|
53 |
EAPI="3" |
54 |
|
55 |
# 2.5 is problematic due to bug #261330 |
56 |
PYTHON_DEPEND="2:2.6" |
57 |
|
58 |
inherit python eutils |
59 |
|
60 |
DESCRIPTION="A robust, high-performance CORBA 2 ORB" |
61 |
SRC_URI="mirror://sourceforge/omniorb/${P}.tar.gz" |
62 |
HOMEPAGE="http://omniorb.sourceforge.net/" |
63 |
|
64 |
LICENSE="LGPL-2 GPL-2" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
67 |
IUSE="doc ssl" |
68 |
|
69 |
RDEPEND="ssl? ( >=dev-libs/openssl-0.9.6b )" |
70 |
DEPEND="${RDEPEND}" |
71 |
|
72 |
pkg_setup() { |
73 |
python_set_active_version 2 |
74 |
} |
75 |
|
76 |
src_prepare() { |
77 |
# respect ldflags, bug #284191 |
78 |
epatch "${FILESDIR}/ldflags.patch" |
79 |
|
80 |
sed -i -e 's/^CXXDEBUGFLAGS.*/CXXDEBUGFLAGS = $(OPTCXXFLAGS)/' \ |
81 |
-e 's/^CDEBUGFLAGS.*/CDEBUGFLAGS = $(OPTCFLAGS)/' \ |
82 |
mk/beforeauto.mk.in \ |
83 |
mk/platforms/i586_linux_2.0*.mk || die "sed failed" |
84 |
} |
85 |
|
86 |
src_configure() { |
87 |
mkdir build && cd build || die |
88 |
|
89 |
local MY_CONF="--prefix=/usr --with-omniORB-config=/etc/omniorb/omniORB.cfg \ |
90 |
--with-omniNames-logdir=/var/log/omniORB --libdir=/usr/$(get_libdir)" |
91 |
|
92 |
use ssl && MY_CONF="${MY_CONF} --with-openssl=/usr" |
93 |
|
94 |
PYTHON="$(PYTHON -a)" ECONF_SOURCE=".." econf ${MY_CONF} |
95 |
} |
96 |
|
97 |
src_compile() { |
98 |
cd build |
99 |
emake OPTCFLAGS="${CFLAGS}" OPTCXXFLAGS="${CXXFLAGS}" || die "emake failed" |
100 |
} |
101 |
|
102 |
src_install() { |
103 |
cd build |
104 |
emake DESTDIR="${D}" install || die "emake install failed" |
105 |
# this looks redundant |
106 |
rm "${D}/usr/bin/omniidlrun.py" || die |
107 |
|
108 |
cd "${S}" |
109 |
dodoc COPYING* CREDITS README* ReleaseNotes* || die |
110 |
|
111 |
if use doc; then |
112 |
dohtml doc/*.html || die |
113 |
dohtml -r doc/omniORB || die |
114 |
docinto print |
115 |
dodoc doc/*.pdf || die |
116 |
fi |
117 |
|
118 |
dodir /etc/env.d/ |
119 |
cat <<- EOF > "${T}/90omniORB" |
120 |
PATH="/usr/share/omniORB/bin/scripts" |
121 |
OMNIORB_CONFIG="/etc/omniorb/omniORB.cfg" |
122 |
EOF |
123 |
doenvd "${T}/90omniORB" || die |
124 |
doinitd "${FILESDIR}"/omniNames || die |
125 |
|
126 |
cp "sample.cfg" "${T}/omniORB.cfg" || die |
127 |
cat <<- EOF >> "${T}/omniORB.cfg" |
128 |
# resolve the omniNames running on localhost |
129 |
InitRef = NameService=corbaname::localhost |
130 |
EOF |
131 |
dodir /etc/omniorb |
132 |
insinto /etc/omniorb |
133 |
doins "${T}/omniORB.cfg" || die |
134 |
|
135 |
keepdir /var/log/omniORB |
136 |
} |
137 |
|
138 |
pkg_postinst() { |
139 |
elog "Since 4.1.2, the omniORB init script has been renamed to omniNames for clarity." |
140 |
python_mod_optimize omniidl omniidl_be |
141 |
} |
142 |
|
143 |
pkg_postrm() { |
144 |
python_mod_cleanup omniidl omniidl_be |
145 |
} |