Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/acovea/, profiles/, app-benchmarks/acovea/files/
Date: Sun, 12 Sep 2021 08:04:36
Message-Id: 1631433858.16a09ec399ce0d27f5335b4cc2cc8d7449bb9242.jsmolic@gentoo
1 commit: 16a09ec399ce0d27f5335b4cc2cc8d7449bb9242
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 12 07:56:59 2021 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 12 08:04:18 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16a09ec3
7
8 app-benchmarks/acovea: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/626668
11 Closes: https://bugs.gentoo.org/626666
12 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
13
14 app-benchmarks/acovea/Manifest | 1 -
15 app-benchmarks/acovea/acovea-5.1.1-r2.ebuild | 45 --------
16 .../acovea/files/acovea-5.1.1-asneeded.patch | 16 ---
17 .../acovea/files/acovea-5.1.1-free-fix.patch | 12 ---
18 .../acovea/files/acovea-5.1.1-gcc44.patch | 14 ---
19 .../acovea/files/acovea-5.1.1-glibc-212.patch | 12 ---
20 .../acovea/files/acovea-5.1.1-libevocosm.patch | 119 ---------------------
21 .../acovea/files/acovea-5.1.1-underlinking.patch | 10 --
22 app-benchmarks/acovea/metadata.xml | 5 -
23 profiles/package.mask | 1 -
24 10 files changed, 235 deletions(-)
25
26 diff --git a/app-benchmarks/acovea/Manifest b/app-benchmarks/acovea/Manifest
27 deleted file mode 100644
28 index fd1337d7ba7..00000000000
29 --- a/app-benchmarks/acovea/Manifest
30 +++ /dev/null
31 @@ -1 +0,0 @@
32 -DIST libacovea-5.1.1.tar.gz 363048 BLAKE2B 61f894e99f3678f3b676e0926ff6d7a6bd376a654ad109d5b7f676d7053e4b975d90e0ac01d820b8498a6992db1cbd2fb5443fbe3871ef3f86bee280fd808352 SHA512 47ac88d713004ccdbf31c29bd5ead3e9d869eee262f2c12e12bf9aa7ec177d2c1e175908704cd5463b314752692edcd98d69408dbeb5873caff1745535a3a365
33
34 diff --git a/app-benchmarks/acovea/acovea-5.1.1-r2.ebuild b/app-benchmarks/acovea/acovea-5.1.1-r2.ebuild
35 deleted file mode 100644
36 index d00773301c0..00000000000
37 --- a/app-benchmarks/acovea/acovea-5.1.1-r2.ebuild
38 +++ /dev/null
39 @@ -1,45 +0,0 @@
40 -# Copyright 1999-2021 Gentoo Authors
41 -# Distributed under the terms of the GNU General Public License v2
42 -
43 -EAPI=7
44 -
45 -inherit autotools
46 -
47 -DESCRIPTION="Analysis of Compiler Options via Evolutionary Algorithm"
48 -HOMEPAGE="http://www.coyotegulch.com/products/acovea/"
49 -SRC_URI="http://www.coyotegulch.com/distfiles/lib${P}.tar.gz"
50 -S="${WORKDIR}/lib${P}"
51 -
52 -LICENSE="GPL-2"
53 -SLOT="0"
54 -KEYWORDS="amd64 ppc x86"
55 -
56 -RDEPEND="
57 - >=dev-libs/libcoyotl-3.1.0:=
58 - >=dev-libs/libevocosm-3.3.0:=
59 - dev-libs/expat:="
60 -DEPEND="${RDEPEND}"
61 -
62 -PATCHES=(
63 - "${FILESDIR}"/${P}-asneeded.patch
64 - "${FILESDIR}"/${P}-free-fix.patch
65 - "${FILESDIR}"/${P}-gcc44.patch
66 - "${FILESDIR}"/${P}-glibc-212.patch
67 - "${FILESDIR}"/${P}-underlinking.patch
68 - "${FILESDIR}"/${P}-libevocosm.patch
69 -)
70 -
71 -src_prepare() {
72 - default
73 - eautoreconf
74 -}
75 -
76 -src_configure() {
77 - econf --disable-static
78 -}
79 -
80 -src_install() {
81 - default
82 -
83 - find "${ED}" -name '*.la' -delete || die
84 -}
85
86 diff --git a/app-benchmarks/acovea/files/acovea-5.1.1-asneeded.patch b/app-benchmarks/acovea/files/acovea-5.1.1-asneeded.patch
87 deleted file mode 100644
88 index 3a887c15888..00000000000
89 --- a/app-benchmarks/acovea/files/acovea-5.1.1-asneeded.patch
90 +++ /dev/null
91 @@ -1,16 +0,0 @@
92 ---- a/cmdline/Makefile.am
93 -+++ b/cmdline/Makefile.am
94 -@@ -7,4 +7,4 @@
95 -
96 - runacovea_SOURCES = runacovea.cpp
97 -
98 --LIBS = -L../libacovea -lacovea -lcoyotl -levocosm -lexpat
99 -+LIBS = -L../libacovea -lacovea -lcoyotl -levocosm
100 ---- a/libacovea/Makefile.am
101 -+++ b/libacovea/Makefile.am
102 -@@ -16,3 +16,5 @@
103 - library_include_HEADERS = $(h_sources)
104 -
105 - DEFS=-I. -I$(srcdir)
106 -+
107 -+LIBS = -lexpat
108
109 diff --git a/app-benchmarks/acovea/files/acovea-5.1.1-free-fix.patch b/app-benchmarks/acovea/files/acovea-5.1.1-free-fix.patch
110 deleted file mode 100644
111 index e20bfa3eb98..00000000000
112 --- a/app-benchmarks/acovea/files/acovea-5.1.1-free-fix.patch
113 +++ /dev/null
114 @@ -1,12 +0,0 @@
115 ---- a/benchmarks/treebench.c
116 -+++ b/benchmarks/treebench.c
117 -@@ -201,8 +201,8 @@
118 - if (page->m_links[n] != NULL)
119 - recursive_destroy_page(page->m_links[n]);
120 -
121 -- free(page);
122 - }
123 -+ free(page);
124 - }
125 -
126 - static void free_btree(btree * btree)
127
128 diff --git a/app-benchmarks/acovea/files/acovea-5.1.1-gcc44.patch b/app-benchmarks/acovea/files/acovea-5.1.1-gcc44.patch
129 deleted file mode 100644
130 index 2207f461642..00000000000
131 --- a/app-benchmarks/acovea/files/acovea-5.1.1-gcc44.patch
132 +++ /dev/null
133 @@ -1,14 +0,0 @@
134 ---- a/libacovea/acovea.cpp
135 -+++ b/libacovea/acovea.cpp
136 -@@ -44,10 +44,11 @@
137 - #include <unistd.h>
138 - #include <sys/types.h>
139 - #include <sys/wait.h>
140 -
141 - #include <vector>
142 -+#include <cstdio>
143 - #include <cstring>
144 - #include <sstream>
145 - #include <iostream>
146 - #include <iomanip>
147 - #include <stdexcept>
148
149 diff --git a/app-benchmarks/acovea/files/acovea-5.1.1-glibc-212.patch b/app-benchmarks/acovea/files/acovea-5.1.1-glibc-212.patch
150 deleted file mode 100644
151 index 996cb5ebc82..00000000000
152 --- a/app-benchmarks/acovea/files/acovea-5.1.1-glibc-212.patch
153 +++ /dev/null
154 @@ -1,12 +0,0 @@
155 -http://bugs.gentoo.org/336260
156 -
157 ---- a/libacovea/acovea.cpp
158 -+++ b/libacovea/acovea.cpp
159 -@@ -44,6 +44,7 @@
160 - #include <unistd.h>
161 - #include <sys/types.h>
162 - #include <sys/wait.h>
163 -+#include <sys/stat.h>
164 -
165 - #include <vector>
166 - #include <cstring>
167
168 diff --git a/app-benchmarks/acovea/files/acovea-5.1.1-libevocosm.patch b/app-benchmarks/acovea/files/acovea-5.1.1-libevocosm.patch
169 deleted file mode 100644
170 index 46ddb5fe4d9..00000000000
171 --- a/app-benchmarks/acovea/files/acovea-5.1.1-libevocosm.patch
172 +++ /dev/null
173 @@ -1,119 +0,0 @@
174 ---- a/libacovea/acovea.cpp
175 -+++ b/libacovea/acovea.cpp
176 -@@ -86,7 +86,7 @@
177 - // randomize settings of this option
178 - void option::randomize()
179 - {
180 -- m_enabled = (g_random.get_rand_real2() < 0.5);
181 -+ m_enabled = (g_random.get_real() < 0.5);
182 - }
183 -
184 - // mutate this option
185 -@@ -246,7 +246,7 @@
186 - m_step = 1;
187 -
188 - // possibly adjust value to randomize populations
189 -- size_t choice = g_random.get_rand_index(3);
190 -+ size_t choice = g_random.get_index(3);
191 -
192 - switch (choice)
193 - {
194 -@@ -304,12 +304,12 @@
195 - void tuning_option::mutate()
196 - {
197 - // select our mutation
198 -- if (g_random.get_rand_real2() < 0.5)
199 -+ if (g_random.get_real() < 0.5)
200 - option::mutate();
201 - else
202 - {
203 - // mutate value of this option, up or down randomly
204 -- if (g_random.get_rand_real2() < 0.5)
205 -+ if (g_random.get_real() < 0.5)
206 - m_value -= m_step;
207 - else
208 - m_value += m_step;
209 -@@ -335,7 +335,7 @@
210 - enum_option::enum_option(const vector<string> & a_choices, bool a_enabled)
211 - : option(a_enabled),
212 - m_choices(a_choices),
213 -- m_setting(g_random.get_rand_index(a_choices.size()))
214 -+ m_setting(g_random.get_index(a_choices.size()))
215 - {
216 - // nada
217 - }
218 -@@ -344,7 +344,7 @@
219 - enum_option::enum_option(const char ** a_choices, size_t a_num_choices, bool a_enabled)
220 - : option(a_enabled),
221 - m_choices(),
222 -- m_setting(g_random.get_rand_index(a_num_choices))
223 -+ m_setting(g_random.get_index(a_num_choices))
224 - {
225 - for (int n = 0; n < a_num_choices; ++n)
226 - m_choices.push_back(string(a_choices[n]));
227 -@@ -369,7 +369,7 @@
228 - token = strtok(NULL,"|");
229 - }
230 -
231 -- m_setting = g_random.get_rand_index(m_choices.size());
232 -+ m_setting = g_random.get_index(m_choices.size());
233 -
234 - free(choices);
235 - }
236 -@@ -407,17 +407,17 @@
237 - void enum_option::randomize()
238 - {
239 - // randomize enabled
240 -- m_enabled = (g_random.get_rand_real2() < 0.5);
241 -+ m_enabled = (g_random.get_real() < 0.5);
242 -
243 - // randomize setting
244 -- m_setting = g_random.get_rand_index(m_choices.size());
245 -+ m_setting = g_random.get_index(m_choices.size());
246 - }
247 -
248 - // mutate this option
249 - void enum_option::mutate()
250 - {
251 - // select our mutation
252 -- if (g_random.get_rand() & 1)
253 -+ if (g_random.get_real() < 0.5)
254 - option::mutate();
255 - else
256 - {
257 -@@ -435,7 +435,7 @@
258 -
259 - // find a different setting
260 - while (new_setting == m_setting)
261 -- new_setting = g_random.get_rand_index(m_choices.size());
262 -+ new_setting = g_random.get_index(m_choices.size());
263 -
264 - m_setting = new_setting;
265 - }
266 -@@ -915,7 +915,7 @@
267 - // randomly pick an option from one of the parents
268 - for (int n = 0; n < a_parent1.size(); ++n)
269 - {
270 -- if (g_random.get_rand() & 1)
271 -+ if (g_random.get_real() < 0.5)
272 - child.push_back(a_parent1[n]->clone());
273 - else
274 - child.push_back(a_parent2[n]->clone());
275 -@@ -931,7 +931,7 @@
276 - {
277 - for (int n = 0; n < a_options.size(); ++n)
278 - {
279 -- if (g_random.get_rand_real2() < a_mutation_chance)
280 -+ if (g_random.get_real() < a_mutation_chance)
281 - a_options[n]->mutate();
282 - }
283 - }
284 -@@ -1096,7 +1096,7 @@
285 - acovea_organism * child;
286 -
287 - // do we crossover?
288 -- if (g_random.get_rand_real2() <= m_crossover_rate)
289 -+ if (g_random.get_real() <= m_crossover_rate)
290 - {
291 - // select a second parent
292 - size_t second_index = first_index;
293
294 diff --git a/app-benchmarks/acovea/files/acovea-5.1.1-underlinking.patch b/app-benchmarks/acovea/files/acovea-5.1.1-underlinking.patch
295 deleted file mode 100644
296 index 06ef410b6cc..00000000000
297 --- a/app-benchmarks/acovea/files/acovea-5.1.1-underlinking.patch
298 +++ /dev/null
299 @@ -1,10 +0,0 @@
300 -diff --git a/cmdline/Makefile.am b/cmdline/Makefile.am
301 -index f3c763e..8e18d9c 100644
302 ---- a/cmdline/Makefile.am
303 -+++ b/cmdline/Makefile.am
304 -@@ -7,4 +7,4 @@ bin_PROGRAMS = runacovea
305 -
306 - runacovea_SOURCES = runacovea.cpp
307 -
308 --LIBS = -L../libacovea -lacovea -lcoyotl -levocosm
309 -+LIBS = -L../libacovea -lacovea -lcoyotl -levocosm -lbrahe
310
311 diff --git a/app-benchmarks/acovea/metadata.xml b/app-benchmarks/acovea/metadata.xml
312 deleted file mode 100644
313 index 115e9d64a66..00000000000
314 --- a/app-benchmarks/acovea/metadata.xml
315 +++ /dev/null
316 @@ -1,5 +0,0 @@
317 -<?xml version="1.0" encoding="UTF-8"?>
318 -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
319 -<pkgmetadata>
320 - <!-- maintainer-needed -->
321 -</pkgmetadata>
322
323 diff --git a/profiles/package.mask b/profiles/package.mask
324 index 3bd29f09136..82d892175f3 100644
325 --- a/profiles/package.mask
326 +++ b/profiles/package.mask
327 @@ -212,7 +212,6 @@ dev-perl/Perlbal-XS-HTTPHeaders
328 dev-libs/libbrahe
329 dev-libs/libcoyotl
330 dev-libs/libevocosm
331 -app-benchmarks/acovea
332
333 # David Seifert <soap@g.o> (2021-08-04)
334 # Last release over 4 years ago, upstream pretty much dead, the