summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-04-28 16:05:27 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-04-28 16:05:27 +0000
commit252058d18efa9d8cfa198e70fea3644d80ede536 (patch)
tree2f14e20e3029a24370632b861e240c85f78d523f /sci-libs/openfoam-utilities
parentpunt (diff)
downloadgentoo-2-252058d18efa9d8cfa198e70fea3644d80ede536.tar.gz
gentoo-2-252058d18efa9d8cfa198e70fea3644d80ede536.tar.bz2
gentoo-2-252058d18efa9d8cfa198e70fea3644d80ede536.zip
Not installable for almost an year now wrt bugs #326613, #284921, #316515, #315411. Other minor bugs, #336126.
Diffstat (limited to 'sci-libs/openfoam-utilities')
-rw-r--r--sci-libs/openfoam-utilities/ChangeLog117
-rw-r--r--sci-libs/openfoam-utilities/Manifest18
-rw-r--r--sci-libs/openfoam-utilities/files/OpenFOAM-1.5-ggi.patch233
-rw-r--r--sci-libs/openfoam-utilities/metadata.xml13
-rw-r--r--sci-libs/openfoam-utilities/openfoam-utilities-1.5_p20090311.ebuild79
5 files changed, 0 insertions, 460 deletions
diff --git a/sci-libs/openfoam-utilities/ChangeLog b/sci-libs/openfoam-utilities/ChangeLog
deleted file mode 100644
index 1196af79a056..000000000000
--- a/sci-libs/openfoam-utilities/ChangeLog
+++ /dev/null
@@ -1,117 +0,0 @@
-# ChangeLog for sci-libs/openfoam-utilities
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/openfoam-utilities/ChangeLog,v 1.4 2010/04/25 11:33:04 jlec Exp $
-
- 25 Sep 2009; Diego E. Pettenò <flameeyes@gentoo.org>
- openfoam-utilities-1.5_p20090311.ebuild,
- -files/OpenFOAM-1.5-compile.patch:
- Move humonguous, duplicated patches to mirrors.
-
- 26 Apr 2009; Patrick Lauer <patrick@gentoo.org> metadata.xml:
- Adding Oliver Borm to metadata
-
-*openfoam-utilities-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-utilities-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-utilities-1.5_p20090311.ebuild:
- QA quotes around EAPI version
-
- 14 Mar 2009; Oliver Borm (boroli) <oli.borm@web.de>
- openfoam-utilities-1.5_p20090311.ebuild, files/OpenFOAM-1.5-compile.patch:
- Fixed typos
-
- 13 Mar 2009; Oliver Borm (boroli) <oli.borm@web.de>
- -openfoam-utilities-1.5_p20090204.ebuild,
- +openfoam-utilities-1.5_p20090311.ebuild, +files/OpenFOAM-1.5-ggi.patch:
- Version bump
-
- 13 Feb 2009; Oliver Borm (boroli) <oli.borm@web.de>
- -openfoam-utilities-1.4.1_p20080827.ebuild,
- -files/openfoam-utilities-compile-1.4.1_p20080827.patch:
- Remove old version.
-
- 05 Feb 2009; Tomas Chvatal <scarabeus@gentoo.org>
- openfoam-utilities-1.4.1_p20080827.ebuild:
- Make repoman happy
-
- 04 Feb 2009; Oliver Borm (boroli) <oli.borm@web.de>
- -openfoam-utilities-1.5_p20080905.ebuild,
- +openfoam-utilities-1.5_p20090204.ebuild:
- Changed to EAPI=2 and added some new patches
-
- 08 Sep 2008; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
- openfoam-utilities-1.5_p20080905.ebuild:
- Use ${P} in SRC_URI
-
- 08 Sep 2008; Oliver Borm (boroli) <oli.borm@web.de>
- -openfoam-utilities-1.5.ebuild, +openfoam-utilities-1.5_p20080905.ebuild:
- New patch sets
-
- 31 Aug 2008; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
- -files/openfoam-utilities-1.4.1_p20080827.patch:
- Move big patch to external source
-
- 31 Aug 2008; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
- -openfoam-utilities-1.4.1_p20080328.ebuild,
- -files/openfoam-utilities-1.4.1_p20080328.patch,
- -files/openfoam-utilities-compile-1.4.1_p20080328.patch:
- Drop old version
-
- 28 Aug 2008; Oliver Borm (boroli) <oli.borm@web.de>
- +openfoam-utilities-1.4.1_p20080827.ebuild,
- +files/openfoam-utilities-1.4.1_p20080827.patch,
- +files/openfoam-utilities-compile-1.4.1_p20080827.patch:
- Update patches for the OpenFOAM utilities
-
- 04 Aug 2008; Oliver Borm (boroli) <oli.borm@web.de>
- openfoam-utilities-1.4.1_p20080328.ebuild, openfoam-utilities-1.5.ebuild:
- Changed version dependencies
-
- 28 Jul 2008; Oliver Borm (boroli) <oli.borm@web.de>
- openfoam-utilities-1.5.ebuild:
- Removed unnecessary variable declaration
-
- 28 Jul 2008; Oliver Borm (boroli) <oli.borm@web.de>
- openfoam-utilities-1.5.ebuild:
- Fixed some errors due to wrong relative paths.
-
- 26 Jul 2008; Thomas Anderson <gentoofan23@gentoo.org>
- openfoam-utilities-1.5.ebuild:
- Fix unnecessary quoting
-
- 22 Jul 2008; Oliver Borm (boroli) <oli.borm@web.de>
- +openfoam-utilities-1.5.ebuild, +files/OpenFOAM-1.5-compile.patch:
- Version bump to 1.5
-
- 22 Apr 2008; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
- openfoam-utilities-1.4.1_p20080328.ebuild:
- Fix dep
-
- 21 Apr 2008; Oliver Borm (boroli) <oli.borm@web.de>
- openfoam-utilities-1.4.1_p20080328.ebuild:
- Fixed some minor dependency problems.
-
- 30 Mar 2008; Thomas Sachau (Tommy[D]) tommy@gentoo.org
- -openfoam-utilities-1.4.1_p20080118.ebuild,
- -files/openfoam-utilities-compile-1.4.1_p20080118.patch,
- -files/openfoam-utilities-1.4.1_p20080118.patch:
- Drop old version
-
- 28 Mar 2008; Oliver Borm (boroli) <oli.borm@web.de>
- +openfoam-utilities-1.4.1_p20080328.ebuild,
- +files/openfoam-utilities-1.4.1_p20080328.patch,
- +files/openfoam-utilities-compile-1.4.1_p20080328.patch:
- sci-libs/parmetis in portage requires new dependencies
-
- 29 Jan 2008; Oliver Borm (boroli) <oli.borm@web.de>
- +files/openfoam-utilities-compile-1.4.1_p20080118.patch,
- +files/openfoam-utilities-1.4.1_p20080118.patch, +metadata.xml,
- +openfoam-utilities-1.4.1_p20080118.ebuild:
- New Ebuild for the OpenFOAM utilities
-
diff --git a/sci-libs/openfoam-utilities/Manifest b/sci-libs/openfoam-utilities/Manifest
deleted file mode 100644
index 0743b583625b..000000000000
--- a/sci-libs/openfoam-utilities/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-utilities-1.5_p20090311.ebuild 2640 RMD160 7f4a065eda3c328118a7c2c7cab02549adf3c51e SHA1 de10721dfd02a9998aafc67e26655e2305611d27 SHA256 6304dc7c1c89068cb504e3df77a14c29cc8cd4530d2439c6a5e03c0d3cc9a224
-MISC ChangeLog 4432 RMD160 13a63ba464f0e4b90bc160b17b3809ecb21e5645 SHA1 74649e0ad84456f937793f4a59716e87897f5865 SHA256 42385e003cacc47f3c4ddf2a43a017c50ace0a1cd475bc826572f5b538f97df8
-MISC metadata.xml 342 RMD160 bba0c7eb3af0d1cd2322a40e86f4a80a0f48b6cf SHA1 7950d74b3d7d4fbe7167b487c5cd26559548b4ab SHA256 b57f05d81648f5a92cedd91c025852cb3bc5fc8d4ab4d110eb6886fc89e2ba97
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.14 (GNU/Linux)
-
-iEYEARECAAYFAkvUKHUACgkQgAnW8HDreRa6dACgqCQUAf2W2g4MYxyD9XRCRWtk
-U5oAn2/LRAqfcPZpTW0ZgGln3tIlnBiD
-=wwoV
------END PGP SIGNATURE-----
diff --git a/sci-libs/openfoam-utilities/files/OpenFOAM-1.5-ggi.patch b/sci-libs/openfoam-utilities/files/OpenFOAM-1.5-ggi.patch
deleted file mode 100644
index 1559050187ba..000000000000
--- a/sci-libs/openfoam-utilities/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-utilities/metadata.xml b/sci-libs/openfoam-utilities/metadata.xml
deleted file mode 100644
index 199db2e8871c..000000000000
--- a/sci-libs/openfoam-utilities/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-utilities/openfoam-utilities-1.5_p20090311.ebuild b/sci-libs/openfoam-utilities/openfoam-utilities-1.5_p20090311.ebuild
deleted file mode 100644
index aa35d3947180..000000000000
--- a/sci-libs/openfoam-utilities/openfoam-utilities-1.5_p20090311.ebuild
+++ /dev/null
@@ -1,79 +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-utilities/openfoam-utilities-1.5_p20090311.ebuild,v 1.2 2009/09/25 09:31:47 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 - utilities"
-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-solvers-${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
-
- chmod +x applications/utilities/postProcessing/graphics/ensightFoamReader/Allwmake
-}
-
-src_compile() {
- cp -a ${INSDIR}/etc/{bashrc,settings.sh} "${S}"/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"
-
- sed -i -e "s|(FOAM_LIBBIN)|(FOAM_LIB)|" applications/utilities/postProcessing/velocityField/{flowType,Pe,uprime,vorticity,enstrophy,Q,Co,Lambda2,Mach}/Make/options || die "cannot change LIB dir"
- sed -i -e "s|(FOAM_LIBBIN)|(FOAM_LIB)|" applications/utilities/postProcessing/miscellaneous/execFlowFunctionObjects/Make/options || die "cannot change LIB dir"
-
- export FOAM_INST_DIR="${WORKDIR}"
- source etc/bashrc
-
- cd applications/utilities
- wmake all || die "could not build OpenFOAM utilities"
-}
-
-src_install() {
- insopts -m0755
- insinto ${INSDIR}/applications/bin
- doins -r applications/bin/*
-
- insinto ${INSDIR}/lib
- doins -r lib/*
-}