summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2017-01-02 22:02:39 +0000
committerJustin Lecher <jlec@gentoo.org>2017-01-02 22:09:08 +0000
commitacdf6c90b1f9b44256199ef0de5306a7bd844936 (patch)
treea81114d3aa4173aafbb2009d59a53e26e6e6c077
parentsci-libs/nlopt: Drop old (diff)
downloadgentoo-acdf6c90.tar.gz
gentoo-acdf6c90.tar.bz2
gentoo-acdf6c90.zip
sci-mathematics/xmds: Drop old
Package-Manager: Portage-2.3.3, Repoman-2.3.1 Signed-off-by: Justin Lecher <jlec@gentoo.org>
-rw-r--r--sci-mathematics/xmds/Manifest3
-rw-r--r--sci-mathematics/xmds/files/xmds-1.6.5-gcc43.patch108
-rw-r--r--sci-mathematics/xmds/xmds-1.6.5.ebuild58
-rw-r--r--sci-mathematics/xmds/xmds-1.6.6.ebuild51
4 files changed, 0 insertions, 220 deletions
diff --git a/sci-mathematics/xmds/Manifest b/sci-mathematics/xmds/Manifest
index 80e36670fb9a..d869051f8bcd 100644
--- a/sci-mathematics/xmds/Manifest
+++ b/sci-mathematics/xmds/Manifest
@@ -1,4 +1 @@
-DIST xmds-1.6.5.tar.gz 528593 SHA256 f7128c7c847bafd3a5ed582415cbddd1f31234278d62231faaeb9bec04d6b5ff SHA512 d360a78d3f2c64181d6ab9d80de652b4ba9da02b5d0f2fc6f42af943ffc7292b1eb7a7110793be2b8ef796f8547b94b7a6caaf2e0971d021925aa46f8f1c18f5 WHIRLPOOL 1c974066f54c64431580eccc6d3861227b0500c6b92bd8c2c3f493ec2c0ce2fb93dc2e53c1fb23d5645521e5b5adfb05189eb42a9c740fe2ef8d89c3e5895978
-DIST xmds-1.6.6.tar.gz 607585 SHA256 0deb74cf52ea9df58d1a5714d7edd42e027c06ae3eb2cfc12f1fcf477f69f11e SHA512 be01753fdaa93fc053f9859440925e1e754decf8e99dd3b648778240a1aa6210eb0ab2bc6286a0af8947c5fa4cd523f53a7892feac0f4e749774c2b92d06ab5c WHIRLPOOL 0ebbb1b33b65a871d3dd23b73dda0e007dcdf9ef9b84d1d709429d28497a70b8c17a443c49f8c7d8fb132534ce644bc2a2cd605081d27f62f178bdf8b2269bbd
DIST xmds-2.2.2.tar.gz 33449671 SHA256 6ab07b2aa44ef24a81e6cac2b16a6d99f8840531116c25ea40fbe7de20d1b96d SHA512 470652112e17503f6f0a4da9a68d4f360e66d8b29701a30385f3d49f9b0359578c702ff92f54876b473976b0794f6c2b2302b0a16508e09a5ec53572454eda42 WHIRLPOOL 7a9083e02452f4becc69977fbb59b7bb708cdc67475b93e62e92368ba71a3c804165e50d559cda2bfad7d84db2f6e40bd9afbd7d43299a9dc6419a86d385e983
-DIST xmds_doc_20080226.pdf 8093270 SHA256 93ca478d70cfc684cabb24e278181a50f70f4a2b769e8cf7028b6ecc1cb10009 SHA512 40bfaf772013181f1251af4313fb11b079a7e5038e9515b9eb96c3c343f435d7a3a219246cc9a3ae9ba03cf51aa8dec9a66367992fef156ddc8fc3f82d2b473a WHIRLPOOL 649837d43dba8e3551f4c350a932766762ab0a831c449cedc2b9ecdc27a3a77b6cda22d72cbcfc4d372d8430478417ae977a0615e911769673eed402dd83011f
diff --git a/sci-mathematics/xmds/files/xmds-1.6.5-gcc43.patch b/sci-mathematics/xmds/files/xmds-1.6.5-gcc43.patch
deleted file mode 100644
index 766056d5ae51..000000000000
--- a/sci-mathematics/xmds/files/xmds-1.6.5-gcc43.patch
+++ /dev/null
@@ -1,108 +0,0 @@
-diff -Naurp xmds-1.6.5-orig/source/xmds_integrate_ark45.cc xmds-1.6.5/source/xmds_integrate_ark45.cc
---- xmds-1.6.5-orig/source/xmds_integrate_ark45.cc 2008-06-28 21:48:21.000000000 +0200
-+++ xmds-1.6.5/source/xmds_integrate_ark45.cc 2008-06-28 21:48:57.000000000 +0200
-@@ -35,6 +35,7 @@
- #include <xmds_simulation.h>
- #include <xmds_vector.h>
- #include <cstdlib>
-+#include <cstring>
-
- // **************************************************************************
- // **************************************************************************
-@@ -289,7 +290,7 @@ void xmdsIntegrateARK45::writeTimestepEr
- fprintf(outfile, "for(unsigned long _i0=0; _i0<_%s_size; _i0++){\n", fieldName);
- }
- fprintf(outfile, " for(unsigned long _i1=0; _i1<_%s_main_ncomponents; _i1++){\n", fieldName);
-- if (strcmp(typeName, "complex") == 0) {
-+ if (std::strcmp(typeName, "complex") == 0) {
- fprintf(outfile, " _temp_mod=mod2(_%s_main[_%s_main_index_pointer + _i1]);\n", fieldName, fieldName);
- }
- else {
-@@ -347,7 +348,7 @@ void xmdsIntegrateARK45::writeTimestepEr
- }
- fprintf(outfile, " for(unsigned long _i1=0; _i1<_%s_main_ncomponents; _i1++)\n", fieldName);
-
-- if (strcmp(typeName, "complex") == 0) {
-+ if (std::strcmp(typeName, "complex") == 0) {
- fprintf(outfile, " if(mod2(_%s_main[_%s_main_index_pointer + _i1])>_peak[_i1]){\n", fieldName, fieldName);
- fprintf(outfile, " _temp_error=mod(_%s_main[_%s_main_index_pointer + _i1]-_checkfield[_%s_main_index_pointer + _i1])/(mod(_%s_main[_%s_main_index_pointer + _i1])+1e-20);\n", fieldName, fieldName, fieldName, fieldName, fieldName);
- }
-@@ -364,7 +365,7 @@ void xmdsIntegrateARK45::writeTimestepEr
- else{ // if ndims==0
- fprintf(outfile, " for(unsigned long _i1=0; _i1<_%s_main_ncomponents; _i1++){\n", fieldName);
-
-- if (strcmp(typeName, "complex") == 0) {
-+ if (std::strcmp(typeName, "complex") == 0) {
- fprintf(outfile, " _temp_error=mod(_%s_main[_i1]-_checkfield[_i1])/(mod(_%s_main[_i1])+1e-20);\n", fieldName, fieldName);
- }
- else{
-diff -Naurp xmds-1.6.5-orig/source/xmds_integrate_ark89.cc xmds-1.6.5/source/xmds_integrate_ark89.cc
---- xmds-1.6.5-orig/source/xmds_integrate_ark89.cc 2008-06-28 21:48:21.000000000 +0200
-+++ xmds-1.6.5/source/xmds_integrate_ark89.cc 2008-06-28 21:48:57.000000000 +0200
-@@ -35,6 +35,7 @@
- #include <xmds_simulation.h>
- #include <xmds_vector.h>
- #include <cstdlib>
-+#include <cstring>
-
- // **************************************************************************
- // **************************************************************************
-@@ -284,7 +285,7 @@ void xmdsIntegrateARK89::writeTimestepEr
- fprintf(outfile, "for (unsigned long _i0=0; _i0<_%s_size; _i0++){\n", fieldName);
- }
- fprintf(outfile, " for (unsigned long _i1=0; _i1<_%s_main_ncomponents; _i1++){\n", fieldName);
-- if (strcmp(typeName, "complex") == 0) {
-+ if (std::strcmp(typeName, "complex") == 0) {
- fprintf(outfile, " _temp_mod=mod2(_%s_main[_%s_main_index_pointer + _i1]);\n", fieldName, fieldName);
- }
- else {
-@@ -334,7 +335,7 @@ void xmdsIntegrateARK89::writeTimestepEr
- }
- fprintf(outfile, " for (unsigned long _i1=0; _i1<_%s_main_ncomponents; _i1++)\n", fieldName);
-
-- if (strcmp(typeName, "complex") == 0) {
-+ if (std::strcmp(typeName, "complex") == 0) {
- fprintf(outfile, " if (mod2(_%s_main[_%s_main_index_pointer + _i1])>_peak[_i1]){\n", fieldName, fieldName);
- fprintf(outfile, " _temp_error=mod(_%s_main[_%s_main_index_pointer + _i1]-_checkfield[_%s_main_index_pointer + _i1])/(mod(_%s_main[_%s_main_index_pointer + _i1])+1e-20);\n", fieldName, fieldName, fieldName, fieldName, fieldName);
- }
-@@ -352,7 +353,7 @@ void xmdsIntegrateARK89::writeTimestepEr
-
- fprintf(outfile, " for (unsigned long _i1=0; _i1<_%s_main_ncomponents; _i1++){\n", fieldName);
-
-- if (strcmp(typeName, "complex") == 0){
-+ if (std::strcmp(typeName, "complex") == 0){
- fprintf(outfile, " _temp_error=mod(_%s_main[_i1]-_checkfield[_i1])/(mod(_%s_main[_i1])+1e-20);\n", fieldName, fieldName);
- }
- else{
-diff -Naurp xmds-1.6.5-orig/source/xmds_simulation.h xmds-1.6.5/source/xmds_simulation.h
---- xmds-1.6.5-orig/source/xmds_simulation.h 2008-06-28 21:48:21.000000000 +0200
-+++ xmds-1.6.5/source/xmds_simulation.h 2008-06-28 21:48:57.000000000 +0200
-@@ -40,6 +40,8 @@
- #include <xmds_sequence.h>
- #include <xmds_globals.h>
-
-+#include <string>
-+
- // *****************************************************************************
- // *****************************************************************************
- // xmdsSimulation
-diff -Naurp xmds-1.6.5-orig/source/xsil2graphics.cc xmds-1.6.5/source/xsil2graphics.cc
---- xmds-1.6.5-orig/source/xsil2graphics.cc 2008-06-28 21:48:21.000000000 +0200
-+++ xmds-1.6.5/source/xsil2graphics.cc 2008-06-28 21:48:57.000000000 +0200
-@@ -40,6 +40,7 @@
- #include <xsil_field.h>
- #include <getopt_xmds.h>
- #include <iostream>
-+#include <cstring>
-
- // **********************************************************************
-
-@@ -306,7 +307,7 @@ int main(
-
- const DOMString *mgName = nextElement->getAttribute("Name");
- int mgNumber = i+1;
-- if (strcmp("breakpoint", mgName->c_str()) == 0) {
-+ if (std::strcmp("breakpoint", mgName->c_str()) == 0) {
- mgNumber = 1;
- }
- else {
diff --git a/sci-mathematics/xmds/xmds-1.6.5.ebuild b/sci-mathematics/xmds/xmds-1.6.5.ebuild
deleted file mode 100644
index 4ddb29d68b82..000000000000
--- a/sci-mathematics/xmds/xmds-1.6.5.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit eutils
-
-doc_ver=20080226
-
-DESCRIPTION="XMDS - The eXtensible Multi-Dimensional Simulator"
-HOMEPAGE="http://www.xmds.org"
-SRC_URI="mirror://sourceforge/xmds/${P}.tar.gz
- doc? ( mirror://sourceforge/xmds/xmds_doc_${doc_ver}.pdf )"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="doc examples mpi threads"
-
-DEPEND="sci-libs/fftw
- mpi? ( virtual/mpi )"
-
-src_unpack() {
- unpack ${P}.tar.gz
- cd "${S}"
-
- epatch "${FILESDIR}"/${PN}-1.6.5-gcc43.patch
- touch "${S}/source/version.h"
-
- # Fix broken installation of sample scripts.
- sed -i -e 's/install-data-am: install-dist_doc_examplesDATA install-man/install-data-am: install-man/' Makefile.in
-}
-
-src_compile() {
- local my_opts=""
-
- if has_version "=sci-libs/fftw-3*" ; then
- my_opts="${my_opts} --enable-fftw3"
- fi
-
- econf \
- $(use_enable mpi) \
- $(use_enable threads) \
- ${my_opts} || die
- emake || die
-}
-
-src_install() {
- make DESTDIR="${D}" install || die
-
- if use doc; then
- insinto /usr/share/doc/${PF}
- doins "${DISTDIR}/xmds_doc_${doc_ver}.pdf"
- fi
-
- if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins examples/*
- fi
-}
diff --git a/sci-mathematics/xmds/xmds-1.6.6.ebuild b/sci-mathematics/xmds/xmds-1.6.6.ebuild
deleted file mode 100644
index 9d3e48b854d2..000000000000
--- a/sci-mathematics/xmds/xmds-1.6.6.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit eutils
-
-doc_ver=20080226
-
-DESCRIPTION="XMDS - The eXtensible Multi-Dimensional Simulator"
-HOMEPAGE="http://www.xmds.org"
-SRC_URI="mirror://sourceforge/xmds/${P}.tar.gz
- doc? ( mirror://sourceforge/xmds/xmds_doc_${doc_ver}.pdf )"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="doc examples mpi threads"
-
-DEPEND="sci-libs/fftw
- mpi? ( virtual/mpi )"
-
-src_compile() {
- local my_opts=""
-
- if has_version "=sci-libs/fftw-3*" ; then
- my_opts="${my_opts} --enable-fftw3"
- fi
-
- econf \
- $(use_enable mpi) \
- $(use_enable threads) \
- ${my_opts} || die
- emake || die
-}
-
-src_install() {
- make DESTDIR="${D}" install || die
-
- if use doc; then
- insinto /usr/share/doc/${PF}
- doins "${DISTDIR}/xmds_doc_${doc_ver}.pdf"
- fi
-
- if use examples; then
- insinto /usr/share/doc/${PF}/examples
- for i in "${D}"/usr/share/doc/${PN}/examples/* ; do
- doins "$i"
- done
- fi
-
- rm -rf "${D}/usr/share/doc/${PN}"
-}