From b8ad40456b025df5655c9c8fdfa984707a171629ddc70c0e6767e9beae7b0750 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Thu, 20 Jun 2013 13:03:57 +0000 Subject: [PATCH] Accepting request 180080 from home:badshah400:branches:science Enable python scripting for paraview OBS-URL: https://build.opensuse.org/request/show/180080 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=17 --- paraview.changes | 8 ++++++++ paraview.spec | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/paraview.changes b/paraview.changes index 73cb41c..26c9d58 100644 --- a/paraview.changes +++ b/paraview.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Jun 20 05:05:52 UTC 2013 - badshah400@gmail.com + +- Enable python scripting with paraview + (cmake variable DPARAVIEW_ENABLE_PYTHON:BOOL=ON); had been + turned off because earlier versions of paraview had some + building issues with this enabled. + ------------------------------------------------------------------- Tue Mar 12 00:43:02 UTC 2013 - badshah400@gmail.com diff --git a/paraview.spec b/paraview.spec index 45adccb..9200cff 100644 --- a/paraview.spec +++ b/paraview.spec @@ -49,6 +49,7 @@ BuildRequires: libQtWebKit-devel BuildRequires: libtiff-devel BuildRequires: openssl-devel BuildRequires: python-devel +%py_requires %if 0%{?suse_version} >= 1140 BuildRequires: qt4-assistant-adp-devel %endif @@ -131,7 +132,7 @@ export CXXFLAGS="%{optflags}" -DPARAVIEW_BUILD_QT_GUI:BOOL=ON \\\ -DPARAVIEW_QT_QMAKE_EXECUTABLE=%{_bindir}/qmake \\\ -DPARAVIEW_BUILD_PLUGIN_SLACTools:BOOL=ON \\\ - -DPARAVIEW_ENABLE_PYTHON:BOOL=OFF \\\ + -DPARAVIEW_ENABLE_PYTHON:BOOL=ON \\\ -DVTK_OPENGL_HAS_OSMESA:BOOL=OFF \\\ -DVTK_USE_SYSTEM_EXPAT:BOOL=ON \\\ -DVTK_USE_SYSTEM_FREETYPE:BOOL=ON \\\