commit vtk for openSUSE:Factory

2020-10-24 Thread root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2020-10-24 15:17:39

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new.3463 (New)


Package is "vtk"

Sat Oct 24 15:17:39 2020 rev:51 rq:843470 version:9.0.1

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2020-07-20 21:03:40.425232984 
+0200
+++ /work/SRC/openSUSE:Factory/.vtk.new.3463/vtk.changes2020-10-24 
15:17:59.392259796 +0200
@@ -1,0 +2,6 @@
+Tue Oct 20 14:06:35 UTC 2020 - Ismail Dönmez 
+
+- Add vtk-freetype-2.10.3-replace-FT_CALLBACK_DEF.patch to fix
+  compilation with FreeType 2.10.3+
+
+---

New:

  vtk-freetype-2.10.3-replace-FT_CALLBACK_DEF.patch



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.HM0mhz/_old  2020-10-24 15:18:00.244260604 +0200
+++ /var/tmp/diff_new_pack.HM0mhz/_new  2020-10-24 15:18:00.248260608 +0200
@@ -148,6 +148,8 @@
 Patch13:0001-Fix-PyVTKAddFile_-function-signature-mismatch.patch
 # PATCH-FIX-UPSTREAM -- 
https://gitlab.kitware.com/vtk/vtk/-/merge_requests/7115
 Patch14:0001-Replace-invalid-GL_LINE-with-GL_LINES-for-glDrawArra.patch
+# PATCH-FIX-UPSTREAM -- https://gitlab.kitware.com/vtk/vtk/-/issues/18033
+Patch15:vtk-freetype-2.10.3-replace-FT_CALLBACK_DEF.patch
 BuildRequires:  R-base-devel
 BuildRequires:  chrpath
 BuildRequires:  cmake >= 3.4
@@ -404,6 +406,7 @@
 %endif
 %patch13 -p1
 %patch14 -p1
+%patch15 -p1
 
 # Replace relative path ../../../../VTKData with %%{_datadir}/vtkdata
 # otherwise it will break on symlinks.

++ vtk-freetype-2.10.3-replace-FT_CALLBACK_DEF.patch ++
Index: VTK-9.0.1/Rendering/FreeType/vtkFreeTypeTools.cxx
===
--- VTK-9.0.1.orig/Rendering/FreeType/vtkFreeTypeTools.cxx
+++ VTK-9.0.1/Rendering/FreeType/vtkFreeTypeTools.cxx
@@ -378,7 +378,7 @@ FTC_CMapCache* vtkFreeTypeTools::GetCMap
 }
 
 //
-FT_CALLBACK_DEF(FT_Error)
+extern "C" FT_Error
 vtkFreeTypeToolsFaceRequester(
   FTC_FaceID face_id, FT_Library lib, FT_Pointer request_data, FT_Face* face)
 {
Index: VTK-9.0.1/Rendering/FreeTypeFontConfig/vtkFontConfigFreeTypeTools.cxx
===
--- VTK-9.0.1.orig/Rendering/FreeTypeFontConfig/vtkFontConfigFreeTypeTools.cxx
+++ VTK-9.0.1/Rendering/FreeTypeFontConfig/vtkFontConfigFreeTypeTools.cxx
@@ -26,10 +26,8 @@
 
 vtkStandardNewMacro(vtkFontConfigFreeTypeTools);
 
-namespace
-{
 // The FreeType face requester callback:
-FT_CALLBACK_DEF(FT_Error)
+extern "C" FT_Error
 vtkFontConfigFreeTypeToolsFaceRequester(
   FTC_FaceID face_id, FT_Library lib, FT_Pointer request_data, FT_Face* face)
 {
@@ -71,7 +69,6 @@ vtkFontConfigFreeTypeToolsFaceRequester(
 
   return static_cast(0);
 }
-} // end anon namespace
 
 void vtkFontConfigFreeTypeTools::PrintSelf(ostream& os, vtkIndent indent)
 {



commit vtk for openSUSE:Factory

2020-07-20 Thread root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2020-07-20 21:01:38

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new.3592 (New)


Package is "vtk"

Mon Jul 20 21:01:38 2020 rev:50 rq:821695 version:9.0.1

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2020-06-25 15:08:14.589518734 
+0200
+++ /work/SRC/openSUSE:Factory/.vtk.new.3592/vtk.changes2020-07-20 
21:03:40.425232984 +0200
@@ -1,0 +2,33 @@
+Thu Jul 16 16:55:31 UTC 2020 - Stefan Brüns 
+
+- Update to version 9.0.1:
+  * Drop obsolete patches:
++ bundled_exodusii_add_missing_libpthread.patch
++ vtk-parallelgeometry-dependency.patch
++ vtk-qt-5.15-include-QPainterPath.patch
+- Explicitly enable module RenderingContextOpenGL2 required for PCL
+- Conditionally add pugixml-devel Requires in devel package
+- Make devel package installable even when built without Java
+- Remove CAPITALIZATION from comments
+- Drop obsolete TK build dependency
+- Drop unused wget build dependency
+- Wrap devel-doc generation in bcond (keep defaulted to off), and
+  drop the essentially empty package when disabled.
+- Fix build on ARM/Qt GLES (boo#1172723):
+  * set VTK_OPENGL_USE_GLES
+  * Add 0001-clean-up-some-old-opengl-es-stuff.patch
+  * Add 0001-expose-1d-texture-options.patch
+  * Add 0001-Remove-duplicate-check-for-QOpenGLFunctions_3_2_Core.patch
+  * Rebase 0001-Allow-compilation-on-GLES-platforms.patch
+  * Add 0001-Replace-last-glDrawBuffer-call-with-glDrawBuffers-1.patch
+  * Add 0001-Use-2D-textures-for-1D-texture-emulation-on-GLES.patch
+  * Add 0001-Add-missing-guard-required-for-GLES-to-disable-stere.patch
+  * Add 0001-Correct-GL_BACK-GL_BACK_LEFT-mapping-on-GLES.patch
+  * Add 0002-Use-GL_DRAW_BUFFER0-instead-of-GL_DRAW_BUFFER-for-GL.patch
+  * Add 0001-GL_POINT_SPRITE-is-only-available-for-Compatibility-.patch
+  * Add 0002-Guard-GL_LINE_SMOOTH-for-GLES.patch
+  * Add 0001-Guard-glPointSize-with-GL_ES_VERSION_3_0.patch
+- Add 0001-Fix-PyVTKAddFile_-function-signature-mismatch.patch
+- Add 0001-Replace-invalid-GL_LINE-with-GL_LINES-for-glDrawArra.patch
+
+---

Old:

  VTK-9.0.0.tar.gz
  bundled_exodusii_add_missing_libpthread.patch
  vtk-parallelgeometry-dependency.patch
  vtk-qt-5.15-include-QPainterPath.patch

New:

  0001-Add-missing-guard-required-for-GLES-to-disable-stere.patch
  0001-Correct-GL_BACK-GL_BACK_LEFT-mapping-on-GLES.patch
  0001-Fix-PyVTKAddFile_-function-signature-mismatch.patch
  0001-GL_POINT_SPRITE-is-only-available-for-Compatibility-.patch
  0001-Guard-glPointSize-with-GL_ES_VERSION_3_0.patch
  0001-Remove-duplicate-check-for-QOpenGLFunctions_3_2_Core.patch
  0001-Replace-invalid-GL_LINE-with-GL_LINES-for-glDrawArra.patch
  0001-Replace-last-glDrawBuffer-call-with-glDrawBuffers-1.patch
  0001-clean-up-some-old-opengl-es-stuff.patch
  0001-expose-1d-texture-options.patch
  0002-Guard-GL_LINE_SMOOTH-for-GLES.patch
  0002-Use-GL_DRAW_BUFFER0-instead-of-GL_DRAW_BUFFER-for-GL.patch
  VTK-9.0.1.tar.gz



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.fEd8GV/_old  2020-07-20 21:03:43.993236601 +0200
+++ /var/tmp/diff_new_pack.fEd8GV/_new  2020-07-20 21:03:43.997236606 +0200
@@ -19,6 +19,7 @@
 %global flavor @BUILD_FLAVOR@%{nil}
 
 %bcond_with examples
+%bcond_with documentation
 
 %if 0%{?sle_version} >= 150200
 %define DisOMPI1 ExclusiveArch:  do_not_build
@@ -27,9 +28,15 @@
 %define DisOMPI3 ExclusiveArch:  do_not_build
 %endif
 
+%ifarch %arm aarch64
+%bcond_without gles
+%else
+%bcond_withgles
+%endif
+
 %define pkgname vtk
 
-# PUGIXML, GL2PS IN LEAPS ARE TOO OLD
+# pugixml and gl2ps in Leap 15.x are too old
 %if 0%{?suse_version} <= 1500
 %bcond_withpugixml
 %bcond_withgl2ps
@@ -38,9 +45,9 @@
 %bcond_without gl2ps
 %endif
 
-# PEGTL IN LEAP 15.1 IS TOO OLD (< 2.0.0)
-# cmake STILL CHECKS FOR JAVAH (AND CHEATING WITH {_bindir}/true NO LONGER 
WORKS)
-%if 0%{?suse_version} == 1500 && 0%{?sle_version} == 150100
+# pegtl in Leap 15.1 is too old (< 2.0.0)
+# JAVA bindings fail to build
+%if 0%{?sle_version} == 150100
 %bcond_withjava
 %bcond_withpegtl
 %else
@@ -99,13 +106,13 @@
 %define shlib   %{vtklib}
 
 Name:   vtk%{?my_suffix}
-Version:9.0.0
+Version:9.0.1
 Release:0
 %define series  9.0
+Summary:The Visualization Toolkit - A high level 3D visualization 
library
 # This is a variant BSD license, a cross between BSD and ZLIB.
 # For all intents, it has the same rights and restrictions as BSD.
 # http://fedoraproject.org/wiki/Licensing/BSD#VTKBSDVariant
-Summary:The Visualization Toolkit - A high level 3D 

commit vtk for openSUSE:Factory

2020-06-25 Thread root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2020-06-25 15:07:10

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new.3060 (New)


Package is "vtk"

Thu Jun 25 15:07:10 2020 rev:49 rq:816845 version:9.0.0

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2020-06-19 17:26:01.588353577 
+0200
+++ /work/SRC/openSUSE:Factory/.vtk.new.3060/vtk.changes2020-06-25 
15:08:14.589518734 +0200
@@ -1,0 +2,5 @@
+Mon Jun 15 14:47:31 UTC 2020 - Andreas Schwab 
+
+- Drop -ffat-lto-objects to avoid wasting disk space
+
+---



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.nFdJMD/_old  2020-06-25 15:08:15.657522085 +0200
+++ /var/tmp/diff_new_pack.nFdJMD/_new  2020-06-25 15:08:15.661522097 +0200
@@ -223,8 +223,8 @@
 
 %packagedevel
 Summary:VTK header files for building C++ code
-# not strictly necessary, but required by VTKs cmake files
 Group:  Development/Libraries/C and C++
+# not strictly necessary, but required by VTKs cmake files
 Requires:   %{name}-java = %{version}
 Requires:   %{shlib} = %{version}
 Requires:   R-core-devel
@@ -370,7 +370,6 @@
 grep -rl '\.\./\.\./\.\./\.\./VTKData' . | xargs -r perl -pi 
-e's,\.\./\.\./\.\./\.\./VTKData,%{_datadir}/vtkdata,g'
 
 %build
-%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
 %if %{with mpi}
 source %{mpiprefix}/bin/mpivars.sh
 export CC=mpicc




commit vtk for openSUSE:Factory

2020-06-19 Thread root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2020-06-19 17:24:53

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new.3606 (New)


Package is "vtk"

Fri Jun 19 17:24:53 2020 rev:48 rq:815874 version:9.0.0

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2020-06-09 00:03:27.713034739 
+0200
+++ /work/SRC/openSUSE:Factory/.vtk.new.3606/vtk.changes2020-06-19 
17:26:01.588353577 +0200
@@ -1,0 +2,5 @@
+Wed Jun 10 12:57:24 UTC 2020 - Guillaume GARDET 
+
+- Update _constraints to avoid OOM errors
+
+---



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.ZPuP6i/_old  2020-06-19 17:26:03.200358293 +0200
+++ /var/tmp/diff_new_pack.ZPuP6i/_new  2020-06-19 17:26:03.200358293 +0200
@@ -39,7 +39,7 @@
 %endif
 
 # PEGTL IN LEAP 15.1 IS TOO OLD (< 2.0.0)
-# cmake STILL CHECKS FOR JAVAH (AND CHEATING WITH %{_bindir}/true NO LONGER 
WORKS)
+# cmake STILL CHECKS FOR JAVAH (AND CHEATING WITH {_bindir}/true NO LONGER 
WORKS)
 %if 0%{?suse_version} == 1500 && 0%{?sle_version} == 150100
 %bcond_withjava
 %bcond_withpegtl

++ _constraints ++
--- /var/tmp/diff_new_pack.ZPuP6i/_old  2020-06-19 17:26:03.244358422 +0200
+++ /var/tmp/diff_new_pack.ZPuP6i/_new  2020-06-19 17:26:03.244358422 +0200
@@ -1,5 +1,8 @@
 
 
+  
+3
+  
   
 12
   




commit vtk for openSUSE:Factory

2020-06-08 Thread root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2020-06-08 23:59:37

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new.3606 (New)


Package is "vtk"

Mon Jun  8 23:59:37 2020 rev:47 rq:811182 version:9.0.0

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2020-05-01 11:11:47.739644212 
+0200
+++ /work/SRC/openSUSE:Factory/.vtk.new.3606/vtk.changes2020-06-09 
00:03:27.713034739 +0200
@@ -1,0 +2,53 @@
+Sun May 31 20:28:03 UTC 2020 - Atri Bhattacharya 
+
+- Add vtk-qt-5.15-include-QPainterPath.patch: Include QPainterPath
+  to fix build failures against Qt 5.15; patch taken from
+  upstream, see
+  .
+- The %%cmake macro sets CMAKE_SKIP_RPATH=ON for Leap 15.x which
+  causes build failures; set it to OFF and set
+  CMAKE_SKIP_INSTALL_RPATH=ON for openSUSE <= 1500. See
+  
.
+- Build without pegtl for distributions where pegtl > 2.0 is
+  unavailable (Leap 15.1).
+- Disable java bindings for Leap 15.1 only where cmake still
+  searches for the javah binary (and setting it to %{_bindir}/true
+  seems to no longer work).
+- Run ld post scripts for vtk-qt.
+
+---
+Fri May  8 13:33:26 UTC 2020 - Atri Bhattacharya 
+
+- Update to version 9.0.0 
+  * See https://discourse.vtk.org/t/vtk-9-0-0/3205.
+- Rebase patches still required for building:
+  * bundled_exodusii_add_missing_libpthread.patch: Update to
+upstream patch
+(https://gitlab.kitware.com/vtk/vtk/-/merge_requests/6865).
+  * bundled_libharu_add_missing_libm.patch
+- Pass VTK_PYTHON_OPTIONAL_LINK:BOOL=OFF to cmake to link against
+  the system python library explicitly.
+- Add vtk-parallelgeometry-dependency.patch to fix a missing
+  dependency for vtkparallelgeometry (see
+  
https://discourse.vtk.org/t/building-vtk-9-0-fails-when-using-mpi-support/3227).
+- Comment out 0001-Allow-compilation-on-GLES-platforms.patch that
+  no longer applies and needs extensive rebasing.
+- Drop patches incorporated or otherwise fixed upstream:
+  * 0001-Make-code-calling-proj4-compatible-with-proj4-5.0-an.patch
+  * 0001-Add-libogg-to-IOMovie-target-link-libraries.patch
+  * python38.patch
+  * reproducible.patch
+- Adapt to changes in upstream's cmake script:
+  * Replace old options by their newer versions where applicable.
+  * Pass VTK_USE_EXTERNAL=ON to use system libraries by default
+except for gl2ps, haru, and pugixml.
+- New BuildRequires: pegtl-devel and utfcpp-devel.
+- No longer needed to pass
+  Java_JAVAH_EXECUTABLE:PATH=%{_bindir}/true to cmake; script does
+  not look for javah any more.
+- Use autosetup to set up and patch sources: simplifies applying
+  changing list of patches; use an if guard to avoid patch needing
+  rebase while not running into conflict with factory bot.
+- Use system gl2ps for openSUSE > 1500.
+
+---

Old:

  0001-Add-libogg-to-IOMovie-target-link-libraries.patch
  0001-Make-code-calling-proj4-compatible-with-proj4-5.0-an.patch
  VTK-8.2.0.tar.gz
  python38.patch
  reproducible.patch

New:

  VTK-9.0.0.tar.gz
  vtk-parallelgeometry-dependency.patch
  vtk-qt-5.15-include-QPainterPath.patch



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.LVvW3m/_old  2020-06-09 00:03:29.809042176 +0200
+++ /var/tmp/diff_new_pack.LVvW3m/_new  2020-06-09 00:03:29.813042190 +0200
@@ -18,8 +18,6 @@
 
 %global flavor @BUILD_FLAVOR@%{nil}
 
-# FIXME: ENABLE EXAMPLES BY DEFAULT WHEN VERSION 9.0 IS PACKAGED
-# [https://gitlab.kitware.com/vtk/vtk/issues/17619]
 %bcond_with examples
 
 %if 0%{?sle_version} >= 150200
@@ -31,17 +29,30 @@
 
 %define pkgname vtk
 
+# PUGIXML, GL2PS IN LEAPS ARE TOO OLD
 %if 0%{?suse_version} <= 1500
 %bcond_withpugixml
+%bcond_withgl2ps
 %else
 %bcond_without pugixml
+%bcond_without gl2ps
+%endif
+
+# PEGTL IN LEAP 15.1 IS TOO OLD (< 2.0.0)
+# cmake STILL CHECKS FOR JAVAH (AND CHEATING WITH %{_bindir}/true NO LONGER 
WORKS)
+%if 0%{?suse_version} == 1500 && 0%{?sle_version} == 150100
+%bcond_withjava
+%bcond_withpegtl
+%else
+%bcond_without java
+%bcond_without pegtl
 %endif
+
 # Need patched version with HPDF_SHADING
 %bcond_withharu
-# Need unrelased version > 1.4.0 with e.g. gl2psTextOptColorBL
-%bcond_withgl2ps
 
 %if "%{flavor}" == ""
+%define my_suffix %{nil}
 %define my_prefix %_prefix
 %define my_bindir %_bindir
 %define my_libdir %_libdir
@@ -88,9 +99,9 @@
 %define shlib   %{vtklib}
 
 Name:  

commit vtk for openSUSE:Factory

2020-05-01 Thread root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2020-05-01 11:10:56

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new.2738 (New)


Package is "vtk"

Fri May  1 11:10:56 2020 rev:46 rq:799061 version:8.2.0

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2020-03-12 23:11:23.111302108 
+0100
+++ /work/SRC/openSUSE:Factory/.vtk.new.2738/vtk.changes2020-05-01 
11:11:47.739644212 +0200
@@ -1,0 +2,23 @@
+Mon Apr 27 11:00:45 UTC 2020 - Atri Bhattacharya 
+
+- Fix serial builds broken due to disabling the building of
+  examples; instead of commenting out sections of the specfile
+  related to examples, use %bcond_with to disable building
+  examples by default and the corresponding conditionals where
+  appropriate.
+
+---
+Sun Apr 26 04:21:40 UTC 2020 - Bernhard Wiedemann 
+
+- add reproducible.patch to override build date and to sort entries
+  (boo#1047218, boo#1041090)
+
+---
+Fri Apr 24 08:28:02 UTC 2020 - Atri Bhattacharya 
+
+- Disable building examples to prevent vtkLocalExample.java
+  randomly missing from vtk.jar (boo#1138295, see also upstream
+  recommendation in
+  https://gitlab.kitware.com/vtk/vtk/issues/17619).
+
+---

New:

  reproducible.patch



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.azS20y/_old  2020-05-01 11:11:50.419650040 +0200
+++ /var/tmp/diff_new_pack.azS20y/_new  2020-05-01 11:11:50.419650040 +0200
@@ -18,6 +18,10 @@
 
 %global flavor @BUILD_FLAVOR@%{nil}
 
+# FIXME: ENABLE EXAMPLES BY DEFAULT WHEN VERSION 9.0 IS PACKAGED
+# [https://gitlab.kitware.com/vtk/vtk/issues/17619]
+%bcond_with examples
+
 %if 0%{?sle_version} >= 150200
 %define DisOMPI1 ExclusiveArch:  do_not_build
 %endif
@@ -110,6 +114,8 @@
 Patch6: 0001-Make-code-calling-proj4-compatible-with-proj4-5.0-an.patch
 # PATCH-FIX-UPSTREAM -- Support for python3.8
 Patch7: python38.patch
+# PATCH-FIX-UPSTREAM https://gitlab.kitware.com/vtk/vtk/merge_requests/5633 + 
5634
+Patch8: reproducible.patch
 BuildRequires:  R-base-devel
 BuildRequires:  chrpath
 BuildRequires:  cmake >= 3.4
@@ -352,6 +358,7 @@
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
 
 # Replace relative path ../../../../VTKData with %%{_datadir}/vtkdata
 # otherwise it will break on symlinks.
@@ -378,7 +385,7 @@
 # since JDK8.
 %cmake \
 -DBUILD_DOCUMENTATION:BOOL=ON \
--DBUILD_EXAMPLES:BOOL=ON \
+-DBUILD_EXAMPLES:BOOL=%{?with_examples:ON}%{!?with_examples:OFF} \
 -DBUILD_TESTING:BOOL=OFF \
 -DCMAKE_NO_BUILTIN_CHRPATH:BOOL=ON \
 -DJava_JAVAH_EXECUTABLE:PATH=%{_bindir}/true \
@@ -430,6 +437,7 @@
 %install
 %cmake_install
 
+%if %{with examples}
 # List of executable examples
 cat > examples.list << EOF
 AmbientSpheres
@@ -481,6 +489,8 @@
 perl -pi -e's,^,%{my_bindir}/,' examples.list
 %endif
 
+%endif
+
 %fdupes -s %{buildroot}
 
 %check
@@ -493,6 +503,7 @@
 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{buildroot}%{my_libdir}
 export PYTHONPATH=$PYTHONPATH:%{buildroot}%{python3_sitearch}
 python3 -c "import vtk"
+find %{buildroot} . -name vtk.cpython-3*.pyc -delete # drop unreproducible 
time-based .pyc file
 
 %post   -n %{shlib} -p /sbin/ldconfig
 %postun -n %{shlib} -p /sbin/ldconfig
@@ -559,9 +570,11 @@
 %dir %{my_libdir}/qt5/plugins/designer/
 %{my_libdir}/qt5/plugins/designer/libQVTKWidgetPlugin.so
 
+%if %{with examples}
 %if "%{flavor}" == ""
 %files examples -f examples.list
 %license Copyright.txt
 %endif
+%endif
 
 %changelog

++ reproducible.patch ++
https://gitlab.kitware.com/vtk/vtk/merge_requests/5633
https://gitlab.kitware.com/vtk/vtk/merge_requests/5634

Index: VTK-8.2.0/Utilities/Doxygen/doc_codematch.pl
===
--- VTK-8.2.0.orig/Utilities/Doxygen/doc_codematch.pl
+++ VTK-8.2.0/Utilities/Doxygen/doc_codematch.pl
@@ -249,7 +249,7 @@ foreach my $source (@files) {
 
 my $preamble = "\@par  " . $args{"label"} . ":\n";
 my $doc = $preamble .
-  "  " . join(" ", keys %{$class2matches{$class}}) . "\n";
+  "  " . join(" ", sort keys %{$class2matches{$class}}) . "\n";
 
 if ($block !~ s/($preamble.+?)(\s*\@par|\z)/$doc$2/gms) {
 $block .= "\n$doc";
@@ -282,7 +282,7 @@ my $header;
 my (@summary, @credits);
 
 push @summary,
-  "  - $nb_files implementation file(s) returning " . scalar (keys 
%allmatches) . " word(s) for " . scalar (keys %allclasses) . " classe(es) on " 
. localtime(),
+  "  - $nb_files 

commit vtk for openSUSE:Factory

2020-03-12 Thread root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2020-03-12 23:05:58

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new.3160 (New)


Package is "vtk"

Thu Mar 12 23:05:58 2020 rev:45 rq:783939 version:8.2.0

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2020-02-03 11:13:51.853861487 
+0100
+++ /work/SRC/openSUSE:Factory/.vtk.new.3160/vtk.changes2020-03-12 
23:11:23.111302108 +0100
@@ -1,0 +2,15 @@
+Wed Mar 11 13:17:49 UTC 2020 - Stefan Brüns 
+
+- Remove -DVTK_PYTHON_SITE_PACKAGES_SUFFIX silently added with the
+  last change. As it specifies the path relative to the install
+  prefix, setting it to the absolute python_sitearch is obviously
+  wrong. As VTK figures out the correct path by itself, it is
+  completely unnecessary.
+
+---
+Tue Mar 10 14:06:37 UTC 2020 - Tomáš Chvátal 
+
+- Add patch to fix building with python 3.8:
+  * python38.patch
+
+---

New:

  python38.patch



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.5CwJl2/_old  2020-03-12 23:11:24.531302668 +0100
+++ /var/tmp/diff_new_pack.5CwJl2/_new  2020-03-12 23:11:24.535302670 +0100
@@ -108,6 +108,8 @@
 Patch5: 0001-Add-libogg-to-IOMovie-target-link-libraries.patch
 # PATCH-FIX-UPSTREAM -- Compatibility for proj4 5.x and 6.0, 
https://gitlab.kitware.com/vtk/vtk/issues/17554
 Patch6: 0001-Make-code-calling-proj4-compatible-with-proj4-5.0-an.patch
+# PATCH-FIX-UPSTREAM -- Support for python3.8
+Patch7: python38.patch
 BuildRequires:  R-base-devel
 BuildRequires:  chrpath
 BuildRequires:  cmake >= 3.4
@@ -349,6 +351,7 @@
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 
 # Replace relative path ../../../../VTKData with %%{_datadir}/vtkdata
 # otherwise it will break on symlinks.
@@ -399,7 +402,6 @@
 -DVTK_INSTALL_LIBRARY_DIR:PATH=%{_lib} \
 -DVTK_INSTALL_PACKAGE_DIR:PATH=%{_lib}/cmake/%{pkgname} \
 -DVTK_INSTALL_QT_DIR:STRING=%{_lib}/qt5/plugins/designer \
--DVTK_INSTALL_PYTHON_MODULE_DIR:PATH=%{python3_sitearch} \
 -DVTK_PYTHON_VERSION=3 \
 -DVTK_QT_VERSION=5 \
 -DVTK_USE_OGGTHEORA_ENCODER:BOOL=ON \

++ python38.patch ++
>From 257b9d7b18d5f3db3fe099dc18f230e23f7dfbab Mon Sep 17 00:00:00 2001
From: David Gobbi 
Date: Tue, 20 Aug 2019 17:02:24 -0600
Subject: [PATCH] Compatibility for Python 3.8

The PyTypeObject struct was modified in Python 3.8, this change is
required to avoid compile errors.
---
 .../PythonInterpreter/vtkPythonStdStreamCaptureHelper.h   | 6 ++
 Wrapping/PythonCore/PyVTKMethodDescriptor.cxx | 2 +-
 Wrapping/PythonCore/PyVTKNamespace.cxx| 2 +-
 Wrapping/PythonCore/PyVTKReference.cxx| 8 
 Wrapping/PythonCore/PyVTKTemplate.cxx | 2 +-
 Wrapping/PythonCore/vtkPythonCompatibility.h  | 8 +++-
 Wrapping/Tools/vtkWrapPythonClass.c   | 2 +-
 Wrapping/Tools/vtkWrapPythonEnum.c| 2 +-
 Wrapping/Tools/vtkWrapPythonType.c| 2 +-
 9 files changed, 23 insertions(+), 11 deletions(-)

diff --git a/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h 
b/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
index b1c12c83de..14ccfbe928 100644
--- a/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
+++ b/Utilities/PythonInterpreter/vtkPythonStdStreamCaptureHelper.h
@@ -140,6 +140,12 @@ static PyTypeObject vtkPythonStdStreamCaptureHelperType = {
 #if PY_VERSION_HEX >= 0x0304
   0, // tp_finalize
 #endif
+#if PY_VERSION_HEX >= 0x0308
+  0, // tp_vectorcall
+#if PY_VERSION_HEX < 0x0309
+  0, // tp_print
+#endif
+#endif
 };
 
 static PyObject* vtkWrite(PyObject* self, PyObject* args)
diff --git a/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx 
b/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
index 2b0d443537..3840038498 100644
--- a/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
+++ b/Wrapping/PythonCore/PyVTKMethodDescriptor.cxx
@@ -186,7 +186,7 @@ PyTypeObject PyVTKMethodDescriptor_Type = {
   sizeof(PyMethodDescrObject),   // tp_basicsize
   0, // tp_itemsize
   PyVTKMethodDescriptor_Delete,  // tp_dealloc
-  nullptr,   // tp_print
+  0, // tp_vectorcall_offset
   nullptr,   // tp_getattr
   nullptr,   // tp_setattr
   nullptr,   // tp_compare
diff --git 

commit vtk for openSUSE:Factory

2020-02-03 Thread root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2020-02-03 11:13:51

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new.26092 (New)


Package is "vtk"

Mon Feb  3 11:13:51 2020 rev:44 rq:769140 version:8.2.0

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2019-11-07 23:19:08.236704412 
+0100
+++ /work/SRC/openSUSE:Factory/.vtk.new.26092/vtk.changes   2020-02-03 
11:13:51.853861487 +0100
@@ -1,0 +2,10 @@
+Tue Jan 28 22:45:34 UTC 2020 - Stefan Brüns 
+
+- Add openmpi3 flavor.
+- Disable openmpi1 for SLE/Leap 15.2, openmpi3 for SLE <= 15.1
+- Adjust disk _constraints.
+- Drop vtk-fix-file-contains-date-time.patch, GCC honors
+  SOURCE_DATE_EPOCH.
+- Drop unused netcdf-c++-devel BuildRequires.
+
+---

Old:

  vtk-fix-file-contains-date-time.patch



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.BMRHje/_old  2020-02-03 11:13:53.873862508 +0100
+++ /var/tmp/diff_new_pack.BMRHje/_new  2020-02-03 11:13:53.873862508 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package vtk
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,6 +18,13 @@
 
 %global flavor @BUILD_FLAVOR@%{nil}
 
+%if 0%{?sle_version} >= 150200
+%define DisOMPI1 ExclusiveArch:  do_not_build
+%endif
+%if !0%{?is_opensuse} && 0%{?sle_version:1} && 0%{?sle_version} < 150200
+%define DisOMPI3 ExclusiveArch:  do_not_build
+%endif
+
 %define pkgname vtk
 
 %if 0%{?suse_version} <= 1500
@@ -39,6 +46,7 @@
 %endif
 
 %if "%{flavor}" == "openmpi"
+%{?DisOMPI1}
 %if 0%{?suse_version} >= 1550
 %define my_suffix  -openmpi1
 %define mpi_flavor  openmpi1
@@ -55,6 +63,13 @@
 %define mpiprefix %{_libdir}/mpi/gcc/%{mpi_flavor}
 %endif
 
+%if "%{flavor}" == "openmpi3"
+%{?DisOMPI3}
+%define my_suffix  -openmpi3
+%define mpi_flavor  openmpi3
+%define mpiprefix %{_libdir}/mpi/gcc/%{mpi_flavor}
+%endif
+
 %{?mpi_flavor:%{bcond_without mpi}}%{!?mpi_flavor:%{bcond_with mpi}}
 
 %if %{with mpi}
@@ -83,8 +98,6 @@
 # FIXME See if packaging can be tweaked to accommodate python-vtk's devel 
files in a devel package later
 # We need to use the compat conditionals here to avoid Factory's source 
validator from tripping up
 Source99:   vtk-rpmlintrc
-# PATCH-FIX-UPSTREAM vtk-fix-file-contains-date-time.patch 
badshah...@gmail.com -- Fix file containing DATE and TIME
-Patch1: vtk-fix-file-contains-date-time.patch
 # PATCH-FIX-OPENSUSE 0001-Allow-compilation-on-GLES-platforms.patch VTK issue 
#17113 stefan.bru...@rwth-aachen.de -- Fix building with Qt GLES builds
 Patch2: 0001-Allow-compilation-on-GLES-platforms.patch
 # PATCH-FIX-OPENSUSE bundled_libharu_add_missing_libm.patch 
stefan.bru...@rwth-aachen.de -- Add missing libm for linking
@@ -112,12 +125,17 @@
 %endif
 BuildRequires:  hdf5-devel
 BuildRequires:  java-devel
+BuildRequires:  libboost_graph-devel
+BuildRequires:  libboost_graph_parallel-devel
+BuildRequires:  libboost_serialization-devel
+%if %{with mpi}
+BuildRequires:  libboost_mpi-devel
+%endif
 %if %{with haru}
 BuildRequires:  libharu-devel > 2.3.0
 %endif
 BuildRequires:  libjpeg-devel
 BuildRequires:  libmysqlclient-devel
-BuildRequires:  libnetcdf_c++-devel
 BuildRequires:  libtiff-devel
 %if %{with mpi}
 BuildRequires:  %{mpi_flavor}-devel
@@ -164,12 +182,6 @@
 BuildRequires:  pkgconfig(tk)
 BuildRequires:  pkgconfig(xt)
 BuildRequires:  pkgconfig(zlib)
-BuildRequires:  libboost_graph-devel
-BuildRequires:  libboost_graph_parallel-devel
-%if %{with mpi}
-BuildRequires:  libboost_mpi-devel
-%endif
-BuildRequires:  libboost_serialization-devel
 
 %description
 VTK is a software system for image processing, 3D graphics, volume
@@ -332,7 +344,6 @@
 
 %prep
 %setup -q -n VTK-%{version}
-%patch1 -p1
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1

++ _constraints ++
--- /var/tmp/diff_new_pack.BMRHje/_old  2020-02-03 11:13:53.917862531 +0100
+++ /var/tmp/diff_new_pack.BMRHje/_new  2020-02-03 11:13:53.917862531 +0100
@@ -1,7 +1,7 @@
 
 
   
-8
+12
   
 
 

++ _multibuild ++
--- /var/tmp/diff_new_pack.BMRHje/_old  2020-02-03 11:13:53.933862539 +0100
+++ /var/tmp/diff_new_pack.BMRHje/_new  2020-02-03 11:13:53.933862539 +0100
@@ -1,4 +1,5 @@
 
   openmpi
   openmpi2
+  openmpi3
 




commit vtk for openSUSE:Factory

2019-11-07 Thread root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2019-11-07 23:19:07

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new.2990 (New)


Package is "vtk"

Thu Nov  7 23:19:07 2019 rev:43 rq:746053 version:8.2.0

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2019-09-23 12:38:36.777598160 
+0200
+++ /work/SRC/openSUSE:Factory/.vtk.new.2990/vtk.changes2019-11-07 
23:19:08.236704412 +0100
@@ -1,0 +2,7 @@
+Mon Nov  4 17:59:29 UTC 2019 - Stefan Brüns 
+
+- Adapt to openmpi -> openmpi1 rename on Tumbleweed.
+- Spec file cleanup, remove conditionals for Leap 42.x.
+- Apply proj4 compatibility patch also on Leap.
+
+---



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.k1vn7O/_old  2019-11-07 23:19:09.744706030 +0100
+++ /var/tmp/diff_new_pack.k1vn7O/_new  2019-11-07 23:19:09.744706030 +0100
@@ -39,8 +39,13 @@
 %endif
 
 %if "%{flavor}" == "openmpi"
+%if 0%{?suse_version} >= 1550
+%define my_suffix  -openmpi1
+%define mpi_flavor  openmpi1
+%else
 %define my_suffix  -openmpi
 %define mpi_flavor  openmpi
+%endif
 %define mpiprefix %{_libdir}/mpi/gcc/%{mpi_flavor}
 %endif
 
@@ -136,16 +141,10 @@
 BuildRequires:  pkgconfig(gl)
 BuildRequires:  pkgconfig(glew)
 BuildRequires:  pkgconfig(jsoncpp)
-%if 0%{?suse_version} < 1500
-# libav pulls in a conflicting libnetcdf version
-BuildConflicts: libnetcdf7
-BuildConflicts: libavfilter6
-%else
 BuildRequires:  pkgconfig(libavcodec)
 BuildRequires:  pkgconfig(libavdevice)
 BuildRequires:  pkgconfig(libavformat)
 BuildRequires:  pkgconfig(libavutil)
-%endif
 BuildRequires:  pkgconfig(libiodbc)
 BuildRequires:  pkgconfig(liblz4) >= 1.7.3
 BuildRequires:  pkgconfig(libpng)
@@ -155,7 +154,7 @@
 %if %{with mpi}
 BuildRequires:  netcdf-%{mpi_flavor}-devel
 %endif
-BuildRequires:  pkgconfig(proj)
+BuildRequires:  pkgconfig(proj) >= 5.0.0
 %if %{with pugixml}
 BuildRequires:  pkgconfig(pugixml)
 %endif
@@ -165,16 +164,12 @@
 BuildRequires:  pkgconfig(tk)
 BuildRequires:  pkgconfig(xt)
 BuildRequires:  pkgconfig(zlib)
-%if 0%{?suse_version} >= 1500
 BuildRequires:  libboost_graph-devel
 BuildRequires:  libboost_graph_parallel-devel
 %if %{with mpi}
 BuildRequires:  libboost_mpi-devel
 %endif
 BuildRequires:  libboost_serialization-devel
-%else
-BuildRequires:  boost-devel
-%endif
 
 %description
 VTK is a software system for image processing, 3D graphics, volume
@@ -342,9 +337,7 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
-%if 0%{?suse_version} > 1500
 %patch6 -p1
-%endif
 
 # Replace relative path ../../../../VTKData with %%{_datadir}/vtkdata
 # otherwise it will break on symlinks.




commit vtk for openSUSE:Factory

2019-09-23 Thread root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2019-09-23 12:36:18

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new.7948 (New)


Package is "vtk"

Mon Sep 23 12:36:18 2019 rev:42 rq:732075 version:8.2.0

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2019-04-15 11:53:05.454580270 
+0200
+++ /work/SRC/openSUSE:Factory/.vtk.new.7948/vtk.changes2019-09-23 
12:38:36.777598160 +0200
@@ -1,0 +2,5 @@
+Tue Sep 10 20:00:01 UTC 2019 - Christophe Giboudeaux 
+
+- Use -ffat-lto-objects when building static libraries.
+
+---



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.0vwzq6/_old  2019-09-23 12:38:37.565598030 +0200
+++ /var/tmp/diff_new_pack.0vwzq6/_new  2019-09-23 12:38:37.565598030 +0200
@@ -351,6 +351,7 @@
 grep -rl '\.\./\.\./\.\./\.\./VTKData' . | xargs -r perl -pi 
-e's,\.\./\.\./\.\./\.\./VTKData,%{_datadir}/vtkdata,g'
 
 %build
+%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
 %if %{with mpi}
 source %{mpiprefix}/bin/mpivars.sh
 export CC=mpicc




commit vtk for openSUSE:Factory

2019-04-15 Thread root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2019-04-15 11:53:01

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new.17052 (New)


Package is "vtk"

Mon Apr 15 11:53:01 2019 rev:41 rq:694090 version:8.2.0

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2019-04-09 20:19:37.137918732 
+0200
+++ /work/SRC/openSUSE:Factory/.vtk.new.17052/vtk.changes   2019-04-15 
11:53:05.454580270 +0200
@@ -1,0 +2,5 @@
+Sun Apr 14 10:14:39 UTC 2019 - Christophe Giboudeaux 
+
+- Add more explicit dependencies to vtk-devel.
+
+---



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.LDFRi8/_old  2019-04-15 11:53:07.390581652 +0200
+++ /var/tmp/diff_new_pack.LDFRi8/_new  2019-04-15 11:53:07.390581652 +0200
@@ -235,10 +235,12 @@
 Requires:   pkgconfig(libavutil)
 Requires:   pkgconfig(libiodbc)
 Requires:   pkgconfig(liblz4) >= 1.7.3
+Requires:   pkgconfig(liblzma)
 Requires:   pkgconfig(libpng)
 Requires:   pkgconfig(libswscale)
 Requires:   pkgconfig(netcdf)
 Requires:   pkgconfig(theora)
+Requires:   pkgconfig(zlib)
 Conflicts:  vtk-compat_gl-devel
 
 %descriptiondevel




commit vtk for openSUSE:Factory

2019-04-09 Thread root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2019-04-09 20:19:36

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new.3908 (New)


Package is "vtk"

Tue Apr  9 20:19:36 2019 rev:40 rq:692621 version:8.2.0

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2019-03-26 22:31:17.341722196 
+0100
+++ /work/SRC/openSUSE:Factory/.vtk.new.3908/vtk.changes2019-04-09 
20:19:37.137918732 +0200
@@ -1,0 +2,7 @@
+Tue Apr  9 11:28:00 UTC 2019 - Christophe Giboudeaux 
+
+- Add an explicit 'Requires: double-conversion-devel' for vtk-devel.
+  The double-conversion library is mentioned in vtkdoubleconversion.cmake
+  but isn't automatically installed.
+
+---



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.WBcaSi/_old  2019-04-09 20:19:38.273920281 +0200
+++ /var/tmp/diff_new_pack.WBcaSi/_new  2019-04-09 20:19:38.281920291 +0200
@@ -206,6 +206,7 @@
 Requires:   %{shlib} = %{version}
 Requires:   R-core-devel
 Requires:   cmake >= 3.4
+Requires:   double-conversion-devel
 Requires:   gcc-c++
 %{?with_gl2ps:Requires:   gl2ps-devel}
 Requires:   hdf5-devel




commit vtk for openSUSE:Factory

2019-03-26 Thread root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2019-03-26 22:31:15

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new.25356 (New)


Package is "vtk"

Tue Mar 26 22:31:15 2019 rev:39 rq:686429 version:8.2.0

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2019-01-11 14:04:37.771851945 
+0100
+++ /work/SRC/openSUSE:Factory/.vtk.new.25356/vtk.changes   2019-03-26 
22:31:17.341722196 +0100
@@ -1,0 +2,28 @@
+Fri Mar 15 18:42:02 UTC 2019 - Stefan Brüns 
+
+- Update to version 8.2.0
+  * Removed support for TCL and Qt4
+  * Removed all VTK_OVERRIDE, VTK_FINAL, VTK_DELETE_FUNCTION macros as
+C++11 is now required.
+  * vtkAbstractArray gained support for runtime user defined free functions,
+allowing for custom allocator memory to be used with VTK.
+  * The vtkGeovis classes are now deprecated.
+  See https://blog.kitware.com/vtk-8-2-0/ for a more exhaustive list.
+- Packaging changes:
+  * Python bindings for MPI flavors are now installed below the MPI prefix
+and thus no longer conflict with each other. To use these, the
+PYTHONPATH currently has to be amended manually.
+  * Removed several devel Requires: from the devel package. This reduces the
+dependency chain (e.g. java-devel) for all packages building against VTK,
+but may require to specify some dependencies explicitly, depending on
+the used VTK modules and bindings.
+- Patch updates/additions:
+  * Rebase vtk-fix-file-contains-date-time.patch
+  * Rebase 0001-Allow-compilation-on-GLES-platforms.patch
+  * Drop obsolete fix_qt5_example_cmake.patch
+  * Add bundled_libharu_add_missing_libm.patch
+  * Add bundled_exodusii_add_missing_libpthread.patch
+  * Add 0001-Add-libogg-to-IOMovie-target-link-libraries.patch
+  * Add 0001-Make-code-calling-proj4-compatible-with-proj4-5.0-an.patch
+
+---
@@ -685,2 +712,0 @@
-to fix buffer overflow report from rpmlint
-

Old:

  VTK-8.1.2.tar.gz
  fix_qt5_example_cmake.patch

New:

  0001-Add-libogg-to-IOMovie-target-link-libraries.patch
  0001-Make-code-calling-proj4-compatible-with-proj4-5.0-an.patch
  VTK-8.2.0.tar.gz
  bundled_exodusii_add_missing_libpthread.patch
  bundled_libharu_add_missing_libm.patch



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.fiCH4B/_old  2019-03-26 22:31:19.893721580 +0100
+++ /var/tmp/diff_new_pack.fiCH4B/_new  2019-03-26 22:31:19.917721574 +0100
@@ -20,6 +20,16 @@
 
 %define pkgname vtk
 
+%if 0%{?suse_version} <= 1500
+%bcond_withpugixml
+%else
+%bcond_without pugixml
+%endif
+# Need patched version with HPDF_SHADING
+%bcond_withharu
+# Need unrelased version > 1.4.0 with e.g. gl2psTextOptColorBL
+%bcond_withgl2ps
+
 %if "%{flavor}" == ""
 %define my_prefix %_prefix
 %define my_bindir %_bindir
@@ -54,16 +64,16 @@
 %define shlib   %{vtklib}
 
 Name:   vtk%{?my_suffix}
-Version:8.1.2
+Version:8.2.0
 Release:0
-%define series  8.1
+%define series  8.2
 # This is a variant BSD license, a cross between BSD and ZLIB.
 # For all intents, it has the same rights and restrictions as BSD.
 # http://fedoraproject.org/wiki/Licensing/BSD#VTKBSDVariant
 Summary:The Visualization Toolkit - A high level 3D visualization 
library
 License:BSD-3-Clause
 Group:  Productivity/Scientific/Other
-URL:http://vtk.org/
+URL:https://vtk.org/
 Source: 
https://www.vtk.org/files/release/%{series}/VTK-%{version}.tar.gz
 # FIXME See if packaging can be tweaked to accommodate python-vtk's devel 
files in a devel package later
 # We need to use the compat conditionals here to avoid Factory's source 
validator from tripping up
@@ -71,16 +81,25 @@
 # PATCH-FIX-UPSTREAM vtk-fix-file-contains-date-time.patch 
badshah...@gmail.com -- Fix file containing DATE and TIME
 Patch1: vtk-fix-file-contains-date-time.patch
 # PATCH-FIX-OPENSUSE 0001-Allow-compilation-on-GLES-platforms.patch VTK issue 
#17113 stefan.bru...@rwth-aachen.de -- Fix building with Qt GLES builds
-Patch3: 0001-Allow-compilation-on-GLES-platforms.patch
-# PATCH-FIX-UPSTREAM fix_qt5_example_cmake.patch -- Fix for recent Qt5 version 
https://gitlab.kitware.com/vtk/vtk/issues/17336
-Patch4: fix_qt5_example_cmake.patch
+Patch2: 0001-Allow-compilation-on-GLES-platforms.patch
+# PATCH-FIX-OPENSUSE bundled_libharu_add_missing_libm.patch 
stefan.bru...@rwth-aachen.de -- Add missing libm for linking
+Patch3: bundled_libharu_add_missing_libm.patch
+# PATCH-FIX-OPENSUSE bundled_exodusii_add_missing_libpthread.patch 
stefan.bru...@rwth-aachen.de -- Add missing libm 

commit vtk for openSUSE:Factory

2019-01-11 Thread root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2019-01-11 14:04:10

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new.28833 (New)


Package is "vtk"

Fri Jan 11 14:04:10 2019 rev:38 rq:663766 version:8.1.2

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2018-12-18 14:57:46.078307980 
+0100
+++ /work/SRC/openSUSE:Factory/.vtk.new.28833/vtk.changes   2019-01-11 
14:04:37.771851945 +0100
@@ -1,0 +2,22 @@
+Sun Jan  6 18:32:58 UTC 2019 - Stefan Brüns 
+
+- Correct names of built packages, the mpi flavors were lacking the
+  flavor specific name infix, i.e. all flavors were named identically.
+
+---
+Wed Jan  2 23:19:48 UTC 2019 - Stefan Brüns 
+
+- Add openmpi2 flavor
+- BuildRequire netcdf-{mpi_flavor}-devel for MPI flavors
+- Add Conflicts between flavors of python3 subpackage (all flavors
+  install into python_sitearch).
+
+---
+Fri Dec 14 23:15:27 UTC 2018 - Stefan Brüns 
+
+- Convert openmpi package to multibuild flavor
+- Use correct mpi version - openmpi currently means openmpi, and not openmpi2/3
+  Otherwise, VTK depends on openmpi1 (HDF5, netcdf) and openmpi2/3 (direct)
+- Remove several mpi BuildRequires in serial flavor
+
+---

Old:

  vtk-openmpi.changes
  vtk-openmpi.spec

New:

  _multibuild



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.zNgB3r/_old  2019-01-11 14:04:39.103850605 +0100
+++ /var/tmp/diff_new_pack.zNgB3r/_new  2019-01-11 14:04:39.107850601 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package vtk
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,12 +16,44 @@
 #
 
 
-%define compat_gl0
+%global flavor @BUILD_FLAVOR@%{nil}
+
 %define pkgname  vtk
-%define vtklib   lib%{pkgname}1
+
+%if "%{flavor}" == ""
+%define my_prefix %_prefix
+%define my_bindir %_bindir
+%define my_libdir %_libdir
+%define my_incdir %_includedir
+%define my_datadir %_datadir
+%endif
+
+%if "%{flavor}" == "openmpi"
+%define my_suffix  -openmpi
+%define mpi_flavor  openmpi
+%define mpiprefix %{_libdir}/mpi/gcc/%{mpi_flavor}
+%endif
+
+%if "%{flavor}" == "openmpi2"
+%define my_suffix  -openmpi2
+%define mpi_flavor  openmpi2
+%define mpiprefix %{_libdir}/mpi/gcc/%{mpi_flavor}
+%endif
+
+%{?mpi_flavor:%{bcond_without mpi}}%{!?mpi_flavor:%{bcond_with mpi}}
+
+%if %{with mpi}
+%define my_prefix %{mpiprefix}
+%define my_bindir %{my_prefix}/bin
+%define my_libdir %{my_prefix}/%{_lib}/
+%define my_incdir %{my_prefix}/include/
+%define my_datadir %{my_prefix}/share/
+%endif
+
+%define vtklib  lib%{pkgname}1%{?my_suffix}
 %define shlib%{vtklib}
 
-Name:   vtk
+Name:   vtk%{?my_suffix}
 Version:8.1.2
 Release:0
 %define series  8.1
@@ -51,14 +83,22 @@
 BuildRequires:  gl2ps-devel
 BuildRequires:  gnuplot
 BuildRequires:  graphviz
+%if %{with mpi}
+BuildRequires:  hdf5-%{mpi_flavor}-devel
+%endif
 BuildRequires:  hdf5-devel
 BuildRequires:  java-devel
 BuildRequires:  libjpeg-devel
 BuildRequires:  libmysqlclient-devel
 BuildRequires:  libnetcdf_c++-devel
 BuildRequires:  libtiff-devel
+%if %{with mpi}
+BuildRequires:  %{mpi_flavor}-devel
+%endif
 BuildRequires:  python3-devel
+%if %{with mpi}
 BuildRequires:  python3-mpi4py-devel
+%endif
 BuildRequires:  python3-numpy-devel
 BuildRequires:  python3-qt5-devel
 BuildRequires:  wget
@@ -72,15 +112,24 @@
 BuildRequires:  pkgconfig(freetype2)
 BuildRequires:  pkgconfig(gl)
 BuildRequires:  pkgconfig(jsoncpp)
+%if 0%{?suse_version} < 1500
+# libav pulls in a conflicting libnetcdf version
+BuildConflicts: libnetcdf7
+BuildConflicts: libavfilter6
+%else
 BuildRequires:  pkgconfig(libavcodec)
 BuildRequires:  pkgconfig(libavdevice)
 BuildRequires:  pkgconfig(libavformat)
 BuildRequires:  pkgconfig(libavutil)
+%endif
 BuildRequires:  pkgconfig(libiodbc)
 BuildRequires:  pkgconfig(liblz4) >= 1.7.3
 BuildRequires:  pkgconfig(libpng)
 BuildRequires:  pkgconfig(libswscale)
 BuildRequires:  pkgconfig(netcdf)
+%if %{with mpi}
+BuildRequires:  netcdf-%{mpi_flavor}-devel
+%endif
 BuildRequires:  pkgconfig(tcl)
 BuildRequires:  pkgconfig(theora)
 BuildRequires:  pkgconfig(tk)
@@ -90,12 +139,13 @@
 %if 0%{?suse_version} >= 1500
 BuildRequires:  libboost_graph-devel
 BuildRequires:  libboost_graph_parallel-devel
+%if %{with mpi}
 BuildRequires:  

commit vtk for openSUSE:Factory

2018-12-18 Thread root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2018-12-18 14:56:12

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new.28833 (New)


Package is "vtk"

Tue Dec 18 14:56:12 2018 rev:37 rq:657947 version:8.1.2

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk-openmpi.changes  2018-11-27 
10:44:59.824037237 +0100
+++ /work/SRC/openSUSE:Factory/.vtk.new.28833/vtk-openmpi.changes   
2018-12-18 14:57:45.986308119 +0100
@@ -1,0 +2,7 @@
+Wed Dec 12 19:32:47 UTC 2018 - Stefan Brüns 
+
+- Add python3-vtk to vtk-devel Requires, same as for vtk-java/tcl
+- Remove empty testing subpackage
+- Fix path to VTK_DATA_ROOT default directory
+
+---
vtk.changes: same change



Other differences:
--
++ vtk-openmpi.spec ++
--- /var/tmp/diff_new_pack.37bGWL/_old  2018-12-18 14:57:47.614305654 +0100
+++ /var/tmp/diff_new_pack.37bGWL/_new  2018-12-18 14:57:47.614305654 +0100
@@ -135,13 +135,14 @@
 
 %packagedevel
 Summary:VTK header files for building C++ code
-# not strictly necessary, but required by VTKs cmake files
 Group:  Development/Libraries/C and C++
+# not strictly necessary, but required by VTKs cmake files
 Requires:   %{mpiver}
 Requires:   %{mpiver}-devel
 Requires:   %{name}-java = %{version}
 Requires:   %{name}-tcl = %{version}
 Requires:   %{shlib} = %{version}
+Requires:   python3-%{name} = %{version}
 Requires:   R-base-devel
 Requires:   cmake >= 3.4
 Requires:   gcc-c++
@@ -283,20 +284,6 @@
 Examples are available in the C++, Tcl, Python and Java programming
 languages.
 
-%packagetesting
-Summary:Testing programs for VTK
-Group:  Productivity/Scientific/Other
-Requires:   %{shlib} = %{version}
-Requires:   vtkdata = %{version}
-
-%descriptiontesting
-VTK is a software system for image processing, 3D graphics, volume
-rendering and visualization. VTK includes many advanced algorithms
-(e.g. surface reconstruction, implicit modelling, decimation) and
-rendering techniques (e.g. hardware-accelerated volume rendering,
-LOD control).
-
-This package provides a few testing programs for VTK.
 
 %prep
 %setup -q -n VTK-%{version}
@@ -304,9 +291,9 @@
 %patch3 -p1
 %patch4 -p1
 
-# Replace relative path ../../../VTKData with 
%%{_datadir}/%%{pkgname}data-%%{version}
+# Replace relative path ../../../../VTKData with %%{_datadir}/vtkdata
 # otherwise it will break on symlinks.
-grep -rl '\.\./\.\./\.\./\.\./VTKData' . | xargs -r perl -pi 
-e's,\.\./\.\./\.\./\.\./VTKData,%{_datadir}/%{pkgname},g'
+grep -rl '\.\./\.\./\.\./\.\./VTKData' . | xargs -r perl -pi 
-e's,\.\./\.\./\.\./\.\./VTKData,%{_datadir}/vtkdata,g'
 
 %build
 source %{mpiprefix}/bin/mpivars.sh

++ vtk.spec ++
--- /var/tmp/diff_new_pack.37bGWL/_old  2018-12-18 14:57:47.630305630 +0100
+++ /var/tmp/diff_new_pack.37bGWL/_new  2018-12-18 14:57:47.634305624 +0100
@@ -126,11 +126,12 @@
 
 %packagedevel
 Summary:VTK header files for building C++ code
-# not strictly necessary, but required by VTKs cmake files
 Group:  Development/Libraries/C and C++
+# not strictly necessary, but required by VTKs cmake files
 Requires:   %{name}-java = %{version}
 Requires:   %{name}-tcl = %{version}
 Requires:   %{shlib} = %{version}
+Requires:   python3-%{name} = %{version}
 Requires:   R-base-devel
 Requires:   cmake >= 3.4
 Requires:   gcc-c++
@@ -275,21 +276,6 @@
 Examples are available in the C++, Tcl, Python and Java programming
 languages.
 
-%packagetesting
-Summary:Testing programs for VTK
-Group:  Productivity/Scientific/Other
-Requires:   %{shlib} = %{version}
-Requires:   vtkdata = %{version}
-Conflicts:  vtk-compat_gl-testing
-
-%descriptiontesting
-VTK is a software system for image processing, 3D graphics, volume
-rendering and visualization. VTK includes many advanced algorithms
-(e.g. surface reconstruction, implicit modelling, decimation) and
-rendering techniques (e.g. hardware-accelerated volume rendering,
-LOD control).
-
-This package provides a few testing programs for VTK.
 
 %prep
 %setup -q -n VTK-%{version}
@@ -297,9 +283,9 @@
 %patch3 -p1
 %patch4 -p1
 
-# Replace relative path ../../../VTKData with 
%%{_datadir}/%%{pkgname}data-%%{version}
+# Replace relative path ../../../../VTKData with %%{_datadir}/vtkdata
 # otherwise it will break on symlinks.
-grep -rl '\.\./\.\./\.\./\.\./VTKData' . | xargs -r perl -pi 
-e's,\.\./\.\./\.\./\.\./VTKData,%{_datadir}/%{pkgname},g'
+grep -rl '\.\./\.\./\.\./\.\./VTKData' . | xargs -r perl -pi 

commit vtk for openSUSE:Factory

2018-11-27 Thread root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2018-11-27 10:43:30

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new.19453 (New)


Package is "vtk"

Tue Nov 27 10:43:30 2018 rev:36 rq:652020 version:8.1.2

Changes:

New Changes file:

--- /dev/null   2018-10-29 14:05:42.522318975 +0100
+++ /work/SRC/openSUSE:Factory/.vtk.new.19453/vtk-openmpi.changes   
2018-11-27 10:44:59.824037237 +0100
@@ -0,0 +1,655 @@
+---
+Thu Nov 22 15:41:50 UTC 2018 - Todd R 
+
+- Update to version 8.1.2
+  * Issue error if vtkAlgorithm::GetInputConnection called on wrong port
+  * Added explicit cast to pacify UBSan’s “implicit-integer-truncation”
+  * Make some orientation marker widget methods virtual 
+  * vtkImageBlend bug fix for compound mode
+  * vtkFlyingEdges2D: Properly color multiple isocontour values
+  * Invoke DeletePointEvent before deleting vtkSeedWidget seed
+  * Fix compilation issue due to Python3.7 API change 
+  * Fix bug where re-enabling seed widget wouldn't move existing seeds
+- Fix python dependencies
+- Test to make sure python package is importable
+- Split out MPI version since the MPI version cannot be used
+  outside an MPI environment.
+
+---
+Fri Jun 29 07:17:51 UTC 2018 - badshah...@gmail.com
+
+- Drop post[un] scripts for devel and java subpackages; they are
+  only needed for the versioned shlib.
+
+---
+Mon Jun 11 20:06:48 UTC 2018 - toddrme2...@gmail.com
+
+- Update to version 8.1.1:
+  * Fixed thin border around vtkImageResliceMapper
+rendering
+  * Fixed vtkImageResliceMapper showing a black
+polygon when slice is out of bounds.
+  * Fixed conflict between Process.h and process.h
+  * Fixed building VTK 8.1 against 10.13 SDK
+resulting in linker errors when trying to use
+resulting libraries on older SDK
+  * Fixed vtkCellPicker::IntersectActorWithLine maybe
+using invalid cell id when picking composite data
+- Add fix_qt5_example_cmake.patch
+  Fixes use of removed cmake macro in some examples
+  See: https://gitlab.kitware.com/vtk/vtk/issues/17336
+- Use modern cmake spec file macros
+- Run spec cleaner
+- Other spec file cleanups
+- Support parallel HDF5.
+- Drop support for qt4.  Any version of openSUSE with a recent
+  enough version of cmake to build the package supports Qt5.
+- Drop checks for old versions of openSUSE that have too old
+  of a cmake to build.
+
+---
+Sun Feb  4 00:41:17 UTC 2018 - stefan.bru...@rwth-aachen.de
+
+- Use split libboost*-devel BuildRequires for TW and Leap/SLE 15
+
+---
+Wed Jan 24 11:28:47 UTC 2018 - fst...@suse.com
+
+- Fix build with jdk10
+  * give a bogus javah path "%{_bindir}/true", since the cmake
+checks the javah binary although the build does not use it.
+
+---
+Fri Jan 12 13:43:49 UTC 2018 - badshah...@gmail.com
+
+- Drop vtk-Rinterface-uintptr_t.patch as the related plugin has
+  been retired.
+
+---
+Wed Jan 10 12:34:03 UTC 2018 - badshah...@gmail.com
+
+- Drop vtk-compat_gl: Building against OpenGL1 has now been
+  deprecated with version 8.1.0, and the examples don't build
+  against it already; so, drop all specfile and related
+  modifications catering to OpenGL1 bindings.
+
+---
+Thu Dec 28 11:22:29 UTC 2017 - badshah...@gmail.com
+
+- Update to version 8.1.0:
+  * Full release notes at https://blog.kitware.com/vtk-8-1-0/.
+- Turn OFF building against system libharu, since libharu
+  upstream seems dead, while vtk's included libharu has new
+  features essential for building vtk 8.1. Drop BuildRequires on
+  libharu.
+- Does not build against java 10, so ensure at most java 9 is
+  used by using appropriate versioning for java-devel
+  BuildRequires.
+- Drop cmake options no longer used for build.
+- Drop VERBOSE=1 for make: it makes the compilation too verbose
+  making brp checks for code warnings too slow to execute; this
+  reduces build time by nearly half.
+- Enforce Qt4 for openSUSE <= 1320 explicitly because Qt5 is now
+  the default option.
+
+---
+Mon Dec  4 18:25:57 UTC 2017 - br...@ioda-net.ch
+
+- Move BuildRequires:  libQtWebKit-devel (Qt4) inside the else
+  version < 13.2 
+
+---
+Thu Oct 26 08:48:16 UTC 2017 - 

commit vtk for openSUSE:Factory

2018-07-02 Thread root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2018-07-02 23:31:55

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new (New)


Package is "vtk"

Mon Jul  2 23:31:55 2018 rev:35 rq:619762 version:8.1.1

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2018-03-28 10:32:36.858385160 
+0200
+++ /work/SRC/openSUSE:Factory/.vtk.new/vtk.changes 2018-07-02 
23:32:21.677330243 +0200
@@ -1,0 +2,32 @@
+Fri Jun 29 07:17:51 UTC 2018 - badshah...@gmail.com
+
+- Drop post[un] scripts for devel and java subpackages; they are
+  only needed for the versioned shlib.
+
+---
+Mon Jun 11 20:06:48 UTC 2018 - toddrme2...@gmail.com
+
+- Update to version 8.1.1:
+  * Fixed thin border around vtkImageResliceMapper
+rendering
+  * Fixed vtkImageResliceMapper showing a black
+polygon when slice is out of bounds.
+  * Fixed conflict between Process.h and process.h
+  * Fixed building VTK 8.1 against 10.13 SDK
+resulting in linker errors when trying to use
+resulting libraries on older SDK
+  * Fixed vtkCellPicker::IntersectActorWithLine maybe
+using invalid cell id when picking composite data
+- Add fix_qt5_example_cmake.patch
+  Fixes use of removed cmake macro in some examples
+  See: https://gitlab.kitware.com/vtk/vtk/issues/17336
+- Use modern cmake spec file macros
+- Run spec cleaner
+- Other spec file cleanups
+- Support parallel HDF5.
+- Drop support for qt4.  Any version of openSUSE with a recent
+  enough version of cmake to build the package supports Qt5.
+- Drop checks for old versions of openSUSE that have too old
+  of a cmake to build.
+
+---

Old:

  VTK-8.1.0.tar.gz

New:

  VTK-8.1.1.tar.gz
  fix_qt5_example_cmake.patch



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.gv4LAO/_old  2018-07-02 23:32:22.537329176 +0200
+++ /var/tmp/diff_new_pack.gv4LAO/_new  2018-07-02 23:32:22.537329176 +0200
@@ -23,7 +23,7 @@
 %define shlib %{vtklib}
 
 Name:   vtk
-Version:8.1.0
+Version:8.1.1
 Release:0
 %define series 8.1
 # This is a variant BSD license, a cross between BSD and ZLIB.
@@ -32,7 +32,7 @@
 Summary:The Visualization Toolkit - A high level 3D visualization 
library
 License:BSD-3-Clause
 Group:  Productivity/Scientific/Other
-Url:http://vtk.org/
+URL:http://vtk.org/
 Source: 
http://www.vtk.org/files/release/%{series}/VTK-%{version}.tar.gz
 # FIXME See if packaging can be tweaked to accommodate python-vtk's devel 
files in a devel package later
 # We need to use the compat conditionals here to avoid Factory's source 
validator from tripping up
@@ -41,16 +41,10 @@
 Patch1: vtk-fix-file-contains-date-time.patch
 # PATCH-FIX-OPENSUSE 0001-Allow-compilation-on-GLES-platforms.patch VTK issue 
#17113 stefan.bru...@rwth-aachen.de -- Fix building with Qt GLES builds
 Patch3: 0001-Allow-compilation-on-GLES-platforms.patch
+# PATCH-FIX-UPSTREAM fix_qt5_example_cmake.patch -- Fix for recent Qt5 version 
https://gitlab.kitware.com/vtk/vtk/issues/17336
+Patch4: fix_qt5_example_cmake.patch
 BuildRequires:  Mesa-libGL-devel
 BuildRequires:  R-base-devel
-%if 0%{?suse_version} >= 1500
-BuildRequires:  libboost_graph-devel
-BuildRequires:  libboost_graph_parallel-devel
-BuildRequires:  libboost_mpi-devel
-BuildRequires:  libboost_serialization-devel
-%else
-BuildRequires:  boost-devel
-%endif
 BuildRequires:  chrpath
 BuildRequires:  cmake >= 3.4
 BuildRequires:  doxygen
@@ -61,9 +55,19 @@
 BuildRequires:  gnuplot
 BuildRequires:  graphviz
 BuildRequires:  hdf5-devel
+BuildRequires:  hdf5-openmpi-devel
 BuildRequires:  java-devel
+BuildRequires:  jsoncpp-devel
 BuildRequires:  libX11-devel
 BuildRequires:  libXt-devel
+%if 0%{?suse_version} >= 1500
+BuildRequires:  libboost_graph-devel
+BuildRequires:  libboost_graph_parallel-devel
+BuildRequires:  libboost_mpi-devel
+BuildRequires:  libboost_serialization-devel
+%else
+BuildRequires:  boost-devel
+%endif
 BuildRequires:  libexpat-devel
 BuildRequires:  libiodbc-devel
 BuildRequires:  libjpeg-devel
@@ -77,38 +81,23 @@
 BuildRequires:  openmpi-devel
 BuildRequires:  python3-devel
 BuildRequires:  python3-mpi4py-devel
+BuildRequires:  python3-qt5-devel
 BuildRequires:  tcl-devel
 BuildRequires:  tk-devel
 BuildRequires:  wget
 BuildRequires:  zlib-devel
-%if 0%{?suse_version} > 1320
-BuildRequires:  python3-qt5-devel
+BuildRequires:  pkgconfig(Qt5Core)
 BuildRequires:  pkgconfig(Qt5OpenGL)
 BuildRequires:  pkgconfig(Qt5OpenGLExtensions)
 BuildRequires:  

commit vtk for openSUSE:Factory

2018-03-28 Thread root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2018-03-28 10:32:17

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new (New)


Package is "vtk"

Wed Mar 28 10:32:17 2018 rev:34 rq:591278 version:8.1.0

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2018-01-25 12:40:51.189787992 
+0100
+++ /work/SRC/openSUSE:Factory/.vtk.new/vtk.changes 2018-03-28 
10:32:36.858385160 +0200
@@ -1,0 +2,5 @@
+Sun Feb  4 00:41:17 UTC 2018 - stefan.bru...@rwth-aachen.de
+
+- Use split libboost*-devel BuildRequires for TW and Leap/SLE 15
+
+---



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.70iCtJ/_old  2018-03-28 10:32:38.358331214 +0200
+++ /var/tmp/diff_new_pack.70iCtJ/_new  2018-03-28 10:32:38.362331069 +0200
@@ -43,7 +43,14 @@
 Patch3: 0001-Allow-compilation-on-GLES-platforms.patch
 BuildRequires:  Mesa-libGL-devel
 BuildRequires:  R-base-devel
+%if 0%{?suse_version} >= 1500
+BuildRequires:  libboost_graph-devel
+BuildRequires:  libboost_graph_parallel-devel
+BuildRequires:  libboost_mpi-devel
+BuildRequires:  libboost_serialization-devel
+%else
 BuildRequires:  boost-devel
+%endif
 BuildRequires:  chrpath
 BuildRequires:  cmake >= 3.4
 BuildRequires:  doxygen




commit vtk for openSUSE:Factory

2018-01-25 Thread root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2018-01-25 12:40:45

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new (New)


Package is "vtk"

Thu Jan 25 12:40:45 2018 rev:33 rq:569356 version:8.1.0

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2018-01-19 11:53:02.308132334 
+0100
+++ /work/SRC/openSUSE:Factory/.vtk.new/vtk.changes 2018-01-25 
12:40:51.189787992 +0100
@@ -1,0 +2,7 @@
+Wed Jan 24 11:28:47 UTC 2018 - fst...@suse.com
+
+- Fix build with jdk10
+  * give a bogus javah path "%{_bindir}/true", since the cmake
+checks the javah binary although the build does not use it.
+
+---



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.1sLHtV/_old  2018-01-25 12:40:54.421637109 +0100
+++ /var/tmp/diff_new_pack.1sLHtV/_new  2018-01-25 12:40:54.421637109 +0100
@@ -54,7 +54,7 @@
 BuildRequires:  gnuplot
 BuildRequires:  graphviz
 BuildRequires:  hdf5-devel
-BuildRequires:  java-devel <= 9
+BuildRequires:  java-devel
 BuildRequires:  libX11-devel
 BuildRequires:  libXt-devel
 BuildRequires:  libexpat-devel
@@ -263,7 +263,13 @@
 
 mkdir build
 pushd build
+# FindJava.cmake looks for javah executable. However,
+# the build never invokes the tool. Define a bogus
+# Java_JAVAH_EXECUTABLE in order to be able to build
+# with JDK10 that does not have this tool, deprecated
+# since JDK8.
 cmake .. \
+-DJava_JAVAH_EXECUTABLE:PATH=%{_bindir}/true\
 -DCMAKE_CXX_COMPILER:STRING='mpicxx' \
 -DCMAKE_C_COMPILER:STRING='mpicc' \
 -DBUILD_DOCUMENTATION:BOOL=ON \




commit vtk for openSUSE:Factory

2018-01-19 Thread root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2018-01-19 11:52:47

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new (New)


Package is "vtk"

Fri Jan 19 11:52:47 2018 rev:32 rq:563920 version:8.1.0

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2017-12-08 12:59:16.413599321 
+0100
+++ /work/SRC/openSUSE:Factory/.vtk.new/vtk.changes 2018-01-19 
11:53:02.308132334 +0100
@@ -1,0 +2,33 @@
+Fri Jan 12 13:43:49 UTC 2018 - badshah...@gmail.com
+
+- Drop vtk-Rinterface-uintptr_t.patch as the related plugin has
+  been retired.
+
+---
+Wed Jan 10 12:34:03 UTC 2018 - badshah...@gmail.com
+
+- Drop vtk-compat_gl: Building against OpenGL1 has now been
+  deprecated with version 8.1.0, and the examples don't build
+  against it already; so, drop all specfile and related
+  modifications catering to OpenGL1 bindings.
+
+---
+Thu Dec 28 11:22:29 UTC 2017 - badshah...@gmail.com
+
+- Update to version 8.1.0:
+  * Full release notes at https://blog.kitware.com/vtk-8-1-0/.
+- Turn OFF building against system libharu, since libharu
+  upstream seems dead, while vtk's included libharu has new
+  features essential for building vtk 8.1. Drop BuildRequires on
+  libharu.
+- Does not build against java 10, so ensure at most java 9 is
+  used by using appropriate versioning for java-devel
+  BuildRequires.
+- Drop cmake options no longer used for build.
+- Drop VERBOSE=1 for make: it makes the compilation too verbose
+  making brp checks for code warnings too slow to execute; this
+  reduces build time by nearly half.
+- Enforce Qt4 for openSUSE <= 1320 explicitly because Qt5 is now
+  the default option.
+
+---

Old:

  VTK-8.0.1.tar.gz
  pre_checkin.sh
  vtk-Rinterface-uintptr_t.patch
  vtk-compat_gl.changes
  vtk-compat_gl.spec

New:

  VTK-8.1.0.tar.gz



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.UXfdUi/_old  2018-01-19 11:53:03.452078419 +0100
+++ /var/tmp/diff_new_pack.UXfdUi/_new  2018-01-19 11:53:03.456078230 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package vtk-compat_gl
+# spec file for package vtk
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,21 +20,12 @@
 %define pkgname vtk
 %define vtklib lib%{pkgname}1
 %define vtkcompatlib libvtkcompat_gl1
-
-%if %{compat_gl}
-%define shlib %{vtkcompatlib}
-%else
 %define shlib %{vtklib}
-%endif
 
-%if %{compat_gl}
-Name:   vtk-compat_gl
-%else
 Name:   vtk
-%endif
-Version:8.0.1
+Version:8.1.0
 Release:0
-%define series 8.0
+%define series 8.1
 # This is a variant BSD license, a cross between BSD and ZLIB.
 # For all intents, it has the same rights and restrictions as BSD.
 # http://fedoraproject.org/wiki/Licensing/BSD#VTKBSDVariant
@@ -48,8 +39,6 @@
 Source1:vtk-rpmlintrc
 # PATCH-FIX-UPSTREAM vtk-fix-file-contains-date-time.patch 
badshah...@gmail.com -- Fix file containing DATE and TIME
 Patch1: vtk-fix-file-contains-date-time.patch
-# PATCH-FIX-UPSTREAM vtk-Rinterface-uintptr_t.patch boo#985386 
badshah...@gmail.com -- Fix issues with uintptr_t redefinition by defining the 
HAVE_UINTPTR_T macro using cmake functions to avoid redefinition of uintptr_t, 
which is already defined in stdint.h called earlier; patch sent upstream
-Patch2: vtk-Rinterface-uintptr_t.patch
 # PATCH-FIX-OPENSUSE 0001-Allow-compilation-on-GLES-platforms.patch VTK issue 
#17113 stefan.bru...@rwth-aachen.de -- Fix building with Qt GLES builds
 Patch3: 0001-Allow-compilation-on-GLES-platforms.patch
 BuildRequires:  Mesa-libGL-devel
@@ -65,11 +54,10 @@
 BuildRequires:  gnuplot
 BuildRequires:  graphviz
 BuildRequires:  hdf5-devel
-BuildRequires:  java-devel
+BuildRequires:  java-devel <= 9
 BuildRequires:  libX11-devel
 BuildRequires:  libXt-devel
 BuildRequires:  libexpat-devel
-BuildRequires:  libharu-devel
 BuildRequires:  libiodbc-devel
 BuildRequires:  libjpeg-devel
 BuildRequires:  liblz4-devel >= 1.7.3
@@ -125,11 +113,7 @@
 %package -n %{shlib}
 Summary:The Visualization Toolkit - A high level 3D visualization 
library
 Group:  System/Libraries
-%if %{compat_gl}
-Conflicts:  %{vtklib}
-%else
 Conflicts:  %{vtkcompatlib}
-%endif
 
 %description -n %{shlib}
 VTK is a software system for image processing, 

commit vtk for openSUSE:Factory

2017-12-08 Thread root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2017-12-08 12:59:15

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new (New)


Package is "vtk"

Fri Dec  8 12:59:15 2017 rev:31 rq:554792 version:8.0.1

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk-compat_gl.changes2017-10-27 
14:00:58.181284200 +0200
+++ /work/SRC/openSUSE:Factory/.vtk.new/vtk-compat_gl.changes   2017-12-08 
12:59:16.361601199 +0100
@@ -1,0 +2,6 @@
+Mon Dec  4 18:25:57 UTC 2017 - br...@ioda-net.ch
+
+- Move BuildRequires:  libQtWebKit-devel (Qt4) inside the else
+  version < 13.2 
+
+---
vtk.changes: same change



Other differences:
--
++ vtk-compat_gl.spec ++
--- /var/tmp/diff_new_pack.qo0CHF/_old  2017-12-08 12:59:19.153500368 +0100
+++ /var/tmp/diff_new_pack.qo0CHF/_new  2017-12-08 12:59:19.157500224 +0100
@@ -66,7 +66,6 @@
 BuildRequires:  graphviz
 BuildRequires:  hdf5-devel
 BuildRequires:  java-devel
-BuildRequires:  libQtWebKit-devel
 BuildRequires:  libX11-devel
 BuildRequires:  libXt-devel
 BuildRequires:  libexpat-devel
@@ -95,6 +94,7 @@
 BuildRequires:  pkgconfig(Qt5WebKitWidgets)
 BuildRequires:  pkgconfig(Qt5Widgets)
 %else
+BuildRequires:  libQtWebKit-devel
 BuildRequires:  libqt4-devel
 BuildRequires:  python3-qt4-devel
 %endif

vtk.spec: same change



commit vtk for openSUSE:Factory

2017-10-27 Thread root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2017-10-27 14:00:55

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new (New)


Package is "vtk"

Fri Oct 27 14:00:55 2017 rev:30 rq:536862 version:8.0.1

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk-compat_gl.changes2017-10-09 
19:40:36.247670632 +0200
+++ /work/SRC/openSUSE:Factory/.vtk.new/vtk-compat_gl.changes   2017-10-27 
14:00:58.181284200 +0200
@@ -1,0 +2,42 @@
+Thu Oct 26 08:48:16 UTC 2017 - dims...@opensuse.org
+
+- Add conflict between the -devel-doc variants.
+
+---
+Tue Oct 24 11:55:17 UTC 2017 - dims...@opensuse.org
+
+- Setup MPI environment before building.
+
+---
+Thu Oct 12 20:47:27 UTC 2017 - jeng...@inai.de
+
+- Rectify RPM groups again.
+
+---
+Sun Oct  1 20:36:49 UTC 2017 - stefan.bru...@rwth-aachen.de
+
+- Move the vtk binary to the tcl subpackage, it is an interactive
+  TCL shell, and depends on the TCL bindings. It can be used
+  standalone from the devel package. Dito for its MPI variant, i.e.
+  the pvtk binary.
+- Move all libvtk*Java.so to the java subpackage. These are part of
+  the Java bindings, i.e. runtime dependencies. Otherwise, the java
+  subpacakge depends on the devel subpackage.
+- Add the tcl and java subpackage to the devel requires again.
+  Although not stricly necessary until building java or tcl packages,
+  the cmake files have a hard dependency on several build artifacts
+  provided by the tcl and java subpackages. Split devel packages
+  for the bindings would be preferred, but this is not supported by
+  the upstream build system.
+- Remove the openmpi-devel requires in the python subpackage, the
+  mpi runtime libraries are provided by openmpi-libs, which is
+  picked up automatically.
+
+---
+Sun Oct 01 17:04:57 UTC 2017 - stefan.bru...@rwth-aachen.de
+
+- Split the API documentation from the development subpackage. The
+  documentation amounts to almost 1 GByte of data, not necessary
+  when just building packages.
+
+---
vtk.changes: same change



Other differences:
--
++ vtk-compat_gl.spec ++
--- /var/tmp/diff_new_pack.tku7a2/_old  2017-10-27 14:01:01.049150138 +0200
+++ /var/tmp/diff_new_pack.tku7a2/_new  2017-10-27 14:01:01.053149951 +0200
@@ -139,7 +139,10 @@
 
 %package devel
 Summary:VTK header files for building C++ code
+# not strictly necessary, but required by VTKs cmake files
 Group:  Development/Libraries/C and C++
+Requires:   %{name}-java = %{version}
+Requires:   %{name}-tcl = %{version}
 Requires:   %{shlib} = %{version}
 Requires:   Mesa-libGL-devel
 Requires:   R-base-devel
@@ -177,6 +180,21 @@
 This provides the VTK header files required to compile C++ programs that
 use VTK to do 3D visualisation.
 
+%package devel-doc
+Summary:VTK API documentation
+Group:  Documentation/HTML
+%if %compat_gl
+# vtk and vtk-compat_gl have the same set of documentation.
+Conflicts:  vtk-devel-doc
+%endif
+
+%description devel-doc
+VTK is a software system for image processing, 3D graphics, volume
+rendering and visualization.
+
+This provides the VTK API documentation useful for developing programs that
+use VTK to do 3D visualisation.
+
 %package java
 Summary:Java bindings for VTK
 Group:  Development/Libraries/Java
@@ -198,8 +216,6 @@
 Summary:Python bindings for VTK
 Group:  Development/Languages/Python
 Requires:   %{shlib} = %{version}
-# DESPITE NOT BEING A DEVEL PACKAGE, THIS REQUIRES OPENMPI-DEVEL TO RUN
-Requires:   openmpi-devel
 %if %{compat_gl}
 Conflicts:  python3-vtk
 Provides:   python3-vtk
@@ -298,6 +314,10 @@
 export CFLAGS="%{optflags}"
 export CXXFLAGS="%{optflags}"
 
+if [ -f %{_libdir}/mpi/gcc/openmpi/bin/mpivars.sh ]; then
+  source %{_libdir}/mpi/gcc/openmpi/bin/mpivars.sh
+fi
+
 mkdir build
 pushd build
 cmake .. \
@@ -431,7 +451,6 @@
 %files devel
 %defattr(-,root,root,-)
 %doc Copyright.txt
-%{_bindir}/%{pkgname}
 %{_bindir}/%{pkgname}EncodeString
 %{_bindir}/%{pkgname}HashSource
 %{_bindir}/%{pkgname}WrapHierarchy
@@ -444,11 +463,9 @@
 %if %{compat_gl}
 %{_bindir}/%{pkgname}ParseOGLExt
 %endif
-%{_bindir}/pvtk
 %if 0%{?suse_version} <= 1320 && 0%{?suse_version} != 1315
 %{_bindir}/%{pkgname}mkg3states
 %endif
-%{_datadir}/doc/%{pkgname}-%{series}/
 %{_libdir}/*.so
 %if 0%{?suse_version} <= 1320 && 

commit vtk for openSUSE:Factory

2017-10-09 Thread root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2017-10-09 19:40:31

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new (New)


Package is "vtk"

Mon Oct  9 19:40:31 2017 rev:29 rq:529946 version:8.0.1

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk-compat_gl.changes2017-09-12 
19:55:20.891471260 +0200
+++ /work/SRC/openSUSE:Factory/.vtk.new/vtk-compat_gl.changes   2017-10-09 
19:40:36.247670632 +0200
@@ -1,0 +2,43 @@
+Thu Sep 28 10:43:27 UTC 2017 - badshah...@gmail.com
+
+- Drop vtk-compat_gl-rpmlintrc: openSUSE:Factory bots don't accept
+  conditional sources and one rpmlintrc file is sufficient for
+  both main and linked packages anyway.
+
+---
+Tue Sep 19 10:46:40 UTC 2017 - kkhere@gmail.com
+
+- do not exclude libViewsGeovisJava.so from devel package 
+  This library is required for development.
+- package vtk binary in devel package.
+- VTKTargets-debug.cmake tests for the existance of the library (line 3394)
+  and the binary (line 3404) and causes an error if the files do
+  not exist
+
+---
+Thu Sep 14 20:54:34 UTC 2017 - stefan.bru...@rwth-aachen.de
+
+- Remove the various subpackage Requires from the devel package
+  again. The qt subpackage contains a Qt Designer plugin and no
+  dependency at all. Package the vtkWrap{Tcl,Java,Python} wrapper
+  generators in the devel package, as these are useless without
+  the vtk headers files.
+- Fix description/summary of vtk-qt subpackage
+
+---
+Tue Sep 12 12:33:38 UTC 2017 - kkhere@gmail.com
+
+- devel subpackage should require -tcl, -java and -qt subpackages
+  since the *.cmake files refer to files in those subpackages
+
+---
+Mon Sep 11 13:46:28 UTC 2017 - stefan.bru...@rwth-aachen.de
+
+- Add 0001-Allow-compilation-on-GLES-platforms.patch
+  The QOpenGLFunctions_3_2_Core class providing the framebuffer
+  blit functions is not available on GLES 2 builds of Qt5. Let Qt
+  handle the framebuffer blit, and just use the GLES/GL subset
+  provided by QOpenGLFunctions for the remainder.
+  Fix for https://gitlab.kitware.com/vtk/vtk/issues/17113
+
+---
vtk.changes: same change

Old:

  vtk-compat_gl-rpmlintrc

New:

  0001-Allow-compilation-on-GLES-platforms.patch



Other differences:
--
++ vtk-compat_gl.spec ++
--- /var/tmp/diff_new_pack.zz4ngJ/_old  2017-10-09 19:40:37.727605586 +0200
+++ /var/tmp/diff_new_pack.zz4ngJ/_new  2017-10-09 19:40:37.731605410 +0200
@@ -45,15 +45,13 @@
 Source: 
http://www.vtk.org/files/release/%{series}/VTK-%{version}.tar.gz
 # FIXME See if packaging can be tweaked to accommodate python-vtk's devel 
files in a devel package later
 # We need to use the compat conditionals here to avoid Factory's source 
validator from tripping up
-%if %{compat_gl}
-Source1:vtk-compat_gl-rpmlintrc
-%else
 Source1:vtk-rpmlintrc
-%endif
 # PATCH-FIX-UPSTREAM vtk-fix-file-contains-date-time.patch 
badshah...@gmail.com -- Fix file containing DATE and TIME
 Patch1: vtk-fix-file-contains-date-time.patch
 # PATCH-FIX-UPSTREAM vtk-Rinterface-uintptr_t.patch boo#985386 
badshah...@gmail.com -- Fix issues with uintptr_t redefinition by defining the 
HAVE_UINTPTR_T macro using cmake functions to avoid redefinition of uintptr_t, 
which is already defined in stdint.h called earlier; patch sent upstream
 Patch2: vtk-Rinterface-uintptr_t.patch
+# PATCH-FIX-OPENSUSE 0001-Allow-compilation-on-GLES-platforms.patch VTK issue 
#17113 stefan.bru...@rwth-aachen.de -- Fix building with Qt GLES builds
+Patch3: 0001-Allow-compilation-on-GLES-platforms.patch
 BuildRequires:  Mesa-libGL-devel
 BuildRequires:  R-base-devel
 BuildRequires:  boost-devel
@@ -216,7 +214,7 @@
 This package provides python bindings for VTK.
 
 %package qt
-Summary:Qt VTK widget
+Summary:Qt Designer plugin for QVTKWidget
 Group:  Development/Libraries/C and C++
 Requires:   %{shlib} = %{version}
 %if %{compat_gl}
@@ -230,7 +228,7 @@
 VTK is a software system for image processing, 3D graphics, volume
 rendering and visualization.
 
-This package provides Qt bindings for VTK.
+This package provides a Qt Designer plugin for the QVTKWidget.
 
 %package tcl
 Summary:Tcl bindings for VTK
@@ -290,6 +288,7 @@
 %setup -q -n VTK-%{version}
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 # Replace relative path ../../../VTKData with 

commit vtk for openSUSE:Factory

2017-09-12 Thread root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2017-09-12 19:54:55

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new (New)


Package is "vtk"

Tue Sep 12 19:54:55 2017 rev:28 rq:523056 version:8.0.1

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk-compat_gl.changes2017-08-28 
15:14:47.880683224 +0200
+++ /work/SRC/openSUSE:Factory/.vtk.new/vtk-compat_gl.changes   2017-09-12 
19:55:20.891471260 +0200
@@ -1,0 +2,21 @@
+Fri Sep  1 00:13:18 UTC 2017 - badshah...@gmail.com
+
+- Update to version 8.0.1:  
+  * Fix QVTKOpenGLWidget rendering issues on Windows machines with
+certain Intel graphics chips. This was a significant issue
+that broke all rendering and resulted in a black screen.
+  * Fix data array range caching per finite component which would
+otherwise cause considerable slow-downs when using data
+arrays.
+  * Fix button and slider widgets to work in multi-viewport render
+windows. Without this change the widgets would either be
+placed in the wrong viewport or be non-interactive completely.
+  * Fix image XY sampling in the volume mapper when depth peeling
+is enabled.
+  * Fix z-fighting issues with dual depth peeling between two
+layers of geometry that are too close.
+  * Fix crash when reparenting the QVTKWidget to a different
+window. The application would crash due to lack of OpenGL
+resources for the reparented widget.
+
+---
vtk.changes: same change

Old:

  VTK-8.0.0.tar.gz

New:

  VTK-8.0.1.tar.gz



Other differences:
--
++ vtk-compat_gl.spec ++
--- /var/tmp/diff_new_pack.4eeXrZ/_old  2017-09-12 19:55:24.219003385 +0200
+++ /var/tmp/diff_new_pack.4eeXrZ/_new  2017-09-12 19:55:24.239000574 +0200
@@ -32,7 +32,7 @@
 %else
 Name:   vtk
 %endif
-Version:8.0.0
+Version:8.0.1
 Release:0
 %define series 8.0
 # This is a variant BSD license, a cross between BSD and ZLIB.

++ vtk.spec ++
--- /var/tmp/diff_new_pack.4eeXrZ/_old  2017-09-12 19:55:24.274995513 +0200
+++ /var/tmp/diff_new_pack.4eeXrZ/_new  2017-09-12 19:55:24.278994950 +0200
@@ -32,7 +32,7 @@
 %else
 Name:   vtk
 %endif
-Version:8.0.0
+Version:8.0.1
 Release:0
 %define series 8.0
 # This is a variant BSD license, a cross between BSD and ZLIB.

++ VTK-8.0.0.tar.gz -> VTK-8.0.1.tar.gz ++
/work/SRC/openSUSE:Factory/vtk/VTK-8.0.0.tar.gz 
/work/SRC/openSUSE:Factory/.vtk.new/VTK-8.0.1.tar.gz differ: char 5, line 1




commit vtk for openSUSE:Factory

2017-08-28 Thread root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2017-08-28 15:12:57

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new (New)


Package is "vtk"

Mon Aug 28 15:12:57 2017 rev:27 rq:518423 version:8.0.0

Changes:

New Changes file:

--- /dev/null   2017-07-20 07:30:00.335470106 +0200
+++ /work/SRC/openSUSE:Factory/.vtk.new/vtk-compat_gl.changes   2017-08-28 
15:14:47.880683224 +0200
@@ -0,0 +1,449 @@
+---
+Mon Aug 21 18:41:37 UTC 2017 - badshah...@gmail.com
+
+- Suppress romlint error about shlib-policy-name-error for
+  %{name}-java -- libvtkViewsGeovisJava.so packaged therein
+  is not a versioned shared lib, and only used by vtk's java
+  bindings, so there is no point in enforcing the shared lib
+  packaging policy for this subpackage.
+
+---
+Wed Aug  9 10:40:59 UTC 2017 - badshah...@gmail.com
+
+- Move libvtkViewsGeovisJava.so to the %{name}-java subpackage,
+  this is not really a devel file.
+
+---
+Wed Aug  9 08:54:55 UTC 2017 - jeng...@inai.de
+
+- Fix RPM groups. Use POSIX-compliant find call.
+
+---
+Mon Aug  7 09:13:03 UTC 2017 - badshah...@gmail.com
+
+- Implement shared library packaging policy for vtk:
+  + Rename %{name} to %{shlib}.
+  + Move all shared library objects to %{shlib} package.
+  + Remove no longer needed Requires from %{name}-devel package;
+e.g.: %{name}-java contains the java binaries and jar object
+now, and no longer the lib*Java.so file which has been moved
+into %{shlib}.
+  + Adapt conflicts for vtk-compat_gl accordingly.
+  + Install libraries to /usr/lib(64) instead of
+/usr/lib(64)/vtk.
+  + Do away with python3-%{name}-qt subpackage and
+Obsolete/Provide it from %{shlib} as it only contained a
+shared lib object.
+- Use system mpi4py; add BuildRequires on python3-mpi4py.
+- liblz4 >= 1.7.3 now required (since version 8.0); adapt
+  BuildRequires accordingly.
+
+---
+Tue Jul 25 00:04:11 UTC 2017 - jeng...@inai.de
+
+- Trim descriptions and rectify RPM groups.
+
+---
+Mon Jul 17 23:37:37 UTC 2017 - adr...@suse.de
+
+- add liblz4-devel and libharu-devel also to Requires of devel package
+  (fixes linking errors in other packages)
+
+---
+Mon Jul  3 13:47:05 UTC 2017 - badshah...@gmail.com
+
+- Update to version 8.0.0: 
+  * Read about changes here: https://blog.kitware.com/vtk-8-0-0/
+  * API changes:
+http://www.vtk.org/Wiki/VTK/API_Changes_7_1_0_to_8_0_0
+- Add BuildRequires on liblz4-devel, libharu-devel, mandatory
+  requirements for version 8.0.0.
+- Run make DoxygenDoc to generate documentation.
+
+---
+Fri Apr 14 18:18:36 UTC 2017 - kkhere@gmail.com
+
+- add a separate package vtk-compat_gl compile using rendering backend
+  OpenGL for systems without brand new graphic cards
+- default package vtk still uses new rendering backend default OpenGL2
+
+---
+Wed Nov 23 10:28:02 UTC 2016 - badshah...@gmail.com
+
+- Update to version 7.1.0: See news item at
+  
https://blog.kitware.com/kitware-plans-to-spotlight-new-vtk-and-paraview-releases-at-sc16/
+- Drop patch vtk-gcc6.patch, upstreamed.
+- Turn off usage of system DIY2, this library is not yet packaged
+  for openSUSE.
+- Disable mkg3states binary also for openSUSE:Leap versions.
+- Update file list for upstream installation changes.
+- Use bundled gl2ps, as it no longer builds against the system
+  one (requires svn trunk version of gl2ps).
+- CMake >= 3.4 is now required (earlier versions don't support
+  NAMES_PER_DIR in find_program).
+- Enable use of SYSTEM_LIBRARIES for openSUSE:Leap versions too
+  (only 13.2 requires this turned off as of now).
+
+---
+Wed Aug 10 00:56:56 UTC 2016 - badshah...@gmail.com
+
+- Refresh vtk-Rinterface-uintptr_t.patch to fix further issues
+  with uintptr_t redefinition by defining the HAVE_UINTPTR_T
+  macro using cmake functions; removing the #include of stdint.h
+  is not needed any more since we will not be using the defs from
+  Rinterface.h anyway (boo#985386). Although this really causes a
+  build failure for the i586 arch, where the redefinition of
+  unitptr_t in Rinterface.h conflicts with the stdint.h defintion,
+  the patch is applied generally because the 

commit vtk for openSUSE:Factory

2017-02-03 Thread root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2017-01-29 10:33:13

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new (New)


Package is "vtk"

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2016-08-13 18:31:00.0 
+0200
+++ /work/SRC/openSUSE:Factory/.vtk.new/vtk.changes 2017-02-03 
20:04:51.588453168 +0100
@@ -1,0 +2,17 @@
+Wed Nov 23 10:28:02 UTC 2016 - badshah...@gmail.com
+
+- Update to version 7.1.0: See news item at
+  
https://blog.kitware.com/kitware-plans-to-spotlight-new-vtk-and-paraview-releases-at-sc16/
+- Drop patch vtk-gcc6.patch, upstreamed.
+- Turn off usage of system DIY2, this library is not yet packaged
+  for openSUSE.
+- Disable mkg3states binary also for openSUSE:Leap versions.
+- Update file list for upstream installation changes.
+- Use bundled gl2ps, as it no longer builds against the system
+  one (requires svn trunk version of gl2ps).
+- CMake >= 3.4 is now required (earlier versions don't support
+  NAMES_PER_DIR in find_program).
+- Enable use of SYSTEM_LIBRARIES for openSUSE:Leap versions too
+  (only 13.2 requires this turned off as of now).
+
+---

Old:

  VTK-7.0.0.tar.gz
  vtk-gcc6.patch

New:

  VTK-7.1.0.tar.gz



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.CLCIPI/_old  2017-02-03 20:04:53.084242626 +0100
+++ /var/tmp/diff_new_pack.CLCIPI/_new  2017-02-03 20:04:53.092241501 +0100
@@ -17,9 +17,9 @@
 
 
 Name:   vtk
-Version:7.0.0
+Version:7.1.0
 Release:0
-%define series 7.0
+%define series 7.1
 # This is a variant BSD license, a cross between BSD and ZLIB.
 # For all intents, it has the same rights and restrictions as BSD.
 # http://fedoraproject.org/wiki/Licensing/BSD#VTKBSDVariant
@@ -34,13 +34,11 @@
 Patch1: vtk-fix-file-contains-date-time.patch
 # PATCH-FIX-UPSTREAM vtk-Rinterface-uintptr_t.patch boo#985386 
badshah...@gmail.com -- Fix issues with uintptr_t redefinition by defining the 
HAVE_UINTPTR_T macro using cmake functions to avoid redefinition of uintptr_t, 
which is already defined in stdint.h called earlier; patch sent upstream
 Patch2: vtk-Rinterface-uintptr_t.patch
-# PATCH-FIX-UPSTREAM vtk-gcc6.patch dmuel...@suse.com -- Fix compilation with 
GCC >= 6.0
-Patch3: vtk-gcc6.patch
 BuildRequires:  Mesa-libGL-devel
 BuildRequires:  R-base-devel
 BuildRequires:  boost-devel
 BuildRequires:  chrpath
-BuildRequires:  cmake
+BuildRequires:  cmake >= 3.4
 BuildRequires:  doxygen
 BuildRequires:  fdupes
 BuildRequires:  freetype2-devel
@@ -84,8 +82,8 @@
 %else
 BuildRequires:  pkgconfig(libxml-2.0)
 %endif
-# jsoncpp available for openSUSE > 13.2
-%if 0%{?suse_version} > 1320
+# jsoncpp available for openSUSE > 13.2 & Leap
+%if 0%{?suse_version} > 1320 || 0%{suse_version} == 1315
 BuildRequires:  jsoncpp-devel
 %endif
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -113,8 +111,8 @@
 Requires:   R-base-devel
 Requires:   gl2ps-devel
 Requires:   hdf5-devel
-# jsoncpp available for openSUSE > 13.2
-%if 0%{?suse_version} > 1320
+# jsoncpp available for openSUSE > 13.2 & Leap
+%if 0%{?suse_version} > 1320 || 0%{suse_version} == 1315
 Requires:   jsoncpp-devel
 %endif
 Requires:   freetype2-devel
@@ -265,7 +263,6 @@
 %setup -q -n VTK-%{version}
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
 
 # Replace relative path ../../../VTKData with 
%%{_datadir}/%%{name}data-%%{version}
 # otherwise it will break on symlinks.
@@ -298,7 +295,7 @@
 -DVTK_INSTALL_QT_DIR:STRING=/%{qtdir}/plugins/designer \
 -DVTK_USE_OGGTHEORA_ENCODER:BOOL=ON \
 -DVTK_USE_RENDERING:BOOL=ON \
-%if 0%{?suse_version} > 1320
+%if 0%{?suse_version} > 1320 || 0%{suse_version} == 1315
 -DVTK_USE_SYSTEM_LIBRARIES:BOOL=ON \
 %else
 -DVTK_USE_SYSTEM_LIBRARIES:BOOL=OFF \
@@ -323,7 +320,9 @@
 -DVTK_USE_SYSTEM_HDF5:BOOL=ON  \
 -DVTK_USE_SYSTEM_NETCDF:BOOL=ON \
 -DVTK_PYTHON_VERSION=3 \
--DCMAKE_NO_BUILTIN_CHRPATH:BOOL=ON
+-DCMAKE_NO_BUILTIN_CHRPATH:BOOL=ON \
+-DVTK_USE_SYSTEM_DIY2=OFF \
+-DVTK_USE_SYSTEM_GL2PS=OFF
 
 make %{?_smp_mflags} VERBOSE=1
 
@@ -419,22 +418,28 @@
 %config %{_sysconfdir}/ld.so.conf.d/%{name}.conf
 %doc Copyright.txt
 %dir %{_libdir}/%{name}/
+%if 0%{?suse_version} <= 1320 && 0%{?suse_version} != 1315
+%{_libdir}/libvtktiff.so.*
+%endif
 
 %files devel
 %defattr(-,root,root,-)
 %{_bindir}/%{name}EncodeString
 %{_bindir}/%{name}HashSource
 %{_bindir}/%{name}WrapHierarchy
-%if 0%{?suse_version} <= 1320
+%{_bindir}/pvtk
+%if 0%{?suse_version} <= 1320 && 0%{?suse_version} != 1315
 %{_bindir}/%{name}mkg3states
 %endif
 

commit vtk for openSUSE:Factory

2016-08-13 Thread h_root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2016-08-13 18:30:58

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new (New)


Package is "vtk"

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2016-04-28 17:00:34.0 
+0200
+++ /work/SRC/openSUSE:Factory/.vtk.new/vtk.changes 2016-08-13 
18:31:00.0 +0200
@@ -1,0 +2,13 @@
+Wed Aug 10 00:56:56 UTC 2016 - badshah...@gmail.com
+
+- Refresh vtk-Rinterface-uintptr_t.patch to fix further issues
+  with uintptr_t redefinition by defining the HAVE_UINTPTR_T
+  macro using cmake functions; removing the #include of stdint.h
+  is not needed any more since we will not be using the defs from
+  Rinterface.h anyway (boo#985386). Although this really causes a
+  build failure for the i586 arch, where the redefinition of
+  unitptr_t in Rinterface.h conflicts with the stdint.h defintion,
+  the patch is applied generally because the redefinition is not
+  needed in any case. Patch sent upstream.
+
+---



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.kyGLor/_old  2016-08-13 18:31:02.0 +0200
+++ /var/tmp/diff_new_pack.kyGLor/_new  2016-08-13 18:31:02.0 +0200
@@ -32,7 +32,7 @@
 Source1:vtk-rpmlintrc
 # PATCH-FIX-UPSTREAM vtk-fix-file-contains-date-time.patch 
badshah...@gmail.com -- Fix file containing DATE and TIME
 Patch1: vtk-fix-file-contains-date-time.patch
-# PATCH-FIX-UPSTREAM vtk-Rinterface-uintptr_t.patch badshah...@gmail.com -- 
Only use uintptr_t definition from R headers; no longer include stdint.h
+# PATCH-FIX-UPSTREAM vtk-Rinterface-uintptr_t.patch boo#985386 
badshah...@gmail.com -- Fix issues with uintptr_t redefinition by defining the 
HAVE_UINTPTR_T macro using cmake functions to avoid redefinition of uintptr_t, 
which is already defined in stdint.h called earlier; patch sent upstream
 Patch2: vtk-Rinterface-uintptr_t.patch
 # PATCH-FIX-UPSTREAM vtk-gcc6.patch dmuel...@suse.com -- Fix compilation with 
GCC >= 6.0
 Patch3: vtk-gcc6.patch

++ vtk-Rinterface-uintptr_t.patch ++
--- /var/tmp/diff_new_pack.kyGLor/_old  2016-08-13 18:31:02.0 +0200
+++ /var/tmp/diff_new_pack.kyGLor/_new  2016-08-13 18:31:02.0 +0200
@@ -1,25 +1,26 @@
-Index: VTK-7.0.0/Filters/StatisticsGnuR/vtkRInterface.cxx
+Index: VTK-7.0.0/Filters/StatisticsGnuR/CMakeLists.txt
 ===
 VTK-7.0.0.orig/Filters/StatisticsGnuR/vtkRInterface.cxx
-+++ VTK-7.0.0/Filters/StatisticsGnuR/vtkRInterface.cxx
-@@ -20,12 +20,15 @@
+--- VTK-7.0.0.orig/Filters/StatisticsGnuR/CMakeLists.txt
 VTK-7.0.0/Filters/StatisticsGnuR/CMakeLists.txt
+@@ -16,6 +16,10 @@ include_directories(${R_INCLUDE_DIR})
  
- #include "vtkRInterface.h"
+ add_definitions(-DVTK_BUILDING_FILTERS_STATISTICSGNUR)
  
-+// uintptr_t is already defined in recent versions of R which therefore 
causes a
-+// clash when the same symbol is redefined in stddef.h
++# Check for the existance of uintptr_t type and set the HAVE_UINTPTR_T macro
++include(CheckTypeSize)
++CHECK_TYPE_SIZE(uintptr_t UINTPTR_T)
 +
- // for uintptr_t
--#ifdef _MSC_VER
--#include 
--#else
--#include 
--#endif
-+// #ifdef _MSC_VER
-+// #include 
-+// #else
-+// #include 
-+// #endif
+ # Configure the module specific settings into a module configured header.
+ 
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/vtkFiltersStatisticsGnuRConfigure.h.in
+   ${CMAKE_CURRENT_BINARY_DIR}/vtkFiltersStatisticsGnuRConfigure.h)
+Index: VTK-7.0.0/Filters/StatisticsGnuR/vtkFiltersStatisticsGnuRConfigure.h.in
+===
+--- 
VTK-7.0.0.orig/Filters/StatisticsGnuR/vtkFiltersStatisticsGnuRConfigure.h.in
 VTK-7.0.0/Filters/StatisticsGnuR/vtkFiltersStatisticsGnuRConfigure.h.in
+@@ -17,5 +17,6 @@
+ #define vtkFiltersStatisticsGnuRConfigure_h
+ 
+ #define VTK_R_HOME "@R_HOME@"
++#cmakedefine HAVE_UINTPTR_T
  
- #include "vtkInformation.h"
- #include "vtkInformationVector.h"
+ #endif




commit vtk for openSUSE:Factory

2016-04-28 Thread h_root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2016-04-28 16:56:17

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new (New)


Package is "vtk"

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2016-02-26 00:47:02.0 
+0100
+++ /work/SRC/openSUSE:Factory/.vtk.new/vtk.changes 2016-04-28 
17:00:34.0 +0200
@@ -1,0 +2,33 @@
+Wed Apr 13 11:32:12 UTC 2016 - badshah...@gmail.com
+
+- Add freetype2-devel as a Requires for vtk-devel.
+
+---
+Wed Mar 30 14:31:03 UTC 2016 - badshah...@gmail.com
+
+- Apply vtk-gcc6.patch also to python-vtk.
+
+---
+Wed Mar 30 13:08:09 UTC 2016 - ste...@gmail.com
+
+- Fixed RPATH error for Factory by passing the option
+  CMAKE_NO_BUILTIN_CHRPATH:BOOL=ON to cmake. 
+
+---
+Tue Mar 29 20:27:32 UTC 2016 - dmuel...@suse.com
+
+- add vtk-gcc6.patch: Fix build with gcc 6
+- skip RPATH setting
+
+---
+Fri Mar 18 19:27:34 UTC 2016 - ste...@gmail.com
+
+- openmpi-libs will be installed with openmpi-devel if necessary.
+  No such package on openSUSE 13.1.
+
+---
+Tue Mar 15 13:33:58 UTC 2016 - dval...@suse.com
+
+- Add disk constraints 
+
+---

New:

  _constraints
  vtk-gcc6.patch



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.vTIK3f/_old  2016-04-28 17:00:39.0 +0200
+++ /var/tmp/diff_new_pack.vTIK3f/_new  2016-04-28 17:00:39.0 +0200
@@ -34,6 +34,8 @@
 Patch1: vtk-fix-file-contains-date-time.patch
 # PATCH-FIX-UPSTREAM vtk-Rinterface-uintptr_t.patch badshah...@gmail.com -- 
Only use uintptr_t definition from R headers; no longer include stdint.h
 Patch2: vtk-Rinterface-uintptr_t.patch
+# PATCH-FIX-UPSTREAM vtk-gcc6.patch dmuel...@suse.com -- Fix compilation with 
GCC >= 6.0
+Patch3: vtk-gcc6.patch
 BuildRequires:  Mesa-libGL-devel
 BuildRequires:  R-base-devel
 BuildRequires:  boost-devel
@@ -115,6 +117,7 @@
 %if 0%{?suse_version} > 1320
 Requires:   jsoncpp-devel
 %endif
+Requires:   freetype2-devel
 Requires:   libexpat-devel
 Requires:   libjpeg-devel
 Requires:   libmysqlclient-devel
@@ -159,7 +162,6 @@
 Requires:   %{name} = %{version}
 # DESPITE NOT BEING A DEVEL PACKAGE, THIS REQUIRES OPENMPI-DEVEL TO RUN
 Requires:   openmpi-devel
-Requires:   openmpi-libs
 
 %description -n python3-%{name}
 VTK is an open-source software system for image processing, 3D
@@ -187,6 +189,8 @@
 Requires:   libqt4-devel
 Requires:   python3-qt4
 %endif
+# CONFLICTS IS FOR A PKG (python-vtk) IN SCIENCE THAT IS NOT INTENDED TO BE 
INCLUDED IN openSUSE:FACTORY
+Conflicts:  python-vtk
 
 %description -n python3-%{name}-qt
 VTK is an open-source software system for image processing, 3D
@@ -261,6 +265,7 @@
 %setup -q -n VTK-%{version}
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 # Replace relative path ../../../VTKData with 
%%{_datadir}/%%{name}data-%%{version}
 # otherwise it will break on symlinks.
@@ -279,6 +284,7 @@
 -DBUILD_EXAMPLES:BOOL=ON \
 -DBUILD_SHARED_LIBS:BOOL=ON \
 -DBUILD_TESTING:BOOL=OFF \
+-DCMAKE_SKIP_RPATH:BOOL=ON \
 -DVTK_CUSTOM_LIBRARY_SUFFIX="" \
 -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
 -DSIP_INCLUDE_DIR:Path=%{py3_incdir} \
@@ -316,7 +322,8 @@
 -DVTK_WRAP_TCL:BOOL=ON \
 -DVTK_USE_SYSTEM_HDF5:BOOL=ON \
 -DVTK_USE_SYSTEM_NETCDF:BOOL=ON \
--DVTK_PYTHON_VERSION=3
+-DVTK_PYTHON_VERSION=3 \
+-DCMAKE_NO_BUILTIN_CHRPATH:BOOL=ON
 
 make %{?_smp_mflags} VERBOSE=1
 

++ _constraints ++


  
8
  



++ vtk-gcc6.patch ++
diff --git a/CMake/GenerateExportHeader.cmake b/CMake/GenerateExportHeader.cmake
index ecfae31..80244df 100644
--- a/CMake/GenerateExportHeader.cmake
+++ b/CMake/GenerateExportHeader.cmake
@@ -163,10 +163,10 @@ endmacro()
 macro(_test_compiler_hidden_visibility)
 
   if(CMAKE_COMPILER_IS_GNUCXX)
-execute_process(COMMAND ${CMAKE_C_COMPILER} ARGS --version
+execute_process(COMMAND ${CMAKE_C_COMPILER} --version
   OUTPUT_VARIABLE _gcc_version_info
   ERROR_VARIABLE _gcc_version_info)
-string(REGEX MATCH "[345]\\.[0-9]\\.[0-9]*"
+string(REGEX MATCH "[3-9]\\.[0-9]\\.[0-9]*"
   _gcc_version "${_gcc_version_info}")
 # gcc on mac just reports: "gcc (GCC) 3.3 20030304 ..." without the
 # patch level, handle this here:
@@ 

commit vtk for openSUSE:Factory

2016-02-25 Thread h_root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2016-02-25 22:05:09

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new (New)


Package is "vtk"

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2015-09-19 06:55:44.0 
+0200
+++ /work/SRC/openSUSE:Factory/.vtk.new/vtk.changes 2016-02-26 
00:47:02.0 +0100
@@ -1,0 +2,21 @@
+Wed Feb 17 01:13:12 UTC 2016 - badshah...@gmail.com
+
+- Update to version 7.0.0:
+  + See https://blog.kitware.com/vtk-7-0-0/ for a detailed
+article describing all the changes in this version.
+- Add vtk-Rinterface-uintptr_t.patch to fix building: uintptr_t
+  is already defined in the R headers, uintptr_t definition in
+   conflicts with the R definition and causes builds to
+  fail. This patch fixes the problem by commenting out the call
+  to include stdint.h (it was only being used for this solitary
+  symbol).
+- Use python 3 for building, rename python- subpackages
+  accordingly to python3-.
+- Update file lists in accordance with added/dropped binaries
+  upstream; affects vtk-examples, vtk-devel.
+- Drop conditionals referencing outdated openSUSE version 12.3.
+- Update rpmlintrc file to suppress rpmlint warnings for
+  "no-manual-page-for-binary": upstream does not supply manuals
+  for its binaries and does not plan to.
+
+---

Old:

  VTK-6.3.0.tar.gz

New:

  VTK-7.0.0.tar.gz
  vtk-Rinterface-uintptr_t.patch



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.RSgRR8/_old  2016-02-26 00:47:04.0 +0100
+++ /var/tmp/diff_new_pack.RSgRR8/_new  2016-02-26 00:47:04.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package vtk
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,9 +17,9 @@
 
 
 Name:   vtk
-Version:6.3.0
+Version:7.0.0
 Release:0
-%define series 6.3
+%define series 7.0
 # This is a variant BSD license, a cross between BSD and ZLIB.
 # For all intents, it has the same rights and restrictions as BSD.
 # http://fedoraproject.org/wiki/Licensing/BSD#VTKBSDVariant
@@ -32,6 +32,8 @@
 Source1:vtk-rpmlintrc
 # PATCH-FIX-UPSTREAM vtk-fix-file-contains-date-time.patch 
badshah...@gmail.com -- Fix file containing DATE and TIME
 Patch1: vtk-fix-file-contains-date-time.patch
+# PATCH-FIX-UPSTREAM vtk-Rinterface-uintptr_t.patch badshah...@gmail.com -- 
Only use uintptr_t definition from R headers; no longer include stdint.h
+Patch2: vtk-Rinterface-uintptr_t.patch
 BuildRequires:  Mesa-libGL-devel
 BuildRequires:  R-base-devel
 BuildRequires:  boost-devel
@@ -59,14 +61,13 @@
 BuildRequires:  libtiff-devel
 BuildRequires:  netcdf-devel
 BuildRequires:  openmpi-devel
-BuildRequires:  python-devel
-
+BuildRequires:  python3-devel
 BuildRequires:  tcl-devel
 BuildRequires:  tk-devel
 BuildRequires:  wget
 BuildRequires:  zlib-devel
 %if 0%{?suse_version} > 1320
-BuildRequires:  python-qt5-devel
+BuildRequires:  python3-qt5-devel
 BuildRequires:  pkgconfig(Qt5OpenGL)
 BuildRequires:  pkgconfig(Qt5OpenGLExtensions)
 BuildRequires:  pkgconfig(Qt5Sql)
@@ -74,7 +75,7 @@
 BuildRequires:  pkgconfig(Qt5Widgets)
 %else
 BuildRequires:  libqt4-devel
-BuildRequires:  python-qt4-devel
+BuildRequires:  python3-qt4-devel
 %endif
 %if %{?sles_version}
 BuildRequires:  libxml2-devel
@@ -125,8 +126,8 @@
 Requires:   libxml2-devel
 Requires:   netcdf-devel
 Requires:   openmpi-devel
-Requires:   python-%{name} = %{version}
-Requires:   python-%{name}-qt = %{version}
+Requires:   python3-%{name} = %{version}
+Requires:   python3-%{name}-qt = %{version}
 
 %description devel
 VTK is an open-source software system for image processing, 3D
@@ -152,16 +153,15 @@
 
 This package provides java bindings for VTK.
 
-%package -n python-%{name}
+%package -n python3-%{name}
 Summary:Python bindings for VTK
 Group:  System/Libraries
 Requires:   %{name} = %{version}
 # DESPITE NOT BEING A DEVEL PACKAGE, THIS REQUIRES OPENMPI-DEVEL TO RUN
 Requires:   openmpi-devel
 Requires:   openmpi-libs
-%{py_requires}
 
-%description -n python-%{name}
+%description -n python3-%{name}
 VTK is an open-source software system for image processing, 3D
 graphics, volume rendering and visualization. VTK includes many
 advanced algorithms (e.g., surface reconstruction, implicit modelling,
@@ -170,26 +170,25 @@
 
 This package provides 

commit vtk for openSUSE:Factory

2015-09-18 Thread h_root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2015-09-19 06:55:29

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new (New)


Package is "vtk"

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2015-08-21 07:40:49.0 
+0200
+++ /work/SRC/openSUSE:Factory/.vtk.new/vtk.changes 2015-09-19 
06:55:44.0 +0200
@@ -1,0 +2,14 @@
+Fri Sep 18 09:11:38 UTC 2015 - badshah...@gmail.com
+
+- vtkdata should be a Recommends for vtk-examples, not Requires.
+
+---
+Mon Aug 31 07:39:10 UTC 2015 - badshah...@gmail.com
+
+- Update to version 6.3.0:
+  - See list of changes at
+http://www.vtk.org/Bug/changelog_page.php?version_id=118
+or blog post at
+http://www.kitware.com/blog/home/post/963.
+
+---

Old:

  VTK-6.2.0.tar.gz

New:

  VTK-6.3.0.tar.gz



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.Yb6MDa/_old  2015-09-19 06:55:46.0 +0200
+++ /var/tmp/diff_new_pack.Yb6MDa/_new  2015-09-19 06:55:46.0 +0200
@@ -17,9 +17,9 @@
 
 
 Name:   vtk
-Version:6.2.0
+Version:6.3.0
 Release:0
-%define series 6.2
+%define series 6.3
 # This is a variant BSD license, a cross between BSD and ZLIB.
 # For all intents, it has the same rights and restrictions as BSD.
 # http://fedoraproject.org/wiki/Licensing/BSD#VTKBSDVariant
@@ -230,7 +230,7 @@
 Summary:Examples for VTK
 Group:  Productivity/Scientific/Other
 Requires:   %{name} = %{version}
-Requires:   %{name}data = %{version}
+Recommends: %{name}data = %{version}
 
 %description examples
 VTK is an open-source software system for image processing, 3D

++ VTK-6.2.0.tar.gz -> VTK-6.3.0.tar.gz ++
/work/SRC/openSUSE:Factory/vtk/VTK-6.2.0.tar.gz 
/work/SRC/openSUSE:Factory/.vtk.new/VTK-6.3.0.tar.gz differ: char 5, line 1




commit vtk for openSUSE:Factory

2015-08-20 Thread h_root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2015-08-21 07:40:44

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new (New)


Package is vtk

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2015-08-15 11:39:47.0 
+0200
+++ /work/SRC/openSUSE:Factory/.vtk.new/vtk.changes 2015-08-21 
07:40:49.0 +0200
@@ -1,0 +2,5 @@
+Sat Aug 15 04:16:39 UTC 2015 - badshah...@gmail.com
+
+- python-vtk also needs openmpi-devel at runtime.
+
+---



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.Ql5i5W/_old  2015-08-21 07:40:50.0 +0200
+++ /var/tmp/diff_new_pack.Ql5i5W/_new  2015-08-21 07:40:50.0 +0200
@@ -156,6 +156,8 @@
 Summary:Python bindings for VTK
 Group:  System/Libraries
 Requires:   %{name} = %{version}
+# DESPITE NOT BEING A DEVEL PACKAGE, THIS REQUIRES OPENMPI-DEVEL TO RUN
+Requires:   openmpi-devel
 Requires:   openmpi-libs
 %{py_requires}
 




commit vtk for openSUSE:Factory

2015-08-15 Thread h_root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2015-08-15 11:39:43

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new (New)


Package is vtk

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2015-06-30 10:16:13.0 
+0200
+++ /work/SRC/openSUSE:Factory/.vtk.new/vtk.changes 2015-08-15 
11:39:47.0 +0200
@@ -1,0 +2,6 @@
+Fri Aug 14 10:51:11 UTC 2015 - badshah...@gmail.com
+
+- python-vtk should have Requires on openmpi-libs to enable its
+  parallelized modules to work.
+
+---



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.0jk2RD/_old  2015-08-15 11:39:49.0 +0200
+++ /var/tmp/diff_new_pack.0jk2RD/_new  2015-08-15 11:39:49.0 +0200
@@ -156,6 +156,7 @@
 Summary:Python bindings for VTK
 Group:  System/Libraries
 Requires:   %{name} = %{version}
+Requires:   openmpi-libs
 %{py_requires}
 
 %description -n python-%{name}




commit vtk for openSUSE:Factory

2015-06-30 Thread h_root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2015-06-30 10:16:10

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new (New)


Package is vtk

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2015-06-24 20:49:34.0 
+0200
+++ /work/SRC/openSUSE:Factory/.vtk.new/vtk.changes 2015-06-30 
10:16:13.0 +0200
@@ -1,0 +2,5 @@
+Thu Jun 25 08:17:04 UTC 2015 - alinm.el...@gmail.com
+
+- use qt5 for factory 
+
+---



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.2vIUJR/_old  2015-06-30 10:16:14.0 +0200
+++ /var/tmp/diff_new_pack.2vIUJR/_new  2015-06-30 10:16:14.0 +0200
@@ -55,17 +55,27 @@
 BuildRequires:  libmysqlclient-devel
 BuildRequires:  libnetcdf_c++-devel
 BuildRequires:  libpng-devel
-BuildRequires:  libqt4-devel
 BuildRequires:  libtheora-devel
 BuildRequires:  libtiff-devel
 BuildRequires:  netcdf-devel
 BuildRequires:  openmpi-devel
 BuildRequires:  python-devel
-BuildRequires:  python-qt4-devel
+
 BuildRequires:  tcl-devel
 BuildRequires:  tk-devel
 BuildRequires:  wget
 BuildRequires:  zlib-devel
+%if 0%{?suse_version}  1320
+BuildRequires:  python-qt5-devel
+BuildRequires:  pkgconfig(Qt5OpenGL)
+BuildRequires:  pkgconfig(Qt5OpenGLExtensions)
+BuildRequires:  pkgconfig(Qt5Sql)
+BuildRequires:  pkgconfig(Qt5WebKitWidgets)
+BuildRequires:  pkgconfig(Qt5Widgets)
+%else
+BuildRequires:  libqt4-devel
+BuildRequires:  python-qt4-devel
+%endif
 %if %{?sles_version}
 BuildRequires:  libxml2-devel
 %else
@@ -76,7 +86,11 @@
 BuildRequires:  jsoncpp-devel
 %endif
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+%if 0%{?suse_version}  1320
+%define qtdir   %{_lib}/qt5
+%else
 %define qtdir   %{_lib}/qt4
+%endif
 
 %description
 VTK is an open-source software system for image processing, 3D
@@ -106,7 +120,6 @@
 Requires:   libnetcdf_c++-devel
 Requires:   libogg-devel
 Requires:   libpng-devel
-Requires:   libqt4-devel
 Requires:   libtheora-devel
 Requires:   libtiff-devel
 Requires:   libxml2-devel
@@ -160,7 +173,17 @@
 Requires:   %{name} = %{version}
 Requires:   %{name}-qt = %{version}
 Requires:   python-%{name} = %{version}
+%if 0%{?suse_version}  1320
+Requires:   libQt5OpenGL-devel
+Requires:   libQt5OpenGLExtensions-devel-static
+Requires:   libQt5Sql-devel
+Requires:   libQt5WebKitWidgets-devel
+Requires:   libQt5Widgets-devel
+Requires:   python-qt5
+%else
+Requires:   libqt4-devel
 Requires:   python-qt4
+%endif
 %{py_requires}
 
 %description -n python-%{name}-qt
@@ -260,6 +283,9 @@
 -DVTK_INSTALL_LIBRARY_DIR:PATH=%{_lib}/%{name}\
 -DVTK_INSTALL_PACKAGE_DIR:PATH=%{_lib}/cmake/%{name} \
 -DVTK_INSTALL_TCL_DIR:PATH=share/tcl/%{name} \
+%if 0%{?suse_version}  1320
+-DVTK_QT_VERSION=5 \
+%endif
 -DVTK_INSTALL_QT_DIR:STRING=/%{qtdir}/plugins/designer \
 -DVTK_USE_OGGTHEORA_ENCODER:BOOL=ON \
 -DVTK_USE_RENDERING:BOOL=ON \




commit vtk for openSUSE:Factory

2015-06-24 Thread h_root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2015-06-24 20:49:33

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new (New)


Package is vtk

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2015-04-10 09:53:44.0 
+0200
+++ /work/SRC/openSUSE:Factory/.vtk.new/vtk.changes 2015-06-24 
20:49:34.0 +0200
@@ -1,0 +2,5 @@
+Mon Jun 22 18:00:32 UTC 2015 - o...@aepfle.de
+
+- Add libxml2-devel/netcdf-devel/libnetcdf_c++-devel Requires to vtk-devel
+
+---



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.YagrM3/_old  2015-06-24 20:49:35.0 +0200
+++ /var/tmp/diff_new_pack.YagrM3/_new  2015-06-24 20:49:35.0 +0200
@@ -103,11 +103,14 @@
 Requires:   libexpat-devel
 Requires:   libjpeg-devel
 Requires:   libmysqlclient-devel
+Requires:   libnetcdf_c++-devel
 Requires:   libogg-devel
 Requires:   libpng-devel
 Requires:   libqt4-devel
 Requires:   libtheora-devel
 Requires:   libtiff-devel
+Requires:   libxml2-devel
+Requires:   netcdf-devel
 Requires:   openmpi-devel
 Requires:   python-%{name} = %{version}
 Requires:   python-%{name}-qt = %{version}




commit vtk for openSUSE:Factory

2015-03-25 Thread h_root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2015-03-25 21:05:11

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new (New)


Package is vtk

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2015-02-27 11:10:29.0 
+0100
+++ /work/SRC/openSUSE:Factory/.vtk.new/vtk.changes 2015-03-25 
21:05:13.0 +0100
@@ -1,0 +2,19 @@
+Fri Mar 13 19:50:12 UTC 2015 - badshah...@gmail.com
+
+- Update to version 6.2.0:
+  + See http://www.kitware.com/blog/home/post/858 for a list of
+changes.
+- Drop patches incorporated upstream:
+  + vtk-install-missing-modules.patch
+  + vtk-Mesa10.3-build-failures.patch
+  + vtk-system.patch.
+- Update filelist to incorporate new files installed by upstream.
+- Use system hdf5 and netcdf on all openSUSE versions.
+- Build on openSUSE  13.2 with system libraries ON (except
+  for libproj4); all required depndencies for this purpose are
+  now in Factory.
+- Add rpmlintrc file to suppress
+  devel-files-in-non-devel-package warning; python-vtk needs
+  these devel files for its own functioning.
+
+---

Old:

  VTK-6.1.0.tar.gz
  vtk-Mesa10.3-build-failures.patch
  vtk-install-missing-modules.patch
  vtk-system.patch

New:

  VTK-6.2.0.tar.gz
  vtk-rpmlintrc



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.ozbfwi/_old  2015-03-25 21:05:18.0 +0100
+++ /var/tmp/diff_new_pack.ozbfwi/_new  2015-03-25 21:05:18.0 +0100
@@ -17,9 +17,9 @@
 
 
 Name:   vtk
-Version:6.1.0
+Version:6.2.0
 Release:0
-%define series 6.1
+%define series 6.2
 # This is a variant BSD license, a cross between BSD and ZLIB.
 # For all intents, it has the same rights and restrictions as BSD.
 # http://fedoraproject.org/wiki/Licensing/BSD#VTKBSDVariant
@@ -28,14 +28,10 @@
 Group:  Productivity/Scientific/Other
 Url:http://vtk.org/
 Source: 
http://www.vtk.org/files/release/%{series}/VTK-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM vtk-system.patch badshah...@gmail.com -- Use system 
libraries, http://public.kitware.com/Bug/view.php?id=11823
-Patch0: vtk-system.patch
+# FIXME See if packaging can be tweaked to accommodate python-vtk's devel 
files in a devel package later
+Source1:vtk-rpmlintrc
 # PATCH-FIX-UPSTREAM vtk-fix-file-contains-date-time.patch 
badshah...@gmail.com -- Fix file containing DATE and TIME
 Patch1: vtk-fix-file-contains-date-time.patch
-# PATCH-FIX-UPSTREAM vtk-install-missing-modules.patch badshah...@gmail.com -- 
Install some cmake modules missed in upstream packaging (will be required if in 
future we can get paraview to use system installed vtk)
-Patch2: vtk-install-missing-modules.patch
-# PATCH-FIX-UPSTREAM vtk-Mesa10.3-build-failures.patch badshah...@gmail.com -- 
 Actually define GLX_GLXEXT_LEGACY to prevent the system glext.h include; fixes 
buld failures with Mesa = 10.3; fix taken from upstream git and rebased
-Patch3: vtk-Mesa10.3-build-failures.patch
 BuildRequires:  Mesa-libGL-devel
 BuildRequires:  R-base-devel
 BuildRequires:  boost-devel
@@ -57,10 +53,12 @@
 BuildRequires:  libiodbc-devel
 BuildRequires:  libjpeg-devel
 BuildRequires:  libmysqlclient-devel
+BuildRequires:  libnetcdf_c++-devel
 BuildRequires:  libpng-devel
 BuildRequires:  libqt4-devel
 BuildRequires:  libtheora-devel
 BuildRequires:  libtiff-devel
+BuildRequires:  netcdf-devel
 BuildRequires:  openmpi-devel
 BuildRequires:  python-devel
 BuildRequires:  python-qt4-devel
@@ -73,6 +71,10 @@
 %else
 BuildRequires:  pkgconfig(libxml-2.0)
 %endif
+# jsoncpp available for openSUSE  13.2
+%if 0%{?suse_version}  1320
+BuildRequires:  jsoncpp-devel
+%endif
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %define qtdir   %{_lib}/qt4
 
@@ -225,12 +227,7 @@
 
 %prep
 %setup -q -n VTK-%{version}
-%patch0 -p1
 %patch1 -p1
-%patch2 -p1
-%if 0%{?suse_version}  1310
-%patch3 -p1
-%endif
 
 # Replace relative path ../../../VTKData with 
%%{_datadir}/%%{name}data-%%{version}
 # otherwise it will break on symlinks.
@@ -259,7 +256,11 @@
 -DVTK_INSTALL_QT_DIR:STRING=/%{qtdir}/plugins/designer \
 -DVTK_USE_OGGTHEORA_ENCODER:BOOL=ON \
 -DVTK_USE_RENDERING:BOOL=ON \
+%if 0%{?suse_version}  1320
+-DVTK_USE_SYSTEM_LIBRARIES:BOOL=ON \
+%else
 -DVTK_USE_SYSTEM_LIBRARIES:BOOL=OFF \
+%endif
 -DVTK_USE_SYSTEM_LIBPROJ4:BOOL=OFF \
 %if 0%{?suse_version} = 1230
 -DVTK_USE_SYSTEM_GL2PS:BOOL=OFF \
@@ -279,7 +280,9 @@
 -DVTK_Group_Tk:BOOL=ON \
 -DVTK_Group_Views:BOOL=ON \
 -DModule_vtkFiltersStatisticsGnuR:BOOL=ON \
--DVTK_WRAP_TCL:BOOL=ON
+

commit vtk for openSUSE:Factory

2015-02-27 Thread h_root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2015-02-27 11:10:27

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new (New)


Package is vtk

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2014-09-12 10:03:52.0 
+0200
+++ /work/SRC/openSUSE:Factory/.vtk.new/vtk.changes 2015-02-27 
11:10:29.0 +0100
@@ -1,0 +2,5 @@
+Thu Feb 26 12:30:11 UTC 2015 - dkxl...@gmail.com
+
+- Add MPI support
+
+---



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.Vjuewn/_old  2015-02-27 11:10:30.0 +0100
+++ /var/tmp/diff_new_pack.Vjuewn/_new  2015-02-27 11:10:30.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package vtk
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -61,6 +61,7 @@
 BuildRequires:  libqt4-devel
 BuildRequires:  libtheora-devel
 BuildRequires:  libtiff-devel
+BuildRequires:  openmpi-devel
 BuildRequires:  python-devel
 BuildRequires:  python-qt4-devel
 BuildRequires:  tcl-devel
@@ -101,6 +102,7 @@
 Requires:   libqt4-devel
 Requires:   libtheora-devel
 Requires:   libtiff-devel
+Requires:   openmpi-devel
 Requires:   python-%{name} = %{version}
 Requires:   python-%{name}-qt = %{version}
 
@@ -241,6 +243,8 @@
 mkdir build
 pushd build
 cmake .. \
+-DCMAKE_CXX_COMPILER:STRING='mpicxx' \
+-DCMAKE_C_COMPILER:STRING='mpicc' \
 -DBUILD_DOCUMENTATION:BOOL=ON \
 -DBUILD_EXAMPLES:BOOL=ON \
 -DBUILD_SHARED_LIBS:BOOL=ON \
@@ -265,6 +269,7 @@
 -DVTK_WRAP_JAVA:BOOL=ON \
 -DVTK_WRAP_PYTHON_SIP:BOOL=ON \
 -DVTK_WRAP_TCL:BOOL=ON \
+-DVTK_Group_MPI:BOOL=ON \
 -DVTK_Group_Imaging:BOOL=ON \
 -DVTK_Group_Qt:BOOL=ON \
 -DModule_vtkTestingCore:BOOL=ON \
@@ -399,6 +404,7 @@
 %files -n python-%{name}
 %defattr(-,root,root,-)
 %{_bindir}/%{name}python
+%{_bindir}/p%{name}python
 %{_bindir}/%{name}WrapPython
 %{_bindir}/%{name}WrapPythonInit
 %{_libdir}/%{name}/*Python*.so.*

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit vtk for openSUSE:Factory

2014-09-12 Thread h_root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2014-09-12 10:03:29

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new (New)


Package is vtk

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2014-03-04 14:00:01.0 
+0100
+++ /work/SRC/openSUSE:Factory/.vtk.new/vtk.changes 2014-09-12 
10:03:52.0 +0200
@@ -1,0 +2,7 @@
+Thu Sep 11 01:52:56 UTC 2014 - badshah...@gmail.com
+
+- Add vtk-Mesa10.3-build-failures.patch to workaround build
+  failures when compiling against Mesa = 10.3; patch taken from
+  upstream git and rebased; applied only for openSUSE = 13.2.
+
+---

New:

  vtk-Mesa10.3-build-failures.patch



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.vK9qmh/_old  2014-09-12 10:03:53.0 +0200
+++ /var/tmp/diff_new_pack.vK9qmh/_new  2014-09-12 10:03:53.0 +0200
@@ -34,6 +34,8 @@
 Patch1: vtk-fix-file-contains-date-time.patch
 # PATCH-FIX-UPSTREAM vtk-install-missing-modules.patch badshah...@gmail.com -- 
Install some cmake modules missed in upstream packaging (will be required if in 
future we can get paraview to use system installed vtk)
 Patch2: vtk-install-missing-modules.patch
+# PATCH-FIX-UPSTREAM vtk-Mesa10.3-build-failures.patch badshah...@gmail.com -- 
 Actually define GLX_GLXEXT_LEGACY to prevent the system glext.h include; fixes 
buld failures with Mesa = 10.3; fix taken from upstream git and rebased
+Patch3: vtk-Mesa10.3-build-failures.patch
 BuildRequires:  Mesa-libGL-devel
 BuildRequires:  R-base-devel
 BuildRequires:  boost-devel
@@ -224,6 +226,9 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%if 0%{?suse_version}  1310
+%patch3 -p1
+%endif
 
 # Replace relative path ../../../VTKData with 
%%{_datadir}/%%{name}data-%%{version}
 # otherwise it will break on symlinks.

++ vtk-Mesa10.3-build-failures.patch ++
Index: VTK-6.1.0/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx
===
--- VTK-6.1.0.orig/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx
+++ VTK-6.1.0/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx
@@ -27,7 +27,7 @@
 
 // define GLX_GLXEXT_LEGACY to prevent glx.h to include glxext.h provided by
 // the system
-//#define GLX_GLXEXT_LEGACY
+#define GLX_GLXEXT_LEGACY
 #include GL/glx.h
 
 #include vtkgl.h
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit vtk for openSUSE:Factory

2014-03-04 Thread h_root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2014-03-04 13:59:59

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new (New)


Package is vtk

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2013-07-21 16:34:48.0 
+0200
+++ /work/SRC/openSUSE:Factory/.vtk.new/vtk.changes 2014-03-04 
14:00:01.0 +0100
@@ -1,0 +2,36 @@
+Fri Jan 24 20:44:24 UTC 2014 - badshah...@gmail.com
+
+- Update to version 6.1.0:
+  + See http://www.kitware.com/news/home/browse/502 for a list of
+changes
+- Rebase patches:
+  + vtk-system.patch
+  + vtk-install-missing-modules.patch
+- Packaging changes:
+  + Re-enable R bindings for 13.1 and above
+  + Turn off building test modules for now as it leads to build
+issues (DBUILD_TESTING:BOOL=OFF)
+  + Turn off usage of system libraries for now
+(DVTK_USE_SYSTEM_LIBRARIES:BOOL=OFF), as usage of system
+libraries now introduces dependency on json-cpp which is not
+available for openSUSE (yet)
+  + Python modules are now installed by vtk's cmake script;
+hence, pass system python dirs to cmake by using cmake
+variable DVTK_INSTALL_PYTHON_MODULE_DIR instead of
+DVTK_PYTHON_SETUP_ARGS used previously
+  + vtkpython is now installed by cmake script automatically;
+hence remove the manual copying to /usr/bin used earlier
+  + Python libraries are now stripped automatically on install;
+chrpath no longer needed on these
+  + Python object files are now installed in
+%python_sitearch
+  + Skip examples no longer installed as a result of test modules
+being turned off
+  + Install new binaries (mkg3states) and bundled data files
+(/usr/share/vtk-6.1)
+  + Cleanup spec file:
+- Remove support for EOL openSUSE versions (12.1 and earlier)
+  by dropping appropriate conditionals
+- Fix minor formatting issues.
+
+---

Old:

  vtk-6.0.0.tar.gz

New:

  VTK-6.1.0.tar.gz



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.afwGyO/_old  2014-03-04 14:00:03.0 +0100
+++ /var/tmp/diff_new_pack.afwGyO/_new  2014-03-04 14:00:03.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package vtk
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,9 +17,9 @@
 
 
 Name:   vtk
-Version:6.0.0
+Version:6.1.0
 Release:0
-%define series 6.0
+%define series 6.1
 # This is a variant BSD license, a cross between BSD and ZLIB.
 # For all intents, it has the same rights and restrictions as BSD.
 # http://fedoraproject.org/wiki/Licensing/BSD#VTKBSDVariant
@@ -27,18 +27,15 @@
 License:BSD-3-Clause
 Group:  Productivity/Scientific/Other
 Url:http://vtk.org/
-Source: 
http://www.vtk.org/files/release/%{series}/%{name}-%{version}.tar.gz
+Source: 
http://www.vtk.org/files/release/%{series}/VTK-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM vtk-system.patch badshah...@gmail.com -- Use system 
libraries, http://public.kitware.com/Bug/view.php?id=11823
 Patch0: vtk-system.patch
 # PATCH-FIX-UPSTREAM vtk-fix-file-contains-date-time.patch 
badshah...@gmail.com -- Fix file containing DATE and TIME
 Patch1: vtk-fix-file-contains-date-time.patch
 # PATCH-FIX-UPSTREAM vtk-install-missing-modules.patch badshah...@gmail.com -- 
Install some cmake modules missed in upstream packaging (will be required if in 
future we can get paraview to use system installed vtk)
 Patch2: vtk-install-missing-modules.patch
-%if 0%{?suse_version}  1210
 BuildRequires:  Mesa-libGL-devel
-%else
-BuildRequires:  Mesa-devel
-%endif
+BuildRequires:  R-base-devel
 BuildRequires:  boost-devel
 BuildRequires:  chrpath
 BuildRequires:  cmake
@@ -46,25 +43,14 @@
 BuildRequires:  fdupes
 BuildRequires:  freetype2-devel
 BuildRequires:  gcc-c++
-%if 0%{?suse_version}  1210
 BuildRequires:  gl2ps-devel
-%endif
 BuildRequires:  gnuplot
 BuildRequires:  graphviz
-%if 0%{?suse_version}  1210
 BuildRequires:  hdf5-devel
-%endif
 BuildRequires:  java-devel
 BuildRequires:  libQtWebKit-devel
-%if 0%{?suse_version}  1210
 BuildRequires:  libX11-devel
 BuildRequires:  libXt-devel
-%else
-BuildRequires:  xorg-x11-devel
-%endif
-%if 0%{?suse_version} = 1230
-BuildRequires:  R-base-devel
-%endif
 BuildRequires:  libexpat-devel
 BuildRequires:  libiodbc-devel
 BuildRequires:  libjpeg-devel
@@ -98,23 +84,13 @@
 Summary:VTK 

commit vtk for openSUSE:Factory

2013-07-21 Thread h_root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2013-07-21 16:34:47

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new (New)


Package is vtk

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2013-07-16 16:25:59.0 
+0200
+++ /work/SRC/openSUSE:Factory/.vtk.new/vtk.changes 2013-07-21 
16:34:48.0 +0200
@@ -1,0 +2,7 @@
+Fri Jul 19 02:52:28 UTC 2013 - badshah...@gmail.com
+
+- Disable R bindings for Factory, since it causes weird build
+  failures in openSUSE:Factory, (strangely no failures in devel
+  project) until the reason behind the failure is found and fixed. 
+
+---



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.pFNQuE/_old  2013-07-21 16:34:49.0 +0200
+++ /var/tmp/diff_new_pack.pFNQuE/_new  2013-07-21 16:34:49.0 +0200
@@ -62,7 +62,9 @@
 %else
 BuildRequires:  xorg-x11-devel
 %endif
+%if 0%{?suse_version} = 1230
 BuildRequires:  R-base-devel
+%endif
 BuildRequires:  libexpat-devel
 BuildRequires:  libiodbc-devel
 BuildRequires:  libjpeg-devel
@@ -110,7 +112,9 @@
 Requires:   gl2ps-devel
 Requires:   hdf5-devel
 %endif
+%if 0%{?suse_version} = 1230
 Requires:   R-base-devel
+%endif
 Requires:   libexpat-devel
 Requires:   libjpeg-devel
 Requires:   libmysqlclient-devel
@@ -300,7 +304,11 @@
 -DVTK_Group_StandAlone:BOOL=ON \
 -DVTK_Group_Tk:BOOL=ON \
 -DVTK_Group_Views:BOOL=ON \
+%if 0%{?suse_version} = 1230
 -DModule_vtkFiltersStatisticsGnuR:BOOL=ON \
+%else
+-DModule_vtkFiltersStatisticsGnuR:BOOL=OFF \
+%endif
 -DVTK_WRAP_TCL:BOOL=ON
 
 make %{?_smp_mflags} VERBOSE=1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit vtk for openSUSE:Factory

2013-07-16 Thread h_root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2013-07-16 16:25:57

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new (New)


Package is vtk

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2012-10-31 14:05:54.0 
+0100
+++ /work/SRC/openSUSE:Factory/.vtk.new/vtk.changes 2013-07-16 
16:25:59.0 +0200
@@ -1,0 +2,24 @@
+Fri Jun 28 13:41:09 UTC 2013 - badshah...@gmail.com
+
+- Update to version 6.0.0:
+  + Lengthy list of changes, see 
+http://www.kitware.com/blog/home/post/515 for a summary
+- Also build R language bindings, introduces dependency on R-base
+- Drop patches for already being incorporated upstream:
+  + vtk-pythondestdir.patch
+  + vtk-sqldatabaseschema.patch
+  + vtk-soversion2.patch
+- Rebase patches for updated version:
+  + vtk-fix-file-contains-date-time.patch
+  + vtk-system.patch
+- Add vtk-install-missing-modules.patch to install cmake modules
+  missed by the upstream packaging, will be required esp. when
+  we will be able to use the system installed vtk to build
+  paraview in the future; patch taken from Fedora
+- Remove unused cmake variables during configuration
+- Install all examples (several more added in current version)
+- Install vtk.conf file in /etc/ld.so.conf.d to enable vtk find
+  its libraries
+- Testing binaries are no longer installed separately.
+
+---

Old:

  vtk-5.10.1.tar.gz
  vtk-pythondestdir.patch
  vtk-soversion2.patch
  vtk-sqldatabaseschema.patch

New:

  vtk-6.0.0.tar.gz
  vtk-install-missing-modules.patch



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.DoUaWT/_old  2013-07-16 16:26:00.0 +0200
+++ /var/tmp/diff_new_pack.DoUaWT/_new  2013-07-16 16:26:00.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package vtk
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,9 +17,9 @@
 
 
 Name:   vtk
-Version:5.10.1
+Version:6.0.0
 Release:0
-%define series 5.10
+%define series 6.0
 # This is a variant BSD license, a cross between BSD and ZLIB.
 # For all intents, it has the same rights and restrictions as BSD.
 # http://fedoraproject.org/wiki/Licensing/BSD#VTKBSDVariant
@@ -28,16 +28,12 @@
 Group:  Productivity/Scientific/Other
 Url:http://vtk.org/
 Source: 
http://www.vtk.org/files/release/%{series}/%{name}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM vtk-pythondestdir.patch badshah...@gmail.com -- Correct 
installation destination for python libraries
-Patch0: vtk-pythondestdir.patch
 # PATCH-FIX-UPSTREAM vtk-system.patch badshah...@gmail.com -- Use system 
libraries, http://public.kitware.com/Bug/view.php?id=11823
-Patch1: vtk-system.patch
-# patch to fix the soname for libVTKnetcdf_cxx
-Patch2: vtk-soversion2.patch
-# PATCH-FIX-UPSTREAM vtk-sqldatabaseschema.patch badshah...@gmail.com -- Fix 
problems with vtkSQLDatabaseSchema.h
-Patch3: vtk-sqldatabaseschema.patch
+Patch0: vtk-system.patch
 # PATCH-FIX-UPSTREAM vtk-fix-file-contains-date-time.patch 
badshah...@gmail.com -- Fix file containing DATE and TIME
-Patch4: vtk-fix-file-contains-date-time.patch
+Patch1: vtk-fix-file-contains-date-time.patch
+# PATCH-FIX-UPSTREAM vtk-install-missing-modules.patch badshah...@gmail.com -- 
Install some cmake modules missed in upstream packaging (will be required if in 
future we can get paraview to use system installed vtk)
+Patch2: vtk-install-missing-modules.patch
 %if 0%{?suse_version}  1210
 BuildRequires:  Mesa-libGL-devel
 %else
@@ -66,6 +62,7 @@
 %else
 BuildRequires:  xorg-x11-devel
 %endif
+BuildRequires:  R-base-devel
 BuildRequires:  libexpat-devel
 BuildRequires:  libiodbc-devel
 BuildRequires:  libjpeg-devel
@@ -113,6 +110,7 @@
 Requires:   gl2ps-devel
 Requires:   hdf5-devel
 %endif
+Requires:   R-base-devel
 Requires:   libexpat-devel
 Requires:   libjpeg-devel
 Requires:   libmysqlclient-devel
@@ -252,16 +250,6 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%if 0%{?suse_version} == 1140
-%patch3 -p1
-%endif
-%patch4 -p1
-
-# Remove build time references so build-compare can do its work
-#FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e 
%%Y')
-#FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M')
-#sed -i s/__DATE__/\$FAKE_BUILDDATE\/ 

commit vtk for openSUSE:Factory

2012-07-21 Thread h_root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2012-07-21 12:32:21

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new (New)


Package is vtk, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2012-05-22 08:20:09.0 
+0200
+++ /work/SRC/openSUSE:Factory/.vtk.new/vtk.changes 2012-07-21 
12:32:23.0 +0200
@@ -1,0 +2,6 @@
+Mon Jun 25 20:46:30 UTC 2012 - sco...@free.fr
+
+- build python-qt and java binding for openSUSE version higher than
+  11.2 which fixes build on SLE 11
+
+---



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.ISyyah/_old  2012-07-21 12:32:25.0 +0200
+++ /var/tmp/diff_new_pack.ISyyah/_new  2012-07-21 12:32:25.0 +0200
@@ -78,7 +78,11 @@
 BuildRequires:  tk-devel
 BuildRequires:  wget
 BuildRequires:  zlib-devel
+%if %{?sles_version}
+BuildRequires:  libxml2-devel
+%else 
 BuildRequires:  pkgconfig(libxml-2.0)
+%endif
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %define qtdir   %{_lib}/qt4
 
@@ -93,7 +97,9 @@
 Summary:VTK header files for building C++ code
 Group:  Development/Libraries/Other
 Requires:   %{name} = %{version}
+%if 0%{?suse_version} = 1130
 Requires:   %{name}-java = %{version}
+%endif
 Requires:   %{name}-qt = %{version}
 Requires:   %{name}-tcl = %{version}
 %if 0%{?suse_version}  1210
@@ -114,7 +120,9 @@
 Requires:   libtheora-devel
 Requires:   libtiff-devel
 Requires:   python-%{name} = %{version}
+%if 0%{?suse_version} = 1130
 Requires:   python-%{name}-qt = %{version}
+%endif
 
 %description devel
 VTK is an open-source software system for image processing, 3D
@@ -126,6 +134,7 @@
 This provides the VTK header files required to compile C++ programs that
 use VTK to do 3D visualisation.
 
+%if 0%{?suse_version} = 1130
 %package java
 Summary:Java bindings for VTK
 Group:  Development/Libraries/Java
@@ -139,6 +148,7 @@
 volume rendering, LOD control).
 
 This package provides java bindings for VTK.
+%endif
 
 %package -n python-%{name}
 Summary:Python bindings for VTK
@@ -155,6 +165,7 @@
 
 This package provides python bindings for VTK.
 
+%if 0%{?suse_version} =1130
 %package -n python-%{name}-qt
 Summary:Qt Python VTK widget
 Group:  System/Libraries
@@ -172,6 +183,7 @@
 volume rendering, LOD control).
 
 This package provides python-qt bindings for VTK.
+%endif
 
 %package qt
 Summary:Qt VTK widget
@@ -285,9 +297,14 @@
 -DVTK_USE_SYSTEM_GL2PS:BOOL=OFF \
 -DVTK_USE_SYSTEM_HDF5:BOOL=OFF \
 %endif
--DVTK_WRAP_JAVA:BOOL=ON \
 -DVTK_WRAP_PYTHON:BOOL=ON \
+%if 0%{?suse_version} = 1130
+-DVTK_WRAP_JAVA:BOOL=ON \
 -DVTK_WRAP_PYTHON_SIP:BOOL=ON \
+%else
+-DVTK_WRAP_JAVA:BOOL=OFF \
+-DVTK_WRAP_PYTHON_SIP:BOOL=OFF \
+%endif
 -DVTK_WRAP_TCL:BOOL=ON
 
 # Package fails to compile with the following option (Note: postgresql-devel 
and libpqxx-devel are needed as dependencies)
@@ -412,14 +429,18 @@
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
+%if 0%{?suse_version} = 1130
 %post   java -p /sbin/ldconfig
 %postun java -p /sbin/ldconfig
+%endif
 
 %post   -n python-%{name} -p /sbin/ldconfig
 %postun -n python-%{name} -p /sbin/ldconfig
 
+%if 0%{?suse_version} =1130
 %post   -n python-%{name}-qt -p /sbin/ldconfig
 %postun -n python-%{name}-qt -p /sbin/ldconfig
+%endif
 
 %post   qt -p /sbin/ldconfig
 %postun qt -p /sbin/ldconfig
@@ -441,6 +462,7 @@
 %{_libdir}/%{name}/hints/
 %{_includedir}/%{name}-%{series}/
 
+%if 0%{?suse_version} = 1130
 %files java
 %defattr(-,root,root,-)
 %{_bindir}/%{name}ParseJava
@@ -448,6 +470,7 @@
 %{_libdir}/*Java.so.*
 %{_libdir}/%{name}/*Java.so.*
 %{_libdir}/%{name}/java/
+%endif
 
 %files -n python-%{name}
 %defattr(-,root,root,-)
@@ -462,13 +485,17 @@
 %{_libdir}/%{name}/*PythonD.so.*
 %{python_sitelib}/VTK-%{version}-py%{py_ver}.egg-info
 %{python_sitelib}/%{name}/
+%if 0%{?suse_version} = 1130
 %exclude %{python_sitelib}/%{name}/QVTKPython.so
 %exclude %{python_sitelib}/%{name}/*PythonSIP.so
+%endif
 
+%if 0%{?suse_version} = 1130
 %files -n python-%{name}-qt
 %defattr(-,root,root,-)
 %{python_sitelib}/%{name}/QVTKPython.so
 %{python_sitelib}/%{name}/*PythonSIP.so
+%endif
 
 %files qt
 %defattr(-,root,root,-)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit vtk for openSUSE:Factory

2012-05-22 Thread h_root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2012-05-22 08:20:07

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new (New)


Package is vtk, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2012-05-14 16:22:38.0 
+0200
+++ /work/SRC/openSUSE:Factory/.vtk.new/vtk.changes 2012-05-22 
08:20:09.0 +0200
@@ -1,0 +2,13 @@
+Fri May 18 21:20:14 UTC 2012 - badshah...@gmail.com
+
+- Update to version 5.10.0: See
+  http://www.kitware.com/news/home/browse/408
+  for a detailed list of changes
+- Dropped patches:
+  + vtk-boost149.patch: implemented upstream
+- Patch vtk-sqldatabaseschema.patch now only required for
+  openSUSE 11.4
+- Minor rebasing of existing patches so they apply cleanly
+- No longer use verbose make.
+
+---

Old:

  vtk-5.8.0.tar.gz
  vtk-boost149.patch

New:

  vtk-5.10.0.tar.gz



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.GX2u50/_old  2012-05-22 08:20:12.0 +0200
+++ /var/tmp/diff_new_pack.GX2u50/_new  2012-05-22 08:20:12.0 +0200
@@ -17,8 +17,9 @@
 
 
 Name:   vtk
-Version:5.8.0
+Version:5.10.0
 Release:0
+%define series 5.10
 # This is a variant BSD license, a cross between BSD and ZLIB.
 # For all intents, it has the same rights and restrictions as BSD.
 # http://fedoraproject.org/wiki/Licensing/BSD#VTKBSDVariant
@@ -26,17 +27,15 @@
 License:BSD-3-Clause
 Group:  Productivity/Scientific/Other
 Url:http://vtk.org/
-Source: http://www.vtk.org/files/release/5.8/%{name}-%{version}.tar.gz
+Source: 
http://www.vtk.org/files/release/%{series}/%{name}-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM vtk-pythondestdir.patch badshah...@gmail.com -- Correct 
installation destination for python libraries
 Patch0: vtk-pythondestdir.patch
 # PATCH-FIX-UPSTREAM vtk-system.patch badshah...@gmail.com -- Use system 
libraries, http://public.kitware.com/Bug/view.php?id=11823
 Patch1: vtk-system.patch
-# PATCH-FIX-UPSTREAM vtk-sqldatabaseschema.patch badshah...@gmail.com -- 
Resolve problems with vtkSQLdatabaseschema.cxx, patch came from upstream
-Patch2: vtk-sqldatabaseschema.patch
 # patch to fix the soname for libVTKnetcdf_cxx
-Patch3: vtk-soversion2.patch
-# PATCH-FIX-UPSTREAM vtk-boost149.patch idoen...@suse.de -- Fix compilation 
with boost 1.49
-Patch4: vtk-boost149.patch
+Patch2: vtk-soversion2.patch
+# PATCH-FIX-UPSTREAM vtk-sqldatabaseschema.patch badshah...@gmail.com -- Fix 
problems with vtkSQLDatabaseSchema.h
+Patch3: vtk-sqldatabaseschema.patch
 %if 0%{?suse_version}  1210
 BuildRequires:  Mesa-libGL-devel
 %else
@@ -239,14 +238,15 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%if 0%{?suse_version} == 1140
 %patch3 -p1
-%patch4 -p1
+%endif
 
 # Remove build time references so build-compare can do its work
-FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e 
%%Y')
-FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M')
-sed -i s/__DATE__/\$FAKE_BUILDDATE\/ Utilities/vtknetcdf/libvers.c
-sed -i s/__TIME__/\$FAKE_BUILDTIME\/ Utilities/vtknetcdf/libvers.c
+#FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e 
%%Y')
+#FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M')
+#sed -i s/__DATE__/\$FAKE_BUILDDATE\/ Utilities/vtknetcdf/libvers.c
+#sed -i s/__TIME__/\$FAKE_BUILDTIME\/ Utilities/vtknetcdf/libvers.c
 
 # Replace relative path ../../../VTKData with 
%%{_datadir}/%%{name}data-%%{version}
 # otherwise it will break on symlinks.
@@ -439,7 +439,7 @@
 %{_libdir}/%{name}/doxygen/
 %{_libdir}/%{name}/CMake/
 %{_libdir}/%{name}/hints/
-%{_includedir}/%{name}-5.8/
+%{_includedir}/%{name}-%{series}/
 
 %files java
 %defattr(-,root,root,-)

++ vtk-5.8.0.tar.gz - vtk-5.10.0.tar.gz ++
/work/SRC/openSUSE:Factory/vtk/vtk-5.8.0.tar.gz 
/work/SRC/openSUSE:Factory/.vtk.new/vtk-5.10.0.tar.gz differ: char 5, line 1

++ vtk-pythondestdir.patch ++
--- /var/tmp/diff_new_pack.GX2u50/_old  2012-05-22 08:20:12.0 +0200
+++ /var/tmp/diff_new_pack.GX2u50/_new  2012-05-22 08:20:12.0 +0200
@@ -2,7 +2,7 @@
 ===
 --- VTK.orig/Wrapping/Python/CMakeLists.txt
 +++ VTK/Wrapping/Python/CMakeLists.txt
-@@ -540,7 +540,7 @@ IF(PYTHON_EXECUTABLE)
+@@ -558,7 +558,7 @@ IF(PYTHON_EXECUTABLE)
  
  # Create default python setup arguments if they are not set.
  IF(NOT DEFINED VTK_PYTHON_SETUP_ARGS)

++ vtk-soversion2.patch ++

commit vtk for openSUSE:Factory

2012-05-14 Thread h_root
Hello community,

here is the log from the commit of package vtk for openSUSE:Factory checked in 
at 2012-05-14 16:22:36

Comparing /work/SRC/openSUSE:Factory/vtk (Old)
 and  /work/SRC/openSUSE:Factory/.vtk.new (New)


Package is vtk, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/vtk/vtk.changes  2012-05-08 18:02:12.0 
+0200
+++ /work/SRC/openSUSE:Factory/.vtk.new/vtk.changes 2012-05-14 
16:22:38.0 +0200
@@ -1,0 +2,5 @@
+Thu May 10 11:32:21 UTC 2012 - idon...@suse.com
+
+- Remove openmotif dependency 
+
+---



Other differences:
--
++ vtk.spec ++
--- /var/tmp/diff_new_pack.TFLY6D/_old  2012-05-14 16:22:40.0 +0200
+++ /var/tmp/diff_new_pack.TFLY6D/_new  2012-05-14 16:22:40.0 +0200
@@ -73,7 +73,6 @@
 BuildRequires:  libqt4-devel
 BuildRequires:  libtheora-devel
 BuildRequires:  libtiff-devel
-BuildRequires:  openmotif-devel
 BuildRequires:  python-devel
 BuildRequires:  python-qt4-devel
 BuildRequires:  tcl-devel

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org