summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2008-02-22 13:35:13 +0000
committerMarkus Dittrich <markusle@gentoo.org>2008-02-22 13:35:13 +0000
commitc18a23c3afe6c513513e3032cbeede8180f5b77d (patch)
tree7c1c4785d4a71a59b36830375ffed88afd657f6c /sci-libs/vtk/files
parentMove desktop-file-utils to PDEPEND because of dependency cycle, bug 208043. (diff)
downloadgentoo-2-c18a23c3afe6c513513e3032cbeede8180f5b77d.tar.gz
gentoo-2-c18a23c3afe6c513513e3032cbeede8180f5b77d.tar.bz2
gentoo-2-c18a23c3afe6c513513e3032cbeede8180f5b77d.zip
Removed support for mpich and added support for mpich2, openmpi, and lam-mpi. Also fixed some QA issues and added qt4 eclass.
(Portage version: 2.1.4.4)
Diffstat (limited to 'sci-libs/vtk/files')
-rw-r--r--sci-libs/vtk/files/vtk-5.0.1-python2.5-gentoo.patch12
-rw-r--r--sci-libs/vtk/files/vtk-5.0.3-lammpi.patch45
-rw-r--r--sci-libs/vtk/files/vtk-5.0.3-mpi.patch74
3 files changed, 74 insertions, 57 deletions
diff --git a/sci-libs/vtk/files/vtk-5.0.1-python2.5-gentoo.patch b/sci-libs/vtk/files/vtk-5.0.1-python2.5-gentoo.patch
deleted file mode 100644
index c1abcd7254ad..000000000000
--- a/sci-libs/vtk/files/vtk-5.0.1-python2.5-gentoo.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur VTK/Common/vtkPythonUtil.cxx VTK-new/Common/vtkPythonUtil.cxx
---- VTK/Common/vtkPythonUtil.cxx 2005-08-04 12:19:14.000000000 -0400
-+++ VTK-new/Common/vtkPythonUtil.cxx 2006-09-23 11:16:06.000000000 -0400
-@@ -768,7 +768,7 @@
- }
- if (strcmp(name, "__doc__") == 0)
- {
-- char *doc = t->tp_doc;
-+ const char *doc = t->tp_doc;
- if (doc != NULL)
- {
- return PyString_FromString(doc);
diff --git a/sci-libs/vtk/files/vtk-5.0.3-lammpi.patch b/sci-libs/vtk/files/vtk-5.0.3-lammpi.patch
deleted file mode 100644
index 4493667cf7db..000000000000
--- a/sci-libs/vtk/files/vtk-5.0.3-lammpi.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-diff -Naur VTK/Parallel/CMakeLists.txt VTK-new/Parallel/CMakeLists.txt
---- VTK/Parallel/CMakeLists.txt 2007-03-28 16:38:46.000000000 -0400
-+++ VTK-new/Parallel/CMakeLists.txt 2007-05-06 08:46:55.000000000 -0400
-@@ -78,6 +78,7 @@
-
- IF (VTK_USE_MPI)
- INCLUDE (${CMAKE_ROOT}/Modules/FindMPI.cmake)
-+ INCLUDE(${VTK_SOURCE_DIR}/Parallel/FindLAMMPI.cmake)
- SET ( Kit_SRCS
- ${Kit_SRCS}
- vtkMPICommunicator.cxx
-@@ -94,6 +95,12 @@
- IF (MPI_EXTRA_LIBRARY)
- SET(KIT_LIBS ${KIT_LIBS} "${MPI_EXTRA_LIBRARY}")
- ENDIF (MPI_EXTRA_LIBRARY)
-+ IF (LAMMPI_LIBRARY)
-+ SET(KIT_LIBS ${KIT_LIBS} "${LAMMPI_LIBRARY}")
-+ ENDIF (LAMMPI_LIBRARY)
-+ IF (LAMMPI_EXTRA_LIBRARY)
-+ SET(KIT_LIBS ${KIT_LIBS} "${LAMMPI_EXTRA_LIBRARY}")
-+ ENDIF (LAMMPI_EXTRA_LIBRARY)
- ENDIF (VTK_USE_MPI)
-
- SET(Kit_EXTRA_SRCS)
-diff -Naur VTK/Parallel/FindLAMMPI.cmake VTK-new/Parallel/FindLAMMPI.cmake
---- VTK/Parallel/FindLAMMPI.cmake 1969-12-31 19:00:00.000000000 -0500
-+++ VTK-new/Parallel/FindLAMMPI.cmake 2007-05-06 18:30:22.000000000 -0400
-@@ -0,0 +1,17 @@
-+# - Find LamMPI
-+FIND_LIBRARY(LAMMPI_LIBRARY
-+ NAMES lam
-+ PATHS /usr/lib /usr/lib64
-+ "$ENV{ProgramFiles}/MPICH/SDK/Lib"
-+ "$ENV{ProgramFiles}/MPICH2/Lib"
-+ "C:/Program Files/MPICH/SDK/Lib"
-+)
-+
-+FIND_LIBRARY(LAMMPI_EXTRA_LIBRARY
-+ NAMES lammpi++
-+ PATHS /usr/lib /usr/lib64
-+ "$ENV{ProgramFiles}/MPICH/SDK/Lib"
-+ "C:/Program Files/MPICH/SDK/Lib"
-+ DOC "If a second mpi library is necessary, specify it here.")
-+
-+MARK_AS_ADVANCED(LAMMPI_LIBRARY LAMMPI_EXTRA_LIBRARY)
diff --git a/sci-libs/vtk/files/vtk-5.0.3-mpi.patch b/sci-libs/vtk/files/vtk-5.0.3-mpi.patch
new file mode 100644
index 000000000000..fec1d67bd0aa
--- /dev/null
+++ b/sci-libs/vtk/files/vtk-5.0.3-mpi.patch
@@ -0,0 +1,74 @@
+diff -Naur VTK/Parallel/CMakeLists.txt VTK.new/Parallel/CMakeLists.txt
+--- VTK/Parallel/CMakeLists.txt 2007-03-28 15:38:46.000000000 -0500
++++ VTK.new/Parallel/CMakeLists.txt 2008-02-21 15:16:04.000000000 -0500
+@@ -78,6 +78,8 @@
+
+ IF (VTK_USE_MPI)
+ INCLUDE (${CMAKE_ROOT}/Modules/FindMPI.cmake)
++ INCLUDE(${VTK_SOURCE_DIR}/Parallel/FindLAMMPI.cmake)
++ INCLUDE(${VTK_SOURCE_DIR}/Parallel/FindOpenmpi.cmake)
+ SET ( Kit_SRCS
+ ${Kit_SRCS}
+ vtkMPICommunicator.cxx
+@@ -94,6 +96,18 @@
+ IF (MPI_EXTRA_LIBRARY)
+ SET(KIT_LIBS ${KIT_LIBS} "${MPI_EXTRA_LIBRARY}")
+ ENDIF (MPI_EXTRA_LIBRARY)
++ IF (LAMMPI_LIBRARY)
++ SET(KIT_LIBS ${KIT_LIBS} "${LAMMPI_LIBRARY}")
++ ENDIF (LAMMPI_LIBRARY)
++ IF (LAMMPI_EXTRA_LIBRARY)
++ SET(KIT_LIBS ${KIT_LIBS} "${LAMMPI_EXTRA_LIBRARY}")
++ ENDIF (LAMMPI_EXTRA_LIBRARY)
++ IF (OPENMPI_LIBRARY)
++ SET(KIT_LIBS ${KIT_LIBS} "${OPENMPI_LIBRARY}")
++ ENDIF (OPENMPI_LIBRARY)
++ IF (OPENMPI_EXTRA_LIBRARY)
++ SET(KIT_LIBS ${KIT_LIBS} "${OPENMPI_EXTRA_LIBRARY}")
++ ENDIF (OPENMPI_EXTRA_LIBRARY)
+ ENDIF (VTK_USE_MPI)
+
+ SET(Kit_EXTRA_SRCS)
+diff -Naur VTK/Parallel/FindLAMMPI.cmake VTK.new/Parallel/FindLAMMPI.cmake
+--- VTK/Parallel/FindLAMMPI.cmake 1969-12-31 19:00:00.000000000 -0500
++++ VTK.new/Parallel/FindLAMMPI.cmake 2008-02-21 15:13:38.000000000 -0500
+@@ -0,0 +1,17 @@
++# - Find LamMPI
++FIND_LIBRARY(LAMMPI_LIBRARY
++ NAMES lam
++ PATHS /usr/lib /usr/lib64
++ "$ENV{ProgramFiles}/MPICH/SDK/Lib"
++ "$ENV{ProgramFiles}/MPICH2/Lib"
++ "C:/Program Files/MPICH/SDK/Lib"
++)
++
++FIND_LIBRARY(LAMMPI_EXTRA_LIBRARY
++ NAMES lammpi++
++ PATHS /usr/lib /usr/lib64
++ "$ENV{ProgramFiles}/MPICH/SDK/Lib"
++ "C:/Program Files/MPICH/SDK/Lib"
++ DOC "If a second mpi library is necessary, specify it here.")
++
++MARK_AS_ADVANCED(LAMMPI_LIBRARY LAMMPI_EXTRA_LIBRARY)
+diff -Naur VTK/Parallel/FindOpenmpi.cmake VTK.new/Parallel/FindOpenmpi.cmake
+--- VTK/Parallel/FindOpenmpi.cmake 1969-12-31 19:00:00.000000000 -0500
++++ VTK.new/Parallel/FindOpenmpi.cmake 2008-02-21 15:14:23.000000000 -0500
+@@ -0,0 +1,18 @@
++# - Find openmpi
++FIND_PATH(MPI_INCLUDE_PATH mpi.h
++ /usr/include
++ /usr/include/openmpi
++)
++
++FIND_LIBRARY(OPENMPI_LIBRARY
++ NAMES mpi
++ PATHS /usr/lib /usr/lib64
++)
++
++FIND_LIBRARY(OPENMPI_EXTRA_LIBRARY
++ NAMES mpi_cxx
++ PATHS /usr/lib /usr/lib64
++ DOC "If a second mpi library is necessary, specify it here.")
++
++MARK_AS_ADVANCED(OPENMPI_LIBRARY OPENMPI_EXTRA_LIBRARY)
++