* Thu Apr 20 2023 Max Lin <mlin@suse.com>
- Disable pegtl in Leap 15.5
* Leap 15.5 do have pegtl 3.x series
* Thu Mar 10 2022 Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Split java-devel subpackage from devel package, avoid pulling
in Java on most builds.
- Move python support libraries to python subpackage.
* Thu Feb 10 2022 Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Use system gl2ps also on Leap 15.x
* 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.
* 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.