diff options
author | Mounir Lamouri <volkmar@gentoo.org> | 2009-04-27 03:11:21 +0000 |
---|---|---|
committer | Mounir Lamouri <volkmar@gentoo.org> | 2009-04-27 03:11:21 +0000 |
commit | b9177e78ac0848e70013bb01eea6758bc7dd3679 (patch) | |
tree | c6a303f04ad25820192ceec45c2d30f6fa73aa50 /sci-libs | |
parent | sci-libs/openfoam: removing, in gentoo-x86 (diff) | |
download | sunrise-reviewed-b9177e78ac0848e70013bb01eea6758bc7dd3679.tar.gz sunrise-reviewed-b9177e78ac0848e70013bb01eea6758bc7dd3679.tar.bz2 sunrise-reviewed-b9177e78ac0848e70013bb01eea6758bc7dd3679.zip |
sci-libs/openfoam-solvers: removing, in gentoo-x86
svn path=/sunrise/; revision=8431
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/openfoam-solvers/ChangeLog | 84 | ||||
-rw-r--r-- | sci-libs/openfoam-solvers/Manifest | 8 | ||||
-rw-r--r-- | sci-libs/openfoam-solvers/files/OpenFOAM-1.5-compile.patch | 397 | ||||
-rw-r--r-- | sci-libs/openfoam-solvers/files/OpenFOAM-1.5-ggi.patch | 233 | ||||
-rw-r--r-- | sci-libs/openfoam-solvers/metadata.xml | 5 | ||||
-rw-r--r-- | sci-libs/openfoam-solvers/openfoam-solvers-1.5_p20090311.ebuild | 73 |
6 files changed, 0 insertions, 800 deletions
diff --git a/sci-libs/openfoam-solvers/ChangeLog b/sci-libs/openfoam-solvers/ChangeLog deleted file mode 100644 index 42545e5cf..000000000 --- a/sci-libs/openfoam-solvers/ChangeLog +++ /dev/null @@ -1,84 +0,0 @@ -# ChangeLog for sci-libs/openfoam-solvers -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - - 17 Apr 2009; Justin Lecher (jlec) <jlec@j-schmitz.net> - 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 bfcf511fb..000000000 --- a/sci-libs/openfoam-solvers/Manifest +++ /dev/null @@ -1,8 +0,0 @@ -AUX OpenFOAM-1.5-compile.patch 13417 RMD160 1c074f559011c5135ab8069f0ebc9325d9094fba SHA1 bbeb3d53f75eb7dfee475766a78c509b6a7c4a1c SHA256 8dd34d4690f694f22d33b9ba4fb5391eeadad5104676b63de7fe5ccf72e0ff6a -AUX OpenFOAM-1.5-ggi.patch 5907 RMD160 9a678e2fd7d36e862ffa1ed7e18aa4a073b77ea3 SHA1 2053a2e4e0c96500330b8ec233673391cb7487cf SHA256 e592d47ffee2fe9495378860932630936d5d838cf7290fb10d1e298986729b6c -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 2044 RMD160 72bd55a4bcc2685fcc331194fb324bf98641c658 SHA1 add63739aa40a4771645bd241fbc0240e3d97a51 SHA256 354ee279878db349c7258cd68d4b71a56ec8e514949603f7176452d92f654952 -MISC ChangeLog 3142 RMD160 8e9c496bc3488abcd1579071c1d4b235c6432990 SHA1 aa678be6626cea17f6014d94e21b8ecf9c188a49 SHA256 d4bd5163fb97f5017fd323206ce4a0b7b1ec2829c55bd6944e8b207cb8c8442e -MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/sci-libs/openfoam-solvers/files/OpenFOAM-1.5-compile.patch b/sci-libs/openfoam-solvers/files/OpenFOAM-1.5-compile.patch deleted file mode 100644 index f95bf462f..000000000 --- a/sci-libs/openfoam-solvers/files/OpenFOAM-1.5-compile.patch +++ /dev/null @@ -1,397 +0,0 @@ ---- OpenFOAM-1.5-src/etc/bashrc 2008-07-09 19:08:57.000000000 +0200 -+++ OpenFOAM-1.5/etc/bashrc 2008-07-21 23:07:48.000000000 +0200 -@@ -42,9 +42,9 @@ - # - # Location of FOAM installation - # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --foamInstall=$HOME/$WM_PROJECT -+# foamInstall=$HOME/$WM_PROJECT - # foamInstall=~$WM_PROJECT --# foamInstall=/usr/local/$WM_PROJECT -+foamInstall=/usr/lib/$WM_PROJECT - # foamInstall=/opt/$WM_PROJECT - - : ${FOAM_INST_DIR:=$foamInstall}; export FOAM_INST_DIR -@@ -59,7 +59,7 @@ - - # Location of third-party software - # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --export WM_THIRD_PARTY_DIR=$WM_PROJECT_INST_DIR/ThirdParty -+# export WM_THIRD_PARTY_DIR=$WM_PROJECT_INST_DIR/ThirdParty - - - # Operating System/Platform from Unix or MSWindows -@@ -192,15 +192,15 @@ - - - _foamSource $WM_PROJECT_DIR/etc/settings.sh --_foamSource $WM_PROJECT_DIR/etc/aliases.sh -+# _foamSource $WM_PROJECT_DIR/etc/aliases.sh - - - # Source user setup files for optional packages - # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - # _foamSource $WM_PROJECT_DIR/etc/apps/paraview/bashrc --_foamSource $WM_PROJECT_DIR/etc/apps/paraview3/bashrc -+# _foamSource $WM_PROJECT_DIR/etc/apps/paraview3/bashrc - # _foamSource $WM_PROJECT_DIR/etc/apps/ensightFoam/bashrc --_foamSource $WM_PROJECT_DIR/etc/apps/cint/bashrc -+# _foamSource $WM_PROJECT_DIR/etc/apps/cint/bashrc - - - # Again clean environment (path, PATH, MANPATH, LD_LIBRARY_PATH) ---- OpenFOAM-1.5-src/etc/settings.sh 2008-06-27 13:19:25.000000000 +0200 -+++ OpenFOAM-1.5/etc/settings.sh 2008-07-21 00:50:00.000000000 +0200 -@@ -56,30 +56,30 @@ - export PATH=$WM_PROJECT_DIR/bin:$FOAM_INST_DIR/$WM_ARCH/bin:$PATH - - #- Location of the jobControl directory --export FOAM_JOB_DIR=$FOAM_INST_DIR/jobControl -+export FOAM_JOB_DIR=$HOME/$WM_PROJECT/jobControl - - export WM_DIR=$WM_PROJECT_DIR/wmake - export WM_LINK_LANGUAGE=c++ --export WM_OPTIONS=$WM_ARCH${WM_COMPILER}$WM_PRECISION_OPTION$WM_COMPILE_OPTION -+export WM_OPTIONS=$WM_ARCH${WM_COMPILER} - export PATH=$WM_DIR:$PATH - - export FOAM_SRC=$WM_PROJECT_DIR/src - export FOAM_LIB=$WM_PROJECT_DIR/lib --export FOAM_LIBBIN=$FOAM_LIB/$WM_OPTIONS -+export FOAM_LIBBIN=$FOAM_LIB - _foamAddLib $FOAM_LIBBIN - - export FOAM_APP=$WM_PROJECT_DIR/applications --export FOAM_APPBIN=$WM_PROJECT_DIR/applications/bin/$WM_OPTIONS -+export FOAM_APPBIN=$WM_PROJECT_DIR/applications/bin - _foamAddPath $FOAM_APPBIN - - export FOAM_TUTORIALS=$WM_PROJECT_DIR/tutorials - export FOAM_UTILITIES=$FOAM_APP/utilities - export FOAM_SOLVERS=$FOAM_APP/solvers - --export FOAM_USER_LIBBIN=$WM_PROJECT_USER_DIR/lib/$WM_OPTIONS -+export FOAM_USER_LIBBIN=$WM_PROJECT_USER_DIR/lib - _foamAddLib $FOAM_USER_LIBBIN - --export FOAM_USER_APPBIN=$WM_PROJECT_USER_DIR/applications/bin/$WM_OPTIONS -+export FOAM_USER_APPBIN=$WM_PROJECT_USER_DIR/applications/bin - _foamAddPath $FOAM_USER_APPBIN - - export FOAM_RUN=$WM_PROJECT_USER_DIR/run -@@ -93,7 +93,7 @@ - # Select compiler installation - # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - # WM_COMPILER_INST = OpenFOAM | System --WM_COMPILER_INST=OpenFOAM -+WM_COMPILER_INST=System - - case "$WM_COMPILER_INST" in - OpenFOAM) -@@ -136,45 +136,47 @@ - - case "$WM_MPLIB" in - OPENMPI) -- mpi_version=openmpi-1.2.6 -- export MPI_HOME=$WM_THIRD_PARTY_DIR/$mpi_version -- export MPI_ARCH_PATH=$MPI_HOME/platforms/$WM_OPTIONS -- -+ MPI_VERSION=openmpi -+# export MPI_HOME=$WM_THIRD_PARTY_DIR/$mpi_version -+# export MPI_ARCH_PATH=$MPI_HOME/platforms/$WM_OPTIONS -+ export MPI_ARCH_PATH=/usr - # Tell OpenMPI where to find its install directory - export OPAL_PREFIX=$MPI_ARCH_PATH - -- _foamAddLib $MPI_ARCH_PATH/lib -- _foamAddPath $MPI_ARCH_PATH/bin -+# _foamAddLib $MPI_ARCH_PATH/lib -+# _foamAddPath $MPI_ARCH_PATH/bin - -- export FOAM_MPI_LIBBIN=$FOAM_LIBBIN/$mpi_version -- unset mpi_version -+ export FOAM_MPI_LIBBIN=$FOAM_LIB/$MPI_VERSION -+# unset mpi_version - ;; - - LAM) -- mpi_version=lam-7.1.4 -- export MPI_HOME=$WM_THIRD_PARTY_DIR/$mpi_version -- export MPI_ARCH_PATH=$MPI_HOME/platforms/$WM_OPTIONS -- export LAMHOME=$WM_THIRD_PARTY_DIR/$mpi_version -+ MPI_VERSION=lam -+# export MPI_HOME=$WM_THIRD_PARTY_DIR/$mpi_version -+# export MPI_ARCH_PATH=$MPI_HOME/platforms/$WM_OPTIONS -+ export MPI_ARCH_PATH=/usr -+# export LAMHOME=$WM_THIRD_PARTY_DIR/$mpi_version - # note: LAMHOME is deprecated, should probably point to MPI_ARCH_PATH too - -- _foamAddLib $MPI_ARCH_PATH/lib -- _foamAddPath $MPI_ARCH_PATH/bin -+# _foamAddLib $MPI_ARCH_PATH/lib -+# _foamAddPath $MPI_ARCH_PATH/bin - -- export FOAM_MPI_LIBBIN=$FOAM_LIBBIN/$mpi_version -- unset mpi_version -+ export FOAM_MPI_LIBBIN=$FOAM_LIB/$MPI_VERSION -+# unset mpi_version - ;; - - MPICH) -- mpi_version=mpich-1.2.4 -- export MPI_HOME=$WM_THIRD_PARTY_DIR/$mpi_version -- export MPI_ARCH_PATH=$MPI_HOME/platforms/$WM_OPTIONS -+ MPI_VERSION=mpich -+# export MPI_HOME=$WM_THIRD_PARTY_DIR/$mpi_version -+# export MPI_ARCH_PATH=$MPI_HOME/platforms/$WM_OPTIONS -+ export MPI_ARCH_PATH=/usr - export MPICH_ROOT=$MPI_ARCH_PATH - -- _foamAddLib $MPI_ARCH_PATH/lib -- _foamAddPath $MPI_ARCH_PATH/bin -+# _foamAddLib $MPI_ARCH_PATH/lib -+# _foamAddPath $MPI_ARCH_PATH/bin - -- export FOAM_MPI_LIBBIN=$FOAM_LIBBIN/$mpi_version -- unset mpi_version -+ export FOAM_MPI_LIBBIN=$FOAM_LIB/$MPI_VERSION -+# unset mpi_version - ;; - - MPICH-GM) ---- OpenFOAM-1.5-src/etc/cshrc 2008-07-09 19:09:28.000000000 +0200 -+++ OpenFOAM-1.5/etc/cshrc 2008-07-20 22:31:22.000000000 +0200 -@@ -58,7 +58,7 @@ - - # Location of third-party software - # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --setenv WM_THIRD_PARTY_DIR $WM_PROJECT_INST_DIR/ThirdParty -+# setenv WM_THIRD_PARTY_DIR $WM_PROJECT_INST_DIR/ThirdParty - - - # Operating System/Platform from Unix or MSWindows -@@ -188,12 +188,12 @@ - alias _foamSource 'if ($?FOAM_VERBOSE && $?prompt) echo "Executing: \!*"; source \!*' - - _foamSource $WM_PROJECT_DIR/etc/settings.csh --_foamSource $WM_PROJECT_DIR/etc/aliases.csh -+# _foamSource $WM_PROJECT_DIR/etc/aliases.csh - - # Source user setup files for optional packages - # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - # _foamSource $WM_PROJECT_DIR/etc/apps/paraview/cshrc --_foamSource $WM_PROJECT_DIR/etc/apps/paraview3/cshrc -+# _foamSource $WM_PROJECT_DIR/etc/apps/paraview3/cshrc - # _foamSource $WM_PROJECT_DIR/etc/apps/ensightFoam/cshrc - - ---- OpenFOAM-1.5-src/etc/settings.csh 2008-06-27 13:19:25.000000000 +0200 -+++ OpenFOAM-1.5/etc/settings.csh 2008-07-20 23:14:59.000000000 +0200 -@@ -39,30 +39,30 @@ - set path=($WM_PROJECT_DIR/bin $FOAM_INST_DIR/$WM_ARCH/bin $path) - - #- Location of the jobControl directory --setenv FOAM_JOB_DIR $FOAM_INST_DIR/jobControl -+setenv FOAM_JOB_DIR $HOME/$WM_PROJECT/jobControl - - setenv WM_DIR $WM_PROJECT_DIR/wmake - setenv WM_LINK_LANGUAGE c++ --setenv WM_OPTIONS $WM_ARCH$WM_COMPILER$WM_PRECISION_OPTION$WM_COMPILE_OPTION -+setenv WM_OPTIONS $WM_ARCH$WM_COMPILER - set path=($WM_DIR $path) - - setenv FOAM_SRC $WM_PROJECT_DIR/src - setenv FOAM_LIB $WM_PROJECT_DIR/lib --setenv FOAM_LIBBIN $FOAM_LIB/$WM_OPTIONS -+setenv FOAM_LIBBIN $FOAM_LIB - _foamAddLib $FOAM_LIBBIN - - setenv FOAM_APP $WM_PROJECT_DIR/applications --setenv FOAM_APPBIN $WM_PROJECT_DIR/applications/bin/$WM_OPTIONS -+setenv FOAM_APPBIN $WM_PROJECT_DIR/applications/bin - _foamAddPath $FOAM_APPBIN - - setenv FOAM_TUTORIALS $WM_PROJECT_DIR/tutorials - setenv FOAM_UTILITIES $FOAM_APP/utilities - setenv FOAM_SOLVERS $FOAM_APP/solvers - --setenv FOAM_USER_LIBBIN $WM_PROJECT_USER_DIR/lib/$WM_OPTIONS -+setenv FOAM_USER_LIBBIN $WM_PROJECT_USER_DIR/lib - _foamAddLib $FOAM_USER_LIBBIN - --setenv FOAM_USER_APPBIN $WM_PROJECT_USER_DIR/applications/bin/$WM_OPTIONS -+setenv FOAM_USER_APPBIN $WM_PROJECT_USER_DIR/applications/bin - _foamAddPath $FOAM_USER_APPBIN - - setenv FOAM_RUN $WM_PROJECT_USER_DIR/run -@@ -76,7 +76,7 @@ - # Select compiler installation - # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - # WM_COMPILER_INST = OpenFOAM | System --set WM_COMPILER_INST=OpenFOAM -+set WM_COMPILER_INST=System - - switch ("$WM_COMPILER_INST") - case OpenFOAM: -@@ -125,45 +125,48 @@ - - switch ("$WM_MPLIB") - case OPENMPI: -- set mpi_version=openmpi-1.2.6 -- setenv MPI_HOME $WM_THIRD_PARTY_DIR/$mpi_version -- setenv MPI_ARCH_PATH $MPI_HOME/platforms/$WM_OPTIONS -+# set mpi_version=openmpi-1.2.6 -+# setenv MPI_HOME $WM_THIRD_PARTY_DIR/$mpi_version -+# setenv MPI_ARCH_PATH $MPI_HOME/platforms/$WM_OPTIONS -+ setenv MPI_ARCH_PATH /usr - - # Tell OpenMPI where to find its install directory - setenv OPAL_PREFIX $MPI_ARCH_PATH - -- _foamAddLib $MPI_ARCH_PATH/lib -- _foamAddPath $MPI_ARCH_PATH/bin -+# _foamAddLib $MPI_ARCH_PATH/lib -+# _foamAddPath $MPI_ARCH_PATH/bin - -- setenv FOAM_MPI_LIBBIN $FOAM_LIBBIN/$mpi_version -- unset mpi_version -+ setenv FOAM_MPI_LIBBIN $FOAM_LIB/openmpi -+# unset mpi_version - breaksw - - case LAM: -- set mpi_version=lam-7.1.4 -- setenv MPI_HOME $WM_THIRD_PARTY_DIR/$mpi_version -- setenv MPI_ARCH_PATH $MPI_HOME/platforms/$WM_OPTIONS -- setenv LAMHOME $WM_THIRD_PARTY_DIR/$mpi_version -+# set mpi_version=lam-7.1.4 -+# setenv MPI_HOME $WM_THIRD_PARTY_DIR/$mpi_version -+# setenv MPI_ARCH_PATH $MPI_HOME/platforms/$WM_OPTIONS -+ setenv MPI_ARCH_PATH /usr -+# setenv LAMHOME $WM_THIRD_PARTY_DIR/$mpi_version - # note: LAMHOME is deprecated, should probably point to MPI_ARCH_PATH too - -- _foamAddLib $MPI_ARCH_PATH/lib -- _foamAddPath $MPI_ARCH_PATH/bin -+# _foamAddLib $MPI_ARCH_PATH/lib -+# _foamAddPath $MPI_ARCH_PATH/bin - -- setenv FOAM_MPI_LIBBIN $FOAM_LIBBIN/$mpi_version -- unset mpi_version -+ setenv FOAM_MPI_LIBBIN $FOAM_LIB/lam -+# unset mpi_version - breaksw - - case MPICH: -- set mpi_version=mpich-1.2.4 -- setenv MPI_HOME $WM_THIRD_PARTY_DIR/$mpi_version -- setenv MPI_ARCH_PATH $MPI_HOME/platforms/$WM_OPTIONS -+# set mpi_version=mpich-1.2.4 -+# setenv MPI_HOME $WM_THIRD_PARTY_DIR/$mpi_version -+# setenv MPI_ARCH_PATH $MPI_HOME/platforms/$WM_OPTIONS -+ setenv MPI_ARCH_PATH /usr - setenv MPICH_ROOT $MPI_ARCH_PATH - -- _foamAddLib $MPI_ARCH_PATH/lib -- _foamAddPath $MPI_ARCH_PATH/bin -+# _foamAddLib $MPI_ARCH_PATH/lib -+# _foamAddPath $MPI_ARCH_PATH/bin - -- setenv FOAM_MPI_LIBBIN $FOAM_LIBBIN/$mpi_version -- unset mpi_version -+ setenv FOAM_MPI_LIBBIN $FOAM_LIB/mpich -+# unset mpi_version - breaksw - - case MPICH-GM: ---- OpenFOAM-1.5-src/wmake/rules/General/flex++ 2008-05-01 16:16:40.000000000 +0200 -+++ OpenFOAM-1.5/wmake/rules/General/flex++ 2008-07-22 16:18:41.000000000 +0200 -@@ -1,6 +1,6 @@ - .SUFFIXES: .L - --Ltoo = flex++ -f $$SOURCE ; mv lex.yy.cc $*.C ; $(CC) $(c++FLAGS) -c $*.C -o $@ -+Ltoo = flex --c++ $$SOURCE ; mv lex.yy.cc $*.C ; $(CC) $(c++FLAGS) -c $*.C -o $@ - - .L.dep: - $(MAKE_DEP) ---- OpenFOAM-1.5-src/wmake/Makefile 2008-06-27 13:19:31.000000000 +0200 -+++ OpenFOAM-1.5/wmake/Makefile 2008-07-20 23:06:27.000000000 +0200 -@@ -56,7 +56,7 @@ - - LIB_SRC = $(WM_PROJECT_DIR)/src - LIB_DIR = $(WM_PROJECT_DIR)/lib --LIB_WM_OPTIONS_DIR = $(LIB_DIR)/$(WM_OPTIONS) -+LIB_WM_OPTIONS_DIR = $(LIB_DIR) - OBJECTS_DIR = $(MAKE_DIR)/$(WM_OPTIONS) - CLASSES_DIR = $(MAKE_DIR)/classes - ---- OpenFOAM-1.5-src/bin/paraFoam 2008-07-03 18:14:43.000000000 +0200 -+++ OpenFOAM-1.5/bin/paraFoam 2008-07-22 15:23:24.000000000 +0200 -@@ -77,8 +77,8 @@ - [ -s "$parentDir/$check" ] || usage "file does not exist: '$parentDir/$check'" - done - --#caseFile="$caseName.foam" --caseFile="$caseName.OpenFOAM" -+caseFile="$caseName.foam" -+# caseFile="$caseName.OpenFOAM" - - case "$ParaView_VERSION" in - 2*) -@@ -96,7 +96,7 @@ - *) - # Clean up on termination and on Ctrl-C - trap "rm -f $caseFile 2>/dev/null; exit 0" EXIT TERM INT -- touch $caseFile -+ ln system/controlDict $caseFile - paraview --data=$caseFile - ;; - ---- OpenFOAM-1.5-src/src/decompositionAgglomeration/decompositionMethods/Make/options 2008-06-09 16:22:09.000000000 +0200 -+++ OpenFOAM-1.5/src/decompositionAgglomeration/decompositionMethods/Make/options 2008-07-20 22:19:30.000000000 +0200 -@@ -1,6 +1,5 @@ - EXE_INC = \ -- -I$(WM_THIRD_PARTY_DIR)/metis-5.0pre2/include -+ -I/usr/include/metis - - LIB_LIBS = \ -- -lmetis \ -- -lGKlib -+ -lmetis ---- OpenFOAM-1.5-src/src/decompositionAgglomeration/parMetisDecomp/Make/options 2008-06-09 16:23:55.000000000 +0200 -+++ OpenFOAM-1.5/src/decompositionAgglomeration/parMetisDecomp/Make/options 2008-07-20 22:24:04.000000000 +0200 -@@ -2,11 +2,11 @@ - - EXE_INC = \ - $(PFLAGS) $(PINC) \ -- -I$(WM_THIRD_PARTY_DIR)/ParMetis-3.1/ParMETISLib \ -- -I$(WM_THIRD_PARTY_DIR)/ParMetis-3.1 \ -+ -I/usr/include/parmetis \ -+ -I/usr/include/metis \ - -I../decompositionMethods/lnInclude - - LIB_LIBS = \ - -L$(FOAM_MPI_LIBBIN) \ -- -lmetis-parmetis \ -+ -lmetis \ - -lparmetis ---- OpenFOAM-1.5-src/src/decompositionAgglomeration/MGridGenGamgAgglomeration/Make/options 2008-06-09 16:22:37.000000000 +0200 -+++ OpenFOAM-1.5/src/decompositionAgglomeration/MGridGenGamgAgglomeration/Make/options 2008-07-21 20:45:42.000000000 +0200 -@@ -1,5 +1,3 @@ --ParMGridGen = $(WM_THIRD_PARTY_DIR)/ParMGridGen-1.0 -- - TYPE_REAL= - #if defined(SP) - TYPE_REAL=-DTYPE_REAL -@@ -7,9 +5,9 @@ - - EXE_INC = \ - -I$(LIB_SRC)/finiteVolume/lnInclude \ -- -I$(ParMGridGen)/MGridGen/Lib/lnInclude \ -- -I$(ParMGridGen)/MGridGen/IMlib/lnInclude \ -+ -I/usr/include/mgridgen \ - $(TYPE_REAL) - - LIB_LIBS = \ -+ -lIMlib \ - -lMGridGen 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 155905018..000000000 --- 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 7e3286984..000000000 --- a/sci-libs/openfoam-solvers/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>maintainer-wanted</herd> -</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 cd96eadd4..000000000 --- a/sci-libs/openfoam-solvers/openfoam-solvers-1.5_p20090311.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -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" - -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 "${FILESDIR}"/${MY_P}-compile.patch - 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/. || "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" -} |