1 |
jlec 12/03/05 10:26:35 |
2 |
|
3 |
Added: mayavi-4.1.0-vtkQt.patch |
4 |
Log: |
5 |
Drop old, #322191; restrict multiabi installation, #405541; include backport patch from upstream, fixes compilation with newer vtk, #399537 |
6 |
|
7 |
(Portage version: 2.2.0_alpha89/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 sci-visualization/mayavi/files/mayavi-4.1.0-vtkQt.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/mayavi/files/mayavi-4.1.0-vtkQt.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/mayavi/files/mayavi-4.1.0-vtkQt.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: mayavi-4.1.0-vtkQt.patch |
16 |
=================================================================== |
17 |
From 2fece6b29c9f3eefa523c8131cce02f724e437f3 Mon Sep 17 00:00:00 2001 |
18 |
Message-Id: <2fece6b29c9f3eefa523c8131cce02f724e437f3.1330934918.git.jlec@g.o> |
19 |
From: martin <martin@think.(none)> |
20 |
Date: Sun, 19 Feb 2012 10:43:39 -0500 |
21 |
Subject: [PATCH] FIX: don't wrap vtkQt classes |
22 |
|
23 |
--- |
24 |
tvtk/code_gen.py | 1 + |
25 |
1 files changed, 1 insertions(+), 0 deletions(-) |
26 |
|
27 |
diff --git a/tvtk/code_gen.py b/tvtk/code_gen.py |
28 |
index f0b0b60..377801e 100644 |
29 |
--- a/tvtk/code_gen.py |
30 |
+++ b/tvtk/code_gen.py |
31 |
@@ -92,6 +92,7 @@ class TVTKGenerator: |
32 |
#classes = dir(vtk) |
33 |
classes = [x.name for x in wrap_gen.get_tree() \ |
34 |
if x.name.startswith('vtk') and \ |
35 |
+ not x.name.startswith('vtkQt') and \ |
36 |
not issubclass(getattr(vtk, x.name), object) ] |
37 |
for nodes in tree: |
38 |
for node in nodes: |
39 |
-- |
40 |
1.7.8.5 |