Gentoo Archives: gentoo-commits

From: "Fabian Groffen (grobian)" <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/monetdb: ChangeLog metadata.xml monetdb-4.20.0.ebuild monetdb-5.2.0.ebuild monetdb-4.10.2.ebuild monetdb-4.12.0.ebuild
Date: Tue, 06 Nov 2007 10:44:21
Message-Id: E1IpLuh-000486-Cw@stork.gentoo.org
1 grobian 07/11/06 10:44:07
2
3 Modified: ChangeLog metadata.xml
4 Added: monetdb-4.20.0.ebuild monetdb-5.2.0.ebuild
5 Removed: monetdb-4.10.2.ebuild monetdb-4.12.0.ebuild
6 Log:
7 Backport latest release from Gentoo/Alt:Prefix overlay. Keep it still masked as it needs to be tested non-prefix first. Remove old non-compiling cruft.
8 (Portage version: 2.1.3.9)
9
10 Revision Changes Path
11 1.15 dev-db/monetdb/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/monetdb/ChangeLog?rev=1.15&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/monetdb/ChangeLog?rev=1.15&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/monetdb/ChangeLog?r1=1.14&r2=1.15
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-db/monetdb/ChangeLog,v
20 retrieving revision 1.14
21 retrieving revision 1.15
22 diff -u -r1.14 -r1.15
23 --- ChangeLog 28 Apr 2007 22:07:02 -0000 1.14
24 +++ ChangeLog 6 Nov 2007 10:44:06 -0000 1.15
25 @@ -1,6 +1,35 @@
26 # ChangeLog for dev-db/monetdb
27 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-db/monetdb/ChangeLog,v 1.14 2007/04/28 22:07:02 tove Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-db/monetdb/ChangeLog,v 1.15 2007/11/06 10:44:06 grobian Exp $
30 +
31 +*monetdb-5.2.0 (06 Nov 2007)
32 +
33 + 06 Nov 2007; Fabian Groffen <grobian@g.o>
34 + +files/xquery-0.20.0-bool-undeclared.patch, -files/monetdb.conf-4.8.2,
35 + -files/monetdb.init-4.8.2, -files/monetdb-4.8.2-startup.mil,
36 + -files/monetdb.JdbcClient-4.10.0,
37 + -files/monetdb-4.10.2-gentoo-MapiClient.patch,
38 + -files/monetdb-4.10.2-gentoo-conf.patch,
39 + -files/monetdb-4.12.0-gentoo-MapiClient.patch,
40 + -files/monetdb-4.12.0-gentoo-conf.patch,
41 + -files/monetdb-4.12.0-startup.mil, +files/monetdb.conf-5.2.0,
42 + +files/monetdb.init-5.2.0, -files/monetdb-start.sh,
43 + -files/monetdb-stop.sh, -files/monetdb_config.sh, metadata.xml,
44 + -monetdb-4.10.2.ebuild, -monetdb-4.12.0.ebuild, +monetdb-4.20.0.ebuild,
45 + +monetdb-5.2.0.ebuild:
46 + Backport latest release from Gentoo/Alt:Prefix overlay. Keep it still masked
47 + as it needs to be tested non-prefix first. Remove old non-compiling
48 + cruft.
49 +
50 + 06 Nov 2007; Fabian Groffen <grobian@g.o> monetdb-5.2.0.ebuild,
51 + monetdb-5.2.0.ebuild:
52 + Create dbfarm, as upstream doesn't do that for us
53 +
54 +*monetdb-4.20.0 (05 Nov 2007)
55 +
56 + 05 Nov 2007; Fabian Groffen <fabian@g.o>
57 + +files/xquery-0.20.0-bool-undeclared.patch, +monetdb-4.20.0.ebuild:
58 + Latest release, completely rewritten ebuilds. M5/SQL and M4/XQuery
59
60 28 Apr 2007; Torsten Veller <tove@g.o> monetdb-4.10.2.ebuild,
61 monetdb-4.12.0.ebuild:
62
63
64
65 1.2 dev-db/monetdb/metadata.xml
66
67 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/monetdb/metadata.xml?rev=1.2&view=markup
68 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/monetdb/metadata.xml?rev=1.2&content-type=text/plain
69 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/monetdb/metadata.xml?r1=1.1&r2=1.2
70
71 Index: metadata.xml
72 ===================================================================
73 RCS file: /var/cvsroot/gentoo-x86/dev-db/monetdb/metadata.xml,v
74 retrieving revision 1.1
75 retrieving revision 1.2
76 diff -u -r1.1 -r1.2
77 --- metadata.xml 7 Aug 2005 13:23:17 -0000 1.1
78 +++ metadata.xml 6 Nov 2007 10:44:06 -0000 1.2
79 @@ -4,17 +4,13 @@
80 <herd>no-herd</herd>
81 <maintainer>
82 <email>grobian@g.o</email>
83 - <name>Fabian Groffen</name>
84 </maintainer>
85 <longdescription>
86 - MonetDB is a main-memory database developed at CWI the
87 + MonetDB is a main-memory database developed at CWI, the
88 Netherlands. The main-memory focus of the database has resulted
89 in a column based way of dealing with relational tables. Due to
90 this unconventional approach, MonetDB can be a very fast
91 database for complex queries, and as such in use (and perfectly
92 suitable) for intensive data-mining tasks.
93 - MonetDB 4 supports its own kernel language, MIL, the
94 - conventional SQL query language and the relatively new XML
95 - querying language, XQuery.
96 </longdescription>
97 </pkgmetadata>
98
99
100
101 1.1 dev-db/monetdb/monetdb-4.20.0.ebuild
102
103 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/monetdb/monetdb-4.20.0.ebuild?rev=1.1&view=markup
104 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/monetdb/monetdb-4.20.0.ebuild?rev=1.1&content-type=text/plain
105
106 Index: monetdb-4.20.0.ebuild
107 ===================================================================
108 # Copyright 1999-2007 Gentoo Foundation
109 # Distributed under the terms of the GNU General Public License v2
110 # $Header: /var/cvsroot/gentoo-x86/dev-db/monetdb/monetdb-4.20.0.ebuild,v 1.1 2007/11/06 10:44:06 grobian Exp $
111
112 inherit eutils flag-o-matic
113
114 M4_PV=4.20.0
115 XQ_PV=0.20.0
116
117 DESCRIPTION="MonetDB/SQL is a main-memory column-store database"
118 HOMEPAGE="http://monetdb.cwi.nl/"
119 SRC_URI="mirror://sourceforge/monetdb/MonetDB4-${M4_PV}.tar.gz
120 mirror://sourceforge/monetdb/pathfinder-${XQ_PV}.tar.gz"
121
122 LICENSE="MonetDBPL-1.1 PathfinderPL-1.1"
123 SLOT="4"
124 KEYWORDS="~amd64 ~x86"
125 IUSE="java boehmgc"
126
127 S=${WORKDIR}
128
129 DEPEND="dev-libs/libpcre
130 dev-libs/openssl
131 sys-libs/readline
132 dev-libs/libxml2
133 java? ( dev-java/ant >=virtual/jdk-1.5 )
134 boehmgc? ( dev-libs/boehm-gc )
135 >=dev-db/monetdb-5"
136 RDEPEND="${DEPEND}"
137
138 pkg_preinst() {
139 # should already exist, but for completeness here
140 enewgroup monetdb
141 enewuser monetdb
142 }
143
144 src_unpack() {
145 unpack ${A}
146 cd "${S}"
147 epatch "${FILESDIR}"/xquery-0.20.0-bool-undeclared.patch
148 }
149
150 src_compile() {
151 local myconf=
152 # Upstream likes to stick things like -O6 and what more in CFLAGS
153 myconf="${myconf} --disable-strict --disable-optimize --disable-assert"
154 myconf="${myconf} $(use_with java)"
155 myconf="${myconf} --without-php"
156 myconf="${myconf} $(use_with boehmgc gc)"
157
158 cd "${S}"/MonetDB4-${M4_PV} || die
159 econf --with-monetdb="${EPREFIX}" ${myconf} || die
160 emake || die "MonetDB4"
161
162 mkdir "${T}"/bin
163 cp conf/monetdb4-config "${T}"/bin/monetdb4-config
164 chmod 755 "${T}"/bin/monetdb4-config
165
166 append-flags -I"${S}"/MonetDB4-${M4_PV}
167 append-flags -I"${S}"/MonetDB4-${M4_PV}/src/monet
168 append-ldflags -L"${S}"/MonetDB4-${M4_PV}/src/monet/.libs
169 append-flags -I"${S}"/MonetDB4-${M4_PV}/src
170 append-ldflags -L"${S}"/MonetDB4-${M4_PV}/src/mapi/.libs
171 append-flags -I"${S}"/MonetDB4-${M4_PV}/src/modules/plain
172 append-ldflags -L"${S}"/MonetDB4-${M4_PV}/src/modules/plain/.libs
173 append-flags -I"${S}"/MonetDB4-${M4_PV}/src/modules/contrib
174 append-ldflags -L"${S}"/MonetDB4-${M4_PV}/src/modules/contrib/.libs
175 cd "${S}"/pathfinder-${XQ_PV} || die
176 econf --with-monetdb="${EPREFIX}" --with-monetdb4="${T}" ${myconf} || die
177 emake || die "xquery"
178 }
179
180 src_install() {
181 cd "${S}"/MonetDB4-${M4_PV} || die
182 emake DESTDIR="${D}" install || die "MonetDB4"
183
184 cd "${S}"/pathfinder-${XQ_PV} || die
185 emake DESTDIR="${D}" install || die "xquery"
186
187 # remove windows cruft
188 find "${D}" -name "*.bat" | xargs rm -f || die "removing windows stuff"
189 }
190
191
192
193 1.1 dev-db/monetdb/monetdb-5.2.0.ebuild
194
195 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/monetdb/monetdb-5.2.0.ebuild?rev=1.1&view=markup
196 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/monetdb/monetdb-5.2.0.ebuild?rev=1.1&content-type=text/plain
197
198 Index: monetdb-5.2.0.ebuild
199 ===================================================================
200 # Copyright 1999-2007 Gentoo Foundation
201 # Distributed under the terms of the GNU General Public License v2
202 # $Header: /var/cvsroot/gentoo-x86/dev-db/monetdb/monetdb-5.2.0.ebuild,v 1.1 2007/11/06 10:44:06 grobian Exp $
203
204 inherit flag-o-matic
205
206 COMMON_PV=1.20.0
207 CLIENTS_PV=1.20.0
208 M5_PV=5.2.0
209 SQL_PV=2.20.0
210
211 DESCRIPTION="MonetDB/SQL is a main-memory column-store database"
212 HOMEPAGE="http://monetdb.cwi.nl/"
213 SRC_URI="mirror://sourceforge/monetdb/MonetDB-${COMMON_PV}.tar.gz
214 mirror://sourceforge/monetdb/clients-${CLIENTS_PV}.tar.gz
215 mirror://sourceforge/monetdb/MonetDB5-${M5_PV}.tar.gz
216 mirror://sourceforge/monetdb/sql-${SQL_PV}.tar.gz"
217
218 LICENSE="MonetDBPL-1.1"
219 SLOT="5"
220 KEYWORDS="~amd64 ~x86"
221 IUSE="python perl php java"
222
223 S=${WORKDIR}
224
225 DEPEND="dev-libs/libpcre
226 dev-libs/openssl
227 sys-libs/readline
228 python? ( dev-lang/python )
229 perl? ( dev-lang/perl )
230 php? ( dev-lang/php )
231 java? ( dev-java/ant >=virtual/jdk-1.4 <=virtual/jdk-1.6 )"
232 RDEPEND="${DEPEND}"
233
234 pkg_preinst() {
235 enewgroup monetdb
236 enewuser monetdb
237 }
238
239 src_compile() {
240 local myconf=
241 # Upstream likes to stick things like -O6 and what more in CFLAGS
242 myconf="${myconf} --disable-strict --disable-optimize --disable-assert"
243 # Deal with auto-dependencies
244 myconf="${myconf} $(use_with python)"
245 myconf="${myconf} $(use_with perl)"
246 myconf="${myconf} $(use_with php)"
247 myconf="${myconf} $(use_with java)"
248
249 cd "${S}"/MonetDB-${COMMON_PV} || die
250 econf ${myconf} || die
251 emake || die "common"
252
253 mkdir "${T}"/bin
254 cp conf/monetdb-config "${T}"/bin/monetdb-config
255 chmod 755 "${T}"/bin/monetdb-config
256
257 append-flags -I"${S}"/MonetDB-${COMMON_PV}/src/common
258 append-ldflags -L"${S}"/MonetDB-${COMMON_PV}/src/common/.libs
259 cd "${S}"/clients-${CLIENTS_PV} || die
260 econf --with-monetdb="${T}" ${myconf} || die
261 emake || die "clients"
262
263 append-flags -I"${S}"/MonetDB-${COMMON_PV}/src/gdk
264 append-ldflags -L"${S}"/MonetDB-${COMMON_PV}/src/gdk/.libs
265 append-flags -I"${S}"/clients-${CLIENTS_PV}/src
266 append-ldflags -L"${S}"/clients-${CLIENTS_PV}/src/mapilib/.libs
267 cd "${S}"/MonetDB5-${M5_PV} || die
268 econf --with-monetdb="${T}" ${myconf} || die
269 emake || die "MonetDB5"
270
271 cp conf/monetdb5-config "${T}"/bin/monetdb5-config
272 chmod 755 "${T}"/bin/monetdb5-config
273
274 append-flags -I"${S}"/MonetDB5-${M5_PV}
275 append-flags -I"${S}"/MonetDB5-${M5_PV}/src/{mal,optimizer,scheduler}
276 append-ldflags -L"${S}"/MonetDB5-${M5_PV}/src/{mal,optimizer,scheduler}/.libs
277 append-flags -I"${S}"/MonetDB5-${M5_PV}/src/modules/{atoms,kernel,mal}
278 append-ldflags -L"${S}"/MonetDB5-${M5_PV}/src/modules/{atoms,kernel,mal}/.libs
279 cd "${S}"/sql-${SQL_PV} || die
280 econf --with-monetdb="${T}" --with-monetdb5="${T}" ${myconf} || die
281 emake || die "sql"
282 }
283
284 src_install() {
285 cd "${S}"/MonetDB-${COMMON_PV} || die
286 emake DESTDIR="${D}" install || die "common"
287
288 cd "${S}"/clients-${CLIENTS_PV} || die
289 emake DESTDIR="${D}" install || die "clients"
290
291 cd "${S}"/MonetDB5-${M5_PV} || die
292 # parallel is broken here
293 emake -j1 DESTDIR="${D}" install || die "MonetDB5"
294
295 cd "${S}"/sql-${SQL_PV} || die
296 emake DESTDIR="${D}" install || die "sql"
297
298 # remove testing framework and compiled tests
299 rm -f \
300 "${D}/usr/bin/Mapprove.py" \
301 "${D}/usr/bin/Mdiff" \
302 "${D}/usr/bin/Mfilter.py" \
303 "${D}/usr/bin/MkillUsers" \
304 "${D}/usr/bin/Mlog" \
305 "${D}/usr/bin/Mprofile.py" \
306 "${D}/usr/bin/Mtest.py" \
307 "${D}/usr/bin/Mtimeout" \
308 "${D}/usr/bin/prof.py" \
309 "${D}/usr/share/MonetDB/Mprofile-commands.lst" \
310 "${D}/usr/MonetDB/subprocess26.py" \
311 "${D}/usr/MonetDB/trace.py" \
312 "${D}/usr/MonetDB/__init__.py" \
313 "${D}/usr/MonetDB/monet_options.py" \
314 || die "removing testing tools"
315 rm -Rf \
316 "${D}/usr/lib/MonetDB/Tests" \
317 "${D}/usr/lib/sql/Tests" \
318 "${D}/usr/share/MonetDB/Tests" \
319 "${D}/usr/share/sql/Tests" \
320 || die "removing tests"
321 # remove windows cruft
322 find "${D}" -name "*.bat" | xargs rm -f || die "removing windows stuff"
323
324 newinitd "${FILESDIR}/${PN}.init-5.2.0" monetdb || die "init.d script"
325 newconfd "${FILESDIR}/${PN}.conf-5.2.0" monetdb || die "conf.d file"
326
327 # merovingian needs this
328 keepdir /var/lib/MonetDB5/dbfarm
329 }
330
331
332
333 --
334 gentoo-commits@g.o mailing list