1 |
commit: e5c5783e0386f0a998945698232e7970108249d5 |
2 |
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 16 08:10:32 2022 +0000 |
4 |
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 16 08:10:32 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5c5783e |
7 |
|
8 |
dev-db/gigabase: treeclean |
9 |
|
10 |
Closes: https://bugs.gentoo.org/521272 |
11 |
Closes: https://bugs.gentoo.org/729684 |
12 |
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> |
13 |
|
14 |
dev-db/gigabase/Manifest | 1 - |
15 |
dev-db/gigabase/files/gigabase-3.83-cpp14.patch | 34 ---- |
16 |
.../files/gigabase-3.83-fix-build-system.patch | 63 ------- |
17 |
.../files/gigabase-3.83-fix-dereferencing.patch | 182 --------------------- |
18 |
dev-db/gigabase/gigabase-3.83-r2.ebuild | 61 ------- |
19 |
dev-db/gigabase/metadata.xml | 27 --- |
20 |
profiles/package.mask | 6 - |
21 |
7 files changed, 374 deletions(-) |
22 |
|
23 |
diff --git a/dev-db/gigabase/Manifest b/dev-db/gigabase/Manifest |
24 |
deleted file mode 100644 |
25 |
index 1f22a68d7a31..000000000000 |
26 |
--- a/dev-db/gigabase/Manifest |
27 |
+++ /dev/null |
28 |
@@ -1 +0,0 @@ |
29 |
-DIST gigabase-3.83.tar.gz 1746301 BLAKE2B f9168a7182f2a152a36a9bda12c91f3f2507f17a28e3cac9a58ed25795fdee73e397021ef46f3ad75dffb2f76b81c47d3d8d4cc900b1345619939e450daa6e9a SHA512 df2eab9b8ceae831c24a25f010cf06ebdd38fdf2f7478116b0d769092d6e4575c5c95222562410752df462a8bf3cc2f205c05d3adfaeb1634e82f443529957e5 |
30 |
|
31 |
diff --git a/dev-db/gigabase/files/gigabase-3.83-cpp14.patch b/dev-db/gigabase/files/gigabase-3.83-cpp14.patch |
32 |
deleted file mode 100644 |
33 |
index 47d2a1a540ff..000000000000 |
34 |
--- a/dev-db/gigabase/files/gigabase-3.83-cpp14.patch |
35 |
+++ /dev/null |
36 |
@@ -1,34 +0,0 @@ |
37 |
-This patch fixes GCC6 (C++14) compilation errors. It replaces two invalid macro |
38 |
-calls with correct code in one place. It also removes redefinitions of fmax and |
39 |
-fmin functions which exist in standard library since C++11. |
40 |
-Gentoo-bug: https://bugs.gentoo.org/show_bug.cgi?id=594550 |
41 |
- |
42 |
---- a/testddl.cpp |
43 |
-+++ b/testddl.cpp |
44 |
-@@ -102,8 +102,13 @@ |
45 |
- |
46 |
- REGISTER(Record); |
47 |
- |
48 |
-+#if __cplusplus < 201103L |
49 |
- USER_FUNC(sin); |
50 |
- USER_FUNC(cos); |
51 |
-+#else |
52 |
-+static dbUserFunction fsin_descriptor((double (*)(double))&sin, STRLITERAL("sin")); |
53 |
-+static dbUserFunction fcos_descriptor((double (*)(double))&cos, STRLITERAL("cos")); |
54 |
-+#endif |
55 |
- |
56 |
- int __cdecl main() |
57 |
- { |
58 |
---- a/testtimeseries.cpp |
59 |
-+++ b/testtimeseries.cpp |
60 |
-@@ -47,8 +47,10 @@ |
61 |
- REGISTER(Stock); |
62 |
- |
63 |
- inline int random(unsigned mod) { return rand() % mod; } |
64 |
-+#if __cplusplus < 201103L |
65 |
- inline float fmax(float x, float y) { return x > y ? x : y; } |
66 |
- inline float fmin(float x, float y) { return x < y ? x : y; } |
67 |
-+#endif |
68 |
- |
69 |
- int main(int argc, char* argv[]) |
70 |
- { |
71 |
|
72 |
diff --git a/dev-db/gigabase/files/gigabase-3.83-fix-build-system.patch b/dev-db/gigabase/files/gigabase-3.83-fix-build-system.patch |
73 |
deleted file mode 100644 |
74 |
index d807bc9a7fdb..000000000000 |
75 |
--- a/dev-db/gigabase/files/gigabase-3.83-fix-build-system.patch |
76 |
+++ /dev/null |
77 |
@@ -1,63 +0,0 @@ |
78 |
-Fix build system to respect DESTDIR and rename subsql to subsql-gdb, |
79 |
-in order to avoid name clash with FastDB version of subsql. |
80 |
- |
81 |
---- a/Makefile.in |
82 |
-+++ b/Makefile.in |
83 |
-@@ -21,7 +21,7 @@ |
84 |
- # Place where to copy Gigabase library |
85 |
- libdir = @libdir@ |
86 |
- |
87 |
--# Place where to copy Gigabase subsql utility |
88 |
-+# Place where to copy Gigabase subsql-gdb utility |
89 |
- bindir = @bindir@ |
90 |
- |
91 |
- VERSION = 2 |
92 |
-@@ -42,7 +42,7 @@ |
93 |
- |
94 |
- GB_LIB = libgigabase$(SUFF).${LIBEXT} |
95 |
- CLI_LIB = libcli$(SUFF).${LIBEXT} |
96 |
--EXES = subsql |
97 |
-+EXES = subsql-gdb |
98 |
- |
99 |
- EXAMPLES = guess testdb testjoin testddl testperf testspat testperf2 testsync testiref testtrav testidx testidx2 clitest testblob testleak testsession testtimeseries testtl |
100 |
- WEB_EXAMPLES = cgistub bugdb clidb |
101 |
-@@ -90,8 +90,8 @@ |
102 |
- clitest: clitest.o $(CLI_LIB) |
103 |
- $(LIBTOOL) --mode=link $(LD) $(LDFLAGS) -o clitest clitest.o $(CLI_LIB) $(SOCKLIBS) |
104 |
- |
105 |
--subsql: subsql.o $(GB_LIB) |
106 |
-- $(LIBTOOL) --mode=link $(LD) $(LDFLAGS) -o subsql subsql.o $(GB_LIB) $(SOCKLIBS) |
107 |
-+subsql-gdb: subsql.o $(GB_LIB) |
108 |
-+ $(LIBTOOL) --mode=link $(LD) $(LDFLAGS) -o subsql-gdb subsql.o $(GB_LIB) $(SOCKLIBS) |
109 |
- |
110 |
- bugdb: bugdb.o $(GB_LIB) |
111 |
- $(LIBTOOL) --mode=link $(LD) $(LDFLAGS) -o bugdb bugdb.o $(GB_LIB) $(SOCKLIBS) |
112 |
-@@ -153,18 +153,18 @@ |
113 |
- testleak: testleak.o $(GB_LIB) |
114 |
- $(LIBTOOL) --mode=link $(LD) $(LDFLAGS) -o testleak testleak.o $(GB_LIB) $(SLHACK) |
115 |
- |
116 |
--install: subsql $(GB_LIB) $(CLI_LIB) |
117 |
-- mkdir -p $(includedir) |
118 |
-- cp $(INCS) $(CLI_INCS) $(includedir) |
119 |
-- mkdir -p $(libdir) |
120 |
-- $(LIBTOOL) --mode=install $(INSTALL) $(GB_LIB) $(CLI_LIB) $(libdir) |
121 |
-- mkdir -p $(bindir) |
122 |
-- if test -x .libs/subsql ; then \ |
123 |
-- cp .libs/subsql $(bindir); \ |
124 |
-+install: subsql-gdb $(GB_LIB) $(CLI_LIB) |
125 |
-+ mkdir -p $(DESTDIR)$(includedir) |
126 |
-+ cp $(INCS) $(CLI_INCS) $(DESTDIR)$(includedir) |
127 |
-+ mkdir -p $(DESTDIR)$(libdir) |
128 |
-+ $(LIBTOOL) --mode=install $(INSTALL) $(GB_LIB) $(CLI_LIB) $(DESTDIR)$(libdir) |
129 |
-+ mkdir -p $(DESTDIR)$(bindir) |
130 |
-+ if test -x .libs/subsql-gdb ; then \ |
131 |
-+ cp .libs/subsql-gdb $(DESTDIR)$(bindir); \ |
132 |
- else \ |
133 |
-- cp subsql $(bindir); \ |
134 |
-+ cp subsql-gdb $(DESTDIR)$(bindir); \ |
135 |
- fi |
136 |
--# strip $(bindir)/subsql |
137 |
-+# strip $(bindir)/subsql-gdb |
138 |
- |
139 |
- clean: |
140 |
- rm -f *.o *.lo core *~ |
141 |
|
142 |
diff --git a/dev-db/gigabase/files/gigabase-3.83-fix-dereferencing.patch b/dev-db/gigabase/files/gigabase-3.83-fix-dereferencing.patch |
143 |
deleted file mode 100644 |
144 |
index d2f0669d24fa..000000000000 |
145 |
--- a/dev-db/gigabase/files/gigabase-3.83-fix-dereferencing.patch |
146 |
+++ /dev/null |
147 |
@@ -1,182 +0,0 @@ |
148 |
---- a/session.cpp |
149 |
-+++ b/session.cpp |
150 |
-@@ -131,7 +131,7 @@ |
151 |
- throw CursorException("Cursor is not opened"); |
152 |
- } |
153 |
- fillBuffer(sizeof(oid_t)); |
154 |
-- oid_t currOid = *(oid_t*)&sockBuf[bufPos]; |
155 |
-+ oid_t currOid = *(oid_t*)(sockBuf + bufPos); |
156 |
- bufPos += sizeof(oid_t); |
157 |
- if (currObj != NULL) { |
158 |
- delete[] currObj; |
159 |
-@@ -139,7 +139,7 @@ |
160 |
- } |
161 |
- if (currOid != 0) { |
162 |
- fillBuffer(sizeof(int)); |
163 |
-- size_t size = *(int*)&sockBuf[bufPos]; |
164 |
-+ size_t size = *(int*)(sockBuf + bufPos); |
165 |
- if (size <= SOCKET_BUFFER_SIZE) { |
166 |
- fillBuffer(size); |
167 |
- if (record != NULL) { |
168 |
---- a/database.cpp |
169 |
-+++ b/database.cpp |
170 |
-@@ -739,40 +739,55 @@ |
171 |
- return; |
172 |
- |
173 |
- case dbvmInvokeMethodBool: |
174 |
-- execute(expr->ref.base, iattr, sattr); |
175 |
-- expr->ref.field->method->invoke(sattr.base, &sattr.bvalue); |
176 |
-- sattr.bvalue = *(bool*)&sattr.bvalue; |
177 |
-- iattr.free(sattr); |
178 |
-- return; |
179 |
-+ { |
180 |
-+ bool val; |
181 |
-+ execute(expr->ref.base, iattr, sattr); |
182 |
-+ expr->ref.field->method->invoke(sattr.base, &val); |
183 |
-+ sattr.bvalue = val; |
184 |
-+ iattr.free(sattr); |
185 |
-+ return; |
186 |
-+ } |
187 |
- case dbvmInvokeMethodInt1: |
188 |
-- execute(expr->ref.base, iattr, sattr); |
189 |
-- expr->ref.field->method->invoke(sattr.base, &sattr.ivalue); |
190 |
-- sattr.ivalue = *(int1*)&sattr.ivalue; |
191 |
-- iattr.free(sattr); |
192 |
-- return; |
193 |
-+ { |
194 |
-+ int1 val; |
195 |
-+ execute(expr->ref.base, iattr, sattr); |
196 |
-+ expr->ref.field->method->invoke(sattr.base, &val); |
197 |
-+ sattr.ivalue = val; |
198 |
-+ iattr.free(sattr); |
199 |
-+ return; |
200 |
-+ } |
201 |
- case dbvmInvokeMethodInt2: |
202 |
-- execute(expr->ref.base, iattr, sattr); |
203 |
-- expr->ref.field->method->invoke(sattr.base, &sattr.ivalue); |
204 |
-- sattr.ivalue = *(int2*)&sattr.ivalue; |
205 |
-- iattr.free(sattr); |
206 |
-- return; |
207 |
-+ { |
208 |
-+ int2 val; |
209 |
-+ execute(expr->ref.base, iattr, sattr); |
210 |
-+ expr->ref.field->method->invoke(sattr.base, &val); |
211 |
-+ sattr.ivalue = val; |
212 |
-+ iattr.free(sattr); |
213 |
-+ return; |
214 |
-+ } |
215 |
- case dbvmInvokeMethodInt4: |
216 |
-- execute(expr->ref.base, iattr, sattr); |
217 |
-- expr->ref.field->method->invoke(sattr.base, &sattr.ivalue); |
218 |
-- sattr.ivalue = *(int4*)&sattr.ivalue; |
219 |
-- iattr.free(sattr); |
220 |
-- return; |
221 |
-+ { |
222 |
-+ int4 val; |
223 |
-+ execute(expr->ref.base, iattr, sattr); |
224 |
-+ expr->ref.field->method->invoke(sattr.base, &val); |
225 |
-+ sattr.ivalue = val; |
226 |
-+ iattr.free(sattr); |
227 |
-+ return; |
228 |
-+ } |
229 |
- case dbvmInvokeMethodInt8: |
230 |
- execute(expr->ref.base, iattr, sattr); |
231 |
- expr->ref.field->method->invoke(sattr.base, &sattr.ivalue); |
232 |
- iattr.free(sattr); |
233 |
- return; |
234 |
- case dbvmInvokeMethodReal4: |
235 |
-- execute(expr->ref.base, iattr, sattr); |
236 |
-- expr->ref.field->method->invoke(sattr.base, &sattr.fvalue); |
237 |
-- sattr.fvalue = *(real4*)&sattr.fvalue; |
238 |
-- iattr.free(sattr); |
239 |
-- return; |
240 |
-+ { |
241 |
-+ real4 val; |
242 |
-+ execute(expr->ref.base, iattr, sattr); |
243 |
-+ expr->ref.field->method->invoke(sattr.base, &val); |
244 |
-+ sattr.fvalue = val; |
245 |
-+ iattr.free(sattr); |
246 |
-+ return; |
247 |
-+ } |
248 |
- case dbvmInvokeMethodReal8: |
249 |
- execute(expr->ref.base, iattr, sattr); |
250 |
- expr->ref.field->method->invoke(sattr.base, &sattr.fvalue); |
251 |
-@@ -792,28 +807,43 @@ |
252 |
- return; |
253 |
- |
254 |
- case dbvmInvokeSelfMethodBool: |
255 |
-- expr->ref.field->method->invoke(iattr.record, &sattr.bvalue); |
256 |
-- sattr.bvalue = *(bool*)&sattr.bvalue; |
257 |
-- return; |
258 |
-+ { |
259 |
-+ bool val; |
260 |
-+ expr->ref.field->method->invoke(iattr.record, &val); |
261 |
-+ sattr.bvalue = val; |
262 |
-+ return; |
263 |
-+ } |
264 |
- case dbvmInvokeSelfMethodInt1: |
265 |
-- expr->ref.field->method->invoke(iattr.record, &sattr.ivalue); |
266 |
-- sattr.ivalue = *(int1*)&sattr.ivalue; |
267 |
-- return; |
268 |
-+ { |
269 |
-+ int1 val; |
270 |
-+ expr->ref.field->method->invoke(iattr.record, &val); |
271 |
-+ sattr.ivalue = val; |
272 |
-+ return; |
273 |
-+ } |
274 |
- case dbvmInvokeSelfMethodInt2: |
275 |
-- expr->ref.field->method->invoke(iattr.record, &sattr.ivalue); |
276 |
-- sattr.ivalue = *(int2*)&sattr.ivalue; |
277 |
-- return; |
278 |
-+ { |
279 |
-+ int2 val; |
280 |
-+ expr->ref.field->method->invoke(iattr.record, &val); |
281 |
-+ sattr.ivalue = val; |
282 |
-+ return; |
283 |
-+ } |
284 |
- case dbvmInvokeSelfMethodInt4: |
285 |
-- expr->ref.field->method->invoke(iattr.record, &sattr.ivalue); |
286 |
-- sattr.ivalue = *(int4*)&sattr.ivalue; |
287 |
-- return; |
288 |
-+ { |
289 |
-+ int4 val; |
290 |
-+ expr->ref.field->method->invoke(iattr.record, &val); |
291 |
-+ sattr.ivalue = val; |
292 |
-+ return; |
293 |
-+ } |
294 |
- case dbvmInvokeSelfMethodInt8: |
295 |
- expr->ref.field->method->invoke(iattr.record, &sattr.ivalue); |
296 |
- return; |
297 |
- case dbvmInvokeSelfMethodReal4: |
298 |
-- expr->ref.field->method->invoke(iattr.record, &sattr.fvalue); |
299 |
-- sattr.fvalue = *(real4*)&sattr.fvalue; |
300 |
-- return; |
301 |
-+ { |
302 |
-+ real4 val; |
303 |
-+ expr->ref.field->method->invoke(iattr.record, &val); |
304 |
-+ sattr.fvalue = *(real4*)&sattr.fvalue; |
305 |
-+ return; |
306 |
-+ } |
307 |
- case dbvmInvokeSelfMethodReal8: |
308 |
- expr->ref.field->method->invoke(iattr.record, &sattr.fvalue); |
309 |
- return; |
310 |
---- a/server.cpp |
311 |
-+++ b/server.cpp |
312 |
-@@ -2097,7 +2097,7 @@ |
313 |
- bufUsed = 0; |
314 |
- } |
315 |
- oid_t oid = cursor.getOid(); |
316 |
-- *(oid_t*)&buf[bufUsed] = oid; |
317 |
-+ *(oid_t*)(buf + bufUsed) = oid; |
318 |
- bufUsed += sizeof(oid_t); |
319 |
- dbRecord* record = db->getRow(tie, oid); |
320 |
- size_t size = record->size; |
321 |
-@@ -2129,7 +2129,7 @@ |
322 |
- bufUsed = 0; |
323 |
- } |
324 |
- } |
325 |
-- *(oid_t*)&buf[bufUsed] = 0; |
326 |
-+ *(oid_t*)(buf + bufUsed) = 0; |
327 |
- return session->sock->write(buf, bufUsed + sizeof(oid_t)); |
328 |
- } |
329 |
- |
330 |
|
331 |
diff --git a/dev-db/gigabase/gigabase-3.83-r2.ebuild b/dev-db/gigabase/gigabase-3.83-r2.ebuild |
332 |
deleted file mode 100644 |
333 |
index 75d58541c23b..000000000000 |
334 |
--- a/dev-db/gigabase/gigabase-3.83-r2.ebuild |
335 |
+++ /dev/null |
336 |
@@ -1,61 +0,0 @@ |
337 |
-# Copyright 1999-2022 Gentoo Authors |
338 |
-# Distributed under the terms of the GNU General Public License v2 |
339 |
- |
340 |
-EAPI=8 |
341 |
- |
342 |
-inherit flag-o-matic |
343 |
- |
344 |
-DESCRIPTION="OO-DBMS with interfaces for C/C++/Java/PHP/Perl" |
345 |
-HOMEPAGE="http://www.garret.ru/~knizhnik/gigabase.html" |
346 |
-SRC_URI="mirror://sourceforge/gigabase/${P}.tar.gz" |
347 |
-S="${WORKDIR}/${PN}" |
348 |
- |
349 |
-LICENSE="MIT" |
350 |
-SLOT="0" |
351 |
-KEYWORDS="~amd64 ~x86" |
352 |
-IUSE="doc static-libs" |
353 |
- |
354 |
-BDEPEND="doc? ( app-doc/doxygen )" |
355 |
- |
356 |
-PATCHES=( |
357 |
- "${FILESDIR}/${P}-fix-dereferencing.patch" |
358 |
- "${FILESDIR}/${P}-cpp14.patch" # fix #594550 |
359 |
- "${FILESDIR}/${P}-fix-build-system.patch" |
360 |
-) |
361 |
- |
362 |
-src_configure() { |
363 |
- # bug #855230 |
364 |
- append-flags -fno-strict-aliasing |
365 |
- |
366 |
- econf $(use_enable static-libs static) |
367 |
-} |
368 |
- |
369 |
-src_compile() { |
370 |
- default |
371 |
- |
372 |
- if use doc; then |
373 |
- doxygen doxygen.cfg || die |
374 |
- HTML_DOCS=( GigaBASE.htm docs/html/. ) |
375 |
- fi |
376 |
-} |
377 |
- |
378 |
-src_test() { |
379 |
- local t |
380 |
- for t in testddl testidx testidx2 testiref testleak testperf \ |
381 |
- testperf2 testspat testtl testsync testtimeseries; do |
382 |
- ./${t} || die |
383 |
- done |
384 |
-} |
385 |
- |
386 |
-src_install() { |
387 |
- default |
388 |
- |
389 |
- if ! use static-libs; then |
390 |
- find "${D}" -name '*.la' -delete || die |
391 |
- fi |
392 |
-} |
393 |
- |
394 |
-pkg_postinst() { |
395 |
- elog "The subsql binary has been renamed to subsql-gdb," |
396 |
- elog "to avoid a name clash with the FastDB version of subsql" |
397 |
-} |
398 |
|
399 |
diff --git a/dev-db/gigabase/metadata.xml b/dev-db/gigabase/metadata.xml |
400 |
deleted file mode 100644 |
401 |
index 525e79d7da7b..000000000000 |
402 |
--- a/dev-db/gigabase/metadata.xml |
403 |
+++ /dev/null |
404 |
@@ -1,27 +0,0 @@ |
405 |
-<?xml version="1.0" encoding="UTF-8"?> |
406 |
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
407 |
-<pkgmetadata> |
408 |
- <!-- maintainer-needed --> |
409 |
- <longdescription lang="en"> |
410 |
- Object-Relational Database Management System GigaBASE inherits most of the |
411 |
- features of FastDB, but uses page pool instead of direct mapping of file on |
412 |
- virtual memory. So GigaBASE is able to handle database, which size |
413 |
- significantly exceeds size of computer physical memory. Convenient and |
414 |
- flexible C++ interface makes development of application for GigaBASE very |
415 |
- easy and automatic scheme evaluation simplifies maintenance and modification |
416 |
- of the system. GigaBASE merges best features of relational (simple data |
417 |
- structure and non-procedural query language) and object-oriented (direct |
418 |
- object references, user defined types and methods) databases. GigaBASE is |
419 |
- primary oriented on application requiring fast data retrieving by means of |
420 |
- indices and direct object references, such as Web Server databases |
421 |
- applications. SUBSQL utility can be used for database browsing and |
422 |
- inspection, performing online backups, database recovery, importing data to |
423 |
- and exporting data from database. GigaBASE will perform automatic recovery |
424 |
- after system or application crash, you should not worry about it. The only |
425 |
- thing you can have to do manually is stopping all database application if |
426 |
- one of them is crashed leaving database blocked. |
427 |
- </longdescription> |
428 |
- <upstream> |
429 |
- <remote-id type="sourceforge">gigabase</remote-id> |
430 |
- </upstream> |
431 |
-</pkgmetadata> |
432 |
|
433 |
diff --git a/profiles/package.mask b/profiles/package.mask |
434 |
index 698420c6d0a3..4b66de0dd1fd 100644 |
435 |
--- a/profiles/package.mask |
436 |
+++ b/profiles/package.mask |
437 |
@@ -491,12 +491,6 @@ sci-libs/io_lib |
438 |
# Removal on 2022-08-18. |
439 |
kde-misc/plasma-applet-weather-widget |
440 |
|
441 |
-# Sam James <sam@g.o> (2022-07-17) |
442 |
-# Code quality issues, out of date by several versions in Gentoo, |
443 |
-# unmaintained, and several open bugs: bugs #521272, #729684, #855230. |
444 |
-# Removal on 2022-08-17. |
445 |
-dev-db/gigabase |
446 |
- |
447 |
# Hans de Graaff <graaff@g.o> (2022-07-16) |
448 |
# No longer supported upstream. Use a newer ruby version instead. |
449 |
# Masked for removal in 30 days. |