Version bump. Dropped ffmpeg keyword for now since the build fails due to undefined...
authorMarkus Dittrich <markusle@gentoo.org>
Thu, 26 Apr 2007 13:53:43 +0000 (13:53 +0000)
committerMarkus Dittrich <markusle@gentoo.org>
Thu, 26 Apr 2007 13:53:43 +0000 (13:53 +0000)
Package-Manager: portage-2.1.2.4

sci-visualization/paraview/ChangeLog
sci-visualization/paraview/Manifest
sci-visualization/paraview/files/digest-paraview-2.6.1 [new file with mode: 0644]
sci-visualization/paraview/paraview-2.6.1.ebuild [new file with mode: 0644]

index 1fc03038e73f2da778a5e3d60dfe0c3639aa1a34..5f84e7ac32becca727528fee23b0123e63c682a2 100644 (file)
@@ -1,6 +1,14 @@
 # ChangeLog for sci-visualization/paraview
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/paraview/ChangeLog,v 1.5 2007/02/20 14:17:05 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/paraview/ChangeLog,v 1.6 2007/04/26 13:53:43 markusle Exp $
+
+*paraview-2.6.1 (24 Apr 2007)
+
+  24 Apr 2007; Markus Dittrich <markusle@gentoo.org> +paraview-2.6.1.ebuild:
+  Version bump. Dropped ffmpeg keyword for now since the build 
+  fails due to undefined macros in one of the ffmpeg headers.
+  Thanks much to Sebastien Fabbro <bicatali@gentoo.org>
+  for his ebuild.
 
 *paraview-2.6.0 (20 Feb 2007)
 
index 492c061ad0117facd79c925cd2a0f91de5b4fd6b..068b584bc60faf71caaa6d3e2b65321a46ba7675 100644 (file)
@@ -19,6 +19,7 @@ MD5 7ca34646cb286751c3ed73d9844cf426 files/paraview-2.6.0-include.patch 476
 RMD160 9f44a83f73da1accd7ea3d8c353f4de50849b654 files/paraview-2.6.0-include.patch 476
 SHA256 b8ebb52e9181c992561974de39d43a4c20398bed6760dda495dc82d45376fe77 files/paraview-2.6.0-include.patch 476
 DIST ParaView-2.6.0.tar.gz 73577038 RMD160 1667d19c73e6dffa4e659941aea618271b308b73 SHA1 01d805aced25a798487d11ddbf7cb1571844faea SHA256 f379f790589dedc10d8c894a9b458fcec15a81a20a785679a784d9568f15bcc6
+DIST ParaView-2.6.1.tar.gz 75658607 RMD160 0625a7008d1456cf82e1e20575323c26eba14e34 SHA1 8c0511aebada43840b8949cf58f17539fbca0d04 SHA256 29c0459b5d829ad8683ffad8ad9bcd4625024f00767ca2a5834542eb59886859
 DIST paraview-2.4.4.tar.gz 45431692 RMD160 21877872a56ffa44a5cc15232fe58bdcb4c94c2d SHA1 a5fa3263a8baf427ce0c1d587da1095e1cbb417e SHA256 2af388f046ceeff87fa6241ce91bfb55ac090c47f817486f130b7c8714aa8b1e
 EBUILD paraview-2.4.4.ebuild 3403 RMD160 3520593a08235bb565b42040b6cfec095acfd530 SHA1 2bec51af92c4ff3c556026730cca036be3a910f3 SHA256 a55a1188652f765e140c0d380d9da8e78ecc455adb883835af25737aac4c8aa2
 MD5 e55fcb1639035a2b0eb202b73e4d13b3 paraview-2.4.4.ebuild 3403
@@ -28,10 +29,14 @@ EBUILD paraview-2.6.0.ebuild 3518 RMD160 630682a5065fd833ed0a4159d87b25d86daac0e
 MD5 69d6c2998aeaf928a2334863f8acd2bd paraview-2.6.0.ebuild 3518
 RMD160 630682a5065fd833ed0a4159d87b25d86daac0eb paraview-2.6.0.ebuild 3518
 SHA256 db5c27387ef66dc5cd05c55806b30ae999a6a2e779c998544d9f8de909b46ade paraview-2.6.0.ebuild 3518
-MISC ChangeLog 1115 RMD160 d6151c03fefb533dc4b39f76fd8335c1d8d19d88 SHA1 68a8498a2d39c3b7db56a5f68e6e1110ef99729a SHA256 99ea11f1b898f365a59e58e87da7c539ff31a443dca0b84cbf644ac0ac656f1b
-MD5 656f423d14ed9c97f02c24e559d08723 ChangeLog 1115
-RMD160 d6151c03fefb533dc4b39f76fd8335c1d8d19d88 ChangeLog 1115
-SHA256 99ea11f1b898f365a59e58e87da7c539ff31a443dca0b84cbf644ac0ac656f1b ChangeLog 1115
+EBUILD paraview-2.6.1.ebuild 3562 RMD160 0d078b3b4cff96c67519fe3f8025eb3b4865da64 SHA1 3cb47738ac8438058d0e92d5ed5fda9f966377c3 SHA256 ca93e3bff212d0e965e581e35d17322bd8ecd7cee151697cecee9a8f768baaab
+MD5 38c44f584ed8ed1cc6dee333d49494f0 paraview-2.6.1.ebuild 3562
+RMD160 0d078b3b4cff96c67519fe3f8025eb3b4865da64 paraview-2.6.1.ebuild 3562
+SHA256 ca93e3bff212d0e965e581e35d17322bd8ecd7cee151697cecee9a8f768baaab paraview-2.6.1.ebuild 3562
+MISC ChangeLog 1424 RMD160 e17c594d1061ce1165c0ca29c668805586aba78f SHA1 88b0b39fcb20ed1849b5e7fd0334d5a2ee39c6de SHA256 798a679aca91e7e3b211ee74c626f33952524a8785d66a3bdccd7c3907d5afc4
+MD5 4b049e8f6a9acf6594f2ee756a04c3ac ChangeLog 1424
+RMD160 e17c594d1061ce1165c0ca29c668805586aba78f ChangeLog 1424
+SHA256 798a679aca91e7e3b211ee74c626f33952524a8785d66a3bdccd7c3907d5afc4 ChangeLog 1424
 MISC metadata.xml 254 RMD160 8e9562c9dd3bd05fdf2dd40bcc5b2ed3dbe9ab75 SHA1 53acb8f334765223c1030a8eb242d584ad376706 SHA256 131c089c8a699c3fb7e8b914f68af259e0b0ad341fba3a8f87827871fc7be701
 MD5 faca3b9ef12d38400a0b53e1818ce89d metadata.xml 254
 RMD160 8e9562c9dd3bd05fdf2dd40bcc5b2ed3dbe9ab75 metadata.xml 254
@@ -42,3 +47,6 @@ SHA256 8570b4f543e3efc6f150426f2963110622db9c4730e17cb98c492adc1a1171e8 files/di
 MD5 4b06c1481b09c0dcd7f806e47bc39596 files/digest-paraview-2.6.0 250
 RMD160 a5c270e9d7094da9f2188742ba7eec9c96980744 files/digest-paraview-2.6.0 250
 SHA256 7c86c73da59dab29e17129b248944b7b674f347f8de7e0da04ce7fd7ecc86bcb files/digest-paraview-2.6.0 250
+MD5 e887246f09a68adcebf0a210749b7722 files/digest-paraview-2.6.1 250
+RMD160 9fc99ae3496825fafb772f97885cf07580b86c42 files/digest-paraview-2.6.1 250
+SHA256 d0eda0e8d162d782270c8b29d2bcbe63a51e07d658c2c9c7d492e4445c07702d files/digest-paraview-2.6.1 250
diff --git a/sci-visualization/paraview/files/digest-paraview-2.6.1 b/sci-visualization/paraview/files/digest-paraview-2.6.1
new file mode 100644 (file)
index 0000000..e5d522c
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 55b3b4a47c7c64e266425a9e7e413ac6 ParaView-2.6.1.tar.gz 75658607
+RMD160 0625a7008d1456cf82e1e20575323c26eba14e34 ParaView-2.6.1.tar.gz 75658607
+SHA256 29c0459b5d829ad8683ffad8ad9bcd4625024f00767ca2a5834542eb59886859 ParaView-2.6.1.tar.gz 75658607
diff --git a/sci-visualization/paraview/paraview-2.6.1.ebuild b/sci-visualization/paraview/paraview-2.6.1.ebuild
new file mode 100644 (file)
index 0000000..ef8b8b8
--- /dev/null
@@ -0,0 +1,110 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/paraview/paraview-2.6.1.ebuild,v 1.1 2007/04/26 13:53:43 markusle Exp $
+
+inherit distutils eutils flag-o-matic toolchain-funcs versionator python
+
+MY_PN="${PN/p/P}"
+MY_PN="${MY_PN/v/V}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="ParaView is a powerful scientific data visualization application"
+HOMEPAGE="http://www.paraview.org"
+SRC_URI="http://www.${MY_PN}.org/files/v2.6/${MY_P}.tar.gz"
+
+LICENSE="paraview"
+KEYWORDS="~x86 ~amd64"
+SLOT="0"
+IUSE="mpi python hdf5 doc examples threads"
+RDEPEND="hdf5? ( sci-libs/hdf5 )
+       doc? ( app-doc/doxygen )
+       mpi? ( virtual/mpi )
+       python? ( >=dev-lang/python-2.0 )
+       media-libs/libpng
+       media-libs/jpeg
+       media-libs/tiff
+       dev-libs/expat
+       sys-libs/zlib
+       media-libs/freetype
+       virtual/opengl
+       dev-lang/tcl
+       dev-lang/tk
+       || ( x11-libs/libXmu virtual/x11 )"
+
+DEPEND="${RDEPEND}
+               >=dev-util/cmake-2.4.3"
+
+PVLIBDIR="$(get_libdir)/${MY_PN}-$(get_version_component_range 1-2)"
+BUILDDIR="${WORKDIR}/build"
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+       unpack ${A}
+       mkdir "${BUILDDIR}" || die "Failed to generate build directory"
+       cd "${S}"
+       epatch "${FILESDIR}"/${PN}-2.6.0-hdf5-zlib.patch
+       epatch "${FILESDIR}"/${PN}-2.6.0-include.patch
+}
+
+src_compile() {
+       cd "${BUILDDIR}"
+       local CMAKE_VARIABLES=""
+       CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_BACKWARDS_COMPATIBILITY=2.2"
+       CMAKE_VARIABLES="${CMAKE_VARIABLES} -DPV_INSTALL_LIB_DIR:PATH=/${PVLIBDIR}"
+       CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_SKIP_RPATH:BOOL=YES"
+       CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_RPATH:BOOL=NO"
+       CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_INSTALL_PREFIX:PATH=/usr"
+       CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_SHARED_LIBS:BOOL=ON"
+       CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_FREETYPE:BOOL=ON"
+       CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_JPEG:BOOL=ON"
+       CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_PNG:BOOL=ON"
+       CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_TIFF:BOOL=ON"
+       CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_ZLIB:BOOL=ON"
+       CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_EXPAT:BOOL=ON"
+       CMAKE_VARIABLES="${CMAKE_VARIABLES} -DEXPAT_INCLUDE_DIR:PATH=/usr/include"
+       CMAKE_VARIABLES="${CMAKE_VARIABLES} -DEXPAT_LIBRARY=/usr/$(get_libdir)/libexpat.so"
+
+       if use hdf5; then
+               CMAKE_VARIABLES="${CMAKE_VARIABLES} -DPARAVIEW_USE_SYSTEM_HDF5:BOOL=ON"
+       fi
+
+       if use mpi; then
+               CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_MPI:BOOL=ON"
+       fi
+
+       if use python; then
+               python_version
+               CMAKE_VARIABLES="${CMAKE_VARIABLES} -DPARAVIEW_WRAP_PYTHON:BOOL=ON"
+               CMAKE_VARIABLES="${CMAKE_VARIABLES} -DPYTHON_INCLUDE_PATH:PATH=/usr/include/python${PYVER}"
+               CMAKE_VARIABLES="${CMAKE_VARIABLES} -DPYTHON_LIBRARY:PATH=/usr/$(get_libdir)/libpython${PYVER}.so"
+       fi
+
+       use doc && CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_DOCUMENTATION:BOOL=ON"
+
+       if use examples; then
+               CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_EXAMPLES:BOOL=ON"
+       else
+               CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_EXAMPLES:BOOL=OFF"
+       fi
+
+       if use threads; then
+               CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_USE_PTHREADS:BOOL=ON"
+       else
+               CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_USE_PTHREADS:BOOL=OFF"
+       fi
+
+       cmake ${CMAKE_VARIABLES} ${S} \
+               || die "cmake configuration failed"
+
+       emake || die "emake failed"
+
+}
+
+src_install() {
+       cd "${BUILDDIR}"
+       emake DESTDIR="${D}" install || die "make install failed"
+
+       # set up the environment
+       echo "LDPATH=/usr/${PVLIBDIR}" >> ${T}/40${PN}
+       doenvd ${T}/40${PN}
+}