summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/openfoam-solvers')
-rw-r--r--sci-libs/openfoam-solvers/ChangeLog103
-rw-r--r--sci-libs/openfoam-solvers/Manifest18
-rw-r--r--sci-libs/openfoam-solvers/files/OpenFOAM-1.5-ggi.patch233
-rw-r--r--sci-libs/openfoam-solvers/metadata.xml13
-rw-r--r--sci-libs/openfoam-solvers/openfoam-solvers-1.5_p20090311.ebuild74
5 files changed, 0 insertions, 441 deletions
diff --git a/sci-libs/openfoam-solvers/ChangeLog b/sci-libs/openfoam-solvers/ChangeLog
deleted file mode 100644
index b62c2e8d0a06..000000000000
--- a/sci-libs/openfoam-solvers/ChangeLog
+++ /dev/null
@@ -1,103 +0,0 @@
-# ChangeLog for sci-libs/openfoam-solvers
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/openfoam-solvers/ChangeLog,v 1.5 2010/04/25 11:32:43 jlec Exp $
-
- 25 Sep 2009; Diego E. Pettenò <flameeyes@gentoo.org>
- openfoam-solvers-1.5_p20090311.ebuild, -files/OpenFOAM-1.5-compile.patch:
- Move humonguous, duplicated patches to mirrors.
-
- 13 Jun 2009; Torsten Veller <tove@gentoo.org>
- openfoam-solvers-1.5_p20090311.ebuild:
- Add missing die: "..." -> die "..."
-
- 26 Apr 2009; Patrick Lauer <patrick@gentoo.org> metadata.xml:
- Adding Oliver Borm to metadata
-
-*openfoam-solvers-1.5_p20090311 (25 Apr 2009)
-
- 25 Apr 2009; Patrick Lauer <patrick@gentoo.org>
- +files/OpenFOAM-1.5-compile.patch, +files/OpenFOAM-1.5-ggi.patch,
- +metadata.xml, +openfoam-solvers-1.5_p20090311.ebuild:
- Initial import from sunrise. Thanks to Oliver Borm for the ebuild and the
- sunrise people for massaging it into shape.
-
- 17 Apr 2009; Justin Lecher <jlec@gentoo.org>
- openfoam-solvers-1.5_p20090311.ebuild:
- QA quotes around EAPI version
-
- 14 Mar 2009; Oliver Borm (boroli) <oli.borm@web.de>
- openfoam-solvers-1.5_p20090311.ebuild, files/OpenFOAM-1.5-compile.patch,
- -files/openfoam-solvers-1.5_p20080905.patch:
- Fixed typos
-
- 13 Mar 2009; Oliver Borm (boroli) <oli.borm@web.de>
- -openfoam-solvers-1.5_p20080905.ebuild,
- +openfoam-solvers-1.5_p20090311.ebuild, +files/OpenFOAM-1.5-ggi.patch:
- Version bump
-
- 13 Feb 2009; Oliver Borm (boroli) <oli.borm@web.de>
- -openfoam-solvers-1.4.1_p20080827.ebuild,
- -files/openfoam-solvers-1.4.1_p20080827.patch,
- -files/openfoam-solvers-compile-1.4.1_p20080827.patch:
- Remove old version.
-
- 20 Jan 2009; Christian Ruppert (idl0r) <spooky85@gmail.com>
- openfoam-solvers-1.4.1_p20080827.ebuild,
- openfoam-solvers-1.5_p20080905.ebuild:
- Added suggested DEPEND="${RDEPEND}", moved to EAPI 2, cleanup.
-
- 08 Sep 2008; Oliver Borm (boroli) <oli.borm@web.de>
- -openfoam-solvers-1.5.ebuild, +openfoam-solvers-1.5_p20080905.ebuild,
- +files/openfoam-solvers-1.5_p20080905.patch:
- New patch sets
-
- 31 Aug 2008; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
- -openfoam-solvers-1.4.1_p20080328.ebuild,
- -files/openfoam-solvers-1.4.1_p20080328.patch,
- -files/openfoam-solvers-compile-1.4.1_p20080328.patch:
- Drop old version
-
- 28 Aug 2008; Oliver Borm (boroli) <oli.borm@web.de>
- +openfoam-solvers-1.4.1_p20080827.ebuild,
- +files/openfoam-solvers-1.4.1_p20080827.patch,
- +files/openfoam-solvers-compile-1.4.1_p20080827.patch:
- Update patches for the OpenFOAM solvers
-
- 04 Aug 2008; Oliver Borm (boroli) <oli.borm@web.de>
- openfoam-solvers-1.4.1_p20080328.ebuild, openfoam-solvers-1.5.ebuild:
- Changed version dependencies
-
- 28 Jul 2008; Oliver Borm (boroli) <oli.borm@web.de>
- openfoam-solvers-1.5.ebuild:
- Added the the removed quoting again.
-
- 28 Jul 2008; Oliver Borm (boroli) <oli.borm@web.de>
- openfoam-solvers-1.5.ebuild:
- Fixed some errors due to wrong relative paths.
-
- 26 Jul 2008; Thomas Anderson <gentoofan23@gentoo.org>
- openfoam-solvers-1.5.ebuild:
- Fix unnecessary quoting, and add some more
-
- 22 Jul 2008; Oliver Borm (boroli) <oli.borm@web.de>
- +openfoam-solvers-1.5.ebuild, +files/OpenFOAM-1.5-compile.patch:
- Version bump to 1.5
-
- 30 Mar 2008; Thomas Sachau (Tommy[D]) tommy@gentoo.org
- -openfoam-solvers-1.4.1_p20080118.ebuild,
- -files/openfoam-solvers-1.4.1_p20080118.patch,
- -files/openfoam-solvers-compile-1.4.1_p20080118.patch:
- Drop old version
-
- 28 Mar 2008; Oliver Borm (boroli) <oli.borm@web.de>
- +openfoam-solvers-1.4.1_p20080328.ebuild,
- +files/openfoam-solvers-1.4.1_p20080328.patch,
- +files/openfoam-solvers-compile-1.4.1_p20080328.patch:
- Some bug fixes.
-
- 29 Jan 2008; Oliver Borm (boroli) <oli.borm@web.de>
- +files/openfoam-solvers-1.4.1_p20080118.patch,
- +files/openfoam-solvers-compile-1.4.1_p20080118.patch, +metadata.xml,
- +openfoam-solvers-1.4.1_p20080118.ebuild:
- New Ebuild for the OpenFOAM solvers
-
diff --git a/sci-libs/openfoam-solvers/Manifest b/sci-libs/openfoam-solvers/Manifest
deleted file mode 100644
index 6abbb67bfe72..000000000000
--- a/sci-libs/openfoam-solvers/Manifest
+++ /dev/null
@@ -1,18 +0,0 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX OpenFOAM-1.5-ggi.patch 5907 RMD160 9a678e2fd7d36e862ffa1ed7e18aa4a073b77ea3 SHA1 2053a2e4e0c96500330b8ec233673391cb7487cf SHA256 e592d47ffee2fe9495378860932630936d5d838cf7290fb10d1e298986729b6c
-DIST OpenFOAM-1.5-compile-2.patch.bz2 2939 RMD160 62e3e5b688a0a5e34f8406fdab0af6001df46f26 SHA1 d6b1ce5403ff173242b92521a2a5f446194c7b72 SHA256 9bcad542c35452271d80585e5dc174627791e33b5c2e089edfbceb0aa13c0bc1
-DIST OpenFOAM-1.5-svn.patch 4002548 RMD160 75b28c0c9c03b3e3886d0d90e8c631233d0734a2 SHA1 349e50a91095e0ff0e75b41f8eb8453623d5e4a8 SHA256 2a5872a4dbb8f58cb55b1ec64bcdc6f8e462ce2a541d21f1a8fc5faeb345d7d4
-DIST OpenFOAM-1.5.General.tgz 117334661 RMD160 bccaa9f8f99d31aa6c791d40b30dd9ad4f534041 SHA1 3577f562dc1f54bb32e1e0ef43f979418212c2f7 SHA256 d4cba2d9475523a53cea80b8d39da70d12bfffb9f46e2d1442946ba4a23efd31
-DIST OpenFOAM-git-1.5_p20090311.patch 711366 RMD160 ac9f6710aa9c92473068c18cf97ca2b25dc904e8 SHA1 068ade9111558adf4b2330e6acb5aabfe55f58fe SHA256 393ad127f9bd2cf6eb8826d65e2528d83ad8b6cceeab3de5ed04fb01746e3201
-EBUILD openfoam-solvers-1.5_p20090311.ebuild 2225 RMD160 aa288f1435a4f030b44b2a32f726f74464cc1f12 SHA1 c3297e96f032c5f72236849600f53b8f54fcc57a SHA256 56c3f64f28e24e2c8429d12f7b7ef56cdd42add0eb9fd0caf56b0b1bdb7d8828
-MISC ChangeLog 3981 RMD160 d2f6e6e25056926939fb280ee30fa6b1f93929ba SHA1 03ba2fbdc80c1554fb7ac09373466d4894322d83 SHA256 ec42a28e381ab7baf1a1776b0319f8a4e3e3df95d9ec86d2df7448baadaeb781
-MISC metadata.xml 342 RMD160 bba0c7eb3af0d1cd2322a40e86f4a80a0f48b6cf SHA1 7950d74b3d7d4fbe7167b487c5cd26559548b4ab SHA256 b57f05d81648f5a92cedd91c025852cb3bc5fc8d4ab4d110eb6886fc89e2ba97
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.14 (GNU/Linux)
-
-iEYEARECAAYFAkvUKGAACgkQgAnW8HDreRaIgACePCi+ksMSQ6XBo70LJC8UzyZG
-TOAAniT9tbnyz/tkA2TSdaBLZ7NRPVWV
-=r8tN
------END PGP SIGNATURE-----
diff --git a/sci-libs/openfoam-solvers/files/OpenFOAM-1.5-ggi.patch b/sci-libs/openfoam-solvers/files/OpenFOAM-1.5-ggi.patch
deleted file mode 100644
index 1559050187ba..000000000000
--- a/sci-libs/openfoam-solvers/files/OpenFOAM-1.5-ggi.patch
+++ /dev/null
@@ -1,233 +0,0 @@
---- OpenFOAM-1.5/src/OpenFOAM/meshes/polyMesh/polyPatches/basic/coupled/coupledPolyPatch.H 2009-03-12 16:57:20.000000000 +0100
-+++ OpenFOAM-1.5-dev/src/OpenFOAM/meshes/polyMesh/polyPatches/basic/coupled/coupledPolyPatch.H 2009-01-21 13:25:35.000000000 +0100
-@@ -54,9 +54,14 @@
- :
- public polyPatch
- {
-- // Private data
-+protected:
-+
-+ // Protected data
-+
-+ // Alowing derived classes to create their own transformation
-+ // HJ, 24/Oct/2008
-
-- //- offset (distance) vector from one side of the couple to the other
-+ //- Offset (distance) vector from one side of the couple to the other
- mutable vectorField separation_;
-
- //- Face transformation tensor
---- OpenFOAM-1.5/src/OpenFOAM/meshes/primitiveMesh/PrimitivePatch/PrimitivePatch.H 2009-03-12 16:57:20.000000000 +0100
-+++ OpenFOAM-1.5-dev/src/OpenFOAM/meshes/primitiveMesh/PrimitivePatch/PrimitivePatch.H 2009-01-21 13:25:37.000000000 +0100
-@@ -173,6 +173,11 @@
- mutable Field<PointType>* pointNormalsPtr_;
-
-
-+ // Static Private Data
-+
-+ static const bool nSquaredProjection_;
-+
-+
- // Private Member Functions
-
- //- Calculate edges of the patch
-@@ -412,6 +417,22 @@
- labelHashSet* setPtr = NULL
- ) const;
-
-+ //- Write VTK patch, HJ, 14/Jan/2009
-+ static void writeVTK
-+ (
-+ const fileName& name,
-+ const FaceListType& faces,
-+ const Field<PointType>& points
-+ );
-+
-+ //- Write VTK patch normals, HJ, 14/Jan/2009
-+ static void writeVTKNormals
-+ (
-+ const fileName& name,
-+ const FaceListType& faces,
-+ const Field<PointType>& points
-+ );
-+
-
- // Edit
-
---- OpenFOAM-1.5/src/OpenFOAM/meshes/primitiveMesh/PrimitivePatch/PrimitivePatchCheck.C 2009-03-12 16:57:20.000000000 +0100
-+++ OpenFOAM-1.5-dev/src/OpenFOAM/meshes/primitiveMesh/PrimitivePatch/PrimitivePatchCheck.C 2009-01-21 13:25:37.000000000 +0100
-@@ -30,6 +30,7 @@
- #include "PrimitivePatch.H"
- #include "Map.H"
- #include "ListOps.H"
-+#include "OFstream.H"
-
- // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
-@@ -331,6 +332,166 @@
- }
-
-
-+template
-+<
-+ class Face,
-+ template<class> class FaceList,
-+ class PointField,
-+ class PointType
-+>
-+void PrimitivePatch<Face, FaceList, PointField, PointType>::writeVTK
-+(
-+ const fileName& name,
-+ const FaceListType& faces,
-+ const Field<PointType>& points
-+)
-+{
-+ // Write patch and points into VTK
-+ OFstream mps(name + ".vtk");
-+
-+ mps << "# vtk DataFile Version 2.0" << nl
-+ << name << ".vtk" << nl
-+ << "ASCII" << nl
-+ << "DATASET POLYDATA" << nl
-+ << "POINTS " << points.size() << " float" << nl;
-+
-+ // Write points
-+ List<float> mlpBuffer(3*points.size());
-+
-+ label counter = 0;
-+ forAll (points, i)
-+ {
-+ mlpBuffer[counter++] = float(points[i].x());
-+ mlpBuffer[counter++] = float(points[i].y());
-+ mlpBuffer[counter++] = float(points[i].z());
-+ }
-+
-+ forAll (mlpBuffer, i)
-+ {
-+ mps << mlpBuffer[i] << ' ';
-+
-+ if (i > 0 && (i % 10) == 0)
-+ {
-+ mps << nl;
-+ }
-+ }
-+
-+ // Write faces
-+ label nFaceVerts = 0;
-+
-+ forAll (faces, faceI)
-+ {
-+ nFaceVerts += faces[faceI].size() + 1;
-+ }
-+ labelList mlfBuffer(nFaceVerts);
-+
-+ counter = 0;
-+ forAll (faces, faceI)
-+ {
-+ const Face& f = faces[faceI];
-+
-+ mlfBuffer[counter++] = f.size();
-+
-+ forAll (f, fpI)
-+ {
-+ mlfBuffer[counter++] = f[fpI];
-+ }
-+ }
-+ mps << nl;
-+
-+ mps << "POLYGONS " << faces.size() << ' ' << nFaceVerts << endl;
-+
-+ forAll (mlfBuffer, i)
-+ {
-+ mps << mlfBuffer[i] << ' ';
-+
-+ if (i > 0 && (i % 10) == 0)
-+ {
-+ mps << nl;
-+ }
-+ }
-+ mps << nl;
-+}
-+
-+
-+template
-+<
-+ class Face,
-+ template<class> class FaceList,
-+ class PointField,
-+ class PointType
-+>
-+void PrimitivePatch<Face, FaceList, PointField, PointType>::writeVTKNormals
-+(
-+ const fileName& name,
-+ const FaceListType& faces,
-+ const Field<PointType>& points
-+)
-+{
-+ // Write patch and points into VTK
-+ OFstream mps(name + ".vtk");
-+
-+ mps << "# vtk DataFile Version 2.0" << nl
-+ << name << ".vtk" << nl
-+ << "ASCII" << nl
-+ << "DATASET POLYDATA" << nl
-+ << "POINTS " << faces.size() << " float" << nl;
-+
-+ // Write points
-+ List<float> mlPointBuffer(3*faces.size());
-+
-+ label counter = 0;
-+ forAll (faces, i)
-+ {
-+ const vector c = faces[i].centre(points);
-+
-+ mlPointBuffer[counter++] = float(c.x());
-+ mlPointBuffer[counter++] = float(c.y());
-+ mlPointBuffer[counter++] = float(c.z());
-+ }
-+
-+ forAll (mlPointBuffer, i)
-+ {
-+ mps << mlPointBuffer[i] << ' ';
-+
-+ if (i > 0 && (i % 10) == 0)
-+ {
-+ mps << nl;
-+ }
-+ }
-+ mps << nl;
-+
-+ // Write normals
-+ mps << "POINT_DATA " << faces.size() << nl
-+ << "FIELD attributes " << 1 << nl
-+ << "normals" << " 3 "
-+ << faces.size() << " float" << nl;
-+
-+ List<float> mlNormalBuffer(3*faces.size());
-+
-+ counter = 0;
-+ forAll (faces, i)
-+ {
-+ const vector n = faces[i].normal(points);
-+
-+ mlNormalBuffer[counter++] = float(n.x());
-+ mlNormalBuffer[counter++] = float(n.y());
-+ mlNormalBuffer[counter++] = float(n.z());
-+ }
-+
-+ forAll (mlNormalBuffer, i)
-+ {
-+ mps << mlNormalBuffer[i] << ' ';
-+
-+ if (i > 0 && (i % 10) == 0)
-+ {
-+ mps << nl;
-+ }
-+ }
-+ mps << nl;
-+}
-+
-+
- // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
-
- } // End namespace Foam
diff --git a/sci-libs/openfoam-solvers/metadata.xml b/sci-libs/openfoam-solvers/metadata.xml
deleted file mode 100644
index 199db2e8871c..000000000000
--- a/sci-libs/openfoam-solvers/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>no-herd</herd>
- <maintainer>
- <email>patrick@gentoo.org</email>
- <name>Patrick Lauer</name>
- </maintainer>
-<maintainer>
- <email>oli.borm@web.de</email>
- <name>Oliver Borm</name>
-</maintainer>
-</pkgmetadata>
diff --git a/sci-libs/openfoam-solvers/openfoam-solvers-1.5_p20090311.ebuild b/sci-libs/openfoam-solvers/openfoam-solvers-1.5_p20090311.ebuild
deleted file mode 100644
index 98cc79481dfb..000000000000
--- a/sci-libs/openfoam-solvers/openfoam-solvers-1.5_p20090311.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/openfoam-solvers/openfoam-solvers-1.5_p20090311.ebuild,v 1.3 2009/09/25 09:31:34 flameeyes Exp $
-
-EAPI="2"
-
-inherit eutils versionator multilib toolchain-funcs
-
-MY_PN="OpenFOAM"
-MY_PV=$(get_version_component_range 1-2)
-MY_P="${MY_PN}-${MY_PV}"
-
-DESCRIPTION="OpenFOAM - solvers"
-HOMEPAGE="http://www.opencfd.co.uk/openfoam/"
-SRC_URI="mirror://sourceforge/foam/${MY_P}.General.gtgz -> ${MY_P}.General.tgz
- http://omploader.org/vMWRlMQ/${MY_PN}-git-${PVR}.patch
- http://omploader.org/vMWRlMA/${MY_P}-svn.patch
- mirror://gentoo/${MY_P}-compile-2.patch.bz2"
-
-LICENSE="GPL-2"
-SLOT="1.5"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="!=sci-libs/openfoam-${MY_PV}*
- !=sci-libs/openfoam-bin-${MY_PV}*
- =sci-libs/openfoam-kernel-${MY_PV}*"
-DEPEND="${RDEPEND}
- >=sys-devel/gcc-4.1"
-
-S=${WORKDIR}/${MY_P}
-INSDIR="/usr/$(get_libdir)/${MY_PN}/${MY_P}"
-
-pkg_setup() {
- # just to be sure the right profile is selected (gcc-config)
- if ! version_is_at_least 4.1 $(gcc-version) ; then
- die "${PN} requires >=sys-devel/gcc-4.1 to compile."
- fi
-}
-
-src_prepare() {
- epatch "${DISTDIR}"/${MY_P}-compile-2.patch.bz2
- epatch "${DISTDIR}"/${MY_P}-svn.patch
- epatch "${DISTDIR}"/${MY_PN}-git-${PVR}.patch
- epatch "${FILESDIR}"/${MY_P}-ggi.patch
-}
-
-src_compile() {
- cp -a ${INSDIR}/etc/{bashrc,settings.sh} etc/. || die "cannot copy bashrc"
-
- # This is a hack, due to the meta ebuild:
- sed -i -e "s|FOAM_LIB=\$WM_PROJECT_DIR/lib|FOAM_LIB=${INSDIR}/lib|" \
- -e "s|FOAM_LIBBIN=\$FOAM_LIB|FOAM_LIBBIN=\$WM_PROJECT_DIR/lib|" \
- -e "s|_foamAddLib \$FOAM_USER_LIBBIN|_foamAddLib \$FOAM_LIB|" \
- etc/settings.sh || die "could not replace paths"
-
- sed -i -e "s|-L\$(LIB_WM_OPTIONS_DIR)|-L\$(LIB_WM_OPTIONS_DIR) -L${INSDIR}/lib|" \
- wmake/Makefile || die "could not replace search paths"
-
- export FOAM_INST_DIR="${WORKDIR}"
- source etc/bashrc
-
- cd applications/solvers
- wmake all || die "could not build OpenFOAM utilities"
-}
-
-src_install() {
- insopts -m0755
- insinto ${INSDIR}/applications/bin
- doins -r applications/bin/* || die "doins failed"
-
- insinto ${INSDIR}/lib
- doins -r lib/* || die "doins failed"
-}