Gentoo Archives: gentoo-commits

From: "Michael Haubenwallner (haubi)" <haubi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/mico: ChangeLog mico-2.3.13-r3.ebuild mico-2.3.13-r2.ebuild
Date: Wed, 24 Feb 2010 10:05:35
Message-Id: E1NkE7W-0007qI-1m@stork.gentoo.org
1 haubi 10/02/24 10:05:30
2
3 Modified: ChangeLog
4 Added: mico-2.3.13-r3.ebuild
5 Removed: mico-2.3.13-r2.ebuild
6 Log:
7 update postgres dependency to use virtual/postgresql-base (#306255)
8 (Portage version: 2.1.7.16/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.26 net-misc/mico/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mico/ChangeLog?rev=1.26&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mico/ChangeLog?rev=1.26&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mico/ChangeLog?r1=1.25&r2=1.26
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/mico/ChangeLog,v
20 retrieving revision 1.25
21 retrieving revision 1.26
22 diff -u -r1.25 -r1.26
23 --- ChangeLog 24 Feb 2010 08:53:26 -0000 1.25
24 +++ ChangeLog 24 Feb 2010 10:05:29 -0000 1.26
25 @@ -1,6 +1,13 @@
26 # ChangeLog for net-misc/mico
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/mico/ChangeLog,v 1.25 2010/02/24 08:53:26 haubi Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/mico/ChangeLog,v 1.26 2010/02/24 10:05:29 haubi Exp $
30 +
31 +*mico-2.3.13-r3 (24 Feb 2010)
32 +
33 + 24 Feb 2010; Michael Haubenwallner <haubi@g.o>
34 + -mico-2.3.13-r2.ebuild, +mico-2.3.13-r3.ebuild,
35 + +files/mico-2.3.13-drop-pgsql-header-check.patch:
36 + update postgres dependency to use virtual/postgresql-base (#306255)
37
38 24 Feb 2010; Michael Haubenwallner <haubi@g.o>
39 mico-2.3.13-r2.ebuild:
40
41
42
43 1.1 net-misc/mico/mico-2.3.13-r3.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mico/mico-2.3.13-r3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/mico/mico-2.3.13-r3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: mico-2.3.13-r3.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-misc/mico/mico-2.3.13-r3.ebuild,v 1.1 2010/02/24 10:05:29 haubi Exp $
53
54 EAPI="2"
55
56 inherit eutils flag-o-matic toolchain-funcs
57
58 DESCRIPTION="A freely available and fully compliant implementation of the CORBA standard"
59 HOMEPAGE="http://www.mico.org/"
60 SRC_URI="http://www.mico.org/${P}.tar.gz"
61
62 LICENSE="GPL-2 LGPL-2"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~ppc-aix ~ia64-hpux ~amd64-linux ~x86-linux ~sparc-solaris ~x86-winnt"
65 IUSE="gtk postgres qt4 ssl tcl threads X"
66 RESTRICT="test" #298101
67
68 # doesn't compile:
69 # bluetooth? ( net-wireless/bluez-libs )
70
71 RDEPEND="
72 gtk? ( x11-libs/gtk+:2 )
73 postgres? ( virtual/postgresql-base )
74 qt4? ( x11-libs/qt-gui:4[qt3support] )
75 ssl? ( dev-libs/openssl )
76 tcl? ( dev-lang/tcl )
77 X? ( x11-libs/libXt )
78 "
79 DEPEND="${RDEPEND}
80 >=sys-devel/flex-2.5.2
81 >=sys-devel/bison-1.22
82 "
83
84 S=${WORKDIR}/${PN}
85
86 src_prepare() {
87 epatch "${FILESDIR}"/${P}-nolibcheck.patch
88 epatch "${FILESDIR}"/${P}-gcc43.patch
89 epatch "${FILESDIR}"/${P}-pthread.patch
90 epatch "${FILESDIR}"/${P}-aix.patch
91 epatch "${FILESDIR}"/${P}-hpux.patch
92 epatch "${FILESDIR}"/${P}-as-needed.patch #280678
93 epatch "${FILESDIR}"/${P}-qt4-nothread.patch
94 epatch "${FILESDIR}"/${P}-drop-pgsql-header-check.patch
95
96 [[ ${CHOST} == *-winnt* ]] && epatch "${FILESDIR}"/${P}-winnt.patch.bz2
97
98 # cannot use big TOC (AIX only), gdb doesn't like it.
99 # This assumes that the compiler (or -wrapper) uses
100 # gcc flag '-mminimal-toc' for compilation.
101 sed -i -e 's/,-bbigtoc//' "${S}"/configure
102
103 if use qt4; then
104 sed -i -e "s, -lqt\", $(pkg-config --libs Qt3Support)\"," configure ||
105 die "cannot update to use Qt3Support of qt4"
106 fi
107 }
108
109 src_configure() {
110 tc-export CC CXX
111
112 if use gtk; then
113 # set up gtk-1 wrapper for gtk-2
114 mkdir "${T}"/path || die "failed to create temporary path"
115 cp "${FILESDIR}"/gtk-config "${T}"/path || die "failed to dupe gtk-config"
116 chmod +x "${T}"/path/gtk-config || die "failed to arm gtk-config"
117 export PATH="${T}"/path:${PATH}
118 fi
119
120 # Don't know which version of JavaCUP would suffice, but there is no
121 # configure argument to disable checking for JavaCUP.
122 # So we override the configure check to not find 'javac'.
123 export ac_cv_path_JAVAC=no
124
125 # '--without-ssl' just does not add another search path - the only way
126 # to disable openssl utilization seems to override the configure check.
127 use ssl || export ac_cv_lib_ssl_open=no
128
129 # CFLAGS aren't used when checking for <qapplication.h>, but CPPFLAGS are.
130 use qt4 && append-cppflags $(pkg-config --cflags Qt3Support)
131
132 local winopts=
133 if [[ ${CHOST} == *-winnt* ]]; then
134 # disabling static libs, since ar on interix takes nearly
135 # one hour per library, thanks to mico's monster objects.
136 winopts="${winopts} --disable-threads --disable-static --enable-final"
137 append-flags -D__STDC__
138 fi
139
140 # http://www.mico.org/pipermail/mico-devel/2009-April/010285.html
141 [[ ${CHOST} == *-hpux* ]] && append-cppflags -D_XOPEN_SOURCE_EXTENDED
142
143 # '--without-*' or '--with-*=no' does not disable some features, the value
144 # needs to be empty instead. This applies to: bluetooth, gtk, pgsql, qt, tcl.
145 # But --without-x works.
146
147 # bluetooth and wireless both don't compile cleanly
148 econf \
149 --disable-mini-stl \
150 $(use_enable threads) \
151 --with-gtk=$(use gtk && echo "${EPREFIX}"/usr) \
152 --with-pgsql=$(use postgres && echo "${EPREFIX}"/usr) \
153 --with-qt=$(use qt4 && echo "${EPREFIX}"/usr) \
154 --with-tcl=$(use tcl && echo "${EPREFIX}"/usr) \
155 $(use_with X x "${EPREFIX}"/usr) \
156 --with-bluetooth='' \
157 --disable-wireless \
158 ${winopts}
159 }
160
161 src_install() {
162 emake INSTDIR="${D}${EPREFIX}"/usr SHARED_INSTDIR="${D}${EPREFIX}"/usr install LDCONFIG=: || die "install failed"
163
164 dodir /usr/share || die
165 mv "${D}${EPREFIX}"/usr/man "${D}${EPREFIX}"/usr/share || die
166 dodir /usr/share/doc/${PF} || die
167 mv "${D}${EPREFIX}"/usr/doc "${D}${EPREFIX}"/usr/share/doc/${PF} || die
168
169 dodoc BUGS CHANGES* CONVERT FAQ README* ROADMAP TODO VERSION WTODO || die
170 }