diff options
author | 2012-05-18 17:36:48 +0900 | |
---|---|---|
committer | 2012-05-18 17:36:48 +0900 | |
commit | fb26a5c2df5e1fde31491ebeff69112712008353 (patch) | |
tree | 2f8414516404877c9df8e29df0c2b2536ab2bd5c /sci-libs | |
download | android-fb26a5c2df5e1fde31491ebeff69112712008353.tar.gz android-fb26a5c2df5e1fde31491ebeff69112712008353.tar.bz2 android-fb26a5c2df5e1fde31491ebeff69112712008353.zip |
initial commit
Diffstat (limited to 'sci-libs')
31 files changed, 2449 insertions, 0 deletions
diff --git a/sci-libs/hdf5/ChangeLog b/sci-libs/hdf5/ChangeLog new file mode 100644 index 0000000..1c07588 --- /dev/null +++ b/sci-libs/hdf5/ChangeLog @@ -0,0 +1,386 @@ +# ChangeLog for sci-libs/hdf5 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/ChangeLog,v 1.73 2011/07/08 11:24:29 xarthisius Exp $ + + 08 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org> hdf5-1.8.7.ebuild: + Export mpi wrappers again due to clash with fortran-2.eclass. Fixes bug + 374431 by Ruggero Morsucci <mors_1tflops@yahoo.it> + + 06 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org> hdf5-1.8.4-r1.ebuild, + hdf5-1.8.6.ebuild, hdf5-1.8.7.ebuild: + Fix use fortran check in pkg_setup + + 26 Jun 2011; Justin Lecher <jlec@gentoo.org> hdf5-1.8.4-r1.ebuild, + hdf5-1.8.6.ebuild, hdf5-1.8.7.ebuild, metadata.xml: + Bumped EAPI and corrected slots + + 22 Jun 2011; Justin Lecher <jlec@gentoo.org> hdf5-1.8.4-r1.ebuild, + hdf5-1.8.6.ebuild, hdf5-1.8.7.ebuild: + Conditionally check for fortran support, #372557 + + 21 Jun 2011; Justin Lecher <jlec@gentoo.org> hdf5-1.8.4-r1.ebuild, + hdf5-1.8.6.ebuild, hdf5-1.8.7.ebuild: + Add dependency on virtual/fortran + + 21 Jun 2011; Justin Lecher <jlec@gentoo.org> hdf5-1.8.4-r1.ebuild, + hdf5-1.8.6.ebuild, hdf5-1.8.7.ebuild: + Added fortran-2.eclass support + + 08 Jun 2011; Jeroen Roovers <jer@gentoo.org> hdf5-1.8.4-r1.ebuild, + hdf5-1.8.6.ebuild, hdf5-1.8.7.ebuild: + Remove HPPA keywording. + +*hdf5-1.8.7 (13 May 2011) + + 13 May 2011; Kacper Kowalik <xarthisius@gentoo.org> -hdf5-1.8.5_p1-r1.ebuild, + +hdf5-1.8.7.ebuild: + Version bump. Exporting mpi wrappers is no longer necessary as hdf5 defaults + to them if --enable-parallel is set. Drop old. + +*hdf5-1.8.6 (19 Feb 2011) + + 19 Feb 2011; Kacper Kowalik <xarthisius@gentoo.org> +hdf5-1.8.6.ebuild: + Version bump + +*hdf5-1.8.5_p1-r1 (05 Nov 2010) + + 05 Nov 2010; Kacper Kowalik <xarthisius@gentoo.org> -hdf5-1.8.5_p1.ebuild, + +hdf5-1.8.5_p1-r1.ebuild, +files/hdf5-1.8.5-implicits.patch: + Fix implicits. + +*hdf5-1.8.5_p1 (05 Nov 2010) + + 05 Nov 2010; Kacper Kowalik <xarthisius@gentoo.org> -hdf5-1.8.5.ebuild, + +hdf5-1.8.5_p1.ebuild: + Version bump. Drop old. + + 09 Jul 2010; Kacper Kowalik <xarthisius@gentoo.org> -hdf5-1.6.4.ebuild, + -files/hdf5-1.8.3-destdir.patch, -files/hdf5-1.8.3-gnutools.patch, + -files/hdf5-1.8.3-signal.patch, metadata.xml: + Remove ancient + + 09 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> hdf5-1.8.4-r1.ebuild: + ppc64 stable wrt #299710 + + 03 Jul 2010; Kacper Kowalik <xarthisius@gentoo.org> hdf5-1.8.5.ebuild, + metadata.xml: + Adding debug flag + + 20 Jun 2010; Kacper Kowalik <xarthisius@gentoo.org> + -files/hdf5-1.6.6-gcc4.3.patch, -hdf5-1.6.7.ebuild, + -files/hdf5-gcc4.3.3-fix.patch, -hdf5-1.8.4_p1.ebuild, + -files/hdf5-mpich2.patch, -hdf5-1.6.2.ebuild: + Removing old ebuild and obsolete patches + + 20 Jun 2010; Raúl Porcel <armin76@gentoo.org> hdf5-1.8.4-r1.ebuild: + alpha/ia64/sparc stable wrt #299710 + + 17 Jun 2010; Justin Bronder <jsbronder@gentoo.org> hdf5-1.8.4-r1.ebuild: + Remove dep on sys-cluster/lam-mpi, see #324415. + +*hdf5-1.8.5 (16 Jun 2010) + + 16 Jun 2010; Kacper Kowalik <xarthisius@gentoo.org> +hdf5-1.8.5.ebuild, + +files/hdf5-1.8.5-noreturn.patch: + Version bump. Fixes bug 324119 + + 04 May 2010; Sébastien Fabbro <bicatali@gentoo.org> hdf5-1.8.4-r1.ebuild: + Changed SRC_URI, per bug #317649 + +*hdf5-1.8.4_p1 (04 May 2010) + + 04 May 2010; Sébastien Fabbro <bicatali@gentoo.org> + -hdf5-1.6.5-r1.ebuild, -hdf5-1.6.6.ebuild, -hdf5-1.8.3-r1.ebuild, + files/hdf5-1.8.3-as-needed.patch, +hdf5-1.8.4_p1.ebuild: + Version bump. Important update mainly for netcdf4 users + + 10 Feb 2010; Sébastien Fabbro <bicatali@gentoo.org> hdf5-1.8.4-r1.ebuild: + Added some warnings for mpi + + 05 Feb 2010; Raúl Porcel <armin76@gentoo.org> hdf5-1.8.4-r1.ebuild, + +files/hdf5-1.8.4-sigbus.patch: + Add patch from debian for unaligned acceses, alpha/ia64/sparc stable wrt + #299710 + + 21 Jan 2010; Jeroen Roovers <jer@gentoo.org> hdf5-1.8.4-r1.ebuild: + Stable for HPPA (bug #299710). + + 20 Jan 2010; Markus Meier <maekke@gentoo.org> hdf5-1.8.4-r1.ebuild: + amd64 stable, bug #299710 + + 19 Jan 2010; nixnut <nixnut@gentoo.org> hdf5-1.8.4-r1.ebuild: + ppc stable #299710 + + 15 Jan 2010; Christian Faulhammer <fauli@gentoo.org> hdf5-1.8.4-r1.ebuild: + stable x86, bug 299710 + + 11 Dec 2009; Sébastien Fabbro <bicatali@gentoo.org> + files/hdf5-1.8.3-destdir.patch, hdf5-1.8.4-r1.ebuild: + Removed destdir patch, now done with sed's. This also solves bug #286492 + +*hdf5-1.8.4-r1 (03 Dec 2009) + + 03 Dec 2009; Sébastien Fabbro <bicatali@gentoo.org> -hdf5-1.8.4.ebuild, + +hdf5-1.8.4-r1.ebuild, +files/hdf5-1.8.4-gnutools.patch, + +files/hdf5-1.8.4-scaleoffset.patch: + Forced compilation -O0 on some buggy files, fixed some tests, + re-introduced the fortran+mpi possibility, and keyworded ia64. Thanks + Kacper Kowalik to do all this. + + 24 Nov 2009; Markus Dittrich <markusle@gentoo.org> hdf5-1.6.7.ebuild: + Added a few improvements. + +*hdf5-1.8.4 (20 Nov 2009) + + 20 Nov 2009; Sébastien Fabbro <bicatali@gentoo.org> +hdf5-1.8.4.ebuild: + Version bump. mpi and fortran do not compile together, so disable + simultaneous mpi/fortran uses until patch + + 12 Oct 2009; Jeroen Roovers <jer@gentoo.org> hdf5-1.8.3-r1.ebuild: + Stable for HPPA (bug #245707). + + 02 Oct 2009; Sébastien Fabbro <bicatali@gentoo.org> hdf5-1.8.3-r1.ebuild, + files/hdf5-1.8.3-destdir.patch: + Set CC=mpicc when building with mpi enabled (bug #286353), added + --enabled-shared which was disabled with mpi enabled (bug #287124), and + added slashes in destdir patch + + 01 Oct 2009; Tobias Klausmann <klausman@gentoo.org> hdf5-1.8.3-r1.ebuild: + Keyworded on alpha, bug #285148 + + 23 Sep 2009; Patrick Lauer <patrick@gentoo.org> hdf5-1.6.6.ebuild, + hdf5-1.6.7.ebuild: + Remove virtual/libc + + 17 Sep 2009; Sébastien Fabbro <bicatali@gentoo.org> hdf5-1.8.3-r1.ebuild: + Removed the forced PIC configure line which was compiling static libraries + with PIC + +*hdf5-1.8.3-r1 (15 Sep 2009) + + 15 Sep 2009; Steve Arnold <nerdboy@gentoo.org> -hdf5-1.8.3.ebuild, + +hdf5-1.8.3-r1.ebuild: + Updated to install the shared libs correctly. This allows other packages + that link against hdf5 to actually build... + + 11 Sep 2009; Sébastien Fabbro <bicatali@gentoo.org> hdf5-1.8.3.ebuild, + files/hdf5-1.8.3-as-needed.patch: + More as-needed fixes, thanks to Kacper Kowalik closing bug #284518 + + 24 Aug 2009; Sébastien Fabbro <bicatali@gentoo.org> hdf5-1.8.3.ebuild: + Replaced use-based dependency for virtual by atom based ones. Thanks + Mr_Bones. + +*hdf5-1.8.3 (18 Aug 2009) + + 18 Aug 2009; Sébastien Fabbro <bicatali@gentoo.org> +hdf5-1.8.3.ebuild, + +files/hdf5-1.8.3-as-needed.patch, +files/hdf5-1.8.3-destdir.patch, + +files/hdf5-1.8.3-gnutools.patch, +files/hdf5-1.8.3-includes.patch, + +files/hdf5-1.8.3-noreturn.patch, +files/hdf5-1.8.3-signal.patch, + metadata.xml: + Version bump. Many fixes and cleanups, rewrote ebuild from scratch, + merging from science overlay + + 04 Feb 2009; Patrick Lauer <patrick@gentoo.org> + +files/hdf5-gcc4.3.3-fix.patch, hdf5-1.6.7.ebuild: + fortify_sources fix, patch from Simon C. Ion, closes #257177 + + 23 Jan 2009; Steve Arnold <nerdboy@gentoo.org> hdf5-1.6.7.ebuild: + Updated for upstream changes in test-tools and a more appropriate sed + invocation. + +*hdf5-1.6.7 (17 Aug 2008) + + 17 Aug 2008; Markus Dittrich <markusle@gentoo.org> -hdf5-1.6.5.ebuild, + +hdf5-1.6.7.ebuild: + Version bump and replaced "which" with "type -p". Removed obsolete + ebuild. + + 07 Aug 2008; Ulrich Mueller <ulm@gentoo.org> metadata.xml: + Add USE flag description to metadata wrt GLEP 56. + + 22 Jun 2008; Markus Dittrich <markusle@gentoo.org> + +files/hdf5-1.6.6-gcc4.3.patch, hdf5-1.6.6.ebuild: + Added patch to allow compilation with gcc-4.3 (fixes bug #228341). + Thanks much to Pinky <master_up@post.cz> for his patch. + + 13 Jun 2008; Markus Dittrich <markusle@gentoo.org> hdf5-1.6.6.ebuild: + Removed sparc specific mask of mpi in DEPEND in favor of package.use.mask + (see bug #217854). + + 06 Jun 2008; Markus Dittrich <markusle@gentoo.org> hdf5-1.6.5-r1.ebuild, + hdf5-1.6.6.ebuild: + Removed quotes around myconf since they break configure + (see bug #225021). Thanks much to Nuno Sucena Almeida + <slug@aeminium.org> for pointing this out. + + 04 Jun 2008; Steve Arnold <nerdboy@gentoo.org> hdf5-1.6.6.ebuild: + Adding ~hppa back in (doh! needed a full tree updated) + + 04 Jun 2008; Steve Arnold <nerdboy@gentoo.org> hdf5-1.6.6.ebuild: + Fixed some build and test script issues, and updated the test function so + the MPI tests work on a single CPU box. + + 15 Apr 2008; Markus Dittrich <markusle@gentoo.org> hdf5-1.6.6.ebuild: + Fixed messed up symlinks for libh5test.so (see bug #217720). + Also re-added spark KEYWORD without mpi support for now. + + 09 Apr 2008; Jeroen Roovers <jer@gentoo.org> hdf5-1.6.6.ebuild: + Marked ~hppa (bug #216855). + + 04 Feb 2008; Steve Arnold <nerdboy@gentoo.org> hdf5-1.6.6.ebuild: + fixed QA issues and added additional tools via use flag + + 06 Dec 2007; Markus Dittrich <markusle@gentoo.org> hdf5-1.6.6.ebuild: + Fixed misplaced quotation mark (fixes bug #201479). + + 05 Dec 2007; Markus Dittrich <markusle@gentoo.org> hdf5-1.6.6.ebuild: + Removed quotes around myconf since they confuse configure (fixes bug #201205). + +*hdf5-1.6.6 (03 Dec 2007) + + 03 Dec 2007; Steve Arnold <nerdboy@gentoo.org> +files/hdf5-mpich2.patch, + +hdf5-1.6.6.ebuild: + Updated to latest upstream release, with mpi fixes, however, this version + is locked to mpich2-1.0.6 due to pvfs2, however, sparc is dropped until + the parallel I/O thing is worked out with other MPI libs. + Tests work, including mpi (but needs testing in a real cluster). + + 01 Nov 2006; Donnie Berkholz <dberkholz@gentoo.org>; ChangeLog: + Update for my nick change spyderous -> dberkholz. + + 13 Jul 2006; Steve Arnold <nerdboy@gentoo.org> hdf5-1.6.5-r1.ebuild: + removed pgi fortran detection + + 08 Jul 2006; Markus Rothe <corsair@gentoo.org> hdf5-1.6.4.ebuild: + Stable on ppc64 + + 28 Jun 2006; Steve Arnold <nerdboy@gentoo.org> hdf5-1.6.5-r1.ebuild: + Reverted to original (and standard) library location; even though it + was much tidier, it was causing linkage issues... + +*hdf5-1.6.5-r1 (24 Jun 2006) + + 24 Jun 2006; Steve Arnold <nerdboy@gentoo.org> +files/mpd.conf, + hdf5-1.6.5.ebuild, +hdf5-1.6.5-r1.ebuild: + Updated for bug 134439, fortran support, tests, and creeping complexity. + Added use flags and logic for incompatible configure options, and support + for additional Fortran compilers (currently only tested with gfortran). + See comments and einfo for more details. Backport install fixes. Also + made SHLIB change for issue below (bug #118777). + + 14 Jun 2006; Ferris McCormick <fmccor@gentoo.org> hdf5-1.6.5.ebuild: + Add ~sparc keyword, closing Bug #118777 --- but please see Comments 4 and 5 + on the bug for conditions under which hdf5 should be built. (USE flags and + environment variables curiosities.) + +*hdf5-1.6.5 (25 May 2006) + + 25 May 2006; Steve Arnold <nerdboy@gentoo.org> hdf5-1.6.4.ebuild, + +hdf5-1.6.5.ebuild: + Early stable bump for gdal (required), plus new testing version + (since the only real issue besides the sparc bug was the mpi thing). + To do: 1) resolve virtual/mpi issues for ppc64 and others + 2) need fix for buss error on sparc + 3) get szip support working for other arches + + 21 May 2006; Steve Arnold <nerdboy@gentoo.org> hdf5-1.6.2.ebuild, + hdf5-1.6.4.ebuild: + Updated to fix a few minor odds and ends (extra configure options, + get_libdir, etc). Verified working with mpich2-1.0.3 (bug #107161). + Need to stablize for gdal; also needs some work on other arches + (eg, the sparc bug #118777). Go back to virtual/mpi when deps are + fixed (mpich is dorked). + + 17 Mar 2006; Markus Rothe <corsair@gentoo.org> hdf5-1.6.4.ebuild: + Added ~ppc64; bug #126527 + + 14 Feb 2006; Donnie Berkholz <dberkholz@gentoo.org>; hdf5-1.6.4.ebuild: + Use virtual/mpi instead of an || for lam-mpi and mpich. It caused issues + with octave, reported by humpback@gentoo.org. + + 16 Dec 2005; Diego Pettenò <flameeyes@gentoo.org> hdf5-1.6.4.ebuild: + Remove --with-gnu-ld option, bug #108386. + + 11 Sep 2005; Steve Arnold <nerdboy@gentoo.org> hdf5-1.6.2.ebuild: + stable bump for sparc + + 18 Apr 2005; Joseph Jezak <josejx@gentoo.org> hdf5-1.6.2.ebuild: + Marked ppc stable. + +*hdf5-1.6.4 (17 Apr 2005) + + 17 Apr 2005; Olivier Fisette <ribosome@gentoo.org> -hdf5-1.4.5.ebuild, + -hdf5-1.6.0.ebuild, -hdf5-1.6.1.ebuild, +hdf5-1.6.4.ebuild: + Removed obsolete versions. + +*hdf5-1.6.4 (17 Apr 2005) + + 17 Apr 2005; Olivier Fisette <ribosome@gentoo.org> +hdf5-1.6.4.ebuild: + New version. Added MPI support. + + 01 Apr 2005; Aron Griffis <agriffis@gentoo.org> hdf5-1.6.2.ebuild: + stable on ia64 + + 29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> : + Change encoding to UTF-8 for GLEP 31 compliance + +*hdf5-1.6.2 (28 Dec 2004) + + 28 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml, + +hdf5-1.4.5.ebuild, +hdf5-1.6.0.ebuild, +hdf5-1.6.1.ebuild, + +hdf5-1.6.2.ebuild: + Moved from dev-libs/hdf5 to sci-libs/hdf5. + + 25 Jun 2004; Danny van Dyk <kugelfang@gentoo.org> hdf5-1.6.2.ebuild: + Marked stable on amd64. + + 15 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> hdf5-1.4.5.ebuild, + hdf5-1.6.0.ebuild, hdf5-1.6.1.ebuild, hdf5-1.6.2.ebuild: + PROVIDE is for virtuals + + 05 May 2004; Bryan Østergaard <kloeri@gentoo.org> hdf5-1.6.2.ebuild: + Stable on alpha. + + 03 Apr 2004; Peter Bienstman <pbienst@gentoo.org> hdf5-1.6.2.ebuild: + Marked stable on x86. + +*hdf5-1.6.2 (03 Mar 2004) + + 3 Mar 2004; <pbienst@gentoo.org> hdf5-1.6.2.ebuild: + New version. + + 3 Mar 2004; <pbienst@gentoo.org> hdf5-1.6.1.ebuild: + Mark stable on x86. + + 18 Feb 2004; <augustus@gentoo.org> hdf5-1.6.1.ebuild: + Added ~amd64 to keywords. + + 16 Feb 2004; Aron Griffis <agriffis@gentoo.org> hdf5-1.6.1.ebuild: + add ~alpha and ~ia64 + + 15 Feb 2004; Jason Wever <weeve@gentoo.org> hdf5-1.6.1.ebuild: + Added ~sparc keyword to fix broken dependencies of app-sci/octave. + +*hdf5-1.6.1 (06 jan 2004) + + 06 Jan 2004; George Shapovalov <george@gentoo.org> hdf5-1.6.1.ebuild : + new version (#35792) thanks to Peter Bienstman <Peter.Bienstman@rug.ac.be> for notification + +*hdf5-1.6.0 (24 Aug 2003) + + 24 Aug 2003; George Shapovalov <george@gentoo.org> hdf5-1.6.0.ebuild : + added few chenges from #21071, added ssl to IUSE + thanks to Donald Giuliano <guido@ou.edu> for some configure flags suggestions + + 24 Aug 2003; George Shapovalov <george@gentoo.org> hdf5-1.6.0.ebuild : + new version (#25365), + this one installs examples, and of course in a wrong place :), had to fix location. + thanks to James Cloos <cloos@jhcloos.com> for notification + +*hdf5-1.4.5 (19 Jun 2003) + + 19 Jun 2003; George Shapovalov <george@gentoo.org> hdf5-1.4.5.ebuild, Manifest, files/{digest-hdf5-1.4.5} : + initial release (#21071) + HDF5 is a general purpose library and file format for storing scientific data. + ebuild submitted by Castel?o <castelao@oceanologia.net> and Shaun Cloherty <s.cloherty@gsbme.unsw.edu.au> diff --git a/sci-libs/hdf5/Manifest b/sci-libs/hdf5/Manifest new file mode 100644 index 0000000..bdd9162 --- /dev/null +++ b/sci-libs/hdf5/Manifest @@ -0,0 +1,17 @@ +AUX hdf5-1.8.3-as-needed.patch 1821 SHA1 b295f26b8d39fae21201449441a8ac3c0c699048 SHA256 6f03f955186e2e2870517580bd14a637e2cf0206e7547184948653e04c464bb3 +AUX hdf5-1.8.3-includes.patch 398 SHA1 339137d04a803e25a0cafaa4f4d167a4cbc9a7ae SHA256 cd82d8b3817d83d59054a2a32ce44aca060157095875f6e91c560ab830b32561 +AUX hdf5-1.8.3-noreturn.patch 3222 SHA1 c5d8f7528fbe5c0bde0cb0ac5c1dd189559ac140 SHA256 d902cfbda0382b8998506ea765d0795937485c44d8824051275ad668bcbd6565 +AUX hdf5-1.8.4-gnutools.patch 4607 SHA1 8aa01c68f788bfedb490dafd0252970105810eac SHA256 d4f989f289e7fb3ee8e585b10232811c17588b730013698fc439cc0fdabcb252 +AUX hdf5-1.8.4-scaleoffset.patch 1098 SHA1 29be6d6cb7de5db5e10429879f9d6673b6af1519 SHA256 596568d5cf56eba73de4e88a3e7aa0c8c13f3660279ffda783e2074e846a9b2d +AUX hdf5-1.8.4-sigbus.patch 779 SHA1 3fc4c90ac42b9a59f26a459e6faf6f7410b87a9a SHA256 69c0ef464d99b6c2bd3a959b8210e7772a662054b481bed7775ec21c731bf106 +AUX hdf5-1.8.5-implicits.patch 1782 SHA1 eda61db0fafdc738db992fc055a9ad9626743872 SHA256 cd352f026daabba1c1a17725ebbc21a59015d3103697fd6e1181ea1998c07bb3 +AUX hdf5-1.8.5-noreturn.patch 1477 SHA1 88eee2a0bb02512795a61f0ceb9d54f8df454e31 SHA256 7278c504b0e252ea5d0a9d7de5b332f0f1c0981a441efb286864b9599790c0b2 +AUX mpd.conf 48 SHA1 244eee76dbf4ff269e4489d5cc7c3577c6c1fa6b SHA256 ae740cacaf2cb798921cb2092f5af98de67445e27af3f88858f3e6d2bbb127f4 +DIST hdf5-1.8.4.tar.gz 7181176 RMD160 e448e2326b55aa89ff0bd7488cd4291d6c5485ee SHA1 37877e29c49a6af3e23aa9ad798ef12b8ba1c05c SHA256 a992fce9387a17f175b3b188dc2a42f545a3057aeb141beb3fc3361c7521f465 +DIST hdf5-1.8.6.tar.bz2 5521674 RMD160 e0feec256e61e4947367a2144d9835f569035577 SHA1 348bd881c03a9568ac4ea9071833d6119c733757 SHA256 585ddb775a2aa752ebf673f972b90fb14f3732f5f1806255d101d7adc9a53004 +DIST hdf5-1.8.7.tar.bz2 5710170 RMD160 34641bf8e664c3b3382d1346a65e2f5c3eb485ee SHA1 be1daff26f066aca0b5be52d86dada6757fc4b95 SHA256 771761c9bec30b9a4137fa59ef88fdafdb0f4f35d1db0fd655f2591d19570fec +EBUILD hdf5-1.8.4-r1.ebuild 3134 SHA1 9f01a942144e3a1cdf8d9eea9b3e3620cd180892 SHA256 89aa8ed18e2d68e4c55d8f24c0db221f6e3f13d056f4f14eb29016dffddcdda7 +EBUILD hdf5-1.8.6.ebuild 3101 SHA1 46012018d70646e025f4b19335eb77e147cc4c53 SHA256 aa9c4609c90b82561086f5cbb643fad56b4f1b84e26098c985d260e6fbf23d68 +EBUILD hdf5-1.8.7.ebuild 3014 SHA1 df19fe7c3c9b89ee4e85aa76a39087434a955025 SHA256 70b8a70cc46326ec4e1c281b4304c07b8628b197fe79d8a97553bca67d2cac69 +MISC ChangeLog 14930 SHA1 8fbe3de9fd6de412e096358132bbe0fd43b3735f SHA256 89356b57b866ba734307a911ba3fb63b0f1af7a1375b106b5214b5b8ea5c8238 +MISC metadata.xml 447 SHA1 5e9be3a88b19d1651aef3f867829c3e25f2e6a16 SHA256 1f01480c1833905629ecb1defd9fd0d12355a49929fb0277dd342d3012cec4cc diff --git a/sci-libs/hdf5/files/hdf5-1.8.3-as-needed.patch b/sci-libs/hdf5/files/hdf5-1.8.3-as-needed.patch new file mode 100644 index 0000000..6b1f438 --- /dev/null +++ b/sci-libs/hdf5/files/hdf5-1.8.3-as-needed.patch @@ -0,0 +1,41 @@ +--- fortran/src/Makefile.am.orig 2009-04-15 19:10:01.053733251 +0100 ++++ fortran/src/Makefile.am 2009-04-15 19:12:49.874557795 +0100 +@@ -66,6 +66,8 @@ + H5If.c H5Lf.c H5Of.c H5Pf.c H5Rf.c H5Sf.c H5Tf.c H5Zf.c \ + $(PARALLEL_COND_SRC) + ++libhdf5_fortran_la_LIBADD = $(top_builddir)/src/libhdf5.la ++ + # h5fc is generated during configure. + # Remove it only when distclean. + DISTCLEANFILES=h5fc +--- hl/fortran/src/Makefile.am.orig 2009-04-15 19:10:01.245748616 +0100 ++++ hl/fortran/src/Makefile.am 2009-04-15 19:30:56.042226227 +0100 +@@ -43,6 +43,7 @@ + + libhdf5hl_fortran_la_SOURCES=H5LTfc.c H5IMfc.c H5IMcc.c H5TBfc.c H5LTff.f90 \ + H5IMff.f90 H5TBff.f90 ++libhdf5hl_fortran_la_LIBADD=$(top_builddir)/hl/src/libhdf5_hl.la + + # Fortran module files can have different extensions and different names + # (e.g., different capitalizations) on different platforms. Write rules +--- hl/c++/src/Makefile.am.orig 2009-04-15 19:10:01.249750013 +0100 ++++ hl/c++/src/Makefile.am 2009-04-15 20:16:08.812068687 +0100 +@@ -35,6 +35,7 @@ + # Source files for the library + # At the moment, only the H5PT Packet Table has a C++ API. + libhdf5_hl_cpp_la_SOURCES=H5PacketTable.cpp ++libhdf5_hl_cpp_la_LIBADD=$(top_builddir)/hl/src/libhdf5_hl.la + + # Public headers + include_HEADERS=H5PacketTable.h +--- hl/src/Makefile.am.orig 2009-05-13 17:03:11.000000000 +0200 ++++ hl/src/Makefile.am 2009-09-10 19:22:57.489698969 +0200 +@@ -31,6 +31,7 @@ + libhdf5_hl_la_LDFLAGS= -version-info $(LT_VERS_INTERFACE):$(LT_VERS_REVISION):$(LT_VERS_AGE) + + libhdf5_hl_la_SOURCES=H5DS.c H5IM.c H5LT.c H5LTanalyze.c H5LTparse.c H5PT.c H5TB.c ++libhdf5_hl_la_LIBADD=$(top_builddir)/src/libhdf5.la + + # Public header files (to be installed) + include_HEADERS=hdf5_hl.h H5IMpublic.h H5LTpublic.h H5TBpublic.h H5DSpublic.h H5PTpublic.h diff --git a/sci-libs/hdf5/files/hdf5-1.8.3-includes.patch b/sci-libs/hdf5/files/hdf5-1.8.3-includes.patch new file mode 100644 index 0000000..5e87f6c --- /dev/null +++ b/sci-libs/hdf5/files/hdf5-1.8.3-includes.patch @@ -0,0 +1,11 @@ +--- hdf5-1.8.3.orig/src/H5E.c 2009-04-15 19:10:01.081735486 +0100 ++++ hdf5-1.8.3/src/H5E.c 2009-04-15 20:02:06.708712912 +0100 +@@ -54,6 +54,8 @@ + /***********/ + /* Headers */ + /***********/ ++#define _GNU_SOURCE ++#include <stdio.h> + #include "H5private.h" /* Generic Functions */ + #include "H5Iprivate.h" /* IDs */ + #include "H5Epkg.h" /* Error handling */ diff --git a/sci-libs/hdf5/files/hdf5-1.8.3-noreturn.patch b/sci-libs/hdf5/files/hdf5-1.8.3-noreturn.patch new file mode 100644 index 0000000..27b6f9b --- /dev/null +++ b/sci-libs/hdf5/files/hdf5-1.8.3-noreturn.patch @@ -0,0 +1,92 @@ +diff -Nur hdf5-1.8.3.orig/c++/src/H5AbstractDs.cpp hdf5-1.8.3/c++/src/H5AbstractDs.cpp +--- hdf5-1.8.3.orig/c++/src/H5AbstractDs.cpp 2009-04-15 19:10:01.061734089 +0100 ++++ hdf5-1.8.3/c++/src/H5AbstractDs.cpp 2009-04-16 10:10:56.263885963 +0100 +@@ -85,6 +85,8 @@ + else if (fromClass() == "Attribute") + throw DataTypeIException("Attribute::getTypeClass", "H5Tget_class returns H5T_NO_CLASS"); + } ++ ++ return (type_class); + } + + //-------------------------------------------------------------------------- +diff -Nur hdf5-1.8.3.orig/hl/src/H5LTanalyze.c hdf5-1.8.3/hl/src/H5LTanalyze.c +--- hdf5-1.8.3.orig/hl/src/H5LTanalyze.c 2009-04-15 19:10:01.221747499 +0100 ++++ hdf5-1.8.3/hl/src/H5LTanalyze.c 2009-04-16 10:10:56.267887639 +0100 +@@ -2329,7 +2329,7 @@ + return ret; + } + +-int H5LTyyerror(char *msg) ++void H5LTyyerror(char *msg) + { + printf("ERROR: %s before \"%s\".\n", msg, yytext); + } +diff -Nur hdf5-1.8.3.orig/hl/src/H5LTanalyze.l hdf5-1.8.3/hl/src/H5LTanalyze.l +--- hdf5-1.8.3.orig/hl/src/H5LTanalyze.l 2009-04-15 19:10:01.221747499 +0100 ++++ hdf5-1.8.3/hl/src/H5LTanalyze.l 2009-04-16 10:10:56.267887639 +0100 +@@ -181,7 +181,7 @@ + return ret; + } + +-int H5LTyyerror(char *msg) ++void H5LTyyerror(char *msg) + { + printf("ERROR: %s before \"%s\".\n", msg, yytext); + } +diff -Nur hdf5-1.8.3.orig/hl/src/H5LTparse.c hdf5-1.8.3/hl/src/H5LTparse.c +--- hdf5-1.8.3.orig/hl/src/H5LTparse.c 2009-04-15 19:10:01.221747499 +0100 ++++ hdf5-1.8.3/hl/src/H5LTparse.c 2009-04-16 10:10:56.267887639 +0100 +@@ -64,7 +64,7 @@ + #include<hdf5.h> + + extern int yylex(); +-extern int yyerror(char *); ++extern void yyerror(char *); + + #define STACK_SIZE 16 + +diff -Nur hdf5-1.8.3.orig/test/dt_arith.c hdf5-1.8.3/test/dt_arith.c +--- hdf5-1.8.3.orig/test/dt_arith.c 2009-04-15 19:10:01.121739118 +0100 ++++ hdf5-1.8.3/test/dt_arith.c 2009-04-16 10:10:56.271887918 +0100 +@@ -3408,6 +3408,7 @@ + else if(run_test==TEST_DENORM || run_test==TEST_SPECIAL) + return 1; + #endif ++ return 1; + } + + +diff -Nur hdf5-1.8.3.orig/tools/h5dump/h5dump.c hdf5-1.8.3/tools/h5dump/h5dump.c +--- hdf5-1.8.3.orig/tools/h5dump/h5dump.c 2009-04-15 19:10:01.141740794 +0100 ++++ hdf5-1.8.3/tools/h5dump/h5dump.c 2009-04-16 10:10:56.275888757 +0100 +@@ -602,6 +602,7 @@ + * + *------------------------------------------------------------------------- + */ ++static void leave(int ret) __attribute__ ((__noreturn__)); + static void + leave(int ret) + { +diff -Nur hdf5-1.8.3.orig/tools/h5ls/h5ls.c hdf5-1.8.3/tools/h5ls/h5ls.c +--- hdf5-1.8.3.orig/tools/h5ls/h5ls.c 2009-04-15 19:10:01.165741353 +0100 ++++ hdf5-1.8.3/tools/h5ls/h5ls.c 2009-04-16 10:10:56.279888477 +0100 +@@ -2147,6 +2147,7 @@ + * + *------------------------------------------------------------------------- + */ ++static void leave(int ret) __attribute__ ((__noreturn__)); + static void + leave(int ret) + { +diff -Nur hdf5-1.8.3.orig/tools/h5stat/h5stat.c hdf5-1.8.3/tools/h5stat/h5stat.c +--- hdf5-1.8.3.orig/tools/h5stat/h5stat.c 2009-04-15 19:10:01.181742750 +0100 ++++ hdf5-1.8.3/tools/h5stat/h5stat.c 2009-04-16 10:10:56.279888477 +0100 +@@ -181,6 +181,7 @@ + { NULL, 0, '\0' } + }; + ++static void leave(int ret) __attribute__ ((__noreturn__)); + static void + leave(int ret) + { diff --git a/sci-libs/hdf5/files/hdf5-1.8.4-gnutools.patch b/sci-libs/hdf5/files/hdf5-1.8.4-gnutools.patch new file mode 100644 index 0000000..2843afb --- /dev/null +++ b/sci-libs/hdf5/files/hdf5-1.8.4-gnutools.patch @@ -0,0 +1,65 @@ +--- hdf5-1.8.4.orig/src/Makefile.am 2009-11-10 22:12:02.000000000 +0100 ++++ hdf5-1.8.4/src/Makefile.am 2009-12-03 13:13:36.902083292 +0100 +@@ -26,14 +26,52 @@ + # Use -g to force no optimization since many compilers (e.g., Intel) takes + # a long time to compile it with any optimization on. H5detect is used + # to generate H5Tinit.c once. So, optimization is not critical. ++# -O0 is required for >= gcc4.3 + noinst_PROGRAMS = H5detect +-H5detect_CFLAGS = -g $(AM_CFLAGS) ++H5detect_CFLAGS = -g -O0 ++ ++# Automake doesn't have a way to build with no optimization ++# See http://sources.redhat.com/ml/automake/2002-08/msg00082.html ++# This is the automake-produced rule with $(CFLAGS) removed ++H5detect_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ ++ --mode=link $(CCLD) $(H5detect_CFLAGS) $(AM_LDFLAGS) \ ++ $(LDFLAGS) -o $@ ++ ++H5detect-H5detect.o: H5detect.c ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(H5detect_CFLAGS) -MT H5detect-H5detect.o -MD -MP -MF $(DEPDIR)/H5detect-H5detect.Tpo -c -o H5detect-H5detect.o `test -f 'H5detect.c' || echo '$(srcdir)/'`H5detect.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/H5detect-H5detect.Tpo $(DEPDIR)/H5detect-H5detect.Po ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='H5detect.c' object='H5detect-H5detect.o' libtool=no @AMDEPBACKSLASH@ ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ ++@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(H5detect_CFLAGS) -c -o H5detect-H5detect.o `test -f 'H5detect.c' || echo '$(srcdir)/'`H5detect.c ++ ++H5detect-H5detect.obj: H5detect.c ++@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(H5detect_CFLAGS) -MT H5detect-H5detect.obj -MD -MP -MF $(DEPDIR)/H5detect-H5detect.Tpo -c -o H5detect-H5detect.obj `if test -f 'H5detect.c'; then $(CYGPATH_W) 'H5detect.c'; else $(CYGPATH_W) '$(srcdir)/H5detect.c'; fi` ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/H5detect-H5detect.Tpo $(DEPDIR)/H5detect-H5detect.Po ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='H5detect.c' object='H5detect-H5detect.obj' libtool=no @AMDEPBACKSLASH@ ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ ++@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(H5detect_CFLAGS) -c -o H5detect-H5detect.obj `if test -f 'H5detect.c'; then $(CYGPATH_W) 'H5detect.c'; else $(CYGPATH_W) '$(srcdir)/H5detect.c'; fi` ++ ++noinst_LTLIBRARIES = libH5Tconv.la ++libH5Tconv_la_SOURCES = H5Tconv.c ++libH5Tconv_la_CFLAGS = -g -O0 ++libH5Tconv_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ ++ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libH5Tconv_la_CFLAGS) \ ++ $(AM_LDFLAGS) $(LDFLAGS) -o $@ ++ ++libH5Tconv_la-H5Tconv.lo: H5Tconv.c ++@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libH5Tconv_la_CFLAGS) -MT libH5Tconv_la-H5Tconv.lo -MD -MP -MF $(DEPDIR)/libH5Tconv_la-H5Tconv.Tpo -c -o libH5Tconv_la-H5Tconv.lo `test -f 'H5Tconv.c' || echo '$(srcdir)/'`H5Tconv.c ++@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libH5Tconv_la-H5Tconv.Tpo $(DEPDIR)/libH5Tconv_la-H5Tconv.Plo ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='H5Tconv.c' object='libH5Tconv_la-H5Tconv.lo' libtool=yes @AMDEPBACKSLASH@ ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ ++@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libH5Tconv_la_CFLAGS) -c -o libH5Tconv_la-H5Tconv.lo `test -f 'H5Tconv.c' || echo '$(srcdir)/'`H5Tconv.c ++ + + # Our main target, the HDF5 library + lib_LTLIBRARIES=libhdf5.la + + # Add libtool numbers to the HDF5 library (from config/lt_vers.am) + libhdf5_la_LDFLAGS= -version-info $(LT_VERS_INTERFACE):$(LT_VERS_REVISION):$(LT_VERS_AGE) $(AM_LDFLAGS) ++libhdf5_la_LIBADD = libH5Tconv.la + + # H5Tinit.c is a generated file, and should be cleaned. + MOSTLYCLEANFILES=H5Tinit.c +@@ -89,7 +127,7 @@ + H5S.c H5Sall.c H5Sdbg.c H5Shyper.c H5Smpio.c H5Snone.c H5Spoint.c \ + H5Sselect.c H5Stest.c H5SL.c H5SM.c H5SMbtree2.c \ + H5SMcache.c H5SMtest.c H5ST.c \ +- H5T.c H5Tarray.c H5Tbit.c H5Tcommit.c H5Tcompound.c H5Tconv.c \ ++ H5T.c H5Tarray.c H5Tbit.c H5Tcommit.c H5Tcompound.c \ + H5Tcset.c H5Tdbg.c H5Tdeprec.c H5Tenum.c H5Tfields.c \ + H5Tfixed.c \ + H5Tfloat.c H5Tinit.c H5Tnative.c H5Toffset.c H5Toh.c \ diff --git a/sci-libs/hdf5/files/hdf5-1.8.4-scaleoffset.patch b/sci-libs/hdf5/files/hdf5-1.8.4-scaleoffset.patch new file mode 100644 index 0000000..be52280 --- /dev/null +++ b/sci-libs/hdf5/files/hdf5-1.8.4-scaleoffset.patch @@ -0,0 +1,18 @@ +--- hdf5-1.8.4.orig/test/dsets.c 2009-11-10 22:11:59.000000000 +0100 ++++ hdf5-1.8.4/test/dsets.c 2009-12-03 13:13:42.239327244 +0100 +@@ -7402,10 +7402,14 @@ + nerrors += (test_nbit_compound_3(file) < 0 ? 1 : 0); + nerrors += (test_scaleoffset_int(file) < 0 ? 1 : 0); + nerrors += (test_scaleoffset_int_2(file) < 0 ? 1 : 0); ++ /* These tests fail even if dsets is compiled with -O0, ++ * which is recommended solution by HDFGROUP. ++ * Problem exists at least since version 1.4.x and occurs ++ * on different compilers and architectures. + nerrors += (test_scaleoffset_float(file) < 0 ? 1 : 0); + nerrors += (test_scaleoffset_float_2(file) < 0 ? 1 : 0); + nerrors += (test_scaleoffset_double(file) < 0 ? 1 : 0); +- nerrors += (test_scaleoffset_double_2(file) < 0 ? 1 : 0); ++ nerrors += (test_scaleoffset_double_2(file) < 0 ? 1 : 0); */ + nerrors += (test_multiopen (file) < 0 ? 1 : 0); + nerrors += (test_types(file) < 0 ? 1 : 0); + nerrors += (test_userblock_offset(envval, my_fapl) < 0 ? 1 : 0); diff --git a/sci-libs/hdf5/files/hdf5-1.8.4-sigbus.patch b/sci-libs/hdf5/files/hdf5-1.8.4-sigbus.patch new file mode 100644 index 0000000..8efa69b --- /dev/null +++ b/sci-libs/hdf5/files/hdf5-1.8.4-sigbus.patch @@ -0,0 +1,30 @@ +Index: hdf5-1.8.4/src/H5detect.c +=================================================================== +--- hdf5-1.8.4.orig/src/H5detect.c 2010-01-29 12:21:36.000000000 +0100 ++++ hdf5-1.8.4/src/H5detect.c 2010-01-29 12:21:52.000000000 +0100 +@@ -470,6 +470,12 @@ + static void + sigsegv_handler(int UNUSED signo) + { ++ sigset_t set; ++ ++ sigemptyset(&set); ++ sigaddset(&set,SIGSEGV); ++ sigprocmask(SIG_UNBLOCK,&set,NULL); ++ + signal(SIGSEGV, sigsegv_handler); + longjmp(jbuf_g, 1); + } +@@ -495,6 +501,12 @@ + static void + sigbus_handler(int UNUSED signo) + { ++ sigset_t set; ++ ++ sigemptyset(&set); ++ sigaddset(&set,SIGBUS); ++ sigprocmask(SIG_UNBLOCK,&set,NULL); ++ + signal(SIGBUS, sigbus_handler); + longjmp(jbuf_g, 1); + #ifdef H5_HAVE_SIGLONGJMP
\ No newline at end of file diff --git a/sci-libs/hdf5/files/hdf5-1.8.5-implicits.patch b/sci-libs/hdf5/files/hdf5-1.8.5-implicits.patch new file mode 100644 index 0000000..89a9998 --- /dev/null +++ b/sci-libs/hdf5/files/hdf5-1.8.5-implicits.patch @@ -0,0 +1,65 @@ +Fix implicit function declarations + +--- hdf5-1.8.5-patch1/tools/misc/talign.c ++++ hdf5-1.8.5-patch1/tools/misc/talign.c +@@ -23,6 +23,7 @@ + + #include "hdf5.h" + #include "H5private.h" ++#include "h5tools.h" + + const char *fname = "talign.h5"; + const char *setname = "align"; +--- hdf5-1.8.5-patch1/tools/lib/h5tools_utils.c ++++ hdf5-1.8.5-patch1/tools/lib/h5tools_utils.c +@@ -31,6 +31,7 @@ + #include "h5tools_utils.h" + #include "H5private.h" + #include "h5trav.h" ++#include "h5diff.h" + + /* global variables */ + int nCols = 80; +--- hdf5-1.8.5-patch1/src/H5E.c ++++ hdf5-1.8.5-patch1/src/H5E.c +@@ -54,6 +54,8 @@ + /***********/ + /* Headers */ + /***********/ ++#define _GNU_SOURCE ++#include <stdio.h> + #include "H5private.h" /* Generic Functions */ + #include "H5Iprivate.h" /* IDs */ + #include "H5Epkg.h" /* Error handling */ +--- hdf5-1.8.5-patch1/src/H5Eint.c ++++ hdf5-1.8.5-patch1/src/H5Eint.c +@@ -37,6 +37,8 @@ + /***********/ + /* Headers */ + /***********/ ++#define _GNU_SOURCE ++#include <stdio.h> + #include "H5private.h" /* Generic Functions */ + #include "H5Epkg.h" /* Error handling */ + #include "H5Iprivate.h" /* IDs */ +--- hdf5-1.8.5-patch1/tools/h5copy/h5copygentest.c ++++ hdf5-1.8.5-patch1/tools/h5copy/h5copygentest.c +@@ -20,6 +20,7 @@ + #include "hdf5.h" + #include "H5private.h" + #include "h5tools.h" ++#include "h5tools_utils.h" + + /* Name of tool */ + #define PROGRAMNAME "h5copygentest" +--- hdf5-1.8.5-patch1/tools/h5repack/testh5repack_detect_szip.c ++++ hdf5-1.8.5-patch1/tools/h5repack/testh5repack_detect_szip.c +@@ -17,7 +17,7 @@ + #include "h5repack.h" + #include "h5tools.h" + #include "h5test.h" +- ++#include "h5tools_utils.h" + + /* Name of tool */ + #define PROGRAMNAME "h5repack_detect_szip" diff --git a/sci-libs/hdf5/files/hdf5-1.8.5-noreturn.patch b/sci-libs/hdf5/files/hdf5-1.8.5-noreturn.patch new file mode 100644 index 0000000..40065f7 --- /dev/null +++ b/sci-libs/hdf5/files/hdf5-1.8.5-noreturn.patch @@ -0,0 +1,73 @@ +--- hl/src/H5LTanalyze.c ++++ hl/src/H5LTanalyze.c +@@ -2329,7 +2329,7 @@ + return ret; + } + +-int H5LTyyerror(char *msg) ++void H5LTyyerror(char *msg) + { + printf("ERROR: %s before \"%s\".\n", msg, yytext); + } +--- hl/src/H5LTanalyze.l ++++ hl/src/H5LTanalyze.l +@@ -181,7 +181,7 @@ + return ret; + } + +-int H5LTyyerror(char *msg) ++void H5LTyyerror(char *msg) + { + printf("ERROR: %s before \"%s\".\n", msg, yytext); + } +--- hl/src/H5LTparse.c ++++ hl/src/H5LTparse.c +@@ -64,7 +64,7 @@ + #include<hdf5.h> + + extern int yylex(); +-extern int yyerror(char *); ++extern void yyerror(char *); + + #define STACK_SIZE 16 + +--- test/dt_arith.c ++++ test/dt_arith.c +@@ -3408,6 +3408,7 @@ + else if(run_test==TEST_DENORM || run_test==TEST_SPECIAL) + return 1; + #endif ++ return 1; + } + + +--- tools/h5dump/h5dump.c ++++ tools/h5dump/h5dump.c +@@ -602,6 +602,7 @@ + * + *------------------------------------------------------------------------- + */ ++static void leave(int ret) __attribute__ ((__noreturn__)); + static void + leave(int ret) + { +--- tools/h5ls/h5ls.c ++++ tools/h5ls/h5ls.c +@@ -2147,6 +2147,7 @@ + * + *------------------------------------------------------------------------- + */ ++static void leave(int ret) __attribute__ ((__noreturn__)); + static void + leave(int ret) + { +--- tools/h5stat/h5stat.c ++++ tools/h5stat/h5stat.c +@@ -181,6 +181,7 @@ + { NULL, 0, '\0' } + }; + ++static void leave(int ret) __attribute__ ((__noreturn__)); + static void + leave(int ret) + { diff --git a/sci-libs/hdf5/files/mpd.conf b/sci-libs/hdf5/files/mpd.conf new file mode 100644 index 0000000..07dd982 --- /dev/null +++ b/sci-libs/hdf5/files/mpd.conf @@ -0,0 +1,2 @@ +secretword=test69hike +MPD_SECRETWORD=test69hike diff --git a/sci-libs/hdf5/hdf5-1.8.4-r1.ebuild b/sci-libs/hdf5/hdf5-1.8.4-r1.ebuild new file mode 100644 index 0000000..b6b1b9f --- /dev/null +++ b/sci-libs/hdf5/hdf5-1.8.4-r1.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/hdf5-1.8.4-r1.ebuild,v 1.18 2011/07/06 15:00:48 xarthisius Exp $ + +EAPI=3 + +inherit autotools eutils fortran-2 + +DESCRIPTION="General purpose library and file format for storing scientific data" +HOMEPAGE="http://www.hdfgroup.org/HDF5/" +SRC_URI="http://www.hdfgroup.org/ftp/HDF5/prev-releases/${P}/src/${P}.tar.gz" + +LICENSE="NCSA-HDF" +SLOT="0" +KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86" +IUSE="cxx examples fortran mpi szip threads zlib" + +RDEPEND=" + fortran? ( virtual/fortran ) + mpi? ( || ( + sys-cluster/openmpi[romio] + sys-cluster/mpich2[romio] ) ) + szip? ( >=sci-libs/szip-2.1 ) + zlib? ( sys-libs/zlib )" + +DEPEND="${RDEPEND} + sys-devel/libtool:2 + sys-process/time" + +pkg_setup() { + use fortran && fortran-2_pkg_setup + if use mpi; then + if has_version 'sci-libs/hdf5[-mpi]'; then + ewarn "Installing hdf5 with mpi enabled with a previous hdf5 with mpi disabled may fail." + ewarn "Try to uninstall the current hdf5 prior to enabling mpi support." + fi + if use cxx; then + ewarn "Simultaneous mpi and cxx is not supported by ${PN}" + ewarn "Will disable cxx interface" + fi + export CC=mpicc + if use fortran; then + export FC=mpif90 + fi + elif has_version 'sci-libs/hdf5[mpi]'; then + ewarn "Installing hdf5 with mpi disabled while having hdf5 installed with mpi enabled may fail." + ewarn "Try to uninstall the current hdf5 prior to disabling mpi support." + fi +} + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-1.8.3-as-needed.patch \ + "${FILESDIR}"/${PN}-1.8.3-includes.patch \ + "${FILESDIR}"/${PN}-1.8.3-noreturn.patch \ + "${FILESDIR}"/${P}-gnutools.patch \ + "${FILESDIR}"/${P}-scaleoffset.patch \ + "${FILESDIR}"/${P}-sigbus.patch + + # respect gentoo examples directory + sed \ + -e 's:$(docdir)/hdf5:$(DESTDIR)/$(docdir):' \ + -i $(find . -name Makefile.am) || die + sed \ + -e '/docdir/d' \ + -i config/commence.am || die + eautoreconf + # enable shared libs by default for h5cc config utility + sed -i -e "s/SHLIB:-no/SHLIB:-yes/g" tools/misc/h5cc.in \ + || die "sed h5cc.in failed" +} + +src_configure() { + # threadsafe incompatible with many options + local myconf="--disable-threadsafe" + use threads && ! use fortran && ! use cxx && ! use mpi \ + && myconf="--enable-threadsafe" + + if use mpi; then + myconf="${myconf} --disable-cxx" + else + # workaround for bug 285148 + if use cxx; then + myconf="${myconf} $(use_enable cxx) CXX=$(tc-getCXX)" + fi + if use fortran; then + myconf="${myconf} FC=$(tc-getFC)" + fi + fi + + econf \ + --disable-sharedlib-rpath \ + --enable-production \ + --enable-strict-format-checks \ + --docdir=/usr/share/doc/${PF} \ + --enable-deprecated-symbols \ + --enable-shared \ + $(use_enable fortran) \ + $(use_enable mpi parallel) \ + $(use_with szip szlib) \ + $(use_with threads pthread) \ + $(use_with zlib) \ + ${myconf} +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc README.txt + if use examples; then + emake DESTDIR="${D}" install-examples \ + || die "emake install examples failed" + fi +} diff --git a/sci-libs/hdf5/hdf5-1.8.6.ebuild b/sci-libs/hdf5/hdf5-1.8.6.ebuild new file mode 100644 index 0000000..9851225 --- /dev/null +++ b/sci-libs/hdf5/hdf5-1.8.6.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/hdf5-1.8.6.ebuild,v 1.7 2011/07/06 15:00:48 xarthisius Exp $ + +EAPI=3 + +inherit autotools eutils fortran-2 + +DESCRIPTION="General purpose library and file format for storing scientific data" +HOMEPAGE="http://www.hdfgroup.org/HDF5/" +SRC_URI="http://www.hdfgroup.org/ftp/HDF5/current/src/${P}.tar.bz2" + +LICENSE="NCSA-HDF" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="cxx debug examples fortran mpi szip threads zlib" + +RDEPEND=" + fortran? ( virtual/fortran ) + mpi? ( virtual/mpi[romio] ) + szip? ( >=sci-libs/szip-2.1 ) + zlib? ( sys-libs/zlib )" + +DEPEND="${RDEPEND} + sys-devel/libtool:2 + sys-process/time" + +pkg_setup() { + use fortran && fortran-2_pkg_setup + if use mpi; then + if has_version 'sci-libs/hdf5[-mpi]'; then + ewarn "Installing hdf5 with mpi enabled with a previous hdf5 with mpi disabled may fail." + ewarn "Try to uninstall the current hdf5 prior to enabling mpi support." + fi + if use cxx; then + ewarn "Simultaneous mpi and cxx is not supported by ${PN}" + ewarn "Will disable cxx interface" + fi + export CC=mpicc + if use fortran; then + export FC=mpif90 + fi + elif has_version 'sci-libs/hdf5[mpi]'; then + ewarn "Installing hdf5 with mpi disabled while having hdf5 installed with mpi enabled may fail." + ewarn "Try to uninstall the current hdf5 prior to disabling mpi support." + fi +} + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-1.8.3-as-needed.patch \ + "${FILESDIR}"/${PN}-1.8.5-implicits.patch \ + "${FILESDIR}"/${PN}-1.8.5-noreturn.patch \ + "${FILESDIR}"/${PN}-1.8.4-scaleoffset.patch \ + + # respect gentoo examples directory + sed \ + -e "s:hdf5_examples:doc/${PF}/examples:g" \ + -i $(find . -name Makefile.am) $(find . -name "run*.sh.in") || die + sed \ + -e '/docdir/d' \ + -i config/commence.am || die + eautoreconf + # enable shared libs by default for h5cc config utility + sed -i -e "s/SHLIB:-no/SHLIB:-yes/g" tools/misc/h5cc.in \ + || die "sed h5cc.in failed" +} + +src_configure() { + # threadsafe incompatible with many options + local myconf="--disable-threadsafe" + use debug && myconf="${myconf} --enable-codestack" + use threads && ! use fortran && ! use cxx && ! use mpi \ + && myconf="--enable-threadsafe" + + if use mpi; then + myconf="${myconf} --disable-cxx" + else + # workaround for bug 285148 + if use cxx; then + myconf="${myconf} $(use_enable cxx) CXX=$(tc-getCXX)" + fi + if use fortran; then + myconf="${myconf} FC=$(tc-getFC)" + fi + fi + + econf \ + --disable-sharedlib-rpath \ + --enable-production \ + --docdir=/usr/share/doc/${PF} \ + --enable-deprecated-symbols \ + --enable-shared \ + $(use_enable debug debug all) \ + $(use_enable fortran) \ + $(use_enable mpi parallel) \ + $(use_with szip szlib) \ + $(use_with threads pthread) \ + $(use_with zlib) \ + ${myconf} +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc README.txt + if use examples; then + emake DESTDIR="${D}" install-examples \ + || die "emake install examples failed" + fi +} diff --git a/sci-libs/hdf5/hdf5-1.8.7.ebuild b/sci-libs/hdf5/hdf5-1.8.7.ebuild new file mode 100644 index 0000000..ec759a6 --- /dev/null +++ b/sci-libs/hdf5/hdf5-1.8.7.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/hdf5-1.8.7.ebuild,v 1.8 2011/07/08 11:24:29 xarthisius Exp $ + +EAPI=4 + +inherit autotools eutils fortran-2 + +DESCRIPTION="General purpose library and file format for storing scientific data" +HOMEPAGE="http://www.hdfgroup.org/HDF5/" +SRC_URI="http://www.hdfgroup.org/ftp/HDF5/current/src/${P}.tar.bz2" + +LICENSE="NCSA-HDF" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux" +IUSE="cxx debug examples fortran mpi szip threads zlib" + +RDEPEND=" + fortran? ( virtual/fortran ) + mpi? ( virtual/mpi[romio] ) + szip? ( >=sci-libs/szip-2.1 ) + zlib? ( sys-libs/zlib )" + +DEPEND="${RDEPEND} + sys-devel/libtool:2 + sys-process/time" + +pkg_setup() { + use fortran && fortran-2_pkg_setup + if use mpi; then + if has_version 'sci-libs/hdf5[-mpi]'; then + ewarn "Installing hdf5 with mpi enabled with a previous hdf5 with mpi disabled may fail." + ewarn "Try to uninstall the current hdf5 prior to enabling mpi support." + fi + if use cxx; then + ewarn "Simultaneous mpi and cxx is not supported by ${PN}" + ewarn "Will disable cxx interface" + fi + export CC=mpicc + use fortran && export FC=mpif90 + elif has_version 'sci-libs/hdf5[mpi]'; then + ewarn "Installing hdf5 with mpi disabled while having hdf5 installed with mpi enabled may fail." + ewarn "Try to uninstall the current hdf5 prior to disabling mpi support." + fi +} + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-1.8.3-as-needed.patch \ + "${FILESDIR}"/${PN}-1.8.5-implicits.patch \ + "${FILESDIR}"/${PN}-1.8.5-noreturn.patch \ + "${FILESDIR}"/${PN}-1.8.4-scaleoffset.patch \ + + # respect gentoo examples directory + sed \ + -e "s:hdf5_examples:doc/${PF}/examples:g" \ + -i $(find . -name Makefile.am) $(find . -name "run*.sh.in") || die + sed \ + -e '/docdir/d' \ + -i config/commence.am || die + eautoreconf + # enable shared libs by default for h5cc config utility + sed -i -e "s/SHLIB:-no/SHLIB:-yes/g" tools/misc/h5cc.in \ + || die "sed h5cc.in failed" +} + +src_configure() { + # threadsafe incompatible with many options + local myconf="--disable-threadsafe" + use debug && myconf="${myconf} --enable-codestack" + use threads && ! use fortran && ! use cxx && ! use mpi \ + && myconf="--enable-threadsafe" + + if use mpi; then + myconf="${myconf} --disable-cxx" + else + # workaround for bug 285148 + if use cxx; then + myconf="${myconf} $(use_enable cxx) CXX=$(tc-getCXX)" + fi + if use fortran; then + myconf="${myconf} FC=$(tc-getFC)" + fi + fi + + econf \ + --disable-sharedlib-rpath \ + --enable-production \ + --docdir=/usr/share/doc/${PF} \ + --enable-deprecated-symbols \ + --enable-shared \ + --disable-silent-rules \ + $(use_enable debug debug all) \ + $(use_enable fortran) \ + $(use_enable mpi parallel) \ + $(use_with szip szlib) \ + $(use_with threads pthread) \ + $(use_with zlib) \ + ${myconf} +} + +src_install() { + default + if use examples; then + emake DESTDIR="${D}" install-examples + fi +} diff --git a/sci-libs/hdf5/metadata.xml b/sci-libs/hdf5/metadata.xml new file mode 100644 index 0000000..2058812 --- /dev/null +++ b/sci-libs/hdf5/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci</herd> + <longdescription> + HDF5 is a file format and library for storing scientific data. HDF5 + was designed and implemented to address the deficiencies of HDF4.x. It + has a more powerful and flexible data model, supports files larger + than 2 GB, and supports parallel I/O. +</longdescription> +</pkgmetadata> diff --git a/sci-libs/igraph/Manifest b/sci-libs/igraph/Manifest new file mode 100644 index 0000000..ada4e00 --- /dev/null +++ b/sci-libs/igraph/Manifest @@ -0,0 +1,2 @@ +DIST igraph-0.5.4.tar.gz 1741540 SHA1 e5f1a54ac1a9567127ebee838720b3ec38ad534a SHA256 0c7256849d4f63b12b240aedd4fc5be34a2888cce7dd7b4d91c02315585a063f +EBUILD igraph-0.5.4.ebuild 964 SHA1 928745f3d265cecb28e071120b0d8e45be3b718b SHA256 de9fd3656e43724d26bed2b8dde27b8c1182896f7803fae7cbb7d6229d73cac2 diff --git a/sci-libs/igraph/igraph-0.5.4.ebuild b/sci-libs/igraph/igraph-0.5.4.ebuild new file mode 100644 index 0000000..cc44899 --- /dev/null +++ b/sci-libs/igraph/igraph-0.5.4.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +DESCRIPTION="Library for creating and manipulating (un)directed graphs." +HOMEPAGE="http://igraph.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64-linux" +IUSE="+arpack +blas debug +gmp +graphml +lapack profile shell" + +DEPEND="sys-devel/libtool + graphml? ( dev-libs/libxml2 ) + gmp? ( dev-libs/gmp ) + blas? ( virtual/blas ) + lapack? ( virtual/lapack ) + arpack? ( sci-libs/arpack )" +RDEPEND="${DEPEND}" + +src_configure() { + econf \ + $(use_enable graphml) \ + $(use_enable gmp) \ + $(use_enable shell) \ + $(use_enable profile profiling) \ + $(use_enable debug) \ + $(use_with blas external-blas) \ + $(use_with lapack external-lapack) \ + $(use_with arpack external-arpack) \ + || die "configure failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" +} diff --git a/sci-libs/vtk/ChangeLog b/sci-libs/vtk/ChangeLog new file mode 100644 index 0000000..c790a6d --- /dev/null +++ b/sci-libs/vtk/ChangeLog @@ -0,0 +1,342 @@ +# ChangeLog for sci-libs/vtk +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/vtk/ChangeLog,v 1.80 2010/11/09 07:57:14 xarthisius Exp $ + + 09 Nov 2010; Kacper Kowalik <xarthisius@gentoo.org> +vtk-5.4.2-r1.ebuild, + +files/vtk-5.4.2-boost-property_map.patch, +files/vtk-5.4.2-cg-path.patch, + +files/vtk-5.4.2-libpng14.patch: + Bring back vtk-5.4.x as sci-visualization/mayavi:1 depends on it. + media-libs/jpeg -> virtual/jpeg + + 08 Nov 2010; Kacper Kowalik <xarthisius@gentoo.org> + -files/vtk-5.0.3-mpi.patch, -files/vtk-5.0.4-gcc4.3.patch, + -vtk-5.4.2-r1.ebuild, -files/vtk-5.4.2-boost-property_map.patch, + -files/vtk-5.4.2-cg-path.patch, -files/vtk-5.4.2-libpng14.patch, + vtk-5.6.0-r2.ebuild: + media-libs/jpeg -> virtual/jpeg. Drop old. + + 24 Jul 2010; Justin Lecher <jlec@gentoo.org> vtk-5.6.0-r2.ebuild: + Fix for compilation with USE=ffmpeg, #327517 + + 11 Jul 2010; Justin Lecher <jlec@gentoo.org> vtk-5.6.0-r2.ebuild, + +files/vtk-5.6.0-odbc.patch: + Imported support for dbs from sci overlay, 327601, thanks yFrancois Bissey + + 17 Jun 2010; Justin Bronder <jsbronder@gentoo.org> vtk-5.4.2-r1.ebuild: + Remove sys-cluster/lam-mpi handling, see #324415. + + 09 Jun 2010; Justin Lecher <jlec@gentoo.org> -vtk-5.4.2.ebuild: + removed old version which having problems with PYTHON ABIs stuff + + 07 Jun 2010; Justin Lecher <jlec@gentoo.org> vtk-5.6.0-r2.ebuild: + Fixed ogg -> theora USE transition + + 31 May 2010; Justin Lecher <jlec@gentoo.org> metadata.xml: + Added myself as maintainer + +*vtk-5.6.0-r2 (29 May 2010) + + 29 May 2010; Justin Lecher <jlec@gentoo.org> -vtk-5.6.0-r1.ebuild, + +vtk-5.6.0-r2.ebuild: + Don't use bundled libtheora, moved USE ogg -> theora + + 29 May 2010; Justin Lecher <jlec@gentoo.org> vtk-5.6.0-r1.ebuild: + Added missing DEPS + + 29 May 2010; Justin Lecher <jlec@gentoo.org> vtk-5.6.0-r1.ebuild: + Corrected version of cmake in DEPEND for mpi + +*vtk-5.6.0-r1 (28 May 2010) + + 28 May 2010; Justin Lecher <jlec@gentoo.org> vtk-5.4.2.ebuild, + files/vtk-5.4.2-boost-property_map.patch, -vtk-5.6.0.ebuild, + +vtk-5.6.0-r1.ebuild, +files/vtk-5.6.0-R.patch, + files/vtk-5.6.0-boost-property_map.patch: + Fixed correct detection R libs + +*vtk-5.6.0 (28 May 2010) + + 28 May 2010; Justin Lecher <jlec@gentoo.org> vtk-5.4.2-r1.ebuild, + +vtk-5.6.0.ebuild, +files/vtk-5.6.0-boost-property_map.patch, + +files/vtk-5.6.0-cg-path.patch, +files/vtk-5.6.0-libpng14.patch: + Version Bump #321505; Added support for ogg R; prelimary support for + PREFIX + + 22 May 2010; Justin Lecher <jlec@gentoo.org> vtk-5.4.2.ebuild, + vtk-5.4.2-r1.ebuild: + Add x11-libs/qt-sql to deps, #301684 + + 25 Apr 2010; Justin Lecher <jlec@gentoo.org> vtk-5.4.2-r1.ebuild: + Python ABI fixes, #316229 + + 26 Mar 2010; Ben de Groot <yngwin@gentoo.org> vtk-5.4.2.ebuild, + vtk-5.4.2-r1.ebuild: + Don't inherit unused qt3 eclass (bug #310669) + + 11 Mar 2010; Samuli Suominen <ssuominen@gentoo.org> vtk-5.4.2-r1.ebuild, + +files/vtk-5.4.2-libpng14.patch: + Fix building with libpng14. + + 11 Feb 2010; Justin Lecher <jlec@gentoo.org> vtk-5.4.2.ebuild, + vtk-5.4.2-r1.ebuild: + Removed qt3 support as it is no longer in the tree + + 21 Jan 2010; Markus Dittrich <markusle@gentoo.org> vtk-5.4.2-r1.ebuild, + +files/vtk-5.4.2-boost-property_map.patch: + Added patch to allow compilation against boost-1.42 (fixes #301684). + + 16 Jan 2010; Markus Dittrich <markusle@gentoo.org> vtk-5.4.2-r1.ebuild: + Updated handling of mycmakeargs from cmake-utils.eclass. + +*vtk-5.4.2-r1 (19 Dec 2009) + + 19 Dec 2009; Markus Dittrich <markusle@gentoo.org> +vtk-5.4.2-r1.ebuild: + New revision uses cmake-utils eclass and is significantly cleaned up. + This should have also fixed bugs #295053 and #287591. + Thanks much to Francois Bissey <f.r.bissey@massey.ac.nz> for his help. + + 17 Dec 2009; Markus Dittrich <markusle@gentoo.org> vtk-5.4.2.ebuild: + Updated dependency on cmake to >=2.6 (fixes bug #295531). + + 04 Dec 2009; Markus Dittrich <markusle@gentoo.org> vtk-5.4.2.ebuild: + Added short notice regarding possible parallel make issues per bug + #244896. + + 24 Nov 2009; Markus Dittrich <markusle@gentoo.org> vtk-5.4.2.ebuild: + Removed boost from RDEPEND (fixes bug #293083). + + 18 Sep 2009; Petteri Räty <betelgeuse@gentoo.org> -vtk-5.0.4.ebuild, + -vtk-5.2.0-r1.ebuild: + Remove old versions using built_with_use. + + 01 Sep 2009; Markus Dittrich <markusle@gentoo.org> vtk-5.4.2.ebuild: + Added missing dependency on qt-opengl (fixes bug #283181). + +*vtk-5.4.2 (17 Jul 2009) + + 17 Jul 2009; Markus Dittrich <markusle@gentoo.org> -vtk-5.0.3.ebuild, + +files/vtk-5.4.2-cg-path.patch, +vtk-5.4.2.ebuild: + Version bump (fixes bug #269040). Also removed old version. + + 27 Oct 2008; Markus Dittrich <markusle@gentoo.org> vtk-5.2.0-r1.ebuild: + Attempt to fix sandbox violations (see bug #244378). + +*vtk-5.2.0-r1 (05 Oct 2008) + + 05 Oct 2008; Markus Dittrich <markusle@gentoo.org> + +files/vtk-5.2.0-tcl-install.patch, -vtk-5.2.0.ebuild, + +vtk-5.2.0-r1.ebuild: + Fixed improper install location of support files (see bug #239553). + +*vtk-5.2.0 (01 Oct 2008) + + 01 Oct 2008; Markus Dittrich <markusle@gentoo.org> +vtk-5.2.0.ebuild: + Version bump (fixes bug #238883). Thanks much to Steve Yin + <steve@chinavfx.net> for his ebuild. + + 07 Aug 2008; Ulrich Mueller <ulm@gentoo.org> metadata.xml: + Add USE flag description to metadata wrt GLEP 56. + + 28 Jul 2008; Carsten Lohrke <carlo@gentoo.org> vtk-5.0.3.ebuild: + QA: Get rid of deprecated qt?_min_version(). + + 27 Jul 2008; Carsten Lohrke <carlo@gentoo.org> vtk-5.0.4.ebuild: + Fix broken split Qt 4.4 dependencies, cf. bug 217161 comment 11. + + 08 Jul 2008; Thomas Anderson <gentoofan23@gentoo.org> vtk-5.0.4.ebuild: + Add a qt-gui dependency, it really is needed. + + 03 Jul 2008; Thomas Anderson <gentoofan23@gentoo.org> vtk-5.0.4.ebuild: + Migrate Dependencies to permit Split QT 4.4 to satisfy dependencies, bug + #217189 + + 24 May 2008; Markus Dittrich <markusle@gentoo.org> + +files/vtk-5.0.4-gcc4.3.patch, vtk-5.0.4.ebuild: + Added gcc-4.3 compatibility patch (see bug #223383). Thanks much to + Bert Karwatzki <spasswolf@web.de> for his patch. + + 09 Mar 2008; Markus Dittrich <markusle@gentoo.org> vtk-5.0.4.ebuild: + Backported support for tcl/tk-8.5 from cvs head (fixes bug 212700). + Thanks much to Pacho Ramos <pacho@condmat1.ciencias.uniovi.es> for + his patch. + +*vtk-5.0.4 (06 Mar 2008) + + 06 Mar 2008; Markus Dittrich <markusle@gentoo.org> +vtk-5.0.4.ebuild: + Version bump. + + 29 Feb 2008; Markus Dittrich <markusle@gentoo.org> vtk-5.0.3.ebuild: + Fixed bogus install location (see bug #211819). Thanks much to + Matthias Langer <mlangc@gmx.at> for his patch. + + 21 Feb 2008; Markus Dittrich <markusle@gentoo.org> + -files/vtk-5.0.1-python2.5-gentoo.patch, -files/vtk-5.0.3-lammpi.patch, + +files/vtk-5.0.3-mpi.patch, vtk-5.0.3.ebuild: + Removed support for mpich and added support for mpich2, openmpi, and + lam-mpi. Also fixed some QA issues and added qt4 eclass. + + 19 Aug 2007; Markus Dittrich <markusle@gentoo.org> vtk-5.0.3.ebuild: + Fixed incomplete RDEPEND. + + 01 Aug 2007; Markus Dittrich <markusle@gentoo.org> vtk-5.0.3.ebuild: + Added LGPL-2 to LICENSE since it is needed for gl2ps (see bug 146019). + + 22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>; vtk-5.0.3.ebuild: + Drop virtual/x11 references. + + 11 Jun 2007; Petteri Räty <betelgeuse@gentoo.org> -vtk-5.0.2.ebuild: + Remove old version. + + 11 Jun 2007; Petteri Räty <betelgeuse@gentoo.org> vtk-5.0.3.ebuild: + Add java? ( >=virtual/jre-1.5 ) to RDEPEND. + + 28 May 2007; Markus Dittrich <markusle@gentoo.org> vtk-5.0.3.ebuild: + Added VTKHOME as exported environmental variable. + + 08 May 2007; Markus Dittrich <markusle@gentoo.org> vtk-5.0.3.ebuild: + Re-added compile flag for javac needed on amd64 (see bug #177506). + + 06 May 2007; Markus Dittrich <markusle@gentoo.org> + +files/vtk-5.0.3-lammpi.patch, vtk-5.0.3.ebuild: + Added patch fixing cmake files to properly detect and add lam-mpi + libraries. + + 04 May 2007; Markus Dittrich <markusle@gentoo.org> vtk-5.0.3.ebuild: + Check for qt3support useflag when building the examples under qt4 + (see bug #176847). + + 01 May 2007; Markus Dittrich <markusle@gentoo.org> metadata.xml, + vtk-5.0.3.ebuild: + Removed explicit java CLASSPATH and added the friendly java folks + to metadata (see bug #176547). + +*vtk-5.0.3 (23 Apr 2007) + + 23 Apr 2007; Markus Dittrich <markusle@gentoo.org> + -files/vtk-qt-gentoo.patch, -vtk-5.0.0.ebuild, -vtk-5.0.1.ebuild, + +vtk-5.0.3.ebuild: + Version bump and removed old versions. Thanks much to Sebastien + Fabbro <bicatali@gentoo.org> for his ebuild. + + 16 Apr 2007; Christian Faulhammer <opfer@gentoo.org> vtk-5.0.0.ebuild: + moved from USE tcltk to tk, see bug 17808 + +*vtk-5.0.2 (02 Dec 2006) + + 02 Dec 2006; Markus Dittrich <markusle@gentoo.org> +vtk-5.0.2.ebuild: + Version bump. + + 18 Nov 2006; Markus Dittrich <markusle@gentoo.org> vtk-5.0.1.ebuild: + Added -j1 back to ebuild since some people still experience problems + with parallel builds (see discussion on bug #146767). + + 14 Oct 2006; Joshua Nichols <nichoj@gentoo.org> vtk-5.0.0.ebuild: + Added call to java-pkg_pkg_setup, for bug #142708 + + 23 Sep 2006; Markus Dittrich <markusle@gentoo.org> + +files/vtk-5.0.1-python2.5-gentoo.patch, vtk-5.0.1.ebuild: + Added patch to fix compile problems with python-2.5 + (see bug #148727). + + 08 Sep 2006; Markus Dittrich <markusle@gentoo.org> + +files/vtk-qt-gentoo.patch, -files/vtk-qt3-qt4-gentoo.patch, + vtk-5.0.0.ebuild, vtk-5.0.1.ebuild: + Renamed the qt patch in an effort to get rid of the executable + permissions. Also cleaned up the ebuilds some. + + 08 Sep 2006; Markus Dittrich <markusle@gentoo.org> + files/vtk-qt3-qt4-gentoo.patch, -files/vtk-4.2.6-gcc34.patch, + -vtk-4.2.6.ebuild: + Removed old version since it doesn't build any more. Also fixed + permissions for the vtk-qt patch (see bug #146826). + + 20 Jul 2006; Markus Dittrich <markusle@gentoo.org> vtk-5.0.1.ebuild: + Moved to new java system. Removed -j1 from emake since it works + fine here with -j2. + +*vtk-5.0.1 (09 Jul 2006) + + 09 Jul 2006; Markus Dittrich <markusle@gentoo.org> vtk-4.2.6.ebuild, + vtk-5.0.0.ebuild, +vtk-5.0.1.ebuild: + Version bump. Also, split tcltk USE flag into tcl and tk and moved + to new style virtual/jdk. + + 23 Jun 2006; Markus Dittrich <markusle@gentoo.org> vtk-5.0.0.ebuild: + Added a warning to the ebuild that qt4 is the default in case both + qt3 and qt4 are selected as use flags (see bug #137658). + + 11 Jun 2006; Markus Dittrich <markusle@gentoo.org> vtk-5.0.0.ebuild: + Fix RDEPEND and cmake configuration such that tcl/tk is only + pulled in and used if USE=tcltk. This closes bug #136324. + + 27 Apr 2006; Alec Warner <antarus@gentoo.org> Manifest: + Fixing SHA256 digest, pass four + + 21 Apr 2006; Markus Dittrich <markusle@gentoo.org> vtk-5.0.0.ebuild: + Depend on cmake-2.2.x to be able to properly compile against QT4. + This fixes bug #130471. + + 07 Apr 2006; Markus Dittrich <markusle@gentoo.org> ChangeLog: + Removed from package.mask after testing. + + 27 Mar 2006; Markus Dittrich <markusle@gentoo.org> vtk-5.0.0.ebuild: + Added proper JAVA_AWT_LIBRARY cmake variable for amd64 platform. + Thanks to Sebastiaan <s.breedveld@erasmusmc.nl> for pointing this + out (c.f. bug #123178). + + 26 Mar 2006; Markus Dittrich <markusle@gentoo.org> + +files/vtk-qt3-qt4-gentoo.patch, vtk-5.0.0.ebuild: + Added a small fix for java compilation on amd64 as detailed + in bug #123178. Thanks to Sebastiaan <s.breedveld@erasmusmc.nl> for + the fix. Also enabled compilation of vtk against either QT3 or QT4. + + 06 Mar 2006; Markus Dittrich <markusle@gentoo.org> vtk-5.0.0.ebuild: + Fixed some QT3 issues and forced -j1 during emake. Thanks + much to Sebastiaan <s.breedveld@erasmusmc.nl> for his fixes + and testing. + +*vtk-5.0.0 (05 Mar 2006) + + 05 Mar 2006; Markus Dittrich <markusle@gentoo.org> +vtk-5.0.0.ebuild: + Version bump. Many thanks to Toon Verstraelen + <Toon.Verstraelen@UGent.be> and Sebastiaan + <s.breedveld@erasmusmc.nl> for their ebuilds and patches. + This fixes bug #123178. + + 26 Feb 2006; Markus Dittrich <markusle@gentoo.org> vtk-4.2.6.ebuild: + Added cmake command line flag to prevent insecure RUNPATHS + (c.f. bug #122875). + + 22 Jan 2006; Markus Dittrich <markusle@gentoo.org> vtk-4.2.6.ebuild: + Fix dependencies for modular X and replace instances of lib with + $(get_libdir). + + 17 Jan 2006; Markus Dittrich <markusle@gentoo.org> metadata.xml: + Changed maintainer to Markus Dittrich <markusle@gentoo.org>. + + 19 Dec 2005; Markus Dittrich <markusle@gentoo.org> vtk-4.2.6.ebuild: + Use python eclass functions to determine installed python version. + + 18 Dec 2005; Markus Dittrich <markusle@gentoo.org> vtk-4.2.6.ebuild: + Fixed compilation problems when using cmake-2.2.x and when compiling against + python 2.4.x. Also corrected installation path of vtk jar file. This fixes + bugs #112119, #103343, #113597. + + 08 Oct 2005; Thomas Matthijs <axxo@gentoo.org> vtk-4.2.6.ebuild: + use java-pkg_dojar not dojar + + 24 Aug 2005; Patrick Kursawe <phosphan@gentoo.org> vtk-4.2.6.ebuild: + No longer using cp -a (bug #103487) + + 20 Aug 2005; Olivier Fisette <ribosome@gentoo.org> vtk-4.2.6.ebuild: + Removed unused "data" USE flag (fixes bug #100418). + + 03 Jun 2005; Patrick Dawson <pkdawson@gentoo.org> vtk-4.2.6.ebuild: + Typo fix. + +*vtk-4.2.6 (10 May 2005) + + 10 May 2005; Patrick Dawson <pkdawson@gentoo.org> + +files/vtk-4.2.6-gcc34.patch, +vtk-4.2.6.ebuild: + Initial import. See bug #25335. + diff --git a/sci-libs/vtk/Manifest b/sci-libs/vtk/Manifest new file mode 100644 index 0000000..6d49827 --- /dev/null +++ b/sci-libs/vtk/Manifest @@ -0,0 +1,20 @@ +AUX vtk-5.2.0-tcl-install.patch 580 SHA1 94269da0a6d83312d0fc00c3f7adf964531a7d20 SHA256 7373a02d9408f59546486b50efb8934fc2fa14067928e27bd46b2691b80d2fc6 +AUX vtk-5.4.2-boost-property_map.patch 7739 SHA1 f38f98e9e28a51bb0553b5792cdde39a2c319b3d SHA256 5cbedc7afde2a3515a0bf580927c6a3a0d5b10efa39e649610b0f00a881a4119 +AUX vtk-5.4.2-cg-path.patch 1112 SHA1 903cd304bda40b64825ca0e806cd4d7c738f7165 SHA256 4097db18c46e1e27b6213ef7c82af07144b5a88ac19bdcf645ad7e8264cc9e10 +AUX vtk-5.4.2-libpng14.patch 548 SHA1 0da1e3168daffd3be3154102d8728135a596f707 SHA256 0aa999ba22804a9c3fe13488c0a014d45acf2a958d9a7336d38ae84e96addbda +AUX vtk-5.6.0-R.patch 2463 SHA1 c08a10926064536f06e405b57ece07738896787d SHA256 ffdb077883fd054a1daefa9f1a073877f4f00a5fd4f0fc5bb7021feae5ad2e97 +AUX vtk-5.6.0-boost-property_map.patch 547 SHA1 e97b4273d94c1647c959469f6f1829101fabb108 SHA256 de594eb23b9a7c18c4c6bb67b507dd627e580fcc7e2ba8c151da94bf2949d3f1 +AUX vtk-5.6.0-cg-path.patch 1106 SHA1 fa5afd4b1a943f255e2f20fa35f440518f9d9d95 SHA256 7ad4eb9a82664a2e9c51d8763e594634027051b54ce48bb1c2fca6d1a42635c9 +AUX vtk-5.6.0-libpng14.patch 734 SHA1 e6480b68a14345d7dfa78f6d37ff7301366d99d8 SHA256 81565709c8cfb4df3c28d69df8094d15923d824345330ab5ba101a9780e6e9f9 +AUX vtk-5.6.0-odbc.patch 328 SHA1 02022f5f345ccfe8a13d99201828edb0371d7cc5 SHA256 eca7a508fcd07eb6d40e609e3670d12ce2d2d39dda11b60f418acd279ca03c25 +DIST vtk-5.4.2.tar.gz 18265310 RMD160 607df8babe7413b92a5bd4d8c264fd69798df83f SHA1 508106a15c32326aa9ac737c7f0e7212c150d55f SHA256 037c0582ee7483e0b495e45a00c4f08784691ef82c4ea159ef86731c3beda73d +DIST vtk-5.6.0.tar.gz 20709970 SHA1 355209c485304f1b0feefcda3585d45217ffd230 SHA256 2987938ad906c5fd30ddbf60889f899d1dd8c61d80320c55ac1acadc00a95d3e +DIST vtkDocHtml-5.4.2.tar.gz 229828672 RMD160 d6372984b74ede33713501219fecd6768edcfad3 SHA1 13da1373bb95f34b1f868b307f0e84fef6626020 SHA256 54dfe1c242c488db1d1099bbf9114f49ee2bd07859c067e77e2d6bd3c077ee25 +DIST vtkDocHtml-5.6.0.tar.gz 103149113 RMD160 da6a562345c4c143470ddcc8b926820eec2a41cb SHA1 ce7c3ea6c6b674cef0bdd2c2aa036f576c61a477 SHA256 330ab1de0963bdcd0d0d1dbcd374a579874d867bff4b298d65d46855baf2d0c2 +DIST vtkdata-5.4.2.tar.gz 52810062 RMD160 0cc24fc7a6a9bb80c619a0555eb288cc97554001 SHA1 5030523c0a9e17c47bf94fe9005e5c91069a571a SHA256 84c9895b72aec96977b8043a4be26ff58e14ae04ab2be9f19a02ca613dc3be26 +DIST vtkdata-5.6.0.tar.gz 76716069 RMD160 8499816f6d714408c0f7f584fb4d781f4426e444 SHA1 e0aa26dafd653da1db21fc97ce15aa0599d9c5ad SHA256 e6eed8e5c8d8410d7c7cf007de8c5b56bde77d38fa0522c1ac7751138323c9cf +EBUILD vtk-5.4.2-r1.ebuild 6383 SHA1 c9ef33e8ea9bc19104d120e9d75579ad7c7c6a10 SHA256 fd6856fa49d83822d2f314ce16d97ed8c572f548d6f27bc281c5bbf8aa8d5899 +EBUILD vtk-5.6.0-r2.ebuild 7269 SHA1 8d3acf1c87c2dcfeeea19c5ee02cbd468c9f8d74 SHA256 e8d6023278c74c462448dd0e7ee4f7d6ad400bf086c19b43d207f5d026fb63b3 +MISC ChangeLog 13517 SHA1 fcf551764f09fc605c7cbd39dc1b0c2937abacdf SHA256 b2023961d13e12df7ce52df603424fa3f46ef95bcafc48b40f714fc86fe2f000 +MISC metadata.xml 574 SHA1 8160c080306039e0b3b18ced75ae6b81b8590ddc SHA256 9a3ca872da01db519865e7753e9c0922fe56972f4d6e27cbf5622afd41d23300 +MISC vtk-5.6.0-r2.ebuild~ 7269 SHA1 8d3acf1c87c2dcfeeea19c5ee02cbd468c9f8d74 SHA256 e8d6023278c74c462448dd0e7ee4f7d6ad400bf086c19b43d207f5d026fb63b3 diff --git a/sci-libs/vtk/files/vtk-5.2.0-tcl-install.patch b/sci-libs/vtk/files/vtk-5.2.0-tcl-install.patch new file mode 100644 index 0000000..c7da786 --- /dev/null +++ b/sci-libs/vtk/files/vtk-5.2.0-tcl-install.patch @@ -0,0 +1,12 @@ +diff -Naur VTK/CMakeLists.txt VTK.new/CMakeLists.txt +--- VTK/CMakeLists.txt 2008-05-13 17:50:09.000000000 -0400 ++++ VTK.new/CMakeLists.txt 2008-10-05 10:34:42.000000000 -0400 +@@ -182,7 +182,7 @@ + # Compute the proper location for installing the Tcl package. This + # must be a fixed relative path below the library install location and + # is therefore not settable by parent projects. +-SET(VTK_INSTALL_TCL_DIR ${VTK_INSTALL_LIB_DIR}) ++SET(VTK_INSTALL_TCL_DIR ${VTK_INSTALL_PACKAGE_DIR}) + + IF(NOT VTK_INSTALL_JAVA_DIR) + SET(VTK_INSTALL_JAVA_DIR ${VTK_INSTALL_PACKAGE_DIR}/java) diff --git a/sci-libs/vtk/files/vtk-5.4.2-boost-property_map.patch b/sci-libs/vtk/files/vtk-5.4.2-boost-property_map.patch new file mode 100644 index 0000000..90c6d6a --- /dev/null +++ b/sci-libs/vtk/files/vtk-5.4.2-boost-property_map.patch @@ -0,0 +1,194 @@ +diff --git a/Infovis/Testing/Cxx/TestBoostAdapter.cxx b/Infovis/Testing/Cxx/TestBoostAdapter.cxx +index 6af2855..484a9e0 100644 +--- a/Infovis/Testing/Cxx/TestBoostAdapter.cxx ++++ b/Infovis/Testing/Cxx/TestBoostAdapter.cxx +@@ -36,8 +36,8 @@ + #include <boost/graph/strong_components.hpp> + #include <boost/graph/dijkstra_shortest_paths.hpp> + #include <boost/graph/transitive_closure.hpp> +-#include <boost/property_map.hpp> +-#include <boost/vector_property_map.hpp> ++#include <boost/property_map/property_map.hpp> ++#include <boost/property_map/vector_property_map.hpp> + + #include "vtkGraph.h" + #include "vtkBoostGraphAdapter.h" +diff --git a/Infovis/vtkBoostBiconnectedComponents.cxx b/Infovis/vtkBoostBiconnectedComponents.cxx +index 6799dd0..dd759d5 100644 +--- a/Infovis/vtkBoostBiconnectedComponents.cxx ++++ b/Infovis/vtkBoostBiconnectedComponents.cxx +@@ -32,7 +32,7 @@ + #include "vtkGraph.h" + #include "vtkBoostGraphAdapter.h" + #include <boost/graph/biconnected_components.hpp> +-#include <boost/vector_property_map.hpp> ++#include <boost/property_map/vector_property_map.hpp> + #include <boost/version.hpp> + #include <vtksys/stl/vector> + #include <vtksys/stl/utility> +diff --git a/Infovis/vtkBoostBrandesCentrality.cxx b/Infovis/vtkBoostBrandesCentrality.cxx +index e214a72..443c039 100644 +--- a/Infovis/vtkBoostBrandesCentrality.cxx ++++ b/Infovis/vtkBoostBrandesCentrality.cxx +@@ -36,7 +36,7 @@ + + #include <boost/graph/adjacency_list.hpp> + #include <boost/graph/betweenness_centrality.hpp> +-#include <boost/vector_property_map.hpp> ++#include <boost/property_map/vector_property_map.hpp> + + using namespace boost; + +diff --git a/Infovis/vtkBoostBreadthFirstSearch.cxx b/Infovis/vtkBoostBreadthFirstSearch.cxx +index 7fab585..6e56a7c 100644 +--- a/Infovis/vtkBoostBreadthFirstSearch.cxx ++++ b/Infovis/vtkBoostBreadthFirstSearch.cxx +@@ -46,8 +46,8 @@ + + #include <boost/graph/visitors.hpp> + #include <boost/graph/breadth_first_search.hpp> +-#include <boost/property_map.hpp> +-#include <boost/vector_property_map.hpp> ++#include <boost/property_map/property_map.hpp> ++#include <boost/property_map/vector_property_map.hpp> + #include <boost/pending/queue.hpp> + + #include <vtksys/stl/utility> // for pair +diff --git a/Infovis/vtkBoostBreadthFirstSearchTree.cxx b/Infovis/vtkBoostBreadthFirstSearchTree.cxx +index 5c64516..64ee7b5 100644 +--- a/Infovis/vtkBoostBreadthFirstSearchTree.cxx ++++ b/Infovis/vtkBoostBreadthFirstSearchTree.cxx +@@ -39,7 +39,7 @@ + #include "vtkTree.h" + + #include <boost/graph/breadth_first_search.hpp> +-#include <boost/vector_property_map.hpp> ++#include <boost/property_map/vector_property_map.hpp> + #include <boost/pending/queue.hpp> + + using namespace boost; +diff --git a/Infovis/vtkBoostConnectedComponents.cxx b/Infovis/vtkBoostConnectedComponents.cxx +index 69e9d8f..c88f4ab 100644 +--- a/Infovis/vtkBoostConnectedComponents.cxx ++++ b/Infovis/vtkBoostConnectedComponents.cxx +@@ -33,7 +33,7 @@ + + #include "vtkBoostGraphAdapter.h" + #include <boost/graph/strong_components.hpp> +-#include <boost/vector_property_map.hpp> ++#include <boost/property_map/vector_property_map.hpp> + + using namespace boost; + +diff --git a/Infovis/vtkBoostKruskalMinimumSpanningTree.cxx b/Infovis/vtkBoostKruskalMinimumSpanningTree.cxx +index b0c89de..7ea3aa9 100644 +--- a/Infovis/vtkBoostKruskalMinimumSpanningTree.cxx ++++ b/Infovis/vtkBoostKruskalMinimumSpanningTree.cxx +@@ -40,7 +40,7 @@ PURPOSE. See the above copyright notice for more information. + #include "vtkTree.h" + + #include <boost/graph/kruskal_min_spanning_tree.hpp> +-#include <boost/vector_property_map.hpp> ++#include <boost/property_map/vector_property_map.hpp> + #include <boost/pending/queue.hpp> + + using namespace boost; +diff --git a/Infovis/vtkBoostPrimMinimumSpanningTree.cxx b/Infovis/vtkBoostPrimMinimumSpanningTree.cxx +index 935d0f7..48716fd 100644 +--- a/Infovis/vtkBoostPrimMinimumSpanningTree.cxx ++++ b/Infovis/vtkBoostPrimMinimumSpanningTree.cxx +@@ -39,7 +39,7 @@ PURPOSE. See the above copyright notice for more information. + #include "vtkTree.h" + + #include <boost/graph/prim_minimum_spanning_tree.hpp> +-#include <boost/vector_property_map.hpp> ++#include <boost/property_map/vector_property_map.hpp> + #include <boost/pending/queue.hpp> + + using namespace boost; +diff --git a/Infovis/vtkTreeLayoutStrategy.cxx b/Infovis/vtkTreeLayoutStrategy.cxx +index 6efa586..222afe9 100644 +--- a/Infovis/vtkTreeLayoutStrategy.cxx ++++ b/Infovis/vtkTreeLayoutStrategy.cxx +@@ -375,8 +375,8 @@ void vtkTreeLayoutStrategy::PrintSelf(ostream& os, vtkIndent indent) + #include "vtkTreeToBoostAdapter.h" + #include <boost/graph/visitors.hpp> + #include <boost/graph/depth_first_search.hpp> +-#include <boost/property_map.hpp> +-#include <boost/vector_property_map.hpp> ++#include <boost/property_map/property_map.hpp> ++#include <boost/property_map/vector_property_map.hpp> + #include <boost/pending/queue.hpp> + + using namespace boost; +diff --git a/Parallel/vtkPBGLBreadthFirstSearch.cxx b/Parallel/vtkPBGLBreadthFirstSearch.cxx +index 2b4681b..eebeaa9 100644 +--- a/Parallel/vtkPBGLBreadthFirstSearch.cxx ++++ b/Parallel/vtkPBGLBreadthFirstSearch.cxx +@@ -50,8 +50,8 @@ + #include <boost/graph/distributed/breadth_first_search.hpp> + #include <boost/parallel/algorithm.hpp> + #include <boost/graph/visitors.hpp> +-#include <boost/property_map.hpp> +-#include <boost/vector_property_map.hpp> ++#include <boost/property_map/property_map.hpp> ++#include <boost/property_map/vector_property_map.hpp> + #include <boost/pending/queue.hpp> + + #include <vtksys/stl/utility> // for pair +diff --git a/Parallel/vtkPBGLGraphAdapter.h b/Parallel/vtkPBGLGraphAdapter.h +index 7b467b0..bacfd3a 100644 +--- a/Parallel/vtkPBGLGraphAdapter.h ++++ b/Parallel/vtkPBGLGraphAdapter.h +@@ -31,7 +31,7 @@ + #include <boost/graph/distributed/mpi_process_group.hpp> + #include <boost/graph/properties.hpp> + #include <boost/graph/parallel/container_traits.hpp> +-#include <boost/parallel/local_property_map.hpp> ++#include <boost/property_map/parallel/local_property_map.hpp> + #include <boost/serialization/base_object.hpp> + #include <boost/functional/hash.hpp> + //ETX +diff --git a/Parallel/vtkPBGLMinimumSpanningTree.cxx b/Parallel/vtkPBGLMinimumSpanningTree.cxx +index da4647e..f9c3229 100644 +--- a/Parallel/vtkPBGLMinimumSpanningTree.cxx ++++ b/Parallel/vtkPBGLMinimumSpanningTree.cxx +@@ -48,8 +48,8 @@ + #include <boost/graph/distributed/dehne_gotz_min_spanning_tree.hpp> + #include <boost/graph/distributed/vertex_list_adaptor.hpp> + #include <boost/parallel/global_index_map.hpp> +-#include <boost/property_map.hpp> +-#include <boost/vector_property_map.hpp> ++#include <boost/property_map/property_map.hpp> ++#include <boost/property_map/vector_property_map.hpp> + #include <boost/pending/queue.hpp> + + #include <vtksys/stl/utility> // for pair +diff --git a/Parallel/vtkPBGLShortestPaths.cxx b/Parallel/vtkPBGLShortestPaths.cxx +index 074143f..8517304 100644 +--- a/Parallel/vtkPBGLShortestPaths.cxx ++++ b/Parallel/vtkPBGLShortestPaths.cxx +@@ -49,8 +49,8 @@ + + #include <boost/graph/distributed/delta_stepping_shortest_paths.hpp> + #include <boost/parallel/algorithm.hpp> +-#include <boost/property_map.hpp> +-#include <boost/vector_property_map.hpp> ++#include <boost/property_map/property_map.hpp> ++#include <boost/property_map/vector_property_map.hpp> + + #include <vtksys/stl/utility> // for pair + +diff --git a/Parallel/vtkPBGLVertexColoring.cxx b/Parallel/vtkPBGLVertexColoring.cxx +index 9aa87a0..301a245 100644 +--- a/Parallel/vtkPBGLVertexColoring.cxx ++++ b/Parallel/vtkPBGLVertexColoring.cxx +@@ -47,7 +47,7 @@ + + #include <boost/graph/distributed/boman_et_al_graph_coloring.hpp> + #include <boost/parallel/algorithm.hpp> +-#include <boost/property_map.hpp> ++#include <boost/property_map/property_map.hpp> + + #include <vtksys/stl/utility> // for pair + diff --git a/sci-libs/vtk/files/vtk-5.4.2-cg-path.patch b/sci-libs/vtk/files/vtk-5.4.2-cg-path.patch new file mode 100644 index 0000000..53d43ee --- /dev/null +++ b/sci-libs/vtk/files/vtk-5.4.2-cg-path.patch @@ -0,0 +1,35 @@ +diff -Naur VTK/CMake/FindCg.cmake VTK.new/CMake/FindCg.cmake +--- VTK/CMake/FindCg.cmake 2005-10-04 11:25:51.000000000 -0400 ++++ VTK.new/CMake/FindCg.cmake 2009-07-17 14:10:30.000000000 -0400 +@@ -82,6 +82,7 @@ + FIND_PROGRAM( CG_COMPILER cgc + /usr/bin + /usr/local/bin ++ /opt/nvidia-cg-toolkit/bin + DOC "The Cg Compiler" + ) + GET_FILENAME_COMPONENT(CG_COMPILER_DIR "${CG_COMPILER}" PATH) +@@ -89,6 +90,7 @@ + FIND_PATH( CG_INCLUDE_PATH Cg/cg.h + /usr/include + /usr/local/include ++ /opt/nvidia-cg-toolkit/include + ${CG_COMPILER_SUPER_DIR}/include + DOC "The directory where Cg/cg.h resides" + ) +@@ -98,6 +100,7 @@ + /usr/lib + /usr/local/lib64 + /usr/local/lib ++ /opt/nvidia-cg-toolkit/lib + ${CG_COMPILER_SUPER_DIR}/lib64 + ${CG_COMPILER_SUPER_DIR}/lib + DOC "The Cg runtime library" +@@ -108,6 +111,7 @@ + /usr/lib + /usr/local/lib64 + /usr/local/lib ++ /opt/nvidia-cg-toolkit/lib + ${CG_COMPILER_SUPER_DIR}/lib64 + ${CG_COMPILER_SUPER_DIR}/lib + DOC "The Cg runtime library" diff --git a/sci-libs/vtk/files/vtk-5.4.2-libpng14.patch b/sci-libs/vtk/files/vtk-5.4.2-libpng14.patch new file mode 100644 index 0000000..1f12ae9 --- /dev/null +++ b/sci-libs/vtk/files/vtk-5.4.2-libpng14.patch @@ -0,0 +1,20 @@ +--- IO/vtkPNGReader.cxx ++++ IO/vtkPNGReader.cxx +@@ -116,7 +116,7 @@ + // minimum of a byte per pixel + if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) + { +- png_set_gray_1_2_4_to_8(png_ptr); ++ png_set_expand_gray_1_2_4_to_8(png_ptr); + } + + // add alpha if any alpha found +@@ -225,7 +225,7 @@ + // minimum of a byte per pixel + if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) + { +- png_set_gray_1_2_4_to_8(png_ptr); ++ png_set_expand_gray_1_2_4_to_8(png_ptr); + } + + // add alpha if any alpha found diff --git a/sci-libs/vtk/files/vtk-5.6.0-R.patch b/sci-libs/vtk/files/vtk-5.6.0-R.patch new file mode 100644 index 0000000..1327121 --- /dev/null +++ b/sci-libs/vtk/files/vtk-5.6.0-R.patch @@ -0,0 +1,57 @@ +diff --git a/CMake/FindR.cmake b/CMake/FindR.cmake +index ee49570..c830db0 100644 +--- a/CMake/FindR.cmake ++++ b/CMake/FindR.cmake +@@ -18,13 +18,12 @@ IF (R_COMMAND) + ENDIF (R_COMMAND) + SET(CMAKE_FIND_APPBUNDLE ${TEMP_CMAKE_FIND_APPBUNDLE}) + +-FIND_PATH(R_INCLUDE_DIR R.h PATHS /usr/local/lib /usr/local/lib64 PATH_SUFFIXES R/include DOC "Path to file R.h") ++FIND_PATH(R_INCLUDE_DIR R.h PATHS /usr/lib /usr/lib64 PATH_SUFFIXES R/include DOC "Path to file R.h") + FIND_LIBRARY(R_LIBRARY_BASE R PATHS ${R_BASE_DIR} PATH_SUFFIXES /lib DOC "R library (example libR.a, libR.dylib, etc.).") +-FIND_LIBRARY(R_LIBRARY_BLAS Rblas PATHS ${R_BASE_DIR} PATH_SUFFIXES /lib DOC "Rblas library (example libRblas.a, libRblas.dylib, etc.).") +-FIND_LIBRARY(R_LIBRARY_LAPACK Rlapack PATHS ${R_BASE_DIR} PATH_SUFFIXES /lib DOC "Rlapack library (example libRlapack.a, libRlapack.dylib, etc.).") ++FIND_LIBRARY(R_LIBRARY_MATH Rmath PATHS ${R_BASE_DIR} PATH_SUFFIXES /lib DOC "Rmath library (example libRmath.a, libRmath.dylib, etc.).") + FIND_LIBRARY(R_LIBRARY_READLINE readline DOC "(Optional) system readline library. Only required if the R libraries were build with readline support.") + +-SET(R_LIBRARIES ${R_LIBRARY_BASE} ${R_LIBRARY_BLAS} ${R_LIBRARY_LAPACK} ${R_LIBRARY_BASE}) ++SET(R_LIBRARIES ${R_LIBRARY_BASE} ${R_LIBRARY_MATH} ${R_LIBRARY_BASE}) + IF (R_LIBRARY_READLINE) + SET(R_LIBRARIES ${R_LIBRARIES} ${R_LIBRARY_READLINE}) + ENDIF (R_LIBRARY_READLINE) +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 9d4e881..1a828a4 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1054,8 +1054,18 @@ IF(VTK_WRAP_JAVA) + ENDIF(JAVA_AWT_LIBRARY) + ENDIF(VTK_WRAP_JAVA) + ++IF(VTK_USE_GNU_R) ++ FIND_PACKAGE(R) ++ENDIF(VTK_USE_GNU_R) + +- ++IF(VTK_USE_BOOST) ++ if (VTK_USE_PARALLEL_BGL) ++ FIND_PACKAGE(Boost 1.39.0 REQUIRED ++ COMPONENTS mpi serialization filesystem system graph_parallel) ++ else (VTK_USE_PARALLEL_BGL) ++ FIND_PACKAGE(Boost REQUIRED) ++ endif (VTK_USE_PARALLEL_BGL) ++ENDIF(VTK_USE_BOOST) + #----------------------------------------------------------------------------- + # The entire VTK tree should use the same include path. + +diff --git a/Graphics/vtkRInterface.cxx b/Graphics/vtkRInterface.cxx +index 324e845..56a4869 100644 +--- a/Graphics/vtkRInterface.cxx ++++ b/Graphics/vtkRInterface.cxx +@@ -23,6 +23,7 @@ + #undef HAVE_UINTPTR_T + #ifdef HAVE_VTK_UINTPTR_T + #define HAVE_UINTPTR_T HAVE_VTK_UINTPTR_T ++#include <stdint.h> + #endif + + #include "vtkInformation.h" diff --git a/sci-libs/vtk/files/vtk-5.6.0-boost-property_map.patch b/sci-libs/vtk/files/vtk-5.6.0-boost-property_map.patch new file mode 100644 index 0000000..9319378 --- /dev/null +++ b/sci-libs/vtk/files/vtk-5.6.0-boost-property_map.patch @@ -0,0 +1,13 @@ +diff --git a/Infovis/vtkTreeLayoutStrategy.cxx b/Infovis/vtkTreeLayoutStrategy.cxx +index 4a764ea..74d0b53 100644 +--- a/Infovis/vtkTreeLayoutStrategy.cxx ++++ b/Infovis/vtkTreeLayoutStrategy.cxx +@@ -388,7 +388,7 @@ void vtkTreeLayoutStrategy::PrintSelf(ostream& os, vtkIndent indent) + #include "vtkTreeToBoostAdapter.h" + #include <boost/graph/visitors.hpp> + #include <boost/graph/depth_first_search.hpp> +-#include <boost/property_map.hpp> ++#include <boost/property_map/property_map.hpp> + #include <boost/pending/queue.hpp> + + using namespace boost; diff --git a/sci-libs/vtk/files/vtk-5.6.0-cg-path.patch b/sci-libs/vtk/files/vtk-5.6.0-cg-path.patch new file mode 100644 index 0000000..984bf50 --- /dev/null +++ b/sci-libs/vtk/files/vtk-5.6.0-cg-path.patch @@ -0,0 +1,36 @@ +diff --git a/CMake/FindCg.cmake b/CMake/FindCg.cmake +index ceb41de..5eb6003 100644 +--- a/CMake/FindCg.cmake ++++ b/CMake/FindCg.cmake +@@ -82,6 +82,7 @@ ELSE (APPLE) + FIND_PROGRAM( CG_COMPILER cgc + /usr/bin + /usr/local/bin ++ /opt/nvidia-cg-toolkit/bin + DOC "The Cg Compiler" + ) + GET_FILENAME_COMPONENT(CG_COMPILER_DIR "${CG_COMPILER}" PATH) +@@ -89,6 +90,7 @@ ELSE (APPLE) + FIND_PATH( CG_INCLUDE_PATH Cg/cg.h + /usr/include + /usr/local/include ++ /opt/nvidia-cg-toolkit/include + ${CG_COMPILER_SUPER_DIR}/include + DOC "The directory where Cg/cg.h resides" + ) +@@ -98,6 +100,7 @@ ELSE (APPLE) + /usr/lib + /usr/local/lib64 + /usr/local/lib ++ /opt/nvidia-cg-toolkit/lib + ${CG_COMPILER_SUPER_DIR}/lib64 + ${CG_COMPILER_SUPER_DIR}/lib + DOC "The Cg runtime library" +@@ -108,6 +111,7 @@ ELSE (APPLE) + /usr/lib + /usr/local/lib64 + /usr/local/lib ++ /opt/nvidia-cg-toolkit/lib + ${CG_COMPILER_SUPER_DIR}/lib64 + ${CG_COMPILER_SUPER_DIR}/lib + DOC "The Cg runtime library" diff --git a/sci-libs/vtk/files/vtk-5.6.0-libpng14.patch b/sci-libs/vtk/files/vtk-5.6.0-libpng14.patch new file mode 100644 index 0000000..db1f87d --- /dev/null +++ b/sci-libs/vtk/files/vtk-5.6.0-libpng14.patch @@ -0,0 +1,22 @@ +diff --git a/IO/vtkPNGReader.cxx b/IO/vtkPNGReader.cxx +index d1f5c2f..0bf00e4 100644 +--- a/IO/vtkPNGReader.cxx ++++ b/IO/vtkPNGReader.cxx +@@ -116,7 +116,7 @@ void vtkPNGReader::ExecuteInformation() + // minimum of a byte per pixel + if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) + { +- png_set_gray_1_2_4_to_8(png_ptr); ++ png_set_expand_gray_1_2_4_to_8(png_ptr); + } + + // add alpha if any alpha found +@@ -225,7 +225,7 @@ void vtkPNGReaderUpdate2(vtkPNGReader *self, OT *outPtr, + // minimum of a byte per pixel + if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) + { +- png_set_gray_1_2_4_to_8(png_ptr); ++ png_set_expand_gray_1_2_4_to_8(png_ptr); + } + + // add alpha if any alpha found diff --git a/sci-libs/vtk/files/vtk-5.6.0-odbc.patch b/sci-libs/vtk/files/vtk-5.6.0-odbc.patch new file mode 100644 index 0000000..be24af1 --- /dev/null +++ b/sci-libs/vtk/files/vtk-5.6.0-odbc.patch @@ -0,0 +1,12 @@ +diff -Naur CMake/FindODBC.cmake.orig CMake/FindODBC.cmake +--- CMake/FindODBC.cmake.orig 2008-10-08 13:51:36.000000000 -0400 ++++ CMake/FindODBC.cmake 2010-01-21 22:11:26.000000000 -0500 +@@ -30,7 +30,7 @@ + ) + + FIND_LIBRARY( ODBC_LIBRARY +- NAMES iodbc unixodbc ++ NAMES iodbc unixodbc odbc + PATHS + /usr/lib + /usr/lib/odbc diff --git a/sci-libs/vtk/metadata.xml b/sci-libs/vtk/metadata.xml new file mode 100644 index 0000000..4671a1c --- /dev/null +++ b/sci-libs/vtk/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<herd>java</herd> +<maintainer> + <email>markusle@gentoo.org</email> + <name>Markus Dittrich</name> +</maintainer> +<maintainer> + <email>jlec@gentoo.org</email> + <name>Justin Lecher</name> +</maintainer> +<use> + <flag name='boost'>Add support for boost</flag> + <flag name='cg'>Use nvidia's cg shaders</flag> + <flag name='patented'>Build patented classes</flag> + <flag name='R'>Enable support for dev-lang/R</flag> +</use> +</pkgmetadata> diff --git a/sci-libs/vtk/vtk-5.4.2-r1.ebuild b/sci-libs/vtk/vtk-5.4.2-r1.ebuild new file mode 100644 index 0000000..5d9e630 --- /dev/null +++ b/sci-libs/vtk/vtk-5.4.2-r1.ebuild @@ -0,0 +1,231 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/vtk/vtk-5.4.2-r1.ebuild,v 1.14 2010/11/09 07:57:14 xarthisius Exp $ + +EAPI="3" +PYTHON_DEPEND="python? 2" + +inherit cmake-utils eutils flag-o-matic java-pkg-opt-2 python qt4 versionator toolchain-funcs + +# Short package version +SPV="$(get_version_component_range 1-2)" + +DESCRIPTION="The Visualization Toolkit" +HOMEPAGE="http://www.vtk.org" +SRC_URI="http://www.${PN}.org/files/release/${SPV}/${P}.tar.gz + examples? ( http://www.${PN}.org/files/release/${SPV}/${PN}data-${PV}.tar.gz ) + doc? ( http://www.${PN}.org/doc/release/${SPV}/${PN}DocHtml-${PV}.tar.gz )" + +LICENSE="BSD LGPL-2" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="boost cg doc examples mpi patented python qt4 tcl tk threads" +RDEPEND="mpi? ( || ( + sys-cluster/openmpi + sys-cluster/mpich2[cxx] ) ) + cg? ( media-gfx/nvidia-cg-toolkit ) + tcl? ( >=dev-lang/tcl-8.2.3 ) + tk? ( >=dev-lang/tk-8.2.3 ) + java? ( >=virtual/jre-1.5 ) + qt4? ( x11-libs/qt-core:4 + x11-libs/qt-opengl:4 + x11-libs/qt-gui:4 + x11-libs/qt-sql ) + examples? ( x11-libs/qt-core:4[qt3support] + x11-libs/qt-gui:4[qt3support] ) + dev-libs/expat + dev-libs/libxml2 + media-libs/freetype + virtual/jpeg + media-libs/libpng + media-libs/tiff + virtual/opengl + x11-libs/libXmu" + +DEPEND="${RDEPEND} + java? ( >=virtual/jdk-1.5 ) + boost? ( >=dev-libs/boost-1.40.0 ) + >=dev-util/cmake-2.6" + +S="${WORKDIR}"/VTK + +pkg_setup() { + echo + einfo "Please note that the VTK build occasionally fails when" + einfo "using parallel make. Hence, if you experience a build" + einfo "failure please try re-emerging with MAKEOPTS=\"-j1\" first." + echo + + java-pkg-opt-2_pkg_setup + + use python && python_set_active_version 2 + use qt4 && qt4_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-cg-path.patch + epatch "${FILESDIR}"/${PN}-5.2.0-tcl-install.patch + epatch "${FILESDIR}"/${P}-boost-property_map.patch + epatch "${FILESDIR}"/${P}-libpng14.patch + sed -e "s:@VTK_TCL_LIBRARY_DIR@:/usr/$(get_libdir):" \ + -i Wrapping/Tcl/pkgIndex.tcl.in \ + || die "Failed to fix tcl pkgIndex file" +} + +src_configure() { + # general configuration + local mycmakeargs=( + -Wno-dev + -DVTK_INSTALL_PACKAGE_DIR=/$(get_libdir)/${PN}-${SPV} + -DCMAKE_SKIP_RPATH=YES + -DVTK_DIR="${S}" + -DVTK_INSTALL_LIB_DIR=/$(get_libdir)/ + -DVTK_DATA_ROOT:PATH=/usr/share/${PN}/data + -DCMAKE_INSTALL_PREFIX=/usr + -DBUILD_SHARED_LIBS=ON + -DVTK_USE_SYSTEM_FREETYPE=ON + -DVTK_USE_SYSTEM_JPEG=ON + -DVTK_USE_SYSTEM_PNG=ON + -DVTK_USE_SYSTEM_TIFF=ON + -DVTK_USE_SYSTEM_ZLIB=ON + -DVTK_USE_SYSTEM_EXPAT=ON + -DVTK_USE_SYSTEM_LIBXML2=ON + -DBUILD_TESTING=OFF + -DBUILD_EXAMPLES=OFF + -DVTK_USE_HYBRID=ON + -DVTK_USE_GL2PS=ON + -DVTK_USE_RENDERING=ON) + + # use flag triggered options + mycmakeargs+=( + $(cmake-utils_use boost VTK_USE_BOOST) + $(cmake-utils_use cg VTK_USE_CG_SHADERS) + $(cmake-utils_use tcl VTK_WRAP_TCL) + $(cmake-utils_use tk VTK_USE_TK) + $(cmake-utils_use threads VTK_USE_PARALLEL) + $(cmake-utils_use patented VTK_USE_PATENTED) + $(cmake-utils_use doc DOCUMENTATION_HTML_HELP) + $(cmake-utils_use_build doc DOCUMENTATION) + $(cmake-utils_use mpi VTK_USE_MPI)) + + # mpi needs the parallel framework + if use mpi && use !threads; then + mycmakeargs+=(-DVTK_USE_PARALLEL=ON) + fi + + if use java; then + mycmakeargs+=( + -DVTK_WRAP_JAVA=ON + -DJAVA_AWT_INCLUDE_PATH=`java-config -O`/include + -DJAVA_INCLUDE_PATH:PATH=`java-config -O`/include + -DJAVA_INCLUDE_PATH2:PATH=`java-config -O`/include/linux) + + if [ "${ARCH}" == "amd64" ]; then + mycmakeargs+=(-DJAVA_AWT_LIBRARY=`java-config -O`/jre/lib/${ARCH}/libjawt.so) + else + mycmakeargs+=(-DJAVA_AWT_LIBRARY:PATH=`java-config -O`/jre/lib/i386/libjawt.so) + fi + fi + + if use python; then + mycmakeargs+=( + -DVTK_WRAP_PYTHON=ON + -DPYTHON_INCLUDE_PATH=$(python_get_includedir) + -DPYTHON_LIBRARY=$(python_get_library) + -DVTK_PYTHON_SETUP_ARGS:STRING=--root="${D}") + fi + + if use qt4 ; then + mycmakeargs+=( + -DVTK_USE_GUISUPPORT=ON + -DVTK_USE_QVTK=ON + -DVTK_USE_QVTK_QTOPENGL=ON + -DQT_WRAP_CPP=ON + -DQT_WRAP_UI=ON) + fi + + if use qt4; then + mycmakeargs+=( + -DVTK_INSTALL_QT_DIR=/$(get_libdir)/qt4/plugins/${PN} + -DDESIRED_QT_VERSION=4 + -DQT_MOC_EXECUTABLE=/usr/bin/moc + -DQT_UIC_EXECUTABLE=/usr/bin/uic + -DQT_INCLUDE_DIR=/usr/include/qt4 + -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake) + fi + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + # install docs + dohtml "${S}"/README.html || die "Failed to install docs" + + # install Tcl docs + docinto vtk_tcl + dodoc "${S}"/Wrapping/Tcl/README || \ + die "Failed to install Tcl docs" + + # install examples + if use examples; then + dodir /usr/share/${PN} || \ + die "Failed to create data/examples directory" + + cp -pPR "${S}"/Examples "${D}"/usr/share/${PN}/examples || \ + die "Failed to copy example files" + + # fix example's permissions + find "${D}"/usr/share/${PN}/examples -type d -exec \ + chmod 0755 {} \; || \ + die "Failed to fix example directories permissions" + find "${D}"/usr/share/${PN}/examples -type f -exec \ + chmod 0644 {} \; || \ + die "Failed to fix example files permissions" + + cp -pPR "${WORKDIR}"/VTKData "${D}"/usr/share/${PN}/data || \ + die "Failed to copy data files" + + # fix data's permissions + find "${D}"/usr/share/${PN}/data -type d -exec \ + chmod 0755 {} \; || \ + die "Failed to fix data directories permissions" + find "${D}"/usr/share/${PN}/data -type f -exec \ + chmod 0644 {} \; || \ + die "Failed to fix data files permissions" + fi + + #install big docs + if use doc; then + cd "${WORKDIR}"/html + rm -f *.md5 || die "Failed to remove superfluous hashes" + einfo "Installing API docs. This may take some time." + insinto "/usr/share/doc/${PF}/api-docs" + doins -r ./* || die "Failed to install docs" + fi + + # environment + echo "VTK_DATA_ROOT=/usr/share/${PN}/data" >> "${T}"/40${PN} + echo "VTK_DIR=/usr/$(get_libdir)/${PN}-${SPV}" >> "${T}"/40${PN} + echo "VTKHOME=/usr" >> "${T}"/40${PN} + doenvd "${T}"/40${PN} +} + +pkg_postinst() { + if use patented; then + ewarn "Using patented code in VTK may require a license." + ewarn "For more information, please read:" + ewarn "http://public.kitware.com/cgi-bin/vtkfaq?req=show&file=faq07.005.htp" + fi + + if use python; then + python_mod_optimize vtk + fi +} + +pkg_postrm() { + if use python; then + python_mod_cleanup vtk + fi +} diff --git a/sci-libs/vtk/vtk-5.6.0-r2.ebuild b/sci-libs/vtk/vtk-5.6.0-r2.ebuild new file mode 100644 index 0000000..8a0fa0b --- /dev/null +++ b/sci-libs/vtk/vtk-5.6.0-r2.ebuild @@ -0,0 +1,254 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/vtk/vtk-5.6.0-r2.ebuild,v 1.6 2010/11/08 17:48:45 xarthisius Exp $ + +EAPI="3" +PYTHON_DEPEND="python? 2" + +inherit eutils flag-o-matic java-pkg-opt-2 python qt4 versionator toolchain-funcs cmake-utils + +# Short package version +SPV="$(get_version_component_range 1-2)" + +DESCRIPTION="The Visualization Toolkit" +HOMEPAGE="http://www.vtk.org" +SRC_URI="http://www.${PN}.org/files/release/${SPV}/${P}.tar.gz + examples? ( http://www.${PN}.org/files/release/${SPV}/${PN}data-${PV}.tar.gz ) + doc? ( http://www.${PN}.org/doc/release/${SPV}/${PN}DocHtml-${PV}.tar.gz )" + +LICENSE="BSD LGPL-2" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +SLOT="0" +IUSE="boost cg doc examples ffmpeg java mpi mysql odbc patented postgres python qt4 tcl theora tk threads R" +RDEPEND=" + cg? ( media-gfx/nvidia-cg-toolkit ) + examples? ( + x11-libs/qt-core:4[qt3support] + x11-libs/qt-gui:4[qt3support] ) + ffmpeg? ( media-video/ffmpeg ) + java? ( >=virtual/jre-1.5 ) + mpi? ( virtual/mpi[cxx,romio] ) + mysql? ( virtual/mysql ) + odbc? ( dev-db/unixODBC ) + postgres? ( dev-db/postgresql-base ) + qt4? ( + x11-libs/qt-core:4 + x11-libs/qt-gui:4 + x11-libs/qt-opengl:4 + x11-libs/qt-sql:4 + x11-libs/qt-webkit:4 ) + tcl? ( >=dev-lang/tcl-8.2.3 ) + theora? ( media-libs/libtheora ) + tk? ( >=dev-lang/tk-8.2.3 ) + R? ( dev-lang/R ) + dev-libs/expat + dev-libs/libxml2 + media-libs/freetype + virtual/jpeg + media-libs/libpng + media-libs/mesa + media-libs/tiff + sys-libs/zlib + virtual/opengl + x11-libs/libX11 + x11-libs/libXmu + x11-libs/libXt" + +DEPEND="${RDEPEND} + java? ( >=virtual/jdk-1.5 ) + boost? ( >=dev-libs/boost-1.40.0[mpi?] ) + mpi? ( >=dev-util/cmake-2.8.1-r2 ) + >=dev-util/cmake-2.6" + +S="${WORKDIR}"/VTK + +pkg_setup() { + echo + einfo "Please note that the VTK build occasionally fails when" + einfo "using parallel make. Hence, if you experience a build" + einfo "failure please try re-emerging with MAKEOPTS=\"-j1\" first." + echo + + java-pkg-opt-2_pkg_setup + + use python && python_set_active_version 2 + use qt4 && qt4_pkg_setup + append-cppflags -D__STDC_CONSTANT_MACROS +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-cg-path.patch + epatch "${FILESDIR}"/${PN}-5.2.0-tcl-install.patch + epatch "${FILESDIR}"/${P}-boost-property_map.patch + epatch "${FILESDIR}"/${P}-libpng14.patch + epatch "${FILESDIR}"/${P}-R.patch + epatch "${FILESDIR}"/${P}-odbc.patch + sed -e "s:@VTK_TCL_LIBRARY_DIR@:/usr/$(get_libdir):" \ + -i Wrapping/Tcl/pkgIndex.tcl.in \ + || die "Failed to fix tcl pkgIndex file" +} + +src_configure() { + # general configuration + local mycmakeargs=( + -Wno-dev + -DVTK_INSTALL_PACKAGE_DIR=/$(get_libdir)/${PN}-${SPV} + -DCMAKE_SKIP_RPATH=YES + -DVTK_DIR="${S}" + -DVTK_INSTALL_LIB_DIR=/$(get_libdir)/ + -DVTK_DATA_ROOT:PATH="${EPREFIX}"/usr/share/${PN}/data + -DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr + -DBUILD_SHARED_LIBS=ON + -DVTK_USE_SYSTEM_EXPAT=ON + -DVTK_USE_SYSTEM_FREETYPE=ON + -DVTK_USE_SYSTEM_JPEG=ON + -DVTK_USE_SYSTEM_LIBXML2=ON + -DVTK_USE_SYSTEM_PNG=ON + -DVTK_USE_SYSTEM_TIFF=ON + -DVTK_USE_SYSTEM_ZLIB=ON + -DBUILD_TESTING=OFF + -DBUILD_EXAMPLES=OFF + -DVTK_USE_HYBRID=ON + -DVTK_USE_GL2PS=ON + -DVTK_USE_RENDERING=ON) + + # use flag triggered options + mycmakeargs+=( + $(cmake-utils_use boost VTK_USE_BOOST) + $(cmake-utils_use cg VTK_USE_CG_SHADERS) + $(cmake-utils_use doc DOCUMENTATION_HTML_HELP) + $(cmake-utils_use_build doc DOCUMENTATION) + $(cmake-utils_use java VTK_USE_JAVA) + $(cmake-utils_use mpi VTK_USE_MPI) + $(cmake-utils_use patented VTK_USE_PATENTED) + $(cmake-utils_use qt4 VTK_USE_QT) + $(cmake-utils_use tcl VTK_WRAP_TCL) + $(cmake-utils_use theora VTK_USE_OGGTHEORA_ENCODER) + $(cmake-utils_use ffmpeg VTK_USE_FFMPEG_ENCODER) + $(cmake-utils_use tk VTK_USE_TK) + $(cmake-utils_use threads VTK_USE_PARALLEL) + $(cmake-utils_use R VTK_USE_GNU_R) + $(cmake-utils_use mysql VTK_USE_MYSQL) + $(cmake-utils_use postgres VTK_USE_POSTGRES) + $(cmake-utils_use odbc VTK_USE_ODBC) ) + + use theora && + mycmakeargs+=(-DVTK_USE_SYSTEM_OGGTHEORA=ON) + + # mpi needs the parallel framework + if use mpi && use !threads; then + mycmakeargs+=(-DVTK_USE_PARALLEL=ON) + fi + + if use java; then + mycmakeargs+=( + -DVTK_WRAP_JAVA=ON + -DJAVA_AWT_INCLUDE_PATH=`java-config -O`/include + -DJAVA_INCLUDE_PATH:PATH=`java-config -O`/include + -DJAVA_INCLUDE_PATH2:PATH=`java-config -O`/include/linux) + + if [ "${ARCH}" == "amd64" ]; then + mycmakeargs+=(-DJAVA_AWT_LIBRARY=`java-config -O`/jre/lib/${ARCH}/libjawt.so) + else + mycmakeargs+=(-DJAVA_AWT_LIBRARY:PATH=`java-config -O`/jre/lib/i386/libjawt.so) + fi + fi + + if use python; then + mycmakeargs+=( + -DVTK_WRAP_PYTHON=ON + -DPYTHON_INCLUDE_PATH=$(python_get_includedir) + -DPYTHON_LIBRARY=$(python_get_library) + -DVTK_PYTHON_SETUP_ARGS:STRING=--root="${D}") + fi + + if use qt4 ; then + mycmakeargs+=( + -DVTK_USE_GUISUPPORT=ON + -DVTK_USE_QVTK=ON + -DVTK_USE_QVTK_QTOPENGL=ON + -DQT_WRAP_CPP=ON + -DQT_WRAP_UI=ON + -DVTK_INSTALL_QT_DIR=/$(get_libdir)/qt4/plugins/${PN} + -DDESIRED_QT_VERSION=4 + -DQT_MOC_EXECUTABLE="${EPREFIX}"/usr/bin/moc + -DQT_UIC_EXECUTABLE="${EPREFIX}"/usr/bin/uic + -DQT_INCLUDE_DIR="${EPREFIX}"/usr/include/qt4 + -DQT_QMAKE_EXECUTABLE="${EPREFIX}"/usr/bin/qmake) + fi + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + # install docs + dohtml "${S}"/README.html || die "Failed to install docs" + + # install Tcl docs + docinto vtk_tcl + dodoc "${S}"/Wrapping/Tcl/README || \ + die "Failed to install Tcl docs" + + # install examples + if use examples; then + dodir /usr/share/${PN} || \ + die "Failed to create data/examples directory" + + cp -pPR "${S}"/Examples "${D}"/usr/share/${PN}/examples || \ + die "Failed to copy example files" + + # fix example's permissions + find "${D}"/usr/share/${PN}/examples -type d -exec \ + chmod 0755 {} \; || \ + die "Failed to fix example directories permissions" + find "${D}"/usr/share/${PN}/examples -type f -exec \ + chmod 0644 {} \; || \ + die "Failed to fix example files permissions" + + cp -pPR "${WORKDIR}"/VTKData "${D}"/usr/share/${PN}/data || \ + die "Failed to copy data files" + + # fix data's permissions + find "${D}"/usr/share/${PN}/data -type d -exec \ + chmod 0755 {} \; || \ + die "Failed to fix data directories permissions" + find "${D}"/usr/share/${PN}/data -type f -exec \ + chmod 0644 {} \; || \ + die "Failed to fix data files permissions" + fi + + #install big docs + if use doc; then + cd "${WORKDIR}"/html + rm -f *.md5 || die "Failed to remove superfluous hashes" + einfo "Installing API docs. This may take some time." + insinto "/usr/share/doc/${PF}/api-docs" + doins -r ./* || die "Failed to install docs" + fi + + # environment + echo "VTK_DATA_ROOT=/usr/share/${PN}/data" >> "${T}"/40${PN} + echo "VTK_DIR=/usr/$(get_libdir)/${PN}-${SPV}" >> "${T}"/40${PN} + echo "VTKHOME=/usr" >> "${T}"/40${PN} + doenvd "${T}"/40${PN} +} + +pkg_postinst() { + if use patented; then + ewarn "Using patented code in VTK may require a license." + ewarn "For more information, please read:" + ewarn "http://public.kitware.com/cgi-bin/vtkfaq?req=show&file=faq07.005.htp" + fi + + if use python; then + python_mod_optimize vtk + fi +} + +pkg_postrm() { + if use python; then + python_mod_cleanup vtk + fi +} |