1 |
commit: acdf6c90b1f9b44256199ef0de5306a7bd844936 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 2 22:02:39 2017 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 2 22:09:08 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acdf6c90 |
7 |
|
8 |
sci-mathematics/xmds: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
sci-mathematics/xmds/Manifest | 3 - |
14 |
sci-mathematics/xmds/files/xmds-1.6.5-gcc43.patch | 108 ---------------------- |
15 |
sci-mathematics/xmds/xmds-1.6.5.ebuild | 58 ------------ |
16 |
sci-mathematics/xmds/xmds-1.6.6.ebuild | 51 ---------- |
17 |
4 files changed, 220 deletions(-) |
18 |
|
19 |
diff --git a/sci-mathematics/xmds/Manifest b/sci-mathematics/xmds/Manifest |
20 |
index 80e3667..d869051 100644 |
21 |
--- a/sci-mathematics/xmds/Manifest |
22 |
+++ b/sci-mathematics/xmds/Manifest |
23 |
@@ -1,4 +1 @@ |
24 |
-DIST xmds-1.6.5.tar.gz 528593 SHA256 f7128c7c847bafd3a5ed582415cbddd1f31234278d62231faaeb9bec04d6b5ff SHA512 d360a78d3f2c64181d6ab9d80de652b4ba9da02b5d0f2fc6f42af943ffc7292b1eb7a7110793be2b8ef796f8547b94b7a6caaf2e0971d021925aa46f8f1c18f5 WHIRLPOOL 1c974066f54c64431580eccc6d3861227b0500c6b92bd8c2c3f493ec2c0ce2fb93dc2e53c1fb23d5645521e5b5adfb05189eb42a9c740fe2ef8d89c3e5895978 |
25 |
-DIST xmds-1.6.6.tar.gz 607585 SHA256 0deb74cf52ea9df58d1a5714d7edd42e027c06ae3eb2cfc12f1fcf477f69f11e SHA512 be01753fdaa93fc053f9859440925e1e754decf8e99dd3b648778240a1aa6210eb0ab2bc6286a0af8947c5fa4cd523f53a7892feac0f4e749774c2b92d06ab5c WHIRLPOOL 0ebbb1b33b65a871d3dd23b73dda0e007dcdf9ef9b84d1d709429d28497a70b8c17a443c49f8c7d8fb132534ce644bc2a2cd605081d27f62f178bdf8b2269bbd |
26 |
DIST xmds-2.2.2.tar.gz 33449671 SHA256 6ab07b2aa44ef24a81e6cac2b16a6d99f8840531116c25ea40fbe7de20d1b96d SHA512 470652112e17503f6f0a4da9a68d4f360e66d8b29701a30385f3d49f9b0359578c702ff92f54876b473976b0794f6c2b2302b0a16508e09a5ec53572454eda42 WHIRLPOOL 7a9083e02452f4becc69977fbb59b7bb708cdc67475b93e62e92368ba71a3c804165e50d559cda2bfad7d84db2f6e40bd9afbd7d43299a9dc6419a86d385e983 |
27 |
-DIST xmds_doc_20080226.pdf 8093270 SHA256 93ca478d70cfc684cabb24e278181a50f70f4a2b769e8cf7028b6ecc1cb10009 SHA512 40bfaf772013181f1251af4313fb11b079a7e5038e9515b9eb96c3c343f435d7a3a219246cc9a3ae9ba03cf51aa8dec9a66367992fef156ddc8fc3f82d2b473a WHIRLPOOL 649837d43dba8e3551f4c350a932766762ab0a831c449cedc2b9ecdc27a3a77b6cda22d72cbcfc4d372d8430478417ae977a0615e911769673eed402dd83011f |
28 |
|
29 |
diff --git a/sci-mathematics/xmds/files/xmds-1.6.5-gcc43.patch b/sci-mathematics/xmds/files/xmds-1.6.5-gcc43.patch |
30 |
deleted file mode 100644 |
31 |
index 766056d..00000000 |
32 |
--- a/sci-mathematics/xmds/files/xmds-1.6.5-gcc43.patch |
33 |
+++ /dev/null |
34 |
@@ -1,108 +0,0 @@ |
35 |
-diff -Naurp xmds-1.6.5-orig/source/xmds_integrate_ark45.cc xmds-1.6.5/source/xmds_integrate_ark45.cc |
36 |
---- xmds-1.6.5-orig/source/xmds_integrate_ark45.cc 2008-06-28 21:48:21.000000000 +0200 |
37 |
-+++ xmds-1.6.5/source/xmds_integrate_ark45.cc 2008-06-28 21:48:57.000000000 +0200 |
38 |
-@@ -35,6 +35,7 @@ |
39 |
- #include <xmds_simulation.h> |
40 |
- #include <xmds_vector.h> |
41 |
- #include <cstdlib> |
42 |
-+#include <cstring> |
43 |
- |
44 |
- // ************************************************************************** |
45 |
- // ************************************************************************** |
46 |
-@@ -289,7 +290,7 @@ void xmdsIntegrateARK45::writeTimestepEr |
47 |
- fprintf(outfile, "for(unsigned long _i0=0; _i0<_%s_size; _i0++){\n", fieldName); |
48 |
- } |
49 |
- fprintf(outfile, " for(unsigned long _i1=0; _i1<_%s_main_ncomponents; _i1++){\n", fieldName); |
50 |
-- if (strcmp(typeName, "complex") == 0) { |
51 |
-+ if (std::strcmp(typeName, "complex") == 0) { |
52 |
- fprintf(outfile, " _temp_mod=mod2(_%s_main[_%s_main_index_pointer + _i1]);\n", fieldName, fieldName); |
53 |
- } |
54 |
- else { |
55 |
-@@ -347,7 +348,7 @@ void xmdsIntegrateARK45::writeTimestepEr |
56 |
- } |
57 |
- fprintf(outfile, " for(unsigned long _i1=0; _i1<_%s_main_ncomponents; _i1++)\n", fieldName); |
58 |
- |
59 |
-- if (strcmp(typeName, "complex") == 0) { |
60 |
-+ if (std::strcmp(typeName, "complex") == 0) { |
61 |
- fprintf(outfile, " if(mod2(_%s_main[_%s_main_index_pointer + _i1])>_peak[_i1]){\n", fieldName, fieldName); |
62 |
- fprintf(outfile, " _temp_error=mod(_%s_main[_%s_main_index_pointer + _i1]-_checkfield[_%s_main_index_pointer + _i1])/(mod(_%s_main[_%s_main_index_pointer + _i1])+1e-20);\n", fieldName, fieldName, fieldName, fieldName, fieldName); |
63 |
- } |
64 |
-@@ -364,7 +365,7 @@ void xmdsIntegrateARK45::writeTimestepEr |
65 |
- else{ // if ndims==0 |
66 |
- fprintf(outfile, " for(unsigned long _i1=0; _i1<_%s_main_ncomponents; _i1++){\n", fieldName); |
67 |
- |
68 |
-- if (strcmp(typeName, "complex") == 0) { |
69 |
-+ if (std::strcmp(typeName, "complex") == 0) { |
70 |
- fprintf(outfile, " _temp_error=mod(_%s_main[_i1]-_checkfield[_i1])/(mod(_%s_main[_i1])+1e-20);\n", fieldName, fieldName); |
71 |
- } |
72 |
- else{ |
73 |
-diff -Naurp xmds-1.6.5-orig/source/xmds_integrate_ark89.cc xmds-1.6.5/source/xmds_integrate_ark89.cc |
74 |
---- xmds-1.6.5-orig/source/xmds_integrate_ark89.cc 2008-06-28 21:48:21.000000000 +0200 |
75 |
-+++ xmds-1.6.5/source/xmds_integrate_ark89.cc 2008-06-28 21:48:57.000000000 +0200 |
76 |
-@@ -35,6 +35,7 @@ |
77 |
- #include <xmds_simulation.h> |
78 |
- #include <xmds_vector.h> |
79 |
- #include <cstdlib> |
80 |
-+#include <cstring> |
81 |
- |
82 |
- // ************************************************************************** |
83 |
- // ************************************************************************** |
84 |
-@@ -284,7 +285,7 @@ void xmdsIntegrateARK89::writeTimestepEr |
85 |
- fprintf(outfile, "for (unsigned long _i0=0; _i0<_%s_size; _i0++){\n", fieldName); |
86 |
- } |
87 |
- fprintf(outfile, " for (unsigned long _i1=0; _i1<_%s_main_ncomponents; _i1++){\n", fieldName); |
88 |
-- if (strcmp(typeName, "complex") == 0) { |
89 |
-+ if (std::strcmp(typeName, "complex") == 0) { |
90 |
- fprintf(outfile, " _temp_mod=mod2(_%s_main[_%s_main_index_pointer + _i1]);\n", fieldName, fieldName); |
91 |
- } |
92 |
- else { |
93 |
-@@ -334,7 +335,7 @@ void xmdsIntegrateARK89::writeTimestepEr |
94 |
- } |
95 |
- fprintf(outfile, " for (unsigned long _i1=0; _i1<_%s_main_ncomponents; _i1++)\n", fieldName); |
96 |
- |
97 |
-- if (strcmp(typeName, "complex") == 0) { |
98 |
-+ if (std::strcmp(typeName, "complex") == 0) { |
99 |
- fprintf(outfile, " if (mod2(_%s_main[_%s_main_index_pointer + _i1])>_peak[_i1]){\n", fieldName, fieldName); |
100 |
- fprintf(outfile, " _temp_error=mod(_%s_main[_%s_main_index_pointer + _i1]-_checkfield[_%s_main_index_pointer + _i1])/(mod(_%s_main[_%s_main_index_pointer + _i1])+1e-20);\n", fieldName, fieldName, fieldName, fieldName, fieldName); |
101 |
- } |
102 |
-@@ -352,7 +353,7 @@ void xmdsIntegrateARK89::writeTimestepEr |
103 |
- |
104 |
- fprintf(outfile, " for (unsigned long _i1=0; _i1<_%s_main_ncomponents; _i1++){\n", fieldName); |
105 |
- |
106 |
-- if (strcmp(typeName, "complex") == 0){ |
107 |
-+ if (std::strcmp(typeName, "complex") == 0){ |
108 |
- fprintf(outfile, " _temp_error=mod(_%s_main[_i1]-_checkfield[_i1])/(mod(_%s_main[_i1])+1e-20);\n", fieldName, fieldName); |
109 |
- } |
110 |
- else{ |
111 |
-diff -Naurp xmds-1.6.5-orig/source/xmds_simulation.h xmds-1.6.5/source/xmds_simulation.h |
112 |
---- xmds-1.6.5-orig/source/xmds_simulation.h 2008-06-28 21:48:21.000000000 +0200 |
113 |
-+++ xmds-1.6.5/source/xmds_simulation.h 2008-06-28 21:48:57.000000000 +0200 |
114 |
-@@ -40,6 +40,8 @@ |
115 |
- #include <xmds_sequence.h> |
116 |
- #include <xmds_globals.h> |
117 |
- |
118 |
-+#include <string> |
119 |
-+ |
120 |
- // ***************************************************************************** |
121 |
- // ***************************************************************************** |
122 |
- // xmdsSimulation |
123 |
-diff -Naurp xmds-1.6.5-orig/source/xsil2graphics.cc xmds-1.6.5/source/xsil2graphics.cc |
124 |
---- xmds-1.6.5-orig/source/xsil2graphics.cc 2008-06-28 21:48:21.000000000 +0200 |
125 |
-+++ xmds-1.6.5/source/xsil2graphics.cc 2008-06-28 21:48:57.000000000 +0200 |
126 |
-@@ -40,6 +40,7 @@ |
127 |
- #include <xsil_field.h> |
128 |
- #include <getopt_xmds.h> |
129 |
- #include <iostream> |
130 |
-+#include <cstring> |
131 |
- |
132 |
- // ********************************************************************** |
133 |
- |
134 |
-@@ -306,7 +307,7 @@ int main( |
135 |
- |
136 |
- const DOMString *mgName = nextElement->getAttribute("Name"); |
137 |
- int mgNumber = i+1; |
138 |
-- if (strcmp("breakpoint", mgName->c_str()) == 0) { |
139 |
-+ if (std::strcmp("breakpoint", mgName->c_str()) == 0) { |
140 |
- mgNumber = 1; |
141 |
- } |
142 |
- else { |
143 |
|
144 |
diff --git a/sci-mathematics/xmds/xmds-1.6.5.ebuild b/sci-mathematics/xmds/xmds-1.6.5.ebuild |
145 |
deleted file mode 100644 |
146 |
index 4ddb29d..00000000 |
147 |
--- a/sci-mathematics/xmds/xmds-1.6.5.ebuild |
148 |
+++ /dev/null |
149 |
@@ -1,58 +0,0 @@ |
150 |
-# Copyright 1999-2008 Gentoo Foundation |
151 |
-# Distributed under the terms of the GNU General Public License v2 |
152 |
-# $Id$ |
153 |
- |
154 |
-inherit eutils |
155 |
- |
156 |
-doc_ver=20080226 |
157 |
- |
158 |
-DESCRIPTION="XMDS - The eXtensible Multi-Dimensional Simulator" |
159 |
-HOMEPAGE="http://www.xmds.org" |
160 |
-SRC_URI="mirror://sourceforge/xmds/${P}.tar.gz |
161 |
- doc? ( mirror://sourceforge/xmds/xmds_doc_${doc_ver}.pdf )" |
162 |
-LICENSE="GPL-2" |
163 |
-SLOT="0" |
164 |
-KEYWORDS="amd64 x86" |
165 |
-IUSE="doc examples mpi threads" |
166 |
- |
167 |
-DEPEND="sci-libs/fftw |
168 |
- mpi? ( virtual/mpi )" |
169 |
- |
170 |
-src_unpack() { |
171 |
- unpack ${P}.tar.gz |
172 |
- cd "${S}" |
173 |
- |
174 |
- epatch "${FILESDIR}"/${PN}-1.6.5-gcc43.patch |
175 |
- touch "${S}/source/version.h" |
176 |
- |
177 |
- # Fix broken installation of sample scripts. |
178 |
- sed -i -e 's/install-data-am: install-dist_doc_examplesDATA install-man/install-data-am: install-man/' Makefile.in |
179 |
-} |
180 |
- |
181 |
-src_compile() { |
182 |
- local my_opts="" |
183 |
- |
184 |
- if has_version "=sci-libs/fftw-3*" ; then |
185 |
- my_opts="${my_opts} --enable-fftw3" |
186 |
- fi |
187 |
- |
188 |
- econf \ |
189 |
- $(use_enable mpi) \ |
190 |
- $(use_enable threads) \ |
191 |
- ${my_opts} || die |
192 |
- emake || die |
193 |
-} |
194 |
- |
195 |
-src_install() { |
196 |
- make DESTDIR="${D}" install || die |
197 |
- |
198 |
- if use doc; then |
199 |
- insinto /usr/share/doc/${PF} |
200 |
- doins "${DISTDIR}/xmds_doc_${doc_ver}.pdf" |
201 |
- fi |
202 |
- |
203 |
- if use examples; then |
204 |
- insinto /usr/share/doc/${PF}/examples |
205 |
- doins examples/* |
206 |
- fi |
207 |
-} |
208 |
|
209 |
diff --git a/sci-mathematics/xmds/xmds-1.6.6.ebuild b/sci-mathematics/xmds/xmds-1.6.6.ebuild |
210 |
deleted file mode 100644 |
211 |
index 9d3e48b..00000000 |
212 |
--- a/sci-mathematics/xmds/xmds-1.6.6.ebuild |
213 |
+++ /dev/null |
214 |
@@ -1,51 +0,0 @@ |
215 |
-# Copyright 1999-2009 Gentoo Foundation |
216 |
-# Distributed under the terms of the GNU General Public License v2 |
217 |
-# $Id$ |
218 |
- |
219 |
-inherit eutils |
220 |
- |
221 |
-doc_ver=20080226 |
222 |
- |
223 |
-DESCRIPTION="XMDS - The eXtensible Multi-Dimensional Simulator" |
224 |
-HOMEPAGE="http://www.xmds.org" |
225 |
-SRC_URI="mirror://sourceforge/xmds/${P}.tar.gz |
226 |
- doc? ( mirror://sourceforge/xmds/xmds_doc_${doc_ver}.pdf )" |
227 |
-LICENSE="GPL-2" |
228 |
-SLOT="0" |
229 |
-KEYWORDS="amd64 x86" |
230 |
-IUSE="doc examples mpi threads" |
231 |
- |
232 |
-DEPEND="sci-libs/fftw |
233 |
- mpi? ( virtual/mpi )" |
234 |
- |
235 |
-src_compile() { |
236 |
- local my_opts="" |
237 |
- |
238 |
- if has_version "=sci-libs/fftw-3*" ; then |
239 |
- my_opts="${my_opts} --enable-fftw3" |
240 |
- fi |
241 |
- |
242 |
- econf \ |
243 |
- $(use_enable mpi) \ |
244 |
- $(use_enable threads) \ |
245 |
- ${my_opts} || die |
246 |
- emake || die |
247 |
-} |
248 |
- |
249 |
-src_install() { |
250 |
- make DESTDIR="${D}" install || die |
251 |
- |
252 |
- if use doc; then |
253 |
- insinto /usr/share/doc/${PF} |
254 |
- doins "${DISTDIR}/xmds_doc_${doc_ver}.pdf" |
255 |
- fi |
256 |
- |
257 |
- if use examples; then |
258 |
- insinto /usr/share/doc/${PF}/examples |
259 |
- for i in "${D}"/usr/share/doc/${PN}/examples/* ; do |
260 |
- doins "$i" |
261 |
- done |
262 |
- fi |
263 |
- |
264 |
- rm -rf "${D}/usr/share/doc/${PN}" |
265 |
-} |