1 |
commit: d27d7f7b6362a75f577f091785d02eb5aa0ebf29 |
2 |
Author: Donnie Berkholz <dberkholz <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 3 13:39:21 2011 +0000 |
4 |
Commit: Donnie Berkholz <dberkholz <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 3 13:39:21 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/dberkholz.git;a=commit;h=d27d7f7b |
7 |
|
8 |
vtk: Drop, it's way outdated. |
9 |
|
10 |
--- |
11 |
sci-libs/vtk/ChangeLog | 226 ------------------- |
12 |
sci-libs/vtk/Manifest | 8 - |
13 |
sci-libs/vtk/files/vtk-5.0.3-mpi.patch | 74 ------- |
14 |
sci-libs/vtk/files/vtk-5.0.4-gcc4.3.patch | 33 --- |
15 |
sci-libs/vtk/files/vtk-5.2.0-tcl-install.patch | 12 - |
16 |
sci-libs/vtk/metadata.xml | 15 -- |
17 |
sci-libs/vtk/vtk-5.4.0.ebuild | 276 ------------------------ |
18 |
7 files changed, 0 insertions(+), 644 deletions(-) |
19 |
|
20 |
diff --git a/sci-libs/vtk/ChangeLog b/sci-libs/vtk/ChangeLog |
21 |
deleted file mode 100644 |
22 |
index df63203..0000000 |
23 |
--- a/sci-libs/vtk/ChangeLog |
24 |
+++ /dev/null |
25 |
@@ -1,226 +0,0 @@ |
26 |
-# ChangeLog for sci-libs/vtk |
27 |
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/vtk/ChangeLog,v 1.52 2008/10/27 14:00:55 markusle Exp $ |
29 |
- |
30 |
- 27 Oct 2008; Markus Dittrich <markusle@g.o> vtk-5.2.0-r1.ebuild: |
31 |
- Attempt to fix sandbox violations (see bug #244378). |
32 |
- |
33 |
-*vtk-5.2.0-r1 (05 Oct 2008) |
34 |
- |
35 |
- 05 Oct 2008; Markus Dittrich <markusle@g.o> |
36 |
- +files/vtk-5.2.0-tcl-install.patch, -vtk-5.2.0.ebuild, |
37 |
- +vtk-5.2.0-r1.ebuild: |
38 |
- Fixed improper install location of support files (see bug #239553). |
39 |
- |
40 |
-*vtk-5.2.0 (01 Oct 2008) |
41 |
- |
42 |
- 01 Oct 2008; Markus Dittrich <markusle@g.o> +vtk-5.2.0.ebuild: |
43 |
- Version bump (fixes bug #238883). Thanks much to Steve Yin |
44 |
- <steve@××××××××.net> for his ebuild. |
45 |
- |
46 |
- 07 Aug 2008; Ulrich Mueller <ulm@g.o> metadata.xml: |
47 |
- Add USE flag description to metadata wrt GLEP 56. |
48 |
- |
49 |
- 28 Jul 2008; Carsten Lohrke <carlo@g.o> vtk-5.0.3.ebuild: |
50 |
- QA: Get rid of deprecated qt?_min_version(). |
51 |
- |
52 |
- 27 Jul 2008; Carsten Lohrke <carlo@g.o> vtk-5.0.4.ebuild: |
53 |
- Fix broken split Qt 4.4 dependencies, cf. bug 217161 comment 11. |
54 |
- |
55 |
- 08 Jul 2008; Thomas Anderson <gentoofan23@g.o> vtk-5.0.4.ebuild: |
56 |
- Add a qt-gui dependency, it really is needed. |
57 |
- |
58 |
- 03 Jul 2008; Thomas Anderson <gentoofan23@g.o> vtk-5.0.4.ebuild: |
59 |
- Migrate Dependencies to permit Split QT 4.4 to satisfy dependencies, bug |
60 |
- #217189 |
61 |
- |
62 |
- 24 May 2008; Markus Dittrich <markusle@g.o> |
63 |
- +files/vtk-5.0.4-gcc4.3.patch, vtk-5.0.4.ebuild: |
64 |
- Added gcc-4.3 compatibility patch (see bug #223383). Thanks much to |
65 |
- Bert Karwatzki <spasswolf@×××.de> for his patch. |
66 |
- |
67 |
- 09 Mar 2008; Markus Dittrich <markusle@g.o> vtk-5.0.4.ebuild: |
68 |
- Backported support for tcl/tk-8.5 from cvs head (fixes bug 212700). |
69 |
- Thanks much to Pacho Ramos <pacho@××××××××××××××××××××××××.es> for |
70 |
- his patch. |
71 |
- |
72 |
-*vtk-5.0.4 (06 Mar 2008) |
73 |
- |
74 |
- 06 Mar 2008; Markus Dittrich <markusle@g.o> +vtk-5.0.4.ebuild: |
75 |
- Version bump. |
76 |
- |
77 |
- 29 Feb 2008; Markus Dittrich <markusle@g.o> vtk-5.0.3.ebuild: |
78 |
- Fixed bogus install location (see bug #211819). Thanks much to |
79 |
- Matthias Langer <mlangc@×××.at> for his patch. |
80 |
- |
81 |
- 21 Feb 2008; Markus Dittrich <markusle@g.o> |
82 |
- -files/vtk-5.0.1-python2.5-gentoo.patch, -files/vtk-5.0.3-lammpi.patch, |
83 |
- +files/vtk-5.0.3-mpi.patch, vtk-5.0.3.ebuild: |
84 |
- Removed support for mpich and added support for mpich2, openmpi, and |
85 |
- lam-mpi. Also fixed some QA issues and added qt4 eclass. |
86 |
- |
87 |
- 19 Aug 2007; Markus Dittrich <markusle@g.o> vtk-5.0.3.ebuild: |
88 |
- Fixed incomplete RDEPEND. |
89 |
- |
90 |
- 01 Aug 2007; Markus Dittrich <markusle@g.o> vtk-5.0.3.ebuild: |
91 |
- Added LGPL-2 to LICENSE since it is needed for gl2ps (see bug 146019). |
92 |
- |
93 |
- 22 Jul 2007; Donnie Berkholz <dberkholz@g.o>; vtk-5.0.3.ebuild: |
94 |
- Drop virtual/x11 references. |
95 |
- |
96 |
- 11 Jun 2007; Petteri Räty <betelgeuse@g.o> -vtk-5.0.2.ebuild: |
97 |
- Remove old version. |
98 |
- |
99 |
- 11 Jun 2007; Petteri Räty <betelgeuse@g.o> vtk-5.0.3.ebuild: |
100 |
- Add java? ( >=virtual/jre-1.5 ) to RDEPEND. |
101 |
- |
102 |
- 28 May 2007; Markus Dittrich <markusle@g.o> vtk-5.0.3.ebuild: |
103 |
- Added VTKHOME as exported environmental variable. |
104 |
- |
105 |
- 08 May 2007; Markus Dittrich <markusle@g.o> vtk-5.0.3.ebuild: |
106 |
- Re-added compile flag for javac needed on amd64 (see bug #177506). |
107 |
- |
108 |
- 06 May 2007; Markus Dittrich <markusle@g.o> |
109 |
- +files/vtk-5.0.3-lammpi.patch, vtk-5.0.3.ebuild: |
110 |
- Added patch fixing cmake files to properly detect and add lam-mpi |
111 |
- libraries. |
112 |
- |
113 |
- 04 May 2007; Markus Dittrich <markusle@g.o> vtk-5.0.3.ebuild: |
114 |
- Check for qt3support useflag when building the examples under qt4 |
115 |
- (see bug #176847). |
116 |
- |
117 |
- 01 May 2007; Markus Dittrich <markusle@g.o> metadata.xml, |
118 |
- vtk-5.0.3.ebuild: |
119 |
- Removed explicit java CLASSPATH and added the friendly java folks |
120 |
- to metadata (see bug #176547). |
121 |
- |
122 |
-*vtk-5.0.3 (23 Apr 2007) |
123 |
- |
124 |
- 23 Apr 2007; Markus Dittrich <markusle@g.o> |
125 |
- -files/vtk-qt-gentoo.patch, -vtk-5.0.0.ebuild, -vtk-5.0.1.ebuild, |
126 |
- +vtk-5.0.3.ebuild: |
127 |
- Version bump and removed old versions. Thanks much to Sebastien |
128 |
- Fabbro <bicatali@g.o> for his ebuild. |
129 |
- |
130 |
- 16 Apr 2007; Christian Faulhammer <opfer@g.o> vtk-5.0.0.ebuild: |
131 |
- moved from USE tcltk to tk, see bug 17808 |
132 |
- |
133 |
-*vtk-5.0.2 (02 Dec 2006) |
134 |
- |
135 |
- 02 Dec 2006; Markus Dittrich <markusle@g.o> +vtk-5.0.2.ebuild: |
136 |
- Version bump. |
137 |
- |
138 |
- 18 Nov 2006; Markus Dittrich <markusle@g.o> vtk-5.0.1.ebuild: |
139 |
- Added -j1 back to ebuild since some people still experience problems |
140 |
- with parallel builds (see discussion on bug #146767). |
141 |
- |
142 |
- 14 Oct 2006; Joshua Nichols <nichoj@g.o> vtk-5.0.0.ebuild: |
143 |
- Added call to java-pkg_pkg_setup, for bug #142708 |
144 |
- |
145 |
- 23 Sep 2006; Markus Dittrich <markusle@g.o> |
146 |
- +files/vtk-5.0.1-python2.5-gentoo.patch, vtk-5.0.1.ebuild: |
147 |
- Added patch to fix compile problems with python-2.5 |
148 |
- (see bug #148727). |
149 |
- |
150 |
- 08 Sep 2006; Markus Dittrich <markusle@g.o> |
151 |
- +files/vtk-qt-gentoo.patch, -files/vtk-qt3-qt4-gentoo.patch, |
152 |
- vtk-5.0.0.ebuild, vtk-5.0.1.ebuild: |
153 |
- Renamed the qt patch in an effort to get rid of the executable |
154 |
- permissions. Also cleaned up the ebuilds some. |
155 |
- |
156 |
- 08 Sep 2006; Markus Dittrich <markusle@g.o> |
157 |
- files/vtk-qt3-qt4-gentoo.patch, -files/vtk-4.2.6-gcc34.patch, |
158 |
- -vtk-4.2.6.ebuild: |
159 |
- Removed old version since it doesn't build any more. Also fixed |
160 |
- permissions for the vtk-qt patch (see bug #146826). |
161 |
- |
162 |
- 20 Jul 2006; Markus Dittrich <markusle@g.o> vtk-5.0.1.ebuild: |
163 |
- Moved to new java system. Removed -j1 from emake since it works |
164 |
- fine here with -j2. |
165 |
- |
166 |
-*vtk-5.0.1 (09 Jul 2006) |
167 |
- |
168 |
- 09 Jul 2006; Markus Dittrich <markusle@g.o> vtk-4.2.6.ebuild, |
169 |
- vtk-5.0.0.ebuild, +vtk-5.0.1.ebuild: |
170 |
- Version bump. Also, split tcltk USE flag into tcl and tk and moved |
171 |
- to new style virtual/jdk. |
172 |
- |
173 |
- 23 Jun 2006; Markus Dittrich <markusle@g.o> vtk-5.0.0.ebuild: |
174 |
- Added a warning to the ebuild that qt4 is the default in case both |
175 |
- qt3 and qt4 are selected as use flags (see bug #137658). |
176 |
- |
177 |
- 11 Jun 2006; Markus Dittrich <markusle@g.o> vtk-5.0.0.ebuild: |
178 |
- Fix RDEPEND and cmake configuration such that tcl/tk is only |
179 |
- pulled in and used if USE=tcltk. This closes bug #136324. |
180 |
- |
181 |
- 27 Apr 2006; Alec Warner <antarus@g.o> Manifest: |
182 |
- Fixing SHA256 digest, pass four |
183 |
- |
184 |
- 21 Apr 2006; Markus Dittrich <markusle@g.o> vtk-5.0.0.ebuild: |
185 |
- Depend on cmake-2.2.x to be able to properly compile against QT4. |
186 |
- This fixes bug #130471. |
187 |
- |
188 |
- 07 Apr 2006; Markus Dittrich <markusle@g.o> ChangeLog: |
189 |
- Removed from package.mask after testing. |
190 |
- |
191 |
- 27 Mar 2006; Markus Dittrich <markusle@g.o> vtk-5.0.0.ebuild: |
192 |
- Added proper JAVA_AWT_LIBRARY cmake variable for amd64 platform. |
193 |
- Thanks to Sebastiaan <s.breedveld@×××××××××.nl> for pointing this |
194 |
- out (c.f. bug #123178). |
195 |
- |
196 |
- 26 Mar 2006; Markus Dittrich <markusle@g.o> |
197 |
- +files/vtk-qt3-qt4-gentoo.patch, vtk-5.0.0.ebuild: |
198 |
- Added a small fix for java compilation on amd64 as detailed |
199 |
- in bug #123178. Thanks to Sebastiaan <s.breedveld@×××××××××.nl> for |
200 |
- the fix. Also enabled compilation of vtk against either QT3 or QT4. |
201 |
- |
202 |
- 06 Mar 2006; Markus Dittrich <markusle@g.o> vtk-5.0.0.ebuild: |
203 |
- Fixed some QT3 issues and forced -j1 during emake. Thanks |
204 |
- much to Sebastiaan <s.breedveld@×××××××××.nl> for his fixes |
205 |
- and testing. |
206 |
- |
207 |
-*vtk-5.0.0 (05 Mar 2006) |
208 |
- |
209 |
- 05 Mar 2006; Markus Dittrich <markusle@g.o> +vtk-5.0.0.ebuild: |
210 |
- Version bump. Many thanks to Toon Verstraelen |
211 |
- <Toon.Verstraelen@×××××.be> and Sebastiaan |
212 |
- <s.breedveld@×××××××××.nl> for their ebuilds and patches. |
213 |
- This fixes bug #123178. |
214 |
- |
215 |
- 26 Feb 2006; Markus Dittrich <markusle@g.o> vtk-4.2.6.ebuild: |
216 |
- Added cmake command line flag to prevent insecure RUNPATHS |
217 |
- (c.f. bug #122875). |
218 |
- |
219 |
- 22 Jan 2006; Markus Dittrich <markusle@g.o> vtk-4.2.6.ebuild: |
220 |
- Fix dependencies for modular X and replace instances of lib with |
221 |
- $(get_libdir). |
222 |
- |
223 |
- 17 Jan 2006; Markus Dittrich <markusle@g.o> metadata.xml: |
224 |
- Changed maintainer to Markus Dittrich <markusle@g.o>. |
225 |
- |
226 |
- 19 Dec 2005; Markus Dittrich <markusle@g.o> vtk-4.2.6.ebuild: |
227 |
- Use python eclass functions to determine installed python version. |
228 |
- |
229 |
- 18 Dec 2005; Markus Dittrich <markusle@g.o> vtk-4.2.6.ebuild: |
230 |
- Fixed compilation problems when using cmake-2.2.x and when compiling against |
231 |
- python 2.4.x. Also corrected installation path of vtk jar file. This fixes |
232 |
- bugs #112119, #103343, #113597. |
233 |
- |
234 |
- 08 Oct 2005; Thomas Matthijs <axxo@g.o> vtk-4.2.6.ebuild: |
235 |
- use java-pkg_dojar not dojar |
236 |
- |
237 |
- 24 Aug 2005; Patrick Kursawe <phosphan@g.o> vtk-4.2.6.ebuild: |
238 |
- No longer using cp -a (bug #103487) |
239 |
- |
240 |
- 20 Aug 2005; Olivier Fisette <ribosome@g.o> vtk-4.2.6.ebuild: |
241 |
- Removed unused "data" USE flag (fixes bug #100418). |
242 |
- |
243 |
- 03 Jun 2005; Patrick Dawson <pkdawson@g.o> vtk-4.2.6.ebuild: |
244 |
- Typo fix. |
245 |
- |
246 |
-*vtk-4.2.6 (10 May 2005) |
247 |
- |
248 |
- 10 May 2005; Patrick Dawson <pkdawson@g.o> |
249 |
- +files/vtk-4.2.6-gcc34.patch, +vtk-4.2.6.ebuild: |
250 |
- Initial import. See bug #25335. |
251 |
- |
252 |
|
253 |
diff --git a/sci-libs/vtk/Manifest b/sci-libs/vtk/Manifest |
254 |
deleted file mode 100644 |
255 |
index 980af8e..0000000 |
256 |
--- a/sci-libs/vtk/Manifest |
257 |
+++ /dev/null |
258 |
@@ -1,8 +0,0 @@ |
259 |
-AUX vtk-5.0.3-mpi.patch 2653 RMD160 16c80c11c88cd4a671968da9ef3a29c67a979648 SHA1 c1979686901883aa05091845c05235ce8e24e89f SHA256 dd03a1e55674e6f0c3740b996e6a81a68a6e253c5dac60cf0f2fd2e3ead1dcf3 |
260 |
-AUX vtk-5.0.4-gcc4.3.patch 1222 RMD160 28a724ce4e999e68482bfcadc3e776ef37a1e6a6 SHA1 5db37dabd42dca1d93e483e2fd3356fb5a2c653e SHA256 66627b05fd0f71a51b1f5645edaaa369d11896245598acdb3a30818ec716806f |
261 |
-AUX vtk-5.2.0-tcl-install.patch 580 RMD160 e3654b90212a4f48f707cd4cfaf6069b9cbc4d49 SHA1 94269da0a6d83312d0fc00c3f7adf964531a7d20 SHA256 7373a02d9408f59546486b50efb8934fc2fa14067928e27bd46b2691b80d2fc6 |
262 |
-DIST vtk-5.4.0.tar.gz 18264488 RMD160 e2140fc35ed974f5fde6b418089554904e197c21 SHA1 a227caf932315d944cf72008d75df90dd4c554e7 SHA256 8fd2b8950ada87103fb767c14fc78b09507c2d82ec6a8b2e3d8ce611649f4a61 |
263 |
-DIST vtkdata-5.4.0.tar.gz 52810010 RMD160 160129a0580bd7b70b40d3f7fa61bbd78b586ad8 SHA1 a710227e7f7f25f481a36d2fa14bda49756bd39d SHA256 4097028589bf14742ac7468cf2a1fe731d10b28e46407890fb497cc6d236d84f |
264 |
-EBUILD vtk-5.4.0.ebuild 9951 RMD160 849cdef2dbcf7e7ea73021369f0d7b9aa9a920c4 SHA1 aaab147634a4427215fa78b972c20826db51e9ee SHA256 cb6222e12e8ea884203d174f9d0732f8833aabdb512c9da14a51548ace6bf426 |
265 |
-MISC ChangeLog 9009 RMD160 ac6570dc6590eee771ce024eef0034cbe41c4eaa SHA1 208caf18dd386b1465bdbdfdc5fb364c847e77b9 SHA256 386426f1d136280b34a788f0af071764bc794f93458086d1e3cf1edaa25976ac |
266 |
-MISC metadata.xml 432 RMD160 2b5009d16ed172daa9ae089e59ceadabeaab5884 SHA1 4163aa67aa3d1d46b8efc21d2af85a2105f6a77c SHA256 8dadae25a4cdeedb63f94cbaf7fc6a8ce7a1950feae7047e859839d2eee30747 |
267 |
|
268 |
diff --git a/sci-libs/vtk/files/vtk-5.0.3-mpi.patch b/sci-libs/vtk/files/vtk-5.0.3-mpi.patch |
269 |
deleted file mode 100644 |
270 |
index fec1d67..0000000 |
271 |
--- a/sci-libs/vtk/files/vtk-5.0.3-mpi.patch |
272 |
+++ /dev/null |
273 |
@@ -1,74 +0,0 @@ |
274 |
-diff -Naur VTK/Parallel/CMakeLists.txt VTK.new/Parallel/CMakeLists.txt |
275 |
---- VTK/Parallel/CMakeLists.txt 2007-03-28 15:38:46.000000000 -0500 |
276 |
-+++ VTK.new/Parallel/CMakeLists.txt 2008-02-21 15:16:04.000000000 -0500 |
277 |
-@@ -78,6 +78,8 @@ |
278 |
- |
279 |
- IF (VTK_USE_MPI) |
280 |
- INCLUDE (${CMAKE_ROOT}/Modules/FindMPI.cmake) |
281 |
-+ INCLUDE(${VTK_SOURCE_DIR}/Parallel/FindLAMMPI.cmake) |
282 |
-+ INCLUDE(${VTK_SOURCE_DIR}/Parallel/FindOpenmpi.cmake) |
283 |
- SET ( Kit_SRCS |
284 |
- ${Kit_SRCS} |
285 |
- vtkMPICommunicator.cxx |
286 |
-@@ -94,6 +96,18 @@ |
287 |
- IF (MPI_EXTRA_LIBRARY) |
288 |
- SET(KIT_LIBS ${KIT_LIBS} "${MPI_EXTRA_LIBRARY}") |
289 |
- ENDIF (MPI_EXTRA_LIBRARY) |
290 |
-+ IF (LAMMPI_LIBRARY) |
291 |
-+ SET(KIT_LIBS ${KIT_LIBS} "${LAMMPI_LIBRARY}") |
292 |
-+ ENDIF (LAMMPI_LIBRARY) |
293 |
-+ IF (LAMMPI_EXTRA_LIBRARY) |
294 |
-+ SET(KIT_LIBS ${KIT_LIBS} "${LAMMPI_EXTRA_LIBRARY}") |
295 |
-+ ENDIF (LAMMPI_EXTRA_LIBRARY) |
296 |
-+ IF (OPENMPI_LIBRARY) |
297 |
-+ SET(KIT_LIBS ${KIT_LIBS} "${OPENMPI_LIBRARY}") |
298 |
-+ ENDIF (OPENMPI_LIBRARY) |
299 |
-+ IF (OPENMPI_EXTRA_LIBRARY) |
300 |
-+ SET(KIT_LIBS ${KIT_LIBS} "${OPENMPI_EXTRA_LIBRARY}") |
301 |
-+ ENDIF (OPENMPI_EXTRA_LIBRARY) |
302 |
- ENDIF (VTK_USE_MPI) |
303 |
- |
304 |
- SET(Kit_EXTRA_SRCS) |
305 |
-diff -Naur VTK/Parallel/FindLAMMPI.cmake VTK.new/Parallel/FindLAMMPI.cmake |
306 |
---- VTK/Parallel/FindLAMMPI.cmake 1969-12-31 19:00:00.000000000 -0500 |
307 |
-+++ VTK.new/Parallel/FindLAMMPI.cmake 2008-02-21 15:13:38.000000000 -0500 |
308 |
-@@ -0,0 +1,17 @@ |
309 |
-+# - Find LamMPI |
310 |
-+FIND_LIBRARY(LAMMPI_LIBRARY |
311 |
-+ NAMES lam |
312 |
-+ PATHS /usr/lib /usr/lib64 |
313 |
-+ "$ENV{ProgramFiles}/MPICH/SDK/Lib" |
314 |
-+ "$ENV{ProgramFiles}/MPICH2/Lib" |
315 |
-+ "C:/Program Files/MPICH/SDK/Lib" |
316 |
-+) |
317 |
-+ |
318 |
-+FIND_LIBRARY(LAMMPI_EXTRA_LIBRARY |
319 |
-+ NAMES lammpi++ |
320 |
-+ PATHS /usr/lib /usr/lib64 |
321 |
-+ "$ENV{ProgramFiles}/MPICH/SDK/Lib" |
322 |
-+ "C:/Program Files/MPICH/SDK/Lib" |
323 |
-+ DOC "If a second mpi library is necessary, specify it here.") |
324 |
-+ |
325 |
-+MARK_AS_ADVANCED(LAMMPI_LIBRARY LAMMPI_EXTRA_LIBRARY) |
326 |
-diff -Naur VTK/Parallel/FindOpenmpi.cmake VTK.new/Parallel/FindOpenmpi.cmake |
327 |
---- VTK/Parallel/FindOpenmpi.cmake 1969-12-31 19:00:00.000000000 -0500 |
328 |
-+++ VTK.new/Parallel/FindOpenmpi.cmake 2008-02-21 15:14:23.000000000 -0500 |
329 |
-@@ -0,0 +1,18 @@ |
330 |
-+# - Find openmpi |
331 |
-+FIND_PATH(MPI_INCLUDE_PATH mpi.h |
332 |
-+ /usr/include |
333 |
-+ /usr/include/openmpi |
334 |
-+) |
335 |
-+ |
336 |
-+FIND_LIBRARY(OPENMPI_LIBRARY |
337 |
-+ NAMES mpi |
338 |
-+ PATHS /usr/lib /usr/lib64 |
339 |
-+) |
340 |
-+ |
341 |
-+FIND_LIBRARY(OPENMPI_EXTRA_LIBRARY |
342 |
-+ NAMES mpi_cxx |
343 |
-+ PATHS /usr/lib /usr/lib64 |
344 |
-+ DOC "If a second mpi library is necessary, specify it here.") |
345 |
-+ |
346 |
-+MARK_AS_ADVANCED(OPENMPI_LIBRARY OPENMPI_EXTRA_LIBRARY) |
347 |
-+ |
348 |
|
349 |
diff --git a/sci-libs/vtk/files/vtk-5.0.4-gcc4.3.patch b/sci-libs/vtk/files/vtk-5.0.4-gcc4.3.patch |
350 |
deleted file mode 100644 |
351 |
index f921ee3..0000000 |
352 |
--- a/sci-libs/vtk/files/vtk-5.0.4-gcc4.3.patch |
353 |
+++ /dev/null |
354 |
@@ -1,33 +0,0 @@ |
355 |
-diff -Naur VTK/Utilities/DICOMParser/DICOMAppHelper.cxx VTK.new/Utilities/DICOMParser/DICOMAppHelper.cxx |
356 |
---- VTK/Utilities/DICOMParser/DICOMAppHelper.cxx 2007-05-03 13:12:13.000000000 -0400 |
357 |
-+++ VTK.new/Utilities/DICOMParser/DICOMAppHelper.cxx 2008-05-24 13:44:18.000000000 -0400 |
358 |
-@@ -34,6 +34,7 @@ |
359 |
- #include <string> |
360 |
- #include <math.h> |
361 |
- #include <algorithm> |
362 |
-+#include <cstring> |
363 |
- #if defined(__BORLANDC__) |
364 |
- #include <mem.h> // for memcpy |
365 |
- #endif |
366 |
-diff -Naur VTK/Utilities/DICOMParser/DICOMFile.cxx VTK.new/Utilities/DICOMParser/DICOMFile.cxx |
367 |
---- VTK/Utilities/DICOMParser/DICOMFile.cxx 2005-07-26 16:02:22.000000000 -0400 |
368 |
-+++ VTK.new/Utilities/DICOMParser/DICOMFile.cxx 2008-05-24 13:44:18.000000000 -0400 |
369 |
-@@ -24,6 +24,7 @@ |
370 |
- |
371 |
- #include <stdio.h> |
372 |
- #include <string> |
373 |
-+#include <cstring> |
374 |
- |
375 |
- #include "DICOMConfig.h" |
376 |
- #include "DICOMFile.h" |
377 |
-diff -Naur VTK/Utilities/DICOMParser/DICOMParser.cxx VTK.new/Utilities/DICOMParser/DICOMParser.cxx |
378 |
---- VTK/Utilities/DICOMParser/DICOMParser.cxx 2006-03-24 10:59:50.000000000 -0500 |
379 |
-+++ VTK.new/Utilities/DICOMParser/DICOMParser.cxx 2008-05-24 13:44:19.000000000 -0400 |
380 |
-@@ -37,6 +37,7 @@ |
381 |
- #endif |
382 |
- |
383 |
- #include <string> |
384 |
-+#include <cstring> |
385 |
- |
386 |
- #include "DICOMConfig.h" |
387 |
- #include "DICOMParser.h" |
388 |
|
389 |
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 |
390 |
deleted file mode 100644 |
391 |
index c7da786..0000000 |
392 |
--- a/sci-libs/vtk/files/vtk-5.2.0-tcl-install.patch |
393 |
+++ /dev/null |
394 |
@@ -1,12 +0,0 @@ |
395 |
-diff -Naur VTK/CMakeLists.txt VTK.new/CMakeLists.txt |
396 |
---- VTK/CMakeLists.txt 2008-05-13 17:50:09.000000000 -0400 |
397 |
-+++ VTK.new/CMakeLists.txt 2008-10-05 10:34:42.000000000 -0400 |
398 |
-@@ -182,7 +182,7 @@ |
399 |
- # Compute the proper location for installing the Tcl package. This |
400 |
- # must be a fixed relative path below the library install location and |
401 |
- # is therefore not settable by parent projects. |
402 |
--SET(VTK_INSTALL_TCL_DIR ${VTK_INSTALL_LIB_DIR}) |
403 |
-+SET(VTK_INSTALL_TCL_DIR ${VTK_INSTALL_PACKAGE_DIR}) |
404 |
- |
405 |
- IF(NOT VTK_INSTALL_JAVA_DIR) |
406 |
- SET(VTK_INSTALL_JAVA_DIR ${VTK_INSTALL_PACKAGE_DIR}/java) |
407 |
|
408 |
diff --git a/sci-libs/vtk/metadata.xml b/sci-libs/vtk/metadata.xml |
409 |
deleted file mode 100644 |
410 |
index c3f4828..0000000 |
411 |
--- a/sci-libs/vtk/metadata.xml |
412 |
+++ /dev/null |
413 |
@@ -1,15 +0,0 @@ |
414 |
-<?xml version="1.0" encoding="UTF-8"?> |
415 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
416 |
-<pkgmetadata> |
417 |
-<herd>sci</herd> |
418 |
-<herd>java</herd> |
419 |
-<maintainer> |
420 |
- <email>markusle@g.o</email> |
421 |
- <name>Markus Dittrich</name> |
422 |
-</maintainer> |
423 |
-<use> |
424 |
- <flag name='patented'>Build patented classes</flag> |
425 |
- <flag name='boost'>Add support for boost</flag> |
426 |
- <flag name='cg'>Use nvidia's cg shaders</flag> |
427 |
-</use> |
428 |
-</pkgmetadata> |
429 |
|
430 |
diff --git a/sci-libs/vtk/vtk-5.4.0.ebuild b/sci-libs/vtk/vtk-5.4.0.ebuild |
431 |
deleted file mode 100644 |
432 |
index 2784a77..0000000 |
433 |
--- a/sci-libs/vtk/vtk-5.4.0.ebuild |
434 |
+++ /dev/null |
435 |
@@ -1,276 +0,0 @@ |
436 |
-# Copyright 1999-2008 Gentoo Foundation |
437 |
-# Distributed under the terms of the GNU General Public License v2 |
438 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/vtk/vtk-5.2.0-r1.ebuild,v 1.2 2008/10/27 14:00:55 markusle Exp $ |
439 |
- |
440 |
-EAPI="1" |
441 |
-inherit distutils eutils flag-o-matic toolchain-funcs versionator java-pkg-opt-2 python qt3 qt4 |
442 |
- |
443 |
-# Short package version |
444 |
-SPV="$(get_version_component_range 1-2)" |
445 |
- |
446 |
-DESCRIPTION="The Visualization Toolkit" |
447 |
-HOMEPAGE="http://www.vtk.org" |
448 |
-SRC_URI="http://www.${PN}.org/files/release/${SPV}/${P}.tar.gz |
449 |
- examples? ( http://www.${PN}.org/files/release/${SPV}/${PN}data-${PV}.tar.gz )" |
450 |
- |
451 |
-LICENSE="BSD LGPL-2" |
452 |
-KEYWORDS="~amd64 ~x86" |
453 |
-SLOT="0" |
454 |
-IUSE="boost cg examples mpi patented python tcl tk threads qt3 qt4" |
455 |
-RDEPEND="mpi? ( || ( |
456 |
- sys-cluster/openmpi |
457 |
- sys-cluster/lam-mpi |
458 |
- sys-cluster/mpich2 ) ) |
459 |
- python? ( >=dev-lang/python-2.0 ) |
460 |
- boost? ( dev-libs/boost ) |
461 |
- cg? ( media-gfx/nvidia-cg-toolkit ) |
462 |
- tcl? ( >=dev-lang/tcl-8.2.3 ) |
463 |
- tk? ( >=dev-lang/tk-8.2.3 ) |
464 |
- java? ( >=virtual/jre-1.5 ) |
465 |
- !qt4? ( qt3? ( >=x11-libs/qt-3.3.4:3 ) ) |
466 |
- qt4? ( |
467 |
- || ( ( x11-libs/qt-core:4 x11-libs/qt-gui:4 ) =x11-libs/qt-4.3*:4 ) ) |
468 |
- dev-libs/expat |
469 |
- dev-libs/libxml2 |
470 |
- media-libs/freetype |
471 |
- media-libs/jpeg |
472 |
- media-libs/libpng |
473 |
- media-libs/tiff |
474 |
- virtual/opengl |
475 |
- x11-libs/libXmu" |
476 |
- |
477 |
-DEPEND="${RDEPEND} |
478 |
- java? ( >=virtual/jdk-1.5 ) |
479 |
- >=dev-util/cmake-2.2.3" |
480 |
- |
481 |
-S="${WORKDIR}"/VTK |
482 |
- |
483 |
-pkg_setup() { |
484 |
- java-pkg-opt-2_pkg_setup |
485 |
- if use qt3 && use qt4; then |
486 |
- echo |
487 |
- ewarn "qt3 and qt4 support for vtk are mutually exclusive and" |
488 |
- ewarn "qt4 support has therefore been enabled by default." |
489 |
- echo |
490 |
- fi |
491 |
- |
492 |
- if use mpi && has_version sys-cluster/mpich2; then |
493 |
- append-flags -DMPICH_IGNORE_CXX_SEEK |
494 |
- if ! built_with_use sys-cluster/mpich2 cxx; then |
495 |
- die "Please re-emerge sys-cluster/mpich2 with USE=\"cxx\"" |
496 |
- fi |
497 |
- fi |
498 |
- |
499 |
- if use qt4 && use examples; then |
500 |
- QT4_BUILT_WITH_USE_CHECK="qt3support" |
501 |
- qt4_pkg_setup |
502 |
- fi |
503 |
-} |
504 |
- |
505 |
-src_unpack() { |
506 |
- unpack ${A} |
507 |
- cd "${S}" |
508 |
-# epatch "${FILESDIR}"/${P}-tcl-install.patch |
509 |
- sed -e "s:@VTK_TCL_LIBRARY_DIR@:/usr/$(get_libdir):" \ |
510 |
- -i Wrapping/Tcl/pkgIndex.tcl.in \ |
511 |
- || die "Failed to fix tcl pkgIndex file" |
512 |
-} |
513 |
- |
514 |
-src_compile() { |
515 |
- # gcc versions 3.2.x seem to have sse-related bugs that are |
516 |
- # triggered by VTK when compiling for pentium3/4 |
517 |
- if [ "$(gcc-major-version)" -eq 3 -a "$(gcc-minor-version)" -eq 2 -a \ |
518 |
- "$(get-flag -march)" == "-march=pentium4" ]; then |
519 |
- filter-mfpmath sse |
520 |
- filter-flags "-msse -msse2" |
521 |
- echo "$(get-flag -march)" |
522 |
- fi |
523 |
- |
524 |
- # Fix Examples cmake file |
525 |
- sed -e "s/MAKEPROGRAM/CMAKE_MAKE_PROGRAM/g" \ |
526 |
- -i "${S}"/Examples/CMakeLists.txt || \ |
527 |
- die "Failed to fix examples CMakeList.txt" |
528 |
- |
529 |
- # build list of config variable define's to pass to cmake |
530 |
- local CMAKE_VARIABLES="" |
531 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_INSTALL_PACKAGE_DIR:PATH=/$(get_libdir)/${PN}-${SPV}" |
532 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_SKIP_RPATH:BOOL=YES" |
533 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_DIR:PATH=${S}" |
534 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_INSTALL_LIB_DIR:PATH=/$(get_libdir)/" |
535 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DCMAKE_INSTALL_PREFIX:PATH=/usr" |
536 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_SHARED_LIBS:BOOL=ON" |
537 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_FREETYPE:BOOL=ON" |
538 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_JPEG:BOOL=ON" |
539 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_PNG:BOOL=ON" |
540 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_TIFF:BOOL=ON" |
541 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_ZLIB:BOOL=ON" |
542 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_EXPAT:BOOL=ON" |
543 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_SYSTEM_LIBXML2:BOOL=ON" |
544 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DBUILD_TESTING:BOOL=OFF" |
545 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_HYBRID:BOOL=ON" |
546 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_GL2PS:BOOL=ON" |
547 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_RENDERING:BOOL=ON" |
548 |
- |
549 |
- use boost && CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_BOOST:BOOL=ON" |
550 |
- use cg && CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_CG_SHADERS:BOOL=ON" |
551 |
- |
552 |
- use examples && CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_DATA_ROOT:PATH=/usr/share/${PN}/data -DBUILD_EXAMPLES:BOOL=ON" |
553 |
- if use java; then |
554 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_WRAP_JAVA:BOOL=ON" |
555 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DJAVA_AWT_INCLUDE_PATH:PATH=`java-config -O`/include" |
556 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DJAVA_INCLUDE_PATH:PATH=`java-config -O`/include" |
557 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DJAVA_INCLUDE_PATH2:PATH=`java-config -O`/include/linux" |
558 |
- if [ "${ARCH}" == "amd64" ]; then |
559 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DJAVA_AWT_LIBRARY:PATH=`java-config -O`/jre/lib/${ARCH}/libjawt.so" |
560 |
- else |
561 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DJAVA_AWT_LIBRARY:PATH=`java-config -O`/jre/lib/i386/libjawt.so" |
562 |
- fi |
563 |
- fi |
564 |
- |
565 |
- if use mpi; then |
566 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_MPI:BOOL=ON" |
567 |
- use !threads && CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_PARALLEL:BOOL=ON" |
568 |
- fi |
569 |
- |
570 |
- if use python; then |
571 |
- python_version |
572 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_WRAP_PYTHON:BOOL=ON" |
573 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DPYTHON_INCLUDE_PATH:PATH=/usr/include/python${PYVER}" |
574 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DPYTHON_LIBRARY:PATH=/usr/$(get_libdir)/libpython${PYVER}.so" |
575 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_PYTHON_SETUP_ARGS:STRING=\"--prefix=${D}/usr\"" |
576 |
- fi |
577 |
- |
578 |
- if use qt3 || use qt4 ; then |
579 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_GUISUPPORT:BOOL=ON" |
580 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_QVTK:BOOL=ON" |
581 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DQT_WRAP_CPP:BOOL=ON" |
582 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DQT_WRAP_UI:BOOL=ON" |
583 |
- fi |
584 |
- |
585 |
- if use qt3; then |
586 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_INSTALL_QT_DIR:PATH=/qt/3/plugins/${PN}" |
587 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DDESIRED_QT_VERSION:STRING=3" |
588 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DQT_MOC_EXECUTABLE:FILEPATH=/usr/qt/3/bin/moc" |
589 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DQT_UIC_EXECUTABLE:FILEPATH=/usr/qt/3/bin/uic" |
590 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DQT_INCLUDE_DIR:PATH=/usr/qt/3/include" |
591 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DQT_QMAKE_EXECUTABLE:PATH=/usr/qt/3/bin/qmake" |
592 |
- fi |
593 |
- |
594 |
- if use qt4; then |
595 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_INSTALL_QT_DIR:PATH=/$(get_libdir)/qt4/plugins/${PN}" |
596 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DDESIRED_QT_VERSION:STRING=4" |
597 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DQT_MOC_EXECUTABLE:FILEPATH=/usr/bin/moc" |
598 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DQT_UIC_EXECUTABLE:FILEPATH=/usr/bin/uic" |
599 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DQT_INCLUDE_DIR:PATH=/usr/include/qt4" |
600 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DQT_QMAKE_EXECUTABLE:PATH=/usr/bin/qmake" |
601 |
- fi |
602 |
- |
603 |
- if use tcl; then |
604 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_WRAP_TCL:BOOL=ON" |
605 |
- else |
606 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_WRAP_TCL:BOOL=OFF" |
607 |
- fi |
608 |
- |
609 |
- if use tk; then |
610 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_TK:BOOL=ON" |
611 |
- else |
612 |
- CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_TK:BOOL=OFF" |
613 |
- fi |
614 |
- |
615 |
- use threads && CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_PARALLEL:BOOL=ON" |
616 |
- use patented && CMAKE_VARIABLES="${CMAKE_VARIABLES} -DVTK_USE_PATENTED:BOOL=ON" |
617 |
- #use doc && CMAKE_VARIABLES="${CMAKE_VARIABLES} -DDOCUMENTATION_HTML_HELP:BOOL=ON -DBUILD_DOCUMENTATION:BOOL=ON" |
618 |
- |
619 |
- # run cmake twice to achieve proper |
620 |
- # configuration with cmake 2.2.x |
621 |
- cmake ${CMAKE_VARIABLES} . && cmake ${CMAKE_VARIABLES} . \ |
622 |
- || die "cmake configuration failed" |
623 |
- |
624 |
- # fix java.lang.OutOfMemoryError on amd64 (see bug #123178) |
625 |
- if use java && [ "${ARCH}" == "amd64" ]; then |
626 |
- sed -e "s/javac/javac -J-Xmx256m/" \ |
627 |
- -i "${S}"/Wrapping/Java/CMakeFiles/VTKBuildAll.dir/build.make \ |
628 |
- || die "Failed to patch javac" |
629 |
- fi |
630 |
- |
631 |
- emake || die "emake failed" |
632 |
-} |
633 |
- |
634 |
-src_install() { |
635 |
- # remove portage paths from dynamically created Type |
636 |
- # headers |
637 |
- sed -e "s:${S}/Common/::" \ |
638 |
- -e "s:${S}/Rendering/::" \ |
639 |
- -i "${S}"/Utilities/InstallOnly/*.cmake || \ |
640 |
- die "Failed to fix cmake files" |
641 |
- |
642 |
- make DESTDIR="${D}" install || die "make install failed" |
643 |
- |
644 |
- # install docs |
645 |
- dohtml "${S}"/README.html || die "Failed to install docs" |
646 |
- |
647 |
- # install python modules |
648 |
- if use python; then |
649 |
- cd "${S}"/Wrapping/Python |
650 |
- docinto vtk_python |
651 |
- distutils_src_install |
652 |
- fi |
653 |
- |
654 |
- # install jar |
655 |
- use java && java-pkg_dojar "${S}"/bin/vtk.jar |
656 |
- |
657 |
- # install Tcl docs |
658 |
- docinto vtk_tcl |
659 |
- dodoc "${S}"/Wrapping/Tcl/README || \ |
660 |
- die "Failed to install Tcl docs" |
661 |
- |
662 |
- # install examples |
663 |
- if use examples; then |
664 |
- dodir /usr/share/${PN} || \ |
665 |
- die "Failed to create examples directory" |
666 |
- cp -pPR "${S}"/Examples "${D}"/usr/share/${PN}/examples || \ |
667 |
- die "Failed to copy example files" |
668 |
- |
669 |
- # fix example's permissions |
670 |
- find "${D}"/usr/share/${PN}/examples -type d -exec \ |
671 |
- chmod 0755 {} \; || \ |
672 |
- die "Failed to fix example directories permissions" |
673 |
- find "${D}"/usr/share/${PN}/examples -type f -exec \ |
674 |
- chmod 0644 {} \; || \ |
675 |
- die "Failed to fix example files permissions" |
676 |
- |
677 |
- cp -pPR "${WORKDIR}"/VTKData "${D}"/usr/share/${PN}/data || \ |
678 |
- die "Failed to copy data files" |
679 |
- |
680 |
- # fix data's permissions |
681 |
- find "${D}"/usr/share/${PN}/data -type d -exec \ |
682 |
- chmod 0755 {} \; || \ |
683 |
- die "Failed to fix data directories permissions" |
684 |
- find "${D}"/usr/share/${PN}/data -type f -exec \ |
685 |
- chmod 0644 {} \; || \ |
686 |
- die "Failed to fix data files permissions" |
687 |
- fi |
688 |
- |
689 |
- #install big docs |
690 |
-# if use doc; then |
691 |
-# cd "${WORKDIR}"/html |
692 |
-# rm -f *.md5 || die "Failed to remove superfluous hashes" |
693 |
-# einfo "Installing API docs. This may take some time." |
694 |
-# insinto "/usr/share/doc/${PF}/api-docs" |
695 |
-# doins -r ./* || die "Failed to install docs" |
696 |
-# fi |
697 |
- |
698 |
- # environment |
699 |
- echo "VTK_DATA_ROOT=/usr/share/${PN}/data" >> "${T}"/40${PN} |
700 |
- echo "VTK_DIR=/usr/$(get_libdir)/${PN}-${SPV}" >> "${T}"/40${PN} |
701 |
- echo "VTKHOME=/usr" >> "${T}"/40${PN} |
702 |
- doenvd "${T}"/40${PN} |
703 |
-} |
704 |
- |
705 |
-pkg_postinst() { |
706 |
- if use patented; then |
707 |
- ewarn "Using patented code in VTK may require a license." |
708 |
- ewarn "For more information, please read:" |
709 |
- ewarn "http://public.kitware.com/cgi-bin/vtkfaq?req=show&file=faq07.005.htp" |
710 |
- fi |
711 |
-} |