* Thu Nov 18 2021 Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Update to version 9.1.0, see:
https://gitlab.kitware.com/vtk/vtk/-/blob/master/Documentation/release/9.1.md
- Drop upstream patches:
+ 0001-clean-up-some-old-opengl-es-stuff.patch
+ 0001-expose-1d-texture-options.patch
+ 0001-Remove-duplicate-check-for-QOpenGLFunctions_3_2_Core.patch
+ 0001-Allow-compilation-on-GLES-platforms.patch
+ 0001-Replace-last-glDrawBuffer-call-with-glDrawBuffers-1.patch
+ 0001-Guard-glPointSize-with-GL_ES_VERSION_3_0.patch
+ 0002-Guard-GL_LINE_SMOOTH-for-GLES.patch
+ 0001-Fix-PyVTKAddFile_-function-signature-mismatch.patch
+ 0001-Replace-invalid-GL_LINE-with-GL_LINES-for-glDrawArra.patch
+ vtk-freetype-2.10.3-replace-FT_CALLBACK_DEF.patch
+ vtk-std_numeric_limits.patch
- Rebase:
+ 0001-Add-missing-guard-required-for-GLES-to-disable-stere.patch
+ 0001-Correct-GL_BACK-GL_BACK_LEFT-mapping-on-GLES.patch
+ 0001-GL_POINT_SPRITE-is-only-available-for-Compatibility-.patch
- Replace openSUSE python hack with upstreamable solution:
+ vtk-opensuse-python-metadata.patch ->
0001-Always-generate-Python-Metadata-when-WRAP_PYTHON-is-.patch,
0001-Consider-VTK_PYTHON_SITE_PACKAGES_SUFFIX-for-Python-.patch
- Add:
+ 0001-Add-missing-libm-link-library-to-kissfft-module.patch
- Remove Leap 15.1 support from specfile
- Remove openmpi1 flavor, add openmpi4
- Drop GNU R dependency (removed with VTK 8.1.0)
* Sat Jun 19 2021 Ben Greiner <code@bnavigator.de>
- Add vtk-opensuse-python-metadata.patch:
Installing without VTK_BUILD_WHEEL lacks the dist-info/egg-info
metadata. When a user installs python packages which depend
on vtk through pip (into the user home or into a virtualenv),
pip does not recognize the files installed into site-packages
without the metadata and pulls in a big manylinux wheel from
PyPI. We introduce the necessary egg-info metadata in order to
avoid this.
- python3-vtk: Don't own the arch site-packages (%python3_sitearch)
and the toplevel __pycache__ dir, only our own python files.
- Move qt and python .so devel files to main devel package, adjust
rpmlintrc: The devel files are not required by the
python bindings (anymore?).
* Wed Jun 09 2021 Ben Greiner <code@bnavigator.de>
- Add vtk-std_numeric_limits.patch in order to fix gcc 11.1 build
https://gitlab.kitware.com/vtk/vtk/-/issues/18194
- Require %{name}-qt in python3-%{name}: The Python bindings link
to libvtkRenderingQt.so.1, but zypper fails to resolve the
requirement to the correct (non-)mpi flavor -- boo#1187161
- Change description: The vtk-qt subpackage provides some Qt
libraries, not a designer plugin.
- Support for QtWebkit was removed with vtk 9.0.0: Remove the build
requirement.
* Tue Oct 20 2020 Ismail Dönmez <idonmez@suse.com>
- Add vtk-freetype-2.10.3-replace-FT_CALLBACK_DEF.patch to fix
compilation with FreeType 2.10.3+
* Thu Jul 16 2020 Stefan Brüns <stefan.bruens@rwth-aachen.de>
- 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
* Mon Jun 15 2020 Andreas Schwab <schwab@suse.de>
- Drop -ffat-lto-objects to avoid wasting disk space
* Wed Jun 10 2020 Guillaume GARDET <guillaume.gardet@opensuse.org>
- Update _constraints to avoid OOM errors
* Sun May 31 2020 Atri Bhattacharya <badshah400@gmail.com>
- Add vtk-qt-5.15-include-QPainterPath.patch: Include QPainterPath
to fix build failures against Qt 5.15; patch taken from
upstream, see
<https://gitlab.kitware.com/vtk/vtk/-/merge_requests/6943>.
- 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
<https://discourse.vtk.org/t/building-fails-generating-wrap-hierarchy-for-vtk-commoncore-unable-to-open-libvtkwrappingtools-so-1>.
- 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 08 2020 Atri Bhattacharya <badshah400@gmail.com>
- 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.
Version: 8.2.0-bp152.2.1
* Mon Apr 27 2020 Atri Bhattacharya <badshah400@gmail.com>
- 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 2020 Bernhard Wiedemann <bwiedemann@suse.com>
- add reproducible.patch to override build date and to sort entries
(boo#1047218, boo#1041090)
* Fri Apr 24 2020 Atri Bhattacharya <badshah400@gmail.com>
- 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).
* Wed Mar 11 2020 Stefan Brüns <stefan.bruens@rwth-aachen.de>
- 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 2020 Tomá? Chvátal <tchvatal@suse.com>
- Add patch to fix building with python 3.8:
* python38.patch
* Tue Jan 28 2020 Stefan Brüns <stefan.bruens@rwth-aachen.de>
- 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.
* Mon Nov 04 2019 Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Adapt to openmpi -> openmpi1 rename on Tumbleweed.
- Spec file cleanup, remove conditionals for Leap 42.x.
- Apply proj4 compatibility patch also on Leap.
* Tue Sep 10 2019 Christophe Giboudeaux <christophe@krop.fr>
- Use -ffat-lto-objects when building static libraries.
* Sun Apr 14 2019 Christophe Giboudeaux <christophe@krop.fr>
- Add more explicit dependencies to vtk-devel.
* Tue Apr 09 2019 Christophe Giboudeaux <christophe@krop.fr>
- Add an explicit 'Requires: double-conversion-devel' for vtk-devel.
The double-conversion library is mentioned in vtkdoubleconversion.cmake
but isn't automatically installed.
* Fri Mar 15 2019 Stefan Brüns <stefan.bruens@rwth-aachen.de>
- 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
Version: 8.1.2-bp151.2.2
* Sun Jan 06 2019 Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Correct names of built packages, the mpi flavors were lacking the
flavor specific name infix, i.e. all flavors were named identically.
* Wed Jan 02 2019 Stefan Brüns <stefan.bruens@rwth-aachen.de>
- 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 2018 Stefan Brüns <stefan.bruens@rwth-aachen.de>
- 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
* Wed Dec 12 2018 Stefan Brüns <stefan.bruens@rwth-aachen.de>
- 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
* Thu Nov 22 2018 Todd R <toddrme2178@gmail.com>
- 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.
- Build vtkData as part of the main package. This makes sure the
data is extracted into the correct format.
* Fri Jun 29 2018 badshah400@gmail.com
- Drop post[un] scripts for devel and java subpackages; they are
only needed for the versioned shlib.
* Mon Jun 11 2018 toddrme2178@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 04 2018 stefan.bruens@rwth-aachen.de
- Use split libboost*-devel BuildRequires for TW and Leap/SLE 15
* Wed Jan 24 2018 fstrba@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 2018 badshah400@gmail.com
- Drop vtk-Rinterface-uintptr_t.patch as the related plugin has
been retired.
* Wed Jan 10 2018 badshah400@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 2017 badshah400@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 04 2017 bruno@ioda-net.ch
- Move BuildRequires: libQtWebKit-devel (Qt4) inside the else
version < 13.2
* Thu Oct 26 2017 dimstar@opensuse.org
- Add conflict between the -devel-doc variants.
* Tue Oct 24 2017 dimstar@opensuse.org
- Setup MPI environment before building.
* Thu Oct 12 2017 jengelh@inai.de
- Rectify RPM groups again.
* Sun Oct 01 2017 stefan.bruens@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 2017 stefan.bruens@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.
* Thu Sep 28 2017 badshah400@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 2017 kkhere.geo@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