diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-01-09 10:55:19 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-01-09 10:55:19 -0300 |
commit | 149750d28420a7b59fab5501ab9aaca095f6fa46 (patch) | |
tree | b263a29e10663635bb00dff7dde4c7c7ac8f30d7 /community/paraview | |
parent | 1c0a9e2b2298f550629181080e63053fcb440743 (diff) | |
parent | 7a3611f5caa5e34c1f2b582640f97b733110ae63 (diff) |
Lots of removed PKGBUILDs, kept mplayer2
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community-testing/vdrift/PKGBUILD
community/acpitool/PKGBUILD
community/amaya/PKGBUILD
community/apparix/PKGBUILD
community/avant-window-navigator/PKGBUILD
community/awn-extras-applets/PKGBUILD
community/bmpanel/PKGBUILD
community/clipgrab/PKGBUILD
community/compizconfig-backend-kconfig4/PKGBUILD
community/conkeror-git/PKGBUILD
community/cross-arm-elf-binutils/PKGBUILD
community/cross-arm-elf-gcc-base/PKGBUILD
community/cross-arm-wince-cegcc-binutils/PKGBUILD
community/cross-arm-wince-cegcc-cegccdll-dummy/PKGBUILD
community/cross-arm-wince-cegcc-cegccdll/PKGBUILD
community/cross-arm-wince-cegcc-cegccthrddll/PKGBUILD
community/cross-arm-wince-cegcc-gcc-base/PKGBUILD
community/cross-arm-wince-cegcc-gcc/PKGBUILD
community/cross-arm-wince-cegcc-libstdcppdll/PKGBUILD
community/cross-arm-wince-cegcc-newlib/PKGBUILD
community/cross-arm-wince-cegcc-profile/PKGBUILD
community/cross-arm-wince-cegcc-w32api/PKGBUILD
community/dar/PKGBUILD
community/driftnet/PKGBUILD
community/duff/PKGBUILD
community/dvdstyler/PKGBUILD
community/eiciel/PKGBUILD
community/emesene/PKGBUILD
community/eterm/PKGBUILD
community/extrema/PKGBUILD
community/fail2ban/PKGBUILD
community/fgetty/PKGBUILD
community/fio/PKGBUILD
community/flvstreamer/PKGBUILD
community/fotoxx/PKGBUILD
community/ghdl/PKGBUILD
community/gnofract4d/PKGBUILD
community/gnome-do/PKGBUILD
community/grass/PKGBUILD
community/gri/PKGBUILD
community/gromacs/PKGBUILD
community/gtk-gnutella/PKGBUILD
community/gtk-rezlooks-engine/PKGBUILD
community/handbrake/PKGBUILD
community/jogl/PKGBUILD
community/kydpdict/PKGBUILD
community/libast/PKGBUILD
community/libcgi/PKGBUILD
community/libxnvctrl/PKGBUILD
community/mhwaveedit/PKGBUILD
community/microblog-purple/PKGBUILD
community/mms_client/PKGBUILD
community/mplayer2/PKGBUILD
community/multiget/PKGBUILD
community/multimux/PKGBUILD
community/musescore/PKGBUILD
community/mysql-ruby/PKGBUILD
community/mysql-workbench/PKGBUILD
community/nas/PKGBUILD
community/ocaml-extlib/PKGBUILD
community/ocaml-ounit/PKGBUILD
community/paraview/fix-boost-graph-api-changes.diff
community/pcb/PKGBUILD
community/pdftrans/PKGBUILD
community/python-daap/PKGBUILD
community/python2-cheetah/PKGBUILD
community/qdevelop/PKGBUILD
community/qtoctave/PKGBUILD
community/rep-gtk/PKGBUILD
community/sauerbraten/PKGBUILD
community/sawfish/PKGBUILD
community/scilab/PKGBUILD
community/superswitcher/PKGBUILD
community/tagtool/PKGBUILD
community/tora/PKGBUILD
community/wml/PKGBUILD
community/wxsvg/PKGBUILD
community/xskat/PKGBUILD
core/eglibc/glibc.install
core/eglibc/locale-gen
core/eglibc/locale.gen.txt
core/eglibc/nscd
core/syslog-ng/PKGBUILD
extra/blender/PKGBUILD
extra/cups/PKGBUILD
extra/hplip/PKGBUILD
extra/kile/PKGBUILD
extra/monodevelop-debugger-mdb/PKGBUILD
extra/perl-ev/PKGBUILD
multilib/lib32-qt/PKGBUILD
testing/kaffeine/kaffeine.install
testing/kdebase-runtime/PKGBUILD
testing/kdebase-runtime/kdebase-runtime.install
testing/kdebase-runtime/libqzeitgeist08.patch
testing/libdrm/PKGBUILD
testing/libdrm/no-pthread-stubs.patch
Diffstat (limited to 'community/paraview')
-rw-r--r-- | community/paraview/PKGBUILD | 77 | ||||
-rw-r--r-- | community/paraview/fixkernelversioncheck.diff | 19 |
2 files changed, 30 insertions, 66 deletions
diff --git a/community/paraview/PKGBUILD b/community/paraview/PKGBUILD index 4a093e6ba..ba4e3336a 100644 --- a/community/paraview/PKGBUILD +++ b/community/paraview/PKGBUILD @@ -1,78 +1,64 @@ -# $Id: PKGBUILD 61087 2011-12-21 20:51:56Z andrea $ # Maintainer: Thomas Dziedzic < gostrc at gmail > # Contributor: Michele Mocciola <mickele> # Contributor: Simon Zilliken <simon____AT____zilliken____DOT____name> pkgname=paraview -pkgver=3.10.1 -pkgrel=5 +pkgver=3.12.0 +pkgrel=1 pkgdesc='Parallel Visualization Application using VTK' arch=('i686' 'x86_64' 'mips64el') url='http://www.paraview.org' license=('custom') -depends=('qt' 'python2' 'libgl' 'libxml2' 'unixodbc' 'postgresql-libs' 'libxt' - 'qtwebkit' 'libmysqlclient' 'mesa' 'openmpi') #'hdf5' -makedepends=('cmake' 'desktop-file-utils') +depends=('qt' 'python2' 'libgl' 'libxml2' 'unixodbc' 'postgresql-libs' 'libxt' 'qtwebkit' 'libmysqlclient' 'mesa' 'openmpi' 'boost-libs' 'hdf5' 'libcgns') +makedepends=('cmake' 'desktop-file-utils' 'boost') source=("http://paraview.org/files/v${pkgver:0:4}/ParaView-${pkgver}.tar.gz" 'paraview.png' 'paraview.desktop' - 'fixkernelversioncheck.diff') -md5sums=('d8a9d4a997a720589ffd57568bcdd449' + 'fix-boost-graph-api-changes.diff') +md5sums=('8feabc6261e2060648eaac593d85b1de' 'db623002bc71a257ddfdd0c9c7b14c3f' '4e4b7172ed18171c37446fd7c4f1e8f5' - '9e137af23701f76fc727222ebac23389') + '2aa5b98288cadd201ffbd057f18929b0') build() { - cd ParaView-${pkgver} + cd ParaView-${pkgver}/VTK + # fix http://www.vtk.org/Bug/view.php?id=12772 remove on next pkgver bump + patch -Np1 -i ${srcdir}/fix-boost-graph-api-changes.diff - # patch vtk to fix http://www.vtk.org/Bug/view.php?id=12568 - # remove next pkgver bump - cd VTK - patch -Np1 -i ${srcdir}/fixkernelversioncheck.diff - cd .. + mkdir ${srcdir}/build + cd ${srcdir}/build - sed -i '20 i#include <stddef.h>' VTK/Utilities/vtkmetaio/metaUtils.cxx - sed -i 's/stddef.h/cstddef/' VTK/Wrapping/Python/vtkPythonUtil.cxx - sed -i '36 i#include <vtksys/cstddef>' VTK/Wrapping/Python/PyVTKObject.cxx + # flags to enable using system libs + local cmake_system_flags="" + for lib in HDF5 FREETYPE JPEG PNG TIFF ZLIB EXPAT LIBXML2; do + cmake_system_flags+="-DVTK_USE_SYSTEM_${lib}:BOOL=ON " + done - # Paraview wants to be built out of source - mkdir -p build - cd build + # 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" - # use -DPARAVIEW_INSTALL_THIRD_PARTY_LIBRARIES:BOOL=OFF \ to fix make install error: http://www.cmake.org/pipermail/paraview/2011-February/020268.html + # enable when http://paraview.org/Bug/view.php?id=12718 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_BUILD_TYPE=Release \ - -DCMAKE_USE_PTHREADS:BOOL=ON \ -DCMAKE_INSTALL_PREFIX:PATH=/usr \ - -DCMAKE_SKIP_RPATH:BOOL=YES \ - -DCMAKE_VERBOSE_MAKEFILE:BOOL=OFF \ - -DCMAKE_COLOR_MAKEFILE:BOOL=TRUE \ - -DBUILD_SHARED_LIBS:BOOL=ON \ - -DBUILD_DOCUMENTATION:BOOL=OFF \ - -DBUILD_EXAMPLES:BOOL=OFF \ - -DVTK_USE_SYSTEM_FREETYPE:BOOL=ON \ - -DVTK_USE_SYSTEM_JPEG:BOOL=ON \ - -DVTK_USE_SYSTEM_PNG:BOOL=ON \ - -DVTK_USE_SYSTEM_TIFF:BOOL=ON \ - -DVTK_USE_SYSTEM_ZLIB:BOOL=ON \ - -DVTK_USE_SYSTEM_EXPAT:BOOL=ON \ - -DVTK_USE_SYSTEM_LIBXML2:BOOL=ON \ - -DVTK_USE_BOOST:BOOL=OFF \ - -DVTK_USE_OFFSCREEN=TRUE \ - -DPARAVIEW_USE_SYSTEM_HDF5:BOOL=ON \ + -DVTK_USE_BOOST:BOOL=ON \ -DPARAVIEW_USE_MPI:BOOL=ON \ -DPARAVIEW_ENABLE_PYTHON:BOOL=ON \ -DPARAVIEW_BUILD_QT_GUI:BOOL=ON \ - -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \ - -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \ - -DPARAVIEW_INSTALL_THIRD_PARTY_LIBRARIES:BOOL=OFF \ - .. + -DPARAVIEW_USE_VISITBRIDGE:BOOL=ON \ + -DVISIT_BUILD_READER_CGNS:BOOL=ON \ + ${cmake_system_flags} \ + ${cmake_system_python_flags} \ + ../ParaView-${pkgver} make } package() { - cd ParaView-${pkgver}/build + cd build make DESTDIR=${pkgdir} install @@ -82,7 +68,4 @@ package() { # 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 - - # Removes VTK plugin for designer - if you need, you can install vtk - #rm -rf ${pkgdir}/opt/paraview/plugins } diff --git a/community/paraview/fixkernelversioncheck.diff b/community/paraview/fixkernelversioncheck.diff deleted file mode 100644 index 165f07366..000000000 --- a/community/paraview/fixkernelversioncheck.diff +++ /dev/null @@ -1,19 +0,0 @@ ---- a/Utilities/vtkhdf5/ConfigureChecks.cmake -+++ b/Utilities/vtkhdf5/ConfigureChecks.cmake -@@ -75,14 +75,14 @@ IF (HDF5_WANT_DCONV_EXCEPTION) - ENDIF (HDF5_WANT_DCONV_EXCEPTION) - - SET (LINUX_LFS 0) --IF (CMAKE_SYSTEM MATCHES "Linux-([3-9]\\.[0-9]|2\\.[4-9])\\.") -+IF (CMAKE_SYSTEM MATCHES "Linux") - # Linux Specific flags - ADD_DEFINITIONS (-D_POSIX_SOURCE -D_BSD_SOURCE) - OPTION (HDF5_ENABLE_LARGE_FILE "Enable support for large (64-bit) files on Linux." ON) - IF (HDF5_ENABLE_LARGE_FILE) - SET (LARGEFILE 1) - ENDIF (HDF5_ENABLE_LARGE_FILE) --ENDIF (CMAKE_SYSTEM MATCHES "Linux-([3-9]\\.[0-9]|2\\.[4-9])\\.") -+ENDIF (CMAKE_SYSTEM MATCHES "Linux") - SET (HDF5_EXTRA_FLAGS) - IF (LINUX_LFS) - SET (HDF5_EXTRA_FLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE) |