SHA256
10
0
forked from pool/vtk

77 Commits

Author SHA256 Message Date
3bbc391499 Accepting request 1325853 from science
OBS-URL: https://build.opensuse.org/request/show/1325853
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=70
2026-01-08 14:27:14 +00:00
c2d6a2eec1 - Enable modules needed for ParaView to build using external VTK.
Modules enabled:
  * VTK::cli11
  * VTK::FiltersParallelDIY2
  * VTK::FiltersParallelStatistics                   
  * VTK::FiltersParallelVerdict                      
  * VTK::IOAvmesh                                    
  * VTK::IOH5part                                    
  * VTK::IOH5Rage                                    
  * VTK::IOOMF                                       
  * VTK::IOParallelExodus                            
  * VTK::IOParallelLSDyna                            
  * VTK::IOPIO                                       
  * VTK::IOTRUCHAS                                   
  * VTK::IOVPIC                                      
  * VTK::IOXdmf2                                     
  * VTK::RenderingMatplotlib                         
  * VTK::RenderingParallel                           
  * VTK::RenderingVolumeAMR                          
  * VTK::WebCore                                     
  * VTK::WebGLExporter                               
  * VTK::WebPython 

I will follow-up with a SR that uses external VTK, here I have the buildable version: https://build.opensuse.org/package/show/home:vicentebolea:branches:science/paraview

OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=212
2026-01-07 20:08:31 +00:00
a03a4288dd Accepting request 1308613 from science
fix build in factory (forwarded request 1308456 from fstrba)

OBS-URL: https://build.opensuse.org/request/show/1308613
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=69
2025-10-02 17:21:22 +00:00
Ana Guerrero
d989f4bff8 fix build in factory
OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=210
2025-10-02 12:14:32 +00:00
51d6da7473 Accepting request 1301976 from home:StefanBruens:branches:science
- Update to version 9.5.1, see:
  https://gitlab.kitware.com/vtk/vtk/-/blob/v9.5.1/Documentation/release/9.5.md
- Drop upstream patches:
  * 0001-java-support-java-bindings-IO-Avmesh-and-LANLX3D.patch
- Use system netcdf for SLE15SP7, as it builds fine. Leap/SLE15.6
  is not buildable due to several more missing dependencies,
  and 16.0 is around the corner.

OBS-URL: https://build.opensuse.org/request/show/1301976
OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=209
2025-09-02 09:29:26 +00:00
857eaa95d6 Accepting request 1301330 from science
OBS-URL: https://build.opensuse.org/request/show/1301330
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=68
2025-08-26 12:56:54 +00:00
e728af6c9a - Remove references to qml plugin dir. The QQmlVTKPlugin has been
deprecated by the QQuickVTKItem in 9.3, and removed in 9.5.
- Use system libfmt on Leap/SLFO 16.

OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=207
2025-08-25 21:01:25 +00:00
6a526ac063 - Update to version 9.5.0, see:
https://gitlab.kitware.com/vtk/vtk/-/blob/master/Documentation/release/9.5.md
- Added upstream patches:
  * 0001-java-support-java-bindings-IO-Avmesh-and-LANLX3D.patch
- Drop upstream patches:
  * bundled_libharu_add_missing_libm.patch
  * 0001-Fix-fmt-includes-again.patch
- Disable netcdf support for Leap 15.x to avoid hdf5 version conflicts
- Use Java 11 instead of Java 8 JDK.
- Use internal fmt package for leap 15 and 16.
- Drop leap 15.4 support.
- Dropped qml files.

OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=206
2025-08-14 05:46:58 +00:00
63b94b0f15 Accepting request 1274359 from science
OBS-URL: https://build.opensuse.org/request/show/1274359
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=67
2025-05-05 20:28:17 +00:00
a24d3c9f3f Drop BuildRequires: pkgconfig(glew) as it is not used for build (since version 9.4.0).
OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=204
2025-05-05 07:42:04 +00:00
d13021b805 Accepting request 1266058 from science
OBS-URL: https://build.opensuse.org/request/show/1266058
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=66
2025-04-02 15:13:23 +00:00
Ana Guerrero
d101efcdf3 Normalize jar mtimes for reproducible builds (boo#1134568)
OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=202
2025-04-01 09:11:04 +00:00
d8de398f91 Accepting request 1235055 from science
OBS-URL: https://build.opensuse.org/request/show/1235055
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=65
2025-01-07 19:51:34 +00:00
fda6a9a47f - Add bcond for mysql, keep it disabled by default. Make libmysql
devel dependency conditional.
- Remove obsolete netcdf-c++ dependency from devel package.

OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=200
2025-01-05 17:15:24 +00:00
4dc97af97e Accepting request 1234853 from science
OBS-URL: https://build.opensuse.org/request/show/1234853
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=64
2025-01-05 14:31:10 +00:00
24adbab078 - Update to version 9.4.1, see:
https://gitlab.kitware.com/vtk/vtk/-/blob/master/Documentation/release/9.4.md

OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=198
2025-01-04 05:07:06 +00:00
e17228372a Accepting request 1233274 from science
OBS-URL: https://build.opensuse.org/request/show/1233274
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=63
2024-12-29 10:56:09 +00:00
e8cb4e64b5 - Fix broken LD_LIBRARY_PATH mangling for openmpi builds
- Rebase GLES patches:
  * 0001-Correct-GL_BACK-GL_BACK_LEFT-mapping-on-GLES.patch
  * 0002-Use-GL_DRAW_BUFFER0-instead-of-GL_DRAW_BUFFER-for-GL.patch
- Drop obsolete patch:
  * Do-not-request-CUBE_MAP_SEAMLESS-on-GLES.patch
- - Update to version 9.4.0, see:
  https://gitlab.kitware.com/vtk/vtk/-/blob/master/Documentation/release/9.4.md
- Drop upstream patches:
  * 0001-ioss-update-fmt-includes.patch
- Add patches:
  * 0001-Add-missing-libm-link-library-for-bundled-ExodusII.patch
  * 0001-Fix-fmt-includes-again.patch
  * 0001-Fix-missing-GLAD-symbol-mangling-in-Rendering-GL2PSO.patch

OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=196
2024-12-25 00:53:14 +00:00
81c9ce56fe Accepting request 1206407 from science
Update to version 9.3.1.

OBS-URL: https://build.opensuse.org/request/show/1206407
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=62
2024-10-09 20:12:35 +00:00
3373685e00 OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=194 2024-10-08 23:48:10 +00:00
c97ea51671 - Update to version 9.3.1, see:
https://gitlab.kitware.com/vtk/vtk/-/blob/master/Documentation/release/9.3.md
- Add patches:
  * 0001-ioss-update-fmt-includes.patch
- Drop upstream patches:
  * fix_rendering_core_linkage
- New features and bugfixes:
  * The vendored `fmt` library has been updated to 10.1.1.
  * Fix SIGSEGV on `vtkCompositeDataProbeFilter`.
  * Add `ComponentName` in `vtkImageAlgorithm` and subclasses.
  * Fix UT record support in `vtkDICOMParser`
  * Fix for reading binary XML files > 2Gb on Windows.
  * Fix `ResampleWithDataSet` with an HTG source using MPI.
  * Fix `HyperTree` iterator in `ExtractElements` method.
  * Fix `vtkOpenGLRenderWindow::GetZBufferData` in OpenGL ES 3.
  * Fix GPU Ray Cast Volume Rendering with `ModelTransformMatrix`.
  * Fix Off-axis stereo image separation issue.
  * Fix Display Attribute Inheritance `vtkOpenGLGlyph3DMapper`.

OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=193
2024-10-08 23:44:04 +00:00
d6c39b0e99 Accepting request 1150115 from science
OBS-URL: https://build.opensuse.org/request/show/1150115
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=61
2024-02-25 13:06:38 +00:00
005dda96e9 Accepting request 1135723 from science
OBS-URL: https://build.opensuse.org/request/show/1135723
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=60
2024-01-03 11:25:09 +00:00
83f55c4624 Accepting request 1122205 from science
OBS-URL: https://build.opensuse.org/request/show/1122205
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=59
2023-11-02 19:22:16 +00:00
f0ea150dbb Accepting request 1077444 from science
OBS-URL: https://build.opensuse.org/request/show/1077444
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=58
2023-04-06 13:56:00 +00:00
f88af2488c Accepting request 1066655 from science
OBS-URL: https://build.opensuse.org/request/show/1066655
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=57
2023-02-20 16:45:28 +00:00
9d4706b861 Accepting request 1061663 from science
OBS-URL: https://build.opensuse.org/request/show/1061663
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=56
2023-01-28 17:44:48 +00:00
bae0badece Accepting request 1030217 from science
OBS-URL: https://build.opensuse.org/request/show/1030217
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=55
2022-10-21 14:19:13 +00:00
aeb4019daa Accepting request 963267 from science
OBS-URL: https://build.opensuse.org/request/show/963267
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=54
2022-03-20 19:55:13 +00:00
5c4abbe161 Accepting request 933608 from science
- 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)

OBS-URL: https://build.opensuse.org/request/show/933608
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=53
2021-11-25 22:05:40 +00:00
8ed4eea48d Accepting request 902668 from science
OBS-URL: https://build.opensuse.org/request/show/902668
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=52
2021-06-28 13:33:33 +00:00
ae2a0f6850 Accepting request 843470 from science
OBS-URL: https://build.opensuse.org/request/show/843470
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=51
2020-10-24 13:17:39 +00:00
7445f33735 Accepting request 821695 from science
OBS-URL: https://build.opensuse.org/request/show/821695
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=50
2020-07-20 19:01:38 +00:00
91ad2443e6 Accepting request 816845 from science
OBS-URL: https://build.opensuse.org/request/show/816845
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=49
2020-06-25 13:07:10 +00:00
b69cb3777c Accepting request 815874 from science
OBS-URL: https://build.opensuse.org/request/show/815874
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=48
2020-06-19 15:24:53 +00:00
e32650dccd Accepting request 811182 from science
OBS-URL: https://build.opensuse.org/request/show/811182
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=47
2020-06-08 21:59:37 +00:00
bf3644f3ab Accepting request 799061 from science
OBS-URL: https://build.opensuse.org/request/show/799061
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=46
2020-05-01 09:10:56 +00:00
046971969b Accepting request 783939 from science
OBS-URL: https://build.opensuse.org/request/show/783939
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=45
2020-03-12 22:05:58 +00:00
34eebc4ed7 Accepting request 769140 from science
- 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.

OBS-URL: https://build.opensuse.org/request/show/769140
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=44
2020-02-03 10:13:51 +00:00
6a05debd1b Accepting request 746053 from science
OBS-URL: https://build.opensuse.org/request/show/746053
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=43
2019-11-07 22:19:07 +00:00
eef14b1249 Accepting request 732075 from science
Fix build

OBS-URL: https://build.opensuse.org/request/show/732075
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=42
2019-09-23 10:36:18 +00:00
9943455291 Accepting request 694090 from science
OBS-URL: https://build.opensuse.org/request/show/694090
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=41
2019-04-15 09:53:01 +00:00
1e464e67c5 Accepting request 692621 from science
OBS-URL: https://build.opensuse.org/request/show/692621
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=40
2019-04-09 18:19:36 +00:00
3cf34eb15a Accepting request 686429 from science
OBS-URL: https://build.opensuse.org/request/show/686429
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=39
2019-03-26 21:31:15 +00:00
aa90c13eb8 Accepting request 663766 from science
OBS-URL: https://build.opensuse.org/request/show/663766
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=38
2019-01-11 13:04:10 +00:00
bd1d93ab17 Accepting request 657947 from science
OBS-URL: https://build.opensuse.org/request/show/657947
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=37
2018-12-18 13:56:12 +00:00
7ab6e73b33 Accepting request 652020 from science
OBS-URL: https://build.opensuse.org/request/show/652020
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=36
2018-11-27 09:43:30 +00:00
779aa04551 Accepting request 619762 from science
OBS-URL: https://build.opensuse.org/request/show/619762
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=35
2018-07-02 21:31:55 +00:00
ade3dae487 Accepting request 591278 from science
OBS-URL: https://build.opensuse.org/request/show/591278
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=34
2018-03-28 08:32:17 +00:00
2223f6aeaa Accepting request 569356 from science
OBS-URL: https://build.opensuse.org/request/show/569356
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=33
2018-01-25 11:40:45 +00:00
e62a8cf6a6 Accepting request 563920 from science
- Drop vtk-Rinterface-uintptr_t.patch as the related plugin has
  been retired.
- 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.
- 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.

OBS-URL: https://build.opensuse.org/request/show/563920
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=32
2018-01-19 10:52:47 +00:00
764b8567aa Accepting request 554792 from science
OBS-URL: https://build.opensuse.org/request/show/554792
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=31
2017-12-08 11:59:15 +00:00
7017ff0255 Accepting request 536862 from science
1

OBS-URL: https://build.opensuse.org/request/show/536862
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=30
2017-10-27 12:00:55 +00:00
c4e94ba583 Accepting request 529946 from science
1

OBS-URL: https://build.opensuse.org/request/show/529946
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=29
2017-10-09 17:40:31 +00:00
578f28ab3d Accepting request 523056 from science
- 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.
- 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.

OBS-URL: https://build.opensuse.org/request/show/523056
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=28
2017-09-12 17:54:55 +00:00
6db268045f Accepting request 518423 from science
1

OBS-URL: https://build.opensuse.org/request/show/518423
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=27
2017-08-28 13:12:57 +00:00
1830b501e2 Accepting request 442053 from science
1

OBS-URL: https://build.opensuse.org/request/show/442053
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=26
2017-01-29 09:33:13 +00:00
2cc0eb60e9 Accepting request 419080 from science
1

OBS-URL: https://build.opensuse.org/request/show/419080
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=25
2016-08-13 16:30:58 +00:00
737e62a716 Accepting request 391389 from science
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/391389
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=24
2016-04-28 14:56:17 +00:00
d849c14729 Accepting request 360706 from science
1

OBS-URL: https://build.opensuse.org/request/show/360706
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=23
2016-02-25 21:05:09 +00:00
Stephan Kulow
2456a09846 Accepting request 331899 from science
1

OBS-URL: https://build.opensuse.org/request/show/331899
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=22
2015-09-19 04:55:29 +00:00
b452bf6e5e Accepting request 323273 from science
1

OBS-URL: https://build.opensuse.org/request/show/323273
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=21
2015-08-21 05:40:44 +00:00
88d6398e31 Accepting request 323157 from science
1

OBS-URL: https://build.opensuse.org/request/show/323157
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=20
2015-08-15 09:39:43 +00:00
d2225ba192 Accepting request 313658 from science
1

OBS-URL: https://build.opensuse.org/request/show/313658
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=19
2015-06-30 08:16:10 +00:00
7982f7e099 Accepting request 313177 from science
1

OBS-URL: https://build.opensuse.org/request/show/313177
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=18
2015-06-24 18:49:33 +00:00
cc014b82ae Accepting request 295054 from science
1

OBS-URL: https://build.opensuse.org/request/show/295054
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=17
2015-04-10 07:53:43 +00:00
aa2491da6f Accepting request 292518 from science
1

OBS-URL: https://build.opensuse.org/request/show/292518
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=16
2015-03-25 20:05:11 +00:00
9564edf8f8 Accepting request 288000 from science
1

OBS-URL: https://build.opensuse.org/request/show/288000
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=15
2015-02-27 10:10:27 +00:00
Stephan Kulow
598e9d8aaf Accepting request 248461 from science
1

OBS-URL: https://build.opensuse.org/request/show/248461
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=14
2014-09-12 08:03:29 +00:00
Stephan Kulow
5bd243f124 Accepting request 224405 from science
Update to version 6.1.0 (vtkdata = 6.1.0 is already in openSUSE:Factory)

OBS-URL: https://build.opensuse.org/request/show/224405
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=12
2014-03-04 12:59:59 +00:00
Stephan Kulow
0d8407465b Accepting request 183813 from science
Disable R bindings to workaround build failures when it is enabled, in openSUSE:Factory. Will enable back when the real fix is found. (forwarded request 183704 from badshah400)

OBS-URL: https://build.opensuse.org/request/show/183813
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=10
2013-07-21 14:34:47 +00:00
Stephan Kulow
943ce0ee26 Accepting request 182973 from science
Update to version 6.0.0; lots of packaging cleanups (forwarded request 182962 from badshah400)

OBS-URL: https://build.opensuse.org/request/show/182973
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=9
2013-07-16 14:25:57 +00:00
Stephan Kulow
9eb093899d Accepting request 139570 from science
Update to version 5.10.1 (forwarded request 139569 from badshah400)

OBS-URL: https://build.opensuse.org/request/show/139570
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=7
2012-10-31 13:05:51 +00:00
Ismail Dönmez
a0f9e6ebc8 Accepting request 128510 from science
fix build on SLE 11 by disabling python-vtk-qt an java wrapper. (forwarded request 128509 from scorot)

OBS-URL: https://build.opensuse.org/request/show/128510
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=6
2012-07-21 10:32:21 +00:00
Stephan Kulow
ec437d3de2 Accepting request 121538 from science
- 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.

OBS-URL: https://build.opensuse.org/request/show/121538
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=4
2012-05-22 06:20:07 +00:00
Stephan Kulow
60437cfaed Accepting request 120590 from science
- Remove openmotif dependency

OBS-URL: https://build.opensuse.org/request/show/120590
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=3
2012-05-14 14:22:36 +00:00
Stephan Kulow
69f416c924 Accepting request 114978 from science
Use more system libraries (gl2ps and hdf5), Updated/Removed some dependencies, Removed build time references, Compile the package out-of-source (forwarded request 114971 from adra)

OBS-URL: https://build.opensuse.org/request/show/114978
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vtk?expand=0&rev=2
2012-05-08 16:02:11 +00:00
11 changed files with 364 additions and 151 deletions

View File

@@ -0,0 +1,22 @@
From 11749efe6bbe30e8d9a88b624c356a45c3207fd2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
Date: Thu, 12 Dec 2024 17:27:49 +0100
Subject: [PATCH] Add missing libm link library for bundled ExodusII
---
ThirdParty/exodusII/vtkexodusII/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/ThirdParty/exodusII/vtkexodusII/CMakeLists.txt b/ThirdParty/exodusII/vtkexodusII/CMakeLists.txt
index e3b10bb9..8e4ccd6e 100644
--- a/ThirdParty/exodusII/vtkexodusII/CMakeLists.txt
+++ b/ThirdParty/exodusII/vtkexodusII/CMakeLists.txt
@@ -338,4 +338,5 @@ vtk_module_include(VTK::exodusII
"$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/include>")
vtk_module_link(VTK::exodusII
PRIVATE
+ m
Threads::Threads)
--
2.47.1

View File

@@ -1,4 +1,4 @@
From 2b930f694c2275b892772857002724b9fdcae6c5 Mon Sep 17 00:00:00 2001
From c048ec987bf06d76ca19a292af2b5d6641cf4587 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
Date: Thu, 16 Jul 2020 03:52:23 +0200
Subject: [PATCH 1/2] Correct GL_BACK/GL_BACK_LEFT mapping on GLES
@@ -8,26 +8,43 @@ just GL_BACK, so there is no need to remap it. Desktop GL may have
LEFT and RIGHT attached at the simultaneously, so one of the buffers
has to be selected when querying the attributes.
---
Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx | 5 +++++
1 file changed, 5 insertions(+)
Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx b/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx
index 9bbbc2ba54..4bda9330b6 100644
index 514e960b..394128b0 100644
--- a/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx
+++ b/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx
@@ -849,6 +849,10 @@ int vtkOpenGLRenderWindow::GetColorBufferSizes(int* rgba)
@@ -890,6 +890,11 @@ bool vtkOpenGLRenderWindow::GetUsingSRGBColorSpace()
{
this->MakeCurrent();
+#ifdef GL_ES_VERSION_3_0
+ // GLES only has the GL_BACK color
+ // attachment for the default framebuffer
+ return this->UseSRGBColorSpace;
+#else
GLint attachment = GL_BACK_LEFT;
#ifdef GL_DRAW_BUFFER
glGetIntegerv(GL_DRAW_BUFFER, &attachment);
@@ -923,6 +928,7 @@ bool vtkOpenGLRenderWindow::GetUsingSRGBColorSpace()
}
vtkDebugMacro(<< "Error getting color encoding!");
return false;
+#endif
}
vtkDebugMacro(<< "OpenGL is not initialized yet!");
@@ -950,6 +956,7 @@ int vtkOpenGLRenderWindow::GetColorBufferSizes(int* rgba)
#ifdef GL_DRAW_BUFFER
glGetIntegerv(GL_DRAW_BUFFER, &attachment);
#endif
+#ifdef GL_ES_VERSION_3_0
+ // GLES only has the GL_BACK color
+ // attachment for the default framebuffer
+#else
// GL seems odd with its handling of left/right.
// if it says we are using GL_FRONT or GL_BACK
// then convert those to GL_FRONT_LEFT and
@@ -861,6 +865,7 @@ int vtkOpenGLRenderWindow::GetColorBufferSizes(int* rgba)
{
@@ -971,6 +978,7 @@ int vtkOpenGLRenderWindow::GetColorBufferSizes(int* rgba)
// before querying the color buffer sizes.
attachment = GL_BACK_LEFT;
}
+#endif
@@ -35,5 +52,5 @@ index 9bbbc2ba54..4bda9330b6 100644
// make sure we clear any errors before we start
// otherwise we may get incorrect results
--
2.27.0
2.47.1

View File

@@ -0,0 +1,26 @@
From 0d9be7530127da2a42644a3c5b78faaaaec5c354 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
Date: Thu, 12 Dec 2024 23:19:22 +0100
Subject: [PATCH] Fix missing GLAD symbol mangling in Rendering/GL2PSOpenGL2
The library links to and uses symbols from the GLAD GL wrapper library,
thus it must use the wrapped GL library calls.
---
Rendering/GL2PSOpenGL2/vtkOpenGLGL2PSHelperImpl.cxx | 1 +
1 file changed, 1 insertion(+)
diff --git a/Rendering/GL2PSOpenGL2/vtkOpenGLGL2PSHelperImpl.cxx b/Rendering/GL2PSOpenGL2/vtkOpenGLGL2PSHelperImpl.cxx
index eece0354..91a22275 100644
--- a/Rendering/GL2PSOpenGL2/vtkOpenGLGL2PSHelperImpl.cxx
+++ b/Rendering/GL2PSOpenGL2/vtkOpenGLGL2PSHelperImpl.cxx
@@ -2,6 +2,7 @@
// SPDX-License-Identifier: BSD-3-Clause
#include "vtkOpenGLGL2PSHelperImpl.h"
+#include "vtk_glad.h"
#include "vtkActor.h"
#include "vtkCamera.h"
--
2.47.1

View File

@@ -1,7 +1,7 @@
From 068773541005f8d8f027b373a01c821788439c8b Mon Sep 17 00:00:00 2001
From 59ad85c74a850736ad4fcdcb9dd00779a7fff0ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
Date: Sun, 21 Nov 2021 22:51:36 +0100
Subject: [PATCH] Use GL_DRAW_BUFFER0 instead of GL_DRAW_BUFFER for GLES
Subject: [PATCH 2/2] Use GL_DRAW_BUFFER0 instead of GL_DRAW_BUFFER for GLES
compatibility
ARB_draw_buffers is part of GL 2.0, so GL_DRAW_BUFFERS0 is always
@@ -14,18 +14,18 @@ glDrawBuffer.
At least with MESA, GL_DRAW_BUFFER and GL_DRAW_BUFFER0 always return the
same value. GL_DRAW_BUFFERn is also used in several places already.
---
.../ContextOpenGL2/vtkOpenGLContextBufferId.cxx | 2 +-
.../ContextOpenGL2/vtkOpenGLContextDevice2DPrivate.h | 2 +-
.../ContextOpenGL2/vtkOpenGLContextBufferId.cxx | 4 ++--
.../ContextOpenGL2/vtkOpenGLContextDevice2DPrivate.h | 4 ++--
Rendering/External/vtkExternalOpenGLRenderWindow.cxx | 2 +-
Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx | 8 ++++----
Rendering/OpenGL2/vtkOpenGLState.cxx | 12 ++++++------
5 files changed, 13 insertions(+), 13 deletions(-)
5 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/Rendering/ContextOpenGL2/vtkOpenGLContextBufferId.cxx b/Rendering/ContextOpenGL2/vtkOpenGLContextBufferId.cxx
index c0e0f8909f..dd6a93bde3 100644
index 9b6c16d4..af9d5a11 100644
--- a/Rendering/ContextOpenGL2/vtkOpenGLContextBufferId.cxx
+++ b/Rendering/ContextOpenGL2/vtkOpenGLContextBufferId.cxx
@@ -130,8 +130,8 @@ vtkIdType vtkOpenGLContextBufferId::GetPickedItem(int x, int y)
@@ -129,8 +129,8 @@ vtkIdType vtkOpenGLContextBufferId::GetPickedItem(int x, int y)
// pixel x,y (instead of pixel 0,0 to work around pixel ownership test).
GLint savedDrawBuffer = GL_BACK_LEFT;
@@ -37,7 +37,7 @@ index c0e0f8909f..dd6a93bde3 100644
vtkOpenGLState::ScopedglEnableDisable dsaver(ostate, GL_DEPTH_TEST);
diff --git a/Rendering/ContextOpenGL2/vtkOpenGLContextDevice2DPrivate.h b/Rendering/ContextOpenGL2/vtkOpenGLContextDevice2DPrivate.h
index 29e5f47671..7acb87e25f 100644
index 0bd7332f..6ac52956 100644
--- a/Rendering/ContextOpenGL2/vtkOpenGLContextDevice2DPrivate.h
+++ b/Rendering/ContextOpenGL2/vtkOpenGLContextDevice2DPrivate.h
@@ -306,8 +306,8 @@ public:
@@ -52,10 +52,10 @@ index 29e5f47671..7acb87e25f 100644
this->SavedDrawBuffer = GL_BACK_LEFT;
#endif
diff --git a/Rendering/External/vtkExternalOpenGLRenderWindow.cxx b/Rendering/External/vtkExternalOpenGLRenderWindow.cxx
index 445bfce802..5e1f2f4b24 100644
index 265c7338..9ad4640b 100644
--- a/Rendering/External/vtkExternalOpenGLRenderWindow.cxx
+++ b/Rendering/External/vtkExternalOpenGLRenderWindow.cxx
@@ -58,7 +58,7 @@ void vtkExternalOpenGLRenderWindow::Start()
@@ -47,7 +47,7 @@ void vtkExternalOpenGLRenderWindow::Start()
// For stereo, render the correct eye based on the OpenGL buffer mode
GLint bufferType;
@@ -65,12 +65,12 @@ index 445bfce802..5e1f2f4b24 100644
vtkRenderer* renderer;
for (this->GetRenderers()->InitTraversal(sit);
diff --git a/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx b/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx
index 25b521bd0d..426aa69f08 100644
index 394128b0..17d2004c 100644
--- a/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx
+++ b/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx
@@ -794,8 +794,8 @@ bool vtkOpenGLRenderWindow::GetUsingSRGBColorSpace()
this->MakeCurrent();
@@ -896,8 +896,8 @@ bool vtkOpenGLRenderWindow::GetUsingSRGBColorSpace()
return this->UseSRGBColorSpace;
#else
GLint attachment = GL_BACK_LEFT;
-#ifdef GL_DRAW_BUFFER
- glGetIntegerv(GL_DRAW_BUFFER, &attachment);
@@ -79,7 +79,7 @@ index 25b521bd0d..426aa69f08 100644
#endif
// GL seems odd with its handling of left/right.
// if it says we are using GL_FRONT or GL_BACK
@@ -854,8 +854,8 @@ int vtkOpenGLRenderWindow::GetColorBufferSizes(int* rgba)
@@ -953,8 +953,8 @@ int vtkOpenGLRenderWindow::GetColorBufferSizes(int* rgba)
{
this->MakeCurrent();
GLint attachment = GL_BACK_LEFT;
@@ -89,12 +89,12 @@ index 25b521bd0d..426aa69f08 100644
+ glGetIntegerv(GL_DRAW_BUFFER0, &attachment);
#endif
#ifdef GL_ES_VERSION_3_0
// GLES only has the GL_BACK color
// GL seems odd with its handling of left/right.
diff --git a/Rendering/OpenGL2/vtkOpenGLState.cxx b/Rendering/OpenGL2/vtkOpenGLState.cxx
index 24f23a5c44..aca4e4f247 100644
index bdafa26e..ecef68dd 100644
--- a/Rendering/OpenGL2/vtkOpenGLState.cxx
+++ b/Rendering/OpenGL2/vtkOpenGLState.cxx
@@ -217,8 +217,8 @@ void vtkOpenGLState::CheckState()
@@ -206,8 +206,8 @@ void vtkOpenGLState::CheckState()
error = true;
}
unsigned int sval;
@@ -105,7 +105,7 @@ index 24f23a5c44..aca4e4f247 100644
sval = cs.DrawBinding.GetDrawBuffer(0);
if (sval == GL_BACK_LEFT)
{
@@ -504,8 +504,8 @@ void vtkOpenGLState::vtkglBindFramebuffer(unsigned int target, unsigned int val)
@@ -495,8 +495,8 @@ void vtkOpenGLState::vtkglBindFramebuffer(unsigned int target, unsigned int val)
{
cs.DrawBinding.Binding = val;
::glBindFramebuffer(GL_DRAW_FRAMEBUFFER, val);
@@ -116,7 +116,7 @@ index 24f23a5c44..aca4e4f247 100644
#endif
}
}
@@ -1626,8 +1626,8 @@ void vtkOpenGLState::ResetFramebufferBindings()
@@ -1625,8 +1625,8 @@ void vtkOpenGLState::ResetFramebufferBindings()
{
auto& cs = this->Stack.top();
::glGetIntegerv(GL_DRAW_FRAMEBUFFER_BINDING, (int*)&cs.DrawBinding.Binding);
@@ -128,5 +128,5 @@ index 24f23a5c44..aca4e4f247 100644
::glGetIntegerv(GL_READ_FRAMEBUFFER_BINDING, (int*)&cs.ReadBinding.Binding);
--
2.33.1
2.47.1

View File

@@ -1,16 +0,0 @@
--- a/Rendering/CellGrid/vtkDGOpenGLRenderer.cxx_orig 2023-12-28 06:22:40.696501865 +0100
+++ b/Rendering/CellGrid/vtkDGOpenGLRenderer.cxx 2023-12-28 06:23:24.633470522 +0100
@@ -1046,11 +1046,13 @@
}
// III. Render draw
+#ifndef GL_ES_VERSION_3_0
if (renderer->GetUseImageBasedLighting() && renderer->GetEnvironmentTexture())
{
vtkOpenGLState* ostate = oglRenWin->GetState();
ostate->vtkglEnable(GL_TEXTURE_CUBE_MAP_SEAMLESS);
}
+#endif
// a. Update shaders
state->CellBO.VAO->Bind();
// state->LastBoundBO = &state->CellBO; // We only bind the one...

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fdc7b9295225b34e4fdddc49cd06e66e94260cb00efee456e0f66568c9681be9
size 99932810

3
VTK-9.5.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cee64b98d270ff7302daf1ef13458dff5d5ac1ecb45d47723835f7f7d562c989
size 50189467

View File

@@ -1,13 +0,0 @@
Index: VTK-9.0.0/ThirdParty/libharu/vtklibharu/CMakeLists.txt
===================================================================
--- VTK-9.0.0.orig/ThirdParty/libharu/vtklibharu/CMakeLists.txt
+++ VTK-9.0.0/ThirdParty/libharu/vtklibharu/CMakeLists.txt
@@ -68,6 +68,8 @@ if(PNG_FOUND)
find_library(M_LIB m)
endif ()
+link_libraries(m)
+
# =======================================================================
# configure header files, add compiler flags
# =======================================================================

View File

@@ -1,18 +0,0 @@
--- a/Rendering/LICOpenGL2/vtk.module_orig 2023-12-27 17:36:03.966016939 +0100
+++ b/Rendering/LICOpenGL2/vtk.module 2023-12-27 17:36:40.199591808 +0100
@@ -14,6 +14,7 @@
VTK::CommonDataModel
VTK::CommonExecutionModel
VTK::RenderingOpenGL2
+ VTK::RenderingCore
PRIVATE_DEPENDS
VTK::CommonMath
VTK::CommonSystem
@@ -22,7 +23,6 @@
VTK::IOXML
VTK::ImagingCore
VTK::ImagingSources
- VTK::RenderingCore
VTK::glew
VTK::opengl
VTK::vtksys

View File

@@ -1,3 +1,138 @@
-------------------------------------------------------------------
Wed Dec 19 19:54:00 UTC 2025 - Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com>
- Enable modules needed for ParaView to build using external VTK.
Modules enabled:
* VTK::cli11
* VTK::FiltersParallelDIY2
* VTK::FiltersParallelStatistics
* VTK::FiltersParallelVerdict
* VTK::IOAvmesh
* VTK::IOH5part
* VTK::IOH5Rage
* VTK::IOOMF
* VTK::IOParallelExodus
* VTK::IOParallelLSDyna
* VTK::IOPIO
* VTK::IOTRUCHAS
* VTK::IOVPIC
* VTK::IOXdmf2
* VTK::RenderingMatplotlib
* VTK::RenderingParallel
* VTK::RenderingVolumeAMR
* VTK::WebCore
* VTK::WebGLExporter
* VTK::WebPython
-------------------------------------------------------------------
Wed Oct 1 13:48:54 UTC 2025 - Fridrich Strba <fstrba@suse.com>
- Update to version 9.5.2, see:
https://gitlab.kitware.com/vtk/vtk/-/blob/v9.5.2/Documentation/release/9.5.md
- Build with internal libfmt in factory, since the version 12 there
is not compatible with this version of vtk
-------------------------------------------------------------------
Fri Aug 29 14:56:06 UTC 2025 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Update to version 9.5.1, see:
https://gitlab.kitware.com/vtk/vtk/-/blob/v9.5.1/Documentation/release/9.5.md
- Drop upstream patches:
* 0001-java-support-java-bindings-IO-Avmesh-and-LANLX3D.patch
- Use system netcdf for SLE15SP7, as it builds fine. Leap/SLE15.6
is not buildable due to several more missing dependencies,
and 16.0 is around the corner.
-------------------------------------------------------------------
Mon Aug 25 16:09:04 UTC 2025 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Remove references to qml plugin dir. The QQmlVTKPlugin has been
deprecated by the QQuickVTKItem in 9.3, and removed in 9.5.
- Use system libfmt on Leap/SLFO 16.
-------------------------------------------------------------------
Mon Jun 24 19:54:00 UTC 2025 - Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com>
- Update to version 9.5.0, see:
https://gitlab.kitware.com/vtk/vtk/-/blob/master/Documentation/release/9.5.md
- Added upstream patches:
* 0001-java-support-java-bindings-IO-Avmesh-and-LANLX3D.patch
- Drop upstream patches:
* bundled_libharu_add_missing_libm.patch
* 0001-Fix-fmt-includes-again.patch
- Disable netcdf support for Leap 15.x to avoid hdf5 version conflicts
- Use Java 11 instead of Java 8 JDK.
- Use internal fmt package for leap 15 and 16.
- Drop leap 15.4 support.
-------------------------------------------------------------------
Tue Apr 15 08:15:48 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Drop BuildRequires: pkgconfig(glew) as it is not used for build
(since version 9.4.0).
-------------------------------------------------------------------
Sun Jan 5 04:39:42 UTC 2025 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Add bcond for mysql, keep it disabled by default. Make libmysql
devel dependency conditional.
- Remove obsolete netcdf-c++ dependency from devel package.
-------------------------------------------------------------------
Mon Dec 30 18:53:44 UTC 2024 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Update to version 9.4.1, see:
https://gitlab.kitware.com/vtk/vtk/-/blob/master/Documentation/release/9.4.md
-------------------------------------------------------------------
Sun Dec 22 03:31:28 UTC 2024 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Fix broken LD_LIBRARY_PATH mangling for openmpi builds
- Rebase GLES patches:
* 0001-Correct-GL_BACK-GL_BACK_LEFT-mapping-on-GLES.patch
* 0002-Use-GL_DRAW_BUFFER0-instead-of-GL_DRAW_BUFFER-for-GL.patch
- Drop obsolete patch:
* Do-not-request-CUBE_MAP_SEAMLESS-on-GLES.patch
-------------------------------------------------------------------
Mon Dec 16 16:16:25 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
- Normalize jar mtimes for reproducible builds (boo#1134568)
-------------------------------------------------------------------
Thu Dec 12 16:28:03 UTC 2024 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- - Update to version 9.4.0, see:
https://gitlab.kitware.com/vtk/vtk/-/blob/master/Documentation/release/9.4.md
- Drop upstream patches:
* 0001-ioss-update-fmt-includes.patch
- Add patches:
* 0001-Add-missing-libm-link-library-for-bundled-ExodusII.patch
* 0001-Fix-fmt-includes-again.patch
* 0001-Fix-missing-GLAD-symbol-mangling-in-Rendering-GL2PSO.patch
-------------------------------------------------------------------
Fri Jun 29 00:00:00 UTC 2024 - Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com>
- Update to version 9.3.1, see:
https://gitlab.kitware.com/vtk/vtk/-/blob/master/Documentation/release/9.3.md
- Add patches:
* 0001-ioss-update-fmt-includes.patch
- Drop upstream patches:
* fix_rendering_core_linkage.patch
- New features and bugfixes:
* The vendored `fmt` library has been updated to 10.1.1.
* Fix SIGSEGV on `vtkCompositeDataProbeFilter`.
* Add `ComponentName` in `vtkImageAlgorithm` and subclasses.
* Fix UT record support in `vtkDICOMParser`
* Fix for reading binary XML files > 2Gb on Windows.
* Fix `ResampleWithDataSet` with an HTG source using MPI.
* Fix `HyperTree` iterator in `ExtractElements` method.
* Fix `vtkOpenGLRenderWindow::GetZBufferData` in OpenGL ES 3.
* Fix GPU Ray Cast Volume Rendering with `ModelTransformMatrix`.
* Fix Off-axis stereo image separation issue.
* Fix Display Attribute Inheritance `vtkOpenGLGlyph3DMapper`.
-------------------------------------------------------------------
Tue Feb 20 13:26:32 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

198
vtk.spec
View File

@@ -1,7 +1,8 @@
#
# spec file
# spec file for package vtk
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -21,6 +22,7 @@
%bcond_with examples
%bcond_with documentation
%bcond_with testing
%bcond_with mysql
%ifarch %arm aarch64
%bcond_without gles
@@ -36,24 +38,31 @@
# PEGTL >= 3.0 not supported, https://gitlab.kitware.com/vtk/vtk/-/issues/18151
%if 0%{?suse_version} <= 1500
%bcond_with fast_float
%bcond_with fmt
%bcond_with haru
%if 0%{?sle_version} <= 150400
%bcond_without pegtl
%else
%bcond_with pegtl
%endif
%bcond_with fmt
%bcond_with pugixml
%bcond_with nlohmann
%bcond_with cli11
%else
%bcond_without fast_float
%bcond_without fmt
%bcond_without haru
%bcond_with pegtl
%bcond_without pugixml
%bcond_without nlohmann
%bcond_without cli11
# fmt in Factory is too new
%if 0%{?suse_version} <= 1600
%bcond_without fmt
%else
%bcond_with fmt
%endif
%define have_strip_nondeterminism 1
%endif
%bcond_with system_pegtl
%bcond_without gl2ps
%bcond_without java
%bcond_without netcdf
%bcond_without verdict
%if "%{flavor}" == ""
%define my_suffix %{nil}
@@ -62,6 +71,7 @@
%define my_libdir %_libdir
%define my_incdir %_includedir
%define my_datadir %_datadir
%define my_python3_sitearch %{python3_sitearch}
%endif
%if "%{flavor}" == "openmpi4"
@@ -86,15 +96,16 @@
%define my_libdir %{my_prefix}/%{_lib}/
%define my_incdir %{my_prefix}/include/
%define my_datadir %{my_prefix}/share/
%define my_python3_sitearch %{mpiprefix}/%{_lib}/python%{python3_version}/site-packages
%endif
%define vtklib lib%{pkgname}1%{?my_suffix}
%define shlib %{vtklib}
Name: vtk%{?my_suffix}
Version: 9.3.0
Version: 9.5.2
Release: 0
%define series 9.3
%define series 9.5
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.
@@ -106,39 +117,44 @@ Source: https://www.vtk.org/files/release/%{series}/VTK-%{version}.tar.g
# 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-OPENSUSE bundled_libharu_add_missing_libm.patch stefan.bruens@rwth-aachen.de -- Add missing libm for linking (gh#libharu/libharu#213)
Patch1: bundled_libharu_add_missing_libm.patch
# PATCH-FIX-UPSTREAM
Patch2: fix_rendering_core_linkage.patch
# PATCH-FIX-OPENSUSE -- Fix building with Qt GLES builds
Patch7: 0001-Add-missing-guard-required-for-GLES-to-disable-stere.patch
# PATCH-FIX-UPSTREAM -- Fix building with Qt GLES builds
Patch8: 0001-Correct-GL_BACK-GL_BACK_LEFT-mapping-on-GLES.patch
# PATCH-FIX-UPSTREAM -- Fix building with Qt GLES builds
Patch9: 0002-Use-GL_DRAW_BUFFER0-instead-of-GL_DRAW_BUFFER-for-GL.patch
# PATCH-FIX-OPENSUSE -- Fix building with Qt GLES builds
Patch10: Do-not-request-CUBE_MAP_SEAMLESS-on-GLES.patch
# PATCH-FIX-UPSTREAM -- Always create python package metadata (egg-info)
Patch17: 0001-Always-generate-Python-Metadata-when-WRAP_PYTHON-is-.patch
# PATCH-FIX-UPSTREAM -- Copy generated metadata to the right directory
Patch18: 0001-Consider-VTK_PYTHON_SITE_PACKAGES_SUFFIX-for-Python-.patch
# PATCH-FIX-UPSTREAM
Patch19: 0001-Add-missing-libm-link-library-for-bundled-ExodusII.patch
# PATCH-FIX-OPENSUSE
Patch20: 0001-Fix-missing-GLAD-symbol-mangling-in-Rendering-GL2PSO.patch
BuildRequires: cgns-devel
BuildRequires: chrpath
BuildRequires: cmake >= 3.12
BuildRequires: double-conversion-devel
BuildRequires: fdupes
%if 0%{?suse_version} <= 1500
BuildRequires: gcc14-c++
%else
BuildRequires: gcc-c++
%endif
BuildRequires: hdf5-devel
BuildRequires: libboost_graph-devel
BuildRequires: libboost_graph_parallel-devel
BuildRequires: libboost_serialization-devel
BuildRequires: libjpeg-devel
%if %{with mysql}
BuildRequires: libmysqlclient-devel
%endif
BuildRequires: libtiff-devel
BuildRequires: python3-devel
BuildRequires: python3-numpy-devel
BuildRequires: python3-qt5-devel
BuildRequires: python3-setuptools
BuildRequires: sqlite3
BuildRequires: utfcpp-devel
BuildRequires: cmake(Verdict)
BuildRequires: cmake(nlohmann_json)
@@ -151,7 +167,6 @@ BuildRequires: pkgconfig(eigen3) >= 3.3.9
BuildRequires: pkgconfig(expat)
BuildRequires: pkgconfig(freetype2) >= 2.11.0
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(glew)
BuildRequires: pkgconfig(jsoncpp)
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavdevice)
@@ -162,7 +177,6 @@ BuildRequires: pkgconfig(liblz4) >= 1.8.0
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(libswscale)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(netcdf)
BuildRequires: pkgconfig(proj) >= 5.0.0
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(theora)
@@ -173,8 +187,15 @@ BuildRequires: doxygen
BuildRequires: gnuplot
BuildRequires: graphviz
%endif
%if %{with netcdf}
BuildRequires: pkgconfig(netcdf)
%endif
%if %{with cli11}
BuildRequires: pkgconfig(CLI11)
%endif
%if %{with fmt}
BuildRequires: fmt-devel > 9.0
BuildRequires: fmt-devel > 11.0
BuildConflicts: fmt-devel >= 12
%endif
%if %{with gl2ps}
BuildRequires: gl2ps-devel > 1.4.0
@@ -183,13 +204,18 @@ BuildRequires: gl2ps-devel > 1.4.0
BuildRequires: libharu-devel >= 2.4.0
%endif
%if %{with java}
BuildRequires: java-devel >= 1.8
BuildRequires: java-devel >= 11
%if 0%?have_strip_nondeterminism > 0
BuildRequires: strip-nondeterminism
%endif
%endif
%if %{with mpi}
BuildRequires: %{mpi_flavor}-devel
BuildRequires: hdf5-%{mpi_flavor}-devel
BuildRequires: libboost_mpi-devel
%if %{with netcdf}
BuildRequires: netcdf-%{mpi_flavor}-devel
%endif
BuildRequires: python3-mpi4py-devel
%endif
%if %{with fast_float}
@@ -198,11 +224,10 @@ BuildRequires: cmake(FastFloat)
%if %{with pugixml}
BuildRequires: pkgconfig(pugixml) >= 1.11
%endif
%if %{with pegtl}
%if %{with system_pegtl}
BuildRequires: (pegtl-devel >= 2.0.0 with pegtl-devel < 3.0)
%endif
%if %{with testing}
BuildRequires: cli11-devel
BuildRequires: vtkdata = %{version}
%endif
@@ -242,8 +267,7 @@ Requires: gcc-c++
Requires: hdf5-devel
%{?with_mpi:Requires: hdf5-%{mpi_flavor}-devel}
Requires: libjpeg-devel
Requires: libmysqlclient-devel
Requires: libnetcdf_c++-devel
%{?with_mysql:Requires: libmysqlclient-devel}
Requires: libtiff-devel
# not strictly necessary, but required by VTKs cmake files
Requires: python3-%{name} = %{version}
@@ -271,7 +295,10 @@ Requires: pkgconfig(liblz4) >= 1.7.3
Requires: pkgconfig(liblzma)
Requires: pkgconfig(libpng)
Requires: pkgconfig(libswscale)
Requires: pkgconfig(proj) >= 5.0.0
%if %{with netcdf}
Requires: pkgconfig(netcdf)
%endif
Requires: pkgconfig(theora)
Requires: pkgconfig(zlib)
%if %{with pegtl}
@@ -280,6 +307,9 @@ Requires: (pegtl-devel >= 2.0.0 with pegtl-devel < 3.0)
%if %{with pugixml}
Requires: pkgconfig(pugixml) >= 1.11
%endif
%if %{with cli11}
Requires: pkgconfig(CLI11)
%endif
Conflicts: vtk-compat_gl-devel
%description devel
@@ -297,7 +327,7 @@ Summary: Develoment files for VTK Java bindings
Group: Development/Libraries/C and C++
Requires: %{name}-devel = %{version}
Requires: %{name}-java = %{version}
Requires: java-devel >= 1.8
Requires: java-devel >= 11
Provides: %{name}-devel:%{my_libdir}/libvtkJava.so
%description java-devel
@@ -397,24 +427,15 @@ languages.
%prep
%setup -n VTK-%{version}
%patch -P 1 -p1
%patch -P 2 -p1
%if %{with gles}
%patch -P 7 -p1
%patch -P 8 -p1
%patch -P 9 -p1
%patch -P 10 -p1
%autopatch -m 7 -M 10 -p1
%endif
%patch -P 17 -p1
%patch -P 18 -p1
%autopatch -m 17 -p1
# Replace relative path ../../../../VTKData with %%{_datadir}/vtkdata
# otherwise it will break on symlinks.
grep -rl '\.\./\.\./\.\./\.\./VTKData' . | xargs -r perl -pi -e's,\.\./\.\./\.\./\.\./VTKData,%{_datadir}/vtkdata,g'
# Fix erroneous dependency on sqlite3 binary
sed -i -e '/set(vtk_sqlite_build_binary 1)/ s/.*/#\0/' CMakeLists.txt
# Allow testing also without external downloads - https://gitlab.kitware.com/vtk/vtk/-/issues/18692
sed -i -e '/set(vtk_enable_tests "OFF")/ s/.*/#\0/' CMakeLists.txt
@@ -426,10 +447,19 @@ sed -i -e '/VERSION .*/ d' ThirdParty/fast_float/CMakeLists.txt
source %{mpiprefix}/bin/mpivars.sh
export CC=mpicc
export CXX=mpicxx
%if 0%{?suse_version} <= 1500
export OMPI_CC=gcc-14
export OMPI_CXX=g++-14
%endif
%else
%if 0%{?suse_version} <= 1500
export CC=gcc-14
export CXX=g++-14
%else
export CC=gcc
export CXX=g++
%endif
%endif
export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}"
@@ -438,27 +468,19 @@ export CXXFLAGS="%{optflags}"
# https://discourse.vtk.org/t/building-fails-generating-wrap-hierarchy-for-vtk-commoncore-unable-to-open-libvtkwrappingtools-so-1
# Disable ioss module for MPI flavors, fails to build with 9.1.0, see MR 8565.
%cmake \
-DCMAKE_INSTALL_PREFIX:PATH=%{my_prefix} \
-DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \
-DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/%{name}-%{series} \
-DCMAKE_INSTALL_QMLDIR:PATH=%{my_libdir}/qt5/qml \
-DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \
-DCMAKE_INSTALL_PREFIX:PATH=%{my_prefix} \
-DCMAKE_NO_BUILTIN_CHRPATH:BOOL=ON \
-DVTK_BUILD_DOCUMENTATION:BOOL=%{?with_documentation:ON}%{!?with_documentation:OFF} \
-DVTK_BUILD_EXAMPLES:BOOL=%{?with_examples:ON}%{!?with_examples:OFF} \
-DVTK_BUILD_TESTING:BOOL=%{?with_testing:ON}%{!?with_testing:OFF} \
-DVTK_FORBID_DOWNLOADS:BOOL=ON \
-DVTK_PYTHON_OPTIONAL_LINK:BOOL=OFF \
-DVTK_BUILD_TESTING:BOOL=%{?with_testing:ON}%{!?with_testing:OFF} \
-DVTK_DATA_STORE:PATH=/usr/share/vtkdata/.ExternalData \
-DExternalData_NO_SYMLINKS:BOOL=ON \
-DVTK_BUILD_EXAMPLES:BOOL=%{?with_examples:ON}%{!?with_examples:OFF} \
-DVTK_BUILD_DOCUMENTATION:BOOL=%{?with_documentation:ON}%{!?with_documentation:OFF} \
-DCMAKE_NO_BUILTIN_CHRPATH:BOOL=ON \
%if 0%{?suse_version} <= 1500
-DCMAKE_SKIP_RPATH:BOOL=OFF \
-DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON \
%endif
-DVTK_MODULE_ENABLE_VTK_TestingCore=WANT \
-DVTK_MODULE_ENABLE_VTK_TestingRendering=WANT \
-DVTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2=YES \
-DVTK_MODULE_ENABLE_VTK_RenderingLICOpenGL2=%{?with_gles:NO}%{!?with_gles:YES} \
-DVTK_MODULE_ENABLE_VTK_RenderingFreeTypeFontConfig=YES \
-DVTK_CUSTOM_LIBRARY_SUFFIX="" \
-DVTK_GROUP_ENABLE_Imaging=WANT \
%if %{with mpi}
@@ -467,28 +489,62 @@ export CXXFLAGS="%{optflags}"
%else
-DVTK_USE_MPI:BOOL=OFF \
%endif
-DOpenGL_GL_PREFERENCE:STRING='GLVND' \
-DVTK_GROUP_ENABLE_Qt=WANT \
-DVTK_GROUP_ENABLE_Rendering=WANT \
-DVTK_GROUP_ENABLE_StandAlone=WANT \
-DVTK_GROUP_ENABLE_Views=WANT \
-DVTK_PYTHON_VERSION=3 \
-DVTK_WRAP_JAVA:BOOL=%{?with_java:ON}%{!?with_java:OFF} \
-DVTK_JAVA_SOURCE_VERSION:STRING='1.8' \
-DVTK_JAVA_TARGET_VERSION:STRING='1.8' \
-DVTK_WRAP_PYTHON:BOOL=ON \
-DOpenGL_GL_PREFERENCE:STRING='GLVND' \
-DVTK_OPENGL_USE_GLES:BOOL=%{?with_gles:ON}%{!?with_gles:OFF} \
-DVTK_USE_EXTERNAL:BOOL=ON \
-DVTK_JAVA_RELEASE_VERSION:STRING='11' \
-DVTK_MODULE_ENABLE_VTK_cli11=WANT \
-DVTK_MODULE_ENABLE_VTK_FiltersParallelDIY2=WANT \
-DVTK_MODULE_ENABLE_VTK_FiltersParallelStatistics=WANT \
-DVTK_MODULE_ENABLE_VTK_FiltersParallelVerdict=WANT \
-DVTK_MODULE_ENABLE_VTK_IOAvmesh=WANT \
-DVTK_MODULE_ENABLE_VTK_IOH5part=WANT \
-DVTK_MODULE_ENABLE_VTK_IOH5Rage=WANT \
-DVTK_MODULE_ENABLE_VTK_IOMySQL=%{?with_mysql:ON}%{!?with_mysql:NO} \
-DVTK_MODULE_ENABLE_VTK_IOOMF=WANT \
-DVTK_MODULE_ENABLE_VTK_IOParallelExodus=WANT \
-DVTK_MODULE_ENABLE_VTK_IOParallelLSDyna=WANT \
-DVTK_MODULE_ENABLE_VTK_IOPIO=WANT \
-DVTK_MODULE_ENABLE_VTK_ioss:STRING=%{!?with_mpi:WANT}%{?with_mpi:NO} \
-DVTK_MODULE_ENABLE_VTK_IOTRUCHAS=WANT \
-DVTK_MODULE_ENABLE_VTK_IOVPIC=WANT \
-DVTK_MODULE_ENABLE_VTK_IOXdmf2=WANT \
-DVTK_MODULE_ENABLE_VTK_libharu:BOOL=YES \
-DVTK_MODULE_ENABLE_VTK_pegtl=YES \
-DVTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2=YES \
-DVTK_MODULE_ENABLE_VTK_RenderingFreeTypeFontConfig=YES \
-DVTK_MODULE_ENABLE_VTK_RenderingLICOpenGL2=%{?with_gles:NO}%{!?with_gles:YES} \
-DVTK_MODULE_ENABLE_VTK_RenderingMatplotlib=WANT \
-DVTK_MODULE_ENABLE_VTK_RenderingParallel=WANT \
-DVTK_MODULE_ENABLE_VTK_RenderingVolumeAMR=WANT \
-DVTK_MODULE_ENABLE_VTK_TestingCore=WANT \
-DVTK_MODULE_ENABLE_VTK_TestingRendering=WANT \
-DVTK_MODULE_ENABLE_VTK_WebCore=WANT \
-DVTK_MODULE_ENABLE_VTK_WebGLExporter=WANT \
-DVTK_MODULE_ENABLE_VTK_WebPython=WANT \
-DVTK_MODULE_USE_EXTERNAL_VTK_cli11=%{?with_cli11:ON}%{!?with_cli11:OFF} \
-DVTK_MODULE_USE_EXTERNAL_VTK_exprtk:BOOL=OFF \
-DVTK_MODULE_USE_EXTERNAL_VTK_fast_float:BOOL=%{?with_fast_float:ON}%{!?with_fast_float:OFF} \
-DVTK_MODULE_USE_EXTERNAL_VTK_fmt:BOOL=%{?with_fmt:ON}%{!?with_fmt:OFF} \
-DVTK_MODULE_USE_EXTERNAL_VTK_gl2ps=%{?with_gl2ps:ON}%{!?with_gl2ps:OFF} \
-DVTK_MODULE_USE_EXTERNAL_VTK_ioss:BOOL=OFF \
-DVTK_MODULE_USE_EXTERNAL_VTK_jsoncpp=%{?with_jsoncpp:ON}%{!?with_jsoncpp:OFF} \
-DVTK_MODULE_USE_EXTERNAL_VTK_libharu=%{?with_haru:ON}%{!?with_haru:OFF} \
-DVTK_MODULE_USE_EXTERNAL_VTK_libproj=%{?with_proj:ON}%{!?with_proj:OFF} \
-DVTK_MODULE_USE_EXTERNAL_VTK_netcdf:BOOL=%{?with_netcdf:ON}%{!?with_netcdf:OFF} \
-DVTK_MODULE_USE_EXTERNAL_VTK_nlohmannjson=%{?with_nlohmann:ON}%{!?with_nlohmann:OFF} \
-DVTK_MODULE_USE_EXTERNAL_VTK_pegtl=%{?with_system_pegtl:YES}%{!?with_system_pegtl:NO} \
-DVTK_MODULE_USE_EXTERNAL_VTK_pugixml=%{?with_pugixml:ON}%{!?with_pugixml:OFF} \
-DVTK_MODULE_ENABLE_VTK_ioss:BOOL=%{!?with_mpi:WANT}%{?with_mpi:NO} \
-DVTK_MODULE_ENABLE_VTK_pegtl=%{?with_pegtl:YES}%{!?with_pegtl:NO} \
-DVTK_MODULE_ENABLE_VTK_zfp:BOOL=NO \
-DVTK_MODULE_USE_EXTERNAL_VTK_sqlite:BOOL=ON \
-DVTK_MODULE_USE_EXTERNAL_VTK_token:BOOL=OFF \
-DVTK_MODULE_USE_EXTERNAL_VTK_verdict=%{?with_verdict:ON}%{!?with_verdict:OFF} \
-DVTK_OPENGL_USE_GLES:BOOL=%{?with_gles:ON}%{!?with_gles:OFF} \
-DVTK_PYTHON_VERSION=3 \
-DVTK_USE_EXTERNAL:BOOL=ON \
-DVTK_WRAP_JAVA:BOOL=%{?with_java:ON}%{!?with_java:OFF} \
-DVTK_WRAP_PYTHON:BOOL=ON \
%{nil}
%cmake_build
@@ -499,6 +555,10 @@ find . -name \*.c -o -name \*.cxx -o -name \*.h -o -name \*.hxx -o -name \*.gif
%install
%cmake_install
# Unnecessary hash-bang
sed -i "1{\@%{_bindir}/env@d}" %{buildroot}%{my_python3_sitearch}/vtkmodules/generate_pyi.py
sed -i "1{\@%{_bindir}/env@d}" %{buildroot}%{my_python3_sitearch}/vtkmodules/test/rtImageTest.py
%if %{with examples}
# List of executable examples
cat > examples.list << EOF
@@ -564,6 +624,10 @@ python3 setup.py install_egg_info -d %{buildroot}%{python3_sitearch}
popd
%endif
%if %{with java} && 0%?have_strip_nondeterminism > 0
strip-all-nondeterminism %{buildroot}%{my_libdir}/java/
%endif
%fdupes %{buildroot}
%check
@@ -611,11 +675,13 @@ find %{buildroot} . -name vtk.cpython-3*.pyc -print -delete # drop unreproducibl
%{my_bindir}/%{pkgname}ParseJava
%{my_bindir}/%{pkgname}WrapPython
%{my_bindir}/%{pkgname}WrapPythonInit
%{my_bindir}/%{pkgname}WrapSerDes
%{my_libdir}/*.so
%{my_libdir}/vtk-%{series}
%{?with_mpi: %dir %{my_libdir}/cmake/}
%{my_libdir}/cmake/%{pkgname}-%{series}/
%{my_incdir}/%{pkgname}-%{series}/
%{my_datadir}/vtk/
# VTK JNI
%exclude %{my_libdir}/libvtkJava.so
%exclude %{my_libdir}/cmake/%{pkgname}-%{series}/VTKJava-*.cmake
@@ -653,12 +719,6 @@ find %{buildroot} . -name vtk.cpython-3*.pyc -print -delete # drop unreproducibl
%files qt
%license Copyright.txt
%{my_libdir}/libvtk*Qt*.so.*
%if %{with mpi}
%dir %{my_libdir}/qt5
%{my_libdir}/qt5/qml
%else
%{_libqt5_archdatadir}/qml
%endif
%if %{with examples}
%if "%{flavor}" == ""