1 |
commit: d61e0d4512a778bdd97ba19cf26fd9b398d553f2 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 21 16:46:51 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 21 17:44:23 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=d61e0d45 |
7 |
|
8 |
Drop obsolete |
9 |
|
10 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
11 |
|
12 |
profiles/package.mask | 15 -- |
13 |
sci-misc/salome-component/ChangeLog | 64 ----- |
14 |
.../files/salome-component-5.1.3-mpi.patch | 11 - |
15 |
sci-misc/salome-component/metadata.xml | 5 - |
16 |
.../salome-component/salome-component-5.1.3.ebuild | 111 -------- |
17 |
.../salome-component/salome-component-5.1.4.ebuild | 112 -------- |
18 |
sci-misc/salome-geom/ChangeLog | 48 ---- |
19 |
.../files/salome-geom-5.1.3-qt4-path.patch | 11 - |
20 |
sci-misc/salome-geom/metadata.xml | 5 - |
21 |
sci-misc/salome-geom/salome-geom-5.1.3.ebuild | 110 -------- |
22 |
sci-misc/salome-geom/salome-geom-5.1.4.ebuild | 112 -------- |
23 |
sci-misc/salome-gui/ChangeLog | 68 ----- |
24 |
.../files/salome-gui-5.1.3-qt4-path.patch | 11 - |
25 |
.../files/salome-gui-5.1.4-qt4-path.patch | 11 - |
26 |
sci-misc/salome-gui/metadata.xml | 5 - |
27 |
sci-misc/salome-gui/salome-gui-5.1.3.ebuild | 115 -------- |
28 |
sci-misc/salome-gui/salome-gui-5.1.4.ebuild | 117 -------- |
29 |
sci-misc/salome-kernel/ChangeLog | 92 ------- |
30 |
.../files/salome-kernel-5.1.3-lib_location.patch | 13 - |
31 |
.../files/salome-kernel-5.1.3-openmpi.patch | 21 -- |
32 |
.../files/salome-kernel-5.1.3-python-2.6.patch | 13 - |
33 |
.../files/salome-kernel-5.1.4-lib_location.patch | 13 - |
34 |
.../files/salome-kernel-5.1.4-openmpi.patch | 21 -- |
35 |
.../files/salome-kernel-5.1.4-python-2.6.patch | 13 - |
36 |
sci-misc/salome-kernel/files/salome-kernel.png | Bin 1934 -> 0 bytes |
37 |
sci-misc/salome-kernel/metadata.xml | 8 - |
38 |
sci-misc/salome-kernel/salome-kernel-5.1.3.ebuild | 121 --------- |
39 |
sci-misc/salome-kernel/salome-kernel-5.1.4.ebuild | 121 --------- |
40 |
sci-misc/salome-med/ChangeLog | 77 ------ |
41 |
.../files/salome-med-5.1.3-check_metis.patch | 48 ---- |
42 |
.../files/salome-med-5.1.3-check_scotch.patch | 74 ----- |
43 |
.../salome-med/files/salome-med-5.1.3-gcc.patch | 43 --- |
44 |
.../files/salome-med-5.1.3-med_int.patch | 297 --------------------- |
45 |
.../salome-med/files/salome-med-5.1.3-mpi.patch | 13 - |
46 |
.../files/salome-med-5.1.3-qt4-path.patch | 11 - |
47 |
.../salome-med/files/salome-med-5.1.3-scotch.patch | 11 - |
48 |
.../files/salome-med-5.1.4-check_metis.patch | 48 ---- |
49 |
.../files/salome-med-5.1.4-check_scotch.patch | 74 ----- |
50 |
.../salome-med/files/salome-med-5.1.4-gcc.patch | 11 - |
51 |
.../files/salome-med-5.1.4-med_int.patch | 297 --------------------- |
52 |
.../salome-med/files/salome-med-5.1.4-scotch.patch | 11 - |
53 |
sci-misc/salome-med/metadata.xml | 9 - |
54 |
sci-misc/salome-med/salome-med-5.1.3.ebuild | 129 --------- |
55 |
sci-misc/salome-med/salome-med-5.1.4.ebuild | 129 --------- |
56 |
sci-misc/salome-meta/ChangeLog | 23 -- |
57 |
sci-misc/salome-meta/metadata.xml | 5 - |
58 |
sci-misc/salome-meta/salome-meta-5.1.3.ebuild | 31 --- |
59 |
sci-misc/salome-meta/salome-meta-5.1.4.ebuild | 31 --- |
60 |
sci-misc/salome-pycalculator/ChangeLog | 41 --- |
61 |
sci-misc/salome-pycalculator/metadata.xml | 5 - |
62 |
.../salome-pycalculator-5.1.3.ebuild | 83 ------ |
63 |
.../salome-pycalculator-5.1.4.ebuild | 83 ------ |
64 |
sci-misc/salome-smesh/ChangeLog | 60 ----- |
65 |
sci-misc/salome-smesh/metadata.xml | 5 - |
66 |
sci-misc/salome-smesh/salome-smesh-5.1.3.ebuild | 108 -------- |
67 |
sci-misc/salome-smesh/salome-smesh-5.1.4.ebuild | 110 -------- |
68 |
sci-misc/salome-visu/ChangeLog | 49 ---- |
69 |
sci-misc/salome-visu/metadata.xml | 5 - |
70 |
sci-misc/salome-visu/salome-visu-5.1.3.ebuild | 103 ------- |
71 |
sci-misc/salome-visu/salome-visu-5.1.4.ebuild | 105 -------- |
72 |
sci-misc/salome-yacs/ChangeLog | 37 --- |
73 |
.../files/salome-yacs-5.1.3-ac_python_devel.patch | 13 - |
74 |
.../files/salome-yacs-5.1.3-lib_location.patch | 14 - |
75 |
.../files/salome-yacs-5.1.3-libdir.patch | 22 -- |
76 |
.../files/salome-yacs-5.1.4-ac_python_devel.patch | 12 - |
77 |
sci-misc/salome-yacs/metadata.xml | 5 - |
78 |
sci-misc/salome-yacs/salome-yacs-5.1.3.ebuild | 102 ------- |
79 |
sci-misc/salome-yacs/salome-yacs-5.1.4.ebuild | 102 ------- |
80 |
68 files changed, 3803 deletions(-) |
81 |
|
82 |
diff --git a/profiles/package.mask b/profiles/package.mask |
83 |
index d97a441..b67f4fc 100644 |
84 |
--- a/profiles/package.mask |
85 |
+++ b/profiles/package.mask |
86 |
@@ -30,21 +30,6 @@ |
87 |
|
88 |
#--- END OF EXAMPLES --- |
89 |
|
90 |
-# Christoph Junghans <ottxor@g.o> (14 Nov 2014) |
91 |
-# sci-misc/salome-* masked for removal in 30 days |
92 |
-# not bumped since 2010, reintroduced back in science overlay |
93 |
-# if properly maintained |
94 |
-sci-misc/salome-component |
95 |
-sci-misc/salome-geom |
96 |
-sci-misc/salome-gui |
97 |
-sci-misc/salome-kernel |
98 |
-sci-misc/salome-med |
99 |
-sci-misc/salome-meta |
100 |
-sci-misc/salome-pycalculator |
101 |
-sci-misc/salome-smesh |
102 |
-sci-misc/salome-visu |
103 |
-sci-misc/salome-yacs |
104 |
- |
105 |
# Andreas K. Huettel <dilfridge@g.o> (1 Nov 2014) |
106 |
# Lab::Instrument and Lab::Tools provided as separate packages |
107 |
# are way outdated. These are now supplied as parts of the package |
108 |
|
109 |
diff --git a/sci-misc/salome-component/ChangeLog b/sci-misc/salome-component/ChangeLog |
110 |
deleted file mode 100644 |
111 |
index e4e4189..0000000 |
112 |
--- a/sci-misc/salome-component/ChangeLog |
113 |
+++ /dev/null |
114 |
@@ -1,64 +0,0 @@ |
115 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
116 |
-# $Id$ |
117 |
- |
118 |
- 03 Mar 2013; Justin Lecher <jlec@g.o> salome-component-5.1.3.ebuild, |
119 |
- salome-component-5.1.4.ebuild, metadata.xml: |
120 |
- Update to new qt deps names |
121 |
- |
122 |
- 10 Feb 2012; Alexey Shvetsov <alexxy@g.o> |
123 |
- salome-component-5.1.3.ebuild, salome-component-5.1.4.ebuild: |
124 |
- [sci-misc/salome*] Fix python depend |
125 |
- |
126 |
- 07 Mar 2011; Justin Lecher <jlec@g.o> salome-component-5.1.3.ebuild, |
127 |
- salome-component-5.1.4.ebuild: |
128 |
- QA STUFF |
129 |
- |
130 |
- 07 Mar 2011; Justin Lecher <jlec@g.o> salome-component-5.1.3.ebuild, |
131 |
- salome-component-5.1.4.ebuild: |
132 |
- QA STUFF |
133 |
- |
134 |
- 07 Mar 2011; Justin Lecher <jlec@g.o> salome-component-5.1.3.ebuild, |
135 |
- salome-component-5.1.4.ebuild: |
136 |
- Correct Slots for gtk 3 introduction to tree |
137 |
- |
138 |
-*salome-component-5.1.4 (27 Oct 2010) |
139 |
- |
140 |
- 27 Oct 2010; Thomas Kahle <tomka@g.o> |
141 |
- +salome-component-5.1.4.ebuild: |
142 |
- Bump to 5.1.4, ebuild by Michael Riss in bug 330303 |
143 |
- |
144 |
- 29 Jun 2010; Justin Lecher <jlec@g.o> |
145 |
- salome-component-5.1.3.ebuild: |
146 |
- Python ABI fixes |
147 |
- |
148 |
- 04 Apr 2010; Etienne Lorriaux <etienne.lorriaux@×××××.com> |
149 |
- salome-component-5.1.3.ebuild: |
150 |
- changed fetch URL + cleaning |
151 |
- |
152 |
-*salome-component-5.1.3 (14 Mar 2010) |
153 |
- |
154 |
- 14 Mar 2010; Etienne Lorriaux <etienne.lorriaux@×××××.com> |
155 |
- -salome-component-3.2.6.ebuild, |
156 |
- -files/salome-component-3.2.6-gcc-4.3.patch, |
157 |
- -files/salome-component-3.2.6.patch, +salome-component-5.1.3.ebuild, |
158 |
- +files/salome-component-5.1.3-mpi.patch, metadata.xml: |
159 |
- Version bump 5.1.3 + removed broken 3.2.6 |
160 |
- |
161 |
- 04 Sep 2008; Oliver Borm (boroli) <oli.borm@×××.de> |
162 |
- salome-component-3.2.6.ebuild: |
163 |
- removed omniorb* and med dependencies, as they are already in salome-kernel |
164 |
- and salome-med |
165 |
- |
166 |
- 27 Aug 2008; Oliver Borm (boroli) <oli.borm@×××.de> |
167 |
- salome-component-3.2.6.ebuild, -Changelog, +metadata.xml: |
168 |
- Removed fetch restriction, removed hardcode |
169 |
- |
170 |
- 29 May 2008; Daniel Tourde <daniel.tourde@××××××.se> |
171 |
- +salome-component-3.2.6-gcc-4.3.patch |
172 |
- Added support to gcc-4.3. Patch provided by Bert Karwatzki <spasswolf@×××.de> |
173 |
- |
174 |
- 20 May 2008; Daniel Tourde <daniel.tourde@××××××.se> |
175 |
- Initial import. |
176 |
- +salome-component-3.2.6.ebuild, +salome-component-3.2.6.patch |
177 |
- A major thank to Francois Dorin <f.dorin@××××.fr>, Jon Hood <squinky86@×××××.com>, Dewald Pietersen <dewald.pieterse@×××××.com>, <etienne.lorriaux@×××××.com> and Richard Westwell <garlicbread@××××××××.com> for their respective contributions and feedback. Without you guys, the Salome ebuilds would not exist today. Thanks! |
178 |
- See bug #155974 for more info |
179 |
|
180 |
diff --git a/sci-misc/salome-component/files/salome-component-5.1.3-mpi.patch b/sci-misc/salome-component/files/salome-component-5.1.3-mpi.patch |
181 |
deleted file mode 100644 |
182 |
index e9e920c..0000000 |
183 |
--- a/sci-misc/salome-component/files/salome-component-5.1.3-mpi.patch |
184 |
+++ /dev/null |
185 |
@@ -1,11 +0,0 @@ |
186 |
---- src5.1.3.orig/COMPONENT_SRC_5.1.3/src/AddComponent/Makefile.in 2010-03-07 22:08:31.371569651 +0100 |
187 |
-+++ src5.1.3/COMPONENT_SRC_5.1.3/src/AddComponent/Makefile.in 2010-03-07 22:09:05.060321118 +0100 |
188 |
-@@ -571,7 +571,7 @@ |
189 |
- done |
190 |
- AddComponent_CheckOfUndefined$(EXEEXT): $(AddComponent_CheckOfUndefined_OBJECTS) $(AddComponent_CheckOfUndefined_DEPENDENCIES) |
191 |
- @rm -f AddComponent_CheckOfUndefined$(EXEEXT) |
192 |
-- $(AddComponent_CheckOfUndefined_LINK) $(AddComponent_CheckOfUndefined_OBJECTS) $(AddComponent_CheckOfUndefined_LDADD) $(LIBS) |
193 |
-+ $(AddComponent_CheckOfUndefined_LINK) $(AddComponent_CheckOfUndefined_OBJECTS) $(AddComponent_CheckOfUndefined_LDADD) $(LIBS) $(MPI_LIBS) |
194 |
- |
195 |
- mostlyclean-compile: |
196 |
- -rm -f *.$(OBJEXT) |
197 |
|
198 |
diff --git a/sci-misc/salome-component/metadata.xml b/sci-misc/salome-component/metadata.xml |
199 |
deleted file mode 100644 |
200 |
index 897aa2e..0000000 |
201 |
--- a/sci-misc/salome-component/metadata.xml |
202 |
+++ /dev/null |
203 |
@@ -1,5 +0,0 @@ |
204 |
-<?xml version="1.0" encoding="UTF-8"?> |
205 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
206 |
-<pkgmetadata> |
207 |
- <herd>sci</herd> |
208 |
-</pkgmetadata> |
209 |
|
210 |
diff --git a/sci-misc/salome-component/salome-component-5.1.3.ebuild b/sci-misc/salome-component/salome-component-5.1.3.ebuild |
211 |
deleted file mode 100644 |
212 |
index 719a10c..0000000 |
213 |
--- a/sci-misc/salome-component/salome-component-5.1.3.ebuild |
214 |
+++ /dev/null |
215 |
@@ -1,111 +0,0 @@ |
216 |
-# Copyright 1999-2014 Gentoo Foundation |
217 |
-# Distributed under the terms of the GNU General Public License v2 |
218 |
-# $Id$ |
219 |
- |
220 |
-EAPI=2 |
221 |
- |
222 |
-PYTHON_DEPEND="2:2.5" |
223 |
- |
224 |
-inherit eutils flag-o-matic python |
225 |
- |
226 |
-DESCRIPTION="The Open Source Integration Platform for Numerical Simulation - COMPONENT Component" |
227 |
-HOMEPAGE="http://www.salome-platform.org" |
228 |
-SRC_URI="http://files.opencascade.com/Salome/Salome${PV}/src${PV}.tar.gz" |
229 |
- |
230 |
-LICENSE="GPL-2" |
231 |
-KEYWORDS="~amd64 ~x86" |
232 |
-SLOT="0" |
233 |
-IUSE="debug doc mpi" |
234 |
- |
235 |
-RDEPEND=" |
236 |
- >=sci-misc/salome-kernel-${PV} |
237 |
- >=sci-misc/salome-gui-${PV} |
238 |
- >=sci-misc/salome-med-${PV} |
239 |
- >=dev-qt/qtcore-4.4.3 |
240 |
- >=dev-qt/qtgui-4.4.3 |
241 |
- >=dev-qt/qtopengl-4.4.3 |
242 |
- >=x11-libs/qwt-5.2 |
243 |
- >=dev-python/PyQt4-4.4.3 |
244 |
- >=sci-libs/opencascade-6.3 |
245 |
- debug? ( dev-util/cppunit ) |
246 |
- mpi? |
247 |
- ( |
248 |
- || ( |
249 |
- sys-cluster/openmpi[cxx] |
250 |
- sys-cluster/mpich2[cxx] |
251 |
- ) |
252 |
- )" |
253 |
-DEPEND="${RDEPEND} |
254 |
- >=app-doc/doxygen-1.5.6 |
255 |
- media-gfx/graphviz |
256 |
- >=dev-python/docutils-0.4 |
257 |
- >=dev-python/sip-4.7.7 |
258 |
- dev-lang/swig |
259 |
- dev-libs/libxml2:2" |
260 |
- |
261 |
-MODULE_NAME="COMPONENT" |
262 |
-S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}" |
263 |
-INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
264 |
-COMPONENT_ROOT_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
265 |
- |
266 |
-pkg_setup() { |
267 |
- [[ $(python_get_version) > 2.4 ]] && \ |
268 |
- ewarn "Python 2.4 is highly recommended for Salome..." |
269 |
- python_set_active_version 2 |
270 |
-} |
271 |
- |
272 |
-src_prepare() { |
273 |
- rm -r -f autom4te.cache |
274 |
- ./build_configure |
275 |
-} |
276 |
- |
277 |
-src_configure() { |
278 |
- local myconf="" |
279 |
- |
280 |
-# --without-mpi does not disable mpi support, just omit it to disable |
281 |
- if use mpi; then |
282 |
- append-ldflags -lmpi -lmpi_cxx |
283 |
- if has_version ">=sys-cluster/openmpi-1.2.9"; then |
284 |
- myconf="${myconf} --with-mpi --with-openmpi" |
285 |
- elif has_version ">=sys-cluster/mpich2-1.0.8"; then |
286 |
- myconf="${myconf} --with-mpi --with-mpich" |
287 |
- append-flags -DMPICH_IGNORE_CXX_SEEK |
288 |
- fi |
289 |
- fi |
290 |
- |
291 |
- econf --prefix=${INSTALL_DIR} \ |
292 |
- --datadir=${INSTALL_DIR}/share/salome \ |
293 |
- --docdir=${INSTALL_DIR}/doc/salome \ |
294 |
- --infodir=${INSTALL_DIR}/share/info \ |
295 |
- --libdir=${INSTALL_DIR}/$(get_libdir)/salome \ |
296 |
- --with-python-site=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ |
297 |
- --with-python-site-exec=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ |
298 |
- ${myconf} \ |
299 |
- $(use_enable debug ) \ |
300 |
- $(use_enable !debug production ) \ |
301 |
- || die "econf failed" |
302 |
-} |
303 |
- |
304 |
-src_install() { |
305 |
- emake DESTDIR="${D}" install \ |
306 |
- || die "emake install failed" |
307 |
- |
308 |
- use amd64 && dosym ${INSTALL_DIR}/lib64 ${INSTALL_DIR}/lib |
309 |
- |
310 |
- echo "${MODULE_NAME}_ROOT_DIR=${INSTALL_DIR}" > ./90${P} |
311 |
- echo "LDPATH=${INSTALL_DIR}/$(get_libdir)/salome" >> ./90${P} |
312 |
- echo "PATH=${INSTALL_DIR}/bin/salome" >> ./90${P} |
313 |
- echo "PYTHONPATH=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome" >> ./90${P} |
314 |
- doenvd 90${P} |
315 |
- rm adm_local/Makefile |
316 |
- insinto "${INSTALL_DIR}" |
317 |
- doins -r adm_local |
318 |
- |
319 |
- use doc && dodoc INSTALL |
320 |
-} |
321 |
- |
322 |
-pkg_postinst() { |
323 |
- elog "Run \`env-update && source /etc/profile\`" |
324 |
- elog "now to set up the correct paths." |
325 |
- elog "" |
326 |
-} |
327 |
|
328 |
diff --git a/sci-misc/salome-component/salome-component-5.1.4.ebuild b/sci-misc/salome-component/salome-component-5.1.4.ebuild |
329 |
deleted file mode 100644 |
330 |
index 1d7806a..0000000 |
331 |
--- a/sci-misc/salome-component/salome-component-5.1.4.ebuild |
332 |
+++ /dev/null |
333 |
@@ -1,112 +0,0 @@ |
334 |
-# Copyright 1999-2014 Gentoo Foundation |
335 |
-# Distributed under the terms of the GNU General Public License v2 |
336 |
-# $Id$ |
337 |
- |
338 |
-EAPI=2 |
339 |
- |
340 |
-PYTHON_DEPEND="2:2.5" |
341 |
- |
342 |
-inherit eutils flag-o-matic python |
343 |
- |
344 |
-DESCRIPTION="The Open Source Integration Platform for Numerical Simulation - COMPONENT Component" |
345 |
-HOMEPAGE="http://www.salome-platform.org" |
346 |
-SRC_URI="http://files.opencascade.com/Salome/Salome${PV}/src${PV}.tar.gz" |
347 |
- |
348 |
-LICENSE="GPL-2" |
349 |
-KEYWORDS="~amd64 ~x86" |
350 |
-SLOT="0" |
351 |
-IUSE="debug doc mpi" |
352 |
- |
353 |
-RDEPEND=" |
354 |
- >=sci-misc/salome-kernel-${PV} |
355 |
- >=sci-misc/salome-gui-${PV} |
356 |
- >=sci-misc/salome-med-${PV} |
357 |
- >=dev-qt/qtcore-4.4.3 |
358 |
- >=dev-qt/qtgui-4.4.3 |
359 |
- >=dev-qt/qtopengl-4.4.3 |
360 |
- >=x11-libs/qwt-5.2 |
361 |
- >=dev-python/PyQt4-4.4.3 |
362 |
- >=sci-libs/opencascade-6.3 |
363 |
- debug? ( dev-util/cppunit ) |
364 |
- mpi? |
365 |
- ( |
366 |
- || ( |
367 |
- sys-cluster/openmpi[cxx] |
368 |
- sys-cluster/mpich2[cxx] |
369 |
- ) |
370 |
- )" |
371 |
-DEPEND="${RDEPEND} |
372 |
- >=app-doc/doxygen-1.5.6 |
373 |
- media-gfx/graphviz |
374 |
- >=dev-python/docutils-0.4 |
375 |
- >=dev-python/sip-4.7.7 |
376 |
- dev-lang/swig |
377 |
- dev-libs/libxml2:2" |
378 |
- |
379 |
-MODULE_NAME="COMPONENT" |
380 |
-S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}" |
381 |
-INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
382 |
-COMPONENT_ROOT_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
383 |
- |
384 |
-pkg_setup() { |
385 |
- [[ $(python_get_version) > 2.4 ]] && \ |
386 |
- ewarn "Python 2.4 is highly recommended for Salome..." |
387 |
- python_set_active_version 2 |
388 |
- append-ldflags $(no-as-needed) |
389 |
-} |
390 |
- |
391 |
-src_prepare() { |
392 |
- rm -r -f autom4te.cache |
393 |
- ./build_configure |
394 |
-} |
395 |
- |
396 |
-src_configure() { |
397 |
- local myconf="" |
398 |
- |
399 |
-# --without-mpi does not disable mpi support, just omit it to disable |
400 |
- if use mpi; then |
401 |
- append-ldflags -lmpi -lmpi_cxx |
402 |
- if has_version ">=sys-cluster/openmpi-1.2.9"; then |
403 |
- myconf="${myconf} --with-mpi --with-openmpi" |
404 |
- elif has_version ">=sys-cluster/mpich2-1.0.8"; then |
405 |
- myconf="${myconf} --with-mpi --with-mpich" |
406 |
- append-flags -DMPICH_IGNORE_CXX_SEEK |
407 |
- fi |
408 |
- fi |
409 |
- |
410 |
- econf --prefix=${INSTALL_DIR} \ |
411 |
- --datadir=${INSTALL_DIR}/share/salome \ |
412 |
- --docdir=${INSTALL_DIR}/doc/salome \ |
413 |
- --infodir=${INSTALL_DIR}/share/info \ |
414 |
- --libdir=${INSTALL_DIR}/$(get_libdir)/salome \ |
415 |
- --with-python-site=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ |
416 |
- --with-python-site-exec=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ |
417 |
- ${myconf} \ |
418 |
- $(use_enable debug ) \ |
419 |
- $(use_enable !debug production ) \ |
420 |
- || die "econf failed" |
421 |
-} |
422 |
- |
423 |
-src_install() { |
424 |
- emake DESTDIR="${D}" install \ |
425 |
- || die "emake install failed" |
426 |
- |
427 |
- use amd64 && dosym ${INSTALL_DIR}/lib64 ${INSTALL_DIR}/lib |
428 |
- |
429 |
- echo "${MODULE_NAME}_ROOT_DIR=${INSTALL_DIR}" > ./90${P} |
430 |
- echo "LDPATH=${INSTALL_DIR}/$(get_libdir)/salome" >> ./90${P} |
431 |
- echo "PATH=${INSTALL_DIR}/bin/salome" >> ./90${P} |
432 |
- echo "PYTHONPATH=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome" >> ./90${P} |
433 |
- doenvd 90${P} |
434 |
- rm adm_local/Makefile |
435 |
- insinto "${INSTALL_DIR}" |
436 |
- doins -r adm_local |
437 |
- |
438 |
- use doc && dodoc INSTALL |
439 |
-} |
440 |
- |
441 |
-pkg_postinst() { |
442 |
- elog "Run \`env-update && source /etc/profile\`" |
443 |
- elog "now to set up the correct paths." |
444 |
- elog "" |
445 |
-} |
446 |
|
447 |
diff --git a/sci-misc/salome-geom/ChangeLog b/sci-misc/salome-geom/ChangeLog |
448 |
deleted file mode 100644 |
449 |
index 58a2461..0000000 |
450 |
--- a/sci-misc/salome-geom/ChangeLog |
451 |
+++ /dev/null |
452 |
@@ -1,48 +0,0 @@ |
453 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
454 |
-# $Id$ |
455 |
- |
456 |
- 03 Mar 2013; Justin Lecher <jlec@g.o> salome-geom-5.1.3.ebuild, |
457 |
- salome-geom-5.1.4.ebuild, metadata.xml: |
458 |
- Update to new qt deps names |
459 |
- |
460 |
- 10 Feb 2012; Alexey Shvetsov <alexxy@g.o> salome-geom-5.1.3.ebuild, |
461 |
- salome-geom-5.1.4.ebuild: |
462 |
- [sci-misc/salome*] Fix python depend |
463 |
- |
464 |
-*salome-geom-5.1.4 (27 Oct 2010) |
465 |
- |
466 |
- 27 Oct 2010; Thomas Kahle <tomka@g.o> +salome-geom-5.1.4.ebuild: |
467 |
- Bump to 5.1.4, ebuild by Michael Riss in bug 330303 |
468 |
- |
469 |
- 29 Jun 2010; Justin Lecher <jlec@g.o> salome-geom-5.1.3.ebuild: |
470 |
- Python ABI fixes |
471 |
- |
472 |
- 04 Apr 2010; Etienne Lorriaux <etienne.lorriaux@×××××.com> |
473 |
- salome-geom-5.1.3.ebuild: |
474 |
- changed fetch URL + cleaning |
475 |
- |
476 |
-*salome-geom-5.1.3 (14 Mar 2010) |
477 |
- |
478 |
- 14 Mar 2010; Etienne Lorriaux <etienne.lorriaux@×××××.com> |
479 |
- -salome-geom-3.2.6.ebuild, -files/salome-geom-3.2.6-vtk-5.2.patch, |
480 |
- -files/salome-geom-3.2.6.patch, +salome-geom-5.1.3.ebuild, |
481 |
- +files/salome-geom-5.1.3-qt4-path.patch: |
482 |
- Version bump 5.1.3 + removed broken 3.2.6 |
483 |
- |
484 |
- 20 Oct May 2008; Daniel Tourde <daniel.tourde@××××××.se> |
485 |
- +salome-geom-3.2.6-vtk-5.2.patch |
486 |
- Added support to vtk 5.2. Patch provided by Bert Karwatzki <spasswolf@×××.de> |
487 |
- |
488 |
- 04 Sep 2008; Oliver Borm (boroli) <oli.borm@×××.de> |
489 |
- salome-geom-3.2.6.ebuild: |
490 |
- removed omniorb* dependencies, as they are already in salome-kernel |
491 |
- |
492 |
- 27 Aug 2008; Oliver Borm (boroli) <oli.borm@×××.de> |
493 |
- salome-geom-3.2.6.ebuild, -Changelog, +metadata.xml: |
494 |
- Removed fetch restriction, removed hardcode |
495 |
- |
496 |
- 21 May 2008; Daniel Tourde <daniel.tourde@××××××.se> |
497 |
- Initial import. |
498 |
- +salome-geom-3.2.6.ebuild, +salome-geom-3.2.6.patch |
499 |
- A major thank to Francois Dorin <f.dorin@××××.fr>, Jon Hood <squinky86@gmail.$ |
500 |
- See bug #155974 for more info |
501 |
|
502 |
diff --git a/sci-misc/salome-geom/files/salome-geom-5.1.3-qt4-path.patch b/sci-misc/salome-geom/files/salome-geom-5.1.3-qt4-path.patch |
503 |
deleted file mode 100644 |
504 |
index 0f41686..0000000 |
505 |
--- a/sci-misc/salome-geom/files/salome-geom-5.1.3-qt4-path.patch |
506 |
+++ /dev/null |
507 |
@@ -1,11 +0,0 @@ |
508 |
---- src5.1.3.orig/GEOM_SRC_5.1.3/adm_local/unix/config_files/check_qt.m4 2010-03-06 21:00:58.281572535 +0100 |
509 |
-+++ src5.1.3/GEOM_SRC_5.1.3/adm_local/unix/config_files/check_qt.m4 2010-03-06 21:03:34.110325466 +0100 |
510 |
-@@ -333,7 +333,7 @@ |
511 |
- |
512 |
- LIBS_old=$LIBS |
513 |
- if test "x$QTDIR" = "x/usr" ; then |
514 |
-- QT_LIB_DIR="" |
515 |
-+ QT_LIB_DIR="-L/usr/lib${LIB_LOCATION_SUFFIX}/qt4" |
516 |
- elif test -d ${QTDIR}/lib; then |
517 |
- QT_LIB_DIR="-L$QTDIR/lib" |
518 |
- elif test -d ${QTDIR}/lib64; then |
519 |
|
520 |
diff --git a/sci-misc/salome-geom/metadata.xml b/sci-misc/salome-geom/metadata.xml |
521 |
deleted file mode 100644 |
522 |
index 897aa2e..0000000 |
523 |
--- a/sci-misc/salome-geom/metadata.xml |
524 |
+++ /dev/null |
525 |
@@ -1,5 +0,0 @@ |
526 |
-<?xml version="1.0" encoding="UTF-8"?> |
527 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
528 |
-<pkgmetadata> |
529 |
- <herd>sci</herd> |
530 |
-</pkgmetadata> |
531 |
|
532 |
diff --git a/sci-misc/salome-geom/salome-geom-5.1.3.ebuild b/sci-misc/salome-geom/salome-geom-5.1.3.ebuild |
533 |
deleted file mode 100644 |
534 |
index 7605d3c..0000000 |
535 |
--- a/sci-misc/salome-geom/salome-geom-5.1.3.ebuild |
536 |
+++ /dev/null |
537 |
@@ -1,110 +0,0 @@ |
538 |
-# Copyright 1999-2014 Gentoo Foundation |
539 |
-# Distributed under the terms of the GNU General Public License v2 |
540 |
-# $Id$ |
541 |
- |
542 |
-EAPI=2 |
543 |
- |
544 |
-PYTHON_DEPEND="2:2.5" |
545 |
- |
546 |
-inherit eutils python |
547 |
- |
548 |
-DESCRIPTION="SALOME : The Open Source Integration Platform for Numerical Simulation. GEOM component" |
549 |
-HOMEPAGE="http://www.salome-platform.org" |
550 |
-SRC_URI="http://files.opencascade.com/Salome/Salome${PV}/src${PV}.tar.gz" |
551 |
- |
552 |
-LICENSE="GPL-2" |
553 |
-KEYWORDS="~amd64 ~x86" |
554 |
-SLOT="0" |
555 |
-IUSE="debug doc mpi opengl" |
556 |
- |
557 |
-RDEPEND="opengl? ( virtual/opengl ) |
558 |
- mpi? ( || ( sys-cluster/openmpi[cxx] |
559 |
- sys-cluster/mpich2[cxx] ) ) |
560 |
- debug? ( dev-util/cppunit ) |
561 |
- >=sci-misc/salome-kernel-${PV} |
562 |
- >=sci-misc/salome-gui-${PV} |
563 |
- >=dev-python/omniorbpy-3.4 |
564 |
- >=net-misc/omniORB-4.1.4 |
565 |
- >=dev-qt/qtcore-4.5.2 |
566 |
- >=dev-qt/qtgui-4.5.2 |
567 |
- >=dev-qt/qtopengl-4.5.2 |
568 |
- >=sci-libs/opencascade-6.3 |
569 |
- >=dev-libs/boost-1.40.0 |
570 |
- >=sci-libs/vtk-5.0[python] |
571 |
- >=sci-libs/hdf5-1.6.4" |
572 |
- |
573 |
-DEPEND="${RDEPEND} |
574 |
- >=app-doc/doxygen-1.5.6 |
575 |
- media-gfx/graphviz |
576 |
- >=dev-python/docutils-0.4 |
577 |
- dev-lang/swig" |
578 |
- |
579 |
-MODULE_NAME="GEOM" |
580 |
-S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}" |
581 |
-INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
582 |
-GEOM_ROOT_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
583 |
- |
584 |
-pkg_setup() { |
585 |
- [[ $(python_get_version) > 2.4 ]] && \ |
586 |
- ewarn "Python 2.4 is highly recommended for Salome..." |
587 |
- python_set_active_version 2 |
588 |
-} |
589 |
- |
590 |
-src_prepare() { |
591 |
- epatch "${FILESDIR}"/${P}-qt4-path.patch |
592 |
- |
593 |
- rm -r -f autom4te.cache |
594 |
- ./clean_configure |
595 |
- ./build_configure |
596 |
-} |
597 |
- |
598 |
-src_configure() { |
599 |
- local vtk_suffix="" |
600 |
- |
601 |
- has_version ">=sci-libs/vtk-5.0" && vtk_suffix="-5.0" |
602 |
- has_version ">=sci-libs/vtk-5.2" && vtk_suffix="-5.2" |
603 |
- has_version ">=sci-libs/vtk-5.4" && vtk_suffix="-5.4" |
604 |
- |
605 |
- econf --prefix=${INSTALL_DIR} \ |
606 |
- --datadir=${INSTALL_DIR}/share/salome \ |
607 |
- --docdir=${INSTALL_DIR}/doc/salome \ |
608 |
- --infodir=${INSTALL_DIR}/share/info \ |
609 |
- --libdir=${INSTALL_DIR}/$(get_libdir)/salome \ |
610 |
- --with-python-site=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ |
611 |
- --with-python-site-exec=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ |
612 |
- --with-vtk=${VTKHOME} \ |
613 |
- --with-vtk-version=${vtk_suffix} \ |
614 |
- --with-qt='/usr' \ |
615 |
- $(use_enable debug ) \ |
616 |
- $(use_enable debug debug ) \ |
617 |
- $(use_enable !debug production ) \ |
618 |
- $(use_with opengl opengl /usr) \ |
619 |
- || die "econf failed" |
620 |
-} |
621 |
- |
622 |
-src_compile() { |
623 |
- MAKEOPTS+=" -j1" emake || die "emake failed" |
624 |
-} |
625 |
- |
626 |
-src_install() { |
627 |
- emake DESTDIR="${D}" install || die "emake install failed" |
628 |
- |
629 |
- use amd64 && dosym ${INSTALL_DIR}/lib64 ${INSTALL_DIR}/lib |
630 |
- |
631 |
- echo "${MODULE_NAME}_ROOT_DIR=${INSTALL_DIR}" > ./90${P} |
632 |
- echo "LDPATH=${INSTALL_DIR}/$(get_libdir)/salome" >> ./90${P} |
633 |
- echo "PATH=${INSTALL_DIR}/bin/salome" >> ./90${P} |
634 |
- echo "PYTHONPATH=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome" >> ./90${P} |
635 |
- doenvd 90${P} |
636 |
- rm adm_local/Makefile adm_local/unix/Makefile adm_local/cmake_files/Makefile |
637 |
- insinto "${INSTALL_DIR}" |
638 |
- doins -r adm_local |
639 |
- |
640 |
- use doc && dodoc INSTALL |
641 |
-} |
642 |
- |
643 |
-pkg_postinst() { |
644 |
- elog "Run \`env-update && source /etc/profile\`" |
645 |
- elog "now to set up the correct paths." |
646 |
- elog "" |
647 |
-} |
648 |
|
649 |
diff --git a/sci-misc/salome-geom/salome-geom-5.1.4.ebuild b/sci-misc/salome-geom/salome-geom-5.1.4.ebuild |
650 |
deleted file mode 100644 |
651 |
index c75dd13..0000000 |
652 |
--- a/sci-misc/salome-geom/salome-geom-5.1.4.ebuild |
653 |
+++ /dev/null |
654 |
@@ -1,112 +0,0 @@ |
655 |
-# Copyright 1999-2014 Gentoo Foundation |
656 |
-# Distributed under the terms of the GNU General Public License v2 |
657 |
-# $Id$ |
658 |
- |
659 |
-EAPI=2 |
660 |
- |
661 |
-PYTHON_DEPEND="2:2.5" |
662 |
- |
663 |
-inherit eutils flag-o-matic python |
664 |
- |
665 |
-DESCRIPTION="SALOME : The Open Source Integration Platform for Numerical Simulation. GEOM component" |
666 |
-HOMEPAGE="http://www.salome-platform.org" |
667 |
-SRC_URI="http://files.opencascade.com/Salome/Salome${PV}/src${PV}.tar.gz" |
668 |
- |
669 |
-LICENSE="GPL-2" |
670 |
-KEYWORDS="~amd64 ~x86" |
671 |
-SLOT="0" |
672 |
-IUSE="debug doc mpi opengl" |
673 |
- |
674 |
-RDEPEND="opengl? ( virtual/opengl ) |
675 |
- mpi? ( || ( sys-cluster/openmpi[cxx] |
676 |
- sys-cluster/mpich2[cxx] ) ) |
677 |
- debug? ( dev-util/cppunit ) |
678 |
- >=sci-misc/salome-kernel-${PV} |
679 |
- >=sci-misc/salome-gui-${PV} |
680 |
- >=dev-python/omniorbpy-3.4 |
681 |
- >=net-misc/omniORB-4.1.4 |
682 |
- >=dev-qt/qtcore-4.5.2 |
683 |
- >=dev-qt/qtgui-4.5.2 |
684 |
- >=dev-qt/qtopengl-4.5.2 |
685 |
- >=sci-libs/opencascade-6.3 |
686 |
- >=dev-libs/boost-1.40.0 |
687 |
- >=sci-libs/vtk-5.0[python] |
688 |
- >=sci-libs/hdf5-1.6.4" |
689 |
- |
690 |
-DEPEND="${RDEPEND} |
691 |
- >=app-doc/doxygen-1.5.6 |
692 |
- media-gfx/graphviz |
693 |
- >=dev-python/docutils-0.4 |
694 |
- dev-lang/swig" |
695 |
- |
696 |
-MODULE_NAME="GEOM" |
697 |
-S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}" |
698 |
-INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
699 |
-GEOM_ROOT_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
700 |
- |
701 |
-pkg_setup() { |
702 |
- [[ $(python_get_version) > 2.4 ]] && \ |
703 |
- ewarn "Python 2.4 is highly recommended for Salome..." |
704 |
- python_set_active_version 2 |
705 |
- append-ldflags $(no-as-needed) |
706 |
-} |
707 |
- |
708 |
-src_prepare() { |
709 |
- #epatch "${FILESDIR}"/${P}-qt4-path.patch |
710 |
- |
711 |
- rm -r -f autom4te.cache |
712 |
- ./clean_configure |
713 |
- ./build_configure |
714 |
-} |
715 |
- |
716 |
-src_configure() { |
717 |
- local vtk_suffix="" |
718 |
- |
719 |
- has_version ">=sci-libs/vtk-5.0" && vtk_suffix="-5.0" |
720 |
- has_version ">=sci-libs/vtk-5.2" && vtk_suffix="-5.2" |
721 |
- has_version ">=sci-libs/vtk-5.4" && vtk_suffix="-5.4" |
722 |
- has_version ">=sci-libs/vtk-5.6" && vtk_suffix="-5.6" |
723 |
- |
724 |
- econf --prefix=${INSTALL_DIR} \ |
725 |
- --datadir=${INSTALL_DIR}/share/salome \ |
726 |
- --docdir=${INSTALL_DIR}/doc/salome \ |
727 |
- --infodir=${INSTALL_DIR}/share/info \ |
728 |
- --libdir=${INSTALL_DIR}/$(get_libdir)/salome \ |
729 |
- --with-python-site=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ |
730 |
- --with-python-site-exec=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ |
731 |
- --with-vtk=${VTKHOME} \ |
732 |
- --with-vtk-version=${vtk_suffix} \ |
733 |
- --with-qt='/usr' \ |
734 |
- $(use_enable debug ) \ |
735 |
- $(use_enable debug debug ) \ |
736 |
- $(use_enable !debug production ) \ |
737 |
- $(use_with opengl opengl /usr) \ |
738 |
- || die "econf failed" |
739 |
-} |
740 |
- |
741 |
-src_compile() { |
742 |
- MAKEOPTS+=" -j1" emake || die "emake failed" |
743 |
-} |
744 |
- |
745 |
-src_install() { |
746 |
- emake DESTDIR="${D}" install || die "emake install failed" |
747 |
- |
748 |
- use amd64 && dosym ${INSTALL_DIR}/lib64 ${INSTALL_DIR}/lib |
749 |
- |
750 |
- echo "${MODULE_NAME}_ROOT_DIR=${INSTALL_DIR}" > ./90${P} |
751 |
- echo "LDPATH=${INSTALL_DIR}/$(get_libdir)/salome" >> ./90${P} |
752 |
- echo "PATH=${INSTALL_DIR}/bin/salome" >> ./90${P} |
753 |
- echo "PYTHONPATH=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome" >> ./90${P} |
754 |
- doenvd 90${P} |
755 |
- rm adm_local/Makefile adm_local/unix/Makefile adm_local/cmake_files/Makefile |
756 |
- insinto "${INSTALL_DIR}" |
757 |
- doins -r adm_local |
758 |
- |
759 |
- use doc && dodoc INSTALL |
760 |
-} |
761 |
- |
762 |
-pkg_postinst() { |
763 |
- elog "Run \`env-update && source /etc/profile\`" |
764 |
- elog "now to set up the correct paths." |
765 |
- elog "" |
766 |
-} |
767 |
|
768 |
diff --git a/sci-misc/salome-gui/ChangeLog b/sci-misc/salome-gui/ChangeLog |
769 |
deleted file mode 100644 |
770 |
index 36482de..0000000 |
771 |
--- a/sci-misc/salome-gui/ChangeLog |
772 |
+++ /dev/null |
773 |
@@ -1,68 +0,0 @@ |
774 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
775 |
-# $Id$ |
776 |
- |
777 |
- 03 Mar 2013; Justin Lecher <jlec@g.o> salome-gui-5.1.3.ebuild, |
778 |
- salome-gui-5.1.4.ebuild, metadata.xml: |
779 |
- Update to new qt deps names |
780 |
- |
781 |
- 10 Feb 2012; Alexey Shvetsov <alexxy@g.o> salome-gui-5.1.3.ebuild, |
782 |
- salome-gui-5.1.4.ebuild: |
783 |
- [sci-misc/salome*] Fix python depend |
784 |
- |
785 |
- 07 Mar 2011; Justin Lecher <jlec@g.o> salome-gui-5.1.3.ebuild, |
786 |
- salome-gui-5.1.4.ebuild: |
787 |
- Correct Slots for gtk 3 introduction to tree |
788 |
- |
789 |
-*salome-gui-5.1.4 (27 Oct 2010) |
790 |
- |
791 |
- 27 Oct 2010; Thomas Kahle <tomka@g.o> +salome-gui-5.1.4.ebuild, |
792 |
- +files/salome-gui-5.1.4-qt4-path.patch: |
793 |
- Bump to 5.1.4, ebuild by Michael Riss in bug 330303 |
794 |
- |
795 |
- 29 Jun 2010; Justin Lecher <jlec@g.o> salome-gui-5.1.3.ebuild: |
796 |
- Python ABI fixes |
797 |
- |
798 |
- 04 Apr 2010; Etienne Lorriaux <etienne.lorriaux@×××××.com> |
799 |
- salome-gui-5.1.3.ebuild: |
800 |
- changed fetch URL + cleaning |
801 |
- added sci-libs/vtk[mpi] dependency to solve: |
802 |
- http://bugs.gentoo.org/show_bug.cgi?id=155974#c528 |
803 |
- |
804 |
-*salome-gui-5.1.3 (14 Mar 2010) |
805 |
- |
806 |
- 14 Mar 2010; Etienne Lorriaux <etienne.lorriaux@×××××.com> |
807 |
- -salome-gui-3.2.6.ebuild, -files/salome-gui-3.2.6-gcc-4.3.patch, |
808 |
- -files/salome-gui-3.2.6-vtk-5.2.patch, |
809 |
- -files/salome-gui-3.2.6_configure_in_base.patch, |
810 |
- -files/salome-gui-3.2.6_pyobject.patch, |
811 |
- -files/salome-gui-3.2.6_qwt-4.patch, |
812 |
- -files/salome-gui-3.2.6_sip-4.1.7.patch, -files/salome-gui-3.2.6.patch, |
813 |
- -files/salome-gui-vtk-5.0.patch, +salome-gui-5.1.3.ebuild, |
814 |
- +files/salome-gui-5.1.3-qt4-path.patch: |
815 |
- Version bump 5.1.3 + removed broken 3.2.6 |
816 |
- |
817 |
- 20 Oct 2008; Daniel Tourde <daniel.tourde@××××××.se> |
818 |
- +salome-gui-3.2.6-vtk-5.2.patch |
819 |
- Added support to vtk 5.2 and QT-3.3.8b. Patch provided by Bert Karwatzki <spasswolf@×××.de> |
820 |
- |
821 |
- 04 Sep 2008; Oliver Borm (boroli) <oli.borm@×××.de> |
822 |
- salome-gui-3.2.6.ebuild, +files/salome-gui-3.2.6_pyobject.patch: |
823 |
- Most USE-flags doesn't seem to be optional, changed default settings; added |
824 |
- pyobject.patch |
825 |
- |
826 |
- 27 Aug 2008; Oliver Borm (boroli) <oli.borm@×××.de> |
827 |
- salome-gui-3.2.6.ebuild, -Changelog, +metadata.xml: |
828 |
- Removed fetch restriction, removed hardcode |
829 |
- |
830 |
- 29 May 2008; Daniel Tourde <daniel.tourde@××××××.se> |
831 |
- +salome-gui-3.2.6-gcc-4.3.patch |
832 |
- Added support to gcc-4.3. Patch provided by Bert Karwatzki <spasswolf@×××.de> |
833 |
- |
834 |
- 20 May 2008; Daniel Tourde <daniel.tourde@××××××.se> |
835 |
- Corrected a minor issue (icon) |
836 |
- |
837 |
- 20 May 2008; Daniel Tourde <daniel.tourde@××××××.se> |
838 |
- Initial import. |
839 |
- +salome-gui-3.2.6.ebuild, +salome-gui-3.2.6.patch, +salome-gui-3.2.6_sip-4.1.7.patch, +salome-gui-3.2.6_configure_in_base.patch, +salome-gui-3.2.6_qwt-4.patch, +salome-gui-vtk-5.0.patch |
840 |
- A major thank to Francois Dorin <f.dorin@××××.fr>, Jon Hood <squinky86@×××××.com>, Dewald Pietersen <dewald.pieterse@×××××.com>, <etienne.lorriaux@×××××.com> and Richard Westwell <garlicbread@××××××××.com> for their respective contributions and feedback. Without you guys, the Salome ebuilds would not exist today. Thanks! |
841 |
- See bug #155974 for more info |
842 |
|
843 |
diff --git a/sci-misc/salome-gui/files/salome-gui-5.1.3-qt4-path.patch b/sci-misc/salome-gui/files/salome-gui-5.1.3-qt4-path.patch |
844 |
deleted file mode 100644 |
845 |
index da9c6d0..0000000 |
846 |
--- a/sci-misc/salome-gui/files/salome-gui-5.1.3-qt4-path.patch |
847 |
+++ /dev/null |
848 |
@@ -1,11 +0,0 @@ |
849 |
---- src5.1.3.orig/GUI_SRC_5.1.3/adm_local/unix/config_files/check_qt.m4 2010-03-06 21:00:58.281572535 +0100 |
850 |
-+++ src5.1.3/GUI_SRC_5.1.3/adm_local/unix/config_files/check_qt.m4 2010-03-06 21:03:34.110325466 +0100 |
851 |
-@@ -333,7 +333,7 @@ |
852 |
- |
853 |
- LIBS_old=$LIBS |
854 |
- if test "x$QTDIR" = "x/usr" ; then |
855 |
-- QT_LIB_DIR="" |
856 |
-+ QT_LIB_DIR="-L/usr/lib${LIB_LOCATION_SUFFIX}/qt4" |
857 |
- elif test -d ${QTDIR}/lib; then |
858 |
- QT_LIB_DIR="-L$QTDIR/lib" |
859 |
- elif test -d ${QTDIR}/lib64; then |
860 |
|
861 |
diff --git a/sci-misc/salome-gui/files/salome-gui-5.1.4-qt4-path.patch b/sci-misc/salome-gui/files/salome-gui-5.1.4-qt4-path.patch |
862 |
deleted file mode 100644 |
863 |
index e29bd76..0000000 |
864 |
--- a/sci-misc/salome-gui/files/salome-gui-5.1.4-qt4-path.patch |
865 |
+++ /dev/null |
866 |
@@ -1,11 +0,0 @@ |
867 |
---- src5.1.4.orig/GUI_SRC_5.1.4/adm_local/unix/config_files/check_qt.m4 2010-03-06 21:00:58.281572535 +0100 |
868 |
-+++ src5.1.4/GUI_SRC_5.1.4/adm_local/unix/config_files/check_qt.m4 2010-03-06 21:03:34.110325466 +0100 |
869 |
-@@ -333,7 +333,7 @@ |
870 |
- |
871 |
- LIBS_old=$LIBS |
872 |
- if test "x$QTDIR" = "x/usr" ; then |
873 |
-- QT_LIB_DIR="" |
874 |
-+ QT_LIB_DIR="-L/usr/lib${LIB_LOCATION_SUFFIX}/qt4" |
875 |
- elif test -d ${QTDIR}/lib; then |
876 |
- QT_LIB_DIR="-L$QTDIR/lib" |
877 |
- elif test -d ${QTDIR}/lib64; then |
878 |
|
879 |
diff --git a/sci-misc/salome-gui/metadata.xml b/sci-misc/salome-gui/metadata.xml |
880 |
deleted file mode 100644 |
881 |
index 897aa2e..0000000 |
882 |
--- a/sci-misc/salome-gui/metadata.xml |
883 |
+++ /dev/null |
884 |
@@ -1,5 +0,0 @@ |
885 |
-<?xml version="1.0" encoding="UTF-8"?> |
886 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
887 |
-<pkgmetadata> |
888 |
- <herd>sci</herd> |
889 |
-</pkgmetadata> |
890 |
|
891 |
diff --git a/sci-misc/salome-gui/salome-gui-5.1.3.ebuild b/sci-misc/salome-gui/salome-gui-5.1.3.ebuild |
892 |
deleted file mode 100644 |
893 |
index d3772b9..0000000 |
894 |
--- a/sci-misc/salome-gui/salome-gui-5.1.3.ebuild |
895 |
+++ /dev/null |
896 |
@@ -1,115 +0,0 @@ |
897 |
-# Copyright 1999-2014 Gentoo Foundation |
898 |
-# Distributed under the terms of the GNU General Public License v2 |
899 |
-# $Id$ |
900 |
- |
901 |
-EAPI=2 |
902 |
- |
903 |
-PYTHON_DEPEND="2:2.5" |
904 |
- |
905 |
-inherit eutils flag-o-matic python |
906 |
- |
907 |
-DESCRIPTION="The Open Source Integration Platform for Numerical Simulation - GUI component" |
908 |
-HOMEPAGE="http://www.salome-platform.org" |
909 |
-SRC_URI="http://files.opencascade.com/Salome/Salome${PV}/src${PV}.tar.gz" |
910 |
- |
911 |
-LICENSE="GPL-2" |
912 |
-KEYWORDS="~amd64 ~x86" |
913 |
-SLOT="0" |
914 |
-IUSE="debug doc opengl" |
915 |
- |
916 |
-RDEPEND=" |
917 |
- >=sci-misc/salome-kernel-${PV} |
918 |
- >=net-misc/omniORB-4.1.4 |
919 |
- >=dev-python/omniorbpy-3.4 |
920 |
- >=sci-libs/hdf5-1.6.4 |
921 |
- >=dev-libs/boost-1.40.0 |
922 |
- >=dev-qt/qtcore-4.5.2 |
923 |
- >=dev-qt/qtgui-4.5.2 |
924 |
- >=dev-qt/qtopengl-4.5.2 |
925 |
- >=x11-libs/qwt-5.2 |
926 |
- >=dev-python/PyQt4-4.5.4 |
927 |
- >=sci-libs/vtk-5.0[python,mpi] |
928 |
- >=sci-libs/opencascade-6.3 |
929 |
- app-text/dgs |
930 |
- opengl? ( virtual/opengl ) |
931 |
- debug? ( dev-util/cppunit )" |
932 |
-DEPEND="${RDEPEND} |
933 |
- >=app-doc/doxygen-1.5.6 |
934 |
- media-gfx/graphviz |
935 |
- >=dev-python/sip-4.8.2 |
936 |
- dev-lang/swig |
937 |
- dev-libs/libxml2:2" |
938 |
- |
939 |
-MODULE_NAME="GUI" |
940 |
-S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}" |
941 |
-INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
942 |
-GUI_ROOT_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
943 |
- |
944 |
-pkg_setup() { |
945 |
- [[ $(python_get_version) > 2.4 ]] && \ |
946 |
- ewarn "Python 2.4 is highly recommended for Salome..." |
947 |
- python_set_active_version 2 |
948 |
-} |
949 |
- |
950 |
-src_prepare() { |
951 |
- epatch "${FILESDIR}"/${P}-qt4-path.patch |
952 |
- |
953 |
- rm -r -f autom4te.cache |
954 |
- ./clean_configure |
955 |
- ./build_configure |
956 |
-} |
957 |
- |
958 |
-src_configure() { |
959 |
- local vtk_suffix="" |
960 |
- |
961 |
- has_version ">=sci-libs/vtk-5.0" && vtk_suffix="-5.0" |
962 |
- has_version ">=sci-libs/vtk-5.2" && vtk_suffix="-5.2" |
963 |
- has_version ">=sci-libs/vtk-5.4" && vtk_suffix="-5.4" |
964 |
- |
965 |
- econf --prefix=${INSTALL_DIR} \ |
966 |
- --datadir=${INSTALL_DIR}/share/salome \ |
967 |
- --docdir=${INSTALL_DIR}/doc/salome \ |
968 |
- --infodir=${INSTALL_DIR}/share/info \ |
969 |
- --libdir=${INSTALL_DIR}/$(get_libdir)/salome \ |
970 |
- --with-python-site=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ |
971 |
- --with-python-site-exec=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ |
972 |
- --with-qt=/usr \ |
973 |
- --with-qwt=/usr \ |
974 |
- --with-qwt_inc=/usr/include/qwt5 \ |
975 |
- --with-vtk=${VTKHOME} \ |
976 |
- --with-vtk-version=${vtk_suffix} \ |
977 |
- ${myconf} \ |
978 |
- $(use_enable debug ) \ |
979 |
- $(use_enable !debug production ) \ |
980 |
- $(use_with debug cppunit /usr ) \ |
981 |
- $(use_with opengl opengl /usr) \ |
982 |
- || die "econf failed" |
983 |
-} |
984 |
- |
985 |
-src_compile() { |
986 |
- MAKEOPTS+=" -j1" emake || die "emake failed" |
987 |
-} |
988 |
- |
989 |
-src_install() { |
990 |
- emake DESTDIR="${D}" install || die "emake install failed" |
991 |
- |
992 |
- use amd64 && dosym ${INSTALL_DIR}/lib64 ${INSTALL_DIR}/lib |
993 |
- |
994 |
- echo "${MODULE_NAME}_ROOT_DIR=${INSTALL_DIR}" > ./90${P} |
995 |
- echo "LDPATH=${INSTALL_DIR}/$(get_libdir)/salome" >> ./90${P} |
996 |
- echo "PATH=${INSTALL_DIR}/bin/salome" >> ./90${P} |
997 |
- echo "PYTHONPATH=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome" >> ./90${P} |
998 |
- doenvd 90${P} |
999 |
- rm adm_local/Makefile adm_local/unix/Makefile adm_local/cmake_files/Makefile \ |
1000 |
- adm_local/unix/config_files/Makefile |
1001 |
- |
1002 |
- insinto "${INSTALL_DIR}" |
1003 |
- doins -r adm_local |
1004 |
- use doc && dodoc AUTHORS INSTALL NEWS README |
1005 |
-} |
1006 |
- |
1007 |
-pkg_postinst() { |
1008 |
- elog "Run \`env-update && source /etc/profile\`" |
1009 |
- elog "now to set up the correct paths." |
1010 |
- elog "" |
1011 |
-} |
1012 |
|
1013 |
diff --git a/sci-misc/salome-gui/salome-gui-5.1.4.ebuild b/sci-misc/salome-gui/salome-gui-5.1.4.ebuild |
1014 |
deleted file mode 100644 |
1015 |
index 47b6d0c..0000000 |
1016 |
--- a/sci-misc/salome-gui/salome-gui-5.1.4.ebuild |
1017 |
+++ /dev/null |
1018 |
@@ -1,117 +0,0 @@ |
1019 |
-# Copyright 1999-2014 Gentoo Foundation |
1020 |
-# Distributed under the terms of the GNU General Public License v2 |
1021 |
-# $Id$ |
1022 |
- |
1023 |
-EAPI=2 |
1024 |
- |
1025 |
-PYTHON_DEPEND="2:2.5" |
1026 |
- |
1027 |
-inherit eutils flag-o-matic python |
1028 |
- |
1029 |
-DESCRIPTION="The Open Source Integration Platform for Numerical Simulation - GUI component" |
1030 |
-HOMEPAGE="http://www.salome-platform.org" |
1031 |
-SRC_URI="http://files.opencascade.com/Salome/Salome${PV}/src${PV}.tar.gz" |
1032 |
- |
1033 |
-LICENSE="GPL-2" |
1034 |
-KEYWORDS="~amd64 ~x86" |
1035 |
-SLOT="0" |
1036 |
-IUSE="debug doc opengl" |
1037 |
- |
1038 |
-RDEPEND=" |
1039 |
- >=sci-misc/salome-kernel-${PV} |
1040 |
- >=net-misc/omniORB-4.1.4 |
1041 |
- >=dev-python/omniorbpy-3.4 |
1042 |
- >=sci-libs/hdf5-1.6.4 |
1043 |
- >=dev-libs/boost-1.40.0 |
1044 |
- >=dev-qt/qtcore-4.5.2 |
1045 |
- >=dev-qt/qtgui-4.5.2 |
1046 |
- >=dev-qt/qtopengl-4.5.2 |
1047 |
- >=x11-libs/qwt-5.2 |
1048 |
- >=dev-python/PyQt4-4.5.4 |
1049 |
- >=sci-libs/vtk-5.0[python,mpi] |
1050 |
- >=sci-libs/opencascade-6.3 |
1051 |
- app-text/dgs |
1052 |
- opengl? ( virtual/opengl ) |
1053 |
- debug? ( dev-util/cppunit )" |
1054 |
-DEPEND="${RDEPEND} |
1055 |
- >=app-doc/doxygen-1.5.6 |
1056 |
- media-gfx/graphviz |
1057 |
- >=dev-python/sip-4.8.2 |
1058 |
- dev-lang/swig |
1059 |
- dev-libs/libxml2:2" |
1060 |
- |
1061 |
-MODULE_NAME="GUI" |
1062 |
-S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}" |
1063 |
-INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
1064 |
-GUI_ROOT_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
1065 |
- |
1066 |
-pkg_setup() { |
1067 |
- [[ $(python_get_version) > 2.4 ]] && \ |
1068 |
- ewarn "Python 2.4 is highly recommended for Salome..." |
1069 |
- python_set_active_version 2 |
1070 |
- append-ldflags $(no-as-needed) |
1071 |
-} |
1072 |
- |
1073 |
-src_prepare() { |
1074 |
- epatch "${FILESDIR}"/${P}-qt4-path.patch |
1075 |
- |
1076 |
- rm -r -f autom4te.cache |
1077 |
- ./clean_configure |
1078 |
- ./build_configure |
1079 |
-} |
1080 |
- |
1081 |
-src_configure() { |
1082 |
- local vtk_suffix="" |
1083 |
- |
1084 |
- has_version ">=sci-libs/vtk-5.0" && vtk_suffix="-5.0" |
1085 |
- has_version ">=sci-libs/vtk-5.2" && vtk_suffix="-5.2" |
1086 |
- has_version ">=sci-libs/vtk-5.4" && vtk_suffix="-5.4" |
1087 |
- has_version ">=sci-libs/vtk-5.6" && vtk_suffix="-5.6" |
1088 |
- |
1089 |
- econf --prefix=${INSTALL_DIR} \ |
1090 |
- --datadir=${INSTALL_DIR}/share/salome \ |
1091 |
- --docdir=${INSTALL_DIR}/doc/salome \ |
1092 |
- --infodir=${INSTALL_DIR}/share/info \ |
1093 |
- --libdir=${INSTALL_DIR}/$(get_libdir)/salome \ |
1094 |
- --with-python-site=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ |
1095 |
- --with-python-site-exec=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ |
1096 |
- --with-qt=/usr \ |
1097 |
- --with-qwt=/usr \ |
1098 |
- --with-qwt_inc=/usr/include/qwt5 \ |
1099 |
- --with-vtk=${VTKHOME} \ |
1100 |
- --with-vtk-version=${vtk_suffix} \ |
1101 |
- ${myconf} \ |
1102 |
- $(use_enable debug ) \ |
1103 |
- $(use_enable !debug production ) \ |
1104 |
- $(use_with debug cppunit /usr ) \ |
1105 |
- $(use_with opengl opengl /usr) \ |
1106 |
- || die "econf failed" |
1107 |
-} |
1108 |
- |
1109 |
-src_compile() { |
1110 |
- MAKEOPTS+=" -j1" emake || die "emake failed" |
1111 |
-} |
1112 |
- |
1113 |
-src_install() { |
1114 |
- emake DESTDIR="${D}" install || die "emake install failed" |
1115 |
- |
1116 |
- use amd64 && dosym ${INSTALL_DIR}/lib64 ${INSTALL_DIR}/lib |
1117 |
- |
1118 |
- echo "${MODULE_NAME}_ROOT_DIR=${INSTALL_DIR}" > ./90${P} |
1119 |
- echo "LDPATH=${INSTALL_DIR}/$(get_libdir)/salome" >> ./90${P} |
1120 |
- echo "PATH=${INSTALL_DIR}/bin/salome" >> ./90${P} |
1121 |
- echo "PYTHONPATH=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome" >> ./90${P} |
1122 |
- doenvd 90${P} |
1123 |
- rm adm_local/Makefile adm_local/unix/Makefile adm_local/cmake_files/Makefile \ |
1124 |
- adm_local/unix/config_files/Makefile |
1125 |
- |
1126 |
- insinto "${INSTALL_DIR}" |
1127 |
- doins -r adm_local |
1128 |
- use doc && dodoc AUTHORS INSTALL NEWS README |
1129 |
-} |
1130 |
- |
1131 |
-pkg_postinst() { |
1132 |
- elog "Run \`env-update && source /etc/profile\`" |
1133 |
- elog "now to set up the correct paths." |
1134 |
- elog "" |
1135 |
-} |
1136 |
|
1137 |
diff --git a/sci-misc/salome-kernel/ChangeLog b/sci-misc/salome-kernel/ChangeLog |
1138 |
deleted file mode 100644 |
1139 |
index d03f79a..0000000 |
1140 |
--- a/sci-misc/salome-kernel/ChangeLog |
1141 |
+++ /dev/null |
1142 |
@@ -1,92 +0,0 @@ |
1143 |
-# ChangeLog for sci-misc/salome-kernel |
1144 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
1145 |
-# $Id$ |
1146 |
- |
1147 |
- 10 Feb 2012; Alexey Shvetsov <alexxy@g.o> salome-kernel-5.1.3.ebuild, |
1148 |
- salome-kernel-5.1.4.ebuild: |
1149 |
- [sci-misc/salome*] Fix python depend |
1150 |
- |
1151 |
- 07 Mar 2011; Justin Lecher <jlec@g.o> salome-kernel-5.1.3.ebuild, |
1152 |
- salome-kernel-5.1.4.ebuild: |
1153 |
- Correct Slots for gtk 3 introduction to tree |
1154 |
- |
1155 |
-*salome-kernel-5.1.4 (27 Oct 2010) |
1156 |
- |
1157 |
- 27 Oct 2010; Thomas Kahle <tomka@g.o> +salome-kernel-5.1.4.ebuild, |
1158 |
- +files/salome-kernel-5.1.4-openmpi.patch, |
1159 |
- +files/salome-kernel-5.1.4-python-2.6.patch: |
1160 |
- Bump to 5.1.4, ebuild by Michael Riss in bug 330303 |
1161 |
- |
1162 |
- 29 Jun 2010; Justin Lecher <jlec@g.o> salome-kernel-5.1.3.ebuild: |
1163 |
- Python ABI fixes |
1164 |
- |
1165 |
- 04 Apr 2010; Etienne Lorriaux <etienne.lorriaux@×××××.com> |
1166 |
- salome-kernel-5.1.3.ebuild: |
1167 |
- changed fetch URL + cleaning |
1168 |
- |
1169 |
-*salome-kernel-5.1.3 (14 Mar 2010) |
1170 |
- |
1171 |
- 14 Mar 2010; Etienne Lorriaux <etienne.lorriaux@×××××.com> |
1172 |
- -salome-kernel-3.2.6.ebuild, |
1173 |
- -files/salome-kernel-3.2.6-Batch_Couple.patch, |
1174 |
- -files/salome-kernel-3.2.6-gcc-4.3.patch, |
1175 |
- -files/salome-kernel-3.2.6-mpich2.patch, |
1176 |
- -files/salome-kernel-3.2.6-omniorb_4.1.patch, |
1177 |
- -files/salome-kernel-3.2.6-pyobject.patch, |
1178 |
- -files/salome-kernel-3.2.6_openpbs.patch, +salome-kernel-5.1.3.ebuild, |
1179 |
- +files/salome-kernel-5.1.3-lib_location.patch, |
1180 |
- +files/salome-kernel-5.1.3-openmpi.patch, |
1181 |
- +files/salome-kernel-5.1.3-python-2.6.patch, |
1182 |
- -files/salome-kernel-gcc4.patch, metadata.xml: |
1183 |
- Version bump 5.1.3 + removed broken 3.2.6 |
1184 |
- |
1185 |
- 02 Nov 2009; Justin Lecher (jlec) <jlec@×××××××××.net> |
1186 |
- -files/digest-salome-kernel-3.2.6: |
1187 |
- remove old digest |
1188 |
- |
1189 |
- 05 Feb 2009; Thomas Anderson <gentoofan23@g.o> |
1190 |
- sci-misc/salome-kernel/salome-kernel-3.2.6.ebuild: |
1191 |
- [QA]: We need EAPI=1 for SLOT dependencies |
1192 |
- |
1193 |
- 27 Oct 2008; Oliver Borm (boroli) <oli.borm@×××.de> |
1194 |
- salome-kernel-3.2.6.ebuild, metadata.xml: |
1195 |
- Reordered dependencies |
1196 |
- |
1197 |
- 22 Sep 2008; Oliver Borm (boroli) <oli.borm@×××.de> |
1198 |
- salome-kernel-3.2.6.ebuild: |
1199 |
- fixed dependency |
1200 |
- |
1201 |
- 19 Sep 2008; Oliver Borm (boroli) <oli.borm@×××.de> |
1202 |
- salome-kernel-3.2.6.ebuild: |
1203 |
- Fixed typo in dependency |
1204 |
- |
1205 |
- 05 Sep 2008; Oliver Borm (boroli) <oli.borm@×××.de> |
1206 |
- salome-kernel-3.2.6.ebuild: |
1207 |
- Fixed version dependency |
1208 |
- |
1209 |
- 04 Sep 2008; Oliver Borm (boroli) <oli.borm@×××.de> |
1210 |
- salome-kernel-3.2.6.ebuild: |
1211 |
- Fixed version dependency |
1212 |
- |
1213 |
- 04 Sep 2008; Oliver Borm (boroli) <oli.borm@×××.de> |
1214 |
- salome-kernel-3.2.6.ebuild, +files/salome-kernel-3.2.6-omniorb_4.1.patch, |
1215 |
- files/salome-kernel-3.2.6-pyobject.patch, |
1216 |
- -files/salome-kernel-3.2.6_omniorg.patch: |
1217 |
- Reworked USE-flags, changed default behaviour, added omniorb_4.1.patch |
1218 |
- |
1219 |
- 26 Aug 2008; Oliver Borm (boroli) <oli.borm@×××.de> |
1220 |
- salome-kernel-3.2.6.ebuild, -Changelog, +metadata.xml: |
1221 |
- Removed fetch restriction, added python-2.5 support, removed hardcode |
1222 |
- |
1223 |
- 6 July 2008; Daniel Tourde <daniel.tourde@××××××.se> |
1224 |
- Updated to a new gcc-4.3 patch provided by Bert K. |
1225 |
- |
1226 |
- 29 May 2008; Daniel Tourde <daniel.tourde@××××××.se> |
1227 |
- +salome-kernel-3.2.6-gcc-4.3.patch |
1228 |
- Added support to gcc-4.3. Patch provided by Bert Karwatzki <spasswolf@×××.de> |
1229 |
- |
1230 |
- 20 May 2008; Daniel Tourde <daniel.tourde@××××××.se> |
1231 |
- Initial import. |
1232 |
- +salome-kernel-3.2.6.ebuild, +salome-kernel-3.2.6_omniorg.patch, +salome-kernel-gcc4.patch, +salome-kernel-3.2.6-Batch_Couple.patch, +salome-kernel-3.2.6_openpbs.patch, +salome-kernel.png, +salome-kernel-3.2.6-mpich2.patch, +salome-kernel-3.2.6-pyobject.patch |
1233 |
- A major thank to Francois Dorin <f.dorin@××××.fr>, Jon Hood <squinky86@×××××.com>, Dewald Pietersen <dewald.pieterse@×××××.com>, <etienne.lorriaux@×××××.com> and Richard Westwell <garlicbread@××××××××.com> for their respective contributions and feedback. Without you guys, the Salome ebuilds would not exist today. Thanks! |
1234 |
- See bug #155974 for more info |
1235 |
|
1236 |
diff --git a/sci-misc/salome-kernel/files/salome-kernel-5.1.3-lib_location.patch b/sci-misc/salome-kernel/files/salome-kernel-5.1.3-lib_location.patch |
1237 |
deleted file mode 100644 |
1238 |
index afb5e45..0000000 |
1239 |
--- a/sci-misc/salome-kernel/files/salome-kernel-5.1.3-lib_location.patch |
1240 |
+++ /dev/null |
1241 |
@@ -1,13 +0,0 @@ |
1242 |
---- src5.1.3.old/KERNEL_SRC_5.1.3/salome_adm/unix/config_files/ac_linker_options.m4 2009-07-10 19:08:57.000000000 +0200 |
1243 |
-+++ src5.1.3/KERNEL_SRC_5.1.3/salome_adm/unix/config_files/ac_linker_options.m4 2009-07-26 19:47:05.000000000 +0200 |
1244 |
-@@ -26,6 +26,10 @@ |
1245 |
- |
1246 |
- AC_CHECKING(for LIB_LOCATION_SUFFIX) |
1247 |
- LIB_LOCATION_SUFFIX="" |
1248 |
-+ case "$build_cpu" in |
1249 |
-+ x86_64*) LIB_LOCATION_SUFFIX="64" ;; |
1250 |
-+ *) LIB_LOCATION_SUFFIX="" ;; |
1251 |
-+ esac |
1252 |
- AC_SUBST(LIB_LOCATION_SUFFIX) |
1253 |
- AC_MSG_RESULT(LIB_LOCATION_SUFFIX is $LIB_LOCATION_SUFFIX) |
1254 |
- |
1255 |
|
1256 |
diff --git a/sci-misc/salome-kernel/files/salome-kernel-5.1.3-openmpi.patch b/sci-misc/salome-kernel/files/salome-kernel-5.1.3-openmpi.patch |
1257 |
deleted file mode 100644 |
1258 |
index 660d1ae..0000000 |
1259 |
--- a/sci-misc/salome-kernel/files/salome-kernel-5.1.3-openmpi.patch |
1260 |
+++ /dev/null |
1261 |
@@ -1,21 +0,0 @@ |
1262 |
---- src5.1.3.orig/KERNEL_SRC_5.1.3/salome_adm/unix/config_files/check_mpi.m4 2008-12-10 10:14:34.000000000 +0100 |
1263 |
-+++ src5.1.3/KERNEL_SRC_5.1.3/salome_adm/unix/config_files/check_mpi.m4 2009-09-29 10:14:56.821299268 +0200 |
1264 |
-@@ -76,7 +76,7 @@ |
1265 |
- |
1266 |
- if test "$WITHMPI" = "yes";then |
1267 |
- mpi_ok=yes |
1268 |
-- MPI_LIBS="$MPI_LIBS -lmpi -lmpio -lmpiCC" |
1269 |
-+ MPI_LIBS="$MPI_LIBS -lmpi -lmpi_cxx" |
1270 |
- else |
1271 |
- mpi_ok=no |
1272 |
- fi |
1273 |
---- src5.1.3.orig/KERNEL_SRC_5.1.3/src/Communication/SALOME_Comm_i.hxx 2008-12-10 10:14:33.000000000 +0100 |
1274 |
-+++ src5.1.3/KERNEL_SRC_5.1.3/src/Communication/SALOME_Comm_i.hxx 2009-09-29 11:10:13.227293648 +0200 |
1275 |
-@@ -25,6 +25,7 @@ |
1276 |
- #include <SALOME_Communication.hxx> |
1277 |
- |
1278 |
- #ifdef HAVE_MPI2 |
1279 |
-+#define OMPI_IGNORE_CXX_SEEK 1 |
1280 |
- #include "mpi.h" |
1281 |
- #endif |
1282 |
- #include <string> |
1283 |
|
1284 |
diff --git a/sci-misc/salome-kernel/files/salome-kernel-5.1.3-python-2.6.patch b/sci-misc/salome-kernel/files/salome-kernel-5.1.3-python-2.6.patch |
1285 |
deleted file mode 100644 |
1286 |
index bac07b1..0000000 |
1287 |
--- a/sci-misc/salome-kernel/files/salome-kernel-5.1.3-python-2.6.patch |
1288 |
+++ /dev/null |
1289 |
@@ -1,13 +0,0 @@ |
1290 |
-Only in src5.1.3/KERNEL_SRC_5.1.3/src/KERNEL_PY: .import_hook.py.swp |
1291 |
-diff -ur src5.1.3.orig/KERNEL_SRC_5.1.3/src/KERNEL_PY/import_hook.py src5.1.3/KERNEL_SRC_5.1.3/src/KERNEL_PY/import_hook.py |
1292 |
---- src5.1.3.orig/KERNEL_SRC_5.1.3/src/KERNEL_PY/import_hook.py 2010-03-07 17:35:38.450323100 +0100 |
1293 |
-+++ src5.1.3/KERNEL_SRC_5.1.3/src/KERNEL_PY/import_hook.py 2010-03-07 17:37:18.940255407 +0100 |
1294 |
-@@ -150,7 +150,7 @@ |
1295 |
- l.append((subname,submod)) |
1296 |
- return l |
1297 |
- |
1298 |
--def import_hook(name, globals=None, locals=None, fromlist=None, *args): |
1299 |
-+def import_hook(name, globals=None, locals=None, fromlist=None, level=-1, *args): |
1300 |
- """ Import replacement for sharing modules among multiple interpreters |
1301 |
- Mostly update sys.modules before doing real import |
1302 |
- """ |
1303 |
|
1304 |
diff --git a/sci-misc/salome-kernel/files/salome-kernel-5.1.4-lib_location.patch b/sci-misc/salome-kernel/files/salome-kernel-5.1.4-lib_location.patch |
1305 |
deleted file mode 100644 |
1306 |
index afb5e45..0000000 |
1307 |
--- a/sci-misc/salome-kernel/files/salome-kernel-5.1.4-lib_location.patch |
1308 |
+++ /dev/null |
1309 |
@@ -1,13 +0,0 @@ |
1310 |
---- src5.1.3.old/KERNEL_SRC_5.1.3/salome_adm/unix/config_files/ac_linker_options.m4 2009-07-10 19:08:57.000000000 +0200 |
1311 |
-+++ src5.1.3/KERNEL_SRC_5.1.3/salome_adm/unix/config_files/ac_linker_options.m4 2009-07-26 19:47:05.000000000 +0200 |
1312 |
-@@ -26,6 +26,10 @@ |
1313 |
- |
1314 |
- AC_CHECKING(for LIB_LOCATION_SUFFIX) |
1315 |
- LIB_LOCATION_SUFFIX="" |
1316 |
-+ case "$build_cpu" in |
1317 |
-+ x86_64*) LIB_LOCATION_SUFFIX="64" ;; |
1318 |
-+ *) LIB_LOCATION_SUFFIX="" ;; |
1319 |
-+ esac |
1320 |
- AC_SUBST(LIB_LOCATION_SUFFIX) |
1321 |
- AC_MSG_RESULT(LIB_LOCATION_SUFFIX is $LIB_LOCATION_SUFFIX) |
1322 |
- |
1323 |
|
1324 |
diff --git a/sci-misc/salome-kernel/files/salome-kernel-5.1.4-openmpi.patch b/sci-misc/salome-kernel/files/salome-kernel-5.1.4-openmpi.patch |
1325 |
deleted file mode 100644 |
1326 |
index daa51bb..0000000 |
1327 |
--- a/sci-misc/salome-kernel/files/salome-kernel-5.1.4-openmpi.patch |
1328 |
+++ /dev/null |
1329 |
@@ -1,21 +0,0 @@ |
1330 |
---- src5.1.4.orig/KERNEL_SRC_5.1.4/salome_adm/unix/config_files/check_mpi.m4 2008-12-10 10:14:34.000000000 +0100 |
1331 |
-+++ src5.1.4/KERNEL_SRC_5.1.4/salome_adm/unix/config_files/check_mpi.m4 2009-09-29 10:14:56.821299268 +0200 |
1332 |
-@@ -76,7 +76,7 @@ |
1333 |
- |
1334 |
- if test "$WITHMPI" = "yes";then |
1335 |
- mpi_ok=yes |
1336 |
-- MPI_LIBS="$MPI_LIBS -lmpi -lmpio -lmpiCC" |
1337 |
-+ MPI_LIBS="$MPI_LIBS -lmpi -lmpi_cxx" |
1338 |
- else |
1339 |
- mpi_ok=no |
1340 |
- fi |
1341 |
---- src5.1.4.orig/KERNEL_SRC_5.1.4/src/Communication/SALOME_Comm_i.hxx 2008-12-10 10:14:33.000000000 +0100 |
1342 |
-+++ src5.1.4/KERNEL_SRC_5.1.4/src/Communication/SALOME_Comm_i.hxx 2009-09-29 11:10:13.227293648 +0200 |
1343 |
-@@ -25,6 +25,7 @@ |
1344 |
- #include <SALOME_Communication.hxx> |
1345 |
- |
1346 |
- #ifdef HAVE_MPI2 |
1347 |
-+#define OMPI_IGNORE_CXX_SEEK 1 |
1348 |
- #include "mpi.h" |
1349 |
- #endif |
1350 |
- #include <string> |
1351 |
|
1352 |
diff --git a/sci-misc/salome-kernel/files/salome-kernel-5.1.4-python-2.6.patch b/sci-misc/salome-kernel/files/salome-kernel-5.1.4-python-2.6.patch |
1353 |
deleted file mode 100644 |
1354 |
index 2395d95..0000000 |
1355 |
--- a/sci-misc/salome-kernel/files/salome-kernel-5.1.4-python-2.6.patch |
1356 |
+++ /dev/null |
1357 |
@@ -1,13 +0,0 @@ |
1358 |
-Only in src5.1.4/KERNEL_SRC_5.1.4/src/KERNEL_PY: .import_hook.py.swp |
1359 |
-diff -ur src5.1.4.orig/KERNEL_SRC_5.1.4/src/KERNEL_PY/import_hook.py src5.1.4/KERNEL_SRC_5.1.4/src/KERNEL_PY/import_hook.py |
1360 |
---- src5.1.4.orig/KERNEL_SRC_5.1.4/src/KERNEL_PY/import_hook.py 2010-03-07 17:35:38.450323100 +0100 |
1361 |
-+++ src5.1.4/KERNEL_SRC_5.1.4/src/KERNEL_PY/import_hook.py 2010-03-07 17:37:18.940255407 +0100 |
1362 |
-@@ -150,7 +150,7 @@ |
1363 |
- l.append((subname,submod)) |
1364 |
- return l |
1365 |
- |
1366 |
--def import_hook(name, globals=None, locals=None, fromlist=None, *args): |
1367 |
-+def import_hook(name, globals=None, locals=None, fromlist=None, level=-1, *args): |
1368 |
- """ Import replacement for sharing modules among multiple interpreters |
1369 |
- Mostly update sys.modules before doing real import |
1370 |
- """ |
1371 |
|
1372 |
diff --git a/sci-misc/salome-kernel/files/salome-kernel.png b/sci-misc/salome-kernel/files/salome-kernel.png |
1373 |
deleted file mode 100644 |
1374 |
index 485c127..0000000 |
1375 |
Binary files a/sci-misc/salome-kernel/files/salome-kernel.png and /dev/null differ |
1376 |
|
1377 |
diff --git a/sci-misc/salome-kernel/metadata.xml b/sci-misc/salome-kernel/metadata.xml |
1378 |
deleted file mode 100644 |
1379 |
index 217d71c..0000000 |
1380 |
--- a/sci-misc/salome-kernel/metadata.xml |
1381 |
+++ /dev/null |
1382 |
@@ -1,8 +0,0 @@ |
1383 |
-<?xml version="1.0" encoding="UTF-8"?> |
1384 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
1385 |
-<pkgmetadata> |
1386 |
- <herd>sci</herd> |
1387 |
- <use> |
1388 |
- <flag name='numpy'>Enable support for <pkg>dev-python/numpy</pkg></flag> |
1389 |
- </use> |
1390 |
-</pkgmetadata> |
1391 |
|
1392 |
diff --git a/sci-misc/salome-kernel/salome-kernel-5.1.3.ebuild b/sci-misc/salome-kernel/salome-kernel-5.1.3.ebuild |
1393 |
deleted file mode 100644 |
1394 |
index 337fbd2..0000000 |
1395 |
--- a/sci-misc/salome-kernel/salome-kernel-5.1.3.ebuild |
1396 |
+++ /dev/null |
1397 |
@@ -1,121 +0,0 @@ |
1398 |
-# Copyright 1999-2014 Gentoo Foundation |
1399 |
-# Distributed under the terms of the GNU General Public License v2 |
1400 |
-# $Id$ |
1401 |
- |
1402 |
-EAPI=2 |
1403 |
-PYTHON_DEPEND="2:2.5" |
1404 |
- |
1405 |
-inherit eutils python |
1406 |
- |
1407 |
-DESCRIPTION="The Open Source Integration Platform for Numerical Simulation - KERNEL Component" |
1408 |
-HOMEPAGE="http://www.salome-platform.org" |
1409 |
-SRC_URI="http://files.opencascade.com/Salome/Salome${PV}/src${PV}.tar.gz" |
1410 |
- |
1411 |
-LICENSE="GPL-2" |
1412 |
-KEYWORDS="~amd64 ~x86" |
1413 |
-SLOT="0" |
1414 |
-IUSE="debug doc mpi numpy" |
1415 |
- |
1416 |
-RDEPEND=" |
1417 |
- >=dev-python/omniorbpy-3.4 |
1418 |
- >=net-misc/omniORB-4.1.4 |
1419 |
- >=dev-libs/boost-1.40.0 |
1420 |
- sci-libs/hdf5 |
1421 |
- debug? ( dev-util/cppunit ) |
1422 |
- mpi? |
1423 |
- ( || ( |
1424 |
- sys-cluster/openmpi[cxx] |
1425 |
- sys-cluster/mpich2[cxx] |
1426 |
- ) ) |
1427 |
- numpy? ( dev-python/numpy )" |
1428 |
-DEPEND="${RDEPEND} |
1429 |
- >=app-doc/doxygen-1.5.6 |
1430 |
- media-gfx/graphviz |
1431 |
- dev-python/docutils |
1432 |
- dev-lang/swig |
1433 |
- dev-libs/libxml2:2 |
1434 |
- >=dev-python/docutils-0.4" |
1435 |
- |
1436 |
-MODULE_NAME="KERNEL" |
1437 |
-S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}" |
1438 |
-INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
1439 |
-KERNEL_ROOT_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
1440 |
- |
1441 |
-pkg_setup() { |
1442 |
- [[ $(python_get_version) > 2.4 ]] && \ |
1443 |
- ewarn "Python 2.4 is highly recommended for Salome..." |
1444 |
- |
1445 |
- #Warn about mpi use flag for hdf5 |
1446 |
- has_version "sci-libs/hdf5[mpi]" && |
1447 |
- ewarn "mpi use flag enabled for sci-libs/hdf5, this may cause the build to fail for salome-kernel" |
1448 |
- python_set_active_version 2 |
1449 |
-} |
1450 |
- |
1451 |
-src_prepare() { |
1452 |
- use amd64 && epatch "${FILESDIR}"/${P}-lib_location.patch |
1453 |
- [[ $(python_get_version) == 2.6 ]] && \ |
1454 |
- epatch "${FILESDIR}"/${P}-python-2.6.patch |
1455 |
- |
1456 |
- has_version "sys-cluster/openmpi" && \ |
1457 |
- epatch "${FILESDIR}"/${P}-openmpi.patch |
1458 |
- |
1459 |
- ./clean_configure |
1460 |
- ./build_configure |
1461 |
-} |
1462 |
- |
1463 |
-src_configure() { |
1464 |
- local myconf="" |
1465 |
- |
1466 |
-# --without-mpi does not disable mpi support, just omit it to disable |
1467 |
- if use mpi; then |
1468 |
- if has_version ">=sys-cluster/openmpi-1.2.9"; then |
1469 |
- myconf="${myconf} --with-mpi --with-openmpi" |
1470 |
- elif has_version ">=sys-cluster/mpich2-1.0.8"; then |
1471 |
- myconf="${myconf} --with-mpi --with-mpich" |
1472 |
- fi |
1473 |
- fi |
1474 |
- |
1475 |
- econf --prefix=${INSTALL_DIR} \ |
1476 |
- --docdir=${INSTALL_DIR}/share/doc/salome \ |
1477 |
- --infodir=${INSTALL_DIR}/share/info \ |
1478 |
- --datadir=${INSTALL_DIR}/share/salome \ |
1479 |
- --with-python-site=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ |
1480 |
- --with-python-site-exec=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ |
1481 |
- --enable-corba-gen \ |
1482 |
- ${myconf} \ |
1483 |
- $(use_enable mpi parallel_extension ) \ |
1484 |
- $(use_enable debug ) \ |
1485 |
- $(use_enable !debug production ) \ |
1486 |
- $(use_with debug cppunit /usr ) \ |
1487 |
- || die "econf failed" |
1488 |
-} |
1489 |
- |
1490 |
-src_install() { |
1491 |
- MAKEOPTS="-j1" emake DESTDIR="${D}" install || die "emake install failed" |
1492 |
- |
1493 |
- use amd64 && dosym ${INSTALL_DIR}/lib64 ${INSTALL_DIR}/lib |
1494 |
- |
1495 |
- echo "KERNEL_ROOT_DIR=${INSTALL_DIR}" > ./90${P} |
1496 |
- echo "LDPATH=${INSTALL_DIR}/$(get_libdir)/salome" >> ./90${P} |
1497 |
- echo "PATH=${INSTALL_DIR}/bin/salome" >> ./90${P} |
1498 |
- echo "PYTHONPATH=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome" >> ./90${P} |
1499 |
- doenvd 90${P} |
1500 |
- use doc && dodoc AUTHORS ChangeLog INSTALL NEWS README README.FIRST.txt |
1501 |
- |
1502 |
- # Install icon and .desktop for menu entry |
1503 |
- doicon "${FILESDIR}"/${PN}.png |
1504 |
- make_desktop_entry runSalome Salome ${PN} "Science;Engineering" |
1505 |
-} |
1506 |
- |
1507 |
-pkg_postinst() { |
1508 |
- elog "Run \`env-update && source /etc/profile\`" |
1509 |
- elog "now to set up the correct paths." |
1510 |
- elog "" |
1511 |
- |
1512 |
- ewarn "note a small change to /etc/hosts may be required" |
1513 |
- ewarn "salome doesn't seem to recognise localhost within the hosts file" |
1514 |
- ewarn "a line such as" |
1515 |
- ewarn "127.0.0.1 name.domain name" |
1516 |
- ewarn "may be required within /etc/hosts" |
1517 |
- ewarn "" |
1518 |
-} |
1519 |
|
1520 |
diff --git a/sci-misc/salome-kernel/salome-kernel-5.1.4.ebuild b/sci-misc/salome-kernel/salome-kernel-5.1.4.ebuild |
1521 |
deleted file mode 100644 |
1522 |
index 337fbd2..0000000 |
1523 |
--- a/sci-misc/salome-kernel/salome-kernel-5.1.4.ebuild |
1524 |
+++ /dev/null |
1525 |
@@ -1,121 +0,0 @@ |
1526 |
-# Copyright 1999-2014 Gentoo Foundation |
1527 |
-# Distributed under the terms of the GNU General Public License v2 |
1528 |
-# $Id$ |
1529 |
- |
1530 |
-EAPI=2 |
1531 |
-PYTHON_DEPEND="2:2.5" |
1532 |
- |
1533 |
-inherit eutils python |
1534 |
- |
1535 |
-DESCRIPTION="The Open Source Integration Platform for Numerical Simulation - KERNEL Component" |
1536 |
-HOMEPAGE="http://www.salome-platform.org" |
1537 |
-SRC_URI="http://files.opencascade.com/Salome/Salome${PV}/src${PV}.tar.gz" |
1538 |
- |
1539 |
-LICENSE="GPL-2" |
1540 |
-KEYWORDS="~amd64 ~x86" |
1541 |
-SLOT="0" |
1542 |
-IUSE="debug doc mpi numpy" |
1543 |
- |
1544 |
-RDEPEND=" |
1545 |
- >=dev-python/omniorbpy-3.4 |
1546 |
- >=net-misc/omniORB-4.1.4 |
1547 |
- >=dev-libs/boost-1.40.0 |
1548 |
- sci-libs/hdf5 |
1549 |
- debug? ( dev-util/cppunit ) |
1550 |
- mpi? |
1551 |
- ( || ( |
1552 |
- sys-cluster/openmpi[cxx] |
1553 |
- sys-cluster/mpich2[cxx] |
1554 |
- ) ) |
1555 |
- numpy? ( dev-python/numpy )" |
1556 |
-DEPEND="${RDEPEND} |
1557 |
- >=app-doc/doxygen-1.5.6 |
1558 |
- media-gfx/graphviz |
1559 |
- dev-python/docutils |
1560 |
- dev-lang/swig |
1561 |
- dev-libs/libxml2:2 |
1562 |
- >=dev-python/docutils-0.4" |
1563 |
- |
1564 |
-MODULE_NAME="KERNEL" |
1565 |
-S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}" |
1566 |
-INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
1567 |
-KERNEL_ROOT_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
1568 |
- |
1569 |
-pkg_setup() { |
1570 |
- [[ $(python_get_version) > 2.4 ]] && \ |
1571 |
- ewarn "Python 2.4 is highly recommended for Salome..." |
1572 |
- |
1573 |
- #Warn about mpi use flag for hdf5 |
1574 |
- has_version "sci-libs/hdf5[mpi]" && |
1575 |
- ewarn "mpi use flag enabled for sci-libs/hdf5, this may cause the build to fail for salome-kernel" |
1576 |
- python_set_active_version 2 |
1577 |
-} |
1578 |
- |
1579 |
-src_prepare() { |
1580 |
- use amd64 && epatch "${FILESDIR}"/${P}-lib_location.patch |
1581 |
- [[ $(python_get_version) == 2.6 ]] && \ |
1582 |
- epatch "${FILESDIR}"/${P}-python-2.6.patch |
1583 |
- |
1584 |
- has_version "sys-cluster/openmpi" && \ |
1585 |
- epatch "${FILESDIR}"/${P}-openmpi.patch |
1586 |
- |
1587 |
- ./clean_configure |
1588 |
- ./build_configure |
1589 |
-} |
1590 |
- |
1591 |
-src_configure() { |
1592 |
- local myconf="" |
1593 |
- |
1594 |
-# --without-mpi does not disable mpi support, just omit it to disable |
1595 |
- if use mpi; then |
1596 |
- if has_version ">=sys-cluster/openmpi-1.2.9"; then |
1597 |
- myconf="${myconf} --with-mpi --with-openmpi" |
1598 |
- elif has_version ">=sys-cluster/mpich2-1.0.8"; then |
1599 |
- myconf="${myconf} --with-mpi --with-mpich" |
1600 |
- fi |
1601 |
- fi |
1602 |
- |
1603 |
- econf --prefix=${INSTALL_DIR} \ |
1604 |
- --docdir=${INSTALL_DIR}/share/doc/salome \ |
1605 |
- --infodir=${INSTALL_DIR}/share/info \ |
1606 |
- --datadir=${INSTALL_DIR}/share/salome \ |
1607 |
- --with-python-site=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ |
1608 |
- --with-python-site-exec=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ |
1609 |
- --enable-corba-gen \ |
1610 |
- ${myconf} \ |
1611 |
- $(use_enable mpi parallel_extension ) \ |
1612 |
- $(use_enable debug ) \ |
1613 |
- $(use_enable !debug production ) \ |
1614 |
- $(use_with debug cppunit /usr ) \ |
1615 |
- || die "econf failed" |
1616 |
-} |
1617 |
- |
1618 |
-src_install() { |
1619 |
- MAKEOPTS="-j1" emake DESTDIR="${D}" install || die "emake install failed" |
1620 |
- |
1621 |
- use amd64 && dosym ${INSTALL_DIR}/lib64 ${INSTALL_DIR}/lib |
1622 |
- |
1623 |
- echo "KERNEL_ROOT_DIR=${INSTALL_DIR}" > ./90${P} |
1624 |
- echo "LDPATH=${INSTALL_DIR}/$(get_libdir)/salome" >> ./90${P} |
1625 |
- echo "PATH=${INSTALL_DIR}/bin/salome" >> ./90${P} |
1626 |
- echo "PYTHONPATH=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome" >> ./90${P} |
1627 |
- doenvd 90${P} |
1628 |
- use doc && dodoc AUTHORS ChangeLog INSTALL NEWS README README.FIRST.txt |
1629 |
- |
1630 |
- # Install icon and .desktop for menu entry |
1631 |
- doicon "${FILESDIR}"/${PN}.png |
1632 |
- make_desktop_entry runSalome Salome ${PN} "Science;Engineering" |
1633 |
-} |
1634 |
- |
1635 |
-pkg_postinst() { |
1636 |
- elog "Run \`env-update && source /etc/profile\`" |
1637 |
- elog "now to set up the correct paths." |
1638 |
- elog "" |
1639 |
- |
1640 |
- ewarn "note a small change to /etc/hosts may be required" |
1641 |
- ewarn "salome doesn't seem to recognise localhost within the hosts file" |
1642 |
- ewarn "a line such as" |
1643 |
- ewarn "127.0.0.1 name.domain name" |
1644 |
- ewarn "may be required within /etc/hosts" |
1645 |
- ewarn "" |
1646 |
-} |
1647 |
|
1648 |
diff --git a/sci-misc/salome-med/ChangeLog b/sci-misc/salome-med/ChangeLog |
1649 |
deleted file mode 100644 |
1650 |
index ac7206d..0000000 |
1651 |
--- a/sci-misc/salome-med/ChangeLog |
1652 |
+++ /dev/null |
1653 |
@@ -1,77 +0,0 @@ |
1654 |
-# ChangeLog for sci-misc/salome-med |
1655 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
1656 |
-# $Id$ |
1657 |
- |
1658 |
- 03 Mar 2013; Justin Lecher <jlec@g.o> salome-med-5.1.3.ebuild, |
1659 |
- salome-med-5.1.4.ebuild, metadata.xml: |
1660 |
- Update to new qt deps names |
1661 |
- |
1662 |
- 10 Feb 2012; Alexey Shvetsov <alexxy@g.o> salome-med-5.1.3.ebuild, |
1663 |
- salome-med-5.1.4.ebuild: |
1664 |
- [sci-misc/salome*] Fix python depend |
1665 |
- |
1666 |
- 07 Mar 2011; Justin Lecher <jlec@g.o> salome-med-5.1.3.ebuild, |
1667 |
- salome-med-5.1.4.ebuild: |
1668 |
- Correct Slots for gtk 3 introduction to tree |
1669 |
- |
1670 |
-*salome-med-5.1.4 (27 Oct 2010) |
1671 |
- |
1672 |
- 27 Oct 2010; Thomas Kahle <tomka@g.o> +salome-med-5.1.4.ebuild, |
1673 |
- +files/salome-med-5.1.4-check_metis.patch, |
1674 |
- +files/salome-med-5.1.4-check_scotch.patch, |
1675 |
- +files/salome-med-5.1.4-gcc.patch, +files/salome-med-5.1.4-scotch.patch: |
1676 |
- Bump to 5.1.4, ebuild by Michael Riss in bug 330303 |
1677 |
- |
1678 |
- 29 Jun 2010; Justin Lecher <jlec@g.o> salome-med-5.1.3.ebuild: |
1679 |
- Python ABI fixes |
1680 |
- |
1681 |
- 04 Apr 2010; Etienne Lorriaux <etienne.lorriaux@×××××.com> |
1682 |
- salome-med-5.1.3.ebuild, +files/salome-med-5.1.3-med_int.patch: |
1683 |
- changed fetch URL + cleaning |
1684 |
- new patch to (partially) solve typedef long med_int issues on amd64: |
1685 |
- http://bugs.gentoo.org/show_bug.cgi?id=155974#c525 |
1686 |
- |
1687 |
-*salome-med-5.1.3 (14 Mar 2010) |
1688 |
- |
1689 |
- 14 Mar 2010; Etienne Lorriaux <etienne.lorriaux@×××××.com> |
1690 |
- -salome-med-3.2.6.ebuild, -files/salome-med-3.2.6-gcc-4.3.patch, |
1691 |
- -files/salome-med-3.2.6-hdf5-1.6.7.patch, |
1692 |
- -files/salome-med-3.2.6_boost-1.35.patch, |
1693 |
- -files/salome-med-3.2.6_environ.patch, -files/salome-med-3.2.6_gcc4.patch, |
1694 |
- -files/salome-med-3.2.6.patch, +salome-med-5.1.3.ebuild, |
1695 |
- +files/salome-med-5.1.3-check_metis.patch, |
1696 |
- +files/salome-med-5.1.3-check_scotch.patch, |
1697 |
- +files/salome-med-5.1.3-gcc.patch, +files/salome-med-5.1.3-mpi.patch, |
1698 |
- +files/salome-med-5.1.3-qt4-path.patch, |
1699 |
- +files/salome-med-5.1.3-scotch.patch, metadata.xml: |
1700 |
- Version bump 5.1.3 + removed broken 3.2.6 |
1701 |
- |
1702 |
- 03 Nov 2008; Oliver Borm (boroli) <oli.borm@×××.de> |
1703 |
- salome-med-3.2.6.ebuild, metadata.xml: |
1704 |
- Reordered dependencies |
1705 |
- |
1706 |
- 25 October 2008; Daniel Tourde <daniel.tourde@××××××.se> |
1707 |
- +salome-med-3.2.6-hdf5-1.6.7.patch |
1708 |
- Patch provided by Bert Karwatzki <spasswolf@×××.de> |
1709 |
- |
1710 |
- 05 Sep 2008; Oliver Borm (boroli) <oli.borm@×××.de> |
1711 |
- salome-med-3.2.6.ebuild, +files/salome-med-3.2.6_boost-1.35.patch: |
1712 |
- Added patch for >=dev-libs/boost-1.35.0 |
1713 |
- |
1714 |
- 04 Sep 2008; Oliver Borm (boroli) <oli.borm@×××.de> |
1715 |
- salome-med-3.2.6.ebuild: |
1716 |
- removed omniorb* dependencies, as they are already in salome-kernel |
1717 |
- |
1718 |
- 27 Aug 2008; Oliver Borm (boroli) <oli.borm@×××.de> |
1719 |
- salome-med-3.2.6.ebuild, -Changelog, +metadata.xml: |
1720 |
- Removed fetch restriction, removed hardcode |
1721 |
- |
1722 |
- 29 May 2008; Daniel Tourde <daniel.tourde@××××××.se> |
1723 |
- +salome-med-3.2.6-gcc-4.3.patch |
1724 |
- Added support to gcc-4.3. Patch provided by Bert Karwatzki <spasswolf@×××.de> |
1725 |
- |
1726 |
- 20 May 2008; Daniel Tourde <daniel.tourde@××××××.se> |
1727 |
- Initial import. |
1728 |
- +salome-med-3.2.6.ebuild, +salome-med-3.2.6_environ.patch, +salome-med-3.2.6_gcc4.patch, +salome-med-3.2.6.patch |
1729 |
- A major thank to Francois Dorin <f.dorin@××××.fr>, Jon Hood <squinky86@×××××.com>, Dewald Pietersen <dewald.pieterse@×××××.com>, <etienne.lorriaux@×××××.com> and Richard Westwell <garlicbread@××××××××.com> for their respective contributions and feedback. Without you guys, the Salome ebuilds would not exist today. Thanks! |
1730 |
- See bug #155974 for more info |
1731 |
|
1732 |
diff --git a/sci-misc/salome-med/files/salome-med-5.1.3-check_metis.patch b/sci-misc/salome-med/files/salome-med-5.1.3-check_metis.patch |
1733 |
deleted file mode 100644 |
1734 |
index c133b7f..0000000 |
1735 |
--- a/sci-misc/salome-med/files/salome-med-5.1.3-check_metis.patch |
1736 |
+++ /dev/null |
1737 |
@@ -1,48 +0,0 @@ |
1738 |
---- src5.1.3/MED_SRC_5.1.3/adm_local/unix/config_files/check_metis.m4.orig 2009-09-27 22:35:51.014701709 +0200 |
1739 |
-+++ src5.1.3/MED_SRC_5.1.3/adm_local/unix/config_files/check_metis.m4 2009-09-27 22:41:46.471297649 +0200 |
1740 |
-@@ -28,6 +28,10 @@ |
1741 |
- |
1742 |
- METIS_CPPFLAGS="" |
1743 |
- METIS_LIBSUFFIX="" |
1744 |
-+case "$build_cpu" in |
1745 |
-+x86_64*) METIS_LIBSUFFIX="64" ;; |
1746 |
-+*) METIS_LIBSUFFIX="" ;; |
1747 |
-+esac |
1748 |
- METIS_LIBS="" |
1749 |
- ENABLE_METIS="no" |
1750 |
- |
1751 |
-@@ -43,8 +47,8 @@ |
1752 |
- LIBS_old=$LIBS |
1753 |
- |
1754 |
- if test "x${METISDIR}" != "x" ; then |
1755 |
-- METIS_CPPFLAGS="-DENABLE_METIS -I${METISDIR}/Lib" |
1756 |
-- METIS_LIBS="-L${METISDIR} -lmetis" |
1757 |
-+ METIS_CPPFLAGS="-DENABLE_METIS -I${METISDIR}/include/metis" |
1758 |
-+ METIS_LIBS="-L${METISDIR}/lib${METIS_LIBSUFFIX} -lmetis" |
1759 |
- fi |
1760 |
- |
1761 |
- metis_ok=no |
1762 |
-@@ -57,7 +61,7 @@ |
1763 |
- |
1764 |
- metis_include_dir_ok=yes |
1765 |
- if test "x${METISDIR}" != "x" ; then |
1766 |
-- AC_CHECK_FILE(${METISDIR}/Lib/metis.h, |
1767 |
-+ AC_CHECK_FILE(${METISDIR}/include/metis/metis.h, |
1768 |
- metis_include_dir_ok=yes, |
1769 |
- metis_include_dir_ok=no) |
1770 |
- fi |
1771 |
-@@ -81,12 +85,12 @@ |
1772 |
- AC_CHECKING(for METIS binaries) |
1773 |
- metis_lib_dir_ok=yes |
1774 |
- if test "x${METISDIR}" != "x" ; then |
1775 |
-- AC_CHECK_FILE(${METISDIR}/libmetis.a, |
1776 |
-+ AC_CHECK_FILE(${METISDIR}/lib${METIS_LIBSUFFIX}/libmetis.a, |
1777 |
- metis_lib_dir_ok=yes, |
1778 |
- metis_lib_dir_ok=no) |
1779 |
- if test "x${metis_lib_dir_ok}" = "xno" ; then |
1780 |
- METIS_LIBSUFFIX="" |
1781 |
-- AC_CHECK_FILE(${METISDIR}/libmetis.a, |
1782 |
-+ AC_CHECK_FILE(${METISDIR}/lib${METIS_LIBSUFFIX}/libmetis.a, |
1783 |
- metis_lib_dir_ok=yes, |
1784 |
- metis_lib_dir_ok=no) |
1785 |
- fi |
1786 |
|
1787 |
diff --git a/sci-misc/salome-med/files/salome-med-5.1.3-check_scotch.patch b/sci-misc/salome-med/files/salome-med-5.1.3-check_scotch.patch |
1788 |
deleted file mode 100644 |
1789 |
index 64c8bb2..0000000 |
1790 |
--- a/sci-misc/salome-med/files/salome-med-5.1.3-check_scotch.patch |
1791 |
+++ /dev/null |
1792 |
@@ -1,74 +0,0 @@ |
1793 |
---- src5.1.3/MED_SRC_5.1.3/adm_local/unix/config_files/check_scotch.m4.orig 2009-09-27 23:07:31.245061430 +0200 |
1794 |
-+++ src5.1.3/MED_SRC_5.1.3/adm_local/unix/config_files/check_scotch.m4 2009-09-27 23:11:02.080868671 +0200 |
1795 |
-@@ -28,6 +28,10 @@ |
1796 |
- |
1797 |
- SCOTCH_CPPFLAGS="" |
1798 |
- SCOTCH_LIBSUFFIX="" |
1799 |
-+case "$build_cpu" in |
1800 |
-+x86_64*) SCOTCH_LIBSUFFIX="64" ;; |
1801 |
-+*) SCOTCH_LIBSUFFIX="" ;; |
1802 |
-+esac |
1803 |
- SCOTCH_LIBS="" |
1804 |
- ENABLE_SCOTCH="no" |
1805 |
- |
1806 |
-@@ -43,8 +47,8 @@ |
1807 |
- LIBS_old=$LIBS |
1808 |
- |
1809 |
- if test "x${SCOTCHDIR}" != "x" ; then |
1810 |
-- SCOTCH_CPPFLAGS="-DENABLE_SCOTCH -I${SCOTCHDIR}" |
1811 |
-- SCOTCH_LIBS="-L${SCOTCHDIR}/bin -lscotch -lscotcherr" |
1812 |
-+ SCOTCH_CPPFLAGS="-DENABLE_SCOTCH -I${SCOTCHDIR}/include/scotch" |
1813 |
-+ SCOTCH_LIBS="-L${SCOTCHDIR}/lib${SCOTCH_LIBSUFFIX} -lscotch -lscotcherr" |
1814 |
- fi |
1815 |
- |
1816 |
- scotch_ok=no |
1817 |
-@@ -57,14 +61,14 @@ |
1818 |
- |
1819 |
- scotch_include_dir_ok=yes |
1820 |
- if test "x${SCOTCHDIR}" != "x" ; then |
1821 |
-- AC_CHECK_FILE(${SCOTCHDIR}/bin/scotch.h, |
1822 |
-+ AC_CHECK_FILE(${SCOTCHDIR}/include/scotch/scotch.h, |
1823 |
- scotch_include_dir_ok=yes, |
1824 |
- scotch_include_dir_ok=no) |
1825 |
- fi |
1826 |
- |
1827 |
- if test "x${scotch_include_dir_ok}" = "xyes" ; then |
1828 |
- AC_TRY_COMPILE([#include <stdio.h> |
1829 |
-- #include <bin/scotch.h>], |
1830 |
-+ #include <scotch.h>], |
1831 |
- [SCOTCH_Graph* graph; |
1832 |
- SCOTCH_graphInit(graph)], |
1833 |
- scotch_headers_ok=yes, |
1834 |
-@@ -83,12 +87,12 @@ |
1835 |
- AC_CHECKING(for SCOTCH binaries) |
1836 |
- scotch_lib_dir_ok=yes |
1837 |
- if test "x${SCOTCHDIR}" != "x" ; then |
1838 |
-- AC_CHECK_FILE(${SCOTCHDIR}/bin/libscotch.a, |
1839 |
-+ AC_CHECK_FILE(${SCOTCHDIR}/lib${SCOTCH_LIBSUFFIX}/libscotch.a, |
1840 |
- scotch_lib_dir_ok=yes, |
1841 |
- scotch_lib_dir_ok=no) |
1842 |
- if test "x${scotch_lib_dir_ok}" = "xno" ; then |
1843 |
- SCOTCH_LIBSUFFIX="" |
1844 |
-- AC_CHECK_FILE(${SCOTCHDIR}/bin/libscotch.a, |
1845 |
-+ AC_CHECK_FILE(${SCOTCHDIR}/lib${SCOTCH_LIBSUFFIX}/libscotch.a, |
1846 |
- scotch_lib_dir_ok=yes, |
1847 |
- scotch_lib_dir_ok=no) |
1848 |
- fi |
1849 |
-@@ -96,7 +100,7 @@ |
1850 |
- if test "x${scotch_lib_dir_ok}" = "xyes" ; then |
1851 |
- LIBS="${LIBS_old} ${SCOTCH_LIBS}" |
1852 |
- AC_TRY_LINK([#include <stdio.h> |
1853 |
-- #include <bin/scotch.h>], |
1854 |
-+ #include <scotch.h>], |
1855 |
- [SCOTCH_Graph* graph; |
1856 |
- SCOTCH_graphInit(graph)], |
1857 |
- scotch_binaries_ok=yes, |
1858 |
-@@ -105,7 +109,7 @@ |
1859 |
- SCOTCH_LIBSUFFIX="" |
1860 |
- LIBS="${LIBS_old} ${SCOTCH_LIBS} " |
1861 |
- AC_TRY_LINK([#include <stdio.h> |
1862 |
-- #include <bin/scotch.h>], |
1863 |
-+ #include <scotch.h>], |
1864 |
- [SCOTCH_Graph* graph; |
1865 |
- SCOTCH_graphInit(graph)], |
1866 |
- scotch_binaries_ok=yes, |
1867 |
|
1868 |
diff --git a/sci-misc/salome-med/files/salome-med-5.1.3-gcc.patch b/sci-misc/salome-med/files/salome-med-5.1.3-gcc.patch |
1869 |
deleted file mode 100644 |
1870 |
index 15e3492..0000000 |
1871 |
--- a/sci-misc/salome-med/files/salome-med-5.1.3-gcc.patch |
1872 |
+++ /dev/null |
1873 |
@@ -1,43 +0,0 @@ |
1874 |
---- ./src5.1.3.orig/MED_SRC_5.1.3/src/ParaMEDMEM/Test/ParaMEDMEMTest.cxx 2010-03-07 23:18:07.064072621 +0100 |
1875 |
-+++ ./src5.1.3/MED_SRC_5.1.3/src/ParaMEDMEM/Test/ParaMEDMEMTest.cxx 2010-03-07 23:19:44.920271906 +0100 |
1876 |
-@@ -23,6 +23,7 @@ |
1877 |
- #include <cmath> |
1878 |
- #include <list> |
1879 |
- #include <stdexcept> |
1880 |
-+#include <cstdlib> |
1881 |
- |
1882 |
- //================================================================================ |
1883 |
- /*! |
1884 |
---- ./src5.1.3.orig/MED_SRC_5.1.3/src/ParaMEDMEM/Test/test_AllToAllvTimeDEC.cxx 2010-03-07 23:18:07.102331566 +0100 |
1885 |
-+++ ./src5.1.3/MED_SRC_5.1.3/src/ParaMEDMEM/Test/test_AllToAllvTimeDEC.cxx 2010-03-07 23:24:44.300321009 +0100 |
1886 |
-@@ -21,7 +21,7 @@ |
1887 |
- #include <map> |
1888 |
- #include <iostream> |
1889 |
- #include <mpi.h> |
1890 |
--#include <time.h> |
1891 |
-+#include <ctime> |
1892 |
- |
1893 |
- #include "MPIAccessDECTest.hxx" |
1894 |
- #include <cppunit/TestAssert.h> |
1895 |
---- ./src5.1.3.orig/MED_SRC_5.1.3/src/ParaMEDMEM/Test/test_AllToAllvTimeDoubleDEC.cxx 2010-03-07 23:18:07.084009650 +0100 |
1896 |
-+++ ./src5.1.3/MED_SRC_5.1.3/src/ParaMEDMEM/Test/test_AllToAllvTimeDoubleDEC.cxx 2010-03-07 23:25:22.930322599 +0100 |
1897 |
-@@ -22,7 +22,7 @@ |
1898 |
- #include <map> |
1899 |
- #include <iostream> |
1900 |
- #include <mpi.h> |
1901 |
--#include <time.h> |
1902 |
-+#include <ctime> |
1903 |
- |
1904 |
- #include "MPIAccessDECTest.hxx" |
1905 |
- #include <cppunit/TestAssert.h> |
1906 |
---- ./src5.1.3.orig/MED_SRC_5.1.3/src/INTERPOLATION/create_mesh_interpolation.c 2010-03-13 13:14:50.721209673 +0100 |
1907 |
-+++ ./src5.1.3/MED_SRC_5.1.3/src/INTERPOLATION/create_mesh_interpolation.c 2010-03-13 13:15:35.420479255 +0100 |
1908 |
-@@ -21,7 +21,7 @@ |
1909 |
- // |
1910 |
- #include <med.h> |
1911 |
- #include <string.h> |
1912 |
-- |
1913 |
-+#include <stdlib.h> |
1914 |
- |
1915 |
- /*****************************************************************************************************/ |
1916 |
- |
1917 |
|
1918 |
diff --git a/sci-misc/salome-med/files/salome-med-5.1.3-med_int.patch b/sci-misc/salome-med/files/salome-med-5.1.3-med_int.patch |
1919 |
deleted file mode 100644 |
1920 |
index 6db1510..0000000 |
1921 |
--- a/sci-misc/salome-med/files/salome-med-5.1.3-med_int.patch |
1922 |
+++ /dev/null |
1923 |
@@ -1,297 +0,0 @@ |
1924 |
-diff -ur src5.1.3.orig/MED_SRC_5.1.3/src/MEDSPLITTER/MEDSPLITTER_MESHCollectionDriver.cxx src5.1.3/MED_SRC_5.1.3/src/MEDSPLITTER/MEDSPLITTER_MESHCollectionDriver.cxx |
1925 |
---- src5.1.3.orig/MED_SRC_5.1.3/src/MEDSPLITTER/MEDSPLITTER_MESHCollectionDriver.cxx 2010-03-15 17:07:56.860301255 +0100 |
1926 |
-+++ src5.1.3/MED_SRC_5.1.3/src/MEDSPLITTER/MEDSPLITTER_MESHCollectionDriver.cxx 2010-03-15 17:33:59.740251721 +0100 |
1927 |
-@@ -189,7 +189,7 @@ |
1928 |
- |
1929 |
- int ncorr = med_2_3::MEDjointInfo(fid,meshname, ijoint+1, name, |
1930 |
- joint_description, |
1931 |
-- &distant, name_distant); |
1932 |
-+ (med_int*)&distant, name_distant); |
1933 |
- |
1934 |
- for (int ic=0; ic<ncorr; ic++) |
1935 |
- { |
1936 |
-@@ -209,7 +209,7 @@ |
1937 |
- { |
1938 |
- |
1939 |
- med_2_3::MEDjointLire(fid, meshname, name, |
1940 |
-- node_corresp,ncouples, |
1941 |
-+ (med_int*)node_corresp,ncouples, |
1942 |
- cor_typent_local, cor_typgeo_local, |
1943 |
- cor_typent_dist, cor_typgeo_dist |
1944 |
- ); |
1945 |
-@@ -247,7 +247,7 @@ |
1946 |
- if (!m_collection->isDimensionOK(type,m_collection->getMeshDimension())) continue; |
1947 |
- int ntype = (m_collection->getMesh())[idomain]->getNumberOfElementsWithPoly(MED_EN::MED_CELL,type); |
1948 |
- if (ntype==0) continue; |
1949 |
-- med_2_3::MEDglobalNumLire(fid,meshname, array+offset, ntype, |
1950 |
-+ med_2_3::MEDglobalNumLire(fid,meshname, (med_int*)array+offset, ntype, |
1951 |
- med_2_3::MED_MAILLE, (med_2_3::med_geometrie_element)type); |
1952 |
- offset+=ntype; |
1953 |
- } |
1954 |
-@@ -259,7 +259,7 @@ |
1955 |
- int nnode= (m_collection->getMesh())[idomain]->getNumberOfNodes(); |
1956 |
- { |
1957 |
- int* array=new int[nnode]; |
1958 |
-- med_2_3::MEDglobalNumLire(fid,meshname, array, nnode, |
1959 |
-+ med_2_3::MEDglobalNumLire(fid,meshname, (med_int*)array, nnode, |
1960 |
- med_2_3::MED_NOEUD, med_2_3::MED_POINT1); |
1961 |
- nodeglobal[idomain]=array; |
1962 |
- } |
1963 |
-@@ -280,7 +280,7 @@ |
1964 |
- |
1965 |
- int ntype = (m_collection->getMesh())[idomain]->getNumberOfElementsWithPoly(MED_EN::MED_FACE,type); |
1966 |
- if (ntype==0) continue; |
1967 |
-- med_2_3::MEDglobalNumLire(fid,meshname, array+offset, ntype, |
1968 |
-+ med_2_3::MEDglobalNumLire(fid,meshname, (med_int*)array+offset, ntype, |
1969 |
- med_2_3::MED_MAILLE, (med_2_3::med_geometrie_element)type); |
1970 |
- offset+=ntype; |
1971 |
- } |
1972 |
-@@ -348,7 +348,7 @@ |
1973 |
- jointSort(node_corresp, nbnodes, false); |
1974 |
- |
1975 |
- error= |
1976 |
-- med_2_3::MEDjointEcr(fid, mesh_name, joint_name, node_corresp, nbnodes, |
1977 |
-+ med_2_3::MEDjointEcr(fid, mesh_name, joint_name, (med_int*)node_corresp, nbnodes, |
1978 |
- med_2_3::MED_NOEUD, med_2_3::MED_POINT1,med_2_3::MED_NOEUD, med_2_3::MED_POINT1); |
1979 |
- if (error==-1) cout << "erreur creation de joint "<<endl; |
1980 |
- |
1981 |
-@@ -388,7 +388,7 @@ |
1982 |
- if (!m_collection->isDimensionOK(type,m_collection->getMeshDimension())) continue; |
1983 |
- int ntype = (m_collection->getMesh())[idomain]->getNumberOfElementsWithPoly(MED_EN::MED_CELL,type); |
1984 |
- if (ntype==0) continue; |
1985 |
-- med_2_3::MEDglobalNumEcr(fid,meshchar, array+offset, ntype, |
1986 |
-+ med_2_3::MEDglobalNumEcr(fid,meshchar, (med_int*)array+offset, ntype, |
1987 |
- med_2_3::MED_MAILLE, (med_2_3::med_geometrie_element)type); |
1988 |
- offset+=ntype; |
1989 |
- |
1990 |
-@@ -426,7 +426,7 @@ |
1991 |
- |
1992 |
- int ntype = (m_collection->getMesh())[idomain]->getNumberOfElementsWithPoly(constituent_entity,type); |
1993 |
- if (ntype==0) continue; |
1994 |
-- med_2_3::MEDglobalNumEcr(fid,meshchar, array+offset, ntype, |
1995 |
-+ med_2_3::MEDglobalNumEcr(fid,meshchar, (med_int*)array+offset, ntype, |
1996 |
- med_2_3::MED_MAILLE, (med_2_3::med_geometrie_element)type); |
1997 |
- |
1998 |
- offset+=ntype; |
1999 |
-@@ -443,7 +443,7 @@ |
2000 |
- |
2001 |
- m_collection->getTopology()->getNodeList(idomain,array); |
2002 |
- |
2003 |
-- med_2_3::MEDglobalNumEcr(fid,meshchar, array, nnode, |
2004 |
-+ med_2_3::MEDglobalNumEcr(fid,meshchar, (med_int*)array, nnode, |
2005 |
- med_2_3::MED_NOEUD, med_2_3::MED_POINT1); |
2006 |
- |
2007 |
- delete[] array; |
2008 |
-@@ -507,7 +507,7 @@ |
2009 |
- corresp.push_back(value[icol]); |
2010 |
- } |
2011 |
- int size_joint = corresp.size()/2; |
2012 |
-- med_2_3::MEDjointEcr(fid, mesh_name, joint_name, &corresp[0], |
2013 |
-+ med_2_3::MEDjointEcr(fid, mesh_name, joint_name, (med_int*)&corresp[0], |
2014 |
- size_joint, med_2_3::MED_MAILLE, |
2015 |
- (med_2_3::med_geometrie_element)local_type ,med_2_3::MED_MAILLE, |
2016 |
- (med_2_3::med_geometrie_element)distant_type ); |
2017 |
-@@ -541,7 +541,7 @@ |
2018 |
- med_2_3::med_geometrie_element distant_geo_elem=(med_2_3::med_geometrie_element)iter->first.second; |
2019 |
- int size_joint=size/2; |
2020 |
- //med_2_3::med_err error = |
2021 |
-- med_2_3::MEDjointEcr(fid, mesh_name, joint_name, corresp, size_joint, med_2_3::MED_MAILLE, |
2022 |
-+ med_2_3::MEDjointEcr(fid, mesh_name, joint_name, (med_int*)corresp, size_joint, med_2_3::MED_MAILLE, |
2023 |
- local_geo_elem,med_2_3::MED_MAILLE, distant_geo_elem); |
2024 |
- delete[] corresp; |
2025 |
- } |
2026 |
-diff -ur src5.1.3.orig/MED_SRC_5.1.3/src/MULTIPR/MULTIPR_Globals.hxx src5.1.3/MED_SRC_5.1.3/src/MULTIPR/MULTIPR_Globals.hxx |
2027 |
---- src5.1.3.orig/MED_SRC_5.1.3/src/MULTIPR/MULTIPR_Globals.hxx 2010-03-15 17:07:56.624073897 +0100 |
2028 |
-+++ src5.1.3/MED_SRC_5.1.3/src/MULTIPR/MULTIPR_Globals.hxx 2010-03-15 17:42:31.140322486 +0100 |
2029 |
-@@ -34,6 +34,7 @@ |
2030 |
- |
2031 |
- #include <vector> |
2032 |
- #include <set> |
2033 |
-+#include <med.h> |
2034 |
- |
2035 |
- //***************************************************************************** |
2036 |
- // Some useful macros |
2037 |
-@@ -46,7 +47,7 @@ |
2038 |
- * Pair of index. |
2039 |
- * See definition of GaussIndexList. |
2040 |
- */ |
2041 |
--typedef std::pair < std::set<int>*, std::set<int> > IndexPair; |
2042 |
-+typedef std::pair < std::set<med_int>*, std::set<med_int> > IndexPair; |
2043 |
- |
2044 |
- /** |
2045 |
- * List of gauss index for optimized domain split. |
2046 |
-diff -ur src5.1.3.orig/MED_SRC_5.1.3/src/ParaMEDMEM/MEDLoader/MEDLoader.cxx src5.1.3/MED_SRC_5.1.3/src/ParaMEDMEM/MEDLoader/MEDLoader.cxx |
2047 |
---- src5.1.3.orig/MED_SRC_5.1.3/src/ParaMEDMEM/MEDLoader/MEDLoader.cxx 2010-03-15 17:07:55.512824126 +0100 |
2048 |
-+++ src5.1.3/MED_SRC_5.1.3/src/ParaMEDMEM/MEDLoader/MEDLoader.cxx 2010-03-15 17:23:57.950316309 +0100 |
2049 |
-@@ -169,11 +169,11 @@ |
2050 |
- { |
2051 |
- int ngro=MEDnGroupe(fid,(char *)meshName,i+1); |
2052 |
- med_int natt=MEDnAttribut(fid,(char *)meshName,i+1); |
2053 |
-- med_int *attide=new int[natt]; |
2054 |
-- med_int *attval=new int[natt]; |
2055 |
-+ med_int *attide=new med_int[natt]; |
2056 |
-+ med_int *attval=new med_int[natt]; |
2057 |
- char *attdes=new char[MED_TAILLE_DESC*natt+1]; |
2058 |
- char *gro=new char[MED_TAILLE_LNOM*ngro+1]; |
2059 |
-- MEDfamInfo(fid,(char *)meshName,i+1,nomfam,&numfam,attide,attval,attdes,&natt,gro,&ngro); |
2060 |
-+ MEDfamInfo(fid,(char *)meshName,i+1,nomfam,&numfam,attide,attval,attdes,&natt,gro,(med_int*)&ngro); |
2061 |
- std::string cur=buildStringFromFortran(nomfam,sizeof(nomfam)); |
2062 |
- ret[i]=cur; |
2063 |
- delete [] attdes; |
2064 |
-@@ -196,11 +196,11 @@ |
2065 |
- { |
2066 |
- int ngro=MEDnGroupe(fid,(char *)meshName,i+1); |
2067 |
- med_int natt=MEDnAttribut(fid,(char *)meshName,i+1); |
2068 |
-- med_int *attide=new int[natt]; |
2069 |
-- med_int *attval=new int[natt]; |
2070 |
-+ med_int *attide=new med_int[natt]; |
2071 |
-+ med_int *attval=new med_int[natt]; |
2072 |
- char *attdes=new char[MED_TAILLE_DESC*natt+1]; |
2073 |
- char *gro=new char[MED_TAILLE_LNOM*ngro+1]; |
2074 |
-- MEDfamInfo(fid,(char *)meshName,i+1,nomfam,&numfam,attide,attval,attdes,&natt,gro,&ngro); |
2075 |
-+ MEDfamInfo(fid,(char *)meshName,i+1,nomfam,&numfam,attide,attval,attdes,&natt,gro,(med_int*)&ngro); |
2076 |
- for(int j=0;j<ngro;j++) |
2077 |
- { |
2078 |
- std::string cur=buildStringFromFortran(gro+j*MED_TAILLE_LNOM,MED_TAILLE_LNOM); |
2079 |
-@@ -446,11 +446,11 @@ |
2080 |
- { |
2081 |
- int ngro=MEDnGroupe(fid,(char *)meshName,i+1); |
2082 |
- med_int natt=MEDnAttribut(fid,(char *)meshName,i+1); |
2083 |
-- med_int *attide=new int[natt]; |
2084 |
-- med_int *attval=new int[natt]; |
2085 |
-+ med_int *attide=new med_int[natt]; |
2086 |
-+ med_int *attval=new med_int[natt]; |
2087 |
- char *attdes=new char[MED_TAILLE_DESC*natt+1]; |
2088 |
- char *gro=new char[MED_TAILLE_LNOM*ngro+1]; |
2089 |
-- MEDfamInfo(fid,(char *)meshName,i+1,nomfam,&numfam,attide,attval,attdes,&natt,gro,&ngro); |
2090 |
-+ MEDfamInfo(fid,(char *)meshName,i+1,nomfam,&numfam,attide,attval,attdes,&natt,gro,(med_int*)&ngro); |
2091 |
- std::string cur=buildStringFromFortran(nomfam,sizeof(nomfam)); |
2092 |
- if(std::find(fams.begin(),fams.end(),cur)!=fams.end()) |
2093 |
- ret.push_back(numfam); |
2094 |
-@@ -474,11 +474,11 @@ |
2095 |
- { |
2096 |
- int ngro=MEDnGroupe(fid,(char *)meshName,i+1); |
2097 |
- med_int natt=MEDnAttribut(fid,(char *)meshName,i+1); |
2098 |
-- med_int *attide=new int[natt]; |
2099 |
-- med_int *attval=new int[natt]; |
2100 |
-+ med_int *attide=new med_int[natt]; |
2101 |
-+ med_int *attval=new med_int[natt]; |
2102 |
- char *attdes=new char[MED_TAILLE_DESC*natt+1]; |
2103 |
- char *gro=new char[MED_TAILLE_LNOM*ngro+1]; |
2104 |
-- MEDfamInfo(fid,(char *)meshName,i+1,nomfam,&numfam,attide,attval,attdes,&natt,gro,&ngro); |
2105 |
-+ MEDfamInfo(fid,(char *)meshName,i+1,nomfam,&numfam,attide,attval,attdes,&natt,gro,(med_int*)&ngro); |
2106 |
- std::string cur=buildStringFromFortran(nomfam,sizeof(nomfam)); |
2107 |
- for(int j=0;j<ngro;j++) |
2108 |
- { |
2109 |
-@@ -566,12 +566,12 @@ |
2110 |
- MEDLoader::MEDConnOfOneElemType elem(typmai2[i],connTab,0,fam,curNbOfElem,-1); |
2111 |
- int *tmp=new int[curNbOfElem]; |
2112 |
- char *noms=new char[MED_TAILLE_PNOM*curNbOfElem+1]; |
2113 |
-- MEDelementsLire(fid,nommaa,Mdim,connTab,MED_FULL_INTERLACE,noms,&inoele,tmp,&inuele,fam,curNbOfElem,whichEntity,curMedType,MED_NOD); |
2114 |
-+ MEDelementsLire(fid,nommaa,Mdim,(med_int*)connTab,MED_FULL_INTERLACE,noms,&inoele,(med_int*)tmp,&inuele,(med_int*)fam,curNbOfElem,whichEntity,curMedType,MED_NOD); |
2115 |
- delete [] tmp; |
2116 |
- delete [] noms; |
2117 |
- //trying to read global numbering |
2118 |
- int *globArr=new int[curNbOfElem]; |
2119 |
-- if(MEDglobalNumLire(fid,nommaa,globArr,curNbOfElem,whichEntity,curMedType)==0) |
2120 |
-+ if(MEDglobalNumLire(fid,nommaa,(med_int*)globArr,curNbOfElem,whichEntity,curMedType)==0) |
2121 |
- elem.setGlobal(globArr); |
2122 |
- else |
2123 |
- delete [] globArr; |
2124 |
-@@ -590,9 +590,9 @@ |
2125 |
- int *index=new int[curNbOfPolyElem+1]; |
2126 |
- int *locConn=new int[arraySize]; |
2127 |
- int *fam=new int[curNbOfPolyElem]; |
2128 |
-- MEDLoader::MEDConnOfOneElemType elem(INTERP_KERNEL::NORM_POLYGON,locConn,index,fam,curNbOfPolyElem,arraySize); |
2129 |
-- MEDpolygoneConnLire(fid,nommaa,index,curNbOfPolyElem+1,locConn,whichPolyEntity,MED_NOD); |
2130 |
-- MEDfamLire(fid,nommaa,fam,curNbOfPolyElem,MED_MAILLE,MED_POLYGONE); |
2131 |
-+ MEDLoader::MEDConnOfOneElemType elem(INTERP_KERNEL::NORM_POLYGON,locConn,index,fam,curNbOfPolyElem,(int)arraySize); |
2132 |
-+ MEDpolygoneConnLire(fid,nommaa,(med_int*)index,curNbOfPolyElem+1,(med_int*)locConn,whichPolyEntity,MED_NOD); |
2133 |
-+ MEDfamLire(fid,nommaa,(med_int*)fam,curNbOfPolyElem,MED_MAILLE,MED_POLYGONE); |
2134 |
- conn.push_back(elem); |
2135 |
- } |
2136 |
- curNbOfPolyElem=MEDnEntMaa(fid,nommaa,MED_CONN,MED_MAILLE,MED_POLYEDRE,MED_NOD); |
2137 |
-@@ -604,8 +604,8 @@ |
2138 |
- int *indexFace=new int[indexFaceLgth]; |
2139 |
- int *locConn=new int[connFaceLgth]; |
2140 |
- int *fam=new int[curNbOfPolyElem]; |
2141 |
-- MEDpolyedreConnLire(fid,nommaa,index,curNbOfPolyElem+1,indexFace,indexFaceLgth,locConn,MED_NOD); |
2142 |
-- MEDfamLire(fid,nommaa,fam,curNbOfPolyElem,MED_MAILLE,MED_POLYEDRE); |
2143 |
-+ MEDpolyedreConnLire(fid,nommaa,(med_int*)index,curNbOfPolyElem+1,(med_int*)indexFace,indexFaceLgth,(med_int*)locConn,MED_NOD); |
2144 |
-+ MEDfamLire(fid,nommaa,(med_int*)fam,curNbOfPolyElem,MED_MAILLE,MED_POLYEDRE); |
2145 |
- int arraySize=connFaceLgth; |
2146 |
- for(int i=0;i<curNbOfPolyElem;i++) |
2147 |
- arraySize+=index[i+1]-index[i]-1; |
2148 |
-@@ -1051,11 +1051,11 @@ |
2149 |
- std::vector<int> medConnIndex2; |
2150 |
- int nbOfElt=buildMEDSubConnectivityOfOneType(conn,connIndex,curType,medConn,medConnIndex,medConnIndex2); |
2151 |
- if(curMedType!=MED_POLYGONE && curMedType!=MED_POLYEDRE) |
2152 |
-- MEDconnEcr(fid,maa,mesh->getMeshDimension(),&medConn[0],MED_FULL_INTERLACE,nbOfElt,MED_MAILLE,curMedType,MED_NOD); |
2153 |
-+ MEDconnEcr(fid,maa,mesh->getMeshDimension(),(med_int*)&medConn[0],MED_FULL_INTERLACE,nbOfElt,MED_MAILLE,curMedType,MED_NOD); |
2154 |
- else |
2155 |
- { |
2156 |
- if(curMedType==MED_POLYGONE) |
2157 |
-- MEDpolygoneConnEcr(fid,maa,&medConnIndex[0],medConnIndex.size(),&medConn[0],MED_MAILLE,MED_NOD); |
2158 |
-+ MEDpolygoneConnEcr(fid,maa,(med_int*)&medConnIndex[0],medConnIndex.size(),(med_int*)&medConn[0],MED_MAILLE,MED_NOD); |
2159 |
- } |
2160 |
- } |
2161 |
- } |
2162 |
---- src5.1.3.orig/MED_SRC_5.1.3/src/MEDSPLITTER/Test/MEDSPLITTERTest_MESHCollection.cxx 2010-03-21 20:24:36.370545867 +0100 |
2163 |
-+++ src5.1.3/MED_SRC_5.1.3/src/MEDSPLITTER/Test/MEDSPLITTERTest_MESHCollection.cxx 2010-03-21 20:30:11.329293723 +0100 |
2164 |
-@@ -300,8 +300,8 @@ |
2165 |
- char maa_dist1[MED_TAILLE_NOM], jn1[MED_TAILLE_NOM]; |
2166 |
- char desc2[MED_TAILLE_DESC], maa_dist2[MED_TAILLE_NOM], jn2[MED_TAILLE_NOM]; |
2167 |
- int dom1, dom2; |
2168 |
-- med_2_3::MEDjointInfo(fid1, meshname1, 1, jn1, desc1, &dom1, maa_dist1); |
2169 |
-- med_2_3::MEDjointInfo(fid2, meshname2, 1, jn2, desc2, &dom2, maa_dist2); |
2170 |
-+ med_2_3::MEDjointInfo(fid1, meshname1, 1, jn1, desc1,(med_int*)&dom1, maa_dist1); |
2171 |
-+ med_2_3::MEDjointInfo(fid2, meshname2, 1, jn2, desc2,(med_int*)&dom2, maa_dist2); |
2172 |
- CPPUNIT_ASSERT(strcmp(jn1,"joint_2")==0); |
2173 |
- CPPUNIT_ASSERT(strcmp(jn2,"joint_1")==0); |
2174 |
- CPPUNIT_ASSERT_EQUAL(dom1,1); |
2175 |
-@@ -467,8 +467,8 @@ |
2176 |
- char maa_dist1[MED_TAILLE_NOM], jn1[MED_TAILLE_NOM]; |
2177 |
- char desc2[MED_TAILLE_DESC], maa_dist2[MED_TAILLE_NOM], jn2[MED_TAILLE_NOM]; |
2178 |
- int dom1, dom2; |
2179 |
-- med_2_3::MEDjointInfo(fid1, meshname1, 1, jn1, desc1, &dom1, maa_dist1); |
2180 |
-- med_2_3::MEDjointInfo(fid2, meshname2, 1, jn2, desc2, &dom2, maa_dist2); |
2181 |
-+ med_2_3::MEDjointInfo(fid1, meshname1, 1, jn1, desc1, (med_int*)&dom1, maa_dist1); |
2182 |
-+ med_2_3::MEDjointInfo(fid2, meshname2, 1, jn2, desc2, (med_int*)&dom2, maa_dist2); |
2183 |
- CPPUNIT_ASSERT_EQUAL(dom1,1); |
2184 |
- CPPUNIT_ASSERT_EQUAL(dom2,0); |
2185 |
- |
2186 |
-@@ -548,7 +548,7 @@ |
2187 |
- //testing cells global numbering |
2188 |
- num = new med_2_3::med_int[2]; |
2189 |
- MEDglobalNumLire(fid1, meshname1, num, 2, typ_ent_loc, typ_geo_loc); |
2190 |
-- med_2_3::med_int* globcellref = new int[2]; |
2191 |
-+ med_2_3::med_int* globcellref = new med_int[2]; |
2192 |
- globcellref[0]=1; |
2193 |
- globcellref[1]=3; |
2194 |
- |
2195 |
-@@ -773,10 +773,10 @@ |
2196 |
- char maa_dist1[MED_TAILLE_NOM], jn1[MED_TAILLE_NOM]; |
2197 |
- char desc2[MED_TAILLE_DESC]; |
2198 |
- char maa_dist2[MED_TAILLE_NOM], jn2[MED_TAILLE_NOM]; |
2199 |
-- //int dom1, dom2; |
2200 |
-- med_2_3::med_int dom1, dom2; |
2201 |
-- med_2_3::MEDjointInfo(fid1, meshname1, 1, jn1, desc1, &dom1, maa_dist1); |
2202 |
-- med_2_3::MEDjointInfo(fid2, meshname2, 1, jn2, desc2, &dom2, maa_dist2); |
2203 |
-+ int dom1, dom2; |
2204 |
-+// med_2_3::med_int dom1, dom2; |
2205 |
-+ med_2_3::MEDjointInfo(fid1, meshname1, 1, jn1, desc1, (med_int*)&dom1, maa_dist1); |
2206 |
-+ med_2_3::MEDjointInfo(fid2, meshname2, 1, jn2, desc2, (med_int*)&dom2, maa_dist2); |
2207 |
- CPPUNIT_ASSERT_EQUAL(dom1,1); |
2208 |
- CPPUNIT_ASSERT_EQUAL(dom2,0); |
2209 |
- |
2210 |
-@@ -1143,8 +1143,8 @@ |
2211 |
- char maa_dist1[MED_TAILLE_NOM+1], jn1[MED_TAILLE_NOM+1]; |
2212 |
- char desc2[MED_TAILLE_DESC+1], maa_dist2[MED_TAILLE_NOM+1], jn2[MED_TAILLE_NOM+1]; |
2213 |
- int dom1, dom2; |
2214 |
-- med_2_3::MEDjointInfo(fid1, meshname1, 1, jn1, desc1, &dom1, maa_dist1); |
2215 |
-- med_2_3::MEDjointInfo(fid2, meshname2, 1, jn2, desc2, &dom2, maa_dist2); |
2216 |
-+ med_2_3::MEDjointInfo(fid1, meshname1, 1, jn1, desc1, (med_int*)&dom1, maa_dist1); |
2217 |
-+ med_2_3::MEDjointInfo(fid2, meshname2, 1, jn2, desc2, (med_int*)&dom2, maa_dist2); |
2218 |
- CPPUNIT_ASSERT_EQUAL(dom1,1); |
2219 |
- CPPUNIT_ASSERT_EQUAL(dom2,0); |
2220 |
- |
2221 |
|
2222 |
diff --git a/sci-misc/salome-med/files/salome-med-5.1.3-mpi.patch b/sci-misc/salome-med/files/salome-med-5.1.3-mpi.patch |
2223 |
deleted file mode 100644 |
2224 |
index a4dc199..0000000 |
2225 |
--- a/sci-misc/salome-med/files/salome-med-5.1.3-mpi.patch |
2226 |
+++ /dev/null |
2227 |
@@ -1,13 +0,0 @@ |
2228 |
---- ./src5.1.3.orig/MED_SRC_5.1.3/src/ParaMEDMEM/MxN_Mapping.hxx 2010-03-07 19:42:49.442822826 +0100 |
2229 |
-+++ ./src5.1.3/MED_SRC_5.1.3/src/ParaMEDMEM/MxN_Mapping.hxx 2010-03-07 19:43:38.710252330 +0100 |
2230 |
-@@ -39,8 +39,8 @@ |
2231 |
- void addElementFromSource(int distant_proc, int distant_elem); |
2232 |
- void prepareSendRecv(); |
2233 |
- void sendRecv(MEDCouplingFieldDouble& field); |
2234 |
-- void sendRecv(double* field, MEDCouplingFieldDouble& field) const ; |
2235 |
-- void reverseSendRecv(double* field, MEDCouplingFieldDouble& field) const ; |
2236 |
-+ void sendRecv(double* sendfield, MEDCouplingFieldDouble& field) const ; |
2237 |
-+ void reverseSendRecv(double* recvfield, MEDCouplingFieldDouble& field) const ; |
2238 |
- |
2239 |
- // |
2240 |
- const std::vector<std::pair<int,int> >& getSendingIds() const { return _sending_ids; } |
2241 |
|
2242 |
diff --git a/sci-misc/salome-med/files/salome-med-5.1.3-qt4-path.patch b/sci-misc/salome-med/files/salome-med-5.1.3-qt4-path.patch |
2243 |
deleted file mode 100644 |
2244 |
index 0737e67..0000000 |
2245 |
--- a/sci-misc/salome-med/files/salome-med-5.1.3-qt4-path.patch |
2246 |
+++ /dev/null |
2247 |
@@ -1,11 +0,0 @@ |
2248 |
---- src5.1.3.orig/MED_SRC_5.1.3/adm_local/unix/config_files/check_qt.m4 2010-03-06 21:00:58.281572535 +0100 |
2249 |
-+++ src5.1.3/MED_SRC_5.1.3/adm_local/unix/config_files/check_qt.m4 2010-03-06 21:03:34.110325466 +0100 |
2250 |
-@@ -333,7 +333,7 @@ |
2251 |
- |
2252 |
- LIBS_old=$LIBS |
2253 |
- if test "x$QTDIR" = "x/usr" ; then |
2254 |
-- QT_LIB_DIR="" |
2255 |
-+ QT_LIB_DIR="-L/usr/lib${LIB_LOCATION_SUFFIX}/qt4" |
2256 |
- elif test -d ${QTDIR}/lib; then |
2257 |
- QT_LIB_DIR="-L$QTDIR/lib" |
2258 |
- elif test -d ${QTDIR}/lib64; then |
2259 |
|
2260 |
diff --git a/sci-misc/salome-med/files/salome-med-5.1.3-scotch.patch b/sci-misc/salome-med/files/salome-med-5.1.3-scotch.patch |
2261 |
deleted file mode 100644 |
2262 |
index 0cfcaf7..0000000 |
2263 |
--- a/sci-misc/salome-med/files/salome-med-5.1.3-scotch.patch |
2264 |
+++ /dev/null |
2265 |
@@ -1,11 +0,0 @@ |
2266 |
---- src5.1.3.orig/MED_SRC_5.1.3/src/MEDSPLITTER/MEDSPLITTER_SCOTCHGraph.cxx 2008-12-10 10:14:43.000000000 +0100 |
2267 |
-+++ src5.1.3/MED_SRC_5.1.3/src/MEDSPLITTER/MEDSPLITTER_SCOTCHGraph.cxx 2009-09-27 23:26:59.010112791 +0200 |
2268 |
-@@ -19,7 +19,7 @@ |
2269 |
- #include <cstdio> |
2270 |
- extern "C" { |
2271 |
- #define restrict |
2272 |
--#include "bin/scotch.h" |
2273 |
-+#include "scotch.h" |
2274 |
- } |
2275 |
- #include "MEDSPLITTER_Graph.hxx" |
2276 |
- #include "MEDSPLITTER_SCOTCHGraph.hxx" |
2277 |
|
2278 |
diff --git a/sci-misc/salome-med/files/salome-med-5.1.4-check_metis.patch b/sci-misc/salome-med/files/salome-med-5.1.4-check_metis.patch |
2279 |
deleted file mode 100644 |
2280 |
index a572ad6..0000000 |
2281 |
--- a/sci-misc/salome-med/files/salome-med-5.1.4-check_metis.patch |
2282 |
+++ /dev/null |
2283 |
@@ -1,48 +0,0 @@ |
2284 |
---- src5.1.4/MED_SRC_5.1.4/adm_local/unix/config_files/check_metis.m4.orig 2009-09-27 22:35:51.014701709 +0200 |
2285 |
-+++ src5.1.4/MED_SRC_5.1.4/adm_local/unix/config_files/check_metis.m4 2009-09-27 22:41:46.471297649 +0200 |
2286 |
-@@ -28,6 +28,10 @@ |
2287 |
- |
2288 |
- METIS_CPPFLAGS="" |
2289 |
- METIS_LIBSUFFIX="" |
2290 |
-+case "$build_cpu" in |
2291 |
-+x86_64*) METIS_LIBSUFFIX="64" ;; |
2292 |
-+*) METIS_LIBSUFFIX="" ;; |
2293 |
-+esac |
2294 |
- METIS_LIBS="" |
2295 |
- ENABLE_METIS="no" |
2296 |
- |
2297 |
-@@ -43,8 +47,8 @@ |
2298 |
- LIBS_old=$LIBS |
2299 |
- |
2300 |
- if test "x${METISDIR}" != "x" ; then |
2301 |
-- METIS_CPPFLAGS="-DENABLE_METIS -I${METISDIR}/Lib" |
2302 |
-- METIS_LIBS="-L${METISDIR} -lmetis" |
2303 |
-+ METIS_CPPFLAGS="-DENABLE_METIS -I${METISDIR}/include/metis" |
2304 |
-+ METIS_LIBS="-L${METISDIR}/lib${METIS_LIBSUFFIX} -lmetis" |
2305 |
- fi |
2306 |
- |
2307 |
- metis_ok=no |
2308 |
-@@ -57,7 +61,7 @@ |
2309 |
- |
2310 |
- metis_include_dir_ok=yes |
2311 |
- if test "x${METISDIR}" != "x" ; then |
2312 |
-- AC_CHECK_FILE(${METISDIR}/Lib/metis.h, |
2313 |
-+ AC_CHECK_FILE(${METISDIR}/include/metis/metis.h, |
2314 |
- metis_include_dir_ok=yes, |
2315 |
- metis_include_dir_ok=no) |
2316 |
- fi |
2317 |
-@@ -81,12 +85,12 @@ |
2318 |
- AC_CHECKING(for METIS binaries) |
2319 |
- metis_lib_dir_ok=yes |
2320 |
- if test "x${METISDIR}" != "x" ; then |
2321 |
-- AC_CHECK_FILE(${METISDIR}/libmetis.a, |
2322 |
-+ AC_CHECK_FILE(${METISDIR}/lib${METIS_LIBSUFFIX}/libmetis.a, |
2323 |
- metis_lib_dir_ok=yes, |
2324 |
- metis_lib_dir_ok=no) |
2325 |
- if test "x${metis_lib_dir_ok}" = "xno" ; then |
2326 |
- METIS_LIBSUFFIX="" |
2327 |
-- AC_CHECK_FILE(${METISDIR}/libmetis.a, |
2328 |
-+ AC_CHECK_FILE(${METISDIR}/lib${METIS_LIBSUFFIX}/libmetis.a, |
2329 |
- metis_lib_dir_ok=yes, |
2330 |
- metis_lib_dir_ok=no) |
2331 |
- fi |
2332 |
|
2333 |
diff --git a/sci-misc/salome-med/files/salome-med-5.1.4-check_scotch.patch b/sci-misc/salome-med/files/salome-med-5.1.4-check_scotch.patch |
2334 |
deleted file mode 100644 |
2335 |
index bcf0509..0000000 |
2336 |
--- a/sci-misc/salome-med/files/salome-med-5.1.4-check_scotch.patch |
2337 |
+++ /dev/null |
2338 |
@@ -1,74 +0,0 @@ |
2339 |
---- src5.1.4/MED_SRC_5.1.4/adm_local/unix/config_files/check_scotch.m4.orig 2009-09-27 23:07:31.245061430 +0200 |
2340 |
-+++ src5.1.4/MED_SRC_5.1.4/adm_local/unix/config_files/check_scotch.m4 2009-09-27 23:11:02.080868671 +0200 |
2341 |
-@@ -28,6 +28,10 @@ |
2342 |
- |
2343 |
- SCOTCH_CPPFLAGS="" |
2344 |
- SCOTCH_LIBSUFFIX="" |
2345 |
-+case "$build_cpu" in |
2346 |
-+x86_64*) SCOTCH_LIBSUFFIX="64" ;; |
2347 |
-+*) SCOTCH_LIBSUFFIX="" ;; |
2348 |
-+esac |
2349 |
- SCOTCH_LIBS="" |
2350 |
- ENABLE_SCOTCH="no" |
2351 |
- |
2352 |
-@@ -43,8 +47,8 @@ |
2353 |
- LIBS_old=$LIBS |
2354 |
- |
2355 |
- if test "x${SCOTCHDIR}" != "x" ; then |
2356 |
-- SCOTCH_CPPFLAGS="-DENABLE_SCOTCH -I${SCOTCHDIR}" |
2357 |
-- SCOTCH_LIBS="-L${SCOTCHDIR}/bin -lscotch -lscotcherr" |
2358 |
-+ SCOTCH_CPPFLAGS="-DENABLE_SCOTCH -I${SCOTCHDIR}/include/scotch" |
2359 |
-+ SCOTCH_LIBS="-L${SCOTCHDIR}/lib${SCOTCH_LIBSUFFIX} -lscotch -lscotcherr" |
2360 |
- fi |
2361 |
- |
2362 |
- scotch_ok=no |
2363 |
-@@ -57,14 +61,14 @@ |
2364 |
- |
2365 |
- scotch_include_dir_ok=yes |
2366 |
- if test "x${SCOTCHDIR}" != "x" ; then |
2367 |
-- AC_CHECK_FILE(${SCOTCHDIR}/bin/scotch.h, |
2368 |
-+ AC_CHECK_FILE(${SCOTCHDIR}/include/scotch/scotch.h, |
2369 |
- scotch_include_dir_ok=yes, |
2370 |
- scotch_include_dir_ok=no) |
2371 |
- fi |
2372 |
- |
2373 |
- if test "x${scotch_include_dir_ok}" = "xyes" ; then |
2374 |
- AC_TRY_COMPILE([#include <stdio.h> |
2375 |
-- #include <bin/scotch.h>], |
2376 |
-+ #include <scotch.h>], |
2377 |
- [SCOTCH_Graph* graph; |
2378 |
- SCOTCH_graphInit(graph)], |
2379 |
- scotch_headers_ok=yes, |
2380 |
-@@ -83,12 +87,12 @@ |
2381 |
- AC_CHECKING(for SCOTCH binaries) |
2382 |
- scotch_lib_dir_ok=yes |
2383 |
- if test "x${SCOTCHDIR}" != "x" ; then |
2384 |
-- AC_CHECK_FILE(${SCOTCHDIR}/bin/libscotch.a, |
2385 |
-+ AC_CHECK_FILE(${SCOTCHDIR}/lib${SCOTCH_LIBSUFFIX}/libscotch.a, |
2386 |
- scotch_lib_dir_ok=yes, |
2387 |
- scotch_lib_dir_ok=no) |
2388 |
- if test "x${scotch_lib_dir_ok}" = "xno" ; then |
2389 |
- SCOTCH_LIBSUFFIX="" |
2390 |
-- AC_CHECK_FILE(${SCOTCHDIR}/bin/libscotch.a, |
2391 |
-+ AC_CHECK_FILE(${SCOTCHDIR}/lib${SCOTCH_LIBSUFFIX}/libscotch.a, |
2392 |
- scotch_lib_dir_ok=yes, |
2393 |
- scotch_lib_dir_ok=no) |
2394 |
- fi |
2395 |
-@@ -96,7 +100,7 @@ |
2396 |
- if test "x${scotch_lib_dir_ok}" = "xyes" ; then |
2397 |
- LIBS="${LIBS_old} ${SCOTCH_LIBS}" |
2398 |
- AC_TRY_LINK([#include <stdio.h> |
2399 |
-- #include <bin/scotch.h>], |
2400 |
-+ #include <scotch.h>], |
2401 |
- [SCOTCH_Graph* graph; |
2402 |
- SCOTCH_graphInit(graph)], |
2403 |
- scotch_binaries_ok=yes, |
2404 |
-@@ -105,7 +109,7 @@ |
2405 |
- SCOTCH_LIBSUFFIX="" |
2406 |
- LIBS="${LIBS_old} ${SCOTCH_LIBS} " |
2407 |
- AC_TRY_LINK([#include <stdio.h> |
2408 |
-- #include <bin/scotch.h>], |
2409 |
-+ #include <scotch.h>], |
2410 |
- [SCOTCH_Graph* graph; |
2411 |
- SCOTCH_graphInit(graph)], |
2412 |
- scotch_binaries_ok=yes, |
2413 |
|
2414 |
diff --git a/sci-misc/salome-med/files/salome-med-5.1.4-gcc.patch b/sci-misc/salome-med/files/salome-med-5.1.4-gcc.patch |
2415 |
deleted file mode 100644 |
2416 |
index 102cb91..0000000 |
2417 |
--- a/sci-misc/salome-med/files/salome-med-5.1.4-gcc.patch |
2418 |
+++ /dev/null |
2419 |
@@ -1,11 +0,0 @@ |
2420 |
---- ./src5.1.4.orig/MED_SRC_5.1.4/src/INTERPOLATION/create_mesh_interpolation.c 2010-03-13 13:14:50.721209673 +0100 |
2421 |
-+++ ./src5.1.4/MED_SRC_5.1.4/src/INTERPOLATION/create_mesh_interpolation.c 2010-03-13 13:15:35.420479255 +0100 |
2422 |
-@@ -21,7 +21,7 @@ |
2423 |
- // |
2424 |
- #include <med.h> |
2425 |
- #include <string.h> |
2426 |
-- |
2427 |
-+#include <stdlib.h> |
2428 |
- |
2429 |
- /*****************************************************************************************************/ |
2430 |
- |
2431 |
|
2432 |
diff --git a/sci-misc/salome-med/files/salome-med-5.1.4-med_int.patch b/sci-misc/salome-med/files/salome-med-5.1.4-med_int.patch |
2433 |
deleted file mode 100644 |
2434 |
index 6db1510..0000000 |
2435 |
--- a/sci-misc/salome-med/files/salome-med-5.1.4-med_int.patch |
2436 |
+++ /dev/null |
2437 |
@@ -1,297 +0,0 @@ |
2438 |
-diff -ur src5.1.3.orig/MED_SRC_5.1.3/src/MEDSPLITTER/MEDSPLITTER_MESHCollectionDriver.cxx src5.1.3/MED_SRC_5.1.3/src/MEDSPLITTER/MEDSPLITTER_MESHCollectionDriver.cxx |
2439 |
---- src5.1.3.orig/MED_SRC_5.1.3/src/MEDSPLITTER/MEDSPLITTER_MESHCollectionDriver.cxx 2010-03-15 17:07:56.860301255 +0100 |
2440 |
-+++ src5.1.3/MED_SRC_5.1.3/src/MEDSPLITTER/MEDSPLITTER_MESHCollectionDriver.cxx 2010-03-15 17:33:59.740251721 +0100 |
2441 |
-@@ -189,7 +189,7 @@ |
2442 |
- |
2443 |
- int ncorr = med_2_3::MEDjointInfo(fid,meshname, ijoint+1, name, |
2444 |
- joint_description, |
2445 |
-- &distant, name_distant); |
2446 |
-+ (med_int*)&distant, name_distant); |
2447 |
- |
2448 |
- for (int ic=0; ic<ncorr; ic++) |
2449 |
- { |
2450 |
-@@ -209,7 +209,7 @@ |
2451 |
- { |
2452 |
- |
2453 |
- med_2_3::MEDjointLire(fid, meshname, name, |
2454 |
-- node_corresp,ncouples, |
2455 |
-+ (med_int*)node_corresp,ncouples, |
2456 |
- cor_typent_local, cor_typgeo_local, |
2457 |
- cor_typent_dist, cor_typgeo_dist |
2458 |
- ); |
2459 |
-@@ -247,7 +247,7 @@ |
2460 |
- if (!m_collection->isDimensionOK(type,m_collection->getMeshDimension())) continue; |
2461 |
- int ntype = (m_collection->getMesh())[idomain]->getNumberOfElementsWithPoly(MED_EN::MED_CELL,type); |
2462 |
- if (ntype==0) continue; |
2463 |
-- med_2_3::MEDglobalNumLire(fid,meshname, array+offset, ntype, |
2464 |
-+ med_2_3::MEDglobalNumLire(fid,meshname, (med_int*)array+offset, ntype, |
2465 |
- med_2_3::MED_MAILLE, (med_2_3::med_geometrie_element)type); |
2466 |
- offset+=ntype; |
2467 |
- } |
2468 |
-@@ -259,7 +259,7 @@ |
2469 |
- int nnode= (m_collection->getMesh())[idomain]->getNumberOfNodes(); |
2470 |
- { |
2471 |
- int* array=new int[nnode]; |
2472 |
-- med_2_3::MEDglobalNumLire(fid,meshname, array, nnode, |
2473 |
-+ med_2_3::MEDglobalNumLire(fid,meshname, (med_int*)array, nnode, |
2474 |
- med_2_3::MED_NOEUD, med_2_3::MED_POINT1); |
2475 |
- nodeglobal[idomain]=array; |
2476 |
- } |
2477 |
-@@ -280,7 +280,7 @@ |
2478 |
- |
2479 |
- int ntype = (m_collection->getMesh())[idomain]->getNumberOfElementsWithPoly(MED_EN::MED_FACE,type); |
2480 |
- if (ntype==0) continue; |
2481 |
-- med_2_3::MEDglobalNumLire(fid,meshname, array+offset, ntype, |
2482 |
-+ med_2_3::MEDglobalNumLire(fid,meshname, (med_int*)array+offset, ntype, |
2483 |
- med_2_3::MED_MAILLE, (med_2_3::med_geometrie_element)type); |
2484 |
- offset+=ntype; |
2485 |
- } |
2486 |
-@@ -348,7 +348,7 @@ |
2487 |
- jointSort(node_corresp, nbnodes, false); |
2488 |
- |
2489 |
- error= |
2490 |
-- med_2_3::MEDjointEcr(fid, mesh_name, joint_name, node_corresp, nbnodes, |
2491 |
-+ med_2_3::MEDjointEcr(fid, mesh_name, joint_name, (med_int*)node_corresp, nbnodes, |
2492 |
- med_2_3::MED_NOEUD, med_2_3::MED_POINT1,med_2_3::MED_NOEUD, med_2_3::MED_POINT1); |
2493 |
- if (error==-1) cout << "erreur creation de joint "<<endl; |
2494 |
- |
2495 |
-@@ -388,7 +388,7 @@ |
2496 |
- if (!m_collection->isDimensionOK(type,m_collection->getMeshDimension())) continue; |
2497 |
- int ntype = (m_collection->getMesh())[idomain]->getNumberOfElementsWithPoly(MED_EN::MED_CELL,type); |
2498 |
- if (ntype==0) continue; |
2499 |
-- med_2_3::MEDglobalNumEcr(fid,meshchar, array+offset, ntype, |
2500 |
-+ med_2_3::MEDglobalNumEcr(fid,meshchar, (med_int*)array+offset, ntype, |
2501 |
- med_2_3::MED_MAILLE, (med_2_3::med_geometrie_element)type); |
2502 |
- offset+=ntype; |
2503 |
- |
2504 |
-@@ -426,7 +426,7 @@ |
2505 |
- |
2506 |
- int ntype = (m_collection->getMesh())[idomain]->getNumberOfElementsWithPoly(constituent_entity,type); |
2507 |
- if (ntype==0) continue; |
2508 |
-- med_2_3::MEDglobalNumEcr(fid,meshchar, array+offset, ntype, |
2509 |
-+ med_2_3::MEDglobalNumEcr(fid,meshchar, (med_int*)array+offset, ntype, |
2510 |
- med_2_3::MED_MAILLE, (med_2_3::med_geometrie_element)type); |
2511 |
- |
2512 |
- offset+=ntype; |
2513 |
-@@ -443,7 +443,7 @@ |
2514 |
- |
2515 |
- m_collection->getTopology()->getNodeList(idomain,array); |
2516 |
- |
2517 |
-- med_2_3::MEDglobalNumEcr(fid,meshchar, array, nnode, |
2518 |
-+ med_2_3::MEDglobalNumEcr(fid,meshchar, (med_int*)array, nnode, |
2519 |
- med_2_3::MED_NOEUD, med_2_3::MED_POINT1); |
2520 |
- |
2521 |
- delete[] array; |
2522 |
-@@ -507,7 +507,7 @@ |
2523 |
- corresp.push_back(value[icol]); |
2524 |
- } |
2525 |
- int size_joint = corresp.size()/2; |
2526 |
-- med_2_3::MEDjointEcr(fid, mesh_name, joint_name, &corresp[0], |
2527 |
-+ med_2_3::MEDjointEcr(fid, mesh_name, joint_name, (med_int*)&corresp[0], |
2528 |
- size_joint, med_2_3::MED_MAILLE, |
2529 |
- (med_2_3::med_geometrie_element)local_type ,med_2_3::MED_MAILLE, |
2530 |
- (med_2_3::med_geometrie_element)distant_type ); |
2531 |
-@@ -541,7 +541,7 @@ |
2532 |
- med_2_3::med_geometrie_element distant_geo_elem=(med_2_3::med_geometrie_element)iter->first.second; |
2533 |
- int size_joint=size/2; |
2534 |
- //med_2_3::med_err error = |
2535 |
-- med_2_3::MEDjointEcr(fid, mesh_name, joint_name, corresp, size_joint, med_2_3::MED_MAILLE, |
2536 |
-+ med_2_3::MEDjointEcr(fid, mesh_name, joint_name, (med_int*)corresp, size_joint, med_2_3::MED_MAILLE, |
2537 |
- local_geo_elem,med_2_3::MED_MAILLE, distant_geo_elem); |
2538 |
- delete[] corresp; |
2539 |
- } |
2540 |
-diff -ur src5.1.3.orig/MED_SRC_5.1.3/src/MULTIPR/MULTIPR_Globals.hxx src5.1.3/MED_SRC_5.1.3/src/MULTIPR/MULTIPR_Globals.hxx |
2541 |
---- src5.1.3.orig/MED_SRC_5.1.3/src/MULTIPR/MULTIPR_Globals.hxx 2010-03-15 17:07:56.624073897 +0100 |
2542 |
-+++ src5.1.3/MED_SRC_5.1.3/src/MULTIPR/MULTIPR_Globals.hxx 2010-03-15 17:42:31.140322486 +0100 |
2543 |
-@@ -34,6 +34,7 @@ |
2544 |
- |
2545 |
- #include <vector> |
2546 |
- #include <set> |
2547 |
-+#include <med.h> |
2548 |
- |
2549 |
- //***************************************************************************** |
2550 |
- // Some useful macros |
2551 |
-@@ -46,7 +47,7 @@ |
2552 |
- * Pair of index. |
2553 |
- * See definition of GaussIndexList. |
2554 |
- */ |
2555 |
--typedef std::pair < std::set<int>*, std::set<int> > IndexPair; |
2556 |
-+typedef std::pair < std::set<med_int>*, std::set<med_int> > IndexPair; |
2557 |
- |
2558 |
- /** |
2559 |
- * List of gauss index for optimized domain split. |
2560 |
-diff -ur src5.1.3.orig/MED_SRC_5.1.3/src/ParaMEDMEM/MEDLoader/MEDLoader.cxx src5.1.3/MED_SRC_5.1.3/src/ParaMEDMEM/MEDLoader/MEDLoader.cxx |
2561 |
---- src5.1.3.orig/MED_SRC_5.1.3/src/ParaMEDMEM/MEDLoader/MEDLoader.cxx 2010-03-15 17:07:55.512824126 +0100 |
2562 |
-+++ src5.1.3/MED_SRC_5.1.3/src/ParaMEDMEM/MEDLoader/MEDLoader.cxx 2010-03-15 17:23:57.950316309 +0100 |
2563 |
-@@ -169,11 +169,11 @@ |
2564 |
- { |
2565 |
- int ngro=MEDnGroupe(fid,(char *)meshName,i+1); |
2566 |
- med_int natt=MEDnAttribut(fid,(char *)meshName,i+1); |
2567 |
-- med_int *attide=new int[natt]; |
2568 |
-- med_int *attval=new int[natt]; |
2569 |
-+ med_int *attide=new med_int[natt]; |
2570 |
-+ med_int *attval=new med_int[natt]; |
2571 |
- char *attdes=new char[MED_TAILLE_DESC*natt+1]; |
2572 |
- char *gro=new char[MED_TAILLE_LNOM*ngro+1]; |
2573 |
-- MEDfamInfo(fid,(char *)meshName,i+1,nomfam,&numfam,attide,attval,attdes,&natt,gro,&ngro); |
2574 |
-+ MEDfamInfo(fid,(char *)meshName,i+1,nomfam,&numfam,attide,attval,attdes,&natt,gro,(med_int*)&ngro); |
2575 |
- std::string cur=buildStringFromFortran(nomfam,sizeof(nomfam)); |
2576 |
- ret[i]=cur; |
2577 |
- delete [] attdes; |
2578 |
-@@ -196,11 +196,11 @@ |
2579 |
- { |
2580 |
- int ngro=MEDnGroupe(fid,(char *)meshName,i+1); |
2581 |
- med_int natt=MEDnAttribut(fid,(char *)meshName,i+1); |
2582 |
-- med_int *attide=new int[natt]; |
2583 |
-- med_int *attval=new int[natt]; |
2584 |
-+ med_int *attide=new med_int[natt]; |
2585 |
-+ med_int *attval=new med_int[natt]; |
2586 |
- char *attdes=new char[MED_TAILLE_DESC*natt+1]; |
2587 |
- char *gro=new char[MED_TAILLE_LNOM*ngro+1]; |
2588 |
-- MEDfamInfo(fid,(char *)meshName,i+1,nomfam,&numfam,attide,attval,attdes,&natt,gro,&ngro); |
2589 |
-+ MEDfamInfo(fid,(char *)meshName,i+1,nomfam,&numfam,attide,attval,attdes,&natt,gro,(med_int*)&ngro); |
2590 |
- for(int j=0;j<ngro;j++) |
2591 |
- { |
2592 |
- std::string cur=buildStringFromFortran(gro+j*MED_TAILLE_LNOM,MED_TAILLE_LNOM); |
2593 |
-@@ -446,11 +446,11 @@ |
2594 |
- { |
2595 |
- int ngro=MEDnGroupe(fid,(char *)meshName,i+1); |
2596 |
- med_int natt=MEDnAttribut(fid,(char *)meshName,i+1); |
2597 |
-- med_int *attide=new int[natt]; |
2598 |
-- med_int *attval=new int[natt]; |
2599 |
-+ med_int *attide=new med_int[natt]; |
2600 |
-+ med_int *attval=new med_int[natt]; |
2601 |
- char *attdes=new char[MED_TAILLE_DESC*natt+1]; |
2602 |
- char *gro=new char[MED_TAILLE_LNOM*ngro+1]; |
2603 |
-- MEDfamInfo(fid,(char *)meshName,i+1,nomfam,&numfam,attide,attval,attdes,&natt,gro,&ngro); |
2604 |
-+ MEDfamInfo(fid,(char *)meshName,i+1,nomfam,&numfam,attide,attval,attdes,&natt,gro,(med_int*)&ngro); |
2605 |
- std::string cur=buildStringFromFortran(nomfam,sizeof(nomfam)); |
2606 |
- if(std::find(fams.begin(),fams.end(),cur)!=fams.end()) |
2607 |
- ret.push_back(numfam); |
2608 |
-@@ -474,11 +474,11 @@ |
2609 |
- { |
2610 |
- int ngro=MEDnGroupe(fid,(char *)meshName,i+1); |
2611 |
- med_int natt=MEDnAttribut(fid,(char *)meshName,i+1); |
2612 |
-- med_int *attide=new int[natt]; |
2613 |
-- med_int *attval=new int[natt]; |
2614 |
-+ med_int *attide=new med_int[natt]; |
2615 |
-+ med_int *attval=new med_int[natt]; |
2616 |
- char *attdes=new char[MED_TAILLE_DESC*natt+1]; |
2617 |
- char *gro=new char[MED_TAILLE_LNOM*ngro+1]; |
2618 |
-- MEDfamInfo(fid,(char *)meshName,i+1,nomfam,&numfam,attide,attval,attdes,&natt,gro,&ngro); |
2619 |
-+ MEDfamInfo(fid,(char *)meshName,i+1,nomfam,&numfam,attide,attval,attdes,&natt,gro,(med_int*)&ngro); |
2620 |
- std::string cur=buildStringFromFortran(nomfam,sizeof(nomfam)); |
2621 |
- for(int j=0;j<ngro;j++) |
2622 |
- { |
2623 |
-@@ -566,12 +566,12 @@ |
2624 |
- MEDLoader::MEDConnOfOneElemType elem(typmai2[i],connTab,0,fam,curNbOfElem,-1); |
2625 |
- int *tmp=new int[curNbOfElem]; |
2626 |
- char *noms=new char[MED_TAILLE_PNOM*curNbOfElem+1]; |
2627 |
-- MEDelementsLire(fid,nommaa,Mdim,connTab,MED_FULL_INTERLACE,noms,&inoele,tmp,&inuele,fam,curNbOfElem,whichEntity,curMedType,MED_NOD); |
2628 |
-+ MEDelementsLire(fid,nommaa,Mdim,(med_int*)connTab,MED_FULL_INTERLACE,noms,&inoele,(med_int*)tmp,&inuele,(med_int*)fam,curNbOfElem,whichEntity,curMedType,MED_NOD); |
2629 |
- delete [] tmp; |
2630 |
- delete [] noms; |
2631 |
- //trying to read global numbering |
2632 |
- int *globArr=new int[curNbOfElem]; |
2633 |
-- if(MEDglobalNumLire(fid,nommaa,globArr,curNbOfElem,whichEntity,curMedType)==0) |
2634 |
-+ if(MEDglobalNumLire(fid,nommaa,(med_int*)globArr,curNbOfElem,whichEntity,curMedType)==0) |
2635 |
- elem.setGlobal(globArr); |
2636 |
- else |
2637 |
- delete [] globArr; |
2638 |
-@@ -590,9 +590,9 @@ |
2639 |
- int *index=new int[curNbOfPolyElem+1]; |
2640 |
- int *locConn=new int[arraySize]; |
2641 |
- int *fam=new int[curNbOfPolyElem]; |
2642 |
-- MEDLoader::MEDConnOfOneElemType elem(INTERP_KERNEL::NORM_POLYGON,locConn,index,fam,curNbOfPolyElem,arraySize); |
2643 |
-- MEDpolygoneConnLire(fid,nommaa,index,curNbOfPolyElem+1,locConn,whichPolyEntity,MED_NOD); |
2644 |
-- MEDfamLire(fid,nommaa,fam,curNbOfPolyElem,MED_MAILLE,MED_POLYGONE); |
2645 |
-+ MEDLoader::MEDConnOfOneElemType elem(INTERP_KERNEL::NORM_POLYGON,locConn,index,fam,curNbOfPolyElem,(int)arraySize); |
2646 |
-+ MEDpolygoneConnLire(fid,nommaa,(med_int*)index,curNbOfPolyElem+1,(med_int*)locConn,whichPolyEntity,MED_NOD); |
2647 |
-+ MEDfamLire(fid,nommaa,(med_int*)fam,curNbOfPolyElem,MED_MAILLE,MED_POLYGONE); |
2648 |
- conn.push_back(elem); |
2649 |
- } |
2650 |
- curNbOfPolyElem=MEDnEntMaa(fid,nommaa,MED_CONN,MED_MAILLE,MED_POLYEDRE,MED_NOD); |
2651 |
-@@ -604,8 +604,8 @@ |
2652 |
- int *indexFace=new int[indexFaceLgth]; |
2653 |
- int *locConn=new int[connFaceLgth]; |
2654 |
- int *fam=new int[curNbOfPolyElem]; |
2655 |
-- MEDpolyedreConnLire(fid,nommaa,index,curNbOfPolyElem+1,indexFace,indexFaceLgth,locConn,MED_NOD); |
2656 |
-- MEDfamLire(fid,nommaa,fam,curNbOfPolyElem,MED_MAILLE,MED_POLYEDRE); |
2657 |
-+ MEDpolyedreConnLire(fid,nommaa,(med_int*)index,curNbOfPolyElem+1,(med_int*)indexFace,indexFaceLgth,(med_int*)locConn,MED_NOD); |
2658 |
-+ MEDfamLire(fid,nommaa,(med_int*)fam,curNbOfPolyElem,MED_MAILLE,MED_POLYEDRE); |
2659 |
- int arraySize=connFaceLgth; |
2660 |
- for(int i=0;i<curNbOfPolyElem;i++) |
2661 |
- arraySize+=index[i+1]-index[i]-1; |
2662 |
-@@ -1051,11 +1051,11 @@ |
2663 |
- std::vector<int> medConnIndex2; |
2664 |
- int nbOfElt=buildMEDSubConnectivityOfOneType(conn,connIndex,curType,medConn,medConnIndex,medConnIndex2); |
2665 |
- if(curMedType!=MED_POLYGONE && curMedType!=MED_POLYEDRE) |
2666 |
-- MEDconnEcr(fid,maa,mesh->getMeshDimension(),&medConn[0],MED_FULL_INTERLACE,nbOfElt,MED_MAILLE,curMedType,MED_NOD); |
2667 |
-+ MEDconnEcr(fid,maa,mesh->getMeshDimension(),(med_int*)&medConn[0],MED_FULL_INTERLACE,nbOfElt,MED_MAILLE,curMedType,MED_NOD); |
2668 |
- else |
2669 |
- { |
2670 |
- if(curMedType==MED_POLYGONE) |
2671 |
-- MEDpolygoneConnEcr(fid,maa,&medConnIndex[0],medConnIndex.size(),&medConn[0],MED_MAILLE,MED_NOD); |
2672 |
-+ MEDpolygoneConnEcr(fid,maa,(med_int*)&medConnIndex[0],medConnIndex.size(),(med_int*)&medConn[0],MED_MAILLE,MED_NOD); |
2673 |
- } |
2674 |
- } |
2675 |
- } |
2676 |
---- src5.1.3.orig/MED_SRC_5.1.3/src/MEDSPLITTER/Test/MEDSPLITTERTest_MESHCollection.cxx 2010-03-21 20:24:36.370545867 +0100 |
2677 |
-+++ src5.1.3/MED_SRC_5.1.3/src/MEDSPLITTER/Test/MEDSPLITTERTest_MESHCollection.cxx 2010-03-21 20:30:11.329293723 +0100 |
2678 |
-@@ -300,8 +300,8 @@ |
2679 |
- char maa_dist1[MED_TAILLE_NOM], jn1[MED_TAILLE_NOM]; |
2680 |
- char desc2[MED_TAILLE_DESC], maa_dist2[MED_TAILLE_NOM], jn2[MED_TAILLE_NOM]; |
2681 |
- int dom1, dom2; |
2682 |
-- med_2_3::MEDjointInfo(fid1, meshname1, 1, jn1, desc1, &dom1, maa_dist1); |
2683 |
-- med_2_3::MEDjointInfo(fid2, meshname2, 1, jn2, desc2, &dom2, maa_dist2); |
2684 |
-+ med_2_3::MEDjointInfo(fid1, meshname1, 1, jn1, desc1,(med_int*)&dom1, maa_dist1); |
2685 |
-+ med_2_3::MEDjointInfo(fid2, meshname2, 1, jn2, desc2,(med_int*)&dom2, maa_dist2); |
2686 |
- CPPUNIT_ASSERT(strcmp(jn1,"joint_2")==0); |
2687 |
- CPPUNIT_ASSERT(strcmp(jn2,"joint_1")==0); |
2688 |
- CPPUNIT_ASSERT_EQUAL(dom1,1); |
2689 |
-@@ -467,8 +467,8 @@ |
2690 |
- char maa_dist1[MED_TAILLE_NOM], jn1[MED_TAILLE_NOM]; |
2691 |
- char desc2[MED_TAILLE_DESC], maa_dist2[MED_TAILLE_NOM], jn2[MED_TAILLE_NOM]; |
2692 |
- int dom1, dom2; |
2693 |
-- med_2_3::MEDjointInfo(fid1, meshname1, 1, jn1, desc1, &dom1, maa_dist1); |
2694 |
-- med_2_3::MEDjointInfo(fid2, meshname2, 1, jn2, desc2, &dom2, maa_dist2); |
2695 |
-+ med_2_3::MEDjointInfo(fid1, meshname1, 1, jn1, desc1, (med_int*)&dom1, maa_dist1); |
2696 |
-+ med_2_3::MEDjointInfo(fid2, meshname2, 1, jn2, desc2, (med_int*)&dom2, maa_dist2); |
2697 |
- CPPUNIT_ASSERT_EQUAL(dom1,1); |
2698 |
- CPPUNIT_ASSERT_EQUAL(dom2,0); |
2699 |
- |
2700 |
-@@ -548,7 +548,7 @@ |
2701 |
- //testing cells global numbering |
2702 |
- num = new med_2_3::med_int[2]; |
2703 |
- MEDglobalNumLire(fid1, meshname1, num, 2, typ_ent_loc, typ_geo_loc); |
2704 |
-- med_2_3::med_int* globcellref = new int[2]; |
2705 |
-+ med_2_3::med_int* globcellref = new med_int[2]; |
2706 |
- globcellref[0]=1; |
2707 |
- globcellref[1]=3; |
2708 |
- |
2709 |
-@@ -773,10 +773,10 @@ |
2710 |
- char maa_dist1[MED_TAILLE_NOM], jn1[MED_TAILLE_NOM]; |
2711 |
- char desc2[MED_TAILLE_DESC]; |
2712 |
- char maa_dist2[MED_TAILLE_NOM], jn2[MED_TAILLE_NOM]; |
2713 |
-- //int dom1, dom2; |
2714 |
-- med_2_3::med_int dom1, dom2; |
2715 |
-- med_2_3::MEDjointInfo(fid1, meshname1, 1, jn1, desc1, &dom1, maa_dist1); |
2716 |
-- med_2_3::MEDjointInfo(fid2, meshname2, 1, jn2, desc2, &dom2, maa_dist2); |
2717 |
-+ int dom1, dom2; |
2718 |
-+// med_2_3::med_int dom1, dom2; |
2719 |
-+ med_2_3::MEDjointInfo(fid1, meshname1, 1, jn1, desc1, (med_int*)&dom1, maa_dist1); |
2720 |
-+ med_2_3::MEDjointInfo(fid2, meshname2, 1, jn2, desc2, (med_int*)&dom2, maa_dist2); |
2721 |
- CPPUNIT_ASSERT_EQUAL(dom1,1); |
2722 |
- CPPUNIT_ASSERT_EQUAL(dom2,0); |
2723 |
- |
2724 |
-@@ -1143,8 +1143,8 @@ |
2725 |
- char maa_dist1[MED_TAILLE_NOM+1], jn1[MED_TAILLE_NOM+1]; |
2726 |
- char desc2[MED_TAILLE_DESC+1], maa_dist2[MED_TAILLE_NOM+1], jn2[MED_TAILLE_NOM+1]; |
2727 |
- int dom1, dom2; |
2728 |
-- med_2_3::MEDjointInfo(fid1, meshname1, 1, jn1, desc1, &dom1, maa_dist1); |
2729 |
-- med_2_3::MEDjointInfo(fid2, meshname2, 1, jn2, desc2, &dom2, maa_dist2); |
2730 |
-+ med_2_3::MEDjointInfo(fid1, meshname1, 1, jn1, desc1, (med_int*)&dom1, maa_dist1); |
2731 |
-+ med_2_3::MEDjointInfo(fid2, meshname2, 1, jn2, desc2, (med_int*)&dom2, maa_dist2); |
2732 |
- CPPUNIT_ASSERT_EQUAL(dom1,1); |
2733 |
- CPPUNIT_ASSERT_EQUAL(dom2,0); |
2734 |
- |
2735 |
|
2736 |
diff --git a/sci-misc/salome-med/files/salome-med-5.1.4-scotch.patch b/sci-misc/salome-med/files/salome-med-5.1.4-scotch.patch |
2737 |
deleted file mode 100644 |
2738 |
index 4045559..0000000 |
2739 |
--- a/sci-misc/salome-med/files/salome-med-5.1.4-scotch.patch |
2740 |
+++ /dev/null |
2741 |
@@ -1,11 +0,0 @@ |
2742 |
---- src5.1.4.orig/MED_SRC_5.1.4/src/MEDSPLITTER/MEDSPLITTER_SCOTCHGraph.cxx 2008-12-10 10:14:43.000000000 +0100 |
2743 |
-+++ src5.1.4/MED_SRC_5.1.4/src/MEDSPLITTER/MEDSPLITTER_SCOTCHGraph.cxx 2009-09-27 23:26:59.010112791 +0200 |
2744 |
-@@ -19,7 +19,7 @@ |
2745 |
- #include <cstdio> |
2746 |
- extern "C" { |
2747 |
- #define restrict |
2748 |
--#include "bin/scotch.h" |
2749 |
-+#include "scotch.h" |
2750 |
- } |
2751 |
- #include "MEDSPLITTER_Graph.hxx" |
2752 |
- #include "MEDSPLITTER_SCOTCHGraph.hxx" |
2753 |
|
2754 |
diff --git a/sci-misc/salome-med/metadata.xml b/sci-misc/salome-med/metadata.xml |
2755 |
deleted file mode 100644 |
2756 |
index 25c2ffe..0000000 |
2757 |
--- a/sci-misc/salome-med/metadata.xml |
2758 |
+++ /dev/null |
2759 |
@@ -1,9 +0,0 @@ |
2760 |
-<?xml version="1.0" encoding="UTF-8"?> |
2761 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
2762 |
-<pkgmetadata> |
2763 |
- <herd>sci</herd> |
2764 |
- <use> |
2765 |
- <flag name="metis">Add support for metis</flag> |
2766 |
- <flag name="scotch">Add support for scotch</flag> |
2767 |
- </use> |
2768 |
-</pkgmetadata> |
2769 |
|
2770 |
diff --git a/sci-misc/salome-med/salome-med-5.1.3.ebuild b/sci-misc/salome-med/salome-med-5.1.3.ebuild |
2771 |
deleted file mode 100644 |
2772 |
index 23fb90f..0000000 |
2773 |
--- a/sci-misc/salome-med/salome-med-5.1.3.ebuild |
2774 |
+++ /dev/null |
2775 |
@@ -1,129 +0,0 @@ |
2776 |
-# Copyright 1999-2014 Gentoo Foundation |
2777 |
-# Distributed under the terms of the GNU General Public License v2 |
2778 |
-# $Id$ |
2779 |
- |
2780 |
-EAPI=2 |
2781 |
-PYTHON_DEPEND="2:2.5" |
2782 |
- |
2783 |
-inherit eutils flag-o-matic python |
2784 |
- |
2785 |
-DESCRIPTION="The Open Source Integration Platform for Numerical Simulation - MED Component" |
2786 |
-HOMEPAGE="http://www.salome-platform.org" |
2787 |
-SRC_URI="http://files.opencascade.com/Salome/Salome${PV}/src${PV}.tar.gz" |
2788 |
- |
2789 |
-LICENSE="GPL-2" |
2790 |
-KEYWORDS="~amd64 ~x86" |
2791 |
-SLOT="0" |
2792 |
-IUSE="debug doc metis mpi opengl scotch" |
2793 |
- |
2794 |
-RDEPEND=" |
2795 |
- >=sci-misc/salome-kernel-${PV} |
2796 |
- >=sci-misc/salome-gui-${PV} |
2797 |
- >=dev-qt/qtcore-4.5.2 |
2798 |
- >=dev-qt/qtgui-4.5.2 |
2799 |
- >=dev-qt/qtopengl-4.5.2 |
2800 |
- >=dev-libs/boost-1.40.0 |
2801 |
- >=sci-libs/opencascade-6.3 |
2802 |
- >=sci-libs/med-2.3.5 |
2803 |
- >=sci-libs/vtk-5.0[python] |
2804 |
- debug? ( dev-util/cppunit ) |
2805 |
- metis? ( >=sci-libs/metis-4.0 ) |
2806 |
- mpi? ( || ( |
2807 |
- sys-cluster/openmpi[cxx] |
2808 |
- sys-cluster/mpich2[cxx] |
2809 |
- ) ) |
2810 |
- opengl? ( virtual/opengl ) |
2811 |
- scotch? ( >=sci-libs/scotch-4.0 )" |
2812 |
- |
2813 |
-DEPEND="${RDEPEND} |
2814 |
- dev-lang/swig |
2815 |
- dev-libs/libxml2:2" |
2816 |
- |
2817 |
-MODULE_NAME="MED" |
2818 |
-S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}" |
2819 |
-INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
2820 |
-MED_ROOT_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
2821 |
- |
2822 |
-pkg_setup() { |
2823 |
- [[ $(python_get_version) > 2.4 ]] && \ |
2824 |
- ewarn "Python 2.4 is highly recommended for Salome..." |
2825 |
- python_set_active_version 2 |
2826 |
-} |
2827 |
- |
2828 |
-src_prepare() { |
2829 |
- epatch "${FILESDIR}"/${P}-qt4-path.patch |
2830 |
- epatch "${FILESDIR}"/${P}-gcc.patch |
2831 |
- use mpi && epatch "${FILESDIR}"/${P}-mpi.patch |
2832 |
- use metis && epatch "${FILESDIR}"/${P}-check_metis.patch |
2833 |
- if use scotch; then |
2834 |
- epatch "${FILESDIR}"/${P}-check_scotch.patch |
2835 |
- epatch "${FILESDIR}"/${P}-scotch.patch |
2836 |
- fi |
2837 |
- use amd64 && epatch "${FILESDIR}"/${P}-med_int.patch |
2838 |
- |
2839 |
- rm -r -f autom4te.cache |
2840 |
- ./clean_configure |
2841 |
- ./build_configure |
2842 |
-} |
2843 |
- |
2844 |
-src_configure() { |
2845 |
- local myconf="" |
2846 |
- local vtk_suffix="" |
2847 |
- |
2848 |
- has_version ">=sci-libs/vtk-5.0" && vtk_suffix="-5.0" |
2849 |
- has_version ">=sci-libs/vtk-5.2" && vtk_suffix="-5.2" |
2850 |
- has_version ">=sci-libs/vtk-5.4" && vtk_suffix="-5.4" |
2851 |
- |
2852 |
-# --without-mpi does not disable mpi support, just omit it to disable |
2853 |
- if use mpi; then |
2854 |
- if has_version ">=sys-cluster/openmpi-1.2.9"; then |
2855 |
- myconf="${myconf} --with-mpi --with-openmpi" |
2856 |
- elif has_version ">=sys-cluster/mpich2-1.0.8"; then |
2857 |
- myconf="${myconf} --with-mpi --with-mpich" |
2858 |
- fi |
2859 |
- fi |
2860 |
- |
2861 |
- use amd64 && append-flags -DHAVE_F77INT64 |
2862 |
- |
2863 |
- econf --prefix=${INSTALL_DIR} \ |
2864 |
- --datadir=${INSTALL_DIR}/share/salome \ |
2865 |
- --docdir=${INSTALL_DIR}/doc/salome \ |
2866 |
- --infodir=${INSTALL_DIR}/share/info \ |
2867 |
- --libdir=${INSTALL_DIR}/$(get_libdir)/salome \ |
2868 |
- --with-python-site=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ |
2869 |
- --with-python-site-exec=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ |
2870 |
- --with-qt=/usr \ |
2871 |
- --with-vtk=${VTKHOME} \ |
2872 |
- --with-vtk-version=${vtk_suffix} \ |
2873 |
- ${myconf} \ |
2874 |
- $(use_enable debug ) \ |
2875 |
- $(use_enable !debug production ) \ |
2876 |
- $(use_with debug cppunit_inc /usr/include/cppunit) \ |
2877 |
- $(use_with opengl opengl /usr) \ |
2878 |
- $(use_with metis metis /usr) \ |
2879 |
- $(use_with scotch scotch /usr) \ |
2880 |
- || die "econf failed" |
2881 |
-} |
2882 |
- |
2883 |
-src_install() { |
2884 |
- emake DESTDIR="${D}" install || die "emake install failed" |
2885 |
- |
2886 |
- use amd64 && dosym ${INSTALL_DIR}/lib64 ${INSTALL_DIR}/lib |
2887 |
- |
2888 |
- echo "${MODULE_NAME}_ROOT_DIR=${INSTALL_DIR}" > ./90${P} |
2889 |
- echo "LDPATH=${INSTALL_DIR}/$(get_libdir)/salome" >> ./90${P} |
2890 |
- echo "PATH=${INSTALL_DIR}/bin/salome" >> ./90${P} |
2891 |
- echo "PYTHONPATH=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome" >> ./90${P} |
2892 |
- doenvd 90${P} |
2893 |
- rm adm_local/Makefile |
2894 |
- insinto "${INSTALL_DIR}" |
2895 |
- doins -r adm_local |
2896 |
- |
2897 |
- use doc && dodoc INSTALL README |
2898 |
-} |
2899 |
- |
2900 |
-pkg_postinst() { |
2901 |
- elog "Run \`env-update && source /etc/profile\`" |
2902 |
- elog "now to set up the correct paths." |
2903 |
- elog "" |
2904 |
-} |
2905 |
|
2906 |
diff --git a/sci-misc/salome-med/salome-med-5.1.4.ebuild b/sci-misc/salome-med/salome-med-5.1.4.ebuild |
2907 |
deleted file mode 100644 |
2908 |
index 5937eb0..0000000 |
2909 |
--- a/sci-misc/salome-med/salome-med-5.1.4.ebuild |
2910 |
+++ /dev/null |
2911 |
@@ -1,129 +0,0 @@ |
2912 |
-# Copyright 1999-2014 Gentoo Foundation |
2913 |
-# Distributed under the terms of the GNU General Public License v2 |
2914 |
-# $Id$ |
2915 |
- |
2916 |
-EAPI=2 |
2917 |
-PYTHON_DEPEND="2:2.5" |
2918 |
- |
2919 |
-inherit eutils flag-o-matic python |
2920 |
- |
2921 |
-DESCRIPTION="The Open Source Integration Platform for Numerical Simulation - MED Component" |
2922 |
-HOMEPAGE="http://www.salome-platform.org" |
2923 |
-SRC_URI="http://files.opencascade.com/Salome/Salome${PV}/src${PV}.tar.gz" |
2924 |
- |
2925 |
-LICENSE="GPL-2" |
2926 |
-KEYWORDS="~amd64 ~x86" |
2927 |
-SLOT="0" |
2928 |
-IUSE="debug doc metis mpi opengl scotch" |
2929 |
- |
2930 |
-RDEPEND=" |
2931 |
- >=sci-misc/salome-kernel-${PV} |
2932 |
- >=sci-misc/salome-gui-${PV} |
2933 |
- >=dev-qt/qtcore-4.5.2 |
2934 |
- >=dev-qt/qtgui-4.5.2 |
2935 |
- >=dev-qt/qtopengl-4.5.2 |
2936 |
- >=dev-libs/boost-1.40.0 |
2937 |
- >=sci-libs/opencascade-6.3 |
2938 |
- >=sci-libs/med-2.3.5 |
2939 |
- >=sci-libs/vtk-5.0[python] |
2940 |
- debug? ( dev-util/cppunit ) |
2941 |
- metis? ( >=sci-libs/metis-4.0 ) |
2942 |
- mpi? ( || ( |
2943 |
- sys-cluster/openmpi[cxx] |
2944 |
- sys-cluster/mpich2[cxx] |
2945 |
- ) ) |
2946 |
- opengl? ( virtual/opengl ) |
2947 |
- scotch? ( >=sci-libs/scotch-4.0 )" |
2948 |
-DEPEND="${RDEPEND} |
2949 |
- dev-lang/swig |
2950 |
- dev-libs/libxml2:2" |
2951 |
- |
2952 |
-MODULE_NAME="MED" |
2953 |
-S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}" |
2954 |
-INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
2955 |
-MED_ROOT_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
2956 |
- |
2957 |
-pkg_setup() { |
2958 |
- [[ $(python_get_version) > 2.4 ]] && \ |
2959 |
- ewarn "Python 2.4 is highly recommended for Salome..." |
2960 |
- python_set_active_version 2 |
2961 |
- append-ldflags $(no-as-needed) |
2962 |
-} |
2963 |
- |
2964 |
-src_prepare() { |
2965 |
- epatch "${FILESDIR}"/${P}-gcc.patch |
2966 |
- use mpi && epatch "${FILESDIR}"/${P}-mpi.patch |
2967 |
- use metis && epatch "${FILESDIR}"/${P}-check_metis.patch |
2968 |
- if use scotch; then |
2969 |
- epatch "${FILESDIR}"/${P}-check_scotch.patch |
2970 |
- epatch "${FILESDIR}"/${P}-scotch.patch |
2971 |
- fi |
2972 |
- use amd64 && epatch "${FILESDIR}"/${P}-med_int.patch |
2973 |
- |
2974 |
- rm -r -f autom4te.cache |
2975 |
- ./clean_configure |
2976 |
- ./build_configure |
2977 |
-} |
2978 |
- |
2979 |
-src_configure() { |
2980 |
- local myconf="" |
2981 |
- local vtk_suffix="" |
2982 |
- |
2983 |
- has_version ">=sci-libs/vtk-5.0" && vtk_suffix="-5.0" |
2984 |
- has_version ">=sci-libs/vtk-5.2" && vtk_suffix="-5.2" |
2985 |
- has_version ">=sci-libs/vtk-5.4" && vtk_suffix="-5.4" |
2986 |
- has_version ">=sci-libs/vtk-5.6" && vtk_suffix="-5.6" |
2987 |
- |
2988 |
-# --without-mpi does not disable mpi support, just omit it to disable |
2989 |
- if use mpi; then |
2990 |
- if has_version ">=sys-cluster/openmpi-1.2.9"; then |
2991 |
- myconf="${myconf} --with-mpi --with-openmpi" |
2992 |
- elif has_version ">=sys-cluster/mpich2-1.0.8"; then |
2993 |
- myconf="${myconf} --with-mpi --with-mpich" |
2994 |
- fi |
2995 |
- fi |
2996 |
- |
2997 |
- use amd64 && append-flags -DHAVE_F77INT64 |
2998 |
- |
2999 |
- econf --prefix=${INSTALL_DIR} \ |
3000 |
- --datadir=${INSTALL_DIR}/share/salome \ |
3001 |
- --docdir=${INSTALL_DIR}/doc/salome \ |
3002 |
- --infodir=${INSTALL_DIR}/share/info \ |
3003 |
- --libdir=${INSTALL_DIR}/$(get_libdir)/salome \ |
3004 |
- --with-python-site=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ |
3005 |
- --with-python-site-exec=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ |
3006 |
- --with-qt=/usr \ |
3007 |
- --with-vtk=${VTKHOME} \ |
3008 |
- --with-vtk-version=${vtk_suffix} \ |
3009 |
- ${myconf} \ |
3010 |
- $(use_enable debug ) \ |
3011 |
- $(use_enable !debug production ) \ |
3012 |
- $(use_with debug cppunit_inc /usr/include/cppunit) \ |
3013 |
- $(use_with opengl opengl /usr) \ |
3014 |
- $(use_with metis metis /usr) \ |
3015 |
- $(use_with scotch scotch /usr) \ |
3016 |
- || die "econf failed" |
3017 |
-} |
3018 |
- |
3019 |
-src_install() { |
3020 |
- emake DESTDIR="${D}" install || die "emake install failed" |
3021 |
- |
3022 |
- use amd64 && dosym ${INSTALL_DIR}/lib64 ${INSTALL_DIR}/lib |
3023 |
- |
3024 |
- echo "${MODULE_NAME}_ROOT_DIR=${INSTALL_DIR}" > ./90${P} |
3025 |
- echo "LDPATH=${INSTALL_DIR}/$(get_libdir)/salome" >> ./90${P} |
3026 |
- echo "PATH=${INSTALL_DIR}/bin/salome" >> ./90${P} |
3027 |
- echo "PYTHONPATH=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome" >> ./90${P} |
3028 |
- doenvd 90${P} |
3029 |
- rm adm_local/Makefile |
3030 |
- insinto "${INSTALL_DIR}" |
3031 |
- doins -r adm_local |
3032 |
- |
3033 |
- use doc && dodoc INSTALL README |
3034 |
-} |
3035 |
- |
3036 |
-pkg_postinst() { |
3037 |
- elog "Run \`env-update && source /etc/profile\`" |
3038 |
- elog "now to set up the correct paths." |
3039 |
- elog "" |
3040 |
-} |
3041 |
|
3042 |
diff --git a/sci-misc/salome-meta/ChangeLog b/sci-misc/salome-meta/ChangeLog |
3043 |
deleted file mode 100644 |
3044 |
index 39778a0..0000000 |
3045 |
--- a/sci-misc/salome-meta/ChangeLog |
3046 |
+++ /dev/null |
3047 |
@@ -1,23 +0,0 @@ |
3048 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
3049 |
-# $Id$ |
3050 |
-21 May 2008; Daniel Tourde <daniel.tourde@××××××.se> |
3051 |
- Initial import. |
3052 |
- +salome-meta-3.2.6.ebuild |
3053 |
- A major thank to Francois Dorin <f.dorin@××××.fr>, Jon Hood <squinky86@×××××.com>, Dewald Pietersen <dewald.pieterse@×××××.com>, <etienne.lorriaux@×××××.com> and Richard Westwell <garlicbread@××××××××.com> for their respective contributions and feedback. Without you guys, the Salome ebuilds would not exist today. Thanks! |
3054 |
- See bug #155974 for more info |
3055 |
- |
3056 |
-*salome-meta-5.1.4 (27 Oct 2010) |
3057 |
- |
3058 |
- 27 Oct 2010; Thomas Kahle <tomka@g.o> +salome-meta-5.1.4.ebuild: |
3059 |
- Bump to 5.1.4, ebuild by Michael Riss in bug 330303 |
3060 |
- |
3061 |
-*salome-meta-5.1.3 (14 Mar 2010) |
3062 |
- |
3063 |
- 14 Mar 2010; Etienne Lorriaux <etienne.lorriaux@×××××.com> |
3064 |
- -salome-meta-3.2.6.ebuild, +salome-meta-5.1.3.ebuild: |
3065 |
- Version bump 5.1.3 + removed broken 3.2.6 |
3066 |
- |
3067 |
- 27 Aug 2008; Oliver Borm (boroli) <oli.borm@×××.de> |
3068 |
- salome-meta-3.2.6.ebuild, -Changelog, +metadata.xml: |
3069 |
- Fixed repoman errors, removed hardcode |
3070 |
- |
3071 |
|
3072 |
diff --git a/sci-misc/salome-meta/metadata.xml b/sci-misc/salome-meta/metadata.xml |
3073 |
deleted file mode 100644 |
3074 |
index b229aec..0000000 |
3075 |
--- a/sci-misc/salome-meta/metadata.xml |
3076 |
+++ /dev/null |
3077 |
@@ -1,5 +0,0 @@ |
3078 |
-<?xml version="1.0" encoding="UTF-8"?> |
3079 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
3080 |
-<pkgmetadata> |
3081 |
-<herd>sci</herd> |
3082 |
-</pkgmetadata> |
3083 |
|
3084 |
diff --git a/sci-misc/salome-meta/salome-meta-5.1.3.ebuild b/sci-misc/salome-meta/salome-meta-5.1.3.ebuild |
3085 |
deleted file mode 100644 |
3086 |
index b7a34ba..0000000 |
3087 |
--- a/sci-misc/salome-meta/salome-meta-5.1.3.ebuild |
3088 |
+++ /dev/null |
3089 |
@@ -1,31 +0,0 @@ |
3090 |
-# Copyright 1999-2014 Gentoo Foundation |
3091 |
-# Distributed under the terms of the GNU General Public License v2 |
3092 |
-# $Id$ |
3093 |
- |
3094 |
-EAPI=2 |
3095 |
- |
3096 |
-inherit eutils |
3097 |
- |
3098 |
-DESCRIPTION="SALOME : The Open Source Integration Platform for Numerical Simulation" |
3099 |
-HOMEPAGE="http://www.salome-platform.org" |
3100 |
- |
3101 |
-LICENSE="GPL-2" |
3102 |
-SLOT="0" |
3103 |
-IUSE="debug mpi" |
3104 |
-KEYWORDS="~amd64 ~x86" |
3105 |
- |
3106 |
-RDEPEND="=sci-misc/salome-kernel-5.1.3*[debug?,mpi?] |
3107 |
- =sci-misc/salome-gui-5.1.3*[debug?] |
3108 |
- =sci-misc/salome-med-5.1.3*[debug?,mpi?] |
3109 |
- =sci-misc/salome-geom-5.1.3*[debug?] |
3110 |
- =sci-misc/salome-smesh-5.1.3*[debug?] |
3111 |
- =sci-misc/salome-visu-5.1.3*[debug?] |
3112 |
- =sci-misc/salome-component-5.1.3*[debug?,mpi?] |
3113 |
- =sci-misc/salome-yacs-5.1.3*[debug?] |
3114 |
- =sci-misc/salome-pycalculator-5.1.3*[debug?]" |
3115 |
- |
3116 |
-DEPEND="${RDEPEND}" |
3117 |
- |
3118 |
-pkg_postinst() { |
3119 |
- einfo "Salome ebuild needs further development. Please inform any problems or improvements in http://bugs.gentoo.org/show_bug.cgi?id=155974" |
3120 |
-} |
3121 |
|
3122 |
diff --git a/sci-misc/salome-meta/salome-meta-5.1.4.ebuild b/sci-misc/salome-meta/salome-meta-5.1.4.ebuild |
3123 |
deleted file mode 100644 |
3124 |
index 39f6dcf..0000000 |
3125 |
--- a/sci-misc/salome-meta/salome-meta-5.1.4.ebuild |
3126 |
+++ /dev/null |
3127 |
@@ -1,31 +0,0 @@ |
3128 |
-# Copyright 1999-2014 Gentoo Foundation |
3129 |
-# Distributed under the terms of the GNU General Public License v2 |
3130 |
-# $Id$ |
3131 |
- |
3132 |
-EAPI=2 |
3133 |
- |
3134 |
-inherit eutils |
3135 |
- |
3136 |
-DESCRIPTION="SALOME : The Open Source Integration Platform for Numerical Simulation" |
3137 |
-HOMEPAGE="http://www.salome-platform.org" |
3138 |
- |
3139 |
-LICENSE="GPL-2" |
3140 |
-SLOT="0" |
3141 |
-IUSE="debug mpi" |
3142 |
-KEYWORDS="~amd64 ~x86" |
3143 |
- |
3144 |
-RDEPEND="=sci-misc/salome-kernel-5.1.4*[debug?,mpi?] |
3145 |
- =sci-misc/salome-gui-5.1.4*[debug?] |
3146 |
- =sci-misc/salome-med-5.1.4*[debug?,mpi?] |
3147 |
- =sci-misc/salome-geom-5.1.4*[debug?] |
3148 |
- =sci-misc/salome-smesh-5.1.4*[debug?] |
3149 |
- =sci-misc/salome-visu-5.1.4*[debug?] |
3150 |
- =sci-misc/salome-component-5.1.4*[debug?,mpi?] |
3151 |
- =sci-misc/salome-yacs-5.1.4*[debug?] |
3152 |
- =sci-misc/salome-pycalculator-5.1.4*[debug?]" |
3153 |
- |
3154 |
-DEPEND="${RDEPEND}" |
3155 |
- |
3156 |
-pkg_postinst() { |
3157 |
- einfo "Salome ebuild needs further development. Please inform any problems or improvements in http://bugs.gentoo.org/show_bug.cgi?id=155974" |
3158 |
-} |
3159 |
|
3160 |
diff --git a/sci-misc/salome-pycalculator/ChangeLog b/sci-misc/salome-pycalculator/ChangeLog |
3161 |
deleted file mode 100644 |
3162 |
index 4297e79..0000000 |
3163 |
--- a/sci-misc/salome-pycalculator/ChangeLog |
3164 |
+++ /dev/null |
3165 |
@@ -1,41 +0,0 @@ |
3166 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
3167 |
-# $Id$ |
3168 |
- 10 Feb 2012; Alexey Shvetsov <alexxy@g.o> |
3169 |
- salome-pycalculator-5.1.3.ebuild, salome-pycalculator-5.1.4.ebuild: |
3170 |
- [sci-misc/salome*] Fix python depend |
3171 |
- |
3172 |
-21 May 2008; Daniel Tourde <daniel.tourde@××××××.se> |
3173 |
- Initial import. |
3174 |
- +salome-pycalculator-3.2.6.ebuild, +salome-pycalculator-3.2.6.patch |
3175 |
- A major thank to Francois Dorin <f.dorin@××××.fr>, Jon Hood <squinky86@×××××.com>, Dewald Pietersen <dewald.pieterse@×××××.com>, <etienne.lorriaux@×××××.com> and Richard Westwell <garlicbread@××××××××.com> for their respective contributions and feedback. Without you guys, the Salome ebuilds would not exist today. Thanks! |
3176 |
- See bug #155974 for more info |
3177 |
- |
3178 |
-*salome-pycalculator-5.1.4 (27 Oct 2010) |
3179 |
- |
3180 |
- 27 Oct 2010; Thomas Kahle <tomka@g.o> |
3181 |
- +salome-pycalculator-5.1.4.ebuild: |
3182 |
- Bump to 5.1.4, ebuild by Michael Riss in bug 330303 |
3183 |
- |
3184 |
- 29 Jun 2010; Justin Lecher <jlec@g.o> |
3185 |
- salome-pycalculator-5.1.3.ebuild: |
3186 |
- Python ABI fixes |
3187 |
- |
3188 |
- 04 Apr 2010; Etienne Lorriaux <etienne.lorriaux@×××××.com> |
3189 |
- salome-pycalculator-5.1.3.ebuild: |
3190 |
- changed fetch URL + cleaning |
3191 |
- |
3192 |
-*salome-pycalculator-5.1.3 (14 Mar 2010) |
3193 |
- |
3194 |
- 14 Mar 2010; Etienne Lorriaux <etienne.lorriaux@×××××.com> |
3195 |
- -salome-pycalculator-3.2.6.ebuild, -files/salome-pycalculator-3.2.6.patch, |
3196 |
- +salome-pycalculator-5.1.3.ebuild: |
3197 |
- Version bump 5.1.3 + removed broken 3.2.6 |
3198 |
- |
3199 |
- 04 Sep 2008; Oliver Borm (boroli) <oli.borm@×××.de> |
3200 |
- salome-pycalculator-3.2.6.ebuild: |
3201 |
- removed omniorb* dependencies, as they are already in salome-kernel |
3202 |
- |
3203 |
- 27 Aug 2008; Oliver Borm (boroli) <oli.borm@×××.de> |
3204 |
- salome-pycalculator-3.2.6.ebuild, -Changelog, +metadata.xml: |
3205 |
- Removed fetch restriction, removed hardcode |
3206 |
- |
3207 |
|
3208 |
diff --git a/sci-misc/salome-pycalculator/metadata.xml b/sci-misc/salome-pycalculator/metadata.xml |
3209 |
deleted file mode 100644 |
3210 |
index b229aec..0000000 |
3211 |
--- a/sci-misc/salome-pycalculator/metadata.xml |
3212 |
+++ /dev/null |
3213 |
@@ -1,5 +0,0 @@ |
3214 |
-<?xml version="1.0" encoding="UTF-8"?> |
3215 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
3216 |
-<pkgmetadata> |
3217 |
-<herd>sci</herd> |
3218 |
-</pkgmetadata> |
3219 |
|
3220 |
diff --git a/sci-misc/salome-pycalculator/salome-pycalculator-5.1.3.ebuild b/sci-misc/salome-pycalculator/salome-pycalculator-5.1.3.ebuild |
3221 |
deleted file mode 100644 |
3222 |
index 29dbe5e..0000000 |
3223 |
--- a/sci-misc/salome-pycalculator/salome-pycalculator-5.1.3.ebuild |
3224 |
+++ /dev/null |
3225 |
@@ -1,83 +0,0 @@ |
3226 |
-# Copyright 1999-2014 Gentoo Foundation |
3227 |
-# Distributed under the terms of the GNU General Public License v2 |
3228 |
-# $Id$ |
3229 |
- |
3230 |
-EAPI=2 |
3231 |
-PYTHON_DEPEND="2:2.5" |
3232 |
- |
3233 |
-inherit eutils python |
3234 |
- |
3235 |
-DESCRIPTION="SALOME : The Open Source Integration Platform for Numerical Simulation. PYCALCULATOR Component" |
3236 |
-HOMEPAGE="http://www.salome-platform.org" |
3237 |
-SRC_URI="http://files.opencascade.com/Salome/Salome${PV}/src${PV}.tar.gz" |
3238 |
- |
3239 |
-LICENSE="GPL-2" |
3240 |
-KEYWORDS="~amd64 ~x86" |
3241 |
-SLOT="0" |
3242 |
-IUSE="debug doc" |
3243 |
- |
3244 |
-RDEPEND="debug? ( dev-util/cppunit ) |
3245 |
- >=sci-misc/salome-kernel-${PV} |
3246 |
- >=sci-misc/salome-med-${PV} |
3247 |
- >=sci-misc/salome-component-${PV} |
3248 |
- >=dev-python/omniorbpy-3.4 |
3249 |
- >=net-misc/omniORB-4.1.4 |
3250 |
- >=sci-libs/med-2.3.5" |
3251 |
- |
3252 |
-DEPEND="${RDEPEND} |
3253 |
- >=app-doc/doxygen-1.5.6 |
3254 |
- media-gfx/graphviz |
3255 |
- >=dev-python/docutils-0.4" |
3256 |
- |
3257 |
-MODULE_NAME="PYCALCULATOR" |
3258 |
-S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}" |
3259 |
-INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
3260 |
-PYCALCULATOR_ROOT_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
3261 |
- |
3262 |
-pkg_setup() { |
3263 |
- [[ $(python_get_version) > 2.4 ]] && \ |
3264 |
- ewarn "Python 2.4 is highly recommended for Salome..." |
3265 |
- python_set_active_version 2 |
3266 |
-} |
3267 |
- |
3268 |
-src_prepare() { |
3269 |
- rm -r -f autom4te.cache |
3270 |
- ./build_configure |
3271 |
-} |
3272 |
- |
3273 |
-src_configure() { |
3274 |
- econf --prefix=${INSTALL_DIR} \ |
3275 |
- --datadir=${INSTALL_DIR}/share/salome \ |
3276 |
- --docdir=${INSTALL_DIR}/doc/salome \ |
3277 |
- --infodir=${INSTALL_DIR}/share/info \ |
3278 |
- --libdir=${INSTALL_DIR}/$(get_libdir)/salome \ |
3279 |
- --with-python-site=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ |
3280 |
- --with-python-site-exec=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ |
3281 |
- $(use_enable debug ) \ |
3282 |
- $(use_enable !debug production ) \ |
3283 |
- || die "econf failed" |
3284 |
-} |
3285 |
- |
3286 |
-src_install() { |
3287 |
- emake DESTDIR="${D}" install || die "emake install failed" |
3288 |
- |
3289 |
- use amd64 && dosym ${INSTALL_DIR}/lib64 ${INSTALL_DIR}/lib |
3290 |
- |
3291 |
- echo "${MODULE_NAME}_ROOT_DIR=${INSTALL_DIR}" > ./90${P} |
3292 |
- echo "LDPATH=${INSTALL_DIR}/$(get_libdir)/salome" >> ./90${P}a |
3293 |
- echo "PATH=${INSTALL_DIR}/bin/salome" >> ./90${P} |
3294 |
- echo "PYTHONPATH=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome" >> ./90${P} |
3295 |
- doenvd 90${P} |
3296 |
- rm adm_local/Makefile adm_local/unix/config_files/Makefile \ |
3297 |
- adm_local/unix/Makefile |
3298 |
- insinto "${INSTALL_DIR}" |
3299 |
- doins -r adm_local |
3300 |
- |
3301 |
- use doc && dodoc INSTALL |
3302 |
-} |
3303 |
- |
3304 |
-pkg_postinst() { |
3305 |
- elog "Run \`env-update && source /etc/profile\`" |
3306 |
- elog "now to set up the correct paths." |
3307 |
- elog "" |
3308 |
-} |
3309 |
|
3310 |
diff --git a/sci-misc/salome-pycalculator/salome-pycalculator-5.1.4.ebuild b/sci-misc/salome-pycalculator/salome-pycalculator-5.1.4.ebuild |
3311 |
deleted file mode 100644 |
3312 |
index 29dbe5e..0000000 |
3313 |
--- a/sci-misc/salome-pycalculator/salome-pycalculator-5.1.4.ebuild |
3314 |
+++ /dev/null |
3315 |
@@ -1,83 +0,0 @@ |
3316 |
-# Copyright 1999-2014 Gentoo Foundation |
3317 |
-# Distributed under the terms of the GNU General Public License v2 |
3318 |
-# $Id$ |
3319 |
- |
3320 |
-EAPI=2 |
3321 |
-PYTHON_DEPEND="2:2.5" |
3322 |
- |
3323 |
-inherit eutils python |
3324 |
- |
3325 |
-DESCRIPTION="SALOME : The Open Source Integration Platform for Numerical Simulation. PYCALCULATOR Component" |
3326 |
-HOMEPAGE="http://www.salome-platform.org" |
3327 |
-SRC_URI="http://files.opencascade.com/Salome/Salome${PV}/src${PV}.tar.gz" |
3328 |
- |
3329 |
-LICENSE="GPL-2" |
3330 |
-KEYWORDS="~amd64 ~x86" |
3331 |
-SLOT="0" |
3332 |
-IUSE="debug doc" |
3333 |
- |
3334 |
-RDEPEND="debug? ( dev-util/cppunit ) |
3335 |
- >=sci-misc/salome-kernel-${PV} |
3336 |
- >=sci-misc/salome-med-${PV} |
3337 |
- >=sci-misc/salome-component-${PV} |
3338 |
- >=dev-python/omniorbpy-3.4 |
3339 |
- >=net-misc/omniORB-4.1.4 |
3340 |
- >=sci-libs/med-2.3.5" |
3341 |
- |
3342 |
-DEPEND="${RDEPEND} |
3343 |
- >=app-doc/doxygen-1.5.6 |
3344 |
- media-gfx/graphviz |
3345 |
- >=dev-python/docutils-0.4" |
3346 |
- |
3347 |
-MODULE_NAME="PYCALCULATOR" |
3348 |
-S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}" |
3349 |
-INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
3350 |
-PYCALCULATOR_ROOT_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
3351 |
- |
3352 |
-pkg_setup() { |
3353 |
- [[ $(python_get_version) > 2.4 ]] && \ |
3354 |
- ewarn "Python 2.4 is highly recommended for Salome..." |
3355 |
- python_set_active_version 2 |
3356 |
-} |
3357 |
- |
3358 |
-src_prepare() { |
3359 |
- rm -r -f autom4te.cache |
3360 |
- ./build_configure |
3361 |
-} |
3362 |
- |
3363 |
-src_configure() { |
3364 |
- econf --prefix=${INSTALL_DIR} \ |
3365 |
- --datadir=${INSTALL_DIR}/share/salome \ |
3366 |
- --docdir=${INSTALL_DIR}/doc/salome \ |
3367 |
- --infodir=${INSTALL_DIR}/share/info \ |
3368 |
- --libdir=${INSTALL_DIR}/$(get_libdir)/salome \ |
3369 |
- --with-python-site=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ |
3370 |
- --with-python-site-exec=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ |
3371 |
- $(use_enable debug ) \ |
3372 |
- $(use_enable !debug production ) \ |
3373 |
- || die "econf failed" |
3374 |
-} |
3375 |
- |
3376 |
-src_install() { |
3377 |
- emake DESTDIR="${D}" install || die "emake install failed" |
3378 |
- |
3379 |
- use amd64 && dosym ${INSTALL_DIR}/lib64 ${INSTALL_DIR}/lib |
3380 |
- |
3381 |
- echo "${MODULE_NAME}_ROOT_DIR=${INSTALL_DIR}" > ./90${P} |
3382 |
- echo "LDPATH=${INSTALL_DIR}/$(get_libdir)/salome" >> ./90${P}a |
3383 |
- echo "PATH=${INSTALL_DIR}/bin/salome" >> ./90${P} |
3384 |
- echo "PYTHONPATH=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome" >> ./90${P} |
3385 |
- doenvd 90${P} |
3386 |
- rm adm_local/Makefile adm_local/unix/config_files/Makefile \ |
3387 |
- adm_local/unix/Makefile |
3388 |
- insinto "${INSTALL_DIR}" |
3389 |
- doins -r adm_local |
3390 |
- |
3391 |
- use doc && dodoc INSTALL |
3392 |
-} |
3393 |
- |
3394 |
-pkg_postinst() { |
3395 |
- elog "Run \`env-update && source /etc/profile\`" |
3396 |
- elog "now to set up the correct paths." |
3397 |
- elog "" |
3398 |
-} |
3399 |
|
3400 |
diff --git a/sci-misc/salome-smesh/ChangeLog b/sci-misc/salome-smesh/ChangeLog |
3401 |
deleted file mode 100644 |
3402 |
index eeb172a..0000000 |
3403 |
--- a/sci-misc/salome-smesh/ChangeLog |
3404 |
+++ /dev/null |
3405 |
@@ -1,60 +0,0 @@ |
3406 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
3407 |
-# $Id$ |
3408 |
- |
3409 |
- 03 Mar 2013; Justin Lecher <jlec@g.o> salome-smesh-5.1.3.ebuild, |
3410 |
- salome-smesh-5.1.4.ebuild, metadata.xml: |
3411 |
- Update to new qt deps names |
3412 |
- |
3413 |
- 10 Feb 2012; Alexey Shvetsov <alexxy@g.o> salome-smesh-5.1.3.ebuild, |
3414 |
- salome-smesh-5.1.4.ebuild: |
3415 |
- [sci-misc/salome*] Fix python depend |
3416 |
- |
3417 |
-*salome-smesh-5.1.4 (27 Oct 2010) |
3418 |
- |
3419 |
- 27 Oct 2010; Thomas Kahle <tomka@g.o> +salome-smesh-5.1.4.ebuild: |
3420 |
- Bump to 5.1.4, ebuild by Michael Riss in bug 330303 |
3421 |
- |
3422 |
- 29 Jun 2010; Justin Lecher <jlec@g.o> salome-smesh-5.1.3.ebuild: |
3423 |
- Python ABI fixes |
3424 |
- |
3425 |
- 04 Apr 2010; Etienne Lorriaux <etienne.lorriaux@×××××.com> |
3426 |
- salome-smesh-5.1.3.ebuild: |
3427 |
- changed fetch URL + cleaning |
3428 |
- solved typedef long med_int issues |
3429 |
- |
3430 |
-*salome-smesh-5.1.3 (14 Mar 2010) |
3431 |
- |
3432 |
- 14 Mar 2010; Etienne Lorriaux <etienne.lorriaux@×××××.com> |
3433 |
- -salome-smesh-3.2.6.ebuild, |
3434 |
- -files/salome-smesh-3.2.6-amd64-relocation-error.patch, |
3435 |
- -files/salome-smesh-3.2.6-gcc-4.3.patch, |
3436 |
- -files/salome-smesh-3.2.6-vtk-5.2.patch, |
3437 |
- -files/salome-smesh-3.2.6_makefiles.patch, |
3438 |
- -files/salome-smesh-3.2.6.patch, +salome-smesh-5.1.3.ebuild: |
3439 |
- Version bump 5.1.3 + removed broken 3.2.6 |
3440 |
- |
3441 |
- 20 Oct 2008; Daniel Tourde <daniel.tourde@××××××.se> |
3442 |
- +salome-smesh-3.2.6-vtk-5.2.patch |
3443 |
- Added support to vtk 5.2. Patch provided by Bert Karwatzki <spasswolf@×××.de> |
3444 |
- |
3445 |
- 04 Sep 2008; Oliver Borm (boroli) <oli.borm@×××.de> |
3446 |
- salome-smesh-3.2.6.ebuild: |
3447 |
- removed omniorb* dependencies, as they are already in salome-kernel |
3448 |
- |
3449 |
- 27 Aug 2008; Oliver Borm (boroli) <oli.borm@×××.de> |
3450 |
- salome-smesh-3.2.6.ebuild: |
3451 |
- Now really removed fetch restriction |
3452 |
- |
3453 |
- 27 Aug 2008; Oliver Borm (boroli) <oli.borm@×××.de> |
3454 |
- salome-smesh-3.2.6.ebuild, -Changelog, +metadata.xml: |
3455 |
- Removed fetch restriction, removed hardcode |
3456 |
- |
3457 |
- 29 May 2008; Daniel Tourde <daniel.tourde@××××××.se> |
3458 |
- +salome-smesh-3.2.6-gcc-4.3.patch |
3459 |
- Added support to gcc-4.3. Patch provided by Bert Karwatzki <spasswolf@×××.de> |
3460 |
- |
3461 |
- 21 May 2008; Daniel Tourde <daniel.tourde@××××××.se> |
3462 |
- Initial import. |
3463 |
- +salome-smesh-3.2.6.ebuild, +salome-smesh-3.2.6.patch, +salome-smesh-3.2.6_makefiles.patch |
3464 |
- A major thank to Francois Dorin <f.dorin@××××.fr>, Jon Hood <squinky86@×××××.com>, Dewald Pietersen <dewald.pieterse@×××××.com>, <etienne.lorriaux@×××××.com> and Richard Westwell <garlicbread@××××××××.com> for their respective contributions and feedback. Without you guys, the Salome ebuilds would not exist today. Thanks! |
3465 |
- See bug #155974 for more info |
3466 |
|
3467 |
diff --git a/sci-misc/salome-smesh/metadata.xml b/sci-misc/salome-smesh/metadata.xml |
3468 |
deleted file mode 100644 |
3469 |
index 897aa2e..0000000 |
3470 |
--- a/sci-misc/salome-smesh/metadata.xml |
3471 |
+++ /dev/null |
3472 |
@@ -1,5 +0,0 @@ |
3473 |
-<?xml version="1.0" encoding="UTF-8"?> |
3474 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
3475 |
-<pkgmetadata> |
3476 |
- <herd>sci</herd> |
3477 |
-</pkgmetadata> |
3478 |
|
3479 |
diff --git a/sci-misc/salome-smesh/salome-smesh-5.1.3.ebuild b/sci-misc/salome-smesh/salome-smesh-5.1.3.ebuild |
3480 |
deleted file mode 100644 |
3481 |
index 55cec40..0000000 |
3482 |
--- a/sci-misc/salome-smesh/salome-smesh-5.1.3.ebuild |
3483 |
+++ /dev/null |
3484 |
@@ -1,108 +0,0 @@ |
3485 |
-# Copyright 1999-2014 Gentoo Foundation |
3486 |
-# Distributed under the terms of the GNU General Public License v2 |
3487 |
-# $Id$ |
3488 |
- |
3489 |
-EAPI=2 |
3490 |
-PYTHON_DEPEND="2:2.5" |
3491 |
- |
3492 |
-inherit eutils flag-o-matic python |
3493 |
- |
3494 |
-DESCRIPTION="SALOME : The Open Source Integration Platform for Numerical Simulation. SMESH Component" |
3495 |
-HOMEPAGE="http://www.salome-platform.org" |
3496 |
-SRC_URI="http://files.opencascade.com/Salome/Salome${PV}/src${PV}.tar.gz" |
3497 |
- |
3498 |
-LICENSE="GPL-2" |
3499 |
-KEYWORDS="~amd64 ~x86" |
3500 |
-SLOT="0" |
3501 |
-IUSE="debug doc mpi opengl" |
3502 |
- |
3503 |
-RDEPEND="opengl? ( virtual/opengl ) |
3504 |
- mpi? ( || ( sys-cluster/openmpi[cxx] |
3505 |
- sys-cluster/mpich2[cxx] ) ) |
3506 |
- debug? ( dev-util/cppunit ) |
3507 |
- >=sci-misc/salome-kernel-${PV} |
3508 |
- >=sci-misc/salome-med-${PV} |
3509 |
- >=sci-misc/salome-geom-${PV} |
3510 |
- >=dev-python/omniorbpy-3.4 |
3511 |
- >=net-misc/omniORB-4.1.4 |
3512 |
- >=dev-qt/qtcore-4.5.2 |
3513 |
- >=dev-qt/qtgui-4.5.2 |
3514 |
- >=dev-qt/qtopengl-4.5.2 |
3515 |
- >=x11-libs/qwt-5.2 |
3516 |
- >=dev-libs/boost-1.40.0 |
3517 |
- >=sci-libs/opencascade-6.3 |
3518 |
- >=sci-libs/hdf5-1.6.4 |
3519 |
- >=sci-libs/med-2.3.5 |
3520 |
- >=sci-libs/vtk-5.0[python]" |
3521 |
- |
3522 |
-DEPEND="${RDEPEND} |
3523 |
- dev-lang/swig |
3524 |
- >=app-doc/doxygen-1.5.6 |
3525 |
- media-gfx/graphviz |
3526 |
- >=dev-python/docutils-0.4" |
3527 |
- |
3528 |
-MODULE_NAME="SMESH" |
3529 |
-S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}" |
3530 |
-INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
3531 |
-SMESH_ROOT_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
3532 |
- |
3533 |
-pkg_setup() { |
3534 |
- [[ $(python_get_version) > 2.4 ]] && \ |
3535 |
- ewarn "Python 2.4 is highly recommended for Salome..." |
3536 |
- python_set_active_version 2 |
3537 |
-} |
3538 |
- |
3539 |
-src_prepare() { |
3540 |
- rm -r -f autom4te.cache |
3541 |
- ./build_configure |
3542 |
-} |
3543 |
- |
3544 |
-src_configure() { |
3545 |
- local vtk_suffix="" |
3546 |
- |
3547 |
- has_version ">=sci-libs/vtk-5.0" && vtk_suffix="-5.0" |
3548 |
- has_version ">=sci-libs/vtk-5.2" && vtk_suffix="-5.2" |
3549 |
- has_version ">=sci-libs/vtk-5.4" && vtk_suffix="-5.4" |
3550 |
- |
3551 |
- use amd64 && append-flags -DHAVE_F77INT64 |
3552 |
- |
3553 |
- # Configuration |
3554 |
- econf --prefix=${INSTALL_DIR} \ |
3555 |
- --datadir=${INSTALL_DIR}/share/salome \ |
3556 |
- --docdir=${INSTALL_DIR}/doc/salome \ |
3557 |
- --infodir=${INSTALL_DIR}/share/info \ |
3558 |
- --libdir=${INSTALL_DIR}/$(get_libdir)/salome \ |
3559 |
- --with-python-site=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ |
3560 |
- --with-python-site-exec=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ |
3561 |
- --with-vtk=${VTKHOME} \ |
3562 |
- --with-vtk-version=${vtk_suffix} \ |
3563 |
- --with-qt='/usr' \ |
3564 |
- --with-qwt_inc='/usr/include/qwt5' \ |
3565 |
- $(use_enable debug ) \ |
3566 |
- $(use_enable !debug production ) \ |
3567 |
- $(use_with opengl opengl /usr) \ |
3568 |
- || die "econf failed" |
3569 |
-} |
3570 |
- |
3571 |
-src_install() { |
3572 |
- emake DESTDIR="${D}" install || die "emake install failed" |
3573 |
- |
3574 |
- use amd64 && dosym ${INSTALL_DIR}/lib64 ${INSTALL_DIR}/lib |
3575 |
- |
3576 |
- echo "${MODULE_NAME}_ROOT_DIR=${INSTALL_DIR}" > ./90${P} |
3577 |
- echo "LDPATH=${INSTALL_DIR}/$(get_libdir)/salome" >> ./90${P} |
3578 |
- echo "PATH=${INSTALL_DIR}/bin/salome" >> ./90${P} |
3579 |
- echo "PYTHONPATH=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome" >> ./90${P} |
3580 |
- doenvd 90${P} |
3581 |
- rm adm_local/Makefile |
3582 |
- insinto "${INSTALL_DIR}" |
3583 |
- doins -r adm_local |
3584 |
- |
3585 |
- use doc && dodoc INSTALL |
3586 |
-} |
3587 |
- |
3588 |
-pkg_postinst() { |
3589 |
- elog "Run \`env-update && source /etc/profile\`" |
3590 |
- elog "now to set up the correct paths." |
3591 |
- elog "" |
3592 |
-} |
3593 |
|
3594 |
diff --git a/sci-misc/salome-smesh/salome-smesh-5.1.4.ebuild b/sci-misc/salome-smesh/salome-smesh-5.1.4.ebuild |
3595 |
deleted file mode 100644 |
3596 |
index b9b8374..0000000 |
3597 |
--- a/sci-misc/salome-smesh/salome-smesh-5.1.4.ebuild |
3598 |
+++ /dev/null |
3599 |
@@ -1,110 +0,0 @@ |
3600 |
-# Copyright 1999-2014 Gentoo Foundation |
3601 |
-# Distributed under the terms of the GNU General Public License v2 |
3602 |
-# $Id$ |
3603 |
- |
3604 |
-EAPI=2 |
3605 |
-PYTHON_DEPEND="2:2.5" |
3606 |
- |
3607 |
-inherit eutils flag-o-matic python |
3608 |
- |
3609 |
-DESCRIPTION="SALOME : The Open Source Integration Platform for Numerical Simulation. SMESH Component" |
3610 |
-HOMEPAGE="http://www.salome-platform.org" |
3611 |
-SRC_URI="http://files.opencascade.com/Salome/Salome${PV}/src${PV}.tar.gz" |
3612 |
- |
3613 |
-LICENSE="GPL-2" |
3614 |
-KEYWORDS="~amd64 ~x86" |
3615 |
-SLOT="0" |
3616 |
-IUSE="debug doc mpi opengl" |
3617 |
- |
3618 |
-RDEPEND="opengl? ( virtual/opengl ) |
3619 |
- mpi? ( || ( sys-cluster/openmpi[cxx] |
3620 |
- sys-cluster/mpich2[cxx] ) ) |
3621 |
- debug? ( dev-util/cppunit ) |
3622 |
- >=sci-misc/salome-kernel-${PV} |
3623 |
- >=sci-misc/salome-med-${PV} |
3624 |
- >=sci-misc/salome-geom-${PV} |
3625 |
- >=dev-python/omniorbpy-3.4 |
3626 |
- >=net-misc/omniORB-4.1.4 |
3627 |
- >=dev-qt/qtcore-4.5.2 |
3628 |
- >=dev-qt/qtgui-4.5.2 |
3629 |
- >=dev-qt/qtopengl-4.5.2 |
3630 |
- >=x11-libs/qwt-5.2 |
3631 |
- >=dev-libs/boost-1.40.0 |
3632 |
- >=sci-libs/opencascade-6.3 |
3633 |
- >=sci-libs/hdf5-1.6.4 |
3634 |
- >=sci-libs/med-2.3.5 |
3635 |
- >=sci-libs/vtk-5.0[python]" |
3636 |
- |
3637 |
-DEPEND="${RDEPEND} |
3638 |
- dev-lang/swig |
3639 |
- >=app-doc/doxygen-1.5.6 |
3640 |
- media-gfx/graphviz |
3641 |
- >=dev-python/docutils-0.4" |
3642 |
- |
3643 |
-MODULE_NAME="SMESH" |
3644 |
-S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}" |
3645 |
-INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
3646 |
-SMESH_ROOT_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
3647 |
- |
3648 |
-pkg_setup() { |
3649 |
- [[ $(python_get_version) > 2.4 ]] && \ |
3650 |
- ewarn "Python 2.4 is highly recommended for Salome..." |
3651 |
- python_set_active_version 2 |
3652 |
- append-ldflags $(no-as-needed) |
3653 |
-} |
3654 |
- |
3655 |
-src_prepare() { |
3656 |
- rm -r -f autom4te.cache |
3657 |
- ./build_configure |
3658 |
-} |
3659 |
- |
3660 |
-src_configure() { |
3661 |
- local vtk_suffix="" |
3662 |
- |
3663 |
- has_version ">=sci-libs/vtk-5.0" && vtk_suffix="-5.0" |
3664 |
- has_version ">=sci-libs/vtk-5.2" && vtk_suffix="-5.2" |
3665 |
- has_version ">=sci-libs/vtk-5.4" && vtk_suffix="-5.4" |
3666 |
- has_version ">=sci-libs/vtk-5.6" && vtk_suffix="-5.6" |
3667 |
- |
3668 |
- use amd64 && append-flags -DHAVE_F77INT64 |
3669 |
- |
3670 |
- # Configuration |
3671 |
- econf --prefix=${INSTALL_DIR} \ |
3672 |
- --datadir=${INSTALL_DIR}/share/salome \ |
3673 |
- --docdir=${INSTALL_DIR}/doc/salome \ |
3674 |
- --infodir=${INSTALL_DIR}/share/info \ |
3675 |
- --libdir=${INSTALL_DIR}/$(get_libdir)/salome \ |
3676 |
- --with-python-site=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ |
3677 |
- --with-python-site-exec=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ |
3678 |
- --with-vtk=${VTKHOME} \ |
3679 |
- --with-vtk-version=${vtk_suffix} \ |
3680 |
- --with-qt='/usr' \ |
3681 |
- --with-qwt_inc='/usr/include/qwt5' \ |
3682 |
- $(use_enable debug ) \ |
3683 |
- $(use_enable !debug production ) \ |
3684 |
- $(use_with opengl opengl /usr) \ |
3685 |
- || die "econf failed" |
3686 |
-} |
3687 |
- |
3688 |
-src_install() { |
3689 |
- emake DESTDIR="${D}" install || die "emake install failed" |
3690 |
- |
3691 |
- use amd64 && dosym ${INSTALL_DIR}/lib64 ${INSTALL_DIR}/lib |
3692 |
- |
3693 |
- echo "${MODULE_NAME}_ROOT_DIR=${INSTALL_DIR}" > ./90${P} |
3694 |
- echo "LDPATH=${INSTALL_DIR}/$(get_libdir)/salome" >> ./90${P} |
3695 |
- echo "PATH=${INSTALL_DIR}/bin/salome" >> ./90${P} |
3696 |
- echo "PYTHONPATH=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome" >> ./90${P} |
3697 |
- doenvd 90${P} |
3698 |
- rm adm_local/Makefile |
3699 |
- insinto "${INSTALL_DIR}" |
3700 |
- doins -r adm_local |
3701 |
- |
3702 |
- use doc && dodoc INSTALL |
3703 |
-} |
3704 |
- |
3705 |
-pkg_postinst() { |
3706 |
- elog "Run \`env-update && source /etc/profile\`" |
3707 |
- elog "now to set up the correct paths." |
3708 |
- elog "" |
3709 |
-} |
3710 |
|
3711 |
diff --git a/sci-misc/salome-visu/ChangeLog b/sci-misc/salome-visu/ChangeLog |
3712 |
deleted file mode 100644 |
3713 |
index 8b5c309..0000000 |
3714 |
--- a/sci-misc/salome-visu/ChangeLog |
3715 |
+++ /dev/null |
3716 |
@@ -1,49 +0,0 @@ |
3717 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
3718 |
-# $Id$ |
3719 |
- |
3720 |
- 03 Mar 2013; Justin Lecher <jlec@g.o> salome-visu-5.1.3.ebuild, |
3721 |
- salome-visu-5.1.4.ebuild, metadata.xml: |
3722 |
- Update to new qt deps names |
3723 |
- |
3724 |
- 10 Feb 2012; Alexey Shvetsov <alexxy@g.o> salome-visu-5.1.3.ebuild, |
3725 |
- salome-visu-5.1.4.ebuild: |
3726 |
- [sci-misc/salome*] Fix python depend |
3727 |
- |
3728 |
-*salome-visu-5.1.4 (27 Oct 2010) |
3729 |
- |
3730 |
- 27 Oct 2010; Thomas Kahle <tomka@g.o> +salome-visu-5.1.4.ebuild: |
3731 |
- Bump to 5.1.4, ebuild by Michael Riss in bug 330303 |
3732 |
- |
3733 |
- 29 Jun 2010; Justin Lecher <jlec@g.o> salome-visu-5.1.3.ebuild: |
3734 |
- Python ABI fixes |
3735 |
- |
3736 |
- 04 Apr 2010; Etienne Lorriaux <etienne.lorriaux@×××××.com> |
3737 |
- salome-visu-5.1.3.ebuild: |
3738 |
- changed fetch URL + cleaning |
3739 |
- solved typedef long med_int issues |
3740 |
- |
3741 |
-*salome-visu-5.1.3 (14 Mar 2010) |
3742 |
- |
3743 |
- 14 Mar 2010; Etienne Lorriaux <etienne.lorriaux@×××××.com> |
3744 |
- -salome-visu-3.2.6.ebuild, -files/salome-visu-3.2.6-gcc-4.3.patch, |
3745 |
- -files/salome-visu-3.2.6_makefiles.patch, -files/salome-visu-3.2.6.patch, |
3746 |
- +salome-visu-5.1.3.ebuild: |
3747 |
- Version bump 5.1.3 + removed broken 3.2.6 |
3748 |
- |
3749 |
- 04 Sep 2008; Oliver Borm (boroli) <oli.borm@×××.de> |
3750 |
- salome-visu-3.2.6.ebuild: |
3751 |
- removed omniorb* dependencies, as they are already in salome-kernel |
3752 |
- |
3753 |
- 27 Aug 2008; Oliver Borm (boroli) <oli.borm@×××.de> |
3754 |
- salome-visu-3.2.6.ebuild, -Changelog, +metadata.xml: |
3755 |
- Removed fetch restriction, removed hardcode |
3756 |
- |
3757 |
- 29 May 2008; Daniel Tourde <daniel.tourde@××××××.se> |
3758 |
- +salome-visu-3.2.6-gcc-4.3.patch |
3759 |
- Added support to gcc-4.3. Patch provided by Bert Karwatzki <spasswolf@×××.de> |
3760 |
- |
3761 |
- 21 May 2008; Daniel Tourde <daniel.tourde@××××××.se> |
3762 |
- Initial import. |
3763 |
- +salome-visu-3.2.6.ebuild, +salome-visu-3.2.6.patch, +salome-visu-3.2.6_makefiles.patch |
3764 |
- A major thank to Francois Dorin <f.dorin@××××.fr>, Jon Hood <squinky86@×××××.com>, Dewald Pietersen <dewald.pieterse@×××××.com>, <etienne.lorriaux@×××××.com> and Richard Westwell <garlicbread@××××××××.com> for their respective contributions and feedback. Without you guys, the Salome ebuilds would not exist today. Thanks! |
3765 |
- See bug #155974 for more info |
3766 |
|
3767 |
diff --git a/sci-misc/salome-visu/metadata.xml b/sci-misc/salome-visu/metadata.xml |
3768 |
deleted file mode 100644 |
3769 |
index 897aa2e..0000000 |
3770 |
--- a/sci-misc/salome-visu/metadata.xml |
3771 |
+++ /dev/null |
3772 |
@@ -1,5 +0,0 @@ |
3773 |
-<?xml version="1.0" encoding="UTF-8"?> |
3774 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
3775 |
-<pkgmetadata> |
3776 |
- <herd>sci</herd> |
3777 |
-</pkgmetadata> |
3778 |
|
3779 |
diff --git a/sci-misc/salome-visu/salome-visu-5.1.3.ebuild b/sci-misc/salome-visu/salome-visu-5.1.3.ebuild |
3780 |
deleted file mode 100644 |
3781 |
index 04419dc..0000000 |
3782 |
--- a/sci-misc/salome-visu/salome-visu-5.1.3.ebuild |
3783 |
+++ /dev/null |
3784 |
@@ -1,103 +0,0 @@ |
3785 |
-# Copyright 1999-2014 Gentoo Foundation |
3786 |
-# Distributed under the terms of the GNU General Public License v2 |
3787 |
-# $Id$ |
3788 |
- |
3789 |
-EAPI=2 |
3790 |
-PYTHON_DEPEND="2:2.5" |
3791 |
- |
3792 |
-inherit eutils flag-o-matic python |
3793 |
- |
3794 |
-DESCRIPTION="SALOME : The Open Source Integration Platform for Numerical Simulation. VISU Component" |
3795 |
-HOMEPAGE="http://www.salome-platform.org" |
3796 |
-SRC_URI="http://files.opencascade.com/Salome/Salome${PV}/src${PV}.tar.gz" |
3797 |
- |
3798 |
-LICENSE="GPL-2" |
3799 |
-KEYWORDS="~amd64 ~x86" |
3800 |
-SLOT="0" |
3801 |
-IUSE="debug doc opengl" |
3802 |
- |
3803 |
-RDEPEND="opengl? ( virtual/opengl ) |
3804 |
- >=dev-python/omniorbpy-3.4 |
3805 |
- >=net-misc/omniORB-4.1.4 |
3806 |
- >=sci-misc/salome-kernel-${PV} |
3807 |
- >=sci-misc/salome-gui-${PV} |
3808 |
- >=sci-misc/salome-component-${PV} |
3809 |
- >=dev-qt/qtcore-4.5.2 |
3810 |
- >=dev-qt/qtgui-4.5.2 |
3811 |
- >=dev-qt/qtopengl-4.5.2 |
3812 |
- >=dev-libs/boost-1.40.0 |
3813 |
- >=sci-libs/opencascade-6.3 |
3814 |
- >=sci-libs/hdf5-1.6.4 |
3815 |
- >=sci-libs/med-2.3.5 |
3816 |
- >=sci-libs/vtk-5.0[python]" |
3817 |
- |
3818 |
-DEPEND="${RDEPEND} |
3819 |
- dev-lang/swig |
3820 |
- >=app-doc/doxygen-1.5.6 |
3821 |
- media-gfx/graphviz |
3822 |
- >=dev-python/docutils-0.4" |
3823 |
- |
3824 |
-MODULE_NAME="VISU" |
3825 |
-S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}" |
3826 |
-INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
3827 |
-VISU_ROOT_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
3828 |
- |
3829 |
-pkg_setup() { |
3830 |
- [[ $(python_get_version) > 2.4 ]] && \ |
3831 |
- ewarn "Python 2.4 is highly recommended for Salome..." |
3832 |
- python_set_active_version 2 |
3833 |
-} |
3834 |
- |
3835 |
-src_prepare() { |
3836 |
- rm -r -f autom4te.cache |
3837 |
- ./build_configure |
3838 |
-} |
3839 |
- |
3840 |
-src_configure() { |
3841 |
- local vtk_suffix="" |
3842 |
- |
3843 |
- has_version ">=sci-libs/vtk-5.0" && vtk_suffix="-5.0" |
3844 |
- has_version ">=sci-libs/vtk-5.2" && vtk_suffix="-5.2" |
3845 |
- has_version ">=sci-libs/vtk-5.4" && vtk_suffix="-5.4" |
3846 |
- |
3847 |
- use amd64 && append-flags -DHAVE_F77INT64 |
3848 |
- |
3849 |
- econf --prefix=${INSTALL_DIR} \ |
3850 |
- --datadir=${INSTALL_DIR}/share/salome \ |
3851 |
- --docdir=${INSTALL_DIR}/doc/salome \ |
3852 |
- --infodir=${INSTALL_DIR}/share/info \ |
3853 |
- --libdir=${INSTALL_DIR}/$(get_libdir)/salome \ |
3854 |
- --with-python-site=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ |
3855 |
- --with-python-site-exec=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ |
3856 |
- --with-vtk=${VTKHOME} \ |
3857 |
- --with-vtk-version=${vtk_suffix} \ |
3858 |
- --with-qt="/usr" \ |
3859 |
- --with-qwt_inc="/usr/include/qwt5" \ |
3860 |
- $(use_enable debug ) \ |
3861 |
- $(use_enable !debug production ) \ |
3862 |
- $(use_with opengl opengl /usr) \ |
3863 |
- || die "econf failed" |
3864 |
-} |
3865 |
- |
3866 |
-src_install() { |
3867 |
- emake DESTDIR="${D}" install || die "emake install failed" |
3868 |
- |
3869 |
- use amd64 && dosym ${INSTALL_DIR}/lib64 ${INSTALL_DIR}/lib |
3870 |
- |
3871 |
- echo "${MODULE_NAME}_ROOT_DIR=${INSTALL_DIR}" > ./90${P} |
3872 |
- echo "LDPATH=${INSTALL_DIR}/$(get_libdir)/salome" >> ./90${P} |
3873 |
- echo "PATH=${INSTALL_DIR}/bin/salome" >> ./90${P} |
3874 |
- echo "PYTHONPATH=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome" >> ./90${P} |
3875 |
- doenvd 90${P} |
3876 |
- rm adm_local/Makefile |
3877 |
- insinto "${INSTALL_DIR}" |
3878 |
- doins -r adm_local |
3879 |
- |
3880 |
- use doc && dodoc INSTALL |
3881 |
-} |
3882 |
- |
3883 |
-pkg_postinst() { |
3884 |
- elog "Run \`env-update && source /etc/profile\`" |
3885 |
- elog "now to set up the correct paths." |
3886 |
- elog "" |
3887 |
-} |
3888 |
|
3889 |
diff --git a/sci-misc/salome-visu/salome-visu-5.1.4.ebuild b/sci-misc/salome-visu/salome-visu-5.1.4.ebuild |
3890 |
deleted file mode 100644 |
3891 |
index 84cdcf8..0000000 |
3892 |
--- a/sci-misc/salome-visu/salome-visu-5.1.4.ebuild |
3893 |
+++ /dev/null |
3894 |
@@ -1,105 +0,0 @@ |
3895 |
-# Copyright 1999-2014 Gentoo Foundation |
3896 |
-# Distributed under the terms of the GNU General Public License v2 |
3897 |
-# $Id$ |
3898 |
- |
3899 |
-EAPI=2 |
3900 |
-PYTHON_DEPEND="2:2.5" |
3901 |
- |
3902 |
-inherit eutils flag-o-matic python |
3903 |
- |
3904 |
-DESCRIPTION="SALOME : The Open Source Integration Platform for Numerical Simulation. VISU Component" |
3905 |
-HOMEPAGE="http://www.salome-platform.org" |
3906 |
-SRC_URI="http://files.opencascade.com/Salome/Salome${PV}/src${PV}.tar.gz" |
3907 |
- |
3908 |
-LICENSE="GPL-2" |
3909 |
-KEYWORDS="~amd64 ~x86" |
3910 |
-SLOT="0" |
3911 |
-IUSE="debug doc opengl" |
3912 |
- |
3913 |
-RDEPEND="opengl? ( virtual/opengl ) |
3914 |
- >=dev-python/omniorbpy-3.4 |
3915 |
- >=net-misc/omniORB-4.1.4 |
3916 |
- >=sci-misc/salome-kernel-${PV} |
3917 |
- >=sci-misc/salome-gui-${PV} |
3918 |
- >=sci-misc/salome-component-${PV} |
3919 |
- >=dev-qt/qtcore-4.5.2 |
3920 |
- >=dev-qt/qtgui-4.5.2 |
3921 |
- >=dev-qt/qtopengl-4.5.2 |
3922 |
- >=dev-libs/boost-1.40.0 |
3923 |
- >=sci-libs/opencascade-6.3 |
3924 |
- >=sci-libs/hdf5-1.6.4 |
3925 |
- >=sci-libs/med-2.3.5 |
3926 |
- >=sci-libs/vtk-5.0[python]" |
3927 |
- |
3928 |
-DEPEND="${RDEPEND} |
3929 |
- dev-lang/swig |
3930 |
- >=app-doc/doxygen-1.5.6 |
3931 |
- media-gfx/graphviz |
3932 |
- >=dev-python/docutils-0.4" |
3933 |
- |
3934 |
-MODULE_NAME="VISU" |
3935 |
-S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}" |
3936 |
-INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
3937 |
-VISU_ROOT_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
3938 |
- |
3939 |
-pkg_setup() { |
3940 |
- [[ $(python_get_version) > 2.4 ]] && \ |
3941 |
- ewarn "Python 2.4 is highly recommended for Salome..." |
3942 |
- python_set_active_version 2 |
3943 |
- append-ldflags $(no-as-needed) |
3944 |
-} |
3945 |
- |
3946 |
-src_prepare() { |
3947 |
- rm -r -f autom4te.cache |
3948 |
- ./build_configure |
3949 |
-} |
3950 |
- |
3951 |
-src_configure() { |
3952 |
- local vtk_suffix="" |
3953 |
- |
3954 |
- has_version ">=sci-libs/vtk-5.0" && vtk_suffix="-5.0" |
3955 |
- has_version ">=sci-libs/vtk-5.2" && vtk_suffix="-5.2" |
3956 |
- has_version ">=sci-libs/vtk-5.4" && vtk_suffix="-5.4" |
3957 |
- has_version ">=sci-libs/vtk-5.6" && vtk_suffix="-5.6" |
3958 |
- |
3959 |
- use amd64 && append-flags -DHAVE_F77INT64 |
3960 |
- |
3961 |
- econf --prefix=${INSTALL_DIR} \ |
3962 |
- --datadir=${INSTALL_DIR}/share/salome \ |
3963 |
- --docdir=${INSTALL_DIR}/doc/salome \ |
3964 |
- --infodir=${INSTALL_DIR}/share/info \ |
3965 |
- --libdir=${INSTALL_DIR}/$(get_libdir)/salome \ |
3966 |
- --with-python-site=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ |
3967 |
- --with-python-site-exec=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ |
3968 |
- --with-vtk=${VTKHOME} \ |
3969 |
- --with-vtk-version=${vtk_suffix} \ |
3970 |
- --with-qt="/usr" \ |
3971 |
- --with-qwt_inc="/usr/include/qwt5" \ |
3972 |
- $(use_enable debug ) \ |
3973 |
- $(use_enable !debug production ) \ |
3974 |
- $(use_with opengl opengl /usr) \ |
3975 |
- || die "econf failed" |
3976 |
-} |
3977 |
- |
3978 |
-src_install() { |
3979 |
- emake DESTDIR="${D}" install || die "emake install failed" |
3980 |
- |
3981 |
- use amd64 && dosym ${INSTALL_DIR}/lib64 ${INSTALL_DIR}/lib |
3982 |
- |
3983 |
- echo "${MODULE_NAME}_ROOT_DIR=${INSTALL_DIR}" > ./90${P} |
3984 |
- echo "LDPATH=${INSTALL_DIR}/$(get_libdir)/salome" >> ./90${P} |
3985 |
- echo "PATH=${INSTALL_DIR}/bin/salome" >> ./90${P} |
3986 |
- echo "PYTHONPATH=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome" >> ./90${P} |
3987 |
- doenvd 90${P} |
3988 |
- rm adm_local/Makefile |
3989 |
- insinto "${INSTALL_DIR}" |
3990 |
- doins -r adm_local |
3991 |
- |
3992 |
- use doc && dodoc INSTALL |
3993 |
-} |
3994 |
- |
3995 |
-pkg_postinst() { |
3996 |
- elog "Run \`env-update && source /etc/profile\`" |
3997 |
- elog "now to set up the correct paths." |
3998 |
- elog "" |
3999 |
-} |
4000 |
|
4001 |
diff --git a/sci-misc/salome-yacs/ChangeLog b/sci-misc/salome-yacs/ChangeLog |
4002 |
deleted file mode 100644 |
4003 |
index 919ee33..0000000 |
4004 |
--- a/sci-misc/salome-yacs/ChangeLog |
4005 |
+++ /dev/null |
4006 |
@@ -1,37 +0,0 @@ |
4007 |
-# ChangeLog for sci-misc/salome-yacs |
4008 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
4009 |
-# $Id$ |
4010 |
- |
4011 |
- 03 Mar 2013; Justin Lecher <jlec@g.o> salome-yacs-5.1.3.ebuild, |
4012 |
- salome-yacs-5.1.4.ebuild, metadata.xml: |
4013 |
- Update to new qt deps names |
4014 |
- |
4015 |
- 10 Feb 2012; Alexey Shvetsov <alexxy@g.o> salome-yacs-5.1.3.ebuild, |
4016 |
- salome-yacs-5.1.4.ebuild: |
4017 |
- [sci-misc/salome*] Fix python depend |
4018 |
- |
4019 |
- 07 Mar 2011; Justin Lecher <jlec@g.o> salome-yacs-5.1.3.ebuild, |
4020 |
- salome-yacs-5.1.4.ebuild: |
4021 |
- Correct Slots for gtk 3 introduction to tree |
4022 |
- |
4023 |
-*salome-yacs-5.1.4 (27 Oct 2010) |
4024 |
- |
4025 |
- 27 Oct 2010; Thomas Kahle <tomka@g.o> +salome-yacs-5.1.4.ebuild, |
4026 |
- +files/salome-yacs-5.1.4-ac_python_devel.patch: |
4027 |
- Bump to 5.1.4, ebuild by Michael Riss in bug 330303 |
4028 |
- |
4029 |
- 29 Jun 2010; Justin Lecher <jlec@g.o> salome-yacs-5.1.3.ebuild: |
4030 |
- Python ABI fixes |
4031 |
- |
4032 |
- 04 Apr 2010; Etienne Lorriaux <etienne.lorriaux@×××××.com> |
4033 |
- salome-yacs-5.1.3.ebuild: |
4034 |
- changed fetch URL + cleaning |
4035 |
- |
4036 |
-*salome-yacs-5.1.3 (14 Mar 2010) |
4037 |
- |
4038 |
- 14 Mar 2010; Etienne Lorriaux <etienne.lorriaux@×××××.com> |
4039 |
- +salome-yacs-5.1.3.ebuild, +files/salome-yacs-5.1.3-ac_python_devel.patch, |
4040 |
- +files/salome-yacs-5.1.3-lib_location.patch, |
4041 |
- +files/salome-yacs-5.1.3-libdir.patch, +metadata.xml: |
4042 |
- New entry as a component of salome-5.1.3 |
4043 |
- |
4044 |
|
4045 |
diff --git a/sci-misc/salome-yacs/files/salome-yacs-5.1.3-ac_python_devel.patch b/sci-misc/salome-yacs/files/salome-yacs-5.1.3-ac_python_devel.patch |
4046 |
deleted file mode 100644 |
4047 |
index 6c83be8..0000000 |
4048 |
--- a/sci-misc/salome-yacs/files/salome-yacs-5.1.3-ac_python_devel.patch |
4049 |
+++ /dev/null |
4050 |
@@ -1,13 +0,0 @@ |
4051 |
-Files src5.1.3.orig/YACS_SRC_5.1.3/adm/unix/config_files/.ac_python_devel.m4.swp and src5.1.3/YACS_SRC_5.1.3/adm/unix/config_files/.ac_python_devel.m4.swp differ |
4052 |
-diff -ur src5.1.3.orig/YACS_SRC_5.1.3/adm/unix/config_files/ac_python_devel.m4 src5.1.3/YACS_SRC_5.1.3/adm/unix/config_files/ac_python_devel.m4 |
4053 |
---- src5.1.3.orig/YACS_SRC_5.1.3/adm/unix/config_files/ac_python_devel.m4 2010-03-08 20:51:25.810829226 +0100 |
4054 |
-+++ src5.1.3/YACS_SRC_5.1.3/adm/unix/config_files/ac_python_devel.m4 2010-03-08 20:53:41.330413913 +0100 |
4055 |
-@@ -48,7 +48,7 @@ |
4056 |
- # Check for Python library path |
4057 |
- AC_MSG_CHECKING([for Python library path]) |
4058 |
- python_path=`echo $PYTHON | sed "s,/bin.*$,,"` |
4059 |
-- for i in "$python_path/lib/python$PYTHON_VERSION/config/" "$python_path/lib/python$PYTHON_VERSION/" "$python_path/lib/python/config/" "$python_path/lib/python/" "$python_path/" ; do |
4060 |
-+ for i in "$python_path/lib$LIB_LOCATION_SUFFIX" "$python_path/lib$LIB_LOCATION_SUFFIX/python$PYTHON_VERSION/config/" "$python_path/lib$LIB_LOCATION_SUFFIX/python$PYTHON_VERSION/" "$python_path/lib$LIB_LOCATION_SUFFIX/python/config/" "$python_path/lib$LIB_LOCATION_SUFFIX/python/" "$python_path/" ; do |
4061 |
- python_path=`find $i -type f -name libpython$PYTHON_VERSION.* -print | sed "1q"` |
4062 |
- if test -n "$python_path" ; then |
4063 |
- break |
4064 |
|
4065 |
diff --git a/sci-misc/salome-yacs/files/salome-yacs-5.1.3-lib_location.patch b/sci-misc/salome-yacs/files/salome-yacs-5.1.3-lib_location.patch |
4066 |
deleted file mode 100644 |
4067 |
index 9eb8035..0000000 |
4068 |
--- a/sci-misc/salome-yacs/files/salome-yacs-5.1.3-lib_location.patch |
4069 |
+++ /dev/null |
4070 |
@@ -1,14 +0,0 @@ |
4071 |
-diff -ur src5.1.3.orig/YACS_SRC_5.1.3/adm/unix/config_files/ac_linker_options.m4 src5.1.3/YACS_SRC_5.1.3/adm/unix/config_files/ac_linker_options.m4 |
4072 |
---- src5.1.3.orig/YACS_SRC_5.1.3/adm/unix/config_files/ac_linker_options.m4 2010-03-08 20:39:54.160326435 +0100 |
4073 |
-+++ src5.1.3/YACS_SRC_5.1.3/adm/unix/config_files/ac_linker_options.m4 2010-03-08 20:40:58.590323448 +0100 |
4074 |
-@@ -23,6 +23,10 @@ |
4075 |
- |
4076 |
- AC_CHECKING(for LIB_LOCATION_SUFFIX) |
4077 |
- LIB_LOCATION_SUFFIX="" |
4078 |
-+ case "$build_cpu" in |
4079 |
-+ x86_64*) LIB_LOCATION_SUFFIX="64" ;; |
4080 |
-+ *) LIB_LOCATION_SUFFIX="" ;; |
4081 |
-+ esac |
4082 |
- AC_SUBST(LIB_LOCATION_SUFFIX) |
4083 |
- AC_MSG_RESULT(LIB_LOCATION_SUFFIX is $LIB_LOCATION_SUFFIX) |
4084 |
- |
4085 |
|
4086 |
diff --git a/sci-misc/salome-yacs/files/salome-yacs-5.1.3-libdir.patch b/sci-misc/salome-yacs/files/salome-yacs-5.1.3-libdir.patch |
4087 |
deleted file mode 100644 |
4088 |
index b4a2a50..0000000 |
4089 |
--- a/sci-misc/salome-yacs/files/salome-yacs-5.1.3-libdir.patch |
4090 |
+++ /dev/null |
4091 |
@@ -1,22 +0,0 @@ |
4092 |
---- src5.1.3.orig/YACS_SRC_5.1.3/adm/unix/make_begin.am 2010-03-10 15:45:32.281101526 +0100 |
4093 |
-+++ src5.1.3/YACS_SRC_5.1.3/adm/unix/make_begin.am 2010-03-10 15:46:58.440251953 +0100 |
4094 |
-@@ -22,7 +22,7 @@ |
4095 |
- |
4096 |
- # Standard directory for installation |
4097 |
- salomeincludedir = $(includedir)/salome |
4098 |
--libdir = $(prefix)/lib/salome |
4099 |
-+libdir = $(prefix)/lib@LIB_LOCATION_SUFFIX@/salome |
4100 |
- bindir = $(prefix)/bin/salome |
4101 |
- salomescriptdir = $(bindir) |
4102 |
- salomepythondir = $(pythondir)/salome |
4103 |
---- src5.1.3.orig/YACS_SRC_5.1.3/src/genericgui/Makefile.am 2010-03-10 16:26:05.424066867 +0100 |
4104 |
-+++ src5.1.3/YACS_SRC_5.1.3/src/genericgui/Makefile.am 2010-03-10 16:26:41.450302694 +0100 |
4105 |
-@@ -16,7 +16,7 @@ |
4106 |
- # |
4107 |
- # See http://www.salome-platform.org/ or email : webmaster.salome@×××××××××××.com |
4108 |
- # |
4109 |
--libdir = $(prefix)/lib/salome |
4110 |
-+libdir = $(prefix)/lib@LIB_LOCATION_SUFFIX@/salome |
4111 |
- bindir = $(prefix)/bin/salome |
4112 |
- |
4113 |
- lib_LTLIBRARIES = libGenericGui.la |
4114 |
|
4115 |
diff --git a/sci-misc/salome-yacs/files/salome-yacs-5.1.4-ac_python_devel.patch b/sci-misc/salome-yacs/files/salome-yacs-5.1.4-ac_python_devel.patch |
4116 |
deleted file mode 100644 |
4117 |
index d6ed54d..0000000 |
4118 |
--- a/sci-misc/salome-yacs/files/salome-yacs-5.1.4-ac_python_devel.patch |
4119 |
+++ /dev/null |
4120 |
@@ -1,12 +0,0 @@ |
4121 |
-diff -ur src5.1.4.orig/YACS_SRC_5.1.4/adm/unix/config_files/ac_python_devel.m4 src5.1.3/YACS_SRC_5.1.3/adm/unix/config_files/ac_python_devel.m4 |
4122 |
---- src5.1.4.orig/YACS_SRC_5.1.4/adm/unix/config_files/ac_python_devel.m4 2010-03-08 20:51:25.810829226 +0100 |
4123 |
-+++ src5.1.4/YACS_SRC_5.1.4/adm/unix/config_files/ac_python_devel.m4 2010-03-08 20:53:41.330413913 +0100 |
4124 |
-@@ -48,7 +48,7 @@ |
4125 |
- # Check for Python library path |
4126 |
- AC_MSG_CHECKING([for Python library path]) |
4127 |
- python_path=`echo $PYTHON | sed "s,/bin.*$,,"` |
4128 |
-- for i in "$python_path/lib/python$PYTHON_VERSION/config/" "$python_path/lib/python$PYTHON_VERSION/" "$python_path/lib/python/config/" "$python_path/lib/python/" "$python_path/" ; do |
4129 |
-+ for i in "$python_path/lib$LIB_LOCATION_SUFFIX" "$python_path/lib$LIB_LOCATION_SUFFIX/python$PYTHON_VERSION/config/" "$python_path/lib$LIB_LOCATION_SUFFIX/python$PYTHON_VERSION/" "$python_path/lib$LIB_LOCATION_SUFFIX/python/config/" "$python_path/lib$LIB_LOCATION_SUFFIX/python/" "$python_path/" ; do |
4130 |
- python_path=`find $i -type f -name libpython$PYTHON_VERSION.* -print | sed "1q"` |
4131 |
- if test -n "$python_path" ; then |
4132 |
- break |
4133 |
|
4134 |
diff --git a/sci-misc/salome-yacs/metadata.xml b/sci-misc/salome-yacs/metadata.xml |
4135 |
deleted file mode 100644 |
4136 |
index 897aa2e..0000000 |
4137 |
--- a/sci-misc/salome-yacs/metadata.xml |
4138 |
+++ /dev/null |
4139 |
@@ -1,5 +0,0 @@ |
4140 |
-<?xml version="1.0" encoding="UTF-8"?> |
4141 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
4142 |
-<pkgmetadata> |
4143 |
- <herd>sci</herd> |
4144 |
-</pkgmetadata> |
4145 |
|
4146 |
diff --git a/sci-misc/salome-yacs/salome-yacs-5.1.3.ebuild b/sci-misc/salome-yacs/salome-yacs-5.1.3.ebuild |
4147 |
deleted file mode 100644 |
4148 |
index c9d26d9..0000000 |
4149 |
--- a/sci-misc/salome-yacs/salome-yacs-5.1.3.ebuild |
4150 |
+++ /dev/null |
4151 |
@@ -1,102 +0,0 @@ |
4152 |
-# Copyright 1999-2014 Gentoo Foundation |
4153 |
-# Distributed under the terms of the GNU General Public License v2 |
4154 |
-# $Id$ |
4155 |
- |
4156 |
-EAPI=2 |
4157 |
-PYTHON_DEPEND="2:2.5" |
4158 |
- |
4159 |
-inherit eutils python |
4160 |
- |
4161 |
-DESCRIPTION="The Open Source Integration Platform for Numerical Simulation - YACS component" |
4162 |
-HOMEPAGE="http://www.salome-platform.org" |
4163 |
-SRC_URI="http://files.opencascade.com/Salome/Salome${PV}/src${PV}.tar.gz" |
4164 |
- |
4165 |
-LICENSE="GPL-2" |
4166 |
-KEYWORDS="~amd64 ~x86" |
4167 |
-SLOT="0" |
4168 |
-IUSE="debug doc opengl" |
4169 |
- |
4170 |
-RDEPEND=" |
4171 |
- debug? ( dev-util/cppunit ) |
4172 |
- opengl? ( virtual/opengl ) |
4173 |
- >=sci-misc/salome-kernel-${PV} |
4174 |
- >=sci-misc/salome-gui-${PV} |
4175 |
- >=dev-python/omniorbpy-3.4 |
4176 |
- >=sci-libs/hdf5-1.6.4 |
4177 |
- >=dev-libs/boost-1.40.0 |
4178 |
- >=dev-qt/qtcore-4.5.2 |
4179 |
- >=dev-qt/qtgui-4.5.2 |
4180 |
- >=dev-qt/qtopengl-4.5.2 |
4181 |
- >=dev-python/PyQt4-4.5.4 |
4182 |
- >=x11-libs/qscintilla-2.4 |
4183 |
- >=net-misc/omniORB-4.1.3 |
4184 |
- dev-libs/expat" |
4185 |
-DEPEND="${RDEPEND} |
4186 |
- >=app-doc/doxygen-1.5.6 |
4187 |
- media-gfx/graphviz |
4188 |
- >=dev-python/docutils-0.4 |
4189 |
- dev-lang/swig |
4190 |
- dev-libs/libxml2:2 |
4191 |
- >=dev-python/celementtree-1.0.5 |
4192 |
- >=dev-python/elementtree-1.2.6 |
4193 |
- doc? ( dev-python/sphinx )" |
4194 |
- |
4195 |
-MODULE_NAME="YACS" |
4196 |
-S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}" |
4197 |
-INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
4198 |
- |
4199 |
-pkg_setup() { |
4200 |
- [[ $(python_get_version) > 2.4 ]] && \ |
4201 |
- ewarn "Python 2.4 is highly recommended for Salome..." |
4202 |
- python_set_active_version 2 |
4203 |
-} |
4204 |
- |
4205 |
-src_prepare() { |
4206 |
- epatch "${FILESDIR}"/"${P}"-ac_python_devel.patch |
4207 |
- if use amd64; then |
4208 |
- epatch "${FILESDIR}"/"${P}"-lib_location.patch |
4209 |
- epatch "${FILESDIR}"/"${P}"-libdir.patch |
4210 |
- fi |
4211 |
- |
4212 |
- rm -r -f autom4te.cache |
4213 |
- ./clean_configure |
4214 |
- ./build_configure |
4215 |
-} |
4216 |
- |
4217 |
-src_configure() { |
4218 |
- econf \ |
4219 |
- --prefix=${INSTALL_DIR} \ |
4220 |
- --datadir=${INSTALL_DIR}/share/salome \ |
4221 |
- --docdir=${INSTALL_DIR}/doc/salome \ |
4222 |
- --libdir=${INSTALL_DIR}/$(get_libdir)/salome \ |
4223 |
- --infodir=${INSTALL_DIR}/share/info \ |
4224 |
- --with-qt4=/usr \ |
4225 |
- --with-qt4-libraries=/usr/$(get_libdir)/qt4 \ |
4226 |
- --with-qsci4-includes=/usr/include/Qsci \ |
4227 |
- $(use_enable debug ) \ |
4228 |
- $(use_enable !debug production ) \ |
4229 |
- $(use_with debug cppunit /usr ) |
4230 |
-} |
4231 |
- |
4232 |
-src_install() { |
4233 |
- emake DESTDIR="${D}" install || die "emake install failed" |
4234 |
- |
4235 |
- use amd64 && dosym ${INSTALL_DIR}/lib64 ${INSTALL_DIR}/lib |
4236 |
- |
4237 |
- echo "${MODULE_NAME}_ROOT_DIR=${INSTALL_DIR}" > ./90${P} |
4238 |
- echo "LDPATH=${INSTALL_DIR}/$(get_libdir)/salome" >> ./90${P} |
4239 |
- echo "PATH=${INSTALL_DIR}/bin/salome" >> ./90${P} |
4240 |
- echo "PYTHONPATH=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome" >> ./90${P} |
4241 |
- doenvd 90${P} |
4242 |
- rm adm/Makefile |
4243 |
- insinto "${INSTALL_DIR}" |
4244 |
- doins -r adm |
4245 |
- |
4246 |
- use doc && dodoc AUTHORS INSTALL NEWS README |
4247 |
-} |
4248 |
- |
4249 |
-pkg_postinst() { |
4250 |
- elog "Run \`env-update && source /etc/profile\`" |
4251 |
- elog "now to set up the correct paths." |
4252 |
- elog "" |
4253 |
-} |
4254 |
|
4255 |
diff --git a/sci-misc/salome-yacs/salome-yacs-5.1.4.ebuild b/sci-misc/salome-yacs/salome-yacs-5.1.4.ebuild |
4256 |
deleted file mode 100644 |
4257 |
index c9d26d9..0000000 |
4258 |
--- a/sci-misc/salome-yacs/salome-yacs-5.1.4.ebuild |
4259 |
+++ /dev/null |
4260 |
@@ -1,102 +0,0 @@ |
4261 |
-# Copyright 1999-2014 Gentoo Foundation |
4262 |
-# Distributed under the terms of the GNU General Public License v2 |
4263 |
-# $Id$ |
4264 |
- |
4265 |
-EAPI=2 |
4266 |
-PYTHON_DEPEND="2:2.5" |
4267 |
- |
4268 |
-inherit eutils python |
4269 |
- |
4270 |
-DESCRIPTION="The Open Source Integration Platform for Numerical Simulation - YACS component" |
4271 |
-HOMEPAGE="http://www.salome-platform.org" |
4272 |
-SRC_URI="http://files.opencascade.com/Salome/Salome${PV}/src${PV}.tar.gz" |
4273 |
- |
4274 |
-LICENSE="GPL-2" |
4275 |
-KEYWORDS="~amd64 ~x86" |
4276 |
-SLOT="0" |
4277 |
-IUSE="debug doc opengl" |
4278 |
- |
4279 |
-RDEPEND=" |
4280 |
- debug? ( dev-util/cppunit ) |
4281 |
- opengl? ( virtual/opengl ) |
4282 |
- >=sci-misc/salome-kernel-${PV} |
4283 |
- >=sci-misc/salome-gui-${PV} |
4284 |
- >=dev-python/omniorbpy-3.4 |
4285 |
- >=sci-libs/hdf5-1.6.4 |
4286 |
- >=dev-libs/boost-1.40.0 |
4287 |
- >=dev-qt/qtcore-4.5.2 |
4288 |
- >=dev-qt/qtgui-4.5.2 |
4289 |
- >=dev-qt/qtopengl-4.5.2 |
4290 |
- >=dev-python/PyQt4-4.5.4 |
4291 |
- >=x11-libs/qscintilla-2.4 |
4292 |
- >=net-misc/omniORB-4.1.3 |
4293 |
- dev-libs/expat" |
4294 |
-DEPEND="${RDEPEND} |
4295 |
- >=app-doc/doxygen-1.5.6 |
4296 |
- media-gfx/graphviz |
4297 |
- >=dev-python/docutils-0.4 |
4298 |
- dev-lang/swig |
4299 |
- dev-libs/libxml2:2 |
4300 |
- >=dev-python/celementtree-1.0.5 |
4301 |
- >=dev-python/elementtree-1.2.6 |
4302 |
- doc? ( dev-python/sphinx )" |
4303 |
- |
4304 |
-MODULE_NAME="YACS" |
4305 |
-S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}" |
4306 |
-INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}" |
4307 |
- |
4308 |
-pkg_setup() { |
4309 |
- [[ $(python_get_version) > 2.4 ]] && \ |
4310 |
- ewarn "Python 2.4 is highly recommended for Salome..." |
4311 |
- python_set_active_version 2 |
4312 |
-} |
4313 |
- |
4314 |
-src_prepare() { |
4315 |
- epatch "${FILESDIR}"/"${P}"-ac_python_devel.patch |
4316 |
- if use amd64; then |
4317 |
- epatch "${FILESDIR}"/"${P}"-lib_location.patch |
4318 |
- epatch "${FILESDIR}"/"${P}"-libdir.patch |
4319 |
- fi |
4320 |
- |
4321 |
- rm -r -f autom4te.cache |
4322 |
- ./clean_configure |
4323 |
- ./build_configure |
4324 |
-} |
4325 |
- |
4326 |
-src_configure() { |
4327 |
- econf \ |
4328 |
- --prefix=${INSTALL_DIR} \ |
4329 |
- --datadir=${INSTALL_DIR}/share/salome \ |
4330 |
- --docdir=${INSTALL_DIR}/doc/salome \ |
4331 |
- --libdir=${INSTALL_DIR}/$(get_libdir)/salome \ |
4332 |
- --infodir=${INSTALL_DIR}/share/info \ |
4333 |
- --with-qt4=/usr \ |
4334 |
- --with-qt4-libraries=/usr/$(get_libdir)/qt4 \ |
4335 |
- --with-qsci4-includes=/usr/include/Qsci \ |
4336 |
- $(use_enable debug ) \ |
4337 |
- $(use_enable !debug production ) \ |
4338 |
- $(use_with debug cppunit /usr ) |
4339 |
-} |
4340 |
- |
4341 |
-src_install() { |
4342 |
- emake DESTDIR="${D}" install || die "emake install failed" |
4343 |
- |
4344 |
- use amd64 && dosym ${INSTALL_DIR}/lib64 ${INSTALL_DIR}/lib |
4345 |
- |
4346 |
- echo "${MODULE_NAME}_ROOT_DIR=${INSTALL_DIR}" > ./90${P} |
4347 |
- echo "LDPATH=${INSTALL_DIR}/$(get_libdir)/salome" >> ./90${P} |
4348 |
- echo "PATH=${INSTALL_DIR}/bin/salome" >> ./90${P} |
4349 |
- echo "PYTHONPATH=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome" >> ./90${P} |
4350 |
- doenvd 90${P} |
4351 |
- rm adm/Makefile |
4352 |
- insinto "${INSTALL_DIR}" |
4353 |
- doins -r adm |
4354 |
- |
4355 |
- use doc && dodoc AUTHORS INSTALL NEWS README |
4356 |
-} |
4357 |
- |
4358 |
-pkg_postinst() { |
4359 |
- elog "Run \`env-update && source /etc/profile\`" |
4360 |
- elog "now to set up the correct paths." |
4361 |
- elog "" |
4362 |
-} |