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
This commit is contained in:
commit
9d4706b861
@ -54,13 +54,22 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|||||||
index 90c90f9d46..03f5836a0f 100644
|
index 90c90f9d46..03f5836a0f 100644
|
||||||
--- a/CMakeLists.txt
|
--- a/CMakeLists.txt
|
||||||
+++ b/CMakeLists.txt
|
+++ b/CMakeLists.txt
|
||||||
@@ -417,7 +417,7 @@ if (VTK_WRAP_PYTHON)
|
@@ -450,15 +450,15 @@ if (VTK_WRAP_PYTHON)
|
||||||
list(REMOVE_DUPLICATES vtk_required_python_modules)
|
list(REMOVE_DUPLICATES vtk_required_python_modules)
|
||||||
endif ()
|
endif ()
|
||||||
string(REPLACE ";" "\n" vtk_required_python_modules "${vtk_required_python_modules}")
|
string(REPLACE ";" "\n" vtk_required_python_modules "${vtk_required_python_modules}")
|
||||||
- file(WRITE "${CMAKE_BINARY_DIR}/requirements.txt"
|
- file(WRITE "${CMAKE_BINARY_DIR}/requirements.txt"
|
||||||
+ file(WRITE "${CMAKE_BINARY_DIR}/${VTK_PYTHON_SITE_PACKAGES_SUFFIX}/requirements.txt"
|
+ file(WRITE "${CMAKE_BINARY_DIR}/${VTK_PYTHON_SITE_PACKAGES_SUFFIX}/requirements.txt"
|
||||||
"${vtk_required_python_modules}\n")
|
"${vtk_required_python_modules}\n")
|
||||||
|
get_property(vtk_web_python_modules GLOBAL
|
||||||
|
PROPERTY vtk_web_python_modules)
|
||||||
|
if (vtk_web_python_modules)
|
||||||
|
list(REMOVE_DUPLICATES vtk_web_python_modules)
|
||||||
|
endif ()
|
||||||
|
string(REPLACE ";" "\n" vtk_web_python_modules "${vtk_web_python_modules}")
|
||||||
|
- file(WRITE "${CMAKE_BINARY_DIR}/requirements_web.txt"
|
||||||
|
+ file(WRITE "${CMAKE_BINARY_DIR}/${VTK_PYTHON_SITE_PACKAGES_SUFFIX}/requirements_web.txt"
|
||||||
|
"${vtk_web_python_modules}\n")
|
||||||
get_property(vtk_soabi GLOBAL
|
get_property(vtk_soabi GLOBAL
|
||||||
PROPERTY _vtk_python_soabi)
|
PROPERTY _vtk_python_soabi)
|
||||||
--
|
--
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1c5b0a2be71fac96ff4831af69e350f7a0ea3168981f790c000709dcf9121075
|
|
||||||
size 53801737
|
|
3
VTK-9.2.5.tar.gz
Normal file
3
VTK-9.2.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:128d601baa980e98ee034207974b33fb38d2c98ab9cf4a5756efdb09ed6c0949
|
||||||
|
size 53807732
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 27 03:50:47 UTC 2023 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
- Update to version 9.2.5, see:
|
||||||
|
https://gitlab.kitware.com/vtk/vtk/-/blob/master/Documentation/release/9.2.md
|
||||||
|
- Rebase
|
||||||
|
0001-Consider-VTK_PYTHON_SITE_PACKAGES_SUFFIX-for-Python-.patch
|
||||||
|
- Use system fmt on Tumbleweed
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 14 18:07:34 UTC 2022 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
Fri Oct 14 18:07:34 UTC 2022 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
22
vtk.spec
22
vtk.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file
|
# spec file
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -31,9 +31,15 @@
|
|||||||
%define pkgname vtk
|
%define pkgname vtk
|
||||||
|
|
||||||
# pugixml in Leap 15.x is too old
|
# pugixml in Leap 15.x is too old
|
||||||
|
# fmt in Leap 15.x is too old
|
||||||
|
# Need haru/hpdf version with HPDF_SHADING, i.e. >= 2.4.0
|
||||||
%if 0%{?suse_version} <= 1500
|
%if 0%{?suse_version} <= 1500
|
||||||
|
%bcond_with fmt
|
||||||
|
%bcond_with haru
|
||||||
%bcond_with pugixml
|
%bcond_with pugixml
|
||||||
%else
|
%else
|
||||||
|
%bcond_without fmt
|
||||||
|
%bcond_without haru
|
||||||
%bcond_without pugixml
|
%bcond_without pugixml
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -41,13 +47,6 @@
|
|||||||
%bcond_without java
|
%bcond_without java
|
||||||
%bcond_without pegtl
|
%bcond_without pegtl
|
||||||
|
|
||||||
# Need version with HPDF_SHADING, i.e. >= 2.4.0
|
|
||||||
%if 0%{?suse_version} <= 1500
|
|
||||||
%bcond_with haru
|
|
||||||
%else
|
|
||||||
%bcond_without haru
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if "%{flavor}" == ""
|
%if "%{flavor}" == ""
|
||||||
%define my_suffix %{nil}
|
%define my_suffix %{nil}
|
||||||
%define my_prefix %_prefix
|
%define my_prefix %_prefix
|
||||||
@ -91,7 +90,7 @@
|
|||||||
%define shlib %{vtklib}
|
%define shlib %{vtklib}
|
||||||
|
|
||||||
Name: vtk%{?my_suffix}
|
Name: vtk%{?my_suffix}
|
||||||
Version: 9.2.2
|
Version: 9.2.5
|
||||||
Release: 0
|
Release: 0
|
||||||
%define series 9.2
|
%define series 9.2
|
||||||
Summary: The Visualization Toolkit - A high level 3D visualization library
|
Summary: The Visualization Toolkit - A high level 3D visualization library
|
||||||
@ -170,6 +169,9 @@ BuildRequires: doxygen
|
|||||||
BuildRequires: gnuplot
|
BuildRequires: gnuplot
|
||||||
BuildRequires: graphviz
|
BuildRequires: graphviz
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with fmt}
|
||||||
|
BuildRequires: fmt-devel > 9.0
|
||||||
|
%endif
|
||||||
%if %{with gl2ps}
|
%if %{with gl2ps}
|
||||||
BuildRequires: gl2ps-devel > 1.4.0
|
BuildRequires: gl2ps-devel > 1.4.0
|
||||||
%endif
|
%endif
|
||||||
@ -463,7 +465,7 @@ export CXXFLAGS="%{optflags}"
|
|||||||
-DVTK_OPENGL_USE_GLES:BOOL=%{?with_gles:ON}%{!?with_gles:OFF} \
|
-DVTK_OPENGL_USE_GLES:BOOL=%{?with_gles:ON}%{!?with_gles:OFF} \
|
||||||
-DVTK_USE_EXTERNAL:BOOL=ON \
|
-DVTK_USE_EXTERNAL:BOOL=ON \
|
||||||
-DVTK_MODULE_USE_EXTERNAL_VTK_exprtk:BOOL=OFF \
|
-DVTK_MODULE_USE_EXTERNAL_VTK_exprtk:BOOL=OFF \
|
||||||
-DVTK_MODULE_USE_EXTERNAL_VTK_fmt:BOOL=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_gl2ps=%{?with_gl2ps:ON}%{!?with_gl2ps:OFF} \
|
||||||
-DVTK_MODULE_USE_EXTERNAL_VTK_ioss:BOOL=OFF \
|
-DVTK_MODULE_USE_EXTERNAL_VTK_ioss:BOOL=OFF \
|
||||||
-DVTK_MODULE_USE_EXTERNAL_VTK_libharu=%{?with_haru:ON}%{!?with_haru:OFF} \
|
-DVTK_MODULE_USE_EXTERNAL_VTK_libharu=%{?with_haru:ON}%{!?with_haru:OFF} \
|
||||||
|
Loading…
Reference in New Issue
Block a user