summaryrefslogtreecommitdiff
path: root/community/paraview
diff options
context:
space:
mode:
Diffstat (limited to 'community/paraview')
-rw-r--r--community/paraview/PKGBUILD94
-rw-r--r--community/paraview/doubletostring.patch11
-rw-r--r--community/paraview/fix_FTBFS_boost149.patch27
-rw-r--r--community/paraview/kwprocessxml_rpath.patch26
-rw-r--r--community/paraview/paraview-3.14.1-gcc47.patch36
-rw-r--r--community/paraview/paraview.desktop10
-rw-r--r--community/paraview/paraview.pngbin367 -> 0 bytes
7 files changed, 0 insertions, 204 deletions
diff --git a/community/paraview/PKGBUILD b/community/paraview/PKGBUILD
deleted file mode 100644
index ce5b87fad..000000000
--- a/community/paraview/PKGBUILD
+++ /dev/null
@@ -1,94 +0,0 @@
-# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
-# Contributor: Thomas Dziedzic < gostrc at gmail >
-# Contributor: Michele Mocciola <mickele>
-# Contributor: Simon Zilliken <simon____AT____zilliken____DOT____name>
-
-pkgname=paraview
-pkgver=3.14.1
-pkgrel=2
-pkgdesc='Parallel Visualization Application using VTK'
-arch=('i686' 'x86_64')
-url='http://www.paraview.org'
-license=('custom')
-depends=('qt' 'python2' 'libgl' 'unixodbc' 'postgresql-libs' 'libxt' 'qtwebkit'
- 'libmysqlclient' 'openmpi' 'boost-libs' 'libcgns2'
- # export as avi support
- #'ffmpeg'
- # The following is a list of libraries we explicitly tell cmake to use the system library of
- 'hdf5' 'freetype2' 'libjpeg' 'libpng' 'libtiff' 'zlib' 'expat' 'libxml2' 'libtheora'
- )
-makedepends=('cmake' 'desktop-file-utils' 'boost' 'mesa')
-source=("http://paraview.org/files/v${pkgver:0:4}/ParaView-${pkgver}-Source.tar.gz"
- 'paraview.png'
- 'paraview.desktop'
- 'paraview-3.14.1-gcc47.patch'
- 'doubletostring.patch'
- 'fix_FTBFS_boost149.patch'
- 'kwprocessxml_rpath.patch')
-sha1sums=('1326c6e941fb9d12c548b14ca10932b49b5e3ffd'
- 'a2dff014e1235dfaa93cd523286f9c97601d3bbc'
- '9cd5b19b4072d8d5512bb97a141eb878adf73ab5'
- 'dd8486082733bb6d13a741b52f4bbea804862295'
- '9e85e47337ef66de7263b3d2f80a56e0cc307d61'
- 'a9982155202b2cc93597e1fa66d12f2ffbbf287a'
- '9e04dc858f0e8f30ce4595d6e5691f0463a02ea7')
-
-build() {
- cd "${srcdir}"/ParaView-${pkgver}-Source
-
- patch -Np1 -i ../paraview-3.14.1-gcc47.patch
-
- # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=640305
- patch -Np1 -i ../kwprocessxml_rpath.patch
-
- patch -Np1 -i ../fix_FTBFS_boost149.patch
-
- patch -Np1 -i ../doubletostring.patch
-
- mkdir "${srcdir}"/build
- cd "${srcdir}"/build
-
- # flags to enable using system libs
- local cmake_system_flags=""
- for lib in HDF5 FREETYPE JPEG PNG TIFF ZLIB EXPAT LIBXML2 OGGTHEORA; do
- cmake_system_flags+="-DVTK_USE_SYSTEM_${lib}:BOOL=ON "
- done
-
- # flags to use python2 instead of python which is 3.x.x on archlinux
- local cmake_system_python_flags="-DPYTHON_EXECUTABLE:PATH=/usr/bin/python2 \
- -DPYTHON_INCLUDE_DIR:PATH=/usr/include/python2.7 -DPYTHON_LIBRARY:PATH=/usr/lib/libpython2.7.so"
-
- # enable when http://paraview.org/Bug/view.php?id=12852 gets fixed
- #-DCMAKE_SKIP_RPATH:BOOL=YES \
- # the following flags enable the feature request at https://bugs.archlinux.org/task/27525
- # -DPARAVIEW_USE_VISITBRIDGE:BOOL=ON -DVISIT_BUILD_READER_CGNS:BOOL=ON
- cmake \
- -DCMAKE_SKIP_RPATH:BOOL=YES \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX:PATH=/usr \
- -DVTK_USE_BOOST:BOOL=ON \
- -DPARAVIEW_USE_MPI:BOOL=ON \
- -DPARAVIEW_ENABLE_PYTHON:BOOL=ON \
- -DPARAVIEW_BUILD_QT_GUI:BOOL=ON \
- -DPARAVIEW_USE_VISITBRIDGE:BOOL=ON \
- -DVISIT_BUILD_READER_CGNS:BOOL=ON \
- -DVTK_USE_FFMPEG_ENCODER:BOOL=OFF \
- ${cmake_system_flags} \
- ${cmake_system_python_flags} \
- ../ParaView-${pkgver}-Source
-
- make
-}
-
-package() {
- cd "${srcdir}"/build
-
- make DESTDIR="${pkgdir}" install
-
- # Install license
- install -Dm644 "${srcdir}"/ParaView-${pkgver}-Source/License_v1.2.txt "${pkgdir}"/usr/share/licenses/paraview/LICENSE
-
- # Install desktop shortcuts
- install -Dm644 "${srcdir}"/paraview.png ${pkgdir}/usr/share/pixmaps/paraview.png
- desktop-file-install --dir="${pkgdir}"/usr/share/applications "${srcdir}"/paraview.desktop
-}
diff --git a/community/paraview/doubletostring.patch b/community/paraview/doubletostring.patch
deleted file mode 100644
index 5aaa398fd..000000000
--- a/community/paraview/doubletostring.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Naur ParaView-3.14.1-Source.ori/Utilities/VisItBridge/databases/paraDIS/RC_cpp_lib/RCLibPoint.h ParaView-3.14.1-Source/Utilities/VisItBridge/databases/paraDIS/RC_cpp_lib/RCLibPoint.h
---- ParaView-3.14.1-Source.ori/Utilities/VisItBridge/databases/paraDIS/RC_cpp_lib/RCLibPoint.h 2012-04-02 12:56:35.000000000 -0400
-+++ ParaView-3.14.1-Source/Utilities/VisItBridge/databases/paraDIS/RC_cpp_lib/RCLibPoint.h 2012-06-04 12:27:44.184445953 -0400
-@@ -6,6 +6,7 @@
- #include <iomanip>
- #include <istream>
- #include "DebugStream.h"
-+#include "stringutil.h"
-
- namespace rclib {
- using namespace std;
diff --git a/community/paraview/fix_FTBFS_boost149.patch b/community/paraview/fix_FTBFS_boost149.patch
deleted file mode 100644
index b04d3917c..000000000
--- a/community/paraview/fix_FTBFS_boost149.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-Description: fix FTBFS with boost 1.49
-Author: Dominique Belhachemi <domibel@debian.org>
-Origin: http://anonscm.debian.org/gitweb/?p=collab-maint/vtk.git;a=commitdiff;h=55084a11b450e53b2e8786e23dd64a6a6b846e6b
-Last-Update: 2012-05-07
-
---- a/VTK/Infovis/vtkBoostBreadthFirstSearchTree.cxx
-+++ b/VTK/Infovis/vtkBoostBreadthFirstSearchTree.cxx
-@@ -49,11 +49,17 @@
-
- #if BOOST_VERSION >= 104800 // Boost 1.48.x
- namespace {
-- vtkIdType unwrap_edge_id(vtkEdgeType const &e) {
-+ vtkIdType unwrap_edge_id(vtkEdgeType const &e)
-+ {
- return e.Id;
- }
-- vtkIdType unwrap_edge_id(boost::detail::reverse_graph_edge_descriptor<vtkEdgeType> const &e) {
-+ vtkIdType unwrap_edge_id(boost::detail::reverse_graph_edge_descriptor<vtkEdgeType> const &e)
-+ {
-+# if BOOST_VERSION == 104800
- return e.underlying_desc.Id;
-+# else
-+ return e.underlying_descx.Id;
-+# endif
- }
- }
- #endif
diff --git a/community/paraview/kwprocessxml_rpath.patch b/community/paraview/kwprocessxml_rpath.patch
deleted file mode 100644
index b36feb6fc..000000000
--- a/community/paraview/kwprocessxml_rpath.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Description: This patch forces building of kwProcessXML as shared forwarded
- executable in our case (even is CMAKE_SKIP_RPATH is OFF in debian)
-Author: Mathieu Malaterre <mathieu.malaterre@gmail.com>
-Bug-Debian: http://bugs.debian.org/640305
-Last-Update: 2011-09-13
-
---- a/Common/KWCommon/CMakeLists.txt
-+++ b/Common/KWCommon/CMakeLists.txt
-@@ -225,7 +225,7 @@
- IF(KWCOMMON_BUILD_PROCESSXML)
- # For shared libraries on non-windows systems use the KWSys shared-forward
- # implementation to make sure shared libraries are found.
-- IF(BUILD_SHARED_LIBS AND CMAKE_SKIP_RPATH)
-+ IF(BUILD_SHARED_LIBS )
- IF(NOT WIN32)
- SET(KWCommon_FORWARD_DIR_BUILD ${EXECUTABLE_OUTPUT_PATH})
- SET(KWCommon_FORWARD_BIN_TO_LIB "..${KWCommon_INSTALL_LIB_DIR}")
-@@ -248,7 +248,7 @@
- COMPONENT Development)
- ENDIF(NOT KWCommon_INSTALL_NO_DEVELOPMENT)
- ENDIF(NOT WIN32)
-- ENDIF(BUILD_SHARED_LIBS AND CMAKE_SKIP_RPATH)
-+ ENDIF(BUILD_SHARED_LIBS )
-
- ADD_EXECUTABLE(kwProcessXML${KWCommon_EXE_SUFFIX} ProcessXML.cxx)
- TARGET_LINK_LIBRARIES(kwProcessXML${KWCommon_EXE_SUFFIX} vtkCommon vtksys)
diff --git a/community/paraview/paraview-3.14.1-gcc47.patch b/community/paraview/paraview-3.14.1-gcc47.patch
deleted file mode 100644
index 792926719..000000000
--- a/community/paraview/paraview-3.14.1-gcc47.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff -Naur ParaView-3.14.1-Source.ori/Utilities/Xdmf2/vtk/Testing/Cxx/XdmfTestVTKIO.cxx ParaView-3.14.1-Source/Utilities/Xdmf2/vtk/Testing/Cxx/XdmfTestVTKIO.cxx
---- ParaView-3.14.1-Source.ori/Utilities/Xdmf2/vtk/Testing/Cxx/XdmfTestVTKIO.cxx 2012-04-02 12:56:37.000000000 -0400
-+++ ParaView-3.14.1-Source/Utilities/Xdmf2/vtk/Testing/Cxx/XdmfTestVTKIO.cxx 2012-05-10 11:40:21.101841603 -0400
-@@ -21,6 +21,8 @@
- //files around for inspection. Otherwise it deletes the temporary files it
- //creates and returns success.
-
-+#include <unistd.h>
-+
- #include "vtkXdmfWriter.h"
-
- #include "vtkCellData.h"
-diff -Naur ParaView-3.14.1-Source.ori/VTK/Rendering/vtkFreeTypeTools.cxx ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeTools.cxx
---- ParaView-3.14.1-Source.ori/VTK/Rendering/vtkFreeTypeTools.cxx 2012-04-02 12:57:30.000000000 -0400
-+++ ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeTools.cxx 2012-05-10 11:38:48.618504485 -0400
-@@ -35,6 +35,8 @@
- using namespace ftgl;
- #endif
-
-+#include <stdint.h>
-+
- // Print debug info
- #define VTK_FTFC_DEBUG 0
- #define VTK_FTFC_DEBUG_CD 0
-diff -Naur ParaView-3.14.1-Source.ori/VTK/Rendering/vtkFreeTypeUtilities.cxx ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeUtilities.cxx
---- ParaView-3.14.1-Source.ori/VTK/Rendering/vtkFreeTypeUtilities.cxx 2012-04-02 12:57:30.000000000 -0400
-+++ ParaView-3.14.1-Source/VTK/Rendering/vtkFreeTypeUtilities.cxx 2012-05-10 11:38:48.618504485 -0400
-@@ -36,6 +36,8 @@
- using namespace ftgl;
- #endif
-
-+#include <stdint.h>
-+
- // Print debug info
-
- #define VTK_FTFC_DEBUG 0
diff --git a/community/paraview/paraview.desktop b/community/paraview/paraview.desktop
deleted file mode 100644
index 2f5b8ec69..000000000
--- a/community/paraview/paraview.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Version=1.0
-Name=ParaView
-GenericName=Data Viewer
-Comment=ParaView allows visualization of large data sets
-Type=Application
-Terminal=false
-Icon=paraview
-Categories=Graphics;
-Exec=/usr/bin/paraview
diff --git a/community/paraview/paraview.png b/community/paraview/paraview.png
deleted file mode 100644
index 6e39f3d4f..000000000
--- a/community/paraview/paraview.png
+++ /dev/null
Binary files differ