1 |
commit: 9bff88b6adfc72d4698ef6b00de09bfb86052f0a |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 22 12:45:13 2016 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 22 12:47:01 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bff88b6 |
7 |
|
8 |
sci-visualization/paraview: remove old versions < 5.1.2 |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
sci-visualization/paraview/Manifest | 3 - |
13 |
.../paraview/files/paraview-4.0.1-Protobuf.patch | 72 --- |
14 |
.../paraview/files/paraview-4.0.1-gcc-4.7.patch | 28 -- |
15 |
.../files/paraview-4.0.1-removesqlite.patch | 517 --------------------- |
16 |
.../files/paraview-4.0.1-vtk-cg-path.patch | 36 -- |
17 |
.../files/paraview-4.1.0-glxext-legacy.patch | 9 - |
18 |
.../files/paraview-4.1.0-no-fatal-warnings.patch | 19 - |
19 |
.../files/paraview-4.1.0-vtk-freetype.patch | 22 - |
20 |
.../paraview/files/paraview-4.2.0-protobuf.patch | 39 -- |
21 |
.../files/paraview-4.3.1-protobuf-2.6.patch | 177 ------- |
22 |
.../paraview-5.1.0-only-require-cmake-3.3.patch | 13 - |
23 |
.../paraview/paraview-4.1.0-r2.ebuild | 302 ------------ |
24 |
sci-visualization/paraview/paraview-4.4.0.ebuild | 286 ------------ |
25 |
.../paraview/paraview-5.1.0-r1.ebuild | 274 ----------- |
26 |
14 files changed, 1797 deletions(-) |
27 |
|
28 |
diff --git a/sci-visualization/paraview/Manifest b/sci-visualization/paraview/Manifest |
29 |
index 897fb95..7e51626 100644 |
30 |
--- a/sci-visualization/paraview/Manifest |
31 |
+++ b/sci-visualization/paraview/Manifest |
32 |
@@ -1,4 +1 @@ |
33 |
-DIST ParaView-v4.1.0-source.tar.gz 50460304 SHA256 80ef898c158d7fd9ceb0bcd83be1f679eef06ce4f20514a2435330cc97a3fdf3 SHA512 da91f7332a91746d60968a9d6cc1fe4878a3710f8e4a3d675dc65c337d6844f39df4c3e307d424ee0d2a832fd3c0f3d0c4da6a8b0a2aa6902920988fb53b9f7f WHIRLPOOL c3572d12f05b8443eb21a342c140d55e3c41e2af383aa850491aaeec412e62a45a4ee44e6d772dc9b6f141028911cb96b22a7818c6f15bc80bb8553d37008d96 |
34 |
-DIST ParaView-v4.4.0-source.tar.gz 58397252 SHA256 c2dc334a89df24ce5233b81b74740fc9f10bc181cd604109fd13f6ad2381fc73 SHA512 092dee4ca75b9f4e3b4a53c85ebc89f406a91f6dd9ac9a3deb65de776189c2582d15c2b1f8f0393ff4d7a438333f8801de22d2cf916b314d8b85d93cc5f4671e WHIRLPOOL 722be36c45563066a2e91e7ea3e382d6928056a38c01920089f6e16a721259e1e8f99b26c982f136f9cfac8f1cb1d9f54ee0267cea79360ace4c00e81a47e61b |
35 |
-DIST ParaView-v5.1.0.tar.gz 51613148 SHA256 1ce345e9c5533c2854ad7e89cf4f90992bafee23707ae9f85d12b38405169f2a SHA512 c9af27d8be03783c7353735718a41ee03732db0f2e4f6e2db5e1e72d3df01801bb77294713c2b96eaf17e75d1fd6a30e340b3c33f496f7e705d07badfa196e69 WHIRLPOOL 08cd669f02fd54b7fc4054f23f04a3dc274e4ba8ebdf54fb14caaa95bc0c9fb2e2e5551a9e74d88062f2230eb511b7e18d6cb75bb43f4291e19dbaa2ed53cd1f |
36 |
DIST ParaView-v5.1.2.tar.gz 51635420 SHA256 ff02b7307a256b7c6e8ad900dee5796297494df7f9a0804fe801eb2f66e6a187 SHA512 9204732ecbe5048c96536a2d63f37ec51f331416bab11c982797d07cd0233e1424193d1c8cac6dfe7e91696997f8aaf92c3a32d7b05674c0b176d93444672e40 WHIRLPOOL 1bbb95672279317304dde1f3123a51f3ca787f0f0b1a28ce09e53f0fbfdf685da89efeb2b13c0409982cbc5566e3984542eeeb519aa757bdd849186135c57a64 |
37 |
|
38 |
diff --git a/sci-visualization/paraview/files/paraview-4.0.1-Protobuf.patch b/sci-visualization/paraview/files/paraview-4.0.1-Protobuf.patch |
39 |
deleted file mode 100644 |
40 |
index 6a09a1a..00000000 |
41 |
--- a/sci-visualization/paraview/files/paraview-4.0.1-Protobuf.patch |
42 |
+++ /dev/null |
43 |
@@ -1,72 +0,0 @@ |
44 |
-http://paraview.org/Bug/view.php?id=13656 |
45 |
- |
46 |
-diff -up ParaView/ParaViewCore/ServerImplementation/Core/CMakeLists.txt.Protobuf ParaView/ParaViewCore/ServerImplementation/Core/CMakeLists.txt |
47 |
---- ParaView/ParaViewCore/ServerImplementation/Core/CMakeLists.txt.Protobuf 2012-11-08 07:51:51.000000000 -0700 |
48 |
-+++ ParaView/ParaViewCore/ServerImplementation/Core/CMakeLists.txt 2012-11-13 15:17:53.980027098 -0700 |
49 |
-@@ -81,16 +81,24 @@ |
50 |
- #------------------------------------------------------------------------------ |
51 |
- # Generate the protbuf message file. |
52 |
- #------------------------------------------------------------------------------ |
53 |
--get_target_property(PROTOC_LOCATION protoc_compiler LOCATION) |
54 |
-+if (VTK_USE_SYSTEM_PROTOBUF) |
55 |
-+ set (_PROTOC_COMPILER protoc) |
56 |
-+ set (_PROTOC_DEPEND "") |
57 |
-+else() |
58 |
-+ set (_PROTOC_COMPILER protoc_compiler) |
59 |
-+ set (_PROTOC_DEPEND ${_PROTOC_COMPILER}) |
60 |
-+endif() |
61 |
-+ |
62 |
-+get_target_property(PROTOC_LOCATION ${_PROTOC_COMPILER} LOCATION) |
63 |
- add_custom_command( |
64 |
- OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/vtkPVMessage.pb.h |
65 |
- ${CMAKE_CURRENT_BINARY_DIR}/vtkPVMessage.pb.cc |
66 |
- |
67 |
-- COMMAND protoc_compiler |
68 |
-+ COMMAND ${_PROTOC_COMPILER} |
69 |
- "--cpp_out=dllexport_decl=VTKPVSERVERIMPLEMENTATIONCORE_EXPORT:${CMAKE_CURRENT_BINARY_DIR}" |
70 |
- --proto_path "@CMAKE_CURRENT_SOURCE_DIR@" |
71 |
- "${CMAKE_CURRENT_SOURCE_DIR}/vtkPVMessage.proto" |
72 |
-- DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/vtkPVMessage.proto protoc_compiler |
73 |
-+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/vtkPVMessage.proto ${_PROTOC_DEPEND} |
74 |
- WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} |
75 |
- ) |
76 |
- |
77 |
-@@ -109,5 +117,9 @@ |
78 |
- vtk_module_library(vtkPVServerImplementationCore |
79 |
- ${Module_SRCS}) |
80 |
- |
81 |
-+if (VTK_USE_SYSTEM_PROTOBUF) |
82 |
-+ target_link_libraries(vtkPVServerImplementationCore ${CMAKE_THREAD_LIBS_INIT}) |
83 |
-+endif() |
84 |
-+ |
85 |
- add_dependencies(vtkPVServerImplementationCore |
86 |
- protobuf_code_generation) |
87 |
-diff -up ParaView/ThirdParty/protobuf/CMakeLists.txt.Protobuf ParaView/ThirdParty/protobuf/CMakeLists.txt |
88 |
---- ParaView/ThirdParty/protobuf/CMakeLists.txt.Protobuf 2012-11-08 07:51:51.000000000 -0700 |
89 |
-+++ ParaView/ThirdParty/protobuf/CMakeLists.txt 2012-11-13 15:09:31.526673020 -0700 |
90 |
-@@ -34,7 +34,7 @@ |
91 |
- set (PROTOBUF_INSTALL_LIB_DIR ${VTK_INSTALL_LIBRARY_DIR}) |
92 |
- set (PROTOBUF_INSTALL_EXPORT_NAME ${VTK_INSTALL_EXPORT_NAME}) |
93 |
- |
94 |
--vtk_module_third_party(protobuf |
95 |
-+vtk_module_third_party(Protobuf |
96 |
- INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/vtkprotobuf/src |
97 |
- LIBRARIES protobuf |
98 |
- ) |
99 |
-@@ -42,10 +42,12 @@ |
100 |
- # protobuf exports it's build-dir targets to a custom file |
101 |
- # (PROTOBUF_EXPORTS.cmake). We don't care much about that. We export |
102 |
- # build-dir targets ourselves. |
103 |
--vtk_target_export(protobuf) |
104 |
--vtk_target_export(protobuf-lite) |
105 |
--if (NOT CMAKE_CROSSCOMPILING) |
106 |
-- vtk_compile_tools_target_export(protoc_compiler) |
107 |
-+if (NOT VTK_USE_SYSTEM_PROTOBUF) |
108 |
-+ vtk_target_export(protobuf) |
109 |
-+ vtk_target_export(protobuf-lite) |
110 |
-+ if (NOT CMAKE_CROSSCOMPILING) |
111 |
-+ vtk_compile_tools_target_export(protoc_compiler) |
112 |
-+ endif() |
113 |
- endif() |
114 |
- |
115 |
- # All these exports don't add any install rules. However we make protobuf itself |
116 |
|
117 |
diff --git a/sci-visualization/paraview/files/paraview-4.0.1-gcc-4.7.patch b/sci-visualization/paraview/files/paraview-4.0.1-gcc-4.7.patch |
118 |
deleted file mode 100644 |
119 |
index 1b941cf..00000000 |
120 |
--- a/sci-visualization/paraview/files/paraview-4.0.1-gcc-4.7.patch |
121 |
+++ /dev/null |
122 |
@@ -1,28 +0,0 @@ |
123 |
-Description: fix FTBFS with gcc-4.7 |
124 |
-Author: Mathieu Malaterre <malat@××××××.org> |
125 |
-Origin: http://anonscm.debian.org/gitweb/?p=collab-maint/vtk.git;a=commitdiff;h=428e763c995bb303805e07da70c1a34fc103d208 |
126 |
-Reviewed-by: Anton Gladky <gladky.anton@×××××.com> |
127 |
-Last-Update: 2012-05-08 |
128 |
- |
129 |
---- a/VTK/Rendering/FreeType/vtkFreeTypeTools.cxx |
130 |
-+++ b/VTK/Rendering/FreeType/vtkFreeTypeTools.cxx |
131 |
-@@ -35,6 +35,8 @@ |
132 |
- using namespace ftgl; |
133 |
- #endif |
134 |
- |
135 |
-+#include <stdint.h> |
136 |
-+ |
137 |
- // Print debug info |
138 |
- #define VTK_FTFC_DEBUG 0 |
139 |
- #define VTK_FTFC_DEBUG_CD 0 |
140 |
---- a/VTK/Rendering/FreeType/vtkFreeTypeUtilities.cxx |
141 |
-+++ b/VTK/Rendering/FreeType/vtkFreeTypeUtilities.cxx |
142 |
-@@ -36,6 +36,8 @@ |
143 |
- using namespace ftgl; |
144 |
- #endif |
145 |
- |
146 |
-+#include <stdint.h> |
147 |
-+ |
148 |
- // Print debug info |
149 |
- |
150 |
- #define VTK_FTFC_DEBUG 0 |
151 |
|
152 |
diff --git a/sci-visualization/paraview/files/paraview-4.0.1-removesqlite.patch b/sci-visualization/paraview/files/paraview-4.0.1-removesqlite.patch |
153 |
deleted file mode 100644 |
154 |
index be495b4..00000000 |
155 |
--- a/sci-visualization/paraview/files/paraview-4.0.1-removesqlite.patch |
156 |
+++ /dev/null |
157 |
@@ -1,517 +0,0 @@ |
158 |
-Description: Import patch from VTK to remove sqlite |
159 |
-Author: Mathieu Malaterre <mathieu.malaterre@×××××.com> |
160 |
-Last-Update: Mon Feb 11 14:58:03 UTC 2013 |
161 |
- |
162 |
-remove the internal copy of sqlite (vtksqlite) |
163 |
-http://patch-tracker.debian.org/patch/series/view/paraview/3.14.1-7/removesqlite.patch |
164 |
- |
165 |
---- VTK/IO/SQL/vtkSQLiteDatabase.cxx |
166 |
-+++ VTK/IO/SQL/vtkSQLiteDatabase.cxx |
167 |
-@@ -29,7 +29,7 @@ |
168 |
- #include <vtksys/ios/fstream> |
169 |
- #include <vtksys/ios/sstream> |
170 |
- |
171 |
--#include <vtksqlite/vtk_sqlite3.h> |
172 |
-+#include <sqlite3.h> |
173 |
- |
174 |
- vtkStandardNewMacro(vtkSQLiteDatabase); |
175 |
- |
176 |
-@@ -307,15 +307,15 @@ |
177 |
- } |
178 |
- } |
179 |
- |
180 |
-- int result = vtk_sqlite3_open(this->DatabaseFileName, & (this->SQLiteInstance)); |
181 |
-+ int result = sqlite3_open(this->DatabaseFileName, & (this->SQLiteInstance)); |
182 |
- |
183 |
-- if (result != VTK_SQLITE_OK) |
184 |
-+ if (result != SQLITE_OK) |
185 |
- { |
186 |
- vtkDebugMacro(<<"SQLite open() failed. Error code is " |
187 |
- << result << " and message is " |
188 |
-- << vtk_sqlite3_errmsg(this->SQLiteInstance) ); |
189 |
-+ << sqlite3_errmsg(this->SQLiteInstance) ); |
190 |
- |
191 |
-- vtk_sqlite3_close(this->SQLiteInstance); |
192 |
-+ sqlite3_close(this->SQLiteInstance); |
193 |
- return false; |
194 |
- } |
195 |
- else |
196 |
-@@ -334,8 +334,8 @@ |
197 |
- } |
198 |
- else |
199 |
- { |
200 |
-- int result = vtk_sqlite3_close(this->SQLiteInstance); |
201 |
-- if (result != VTK_SQLITE_OK) |
202 |
-+ int result = sqlite3_close(this->SQLiteInstance); |
203 |
-+ if (result != SQLITE_OK) |
204 |
- { |
205 |
- vtkWarningMacro(<< "Close(): SQLite returned result code " << result); |
206 |
- } |
207 |
-@@ -374,7 +374,7 @@ |
208 |
- if (!status) |
209 |
- { |
210 |
- vtkErrorMacro(<< "GetTables(): Database returned error: " |
211 |
-- << vtk_sqlite3_errmsg(this->SQLiteInstance) ); |
212 |
-+ << sqlite3_errmsg(this->SQLiteInstance) ); |
213 |
- query->Delete(); |
214 |
- return this->Tables; |
215 |
- } |
216 |
-@@ -403,7 +403,7 @@ |
217 |
- if (!status) |
218 |
- { |
219 |
- vtkErrorMacro(<< "GetRecord(" << table << "): Database returned error: " |
220 |
-- << vtk_sqlite3_errmsg(this->SQLiteInstance) ); |
221 |
-+ << sqlite3_errmsg(this->SQLiteInstance) ); |
222 |
- query->Delete(); |
223 |
- return NULL; |
224 |
- } |
225 |
-@@ -467,10 +467,10 @@ |
226 |
- // ---------------------------------------------------------------------- |
227 |
- bool vtkSQLiteDatabase::HasError() |
228 |
- { |
229 |
-- return (vtk_sqlite3_errcode(this->SQLiteInstance)!=VTK_SQLITE_OK); |
230 |
-+ return (sqlite3_errcode(this->SQLiteInstance)!=SQLITE_OK); |
231 |
- } |
232 |
- |
233 |
- const char* vtkSQLiteDatabase::GetLastErrorText() |
234 |
- { |
235 |
-- return vtk_sqlite3_errmsg(this->SQLiteInstance); |
236 |
-+ return sqlite3_errmsg(this->SQLiteInstance); |
237 |
- } |
238 |
---- VTK/IO/SQL/vtkSQLiteQuery.cxx |
239 |
-+++ VTK/IO/SQL/vtkSQLiteQuery.cxx |
240 |
-@@ -25,7 +25,7 @@ |
241 |
- #include "vtkVariant.h" |
242 |
- #include "vtkVariantArray.h" |
243 |
- |
244 |
--#include <vtksqlite/vtk_sqlite3.h> |
245 |
-+#include <sqlite3.h> |
246 |
- |
247 |
- #include <assert.h> |
248 |
- |
249 |
-@@ -43,7 +43,7 @@ |
250 |
- { |
251 |
- this->Statement = NULL; |
252 |
- this->InitialFetch = true; |
253 |
-- this->InitialFetchResult=VTK_SQLITE_DONE; |
254 |
-+ this->InitialFetchResult=SQLITE_DONE; |
255 |
- this->LastErrorText = NULL; |
256 |
- this->TransactionInProgress = false; |
257 |
- } |
258 |
-@@ -61,7 +61,7 @@ |
259 |
- { |
260 |
- if (this->Database != NULL) |
261 |
- { |
262 |
-- vtk_sqlite3_finalize(this->Statement); |
263 |
-+ sqlite3_finalize(this->Statement); |
264 |
- this->Statement = NULL; |
265 |
- } |
266 |
- } |
267 |
-@@ -131,8 +131,8 @@ |
268 |
- if (this->Statement) |
269 |
- { |
270 |
- vtkDebugMacro(<<"Finalizing old statement"); |
271 |
-- int finalizeStatus = vtk_sqlite3_finalize(this->Statement); |
272 |
-- if (finalizeStatus != VTK_SQLITE_OK) |
273 |
-+ int finalizeStatus = sqlite3_finalize(this->Statement); |
274 |
-+ if (finalizeStatus != SQLITE_OK) |
275 |
- { |
276 |
- vtkWarningMacro(<<"SetQuery(): Finalize returned unexpected code " |
277 |
- << finalizeStatus); |
278 |
-@@ -151,19 +151,19 @@ |
279 |
- return false; |
280 |
- } |
281 |
- |
282 |
-- vtk_sqlite3 *db = dbContainer->SQLiteInstance; |
283 |
-+ sqlite3 *db = dbContainer->SQLiteInstance; |
284 |
- const char *unused_statement; |
285 |
- |
286 |
-- int prepareStatus = vtk_sqlite3_prepare_v2(db, |
287 |
-+ int prepareStatus = sqlite3_prepare_v2(db, |
288 |
- this->Query, |
289 |
- static_cast<int>(strlen(this->Query)), |
290 |
- &this->Statement, |
291 |
- &unused_statement); |
292 |
- |
293 |
-- if (prepareStatus != VTK_SQLITE_OK) |
294 |
-+ if (prepareStatus != SQLITE_OK) |
295 |
- { |
296 |
-- this->SetLastErrorText(vtk_sqlite3_errmsg(db)); |
297 |
-- vtkWarningMacro(<<"SetQuery(): vtk_sqlite3_prepare_v2() failed with error message " |
298 |
-+ this->SetLastErrorText(sqlite3_errmsg(db)); |
299 |
-+ vtkWarningMacro(<<"SetQuery(): sqlite3_prepare_v2() failed with error message " |
300 |
- << this->GetLastErrorText() |
301 |
- << " on statement: '" |
302 |
- << this->Query << "'"); |
303 |
-@@ -194,31 +194,31 @@ |
304 |
- } |
305 |
- else |
306 |
- { |
307 |
-- vtk_sqlite3_reset(this->Statement); |
308 |
-+ sqlite3_reset(this->Statement); |
309 |
- } |
310 |
- |
311 |
- vtkDebugMacro(<<"Execute(): Query ready to execute."); |
312 |
- |
313 |
- this->InitialFetch = true; |
314 |
-- int result = vtk_sqlite3_step(this->Statement); |
315 |
-+ int result = sqlite3_step(this->Statement); |
316 |
- this->InitialFetchResult = result; |
317 |
- |
318 |
-- if (result == VTK_SQLITE_DONE) |
319 |
-+ if (result == SQLITE_DONE) |
320 |
- { |
321 |
- this->SetLastErrorText(NULL); |
322 |
- this->Active = true; |
323 |
- return true; |
324 |
- } |
325 |
-- else if (result != VTK_SQLITE_ROW) |
326 |
-+ else if (result != SQLITE_ROW) |
327 |
- { |
328 |
- vtkSQLiteDatabase *dbContainer = |
329 |
- vtkSQLiteDatabase::SafeDownCast(this->Database); |
330 |
- assert(dbContainer != NULL); |
331 |
- |
332 |
-- vtk_sqlite3 *db = dbContainer->SQLiteInstance; |
333 |
-+ sqlite3 *db = dbContainer->SQLiteInstance; |
334 |
- |
335 |
-- this->SetLastErrorText(vtk_sqlite3_errmsg(db)); |
336 |
-- vtkDebugMacro(<< "Execute(): vtk_sqlite3_step() returned error message " |
337 |
-+ this->SetLastErrorText(sqlite3_errmsg(db)); |
338 |
-+ vtkDebugMacro(<< "Execute(): sqlite3_step() returned error message " |
339 |
- << this->GetLastErrorText()); |
340 |
- this->Active = false; |
341 |
- return false; |
342 |
-@@ -239,7 +239,7 @@ |
343 |
- } |
344 |
- else |
345 |
- { |
346 |
-- return vtk_sqlite3_column_count(this->Statement); |
347 |
-+ return sqlite3_column_count(this->Statement); |
348 |
- } |
349 |
- } |
350 |
- |
351 |
-@@ -259,7 +259,7 @@ |
352 |
- } |
353 |
- else |
354 |
- { |
355 |
-- return vtk_sqlite3_column_name(this->Statement, column); |
356 |
-+ return sqlite3_column_name(this->Statement, column); |
357 |
- } |
358 |
- } |
359 |
- |
360 |
-@@ -279,22 +279,22 @@ |
361 |
- } |
362 |
- else |
363 |
- { |
364 |
-- switch (vtk_sqlite3_column_type(this->Statement, column)) |
365 |
-+ switch (sqlite3_column_type(this->Statement, column)) |
366 |
- { |
367 |
-- case VTK_SQLITE_INTEGER: |
368 |
-+ case SQLITE_INTEGER: |
369 |
- return VTK_INT; |
370 |
-- case VTK_SQLITE_FLOAT: |
371 |
-+ case SQLITE_FLOAT: |
372 |
- return VTK_FLOAT; |
373 |
-- case VTK_SQLITE_TEXT: |
374 |
-+ case SQLITE_TEXT: |
375 |
- return VTK_STRING; |
376 |
-- case VTK_SQLITE_BLOB: |
377 |
-+ case SQLITE_BLOB: |
378 |
- return VTK_STRING; // until we have a BLOB type of our own |
379 |
-- case VTK_SQLITE_NULL: |
380 |
-+ case SQLITE_NULL: |
381 |
- return VTK_VOID; // ??? what makes sense here? |
382 |
- default: |
383 |
- { |
384 |
- vtkErrorMacro(<<"GetFieldType(): Unknown data type " |
385 |
-- << vtk_sqlite3_column_type(this->Statement, column) |
386 |
-+ << sqlite3_column_type(this->Statement, column) |
387 |
- <<" from SQLite."); |
388 |
- return VTK_VOID; |
389 |
- } |
390 |
-@@ -315,7 +315,7 @@ |
391 |
- { |
392 |
- vtkDebugMacro(<<"NextRow(): Initial fetch being handled."); |
393 |
- this->InitialFetch = false; |
394 |
-- if (this->InitialFetchResult == VTK_SQLITE_DONE) |
395 |
-+ if (this->InitialFetchResult == SQLITE_DONE) |
396 |
- { |
397 |
- return false; |
398 |
- } |
399 |
-@@ -326,12 +326,12 @@ |
400 |
- } |
401 |
- else |
402 |
- { |
403 |
-- int result = vtk_sqlite3_step(this->Statement); |
404 |
-- if (result == VTK_SQLITE_DONE) |
405 |
-+ int result = sqlite3_step(this->Statement); |
406 |
-+ if (result == SQLITE_DONE) |
407 |
- { |
408 |
- return false; |
409 |
- } |
410 |
-- else if (result == VTK_SQLITE_ROW) |
411 |
-+ else if (result == SQLITE_ROW) |
412 |
- { |
413 |
- return true; |
414 |
- } |
415 |
-@@ -339,8 +339,8 @@ |
416 |
- { |
417 |
- vtkSQLiteDatabase *dbContainer = vtkSQLiteDatabase::SafeDownCast( this->Database ); |
418 |
- assert(dbContainer != NULL); |
419 |
-- vtk_sqlite3 *db = dbContainer->SQLiteInstance; |
420 |
-- this->SetLastErrorText(vtk_sqlite3_errmsg(db)); |
421 |
-+ sqlite3 *db = dbContainer->SQLiteInstance; |
422 |
-+ this->SetLastErrorText(sqlite3_errmsg(db)); |
423 |
- vtkErrorMacro(<<"NextRow(): Database returned error code " |
424 |
- << result << " with the following message: " |
425 |
- << this->GetLastErrorText()); |
426 |
-@@ -366,33 +366,33 @@ |
427 |
- } |
428 |
- else |
429 |
- { |
430 |
-- switch (vtk_sqlite3_column_type(this->Statement, column)) |
431 |
-+ switch (sqlite3_column_type(this->Statement, column)) |
432 |
- { |
433 |
-- case VTK_SQLITE_INTEGER: |
434 |
-- return vtkVariant(vtk_sqlite3_column_int(this->Statement, column)); |
435 |
-+ case SQLITE_INTEGER: |
436 |
-+ return vtkVariant(sqlite3_column_int(this->Statement, column)); |
437 |
- |
438 |
-- case VTK_SQLITE_FLOAT: |
439 |
-- return vtkVariant(vtk_sqlite3_column_double(this->Statement, column)); |
440 |
-+ case SQLITE_FLOAT: |
441 |
-+ return vtkVariant(sqlite3_column_double(this->Statement, column)); |
442 |
- |
443 |
-- case VTK_SQLITE_TEXT: |
444 |
-+ case SQLITE_TEXT: |
445 |
- { |
446 |
- vtksys_ios::ostringstream str; |
447 |
-- str << vtk_sqlite3_column_text(this->Statement, column); |
448 |
-+ str << sqlite3_column_text(this->Statement, column); |
449 |
- return vtkVariant(vtkStdString(str.str())); |
450 |
- } |
451 |
- |
452 |
-- case VTK_SQLITE_BLOB: |
453 |
-+ case SQLITE_BLOB: |
454 |
- { |
455 |
- // This is a hack ... by passing the BLOB to vtkStdString with an explicit |
456 |
- // byte count, we ensure that the string will store all of the BLOB's bytes, |
457 |
- // even if there are NULL values. |
458 |
- |
459 |
- return vtkVariant(vtkStdString( |
460 |
-- static_cast<const char*>(vtk_sqlite3_column_blob(this->Statement, column)), |
461 |
-- vtk_sqlite3_column_bytes(this->Statement, column))); |
462 |
-+ static_cast<const char*>(sqlite3_column_blob(this->Statement, column)), |
463 |
-+ sqlite3_column_bytes(this->Statement, column))); |
464 |
- } |
465 |
- |
466 |
-- case VTK_SQLITE_NULL: |
467 |
-+ case SQLITE_NULL: |
468 |
- default: |
469 |
- return vtkVariant(); |
470 |
- } |
471 |
-@@ -423,11 +423,11 @@ |
472 |
- vtkSQLiteDatabase *dbContainer = vtkSQLiteDatabase::SafeDownCast( this->Database ); |
473 |
- assert(dbContainer != NULL); |
474 |
- |
475 |
-- vtk_sqlite3 *db = dbContainer->SQLiteInstance; |
476 |
-+ sqlite3 *db = dbContainer->SQLiteInstance; |
477 |
- char *errorMessage = NULL; |
478 |
-- int result = vtk_sqlite3_exec(db, BEGIN_TRANSACTION, NULL, NULL, &errorMessage); |
479 |
-+ int result = sqlite3_exec(db, BEGIN_TRANSACTION, NULL, NULL, &errorMessage); |
480 |
- |
481 |
-- if (result == VTK_SQLITE_OK) |
482 |
-+ if (result == SQLITE_OK) |
483 |
- { |
484 |
- this->TransactionInProgress = true; |
485 |
- this->SetLastErrorText(NULL); |
486 |
-@@ -451,7 +451,7 @@ |
487 |
- { |
488 |
- if (this->Statement) |
489 |
- { |
490 |
-- vtk_sqlite3_finalize(this->Statement); |
491 |
-+ sqlite3_finalize(this->Statement); |
492 |
- this->Statement = NULL; |
493 |
- } |
494 |
- |
495 |
-@@ -463,11 +463,11 @@ |
496 |
- |
497 |
- vtkSQLiteDatabase *dbContainer = vtkSQLiteDatabase::SafeDownCast( this->Database ); |
498 |
- assert(dbContainer != NULL); |
499 |
-- vtk_sqlite3 *db = dbContainer->SQLiteInstance; |
500 |
-+ sqlite3 *db = dbContainer->SQLiteInstance; |
501 |
- char *errorMessage = NULL; |
502 |
-- int result = vtk_sqlite3_exec(db, COMMIT_TRANSACTION, NULL, NULL, &errorMessage); |
503 |
-+ int result = sqlite3_exec(db, COMMIT_TRANSACTION, NULL, NULL, &errorMessage); |
504 |
- |
505 |
-- if (result == VTK_SQLITE_OK) |
506 |
-+ if (result == SQLITE_OK) |
507 |
- { |
508 |
- this->TransactionInProgress = false; |
509 |
- this->SetLastErrorText(NULL); |
510 |
-@@ -499,11 +499,11 @@ |
511 |
- |
512 |
- vtkSQLiteDatabase *dbContainer = vtkSQLiteDatabase::SafeDownCast( this->Database ); |
513 |
- assert(dbContainer != NULL); |
514 |
-- vtk_sqlite3 *db = dbContainer->SQLiteInstance; |
515 |
-+ sqlite3 *db = dbContainer->SQLiteInstance; |
516 |
- char *errorMessage = NULL; |
517 |
-- int result = vtk_sqlite3_exec(db, ROLLBACK_TRANSACTION, NULL, NULL, &errorMessage); |
518 |
-+ int result = sqlite3_exec(db, ROLLBACK_TRANSACTION, NULL, NULL, &errorMessage); |
519 |
- |
520 |
-- if (result == VTK_SQLITE_OK) |
521 |
-+ if (result == SQLITE_OK) |
522 |
- { |
523 |
- this->TransactionInProgress = false; |
524 |
- this->SetLastErrorText(NULL); |
525 |
-@@ -647,11 +647,11 @@ |
526 |
- if (this->Active) |
527 |
- { |
528 |
- this->Active = false; |
529 |
-- vtk_sqlite3_reset(this->Statement); |
530 |
-+ sqlite3_reset(this->Statement); |
531 |
- } |
532 |
-- int status = vtk_sqlite3_bind_int(this->Statement, index+1, value); |
533 |
-+ int status = sqlite3_bind_int(this->Statement, index+1, value); |
534 |
- |
535 |
-- if (status != VTK_SQLITE_OK) |
536 |
-+ if (status != SQLITE_OK) |
537 |
- { |
538 |
- vtksys_ios::ostringstream errormessage; |
539 |
- errormessage << "sqlite_bind_int returned error: " << status; |
540 |
-@@ -676,11 +676,11 @@ |
541 |
- if (this->Active) |
542 |
- { |
543 |
- this->Active = false; |
544 |
-- vtk_sqlite3_reset(this->Statement); |
545 |
-+ sqlite3_reset(this->Statement); |
546 |
- } |
547 |
-- int status = vtk_sqlite3_bind_int(this->Statement, index+1, static_cast<vtk_sqlite_int64>(value)); |
548 |
-+ int status = sqlite3_bind_int(this->Statement, index+1, static_cast<sqlite_int64>(value)); |
549 |
- |
550 |
-- if (status != VTK_SQLITE_OK) |
551 |
-+ if (status != SQLITE_OK) |
552 |
- { |
553 |
- vtksys_ios::ostringstream errormessage; |
554 |
- errormessage << "sqlite_bind_int64 returned error: " << status; |
555 |
-@@ -705,12 +705,12 @@ |
556 |
- if (this->Active) |
557 |
- { |
558 |
- this->Active = false; |
559 |
-- vtk_sqlite3_reset(this->Statement); |
560 |
-+ sqlite3_reset(this->Statement); |
561 |
- } |
562 |
- |
563 |
-- int status = vtk_sqlite3_bind_double(this->Statement, index+1, value); |
564 |
-+ int status = sqlite3_bind_double(this->Statement, index+1, value); |
565 |
- |
566 |
-- if (status != VTK_SQLITE_OK) |
567 |
-+ if (status != SQLITE_OK) |
568 |
- { |
569 |
- vtksys_ios::ostringstream errormessage; |
570 |
- errormessage << "sqlite_bind_double returned error: " << status; |
571 |
-@@ -734,12 +734,12 @@ |
572 |
- if (this->Active) |
573 |
- { |
574 |
- this->Active = false; |
575 |
-- vtk_sqlite3_reset(this->Statement); |
576 |
-+ sqlite3_reset(this->Statement); |
577 |
- } |
578 |
- |
579 |
-- int status = vtk_sqlite3_bind_text(this->Statement, index+1, value, length, VTK_SQLITE_TRANSIENT); |
580 |
-+ int status = sqlite3_bind_text(this->Statement, index+1, value, length, SQLITE_TRANSIENT); |
581 |
- |
582 |
-- if (status != VTK_SQLITE_OK) |
583 |
-+ if (status != SQLITE_OK) |
584 |
- { |
585 |
- vtksys_ios::ostringstream errormessage; |
586 |
- errormessage << "sqlite_bind_text returned error: " << status; |
587 |
-@@ -763,17 +763,17 @@ |
588 |
- if (this->Active) |
589 |
- { |
590 |
- this->Active = false; |
591 |
-- vtk_sqlite3_reset(this->Statement); |
592 |
-+ sqlite3_reset(this->Statement); |
593 |
- } |
594 |
- |
595 |
- int status = |
596 |
-- vtk_sqlite3_bind_blob(this->Statement, |
597 |
-+ sqlite3_bind_blob(this->Statement, |
598 |
- index+1, |
599 |
- data, |
600 |
- length, |
601 |
-- VTK_SQLITE_TRANSIENT); |
602 |
-+ SQLITE_TRANSIENT); |
603 |
- |
604 |
-- if (status != VTK_SQLITE_OK) |
605 |
-+ if (status != SQLITE_OK) |
606 |
- { |
607 |
- vtksys_ios::ostringstream errormessage; |
608 |
- errormessage << "sqlite_bind_blob returned error: " << status; |
609 |
-@@ -797,12 +797,12 @@ |
610 |
- if (this->Active) |
611 |
- { |
612 |
- this->Active = false; |
613 |
-- vtk_sqlite3_reset(this->Statement); |
614 |
-+ sqlite3_reset(this->Statement); |
615 |
- } |
616 |
- |
617 |
-- int status = vtk_sqlite3_clear_bindings(this->Statement); |
618 |
-+ int status = sqlite3_clear_bindings(this->Statement); |
619 |
- |
620 |
-- if (status != VTK_SQLITE_OK) |
621 |
-+ if (status != SQLITE_OK) |
622 |
- { |
623 |
- vtksys_ios::ostringstream errormessage; |
624 |
- errormessage << "sqlite_clear_bindings returned error: " << status; |
625 |
---- VTK/IO/SQL/vtkSQLiteDatabase.h |
626 |
-+++ VTK/IO/SQL/vtkSQLiteDatabase.h |
627 |
-@@ -49,7 +49,7 @@ |
628 |
- class vtkSQLQuery; |
629 |
- class vtkSQLiteQuery; |
630 |
- class vtkStringArray; |
631 |
--struct vtk_sqlite3; |
632 |
-+struct sqlite3; |
633 |
- |
634 |
- class VTKIOSQL_EXPORT vtkSQLiteDatabase : public vtkSQLDatabase |
635 |
- { |
636 |
-@@ -147,7 +147,7 @@ |
637 |
- virtual bool ParseURL(const char* url); |
638 |
- |
639 |
- private: |
640 |
-- vtk_sqlite3 *SQLiteInstance; |
641 |
-+ sqlite3 *SQLiteInstance; |
642 |
- |
643 |
- // We want this to be private, a user of this class |
644 |
- // should not be setting this for any reason |
645 |
---- VTK/IO/SQL/vtkSQLiteQuery.h |
646 |
-+++ VTK/IO/SQL/vtkSQLiteQuery.h |
647 |
-@@ -47,7 +47,7 @@ |
648 |
- class vtkSQLiteDatabase; |
649 |
- class vtkVariant; |
650 |
- class vtkVariantArray; |
651 |
--struct vtk_sqlite3_stmt; |
652 |
-+struct sqlite3_stmt; |
653 |
- |
654 |
- class VTKIOSQL_EXPORT vtkSQLiteQuery : public vtkSQLQuery |
655 |
- { |
656 |
-@@ -155,7 +155,7 @@ |
657 |
- vtkSQLiteQuery(const vtkSQLiteQuery &); // Not implemented. |
658 |
- void operator=(const vtkSQLiteQuery &); // Not implemented. |
659 |
- |
660 |
-- vtk_sqlite3_stmt *Statement; |
661 |
-+ sqlite3_stmt *Statement; |
662 |
- bool InitialFetch; |
663 |
- int InitialFetchResult; |
664 |
- char *LastErrorText; |
665 |
---- VTK/ThirdParty/sqlite/CMakeLists.txt |
666 |
-+++ VTK/ThirdParty/sqlite/CMakeLists.txt |
667 |
-@@ -1,4 +1,4 @@ |
668 |
--set(vtksqlite_THIRD_PARTY 1) |
669 |
--set(vtksqlite_LIBRARIES vtksqlite) |
670 |
-+#set(vtksqlite_THIRD_PARTY 1) |
671 |
-+set(vtksqlite_LIBRARIES sqlite3) |
672 |
- vtk_module_export_info() |
673 |
--add_subdirectory(vtksqlite) |
674 |
-+#add_subdirectory(vtksqlite) |
675 |
|
676 |
diff --git a/sci-visualization/paraview/files/paraview-4.0.1-vtk-cg-path.patch b/sci-visualization/paraview/files/paraview-4.0.1-vtk-cg-path.patch |
677 |
deleted file mode 100644 |
678 |
index 58ddde9..00000000 |
679 |
--- a/sci-visualization/paraview/files/paraview-4.0.1-vtk-cg-path.patch |
680 |
+++ /dev/null |
681 |
@@ -1,36 +0,0 @@ |
682 |
---- ParaView-3.98.0-src/VTK/CMake/FindCg.cmake |
683 |
-+++ ParaView-3.98.0-src/VTK/CMake/FindCg.cmake |
684 |
-@@ -82,6 +82,7 @@ |
685 |
- FIND_PROGRAM( CG_COMPILER cgc |
686 |
- /usr/bin |
687 |
- /usr/local/bin |
688 |
-+ /opt/nvidia-cg-toolkit/bin |
689 |
- DOC "The Cg Compiler" |
690 |
- ) |
691 |
- GET_FILENAME_COMPONENT(CG_COMPILER_DIR "${CG_COMPILER}" PATH) |
692 |
-@@ -89,6 +90,7 @@ |
693 |
- FIND_PATH( CG_INCLUDE_PATH Cg/cg.h |
694 |
- /usr/include |
695 |
- /usr/local/include |
696 |
-+ /opt/nvidia-cg-toolkit/include |
697 |
- ${CG_COMPILER_SUPER_DIR}/include |
698 |
- DOC "The directory where Cg/cg.h resides" |
699 |
- ) |
700 |
-@@ -98,6 +100,8 @@ |
701 |
- /usr/lib |
702 |
- /usr/local/lib64 |
703 |
- /usr/local/lib |
704 |
-+ /opt/nvidia-cg-toolkit/lib64 |
705 |
-+ /opt/nvidia-cg-toolkit/lib |
706 |
- ${CG_COMPILER_SUPER_DIR}/lib64 |
707 |
- ${CG_COMPILER_SUPER_DIR}/lib |
708 |
- DOC "The Cg runtime library" |
709 |
-@@ -108,6 +112,8 @@ |
710 |
- /usr/lib |
711 |
- /usr/local/lib64 |
712 |
- /usr/local/lib |
713 |
-+ /opt/nvidia-cg-toolkit/lib64 |
714 |
-+ /opt/nvidia-cg-toolkit/lib |
715 |
- ${CG_COMPILER_SUPER_DIR}/lib64 |
716 |
- ${CG_COMPILER_SUPER_DIR}/lib |
717 |
- DOC "The Cg runtime library" |
718 |
|
719 |
diff --git a/sci-visualization/paraview/files/paraview-4.1.0-glxext-legacy.patch b/sci-visualization/paraview/files/paraview-4.1.0-glxext-legacy.patch |
720 |
deleted file mode 100644 |
721 |
index 65a5b20..00000000 |
722 |
--- a/sci-visualization/paraview/files/paraview-4.1.0-glxext-legacy.patch |
723 |
+++ /dev/null |
724 |
@@ -1,9 +0,0 @@ |
725 |
---- a/ParaView-v4.1.0/VTK/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx_orig 2014-01-11 15:02:10.000000000 +0100 |
726 |
-+++ b/ParaView-v4.1.0/VTK/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx 2014-11-11 13:12:25.000000000 +0100 |
727 |
-@@ -28,5 +28,5 @@ |
728 |
- // define GLX_GLXEXT_LEGACY to prevent glx.h to include glxext.h provided by |
729 |
- // the system |
730 |
--//#define GLX_GLXEXT_LEGACY |
731 |
-+#define GLX_GLXEXT_LEGACY |
732 |
- #include "GL/glx.h" |
733 |
- |
734 |
|
735 |
diff --git a/sci-visualization/paraview/files/paraview-4.1.0-no-fatal-warnings.patch b/sci-visualization/paraview/files/paraview-4.1.0-no-fatal-warnings.patch |
736 |
deleted file mode 100644 |
737 |
index 531be2f..00000000 |
738 |
--- a/sci-visualization/paraview/files/paraview-4.1.0-no-fatal-warnings.patch |
739 |
+++ /dev/null |
740 |
@@ -1,19 +0,0 @@ |
741 |
-diff --git a/VTK/CMake/vtkCompilerExtras.cmake b/VTK/CMake/vtkCompilerExtras.cmake |
742 |
-index 05b2db9..48d9395 100644 |
743 |
---- a/VTK/CMake/vtkCompilerExtras.cmake |
744 |
-+++ b/VTK/CMake/vtkCompilerExtras.cmake |
745 |
-@@ -15,11 +15,11 @@ if(CMAKE_COMPILER_IS_GNUCXX) |
746 |
- # If we are compiling on Linux then set some extra linker flags too |
747 |
- if(CMAKE_SYSTEM_NAME MATCHES Linux) |
748 |
- set(CMAKE_SHARED_LINKER_FLAGS |
749 |
-- "-Wl,--fatal-warnings -Wl,--no-undefined -lc ${CMAKE_SHARED_LINKER_FLAGS}") |
750 |
-+ "-Wl,--no-undefined -lc ${CMAKE_SHARED_LINKER_FLAGS}") |
751 |
- set(CMAKE_MODULE_LINKER_FLAGS |
752 |
-- "-Wl,--fatal-warnings -Wl,--no-undefined -lc ${CMAKE_SHARED_LINKER_FLAGS}") |
753 |
-+ "-Wl,--no-undefined -lc ${CMAKE_SHARED_LINKER_FLAGS}") |
754 |
- set (CMAKE_EXE_LINKER_FLAGS |
755 |
-- "-Wl,--fatal-warnings -Wl,--no-undefined -lc ${CMAKE_SHARED_LINKER_FLAGS}") |
756 |
-+ "-Wl,--no-undefined -lc ${CMAKE_SHARED_LINKER_FLAGS}") |
757 |
- endif() |
758 |
- |
759 |
- # Now check if we can use visibility to selectively export symbols |
760 |
|
761 |
diff --git a/sci-visualization/paraview/files/paraview-4.1.0-vtk-freetype.patch b/sci-visualization/paraview/files/paraview-4.1.0-vtk-freetype.patch |
762 |
deleted file mode 100644 |
763 |
index b7d3e40..00000000 |
764 |
--- a/sci-visualization/paraview/files/paraview-4.1.0-vtk-freetype.patch |
765 |
+++ /dev/null |
766 |
@@ -1,22 +0,0 @@ |
767 |
---- a/ParaView-v4.2.0-source/VTK/Rendering/FreeType/vtkFreeTypeTools.cxx_orig 2014-12-23 09:25:35.000000000 +0100 |
768 |
-+++ b/ParaView-v4.2.0-source/VTK/Rendering/FreeType/vtkFreeTypeTools.cxx 2014-12-24 09:40:31.886953389 +0100 |
769 |
-@@ -1185,7 +1185,7 @@ |
770 |
- if (bitmap) |
771 |
- { |
772 |
- metaData.ascent = std::max(bitmapGlyph->top - 1, metaData.ascent); |
773 |
-- metaData.descent = std::min(-(bitmap->rows - (bitmapGlyph->top - 1)), |
774 |
-+ metaData.descent = std::min(-(static_cast<int>(bitmap->rows) - (bitmapGlyph->top - 1)), |
775 |
- metaData.descent); |
776 |
- } |
777 |
- ++heightString; |
778 |
-@@ -1952,8 +1952,8 @@ |
779 |
- if (bitmap) |
780 |
- { |
781 |
- bbox[0] = std::min(bbox[0], pen[0] + bitmapGlyph->left); |
782 |
-- bbox[1] = std::max(bbox[1], pen[0] + bitmapGlyph->left + bitmap->width); |
783 |
-- bbox[2] = std::min(bbox[2], pen[1] + bitmapGlyph->top - 1 - bitmap->rows); |
784 |
-+ bbox[1] = std::max(bbox[1], pen[0] + bitmapGlyph->left + static_cast<int>(bitmap->width)); |
785 |
-+ bbox[2] = std::min(bbox[2], pen[1] + bitmapGlyph->top - 1 - static_cast<int>(bitmap->rows)); |
786 |
- bbox[3] = std::max(bbox[3], pen[1] + bitmapGlyph->top - 1); |
787 |
- } |
788 |
- else |
789 |
|
790 |
diff --git a/sci-visualization/paraview/files/paraview-4.2.0-protobuf.patch b/sci-visualization/paraview/files/paraview-4.2.0-protobuf.patch |
791 |
deleted file mode 100644 |
792 |
index 498ad9b..00000000 |
793 |
--- a/sci-visualization/paraview/files/paraview-4.2.0-protobuf.patch |
794 |
+++ /dev/null |
795 |
@@ -1,39 +0,0 @@ |
796 |
-http://paraview.org/Bug/view.php?id=13656 |
797 |
- |
798 |
---- |
799 |
- ParaViewCore/ServerImplementation/Core/CMakeLists.txt | 12 ++++++++++-- |
800 |
- 1 file changed, 10 insertions(+), 2 deletions(-) |
801 |
- |
802 |
-diff --git a/ParaViewCore/ServerImplementation/Core/CMakeLists.txt b/ParaViewCore/ServerImplementation/Core/CMakeLists.txt |
803 |
-index 5ca5168..2a7ff4b 100644 |
804 |
---- a/ParaViewCore/ServerImplementation/Core/CMakeLists.txt |
805 |
-+++ b/ParaViewCore/ServerImplementation/Core/CMakeLists.txt |
806 |
-@@ -82,15 +82,23 @@ set (${vtk-module}_HDRS |
807 |
- #------------------------------------------------------------------------------ |
808 |
- # Generate the protbuf message file. |
809 |
- #------------------------------------------------------------------------------ |
810 |
-+if (VTK_USE_SYSTEM_PROTOBUF) |
811 |
-+ set (_PROTOC_COMPILER protoc) |
812 |
-+ set (_PROTOC_DEPEND "") |
813 |
-+else() |
814 |
-+ set (_PROTOC_COMPILER protoc_compiler) |
815 |
-+ set (_PROTOC_DEPEND ${_PROTOC_COMPILER}) |
816 |
-+endif() |
817 |
-+ |
818 |
- add_custom_command( |
819 |
- OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/vtkPVMessage.pb.h |
820 |
- ${CMAKE_CURRENT_BINARY_DIR}/vtkPVMessage.pb.cc |
821 |
- |
822 |
-- COMMAND protoc_compiler |
823 |
-+ COMMAND ${_PROTOC_COMPILER} |
824 |
- "--cpp_out=dllexport_decl=VTKPVSERVERIMPLEMENTATIONCORE_EXPORT:${CMAKE_CURRENT_BINARY_DIR}" |
825 |
- --proto_path "${CMAKE_CURRENT_SOURCE_DIR}" |
826 |
- "${CMAKE_CURRENT_SOURCE_DIR}/vtkPVMessage.proto" |
827 |
-- DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/vtkPVMessage.proto protoc_compiler |
828 |
-+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/vtkPVMessage.proto ${_PROTOC_DEPEND} |
829 |
- WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} |
830 |
- ) |
831 |
- |
832 |
--- |
833 |
-2.0.5 |
834 |
- |
835 |
|
836 |
diff --git a/sci-visualization/paraview/files/paraview-4.3.1-protobuf-2.6.patch b/sci-visualization/paraview/files/paraview-4.3.1-protobuf-2.6.patch |
837 |
deleted file mode 100644 |
838 |
index 5a7871f..00000000 |
839 |
--- a/sci-visualization/paraview/files/paraview-4.3.1-protobuf-2.6.patch |
840 |
+++ /dev/null |
841 |
@@ -1,177 +0,0 @@ |
842 |
-https://gitlab.kitware.com/ben.boeckel/paraview/commit/40a62e0bd20ceb73d7a545dab73e975fa07cddbb |
843 |
-http://www.vtk.org/Bug/view.php?id=15442#c34997 |
844 |
- |
845 |
-https://bugs.gentoo.org/show_bug.cgi?id=537988 |
846 |
- |
847 |
-This updates the *.proto files to be compatible with version 2.6 and fixes |
848 |
-a bug that prevented successful compilation with protobuf 2.6. |
849 |
- |
850 |
---- a/ParaViewCore/ServerImplementation/Core/vtkPVMessage.proto |
851 |
-+++ b/ParaViewCore/ServerImplementation/Core/vtkPVMessage.proto |
852 |
-@@ -21,7 +21,7 @@ message Variant { |
853 |
- MAP = 7; |
854 |
- } |
855 |
- |
856 |
-- required Type type = 1; |
857 |
-+ optional Type type = 1; |
858 |
- repeated sint64 idtype = 3; |
859 |
- repeated sint32 integer = 4; |
860 |
- repeated double float64 = 5; |
861 |
-@@ -47,8 +47,8 @@ message MessageCollection |
862 |
- |
863 |
- message Message |
864 |
- { |
865 |
-- required uint64 global_id = 1; |
866 |
-- required uint32 location = 2; |
867 |
-+ optional uint64 global_id = 1; |
868 |
-+ optional uint32 location = 2; |
869 |
- optional bool share_only = 3 [default = false]; |
870 |
- optional bool req_def = 4 [default = false]; |
871 |
- optional uint32 client_id = 5 [default = 0]; |
872 |
-@@ -62,10 +62,10 @@ message DefinitionHeader |
873 |
- { |
874 |
- extend Message { |
875 |
- // The classname for the driver process i.e. the client, typically |
876 |
-- required string client_class = 10; |
877 |
-+ optional string client_class = 10; |
878 |
- |
879 |
- // The classname for the process where the processing occurs |
880 |
-- required string server_class = 11; |
881 |
-+ optional string server_class = 11; |
882 |
- } |
883 |
- } |
884 |
- |
885 |
-@@ -76,32 +76,32 @@ message ProxyState |
886 |
- |
887 |
- message SubProxy |
888 |
- { |
889 |
-- required string name = 1; |
890 |
-- required uint32 global_id = 2; |
891 |
-+ optional string name = 1; |
892 |
-+ optional uint32 global_id = 2; |
893 |
- } |
894 |
- |
895 |
- message Annotation |
896 |
- { |
897 |
-- required string key = 1; |
898 |
-- required string value = 2; |
899 |
-+ optional string key = 1; |
900 |
-+ optional string value = 2; |
901 |
- } |
902 |
- |
903 |
- message UserData |
904 |
- { |
905 |
-- required string key = 1; |
906 |
-+ optional string key = 1; |
907 |
- repeated Variant variant = 2; |
908 |
- } |
909 |
- |
910 |
- message Property |
911 |
- { |
912 |
-- required string name = 1; |
913 |
-+ optional string name = 1; |
914 |
- optional Variant value = 2; |
915 |
- repeated UserData user_data = 3; |
916 |
- } |
917 |
- |
918 |
- extend Message { |
919 |
-- required string xml_group = 20; |
920 |
-- required string xml_name = 21; |
921 |
-+ optional string xml_group = 20; |
922 |
-+ optional string xml_name = 21; |
923 |
- optional string xml_sub_proxy_name = 22; |
924 |
- repeated Property property = 23; |
925 |
- repeated SubProxy subproxy = 24; |
926 |
-@@ -118,8 +118,8 @@ message PXMRegistrationState |
927 |
- message Entry |
928 |
- { |
929 |
- optional string group = 1; |
930 |
-- required string name = 2; |
931 |
-- required uint64 global_id = 3; |
932 |
-+ optional string name = 2; |
933 |
-+ optional uint64 global_id = 3; |
934 |
- } |
935 |
- |
936 |
- extend Message { |
937 |
-@@ -135,9 +135,9 @@ message ProxyDefinitionState |
938 |
- { |
939 |
- message ProxyXMLDefinition |
940 |
- { |
941 |
-- required string group = 1; |
942 |
-- required string name = 2; |
943 |
-- required string xml = 3; |
944 |
-+ optional string group = 1; |
945 |
-+ optional string name = 2; |
946 |
-+ optional string xml = 3; |
947 |
- } |
948 |
- |
949 |
- extend Message { |
950 |
-@@ -181,9 +181,9 @@ message LinkState { |
951 |
- OUTPUT = 2; |
952 |
- } |
953 |
- |
954 |
-- required uint32 proxy = 1; |
955 |
-+ optional uint32 proxy = 1; |
956 |
- optional string property_name = 2; |
957 |
-- required Direction direction = 3; |
958 |
-+ optional Direction direction = 3; |
959 |
- } |
960 |
- |
961 |
- extend Message { |
962 |
-@@ -206,7 +206,7 @@ message MousePointer { |
963 |
- } |
964 |
- |
965 |
- extend Message { |
966 |
-- required uint32 view = 70; |
967 |
-+ optional uint32 view = 70; |
968 |
- optional double x = 71 [default = 0]; |
969 |
- optional double y = 72 [default = 0]; |
970 |
- optional bool forceShow = 73 [default = false]; |
971 |
-@@ -219,7 +219,7 @@ message MousePointer { |
972 |
- message ChartViewBounds { |
973 |
- |
974 |
- extend Message { |
975 |
-- required uint32 view = 75; |
976 |
-+ optional uint32 view = 75; |
977 |
- repeated double range = 76; |
978 |
- } |
979 |
- } |
980 |
-@@ -229,7 +229,7 @@ message ChartViewBounds { |
981 |
- message ClientsInformation { |
982 |
- |
983 |
- message ClientInfo { |
984 |
-- required uint32 user = 1; |
985 |
-+ optional uint32 user = 1; |
986 |
- optional string name = 2; |
987 |
- optional bool is_master = 3 [default = false]; |
988 |
- optional bool follow_cam = 4 [default = false]; |
989 |
-@@ -242,8 +242,8 @@ message ClientsInformation { |
990 |
- |
991 |
- message ChatMessage { |
992 |
- extend Message { |
993 |
-- required uint32 author = 84; |
994 |
-- required string txt = 85; |
995 |
-+ optional uint32 author = 84; |
996 |
-+ optional string txt = 85; |
997 |
- } |
998 |
- } |
999 |
- |
1000 |
-@@ -256,7 +256,7 @@ message QtEvent { |
1001 |
- } |
1002 |
- |
1003 |
- extend Message { |
1004 |
-- required QtEventType type = 98; |
1005 |
-+ optional QtEventType type = 98; |
1006 |
- } |
1007 |
- } |
1008 |
- |
1009 |
---- a/ParaViewCore/ServerManager/Rendering/vtkSMCameraLink.cxx |
1010 |
-+++ b/ParaViewCore/ServerManager/Rendering/vtkSMCameraLink.cxx |
1011 |
-@@ -363,6 +363,6 @@ void vtkSMCameraLink::LoadState(const vtkSMMessage *msg, vtkSMProxyLocator *loca |
1012 |
- void vtkSMCameraLink::UpdateState() |
1013 |
- { |
1014 |
- this->Superclass::UpdateState(); |
1015 |
-- this->State->GetExtension(LinkState::sync_interactive_renders, |
1016 |
-+ this->State->SetExtension(LinkState::sync_interactive_renders, |
1017 |
- this->GetSynchronizeInteractiveRenders()); |
1018 |
- } |
1019 |
|
1020 |
diff --git a/sci-visualization/paraview/files/paraview-5.1.0-only-require-cmake-3.3.patch b/sci-visualization/paraview/files/paraview-5.1.0-only-require-cmake-3.3.patch |
1021 |
deleted file mode 100644 |
1022 |
index 103c28a..00000000 |
1023 |
--- a/sci-visualization/paraview/files/paraview-5.1.0-only-require-cmake-3.3.patch |
1024 |
+++ /dev/null |
1025 |
@@ -1,13 +0,0 @@ |
1026 |
-diff --git a/CMakeLists.txt b/CMakeLists.txt |
1027 |
-index d476bb2..bc814f9 100644 |
1028 |
---- a/CMakeLists.txt |
1029 |
-+++ b/CMakeLists.txt |
1030 |
-@@ -28,7 +28,7 @@ |
1031 |
- # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
1032 |
- # |
1033 |
- #========================================================================== |
1034 |
--cmake_minimum_required(VERSION 3.5) |
1035 |
-+cmake_minimum_required(VERSION 3.3) |
1036 |
- |
1037 |
- project(ParaView) |
1038 |
- |
1039 |
|
1040 |
diff --git a/sci-visualization/paraview/paraview-4.1.0-r2.ebuild b/sci-visualization/paraview/paraview-4.1.0-r2.ebuild |
1041 |
deleted file mode 100644 |
1042 |
index 5745716..00000000 |
1043 |
--- a/sci-visualization/paraview/paraview-4.1.0-r2.ebuild |
1044 |
+++ /dev/null |
1045 |
@@ -1,302 +0,0 @@ |
1046 |
-# Copyright 1999-2016 Gentoo Foundation |
1047 |
-# Distributed under the terms of the GNU General Public License v2 |
1048 |
-# $Id$ |
1049 |
- |
1050 |
-EAPI=5 |
1051 |
- |
1052 |
-PYTHON_COMPAT=( python2_7 ) |
1053 |
-inherit eutils multilib versionator python-single-r1 cmake-utils |
1054 |
- |
1055 |
-MAIN_PV=$(get_major_version) |
1056 |
-MAJOR_PV=$(get_version_component_range 1-2) |
1057 |
-MY_P="ParaView-v${PV}-source" |
1058 |
- |
1059 |
-DESCRIPTION="ParaView is a powerful scientific data visualization application" |
1060 |
-HOMEPAGE="http://www.paraview.org" |
1061 |
-SRC_URI="http://www.paraview.org/files/v${MAJOR_PV}/${MY_P}.tar.gz" |
1062 |
-RESTRICT="mirror" |
1063 |
- |
1064 |
-LICENSE="paraview GPL-2" |
1065 |
-KEYWORDS="~amd64 ~x86" |
1066 |
-SLOT="0" |
1067 |
-IUSE="boost cg coprocessing development doc examples ffmpeg mpi mysql nvcontrol plugins python qt4 sqlite tcl test tk" |
1068 |
-RESTRICT="test" |
1069 |
- |
1070 |
-REQUIRED_USE="python? ( mpi ${PYTHON_REQUIRED_USE} ) |
1071 |
- mysql? ( sqlite )" # "vtksqlite, needed by vtkIOSQL" and "vtkIOSQL, needed by vtkIOMySQL" |
1072 |
- |
1073 |
-RDEPEND=" |
1074 |
- dev-libs/expat |
1075 |
- dev-libs/jsoncpp |
1076 |
- dev-libs/libxml2:2 |
1077 |
- <dev-libs/protobuf-2.6 |
1078 |
- media-libs/freetype |
1079 |
- media-libs/libpng:0 |
1080 |
- media-libs/libtheora |
1081 |
- media-libs/tiff:0= |
1082 |
- sci-libs/hdf5[mpi=] |
1083 |
- >=sci-libs/netcdf-4.2[hdf5] |
1084 |
- >=sci-libs/netcdf-cxx-4.2:3 |
1085 |
- sys-libs/zlib |
1086 |
- virtual/jpeg:0 |
1087 |
- virtual/opengl |
1088 |
- >=x11-libs/gl2ps-1.3.8 |
1089 |
- x11-libs/libX11 |
1090 |
- x11-libs/libXext |
1091 |
- x11-libs/libXmu |
1092 |
- x11-libs/libXt |
1093 |
- boost? ( >=dev-libs/boost-1.40.0[mpi?,${PYTHON_USEDEP}] ) |
1094 |
- coprocessing? ( |
1095 |
- plugins? ( |
1096 |
- dev-python/PyQt4 |
1097 |
- dev-qt/qtgui:4 |
1098 |
- ) |
1099 |
- ) |
1100 |
- ffmpeg? ( virtual/ffmpeg ) |
1101 |
- mpi? ( virtual/mpi[cxx,romio] ) |
1102 |
- mysql? ( virtual/mysql ) |
1103 |
- python? ( |
1104 |
- ${PYTHON_DEPS} |
1105 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
1106 |
- dev-python/numpy[${PYTHON_USEDEP}] |
1107 |
- dev-python/sip[${PYTHON_USEDEP}] |
1108 |
- dev-python/twisted-core[${PYTHON_USEDEP}] |
1109 |
- dev-python/zope-interface[${PYTHON_USEDEP}] |
1110 |
- mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] ) |
1111 |
- qt4? ( dev-python/PyQt4[opengl,webkit,${PYTHON_USEDEP}] ) |
1112 |
- ) |
1113 |
- qt4? ( |
1114 |
- dev-qt/designer:4 |
1115 |
- dev-qt/qtgui:4 |
1116 |
- dev-qt/qtopengl:4 |
1117 |
- dev-qt/qthelp:4[compat] |
1118 |
- dev-qt/qtsql:4 |
1119 |
- dev-qt/qtwebkit:4 |
1120 |
- ) |
1121 |
- sqlite? ( dev-db/sqlite:3 ) |
1122 |
- tcl? ( dev-lang/tcl:0= ) |
1123 |
- tk? ( dev-lang/tk:0= )" |
1124 |
-DEPEND="${RDEPEND} |
1125 |
- doc? ( app-doc/doxygen )" |
1126 |
- |
1127 |
-S=${WORKDIR}/${MY_P%-source} |
1128 |
- |
1129 |
-pkg_setup() { |
1130 |
- python-single-r1_pkg_setup |
1131 |
- PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV} |
1132 |
-} |
1133 |
- |
1134 |
-src_prepare() { |
1135 |
- # see patch headers for description |
1136 |
- epatch "${FILESDIR}"/${PN}-4.0.1-xdmf-cstring.patch \ |
1137 |
- "${FILESDIR}"/${PN}-4.0.1-removesqlite.patch \ |
1138 |
- "${FILESDIR}"/${PN}-4.0.1-gcc-4.7.patch \ |
1139 |
- "${FILESDIR}"/${PN}-4.0.1-vtk-cg-path.patch \ |
1140 |
- "${FILESDIR}"/${PN}-4.0.1-Protobuf.patch \ |
1141 |
- "${FILESDIR}"/${P}-glxext-legacy.patch \ |
1142 |
- "${FILESDIR}"/${P}-no-fatal-warnings.patch \ |
1143 |
- "${FILESDIR}"/${P}-vtk-freetype.patch |
1144 |
- |
1145 |
- # lib64 fixes |
1146 |
- sed -i \ |
1147 |
- -e "s:/usr/lib:${EPREFIX}/usr/$(get_libdir):g" \ |
1148 |
- VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/CMakeLists.txt || die |
1149 |
- sed -i \ |
1150 |
- -e "s:\/lib\/python:\/$(get_libdir)\/python:g" \ |
1151 |
- VTK/ThirdParty/xdmf2/vtkxdmf2/CMake/setup_install_paths.py || die |
1152 |
- sed -i \ |
1153 |
- -e "s:lib/paraview-:$(get_libdir)/paraview-:g" \ |
1154 |
- CMakeLists.txt \ |
1155 |
- Plugins/SciberQuestToolKit/CMakeLists.txt \ |
1156 |
- ParaViewConfig.cmake.in \ |
1157 |
- CoProcessing/PythonCatalyst/vtkCPPythonScriptPipeline.cxx \ |
1158 |
- ParaViewCore/ClientServerCore/Core/vtkProcessModuleInitializePython.h \ |
1159 |
- ParaViewCore/ClientServerCore/Core/vtkPVPluginTracker.cxx \ |
1160 |
- Plugins/SciberQuestToolKit/ParaViewPlugin/CMakeLists.txt \ |
1161 |
- Plugins/SciberQuestToolKit/SciberQuest/CMakeLists.txt || die |
1162 |
- |
1163 |
- # no proper switch |
1164 |
- use nvcontrol || { |
1165 |
- sed -i \ |
1166 |
- -e '/VTK_USE_NVCONTROL/s#1#0#' \ |
1167 |
- VTK/Rendering/OpenGL/CMakeLists.txt || die |
1168 |
- } |
1169 |
-} |
1170 |
- |
1171 |
-src_configure() { |
1172 |
- local mysql_lib mysql_includedir |
1173 |
- |
1174 |
- if use mysql ; then |
1175 |
- if [[ $(mysql_config --version | sed 's/\.//g') -lt 5529 ]] ; then |
1176 |
- mysql_lib="/usr/$(get_libdir)/mysql/libmysqlclient.so" |
1177 |
- mysql_includedir="/usr/include/mysql" |
1178 |
- else |
1179 |
- mysql_lib="$(mysql_config --variable=pkglibdir)/libmysqlclient.so" |
1180 |
- mysql_includedir="$(mysql_config --variable=pkgincludedir)" |
1181 |
- fi |
1182 |
- fi |
1183 |
- |
1184 |
- # TODO: use system jsoncpp |
1185 |
- # VTK_USE_SYSTEM_QTTESTING |
1186 |
- # PARAVIEW_USE_SYSTEM_AUTOBAHN |
1187 |
- local mycmakeargs=( |
1188 |
- -DPV_INSTALL_LIB_DIR="${PVLIBDIR}" |
1189 |
- -DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr |
1190 |
- -DEXPAT_INCLUDE_DIR="${EPREFIX}"/usr/include |
1191 |
- -DEXPAT_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libexpat.so |
1192 |
- -DOPENGL_gl_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGL.so |
1193 |
- -DOPENGL_glu_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGLU.so |
1194 |
- -DBUILD_SHARED_LIBS=ON |
1195 |
- -DVTK_USE_SYSTEM_EXPAT=ON |
1196 |
- -DVTK_USE_SYSTEM_FREETYPE=ON |
1197 |
- -DVTK_USE_SYSTEM_GL2PS=ON |
1198 |
- -DVTK_USE_SYSTEM_HDF5=ON |
1199 |
- -DVTK_USE_SYSTEM_JPEG=ON |
1200 |
- -DVTK_USE_SYSTEM_JSONCPP=ON |
1201 |
- -DVTK_USE_SYSTEM_LIBXML2=ON |
1202 |
- -DVTK_USE_SYSTEM_NETCDF=ON |
1203 |
- -DVTK_USE_SYSTEM_OGGTHEORA=ON |
1204 |
- -DVTK_USE_SYSTEM_PNG=ON |
1205 |
- -DVTK_USE_SYSTEM_PROTOBUF=ON |
1206 |
- -DVTK_USE_SYSTEM_TIFF=ON |
1207 |
- -DVTK_USE_SYSTEM_XDMF2=OFF |
1208 |
- -DVTK_USE_SYSTEM_ZLIB=ON |
1209 |
- -DPARAVIEW_USE_SYSTEM_MPI4PY=ON |
1210 |
- -DVTK_USE_SYSTEM_ZOPE=ON |
1211 |
- -DVTK_USE_SYSTEM_TWISTED=ON |
1212 |
- -DCMAKE_VERBOSE_MAKEFILE=ON |
1213 |
- -DCMAKE_COLOR_MAKEFILE=TRUE |
1214 |
- -DVTK_USE_OFFSCREEN=TRUE |
1215 |
- -DCMAKE_USE_PTHREADS=ON |
1216 |
- -DVTK_USE_FFMPEG_ENCODER=OFF |
1217 |
- -DPROTOC_LOCATION=$(type -P protoc) |
1218 |
- -DVTK_Group_StandAlone=ON |
1219 |
- -DMYSQL_INCLUDE_DIRECTORIES="$(usex mysql "${mysql_includedir}" "")" |
1220 |
- -DMYSQL_LIBRARY="$(usex mysql "${mysql_lib}" "")" |
1221 |
- # force this module due to incorrect build system deps |
1222 |
- # wrt bug 460528 |
1223 |
- -DModule_vtkUtilitiesProcessXML=ON |
1224 |
- ) |
1225 |
- |
1226 |
- # TODO: XDMF_USE_MYSQL? |
1227 |
- # VTK_WRAP_JAVA |
1228 |
- mycmakeargs+=( |
1229 |
- $(cmake-utils_use development PARAVIEW_INSTALL_DEVELOPMENT_FILES) |
1230 |
- $(cmake-utils_use qt4 PARAVIEW_BUILD_QT_GUI) |
1231 |
- $(cmake-utils_use qt4 Module_vtkGUISupportQtOpenGL) |
1232 |
- $(cmake-utils_use qt4 Module_vtkGUISupportQtSQL) |
1233 |
- $(cmake-utils_use qt4 Module_vtkGUISupportQtWebkit) |
1234 |
- $(cmake-utils_use qt4 Module_vtkRenderingQt) |
1235 |
- $(cmake-utils_use qt4 Module_vtkViewsQt) |
1236 |
- $(cmake-utils_use qt4 VTK_Group_ParaViewQt) |
1237 |
- $(cmake-utils_use qt4 VTK_Group_Qt) |
1238 |
- $(cmake-utils_use !qt4 PQWIDGETS_DISABLE_QTWEBKIT) |
1239 |
- $(cmake-utils_use boost Module_vtkInfovisBoost) |
1240 |
- $(cmake-utils_use boost Module_vtkInfovisBoostGraphAlg) |
1241 |
- $(cmake-utils_use mpi PARAVIEW_USE_MPI) |
1242 |
- $(cmake-utils_use mpi PARAVIEW_USE_MPI_SSEND) |
1243 |
- $(cmake-utils_use mpi PARAVIEW_USE_ICE_T) |
1244 |
- $(cmake-utils_use mpi VTK_Group_MPI) |
1245 |
- $(cmake-utils_use mpi VTK_XDMF_USE_MPI) |
1246 |
- $(cmake-utils_use mpi XDMF_BUILD_MPI) |
1247 |
- $(cmake-utils_use python PARAVIEW_ENABLE_PYTHON) |
1248 |
- $(cmake-utils_use python VTK_Group_ParaViewPython) |
1249 |
- $(cmake-utils_use python XDMF_WRAP_PYTHON) |
1250 |
- $(cmake-utils_use python Module_vtkPython) |
1251 |
- $(cmake-utils_use python Module_pqPython) |
1252 |
- $(cmake-utils_use python Module_vtkWrappingPythonCore) |
1253 |
- $(cmake-utils_use python Module_vtkPVPythonSupport) |
1254 |
- $(cmake-utils_use python Module_AutobahnPython) |
1255 |
- $(cmake-utils_use python Module_Twisted) |
1256 |
- $(cmake-utils_use python Module_ZopeInterface) |
1257 |
- $(cmake-utils_use python Module_vtkmpi4py) |
1258 |
- $(usex qt4 "$(cmake-utils_use python Module_pqPython)" "-DModule_pqPython=OFF") |
1259 |
- $(cmake-utils_use doc BUILD_DOCUMENTATION) |
1260 |
- $(cmake-utils_use doc PARAVIEW_BUILD_WEB_DOCUMENTATION) |
1261 |
- $(cmake-utils_use examples BUILD_EXAMPLES) |
1262 |
- $(cmake-utils_use cg VTK_USE_CG_SHADERS) |
1263 |
- $(cmake-utils_use mysql Module_vtkIOMySQL) |
1264 |
- $(cmake-utils_use sqlite Module_vtksqlite) |
1265 |
- $(cmake-utils_use coprocessing PARAVIEW_ENABLE_CATALYST) |
1266 |
- $(cmake-utils_use ffmpeg PARAVIEW_ENABLE_FFMPEG) |
1267 |
- $(cmake-utils_use ffmpeg VTK_USE_FFMPEG_ENCODER) |
1268 |
- $(cmake-utils_use ffmpeg Module_vtkIOFFMPEG) |
1269 |
- $(cmake-utils_use tk VTK_Group_Tk) |
1270 |
- $(cmake-utils_use tk VTK_USE_TK) |
1271 |
- $(cmake-utils_use tk Module_vtkRenderingTk) |
1272 |
- $(cmake-utils_use tcl Module_vtkTclTk) |
1273 |
- $(cmake-utils_use tcl Module_vtkWrappingTcl) |
1274 |
- $(cmake-utils_use test BUILD_TESTING) |
1275 |
- ) |
1276 |
- |
1277 |
- if use qt4 ; then |
1278 |
- mycmakeargs+=( -DVTK_INSTALL_QT_DIR=/${PVLIBDIR}/plugins/designer ) |
1279 |
- if use python ; then |
1280 |
- # paraview cannot guess sip directory properly |
1281 |
- mycmakeargs+=( -DSIP_INCLUDE_DIR="${EPREFIX}$(python_get_includedir)" ) |
1282 |
- fi |
1283 |
- fi |
1284 |
- |
1285 |
- # TODO: MantaView VaporPlugin VRPlugin |
1286 |
- mycmakeargs+=( |
1287 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_AdiosReader) |
1288 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO) |
1289 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_ArrowGlyph) |
1290 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_EyeDomeLighting) |
1291 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_ForceTime) |
1292 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_GMVReader) |
1293 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_H5PartReader) |
1294 |
- $(cmake-utils_use plugins RAVIEW_BUILD_PLUGIN_MobileRemoteControl) |
1295 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_Moments) |
1296 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_NonOrthogonalSource) |
1297 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_PacMan) |
1298 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_PointSprite) |
1299 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_PrismPlugin) |
1300 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_QuadView) |
1301 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SLACTools) |
1302 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SciberQuestToolKit) |
1303 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SierraPlotTools) |
1304 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_StreamingParticles) |
1305 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SurfaceLIC) |
1306 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_UncertaintyRendering) |
1307 |
- # these are always needed for plugins |
1308 |
- $(cmake-utils_use plugins Module_vtkFiltersFlowPaths) |
1309 |
- $(cmake-utils_use plugins Module_vtkPVServerManagerApplication) |
1310 |
- ) |
1311 |
- |
1312 |
- cmake-utils_src_configure |
1313 |
-} |
1314 |
- |
1315 |
-src_compile() { |
1316 |
- cmake-utils_src_compile |
1317 |
-} |
1318 |
- |
1319 |
-src_install() { |
1320 |
- cmake-utils_src_install |
1321 |
- |
1322 |
- # set up the environment |
1323 |
- echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} |
1324 |
- |
1325 |
- newicon "${S}"/Applications/ParaView/pvIcon.png paraview.png |
1326 |
- make_desktop_entry paraview "Paraview" paraview |
1327 |
- |
1328 |
- use python && python_optimize "${D}"/usr/$(get_libdir)/${PN}-${MAJOR_PV} |
1329 |
-} |
1330 |
- |
1331 |
-pkg_postinst() { |
1332 |
- # with Qt4.5 there seem to be issues reading data files |
1333 |
- # under certain locales. Setting LC_ALL=C should fix these. |
1334 |
- elog "" |
1335 |
- elog "If you experience data corruption during parsing of" |
1336 |
- elog "data files with paraview please try setting your" |
1337 |
- elog "locale to LC_ALL=C." |
1338 |
- elog "If you plan to use paraview component from an existing shell" |
1339 |
- elog "you should run env-update and . /etc/profile first" |
1340 |
- elog "" |
1341 |
- elog "paraview no longer exports bundled python modules in PYTHONPATH" |
1342 |
- elog "globally due to clashes of bundled packages with system-wide" |
1343 |
- elog "site-packages. If you want to use paraview's python modules" |
1344 |
- elog "export" |
1345 |
- elog " PYTHONPATH=${EPREFIX}/usr/${PVLIBDIR}:${EPREFIX}/usr/${PVLIBDIR}/site-packages" |
1346 |
- elog "as needed." |
1347 |
-} |
1348 |
|
1349 |
diff --git a/sci-visualization/paraview/paraview-4.4.0.ebuild b/sci-visualization/paraview/paraview-4.4.0.ebuild |
1350 |
deleted file mode 100644 |
1351 |
index e583325..00000000 |
1352 |
--- a/sci-visualization/paraview/paraview-4.4.0.ebuild |
1353 |
+++ /dev/null |
1354 |
@@ -1,286 +0,0 @@ |
1355 |
-# Copyright 1999-2016 Gentoo Foundation |
1356 |
-# Distributed under the terms of the GNU General Public License v2 |
1357 |
-# $Id$ |
1358 |
- |
1359 |
-EAPI=5 |
1360 |
- |
1361 |
-PYTHON_COMPAT=( python2_7 ) |
1362 |
-inherit eutils multilib versionator python-single-r1 cmake-utils |
1363 |
- |
1364 |
-MAIN_PV=$(get_major_version) |
1365 |
-MAJOR_PV=$(get_version_component_range 1-2) |
1366 |
-MY_P="ParaView-v${PV}-source" |
1367 |
- |
1368 |
-DESCRIPTION="ParaView is a powerful scientific data visualization application" |
1369 |
-HOMEPAGE="http://www.paraview.org" |
1370 |
-SRC_URI="http://www.paraview.org/files/v${MAJOR_PV}/${MY_P}.tar.gz" |
1371 |
-RESTRICT="mirror" |
1372 |
- |
1373 |
-LICENSE="paraview GPL-2" |
1374 |
-KEYWORDS="~amd64 ~x86" |
1375 |
-SLOT="0" |
1376 |
-IUSE="boost cg coprocessing development doc examples ffmpeg mpi mysql nvcontrol plugins python qt4 sqlite tcl test tk" |
1377 |
-RESTRICT="test" |
1378 |
- |
1379 |
-REQUIRED_USE="python? ( mpi ${PYTHON_REQUIRED_USE} ) |
1380 |
- mysql? ( sqlite )" # "vtksqlite, needed by vtkIOSQL" and "vtkIOSQL, needed by vtkIOMySQL" |
1381 |
- |
1382 |
-RDEPEND=" |
1383 |
- dev-libs/expat |
1384 |
- >=dev-libs/jsoncpp-0.10.1 |
1385 |
- dev-libs/libxml2:2 |
1386 |
- dev-libs/protobuf |
1387 |
- media-libs/freetype |
1388 |
- media-libs/libpng:0 |
1389 |
- media-libs/libtheora |
1390 |
- media-libs/tiff:0= |
1391 |
- sci-libs/hdf5[mpi=] |
1392 |
- >=sci-libs/netcdf-4.2[hdf5] |
1393 |
- >=sci-libs/netcdf-cxx-4.2:3 |
1394 |
- sys-libs/zlib |
1395 |
- virtual/jpeg:0 |
1396 |
- virtual/opengl |
1397 |
- >=x11-libs/gl2ps-1.3.8 |
1398 |
- x11-libs/libX11 |
1399 |
- x11-libs/libXext |
1400 |
- x11-libs/libXmu |
1401 |
- x11-libs/libXt |
1402 |
- coprocessing? ( |
1403 |
- plugins? ( |
1404 |
- dev-python/PyQt4 |
1405 |
- dev-qt/qtgui:4 |
1406 |
- ) |
1407 |
- ) |
1408 |
- ffmpeg? ( virtual/ffmpeg ) |
1409 |
- mpi? ( virtual/mpi[cxx,romio] ) |
1410 |
- mysql? ( virtual/mysql ) |
1411 |
- python? ( |
1412 |
- ${PYTHON_DEPS} |
1413 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
1414 |
- dev-python/numpy[${PYTHON_USEDEP}] |
1415 |
- dev-python/sip[${PYTHON_USEDEP}] |
1416 |
- dev-python/twisted-core |
1417 |
- dev-python/zope-interface[${PYTHON_USEDEP}] |
1418 |
- mpi? ( dev-python/mpi4py ) |
1419 |
- qt4? ( dev-python/PyQt4[opengl,webkit,${PYTHON_USEDEP}] ) |
1420 |
- ) |
1421 |
- qt4? ( |
1422 |
- dev-qt/designer:4 |
1423 |
- dev-qt/qtgui:4 |
1424 |
- dev-qt/qtopengl:4 |
1425 |
- dev-qt/qthelp:4[compat] |
1426 |
- dev-qt/qtsql:4 |
1427 |
- dev-qt/qtwebkit:4 |
1428 |
- ) |
1429 |
- sqlite? ( dev-db/sqlite:3 ) |
1430 |
- tcl? ( dev-lang/tcl:0= ) |
1431 |
- tk? ( dev-lang/tk:0= )" |
1432 |
-DEPEND="${RDEPEND} |
1433 |
- ${PYTHON_DEPS} |
1434 |
- boost? ( >=dev-libs/boost-1.40.0[mpi?,${PYTHON_USEDEP}] ) |
1435 |
- doc? ( app-doc/doxygen )" |
1436 |
- |
1437 |
-S="${WORKDIR}/${MY_P}" |
1438 |
- |
1439 |
-pkg_setup() { |
1440 |
- python-single-r1_pkg_setup |
1441 |
- PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV} |
1442 |
-} |
1443 |
- |
1444 |
-src_prepare() { |
1445 |
- # see patch headers for description |
1446 |
- epatch "${FILESDIR}"/${PN}-4.0.1-xdmf-cstring.patch \ |
1447 |
- "${FILESDIR}"/${PN}-4.0.1-gcc-4.7.patch \ |
1448 |
- "${FILESDIR}"/${PN}-4.2.0-protobuf.patch \ |
1449 |
- "${FILESDIR}"/${PN}-4.3.1-fix-development-install.patch \ |
1450 |
- "${FILESDIR}"/${PN}-4.3.1-protobuf-2.6.patch \ |
1451 |
- "${FILESDIR}"/${P}-removesqlite.patch |
1452 |
- |
1453 |
- # lib64 fixes |
1454 |
- sed -i \ |
1455 |
- -e "s:/usr/lib:${EPREFIX}/usr/$(get_libdir):g" \ |
1456 |
- VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/CMakeLists.txt || die |
1457 |
- sed -i \ |
1458 |
- -e "s:\/lib\/python:\/$(get_libdir)\/python:g" \ |
1459 |
- VTK/ThirdParty/xdmf2/vtkxdmf2/CMake/setup_install_paths.py || die |
1460 |
- sed -i \ |
1461 |
- -e "s:lib/paraview-:$(get_libdir)/paraview-:g" \ |
1462 |
- CMakeLists.txt \ |
1463 |
- Plugins/SciberQuestToolKit/CMakeLists.txt \ |
1464 |
- ParaViewConfig.cmake.in \ |
1465 |
- CoProcessing/PythonCatalyst/vtkCPPythonScriptPipeline.cxx \ |
1466 |
- ParaViewCore/ClientServerCore/Core/vtkProcessModuleInitializePython.h \ |
1467 |
- ParaViewCore/ClientServerCore/Core/vtkPVPluginTracker.cxx \ |
1468 |
- Plugins/SciberQuestToolKit/ParaViewPlugin/CMakeLists.txt \ |
1469 |
- Plugins/SciberQuestToolKit/SciberQuest/CMakeLists.txt || die |
1470 |
- |
1471 |
- # no proper switch |
1472 |
- use nvcontrol || { |
1473 |
- sed -i \ |
1474 |
- -e '/VTK_USE_NVCONTROL/s#1#0#' \ |
1475 |
- VTK/Rendering/OpenGL/CMakeLists.txt || die |
1476 |
- } |
1477 |
-} |
1478 |
- |
1479 |
-src_configure() { |
1480 |
- # VTK_USE_SYSTEM_QTTESTING |
1481 |
- # PARAVIEW_USE_SYSTEM_AUTOBAHN |
1482 |
- local mycmakeargs=( |
1483 |
- -DPV_INSTALL_LIB_DIR="${PVLIBDIR}" |
1484 |
- -DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr |
1485 |
- -DEXPAT_INCLUDE_DIR="${EPREFIX}"/usr/include |
1486 |
- -DEXPAT_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libexpat.so |
1487 |
- -DOPENGL_gl_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGL.so |
1488 |
- -DOPENGL_glu_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGLU.so |
1489 |
- -DBUILD_SHARED_LIBS=ON |
1490 |
- -DVTK_USE_SYSTEM_EXPAT=ON |
1491 |
- -DVTK_USE_SYSTEM_FREETYPE=ON |
1492 |
- -DVTK_USE_SYSTEM_GL2PS=ON |
1493 |
- -DVTK_USE_SYSTEM_HDF5=ON |
1494 |
- -DVTK_USE_SYSTEM_JPEG=ON |
1495 |
- -DVTK_USE_SYSTEM_JSONCPP=ON |
1496 |
- -DVTK_USE_SYSTEM_LIBXML2=ON |
1497 |
- -DVTK_USE_SYSTEM_NETCDF=ON |
1498 |
- -DVTK_USE_SYSTEM_OGGTHEORA=ON |
1499 |
- -DVTK_USE_SYSTEM_PNG=ON |
1500 |
- -DVTK_USE_SYSTEM_PROTOBUF=ON |
1501 |
- -DVTK_USE_SYSTEM_TIFF=ON |
1502 |
- -DVTK_USE_SYSTEM_XDMF2=OFF |
1503 |
- -DVTK_USE_SYSTEM_ZLIB=ON |
1504 |
- -DPARAVIEW_USE_SYSTEM_MPI4PY=ON |
1505 |
- -DVTK_USE_SYSTEM_ZOPE=ON |
1506 |
- -DVTK_USE_SYSTEM_TWISTED=ON |
1507 |
- -DCMAKE_VERBOSE_MAKEFILE=ON |
1508 |
- -DCMAKE_COLOR_MAKEFILE=TRUE |
1509 |
- -DVTK_USE_OFFSCREEN=TRUE |
1510 |
- -DCMAKE_USE_PTHREADS=ON |
1511 |
- -DVTK_USE_FFMPEG_ENCODER=OFF |
1512 |
- -DPROTOC_LOCATION=$(type -P protoc) |
1513 |
- -DVTK_Group_StandAlone=ON |
1514 |
- # force this module due to incorrect build system deps |
1515 |
- # wrt bug 460528 |
1516 |
- -DModule_vtkUtilitiesProcessXML=ON |
1517 |
- ) |
1518 |
- |
1519 |
- # TODO: XDMF_USE_MYSQL? |
1520 |
- # VTK_WRAP_JAVA |
1521 |
- mycmakeargs+=( |
1522 |
- $(cmake-utils_use development PARAVIEW_INSTALL_DEVELOPMENT_FILES) |
1523 |
- $(cmake-utils_use qt4 PARAVIEW_BUILD_QT_GUI) |
1524 |
- $(cmake-utils_use qt4 Module_vtkGUISupportQtOpenGL) |
1525 |
- $(cmake-utils_use qt4 Module_vtkGUISupportQtSQL) |
1526 |
- $(cmake-utils_use qt4 Module_vtkGUISupportQtWebkit) |
1527 |
- $(cmake-utils_use qt4 Module_vtkRenderingQt) |
1528 |
- $(cmake-utils_use qt4 Module_vtkViewsQt) |
1529 |
- $(cmake-utils_use qt4 VTK_Group_ParaViewQt) |
1530 |
- $(cmake-utils_use qt4 VTK_Group_Qt) |
1531 |
- $(cmake-utils_use !qt4 PQWIDGETS_DISABLE_QTWEBKIT) |
1532 |
- $(cmake-utils_use boost Module_vtkInfovisBoost) |
1533 |
- $(cmake-utils_use boost Module_vtkInfovisBoostGraphAlg) |
1534 |
- $(cmake-utils_use mpi PARAVIEW_USE_MPI) |
1535 |
- $(cmake-utils_use mpi PARAVIEW_USE_MPI_SSEND) |
1536 |
- $(cmake-utils_use mpi PARAVIEW_USE_ICE_T) |
1537 |
- $(cmake-utils_use mpi VTK_Group_MPI) |
1538 |
- $(cmake-utils_use mpi VTK_XDMF_USE_MPI) |
1539 |
- $(cmake-utils_use mpi XDMF_BUILD_MPI) |
1540 |
- $(cmake-utils_use python PARAVIEW_ENABLE_PYTHON) |
1541 |
- $(cmake-utils_use python VTK_Group_ParaViewPython) |
1542 |
- $(cmake-utils_use python XDMF_WRAP_PYTHON) |
1543 |
- $(cmake-utils_use python Module_vtkPython) |
1544 |
- $(cmake-utils_use python Module_pqPython) |
1545 |
- $(cmake-utils_use python Module_vtkWrappingPythonCore) |
1546 |
- $(cmake-utils_use python Module_vtkPVPythonSupport) |
1547 |
- $(cmake-utils_use python Module_AutobahnPython) |
1548 |
- $(cmake-utils_use python Module_Twisted) |
1549 |
- $(cmake-utils_use python Module_ZopeInterface) |
1550 |
- $(cmake-utils_use python Module_vtkmpi4py) |
1551 |
- $(usex qt4 "$(cmake-utils_use python Module_pqPython)" "-DModule_pqPython=OFF") |
1552 |
- $(cmake-utils_use doc BUILD_DOCUMENTATION) |
1553 |
- $(cmake-utils_use doc PARAVIEW_BUILD_WEB_DOCUMENTATION) |
1554 |
- $(cmake-utils_use examples BUILD_EXAMPLES) |
1555 |
- $(cmake-utils_use cg VTK_USE_CG_SHADERS) |
1556 |
- $(cmake-utils_use mysql Module_vtkIOMySQL) |
1557 |
- $(cmake-utils_use sqlite Module_vtksqlite) |
1558 |
- $(cmake-utils_use coprocessing PARAVIEW_ENABLE_CATALYST) |
1559 |
- $(cmake-utils_use ffmpeg PARAVIEW_ENABLE_FFMPEG) |
1560 |
- $(cmake-utils_use ffmpeg VTK_USE_FFMPEG_ENCODER) |
1561 |
- $(cmake-utils_use ffmpeg Module_vtkIOFFMPEG) |
1562 |
- $(cmake-utils_use tk VTK_Group_Tk) |
1563 |
- $(cmake-utils_use tk VTK_USE_TK) |
1564 |
- $(cmake-utils_use tk Module_vtkRenderingTk) |
1565 |
- $(cmake-utils_use tcl Module_vtkTclTk) |
1566 |
- $(cmake-utils_use tcl Module_vtkWrappingTcl) |
1567 |
- $(cmake-utils_use test BUILD_TESTING) |
1568 |
- ) |
1569 |
- |
1570 |
- if use qt4 ; then |
1571 |
- mycmakeargs+=( -DVTK_INSTALL_QT_DIR=/${PVLIBDIR}/plugins/designer ) |
1572 |
- if use python ; then |
1573 |
- # paraview cannot guess sip directory properly |
1574 |
- mycmakeargs+=( -DSIP_INCLUDE_DIR="${EPREFIX}$(python_get_includedir)" ) |
1575 |
- fi |
1576 |
- fi |
1577 |
- |
1578 |
- # TODO: MantaView VaporPlugin VRPlugin |
1579 |
- mycmakeargs+=( |
1580 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_AdiosReader) |
1581 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO) |
1582 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_ArrowGlyph) |
1583 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_EyeDomeLighting) |
1584 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_ForceTime) |
1585 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_GMVReader) |
1586 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_H5PartReader) |
1587 |
- $(cmake-utils_use plugins RAVIEW_BUILD_PLUGIN_MobileRemoteControl) |
1588 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_Moments) |
1589 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_NonOrthogonalSource) |
1590 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_PacMan) |
1591 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_PointSprite) |
1592 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_PrismPlugin) |
1593 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_QuadView) |
1594 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SLACTools) |
1595 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SciberQuestToolKit) |
1596 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SierraPlotTools) |
1597 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_StreamingParticles) |
1598 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SurfaceLIC) |
1599 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_UncertaintyRendering) |
1600 |
- # these are always needed for plugins |
1601 |
- $(cmake-utils_use plugins Module_vtkFiltersFlowPaths) |
1602 |
- $(cmake-utils_use plugins Module_vtkPVServerManagerApplication) |
1603 |
- ) |
1604 |
- |
1605 |
- cmake-utils_src_configure |
1606 |
-} |
1607 |
- |
1608 |
-src_compile() { |
1609 |
- cmake-utils_src_compile |
1610 |
-} |
1611 |
- |
1612 |
-src_install() { |
1613 |
- cmake-utils_src_install |
1614 |
- |
1615 |
- # set up the environment |
1616 |
- echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} |
1617 |
- |
1618 |
- newicon "${S}"/Applications/ParaView/pvIcon-32x32.png paraview.png |
1619 |
- make_desktop_entry paraview "Paraview" paraview |
1620 |
- |
1621 |
- use python && python_optimize "${D}"/usr/$(get_libdir)/${PN}-${MAJOR_PV} |
1622 |
-} |
1623 |
- |
1624 |
-pkg_postinst() { |
1625 |
- # with Qt4.5 there seem to be issues reading data files |
1626 |
- # under certain locales. Setting LC_ALL=C should fix these. |
1627 |
- elog "" |
1628 |
- elog "If you experience data corruption during parsing of" |
1629 |
- elog "data files with paraview please try setting your" |
1630 |
- elog "locale to LC_ALL=C." |
1631 |
- elog "If you plan to use paraview component from an existing shell" |
1632 |
- elog "you should run env-update and . /etc/profile first" |
1633 |
- elog "" |
1634 |
- elog "paraview no longer exports bundled python modules in PYTHONPATH" |
1635 |
- elog "globally due to clashes of bundled packages with system-wide" |
1636 |
- elog "site-packages. If you want to use paraview's python modules" |
1637 |
- elog "export" |
1638 |
- elog " PYTHONPATH=${EPREFIX}/usr/${PVLIBDIR}:${EPREFIX}/usr/${PVLIBDIR}/site-packages" |
1639 |
- elog "as needed." |
1640 |
-} |
1641 |
|
1642 |
diff --git a/sci-visualization/paraview/paraview-5.1.0-r1.ebuild b/sci-visualization/paraview/paraview-5.1.0-r1.ebuild |
1643 |
deleted file mode 100644 |
1644 |
index 23fa295..00000000 |
1645 |
--- a/sci-visualization/paraview/paraview-5.1.0-r1.ebuild |
1646 |
+++ /dev/null |
1647 |
@@ -1,274 +0,0 @@ |
1648 |
-# Copyright 1999-2016 Gentoo Foundation |
1649 |
-# Distributed under the terms of the GNU General Public License v2 |
1650 |
-# $Id$ |
1651 |
- |
1652 |
-EAPI=5 |
1653 |
- |
1654 |
-PYTHON_COMPAT=( python2_7 ) |
1655 |
-inherit eutils multilib versionator python-single-r1 cmake-utils |
1656 |
- |
1657 |
-MAIN_PV=$(get_major_version) |
1658 |
-MAJOR_PV=$(get_version_component_range 1-2) |
1659 |
-MY_P="ParaView-v${PV}" |
1660 |
- |
1661 |
-DESCRIPTION="ParaView is a powerful scientific data visualization application" |
1662 |
-HOMEPAGE="http://www.paraview.org" |
1663 |
-SRC_URI="http://www.paraview.org/files/v${MAJOR_PV}/${MY_P}.tar.gz" |
1664 |
-RESTRICT="mirror" |
1665 |
- |
1666 |
-LICENSE="paraview GPL-2" |
1667 |
-KEYWORDS="~amd64 ~x86" |
1668 |
-SLOT="0" |
1669 |
-IUSE="boost cg coprocessing development doc examples ffmpeg mpi mysql nvcontrol plugins python +qt5 sqlite tcl test tk" |
1670 |
-RESTRICT="test" |
1671 |
- |
1672 |
-REQUIRED_USE="python? ( mpi ${PYTHON_REQUIRED_USE} ) |
1673 |
- mysql? ( sqlite )" # "vtksqlite, needed by vtkIOSQL" and "vtkIOSQL, needed by vtkIOMySQL" |
1674 |
- |
1675 |
-RDEPEND=" |
1676 |
- dev-libs/expat |
1677 |
- >=dev-libs/jsoncpp-0.10.1 |
1678 |
- dev-libs/libxml2:2 |
1679 |
- dev-libs/protobuf |
1680 |
- media-libs/freetype |
1681 |
- media-libs/libpng:0 |
1682 |
- media-libs/libtheora |
1683 |
- media-libs/tiff:0= |
1684 |
- sci-libs/hdf5[mpi=] |
1685 |
- >=sci-libs/netcdf-4.2[hdf5] |
1686 |
- >=sci-libs/netcdf-cxx-4.2:3 |
1687 |
- sys-libs/zlib |
1688 |
- virtual/jpeg:0 |
1689 |
- virtual/opengl |
1690 |
- >=x11-libs/gl2ps-1.3.8 |
1691 |
- x11-libs/libX11 |
1692 |
- x11-libs/libXext |
1693 |
- x11-libs/libXmu |
1694 |
- x11-libs/libXt |
1695 |
- coprocessing? ( |
1696 |
- plugins? ( |
1697 |
- dev-python/PyQt5 |
1698 |
- dev-qt/qtgui:5 |
1699 |
- ) |
1700 |
- ) |
1701 |
- ffmpeg? ( virtual/ffmpeg ) |
1702 |
- mpi? ( virtual/mpi[cxx,romio] ) |
1703 |
- mysql? ( virtual/mysql ) |
1704 |
- python? ( |
1705 |
- ${PYTHON_DEPS} |
1706 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
1707 |
- dev-python/numpy[${PYTHON_USEDEP}] |
1708 |
- dev-python/sip[${PYTHON_USEDEP}] |
1709 |
- dev-python/twisted-core |
1710 |
- dev-python/zope-interface[${PYTHON_USEDEP}] |
1711 |
- mpi? ( dev-python/mpi4py ) |
1712 |
- qt5? ( dev-python/PyQt5[opengl,webkit,${PYTHON_USEDEP}] ) |
1713 |
- ) |
1714 |
- qt5? ( |
1715 |
- dev-qt/designer:5 |
1716 |
- dev-qt/qtgui:5 |
1717 |
- dev-qt/qthelp:5 |
1718 |
- dev-qt/qtopengl:5 |
1719 |
- dev-qt/qtsql:5 |
1720 |
- dev-qt/qttest:5 |
1721 |
- dev-qt/qtwebkit:5 |
1722 |
- dev-qt/qtx11extras:5 |
1723 |
- ) |
1724 |
- sqlite? ( dev-db/sqlite:3 ) |
1725 |
- tcl? ( dev-lang/tcl:0= ) |
1726 |
- tk? ( dev-lang/tk:0= )" |
1727 |
-DEPEND="${RDEPEND} |
1728 |
- ${PYTHON_DEPS} |
1729 |
- >=dev-util/cmake-3.3.1 |
1730 |
- boost? ( >=dev-libs/boost-1.40.0[mpi?,${PYTHON_USEDEP}] ) |
1731 |
- doc? ( app-doc/doxygen )" |
1732 |
- |
1733 |
-S="${WORKDIR}/${MY_P}" |
1734 |
- |
1735 |
-pkg_setup() { |
1736 |
- python-single-r1_pkg_setup |
1737 |
- PVLIBDIR=$(get_libdir)/${PN}-${MAJOR_PV} |
1738 |
-} |
1739 |
- |
1740 |
-src_prepare() { |
1741 |
- # see patch headers for description |
1742 |
- epatch "${FILESDIR}"/${PN}-4.0.1-xdmf-cstring.patch \ |
1743 |
- "${FILESDIR}"/${PN}-4.3.1-fix-development-install.patch \ |
1744 |
- "${FILESDIR}"/${PN}-4.4.0-removesqlite.patch \ |
1745 |
- "${FILESDIR}"/${P}-only-require-cmake-3.3.patch |
1746 |
- |
1747 |
- # lib64 fixes |
1748 |
- sed -i \ |
1749 |
- -e "s:/usr/lib:${EPREFIX}/usr/$(get_libdir):g" \ |
1750 |
- VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/CMakeLists.txt || die |
1751 |
- sed -i \ |
1752 |
- -e "s:\/lib\/python:\/$(get_libdir)\/python:g" \ |
1753 |
- VTK/ThirdParty/xdmf2/vtkxdmf2/CMake/setup_install_paths.py || die |
1754 |
- sed -i \ |
1755 |
- -e "s:lib/paraview-:$(get_libdir)/paraview-:g" \ |
1756 |
- CMakeLists.txt \ |
1757 |
- Plugins/SciberQuestToolKit/CMakeLists.txt \ |
1758 |
- ParaViewConfig.cmake.in \ |
1759 |
- CoProcessing/PythonCatalyst/vtkCPPythonScriptPipeline.cxx \ |
1760 |
- ParaViewCore/ClientServerCore/Core/vtkProcessModuleInitializePython.h \ |
1761 |
- ParaViewCore/ClientServerCore/Core/vtkPVPluginTracker.cxx \ |
1762 |
- Plugins/SciberQuestToolKit/ParaViewPlugin/CMakeLists.txt \ |
1763 |
- Plugins/SciberQuestToolKit/SciberQuest/CMakeLists.txt || die |
1764 |
- |
1765 |
- # no proper switch |
1766 |
- use nvcontrol || { |
1767 |
- sed -i \ |
1768 |
- -e '/VTK_USE_NVCONTROL/s#1#0#' \ |
1769 |
- VTK/Rendering/OpenGL/CMakeLists.txt || die |
1770 |
- } |
1771 |
-} |
1772 |
- |
1773 |
-src_configure() { |
1774 |
- if use qt5; then |
1775 |
- export QT_SELECT=qt5 |
1776 |
- fi |
1777 |
- |
1778 |
- # VTK_USE_SYSTEM_QTTESTING |
1779 |
- # PARAVIEW_USE_SYSTEM_AUTOBAHN |
1780 |
- local mycmakeargs=( |
1781 |
- -DPV_INSTALL_LIB_DIR="${PVLIBDIR}" |
1782 |
- -DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr |
1783 |
- -DEXPAT_INCLUDE_DIR="${EPREFIX}"/usr/include |
1784 |
- -DEXPAT_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libexpat.so |
1785 |
- -DOPENGL_gl_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGL.so |
1786 |
- -DOPENGL_glu_LIBRARY="${EPREFIX}"/usr/$(get_libdir)/libGLU.so |
1787 |
- -DBUILD_SHARED_LIBS=ON |
1788 |
- -DVTK_USE_SYSTEM_EXPAT=ON |
1789 |
- -DVTK_USE_SYSTEM_FREETYPE=ON |
1790 |
- -DVTK_USE_SYSTEM_GL2PS=ON |
1791 |
- -DVTK_USE_SYSTEM_HDF5=ON |
1792 |
- -DVTK_USE_SYSTEM_JPEG=ON |
1793 |
- -DVTK_USE_SYSTEM_JSONCPP=ON |
1794 |
- -DVTK_USE_SYSTEM_LIBXML2=ON |
1795 |
- -DVTK_USE_SYSTEM_NETCDF=ON |
1796 |
- -DVTK_USE_SYSTEM_OGGTHEORA=ON |
1797 |
- -DVTK_USE_SYSTEM_PNG=ON |
1798 |
- -DVTK_USE_SYSTEM_PROTOBUF=ON |
1799 |
- -DVTK_USE_SYSTEM_TIFF=ON |
1800 |
- -DVTK_USE_SYSTEM_XDMF2=OFF |
1801 |
- -DVTK_USE_SYSTEM_ZLIB=ON |
1802 |
- -DPARAVIEW_USE_SYSTEM_MPI4PY=ON |
1803 |
- -DVTK_USE_SYSTEM_ZOPE=ON |
1804 |
- -DVTK_USE_SYSTEM_TWISTED=ON |
1805 |
- -DCMAKE_VERBOSE_MAKEFILE=ON |
1806 |
- -DCMAKE_COLOR_MAKEFILE=TRUE |
1807 |
- -DVTK_USE_OFFSCREEN=TRUE |
1808 |
- -DCMAKE_USE_PTHREADS=ON |
1809 |
- -DVTK_USE_FFMPEG_ENCODER=OFF |
1810 |
- -DPROTOC_LOCATION=$(type -P protoc) |
1811 |
- -DVTK_Group_StandAlone=ON |
1812 |
- # force this module due to incorrect build system deps |
1813 |
- # wrt bug 460528 |
1814 |
- -DModule_vtkUtilitiesProcessXML=ON |
1815 |
- ) |
1816 |
- |
1817 |
- # TODO: XDMF_USE_MYSQL? |
1818 |
- # VTK_WRAP_JAVA |
1819 |
- mycmakeargs+=( |
1820 |
- $(cmake-utils_use development PARAVIEW_INSTALL_DEVELOPMENT_FILES) |
1821 |
- $(cmake-utils_use qt5 PARAVIEW_BUILD_QT_GUI) |
1822 |
- $(usex qt5 "-DPARAVIEW_QT_VERSION=5" "") |
1823 |
- $(cmake-utils_use qt5 Module_vtkGUISupportQtOpenGL) |
1824 |
- $(cmake-utils_use qt5 Module_vtkGUISupportQtSQL) |
1825 |
- $(cmake-utils_use qt5 Module_vtkGUISupportQtWebkit) |
1826 |
- $(cmake-utils_use qt5 Module_vtkRenderingQt) |
1827 |
- $(cmake-utils_use qt5 Module_vtkViewsQt) |
1828 |
- $(cmake-utils_use qt5 VTK_Group_ParaViewQt) |
1829 |
- $(cmake-utils_use qt5 VTK_Group_Qt) |
1830 |
- $(cmake-utils_use !qt5 PQWIDGETS_DISABLE_QTWEBKIT) |
1831 |
- $(cmake-utils_use boost Module_vtkInfovisBoost) |
1832 |
- $(cmake-utils_use boost Module_vtkInfovisBoostGraphAlg) |
1833 |
- $(cmake-utils_use mpi PARAVIEW_USE_MPI) |
1834 |
- $(cmake-utils_use mpi PARAVIEW_USE_MPI_SSEND) |
1835 |
- $(cmake-utils_use mpi PARAVIEW_USE_ICE_T) |
1836 |
- $(cmake-utils_use mpi VTK_Group_MPI) |
1837 |
- $(cmake-utils_use mpi VTK_XDMF_USE_MPI) |
1838 |
- $(cmake-utils_use mpi XDMF_BUILD_MPI) |
1839 |
- $(cmake-utils_use python PARAVIEW_ENABLE_PYTHON) |
1840 |
- $(cmake-utils_use python VTK_Group_ParaViewPython) |
1841 |
- $(cmake-utils_use python XDMF_WRAP_PYTHON) |
1842 |
- $(cmake-utils_use python Module_vtkPython) |
1843 |
- $(cmake-utils_use python Module_pqPython) |
1844 |
- $(cmake-utils_use python Module_vtkWrappingPythonCore) |
1845 |
- $(cmake-utils_use python Module_vtkPVPythonSupport) |
1846 |
- $(cmake-utils_use python Module_AutobahnPython) |
1847 |
- $(cmake-utils_use python Module_Twisted) |
1848 |
- $(cmake-utils_use python Module_ZopeInterface) |
1849 |
- $(cmake-utils_use python Module_vtkmpi4py) |
1850 |
- $(usex qt5 "$(cmake-utils_use python Module_pqPython)" "-DModule_pqPython=OFF") |
1851 |
- $(cmake-utils_use doc BUILD_DOCUMENTATION) |
1852 |
- $(cmake-utils_use doc PARAVIEW_BUILD_WEB_DOCUMENTATION) |
1853 |
- $(cmake-utils_use examples BUILD_EXAMPLES) |
1854 |
- $(cmake-utils_use cg VTK_USE_CG_SHADERS) |
1855 |
- $(cmake-utils_use mysql Module_vtkIOMySQL) |
1856 |
- $(cmake-utils_use sqlite Module_vtksqlite) |
1857 |
- $(cmake-utils_use coprocessing PARAVIEW_ENABLE_CATALYST) |
1858 |
- $(cmake-utils_use ffmpeg PARAVIEW_ENABLE_FFMPEG) |
1859 |
- $(cmake-utils_use ffmpeg VTK_USE_FFMPEG_ENCODER) |
1860 |
- $(cmake-utils_use ffmpeg Module_vtkIOFFMPEG) |
1861 |
- $(cmake-utils_use tk VTK_Group_Tk) |
1862 |
- $(cmake-utils_use tk VTK_USE_TK) |
1863 |
- $(cmake-utils_use tk Module_vtkRenderingTk) |
1864 |
- $(cmake-utils_use tcl Module_vtkTclTk) |
1865 |
- $(cmake-utils_use tcl Module_vtkWrappingTcl) |
1866 |
- $(cmake-utils_use test BUILD_TESTING) |
1867 |
- ) |
1868 |
- |
1869 |
- if use qt5 ; then |
1870 |
- mycmakeargs+=( -DVTK_INSTALL_QT_DIR=/${PVLIBDIR}/plugins/designer ) |
1871 |
- if use python ; then |
1872 |
- # paraview cannot guess sip directory properly |
1873 |
- mycmakeargs+=( -DSIP_INCLUDE_DIR="${EPREFIX}$(python_get_includedir)" ) |
1874 |
- fi |
1875 |
- fi |
1876 |
- |
1877 |
- # TODO: MantaView VaporPlugin VRPlugin |
1878 |
- mycmakeargs+=( |
1879 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_AdiosReader) |
1880 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_AnalyzeNIfTIIO) |
1881 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_ArrowGlyph) |
1882 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_EyeDomeLighting) |
1883 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_ForceTime) |
1884 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_GMVReader) |
1885 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_H5PartReader) |
1886 |
- $(cmake-utils_use plugins RAVIEW_BUILD_PLUGIN_MobileRemoteControl) |
1887 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_Moments) |
1888 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_NonOrthogonalSource) |
1889 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_PacMan) |
1890 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_PointSprite) |
1891 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_PrismPlugin) |
1892 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_QuadView) |
1893 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SLACTools) |
1894 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SciberQuestToolKit) |
1895 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SierraPlotTools) |
1896 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_StreamingParticles) |
1897 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_SurfaceLIC) |
1898 |
- $(cmake-utils_use plugins PARAVIEW_BUILD_PLUGIN_UncertaintyRendering) |
1899 |
- # these are always needed for plugins |
1900 |
- $(cmake-utils_use plugins Module_vtkFiltersFlowPaths) |
1901 |
- $(cmake-utils_use plugins Module_vtkPVServerManagerApplication) |
1902 |
- ) |
1903 |
- |
1904 |
- cmake-utils_src_configure |
1905 |
-} |
1906 |
- |
1907 |
-src_compile() { |
1908 |
- cmake-utils_src_compile |
1909 |
-} |
1910 |
- |
1911 |
-src_install() { |
1912 |
- cmake-utils_src_install |
1913 |
- |
1914 |
- # set up the environment |
1915 |
- echo "LDPATH=${EPREFIX}/usr/${PVLIBDIR}" > "${T}"/40${PN} |
1916 |
- |
1917 |
- newicon "${S}"/Applications/ParaView/pvIcon-32x32.png paraview.png |
1918 |
- make_desktop_entry paraview "Paraview" paraview |
1919 |
- |
1920 |
- use python && python_optimize "${D}"/usr/$(get_libdir)/${PN}-${MAJOR_PV} |
1921 |
-} |