Gentoo Archives: gentoo-commits

From: "Vlastimil Babka (caster)" <caster@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/omniORB: ChangeLog omniORB-4.1.3.ebuild omniORB-4.1.0.ebuild omniORB-4.1.1.ebuild
Date: Sat, 01 Nov 2008 22:40:35
Message-Id: E1KwP8y-0004Q0-Nv@stork.gentoo.org
1 caster 08/11/01 22:40:32
2
3 Modified: ChangeLog
4 Added: omniORB-4.1.3.ebuild
5 Removed: omniORB-4.1.0.ebuild omniORB-4.1.1.ebuild
6 Log:
7 Version bump. Should fix CFLAGS handling - bug #241076.
8 (Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo-r1-perfctr x86_64)
9
10 Revision Changes Path
11 1.50 net-misc/omniORB/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/omniORB/ChangeLog?rev=1.50&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/omniORB/ChangeLog?rev=1.50&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/omniORB/ChangeLog?r1=1.49&r2=1.50
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/omniORB/ChangeLog,v
20 retrieving revision 1.49
21 retrieving revision 1.50
22 diff -u -r1.49 -r1.50
23 --- ChangeLog 2 Apr 2008 21:20:13 -0000 1.49
24 +++ ChangeLog 1 Nov 2008 22:40:32 -0000 1.50
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-misc/omniORB
27 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/omniORB/ChangeLog,v 1.49 2008/04/02 21:20:13 caster Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/omniORB/ChangeLog,v 1.50 2008/11/01 22:40:32 caster Exp $
30 +
31 +*omniORB-4.1.3 (01 Nov 2008)
32 +
33 + 01 Nov 2008; Vlastimil Babka <caster@g.o> -files/mkomnistubs.py,
34 + -omniORB-4.1.0.ebuild, -omniORB-4.1.1.ebuild, +omniORB-4.1.3.ebuild:
35 + Version bump. Should fix CFLAGS handling - bug #241076.
36
37 *omniORB-4.1.2 (02 Apr 2008)
38
39
40
41
42 1.1 net-misc/omniORB/omniORB-4.1.3.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/omniORB/omniORB-4.1.3.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/omniORB/omniORB-4.1.3.ebuild?rev=1.1&content-type=text/plain
46
47 Index: omniORB-4.1.3.ebuild
48 ===================================================================
49 # Copyright 1999-2008 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.3.ebuild,v 1.1 2008/11/01 22:40:32 caster Exp $
52
53 inherit python eutils
54
55 DESCRIPTION="A robust, high-performance CORBA 2 ORB"
56 SRC_URI="mirror://sourceforge/omniorb/${PF}.tar.gz"
57 HOMEPAGE="http://omniorb.sourceforge.net/"
58
59 IUSE="ssl"
60
61 LICENSE="LGPL-2 GPL-2"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
64
65 DEPEND="dev-lang/python
66 ssl? ( >=dev-libs/openssl-0.9.6b )"
67
68 src_unpack() {
69 unpack ${A}
70 cd "${S}"
71
72 sed -i -e 's/^CXXDEBUGFLAGS.*/CXXDEBUGFLAGS = $(OPTCXXFLAGS)/' \
73 -e 's/^CDEBUGFLAGS.*/CDEBUGFLAGS = $(OPTCFLAGS)/' \
74 mk/beforeauto.mk.in \
75 mk/platforms/i586_linux_2.0*.mk || die "sed failed"
76 }
77
78 src_compile() {
79 mkdir build || die
80 cd build
81
82 MY_CONF="--prefix=/usr --with-omniORB-config=/etc/omniorb/omniORB.cfg \
83 --with-omniNames-logdir=/var/log/omniORB --libdir=/usr/$(get_libdir)"
84
85 use ssl && MY_CONF="${MY_CONF} --with-openssl=/usr"
86
87 python_version
88 PYTHON=/usr/bin/python${PYVER} ECONF_SOURCE=".." econf ${MY_CONF} \
89 || die "./configure failed"
90
91 emake OPTCFLAGS="${OPTCFLAGS}" OPTCXXFLAGS="${CXXFLAGS}" || die "emake failed"
92 }
93
94 src_install () {
95 cd "${S}/build"
96 emake DESTDIR="${D}" install || die "emake install failed"
97
98 cd "${S}"
99 dodoc COPYING* CREDITS README* ReleaseNotes* || die
100
101 docinto print
102 dodoc doc/*.ps doc/*.pdf || die
103
104 dodir /etc/env.d/
105 cat <<- EOF > "${T}/90omniORB"
106 PATH="/usr/share/omniORB/bin/scripts"
107 OMNIORB_CONFIG="/etc/omniorb/omniORB.cfg"
108 EOF
109 doenvd "${T}/90omniORB" || die
110 doinitd "${FILESDIR}"/omniNames || die
111
112 cp "sample.cfg" "${T}/omniORB.cfg" || die
113 cat <<- EOF >> "${T}/omniORB.cfg"
114 # resolve the omniNames running on localhost
115 InitRef = NameService=corbaname::localhost
116 EOF
117 dodir /etc/omniorb
118 insinto /etc/omniorb
119 doins "${T}/omniORB.cfg" || die
120
121 keepdir /var/log/omniORB
122 }
123
124 pkg_postinst() {
125 elog "Since 4.1.2, the omniORB init script has been renamed to omniNames for clarity."
126 python_mod_optimize "/usr/$(get_libdir)/python${PYVER}/site-packages/omniidl"
127 python_mod_optimize "/usr/$(get_libdir)/python${PYVER}/site-packages/omniidl_be"
128 }
129
130 pkg_postrm() {
131 python_mod_cleanup
132 }