- Added patch fix-CVE-2024-50602.patch which fixes CVE-2024-50602.
OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=130
This commit is contained in:
commit
27462e0be8
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
ParaView-v5.12.1.tar.xz
Normal file
3
ParaView-v5.12.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:927f880c13deb6dde4172f4727d2b66f5576e15237b35778344f5dd1ddec863e
|
||||
size 129307060
|
3
ParaViewGettingStarted-5.12.0.pdf
Normal file
3
ParaViewGettingStarted-5.12.0.pdf
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a6d3d003c072f078f4a88e5646dc376619257a55de61e27055a51d7ddea6b093
|
||||
size 1326335
|
18
_constraints
Normal file
18
_constraints
Normal file
@ -0,0 +1,18 @@
|
||||
<constraints>
|
||||
<hardware>
|
||||
<disk>
|
||||
<size unit="G">22</size>
|
||||
</disk>
|
||||
</hardware>
|
||||
<overwrite>
|
||||
<conditions>
|
||||
<arch>riscv64</arch>
|
||||
</conditions>
|
||||
<hardware>
|
||||
<disk>
|
||||
<size unit="G">25</size>
|
||||
</disk>
|
||||
</hardware>
|
||||
</overwrite>
|
||||
</constraints>
|
||||
|
145
fix-CVE-2024-50602.patch
Normal file
145
fix-CVE-2024-50602.patch
Normal file
@ -0,0 +1,145 @@
|
||||
diff --git a/VTK/ThirdParty/expat/CMakeLists.txt b/VTK/ThirdParty/expat/CMakeLists.txt
|
||||
index eac9269138..7cb69efe25 100644
|
||||
--- a/VTK/ThirdParty/expat/CMakeLists.txt
|
||||
+++ b/VTK/ThirdParty/expat/CMakeLists.txt
|
||||
@@ -8,9 +8,9 @@ vtk_module_third_party(
|
||||
"Copyright (c) 1998-2000 Thai Open Source Software Center Ltd and Clark Cooper"
|
||||
"Copyright (c) 2001-2019 Expat maintainers"
|
||||
SPDX_DOWNLOAD_LOCATION
|
||||
- "git+https://gitlab.kitware.com/third-party/expat.git@for/vtk-20220921-2.4.8"
|
||||
+ "git+https://gitlab.kitware.com/third-party/expat.git@for/vtk-20241030-2.4.8"
|
||||
VERSION
|
||||
- "2.4.1"
|
||||
+ "2.4.8" # CVE-2024-50602 fix manually added.
|
||||
STANDARD_INCLUDE_DIRS
|
||||
EXTERNAL
|
||||
PACKAGE EXPAT
|
||||
diff --git a/VTK/ThirdParty/expat/Testing/CMakeLists.txt b/VTK/ThirdParty/expat/Testing/CMakeLists.txt
|
||||
new file mode 100644
|
||||
index 0000000000..35f9732a93
|
||||
--- /dev/null
|
||||
+++ b/VTK/ThirdParty/expat/Testing/CMakeLists.txt
|
||||
@@ -0,0 +1 @@
|
||||
+add_subdirectory(Cxx)
|
||||
diff --git a/VTK/ThirdParty/expat/Testing/Cxx/CMakeLists.txt b/VTK/ThirdParty/expat/Testing/Cxx/CMakeLists.txt
|
||||
new file mode 100644
|
||||
index 0000000000..7f0b6aba12
|
||||
--- /dev/null
|
||||
+++ b/VTK/ThirdParty/expat/Testing/Cxx/CMakeLists.txt
|
||||
@@ -0,0 +1,4 @@
|
||||
+vtk_add_test_cxx(vtkexpatCxxTests tests
|
||||
+ NO_DATA NO_VALID NO_OUTPUT
|
||||
+ TestIncludeExpat.cxx)
|
||||
+vtk_test_cxx_executable(vtkexpatCxxTests tests)
|
||||
diff --git a/VTK/ThirdParty/expat/Testing/Cxx/TestIncludeExpat.cxx b/VTK/ThirdParty/expat/Testing/Cxx/TestIncludeExpat.cxx
|
||||
new file mode 100644
|
||||
index 0000000000..33ac2b65d2
|
||||
--- /dev/null
|
||||
+++ b/VTK/ThirdParty/expat/Testing/Cxx/TestIncludeExpat.cxx
|
||||
@@ -0,0 +1,8 @@
|
||||
+#include "vtk_expat.h"
|
||||
+
|
||||
+#include <cstdlib>
|
||||
+
|
||||
+int TestIncludeExpat(int /*argc*/, char* /*argv*/[])
|
||||
+{
|
||||
+ return EXIT_SUCCESS;
|
||||
+}
|
||||
diff --git a/VTK/ThirdParty/expat/update.sh b/VTK/ThirdParty/expat/update.sh
|
||||
index 1b4740f2cc..3781700497 100755
|
||||
--- a/VTK/ThirdParty/expat/update.sh
|
||||
+++ b/VTK/ThirdParty/expat/update.sh
|
||||
@@ -8,7 +8,7 @@ readonly name="expat"
|
||||
readonly ownership="Expat Upstream <kwrobot@kitware.com>"
|
||||
readonly subtree="ThirdParty/$name/vtk$name"
|
||||
readonly repo="https://gitlab.kitware.com/third-party/expat.git"
|
||||
-readonly tag="for/vtk-20231023-2.4.8"
|
||||
+readonly tag="for/vtk-20241030-2.4.8"
|
||||
readonly paths="
|
||||
expat/.gitattributes
|
||||
expat/CMakeLists.txt
|
||||
diff --git a/VTK/ThirdParty/expat/vtk.module b/VTK/ThirdParty/expat/vtk.module
|
||||
index bbc9a339b8..95ec414d25 100644
|
||||
--- a/VTK/ThirdParty/expat/vtk.module
|
||||
+++ b/VTK/ThirdParty/expat/vtk.module
|
||||
@@ -2,4 +2,6 @@ NAME
|
||||
VTK::expat
|
||||
LIBRARY_NAME
|
||||
vtkexpat
|
||||
+TEST_DEPENDS
|
||||
+ VTK::TestingCore
|
||||
THIRD_PARTY
|
||||
diff --git a/VTK/ThirdParty/expat/vtkexpat/CMakeLists.txt b/VTK/ThirdParty/expat/vtkexpat/CMakeLists.txt
|
||||
index 1910141339..a213b32ec7 100644
|
||||
--- a/VTK/ThirdParty/expat/vtkexpat/CMakeLists.txt
|
||||
+++ b/VTK/ThirdParty/expat/vtkexpat/CMakeLists.txt
|
||||
@@ -459,9 +459,10 @@ set(expat_headers
|
||||
lib/vtk_expat_mangle.h)
|
||||
|
||||
vtk_module_add_module(VTK::expat
|
||||
+ HEADER_DIRECTORIES
|
||||
SOURCES ${_EXPAT_C_SOURCES}
|
||||
HEADERS ${expat_headers}
|
||||
- HEADERS_SUBDIR "vtkexpat/lib")
|
||||
+ HEADERS_SUBDIR "vtkexpat")
|
||||
endif ()
|
||||
|
||||
if (FALSE) # XXX(kitware): VTK handles installation
|
||||
diff --git a/VTK/ThirdParty/expat/vtkexpat/lib/expat.h b/VTK/ThirdParty/expat/vtkexpat/lib/expat.h
|
||||
index c076f3d535..1475d1e783 100644
|
||||
--- a/VTK/ThirdParty/expat/vtkexpat/lib/expat.h
|
||||
+++ b/VTK/ThirdParty/expat/vtkexpat/lib/expat.h
|
||||
@@ -129,7 +129,9 @@ enum XML_Error {
|
||||
/* Added in 2.3.0. */
|
||||
XML_ERROR_NO_BUFFER,
|
||||
/* Added in 2.4.0. */
|
||||
- XML_ERROR_AMPLIFICATION_LIMIT_BREACH
|
||||
+ XML_ERROR_AMPLIFICATION_LIMIT_BREACH,
|
||||
+ /* Added in 2.6.4. */
|
||||
+ XML_ERROR_NOT_STARTED,
|
||||
};
|
||||
|
||||
enum XML_Content_Type {
|
||||
diff --git a/VTK/ThirdParty/expat/vtkexpat/lib/xmlparse.c b/VTK/ThirdParty/expat/vtkexpat/lib/xmlparse.c
|
||||
index e986156ecb..a770978e13 100644
|
||||
--- a/VTK/ThirdParty/expat/vtkexpat/lib/xmlparse.c
|
||||
+++ b/VTK/ThirdParty/expat/vtkexpat/lib/xmlparse.c
|
||||
@@ -2162,6 +2162,9 @@ XML_StopParser(XML_Parser parser, XML_Bool resumable) {
|
||||
if (parser == NULL)
|
||||
return XML_STATUS_ERROR;
|
||||
switch (parser->m_parsingStatus.parsing) {
|
||||
+ case XML_INITIALIZED:
|
||||
+ parser->m_errorCode = XML_ERROR_NOT_STARTED;
|
||||
+ return XML_STATUS_ERROR;
|
||||
case XML_SUSPENDED:
|
||||
if (resumable) {
|
||||
parser->m_errorCode = XML_ERROR_SUSPENDED;
|
||||
@@ -2172,7 +2175,7 @@ XML_StopParser(XML_Parser parser, XML_Bool resumable) {
|
||||
case XML_FINISHED:
|
||||
parser->m_errorCode = XML_ERROR_FINISHED;
|
||||
return XML_STATUS_ERROR;
|
||||
- default:
|
||||
+ case XML_PARSING:
|
||||
if (resumable) {
|
||||
#ifdef XML_DTD
|
||||
if (parser->m_isParamEntity) {
|
||||
@@ -2183,6 +2186,9 @@ XML_StopParser(XML_Parser parser, XML_Bool resumable) {
|
||||
parser->m_parsingStatus.parsing = XML_SUSPENDED;
|
||||
} else
|
||||
parser->m_parsingStatus.parsing = XML_FINISHED;
|
||||
+ break;
|
||||
+ default:
|
||||
+ assert(0);
|
||||
}
|
||||
return XML_STATUS_OK;
|
||||
}
|
||||
@@ -2447,6 +2453,9 @@ XML_ErrorString(enum XML_Error code) {
|
||||
case XML_ERROR_AMPLIFICATION_LIMIT_BREACH:
|
||||
return XML_L(
|
||||
"limit on input amplification factor (from DTD and entities) breached");
|
||||
+ /* Added in 2.6.4. */
|
||||
+ case XML_ERROR_NOT_STARTED:
|
||||
+ return XML_L("parser not started");
|
||||
}
|
||||
return NULL;
|
||||
}
|
13
fix-libharu-missing-m.patch
Normal file
13
fix-libharu-missing-m.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: ParaView-v5.11.0/VTK/ThirdParty/libharu/vtklibharu/CMakeLists.txt
|
||||
===================================================================
|
||||
--- ParaView-v5.11.0.orig/VTK/ThirdParty/libharu/vtklibharu/CMakeLists.txt
|
||||
+++ ParaView-v5.11.0/VTK/ThirdParty/libharu/vtklibharu/CMakeLists.txt
|
||||
@@ -68,6 +68,8 @@ find_package(PNG)
|
||||
find_library(M_LIB m)
|
||||
endif ()
|
||||
|
||||
+link_libraries(m dl pthread)
|
||||
+
|
||||
# =======================================================================
|
||||
# configure header files, add compiler flags
|
||||
# =======================================================================
|
40
fix-soversion-soname.patch
Normal file
40
fix-soversion-soname.patch
Normal file
@ -0,0 +1,40 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index cb713976cf..e21c2b911f 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -664,7 +664,7 @@ else ()
|
||||
HIERARCHY_DESTINATION "${CMAKE_INSTALL_LIBDIR}/vtk/hierarchy/${CMAKE_PROJECT_NAME}"
|
||||
LIBRARY_NAME_SUFFIX "${PARAVIEW_CUSTOM_LIBRARY_SUFFIX}"
|
||||
VERSION "${PARAVIEW_VERSION}"
|
||||
- SOVERSION "1"
|
||||
+ SOVERSION "${PARAVIEW_VERSION}"
|
||||
TEST_DATA_TARGET ParaViewData
|
||||
BUILD_WITH_KITS "${PARAVIEW_BUILD_WITH_KITS}"
|
||||
USE_EXTERNAL "${PARAVIEW_BUILD_WITH_EXTERNAL}"
|
||||
@@ -718,7 +718,7 @@ vtk_module_build(
|
||||
HIERARCHY_DESTINATION "${CMAKE_INSTALL_LIBDIR}/vtk/hierarchy/${CMAKE_PROJECT_NAME}"
|
||||
LIBRARY_NAME_SUFFIX "${PARAVIEW_CUSTOM_LIBRARY_SUFFIX}"
|
||||
VERSION "${PARAVIEW_VERSION}"
|
||||
- SOVERSION "1"
|
||||
+ SOVERSION "${PARAVIEW_VERSION}"
|
||||
TEST_DATA_TARGET ParaViewData
|
||||
BUILD_WITH_KITS "${PARAVIEW_BUILD_WITH_KITS}"
|
||||
USE_EXTERNAL "${PARAVIEW_BUILD_WITH_EXTERNAL}"
|
||||
@@ -741,7 +741,7 @@ vtk_module_build(
|
||||
HIERARCHY_DESTINATION "${CMAKE_INSTALL_LIBDIR}/vtk/hierarchy/${CMAKE_PROJECT_NAME}"
|
||||
LIBRARY_NAME_SUFFIX "${PARAVIEW_CUSTOM_LIBRARY_SUFFIX}"
|
||||
VERSION "${PARAVIEW_VERSION}"
|
||||
- SOVERSION "1"
|
||||
+ SOVERSION "${PARAVIEW_VERSION}"
|
||||
TEST_DATA_TARGET ParaViewData
|
||||
BUILD_WITH_KITS "${PARAVIEW_BUILD_WITH_KITS}"
|
||||
USE_EXTERNAL "${PARAVIEW_BUILD_WITH_EXTERNAL}"
|
||||
@@ -763,7 +763,7 @@ vtk_module_build(
|
||||
HIERARCHY_DESTINATION "${CMAKE_INSTALL_LIBDIR}/vtk/hierarchy/${CMAKE_PROJECT_NAME}"
|
||||
LIBRARY_NAME_SUFFIX "${PARAVIEW_CUSTOM_LIBRARY_SUFFIX}"
|
||||
VERSION "${PARAVIEW_VERSION}"
|
||||
- SOVERSION "1"
|
||||
+ SOVERSION "${PARAVIEW_VERSION}"
|
||||
TEST_DATA_TARGET ParaViewData
|
||||
TEST_INPUT_DATA_DIRECTORY "${paraview_test_data_directory_input}"
|
||||
TEST_OUTPUT_DATA_DIRECTORY "${paraview_test_data_directory_output}"
|
11
paraview-desktop-entry-fix.patch
Normal file
11
paraview-desktop-entry-fix.patch
Normal file
@ -0,0 +1,11 @@
|
||||
Index: ParaView-v5.9.0/Clients/ParaView/org.paraview.ParaView.desktop.in
|
||||
===================================================================
|
||||
--- ParaView-v5.9.0.orig/Clients/ParaView/org.paraview.ParaView.desktop.in
|
||||
+++ ParaView-v5.9.0/Clients/ParaView/org.paraview.ParaView.desktop.in
|
||||
@@ -7,4 +7,5 @@ Exec=paraview %f
|
||||
TryExec=paraview
|
||||
Icon=paraview
|
||||
StartupWMClass=paraview
|
||||
-Categories=Qt;Science;DataVisualization;
|
||||
+Categories=Graphics;2DGraphics;3DGraphics;
|
||||
+StartupNotify=true
|
13
paraview-rpmlintrc
Normal file
13
paraview-rpmlintrc
Normal file
@ -0,0 +1,13 @@
|
||||
# A non-executable file in bindir is used by paraview to locate plugins (hard-coded)
|
||||
# See https://gitlab.kitware.com/paraview/paraview/issues/19706
|
||||
addFilter("non-executable-in-bin .*/usr/bin/paraview\.conf")
|
||||
addFilter("script-without-shebang .*/usr/bin/paraview\.conf")
|
||||
|
||||
# This is a (static) plugin
|
||||
addFilter("devel-file-in-non-devel-package .*/usr/lib.*/paraview-[0-9.]*/plugins/.*.a")
|
||||
|
||||
# python3-matplotlib is not a lib
|
||||
addFilter("python3-paraview.* explicit-lib-dependency python3-matplotlib")
|
||||
|
||||
# 0 size files are referenced in cmake files
|
||||
addFilter("paraview-devel.* zero-length")
|
911
paraview.changes
Normal file
911
paraview.changes
Normal file
@ -0,0 +1,911 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 20 00:00:00 UTC 2024 - Vicente Adolfo Bolea Sanchez <vicente.bolea@gmail.com>
|
||||
|
||||
- Added patch fix-CVE-2024-50602.patch which fixes CVE-2024-50602.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 28 00:00:00 UTC 2024 - Vicente Adolfo Bolea Sanchez <vicente.bolea@gmail.com>
|
||||
|
||||
- Update to version 5.12.1:
|
||||
* gradient backgrounds in saved images larger than the render
|
||||
window are now correct.
|
||||
* support for ospray is checked only when ospray rendering is
|
||||
requested.
|
||||
* cached geometry is discarded whenever an animation keyframe is
|
||||
edited.
|
||||
* coloring by partial field data arrays now works correctly.
|
||||
* the reflect filter on triangle strips now produces correct
|
||||
cells.
|
||||
* slicing image data with multiple components now correctly
|
||||
copies all components to the output.
|
||||
* fixed a crash when loading an unstructured grid containing a
|
||||
vtk_convex_point_set from a vtu file.
|
||||
* removed spurious warning message when the integrate variables
|
||||
filter was applied to an empty dataset.
|
||||
* the legacy ghost cells generator filter, which was deprecated
|
||||
in paraview 5.10 and removed in paraview 5.11, has been added
|
||||
back.
|
||||
* the gradient filter had a thread race condition fixed
|
||||
* vtk xml file format readers no longer fail when building
|
||||
paraview against expat 2.6.0.
|
||||
* saving a multiblock dataset file (vtm) in parallel now uses
|
||||
only rank 0 to create a subdirectory instead of all ranks
|
||||
trying and one rank winning.
|
||||
* fixed state saving option when a remote server crashes.
|
||||
* error reporting when creating extracts directory fails now
|
||||
includes the full path of the directory whose creation failed.
|
||||
* More info at
|
||||
<https://www.kitware.com/paraview-5-12-1-release-notes/>.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 07 00:00:00 UTC 2024 - Vicente Adolfo Bolea Sanchez <vicente.bolea@gmail.com>
|
||||
|
||||
- Update to version 5.12.0:
|
||||
* Save and load files on either the client or server
|
||||
* Internationalization support with translations
|
||||
* Importing and exporting of animation settings
|
||||
* Copy and paste available for filters in the Pipeline Browser
|
||||
* Widget colors linked to color palette
|
||||
* Fire Dynamics Simulator file reader
|
||||
* New “Toggle file sequence grouping” button in Open File dialog
|
||||
* Reorganized Color Map Editor
|
||||
* More info at <https://www.kitware.com/paraview-5-12-0-release-notes/>.
|
||||
- Use internal jsoncpp with leap <= 15.5.
|
||||
- Use internal token lib.
|
||||
- Use internal FastFloat lib.
|
||||
- Use external verdict with leap >= 15.5.
|
||||
- Use external pugixml with leap >= 15.5.
|
||||
- Always use external CLI11.
|
||||
- Drop compatibility to leap 15.3.
|
||||
- Always skip using RPATH in SUSE builds.
|
||||
- Added patch: fix-soversion-soname.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 19 13:38:42 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Do not delete zero-sized .cmake files, these are referenced from
|
||||
other cmake files; use rpmlintrc rule to suppress warnings.
|
||||
- Do not delete paraview-config script now that we have a
|
||||
-devel-static package; instead include it as part of the latter.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 30 17:16:04 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 5.11.2:
|
||||
* User interface:
|
||||
- pqFileDialog: Remove existence check when selecting multiple
|
||||
files
|
||||
- Avoid crash in Find Data panel if nothing is selected
|
||||
* Remoting:
|
||||
- ArrayListDomain: Fix a potential segfault with empty array
|
||||
name
|
||||
- RangeDomain: fix interval condition
|
||||
- Add sanity checks around several GridAxesRepresentation
|
||||
usage
|
||||
* Filters:
|
||||
- Support jpeg extension for textures.
|
||||
- vtkHyperTreeGridAxisClip: Fix InsideOut
|
||||
* Readers:
|
||||
- openPMD: The openPMD python module was updated to fix bugs.
|
||||
- Incorrect fetching of rectilinear grid object
|
||||
* Catalyst: Fixing Catalyst2 example to have proper Conduit
|
||||
* spacing names Python:
|
||||
- pythonalgorithm: Fix for smproperty.proxy
|
||||
- Fix --displays gets passed to pvbatch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 26 00:00:00 UTC 2023 - vicente.bolea@gmail.com
|
||||
|
||||
- Fixes issue that protobuf demands the use of -std=c++17.
|
||||
This was done by building ParaView with -std=c++17.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 8 19:24:18 UTC 2023 - bjorn.lie@gmail.com
|
||||
|
||||
- Update to version 5.11.1:
|
||||
* Many changes, see
|
||||
<https://www.kitware.com/paraview-5-11-1-release-notes/>.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 6 18:50:30 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Build with system verdict for openSUSE > 1500.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 30 16:40:06 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 5.11.0:
|
||||
* Many changes, see
|
||||
<https://www.kitware.com/paraview-5-11-0-release-notes/>.
|
||||
- Drop paraview-include-sstream.patch: incorporated upstream.
|
||||
- New BuildRequires: sqlite3, pkgconfig(liblzma),
|
||||
pkgconfig(nlohmann_json), pkgconfig(proj), pkgconfig(sqlite3).
|
||||
- Build without system nlohmann_json for Leap 15.3 and older.
|
||||
- Update rpmlintrc file to suppress false positives.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 14 12:07:13 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Pass CMAKE_SKIP_INSTALL_RPATH=ON for openSUSE > 1500 as well
|
||||
to enure no left-over rpaths in binaries; this fixes build
|
||||
failures in Factory.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 10 13:40:48 UTC 2022 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
|
||||
- Revert gl2ps change. TW and 15.4 have a recent gl2ps, and the
|
||||
15.3 package will not be upgraded (but is available in science).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 04 12:00:00 UTC 2022 - Vicente Adolfo Bolea Sanchez <vicente.bolea@kitware.com>
|
||||
|
||||
- Fixes cli11 dependency for 15.3.
|
||||
- Drops system gl2ps on Leap 15.x since a higher version of gl2ps
|
||||
is needed than the system provided version on Leap 15.x.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 17 13:40:21 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 5.10.1:
|
||||
* User interface:
|
||||
- State files appear as datasets.
|
||||
- File dialog issues in client/server mode.
|
||||
- Stride in Animation View is too restricted.
|
||||
- Context menu in file dialog doesn't work on macOS with Qt
|
||||
5.15.1.
|
||||
- Python tracing fails when a custom source exists.
|
||||
- Python Shell broken by any custom filter.
|
||||
- Stereo broken in CAVE environments.
|
||||
- Parallel Coordinates segfault.
|
||||
- Can't set frame rate when saving MP4 animation.
|
||||
- command_button widget is not visible anymore.
|
||||
- Client information does not show VTK version.
|
||||
- Only fetch favorites from server on creation.
|
||||
* Filters:
|
||||
- Ghost cell generator crash.
|
||||
- Redistribute dataset on Image Data then generate Ghost cells
|
||||
seems to give the wrong result.
|
||||
- TemporalParticlesToPathlines fails with AMReX particle data:
|
||||
"The input dataset did not have a valid DATA_TIME_STEPS
|
||||
information key".
|
||||
* Readers:
|
||||
- Sideset error with IOSS reader.
|
||||
- IOSS reader is slow with small, parallel dataset.
|
||||
- IOSS reader and set variables don't work.
|
||||
- Restart file fails with IOSS reader.
|
||||
- PIO reader seg faults on warnings for client-server.
|
||||
- PIO reader fails on extra file in directory.
|
||||
- PIO reader access to restart block and even/odd checkpoints.
|
||||
- openPMD: Fix Particle Time Series.
|
||||
* Catalyst:
|
||||
- Multiple grids with multiple pipelines produces failure in
|
||||
coprocessing.py.
|
||||
- SaveExtract volumetric cinema database crash.
|
||||
* Build:
|
||||
- Guard the list of required vtk components for paraview
|
||||
package.
|
||||
- pqPythonUtils.h not installed.
|
||||
- Update guide books:
|
||||
* ParaViewGettingStarted-5.10.1.pdf.
|
||||
* ParaViewTutorial-5.10.1.pdf.
|
||||
- Adapt defined macros for versioning to be more recyclable.
|
||||
- Drop some zero-length cmake files from %{_libdir}/cmake/ which
|
||||
are useless anyway.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 10 21:28:19 UTC 2022 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
|
||||
- Drop unused exodusII-devel build dependency (used vendored
|
||||
version and defaults to IOSS based exodus reader since PV 5.10).
|
||||
- Use system gl2ps also on Leap 15.x
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 24 21:01:10 UTC 2021 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 5.10.0:
|
||||
* Long list of changes, see
|
||||
https://gitlab.kitware.com/paraview/paraview/-/blob/master/Documentation/release/ParaView-5.10.0.md
|
||||
- Drop patches incorporated upstream:
|
||||
* paraview-gcc11-limits.patch.
|
||||
* paraview-vtkioss-link-pthread.patch.
|
||||
- Update guides and tutorials.
|
||||
- Update _constraits to require 22 GiB for build to prevent
|
||||
out-of-disk-space build failures.
|
||||
- Add arguments to cmake command to turn off system installed
|
||||
libraries individually where these are not available;
|
||||
specifically turn off system vtkcatalyst, exprtk, fmt, and ioss.
|
||||
- Add paraview-include-sstream.patch -- Add patch from upstream to
|
||||
include missing headers and adapt to apply with p1
|
||||
(https://gitlab.kitware.com/vtk/vtk/-/merge_requests/8597).
|
||||
- Add rpmlintrc snippet to suppress warnings about shared lib
|
||||
versioning: we use a versioning consistent with package
|
||||
major.minor version which is needed due to upstream's otherwise
|
||||
inconsistent so versions, but rpmlint does not like this.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 16 13:50:10 UTC 2021 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
- Update constraints for riscv64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 3 00:12:56 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Drop useless ldconfig dependencies for the paraview.rpm
|
||||
main package, there are no standard location shared libs in it.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 2 19:40:42 UTC 2021 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Add paraview-gcc11-limits.patch: Include limits header wherever
|
||||
needed to fix compilation with GCC 11
|
||||
[https://gitlab.kitware.com/vtk/vtk/-/issues/18194].
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 23 00:00:41 UTC 2021 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to vetsion 5.9.1:
|
||||
* See
|
||||
https://gitlab.kitware.com/paraview/paraview/-/blob/master/Documentation/release/ParaView-5.9.1.md.
|
||||
- Drop paraview-Adaptors-include-txx-file.patch: incorporated
|
||||
upstream.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 19 16:05:24 UTC 2021 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 5.9.0:
|
||||
* See
|
||||
https://gitlab.kitware.com/paraview/paraview/-/blob/master/Documentation/release/ParaView-5.9.0.md.
|
||||
- Add paraview-vtkioss-link-pthread.patch: Link against pthread
|
||||
when building vtkioss
|
||||
[https://gitlab.kitware.com/paraview/paraview/-/issues/20495].
|
||||
- Add paraview-Adaptors-include-txx-file.patch: Fix Cam adaptor
|
||||
template instantiation
|
||||
[https://gitlab.kitware.com/paraview/paraview/-/merge_requests/4729].
|
||||
- PDF guide book ParaviewGuide-%{version}.pdf replaced by
|
||||
ParaviewTutorial-%{version}.pdf.
|
||||
- Drop upstream-incorporated patches:
|
||||
* paraview-vtkFreeTypeTools-internal-macro.patch.
|
||||
* fix-3d48a287-support-new-api-cgio_read_data_type.patch.
|
||||
* bundled_exodusii_add_missing_libpthread.patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 6 14:13:53 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Add paraview-vtkFreeTypeTools-internal-macro.patch --
|
||||
vtkFreeTypeTools: avoid using an internal macro; patch taken
|
||||
from upstream vtk git and rebased to apply with -p1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 5 23:11:58 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 5.8.1:
|
||||
* Long list of bug fixes, see
|
||||
https://blog.kitware.com/paraview-5-8-1-release-notes/.
|
||||
- Update manuals (ParaViewGettingStarted-5.8.1.pdf and
|
||||
ParaViewGuide-5.8.1.pdf) to latest version.
|
||||
- Disable on aarch64 since GLES isn't supported for bundled vtk
|
||||
but is needed for paraview.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 17 15:58:34 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Set CMAKE_SKIP_INSTALL_RPATH:BOOL=ON during %cmake for openSUSE
|
||||
Leap 15.2 and older to fix build failures.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 17 19:57:59 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Don't delete libFmmMesh.a static lib, it is referenced by
|
||||
installed cmake files and needed for plugin development.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 7 21:53:50 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Drop patches no longer needed:
|
||||
* 0001-Add-libogg-to-IOMovie-target-link-libraries.patch
|
||||
* fix-loguru-missing-links.patch
|
||||
* paraview-do-not-install-missing-vtk-doxygen-dir.patch
|
||||
* paraview-link-against-python.patch: pass
|
||||
DVTK_PYTHON_OPTIONAL_LINK=OFF to cmake instead (see
|
||||
https://gitlab.kitware.com/vtk/vtk/-/issues/17881).
|
||||
- Update bundled_exodusii_add_missing_libpthread.patch to version
|
||||
from upstream
|
||||
(https://gitlab.kitware.com/vtk/vtk/-/merge_requests/6865).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 5 17:56:54 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Disable the Paraview Protobuf module for openSUSE:Leap <= 15.1,
|
||||
as the FindProtobuf module bundled with cmake < 3.13 is
|
||||
incompatible with the requirements here.
|
||||
- Package static libraries as part of devel-static package; this
|
||||
is needed, for example, to build plugins against paraview. See
|
||||
https://gitlab.kitware.com/paraview/paraview/-/issues/19706#note_746038.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 8 18:26:31 UTC 2020 - Christoph G <foss@grueninger.de>
|
||||
|
||||
- add patch fix-3d48a287-support-new-api-cgio_read_data_type.patch
|
||||
from upstream to fix build problem for Factory
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 28 14:05:40 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update minimum disk space required in _constraints: up to 16 GB
|
||||
now required.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 18:49:49 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 5.8.0:
|
||||
* See https://blog.kitware.com/paraview-5-8-0-release-notes/.
|
||||
- Rebase paraview-desktop-entry-fix.patch for updated location of
|
||||
desktop file in source.
|
||||
- Drop fix-QtGUI-missing-GLX_mesa-linking.patch: no longer
|
||||
required as linking GLX_mesa to build QtGUI is now correctly
|
||||
handled by build.
|
||||
- Drop 0001-Allow-compilation-on-GLES-platforms.patch: patch no
|
||||
longer applies (since vesin 5.7.0) and commenting out patch
|
||||
leads to factory_auto declining the submission.
|
||||
- Use ninja instead of make as recommended by upstream and to
|
||||
speed up build; define __builder to ninja so that cmake build
|
||||
macros use this instead of the default make.
|
||||
- Pass PARAVIEW_BUILD_WITH_EXTERNAL to cmake to use system third
|
||||
party libraries by default; pass VTK_MODULE_USE_EXTERNAL_<name>
|
||||
to use specific bundled libraries conditionally (gl2ps, haru,
|
||||
pugixml).
|
||||
- Use %cmake_build instead of %make_jobs during building.
|
||||
- Replace deprecated options passed to cmake by updated ones:
|
||||
* PARAVIEW_BUILD_QT_GUI -> DPARAVIEW_USE_QT
|
||||
* PARAVIEW_ENABLE_PYTHON -> PARAVIEW_USE_PYTHON.
|
||||
- Update paraview-rpmlintrc to suppress warning about a non-exec
|
||||
file that is installed to %{_bindir} and is really necessary
|
||||
(see https://gitlab.kitware.com/paraview/paraview/issues/19706);
|
||||
the previous entry no longer applies, so drop it.
|
||||
- Add absolutely necessary dependencies for paraview-devel as
|
||||
Requires.
|
||||
- Install python modules to %{python3_sitearch}/paraview rather
|
||||
than the default [%{python3_sitearch}] by setting
|
||||
PARAVIEW_PYTHON_SITE_PACKAGES_SUFFIX when configuring cmake;
|
||||
this avoids file conflicts between python3-paraview and
|
||||
python3-vtk.
|
||||
- Don't install paraview-config: it doesn't work without the
|
||||
static libs being installed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 31 22:30:41 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 5.7.0:
|
||||
See https://blog.kitware.com/paraview-5-7-0-release-notes/
|
||||
- Split out new subpackages: libparaview5_7 for all the shared
|
||||
libs, paraview-plugins for bundled plugins, and python3-paraview
|
||||
for python3 bindings.
|
||||
- Move shared libraries to %{_libdir} and install them as part of
|
||||
libparaview5_7.
|
||||
- Update commands passed to cmake in keeping with upstream's
|
||||
overhaul.
|
||||
- Drop paraview-find-qhelpgenerator-qt5.patch: no longer needed.
|
||||
- Drop paraview-fix-file-contains-date-time.patch: GCC supports
|
||||
SOURCE_DATE_EPOCH and, as such, this fix is no longer needed.
|
||||
- Switch to python3: Paraview is production ready with python3
|
||||
starting with version 5.7.0, and python2 support is slated to be
|
||||
dropped from the next major upgrade.
|
||||
- Rebase patches for updated version:
|
||||
* fix-libharu-missing-m.patch.
|
||||
* bundled_exodusii_add_missing_libpthread.patch.
|
||||
- New patches to fix linking problems introduced with version
|
||||
5.7.0:
|
||||
* fix-loguru-missing-links.patch: Add linking to libraries libm,
|
||||
libdl, and libpthread when building loguru.
|
||||
* fix-QtGUI-missing-GLX_mesa-linking.patch: Link to library
|
||||
libGLX_mesa when building Qt GUI support.
|
||||
* paraview-link-against-python.patch to fix linking against
|
||||
the python library.
|
||||
- Patch 0001-Allow-compilation-on-GLES-platforms.patch needs
|
||||
rebase; commented out for now.
|
||||
- Switch an env based hashbang with one directly calling the
|
||||
required binary (python3 in this case).
|
||||
- Switch as many BuildRequires as possible to pkgconfig based
|
||||
ones.
|
||||
- Update rpmlintrc file to remove no longer needed filters and
|
||||
update the leftover filter (hidden file or dir) for directory
|
||||
change.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 31 22:05:09 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Drop fix-libhdf5-missing-m.patch: No longer needed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 30 14:47:12 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
|
||||
- Drop unused python-zope BuildRequires
|
||||
- Replace Qt5WebKit BuildRequires with Qt5WebEngine
|
||||
- Unbundle several dependencies, use system libraries:
|
||||
* double-conversion
|
||||
* CGNS
|
||||
* Eigen3
|
||||
* GLEW
|
||||
* HDF5
|
||||
* JsonCPP
|
||||
* liblz4
|
||||
* netcdf
|
||||
* protobuf
|
||||
* PugiXML
|
||||
* Ogg/Theora
|
||||
- Add several patches from VTK package:
|
||||
* bundled_exodusii_add_missing_libpthread.patch
|
||||
* 0001-Add-libogg-to-IOMovie-target-link-libraries.patch
|
||||
* 0001-Allow-compilation-on-GLES-platforms.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 20 06:14:35 UTC 2019 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 5.6.2:
|
||||
* Fixes a trackpad interaction bug on macOS.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 20 05:46:33 UTC 2019 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Pass -ffat-lto-objects for static libs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 16 14:26:00 CEST 2019 - Mark.Olesen@esi-group.com
|
||||
|
||||
- Update to version 5.6.1
|
||||
https://blog.kitware.com/paraview-5-6-1-release-notes/
|
||||
- using tar.xz instead of tar.gz file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 10:39:13 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Trim redundancies from description.
|
||||
- Add ldconfig dependency. Avoid xargs use where possible.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 29 12:00:02 CET 2018 - Mark.Olesen@esi-group.com
|
||||
|
||||
- Update to version 5.6.0
|
||||
https://blog.kitware.com/paraview-5-6-0-release-notes/
|
||||
- add devel package
|
||||
- remove Tk build requirement and adjust description since ParaView
|
||||
hasn't used Tcl/Tk for quite a few years.
|
||||
- ParaViewTutorial file not updated and not available on upstream
|
||||
- drop patches already applied upstream
|
||||
* paraview-pythonqt-build-fix.patch
|
||||
* fix-hdf5-gcc8.patch
|
||||
* fix-qt-5.11-931c779.patch
|
||||
* fix-no-plugin-doc-dir.patch
|
||||
- modify partially applied patches
|
||||
* paraview-find-qhelpgenerator-qt5.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 14 12:36:23 UTC 2018 - foss@grueninger.de
|
||||
|
||||
- Update to version 5.5.2
|
||||
see full changelog at
|
||||
https://blog.kitware.com/paraview-5-5-0-release-notes/
|
||||
- Disable build of examples
|
||||
- Don't use VTKm as it cause CMake configure problems
|
||||
- drop patch paraview-default-qtstyle.patch as plastic style is
|
||||
no longer set by upstream
|
||||
- drop patch Fix-ParaViewDetermineVersion.patch as a similar
|
||||
change is included upstream
|
||||
- update patch paraview-fix-file-contains-date-time.patch
|
||||
- add patches fix-libhdf5-missing-m.patch and
|
||||
fix-libharu-missing-m.patch to add missing libraries to
|
||||
third-party dependencies included in ParaView
|
||||
- add patch fix-qt-5.11-931c779.patch to fix issue with Qt 5.11
|
||||
- add patch fix-no-plugin-doc-dir.patch to remove reference to
|
||||
non-existant directory below a plug-in
|
||||
- add patch fix-hdf5-gcc8.patch to fix issue with GCC 8 taken
|
||||
from upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 31 11:12:06 UTC 2018 - jengelh@inai.de
|
||||
|
||||
- Trim goals from description, only the now counts.
|
||||
Trim marketing speech from description.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 22 21:52:50 UTC 2017 - badshah400@gmail.com
|
||||
|
||||
- Update to version 5.4.1:
|
||||
* The black render window observed on some systems when FXAA was
|
||||
enabled or an object's opacity was less than 1 has been fixed.
|
||||
* Field output for cells with non-straight edges has been
|
||||
corrected.
|
||||
* Derivatives for quadratic triangles are now computed
|
||||
correctly.
|
||||
* A bug that occurred when generating a Catalyst script with no
|
||||
images output has been fixed.
|
||||
* A problem with writing animations as AVIs was fixed.
|
||||
* Logic in the CGNS reader was updated to correctly read all
|
||||
solution nodes for each centering type when
|
||||
FlowSolutionPointers are missing.
|
||||
* Fixed crash in CGNS reader when moving forward in time.
|
||||
* Fixed problem with long-running animations not advancing past
|
||||
a certain number of time steps.
|
||||
* Resolved issue where changing one file path in the state file
|
||||
loader "Choose File Names" dialog also changed the file paths
|
||||
of other files with the same type.
|
||||
* Addressed problem with enumerated property dependencies in
|
||||
ParaViewWeb.
|
||||
* Added ability to change the font size in the ParaView user
|
||||
interface.
|
||||
* Fixed BoxLib3D file reader.
|
||||
* State files now properly support files with relative paths.
|
||||
* Removed inappropriate scalar bar scaling when saving large
|
||||
screen shots.
|
||||
* A bug in the color mapping that in some cases incorrectly
|
||||
mapped some data values to the above-range color was fixed.
|
||||
* OSPRay can now be compiled in Cray programming environments
|
||||
and for the first time has support for Intel Skylake
|
||||
processors.
|
||||
* Added lower limit to how small the GUI font size can be.
|
||||
* Addressed issue affecting layouts when loading a state file
|
||||
from the Python console.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 2 17:09:33 UTC 2017 - badshah400@gmail.com
|
||||
|
||||
- Update to version 5.4.0:
|
||||
* See https://blog.kitware.com/paraview-5-4-0-release-notes/ for
|
||||
a full list of updates.
|
||||
- Use the %%cmake macro instead of using cmake manually.
|
||||
- Minor rebase of existing patches for version update.
|
||||
- ExcludeArch for ix86 processors until 32 bit builds can be
|
||||
sorted out; issue reported upstream.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 20 15:42:39 UTC 2017 - foss@grueninger.de
|
||||
|
||||
- Update to version 5.3.0
|
||||
* VTK-m Plugin for many-core systems
|
||||
* Reader and Writer Improvements and Additions
|
||||
* Fast approximate anti-aliasing (FXAA) is now on by default
|
||||
* new StreamLinesRepresentation plugin
|
||||
* Added LagrangianParticleTracker plugin
|
||||
* Python Enhancements
|
||||
* See a summary of changes at
|
||||
https://blog.kitware.com/paraview-5-3-0-release-notes/
|
||||
- drop package paraview-plugin-SciberQuestToolKit as SQTK is no longer
|
||||
part of ParaView (see commit c2bc94c2efb66c4bb525383176688ddfd430ca26)
|
||||
- drop paraview-build-sciberquesttoolkit-with-opengl2.patch as SQTK is
|
||||
no longer build
|
||||
- add paraview-do-not-install-missing-vtk-doxygen-dir.patch to remove
|
||||
non-existing doxygen/doc/html folder from VTK.
|
||||
- modified paraview-find-qhelpgenerator-qt5.patch to adapt to partial
|
||||
inclusion of original patch to upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 8 15:30:11 UTC 2016 - badshah400@gmail.com
|
||||
|
||||
- Replicate the %cmake macro manually, stripping out the
|
||||
problematic and unused options. In particular, this restores
|
||||
passing rpm_opt_flags to C/C++ during compilation.
|
||||
- Update paraview-fix-file-contains-date-time.patch to remove
|
||||
references to __DATE__ and __TIME__ also from
|
||||
Plugins/CDIReader/cdilib.c; suppresses an rpmlint warning.
|
||||
- Update %{name}-rpmlintrc file to also suppress warnings about:
|
||||
* no-manual-page-for-binary: upstream doesn't supply manpages
|
||||
and we don't care.
|
||||
* hidden-file-or-dir: this hidden file is really used as a
|
||||
catalogue of available plugins by paraview.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 24 18:38:09 UTC 2016 - badshah400@gmail.com
|
||||
|
||||
- Update to version 5.2.0: See a summary of changes at:
|
||||
https://blog.kitware.com/paraview-5-2-0-release-notes/ .
|
||||
- Use cmake macros (except for %cmake) for %build and %install
|
||||
actions; drop the paraview_cmake_options and send the options
|
||||
directly to cmake. We do not use the %cmake macro because
|
||||
it passes the RPM optflags to cmake, and with paraview 5.2 these
|
||||
flags cause compilation errors; see
|
||||
https://gitlab.kitware.com/paraview/paraview/issues/17049.
|
||||
- Turn off system GL2PS and DIY for bundled VTK.
|
||||
- Switch to using Qt5 for openSUSE > 13.2 and Leap 42.2 and
|
||||
higher (Qt5 >= 5.6.0 is required).
|
||||
- Add BuildRequires on python-Sphinx, python-qt*-devel; new
|
||||
requirements.
|
||||
- Add BuildRequires on pkgconfig(libpng), pkgconfig(freetype2) and
|
||||
pkgconfig(xt); these are all required and being implicitly
|
||||
pulled in by libqt4-devel.
|
||||
- Add paraview-find-qhelpgenerator-qt5.patch: Help find
|
||||
qhelpgenerator-qt5 instead of qhelpgenerator when Qt5 is used.
|
||||
- Add paraview-pythonqt-build-fix.patch to fix build issues with
|
||||
PythonQtPlugin; patch taken from upstream.
|
||||
- Add paraview-build-sciberquesttoolkit-with-opengl2.patch to
|
||||
enable building of SciberQuestToolKit even when OpenGL2 is used
|
||||
as the default VTK rendering (needs testing).
|
||||
- Drop require-only-cmake-3_0.patch, cmake >= 3.3 is now required.
|
||||
- Add documentation linked to from the Help menu in main
|
||||
application as additional sources and install them where it
|
||||
looks for them (ParaViewGettingStarted-5.2.0.pdf,
|
||||
ParaViewGuide-5.2.0.pdf, ParaViewTutorial.pdf).
|
||||
- Send other docs to %{_docdir} by explicitly passing the cmake
|
||||
option VTK_INSTALL_DOC_DIR.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 29 05:13:00 UTC 2016 - foss@grueninger.de
|
||||
|
||||
- update to version 5.1.2
|
||||
* Rendering translucent geometries: fixed client-server configurations
|
||||
when rendering remotely and resolved issues with multiple windows/views
|
||||
were present.
|
||||
* Exodus reader: Fixed bug in Exodus reader which was causing the reader to
|
||||
improperly read files with no timesteps.
|
||||
* Fixed the “?” button to show filter documentation.
|
||||
* Add option to Ghost Cells Generator filter to specify the number of ghost
|
||||
levels to generate.
|
||||
* Cinema Fixed SpecB was not revolving the camera around the data centroid.
|
||||
- adjust require-only-cmake-3_0.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 21 11:45:20 UTC 2016 - foss@grueninger.de
|
||||
|
||||
- update to version 5.1.0
|
||||
+ add OSPRay ray tracing renderer
|
||||
+ interpolating point clouds
|
||||
+ generic arrays
|
||||
+ x-ray view
|
||||
+ resampling to image
|
||||
+ List of changes at
|
||||
http://www.paraview.org/Bug/changelog_page.php?version_id=122
|
||||
- adjust patch paraview-default-qtstyle.patch
|
||||
- add require-only-cmake-3_0.patch to lower required CMake version
|
||||
to 3.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 30 08:40:36 UTC 2016 - foss@grueninger.de
|
||||
|
||||
- update to version 5.0.1
|
||||
+ Trace recorder fails for CTH data
|
||||
+ improvements to cinema
|
||||
+ Move Show Axis functionality into Edit Axes Grid
|
||||
+ hover points on is deathly slow remote server
|
||||
+ CGNS reader not available in non-MPI windows binaries
|
||||
+ update pvospray
|
||||
+ Keyboard shortcut Alt+A is assigned twice
|
||||
+ Rubber band selection is broken
|
||||
+ List of changes at
|
||||
http://www.paraview.org/Bug/changelog_page.php?version_id=126
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 15 20:35:24 UTC 2016 - dvaleev@suse.com
|
||||
|
||||
- Add disk constraint 8GB
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 11 13:12:24 UTC 2016 - foss@grueninger.de
|
||||
|
||||
- Update to version 5.0.0
|
||||
+ New Rendering Engine
|
||||
+ OpenSWR and Mesa support
|
||||
+ Include OSPray
|
||||
+ Off-screen rendering with EGL
|
||||
+ Community Atmosphere Model (Cam5) Catalyst Adaptor
|
||||
+ Accelerated Algorithms plug-in
|
||||
+ List of changes at
|
||||
http://www.paraview.org/Bug/changelog_page.php?version_id=121
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 14 21:44:39 UTC 2015 - badshah400@gmail.com
|
||||
|
||||
- Update to version 4.4.0:
|
||||
+ List of changes at
|
||||
http://www.paraview.org/Bug/changelog_page.php?version_id=114.
|
||||
- Drop paraview-freetype-2.5.4.patch: incorporated upstream.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 14 06:32:22 UTC 2015 - foss@grueninger.de
|
||||
|
||||
- Update to version 4.3.1:
|
||||
+ See list of changes at
|
||||
http://www.paraview.org/Bug/changelog_page.php
|
||||
- Packaging changes:
|
||||
+ Install new file /usr/share/cmake/hdf5/libhdf5.settings
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 5 12:50:29 UTC 2015 - dimstar@opensuse.org
|
||||
|
||||
- Add paraview-freetype-2.5.4.patch: Fix build with FreeType 2.5.4
|
||||
API changes.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 1 12:40:59 UTC 2014 - foss@grueninger.de
|
||||
|
||||
- Update to version 4.2.0:
|
||||
+ See list of changes at
|
||||
http://vtk.org/Bug/changelog_page.php?version_id=108
|
||||
- Packaging changes:
|
||||
+ Drop paraview-Mesa10.3-build-failures.patch as this patch has
|
||||
been included upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 8 01:57:35 UTC 2014 - badshah400@gmail.com
|
||||
|
||||
- Update to version 4.2.0-RC1:
|
||||
+ See list of changes at
|
||||
http://vtk.org/Bug/changelog_page.php?version_id=108
|
||||
- Packaging changes:
|
||||
+ Add paraview-desktop-entry-fix.patch to fix paraview's desktop
|
||||
menu entry by properly inserting required key-value pairs
|
||||
+ Drop paraview-SciberQuestToolKit-install-path.patch; no longer
|
||||
needed as properly implemented upstream
|
||||
+ Rebase carried-over patches to apply cleanly against present
|
||||
version
|
||||
+ Add paraview-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
|
||||
+ Specfile changes:
|
||||
- Prepare for gcc 4.9.0 by working around a compiler
|
||||
issue
|
||||
- Package .desktop entry and icon files; post(un) scriptlets
|
||||
for updating hicolor icon theme and updating desktop menu
|
||||
are used
|
||||
- Package appdata file
|
||||
- Fix python-bytecode-inconsistent-mtime rpmlint warnings by
|
||||
recompiling all relevant .py files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 4 10:59:39 UTC 2014 - badshah400@gmail.com
|
||||
|
||||
- Build with system zope (python-zope.interface) and twisted
|
||||
(python-twisted); introduces BuildRequires and Requires on the
|
||||
two packages
|
||||
- Remove unnecessary Requires on python-matplotlib.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 2 00:19:56 UTC 2014 - badshah400@gmail.com
|
||||
|
||||
- Update to version 4.1.0:
|
||||
+ See list of changes at
|
||||
http://vtk.org/Bug/changelog_page.php?version_id=102
|
||||
- Packaging changes:
|
||||
+ Use full URL for source tarball
|
||||
+ Drop patches:
|
||||
- paraview-fix-vtkpython-modules-install-dir.patch: corrected
|
||||
upstream
|
||||
- paraview-no-return-in-nonvoid-function.patch: corrected
|
||||
upstream
|
||||
+ Rebase existing patches
|
||||
+ Also fix a new occurrance of __DATE__ in a source file
|
||||
within paraview-fix-file-contains-date-time.patch
|
||||
+ Change build type to RelWithDebInfo from Release
|
||||
(DCMAKE_BUILD_TYPE=RelWithDebInfo).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 8 04:49:03 UTC 2013 - badshah400@gmail.com
|
||||
|
||||
- Update to version 4.0.1:
|
||||
+ Undocumented upstream changes
|
||||
- Changes from version 4.0:
|
||||
+ Too many to list, see
|
||||
http://paraview.org/Bug/changelog_page.php?version_id=52
|
||||
for a complete list
|
||||
- Drop paraview-fix-build-with-system-jpeg.patch; implemented
|
||||
upstream
|
||||
- Use matplotlib during building to enable MathText rendering;
|
||||
introduces build time and runtime requirement on
|
||||
python-matplotlib
|
||||
- Add patches:
|
||||
+ paraview-fix-vtkpython-modules-install-dir.patch: Workaround
|
||||
vtk's python modules getting installed in the wrong location;
|
||||
upstream bug report at
|
||||
http://paraview.org/Bug/view.php?id=14168
|
||||
+ paraview-fix-file-contains-date-time.patch: Remove reference
|
||||
to __DATE__ and __TIME__ from source files
|
||||
- Use fdupes to link duplicated files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 20 05:05:52 UTC 2013 - badshah400@gmail.com
|
||||
|
||||
- Enable python scripting with paraview
|
||||
(cmake variable DPARAVIEW_ENABLE_PYTHON:BOOL=ON); had been
|
||||
turned off because earlier versions of paraview had some
|
||||
building issues with this enabled.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 12 00:43:02 UTC 2013 - badshah400@gmail.com
|
||||
|
||||
- Update to version 3.98.1:
|
||||
+ See full list of changes at
|
||||
http://paraview.org/Bug/changelog_page.php?version_id=99.
|
||||
- Add paraview-fix-build-with-system-jpeg.patch to fix build
|
||||
errors when compiled with recent jpeg headers (libjpeg8-devel >=
|
||||
8.0)
|
||||
- Use smp flags for make to speed up build.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 27 14:11:42 UTC 2013 - badshah400@gmail.com
|
||||
|
||||
- License of SciberQuestToolKit subpackage is: GPL-2.0+ or
|
||||
LGPL-3.0+.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 25 14:47:39 UTC 2013 - badshah400@gmail.com
|
||||
|
||||
- Split the SciberQuestToolKit plugin into its own package,
|
||||
license it as GPL-3.0+ or LGPL-3.0+ (bnc#804987)
|
||||
- The minimum version of libqt4-devel required for compiling is
|
||||
4.7.0; correct BuildRequires accordingly.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 15 13:32:39 UTC 2013 - badshah400@gmail.com
|
||||
|
||||
- Remove paraview-gcc47.patch; patch incorporated upstream.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 8 09:14:33 UTC 2013 - badshah400@gmail.com
|
||||
|
||||
- Update to version 3.98.0:
|
||||
+ Too many changes to list, see
|
||||
http://paraview.org/Bug/changelog_page.php?version_id=97
|
||||
+ Fixes licensing issues (bnc#763208)
|
||||
- Remove paraview-boost-1.49-compat.patch, incorporated upstream
|
||||
- Add paraview-no-return-in-nonvoid-function.patch to fix non-void
|
||||
function returning nothing
|
||||
- Add paraview-SciberQuestToolKit-install-path.patch to fix
|
||||
install path of SciberQuestToolKit plugin
|
||||
- Turn off OSMESA bindings because these are no longer
|
||||
recommended.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 26 13:12:42 UTC 2012 - badshah400@gmail.com
|
||||
|
||||
- Update to version 3.14.1:
|
||||
+ Bug fix release, see a complete list at
|
||||
http://paraview.org/Bug/changelog_page.php?version_id=95 .
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 12 20:24:12 UTC 2012 - scorot@free.fr
|
||||
|
||||
- fix SLE and 11.3 build with BuildRequires qt4-assistant-adp-devel
|
||||
for 11.4 and higher
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 28 13:56:56 UTC 2012 - badshah400@gmail.com
|
||||
|
||||
- Added paraview-gcc47.patch to fix build failures with gcc >= 4.7:
|
||||
this fixes building on openSUSE > 12.1.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 8 16:58:18 UTC 2012 - badshah400@gmail.com
|
||||
|
||||
- Update to version 3.14.0:
|
||||
+ Too many changes to list. See complete list at
|
||||
http://www.paraview.org/Bug/changelog_page.php?version_id=94
|
||||
- Added paraview-boost-1.49-compat.patch to workaround vtk's
|
||||
incompatibility with boost version 1.48 and higher; fixes build
|
||||
on factory.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 6 05:59:45 UTC 2011 - badshah400@gmail.com
|
||||
|
||||
- Update to version 3.12.0:
|
||||
+ Too many changes to list. See complete list at
|
||||
http://www.paraview.org/Bug/changelog_page.php?version_id=85
|
||||
- Removed paraview-demo-patch. Changes committed upstream.
|
||||
- Removed paraview-sqldatabaseschema.patch. Build failure
|
||||
properly taken care of upstream.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 3 12:25:39 UTC 2011 - badshah400@gmail.com
|
||||
|
||||
- Added paraview-default-qtstyle.patch to make paraview inherit
|
||||
user-set qt-GUI style instead of always using Plastique
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 2 16:13:00 UTC 2011 - badshah400@gmail.com
|
||||
|
||||
- Added rpmlintrc file to suppress devel-file warnings for
|
||||
required files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 31 00:30:36 UTC 2011 - badshah400@gmail.com
|
||||
|
||||
- Initial package (version 3.10.0)
|
||||
|
313
paraview.spec
Normal file
313
paraview.spec
Normal file
@ -0,0 +1,313 @@
|
||||
#
|
||||
# spec file for package paraview
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define major_ver 5
|
||||
%define minor_ver 12
|
||||
%define short_ver %{major_ver}.%{minor_ver}
|
||||
%define shlib libparaview%{major_ver}_%{minor_ver}
|
||||
|
||||
%if 0%{?sle_version} <= 150400 && 0%{?is_opensuse}
|
||||
%bcond_with pugixml
|
||||
%bcond_with verdict
|
||||
%else
|
||||
%bcond_without pugixml
|
||||
%bcond_without verdict
|
||||
%endif
|
||||
|
||||
%if 0%{?sle_version} <= 150600 && 0%{?is_opensuse}
|
||||
%bcond_with jsoncpp
|
||||
%else
|
||||
%bcond_without jsoncpp
|
||||
%endif
|
||||
|
||||
%bcond_without nlohmann
|
||||
%bcond_without proj
|
||||
%bcond_without gl2ps
|
||||
|
||||
# Need patched version with HPDF_SHADING
|
||||
%bcond_with haru
|
||||
|
||||
%define __builder ninja
|
||||
Name: paraview
|
||||
Version: %{short_ver}.1
|
||||
Release: 0
|
||||
Summary: Data analysis and visualization application
|
||||
License: BSD-3-Clause
|
||||
Group: Productivity/Scientific/Physics
|
||||
URL: https://www.paraview.org
|
||||
Source0: https://www.paraview.org/files/v%{short_ver}/ParaView-v%{version}.tar.xz
|
||||
Source1: %{name}-rpmlintrc
|
||||
# CAUTION: GettingStarted may or may not be updated with each minor version
|
||||
Source2: https://www.paraview.org/files/v%{short_ver}/ParaViewGettingStarted-%{major_ver}.%{minor_ver}.0.pdf
|
||||
# PATCH-FIX-UPSTREAM paraview-desktop-entry-fix.patch badshah400@gmail.com -- Fix desktop menu entry by inserting proper required categories
|
||||
Patch0: paraview-desktop-entry-fix.patch
|
||||
# PATCH-FIX-UPSTREAM https://gitlab.kitware.com/vtk/vtk/-/merge_requests/11609 --- Fixes CVE-2024-50602
|
||||
Patch1: fix-CVE-2024-50602.patch
|
||||
# PATCH-FIX-OPENSUSE fix-libharu-missing-m.patch -- missing libraries for linking (gh#libharu/libharu#213)
|
||||
Patch2: fix-libharu-missing-m.patch
|
||||
# We need to change the default soname for vtk modules.
|
||||
Patch3: fix-soversion-soname.patch
|
||||
BuildRequires: Mesa-devel
|
||||
BuildRequires: cgns-devel
|
||||
BuildRequires: cmake >= 3.13
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: double-conversion-devel
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gcc-fortran
|
||||
BuildRequires: gnuplot
|
||||
BuildRequires: graphviz
|
||||
BuildRequires: hdf5-devel
|
||||
BuildRequires: libboost_graph-devel
|
||||
BuildRequires: libboost_headers-devel
|
||||
%if %{with gl2ps}
|
||||
BuildRequires: gl2ps-devel >= 1.4.1
|
||||
%endif
|
||||
%if %{with haru}
|
||||
BuildRequires: libharu-devel > 2.3.0
|
||||
%endif
|
||||
BuildRequires: libnetcdf_c++-devel
|
||||
BuildRequires: ninja
|
||||
BuildRequires: python3-Sphinx
|
||||
BuildRequires: python3-Twisted
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-matplotlib
|
||||
BuildRequires: python3-qt5-devel
|
||||
BuildRequires: readline-devel
|
||||
BuildRequires: sqlite3
|
||||
BuildRequires: utfcpp-devel
|
||||
BuildRequires: wget
|
||||
BuildRequires: pkgconfig(Qt5Core)
|
||||
BuildRequires: pkgconfig(Qt5Gui)
|
||||
BuildRequires: pkgconfig(Qt5Help)
|
||||
BuildRequires: pkgconfig(Qt5Network)
|
||||
BuildRequires: pkgconfig(Qt5PrintSupport)
|
||||
BuildRequires: pkgconfig(Qt5WebEngine)
|
||||
BuildRequires: pkgconfig(Qt5Widgets)
|
||||
BuildRequires: pkgconfig(Qt5X11Extras)
|
||||
BuildRequires: pkgconfig(Qt5Xml)
|
||||
BuildRequires: pkgconfig(eigen3) >= 2.91.0
|
||||
BuildRequires: pkgconfig(expat)
|
||||
BuildRequires: pkgconfig(freetype2)
|
||||
BuildRequires: pkgconfig(glew)
|
||||
%if %{with jsoncpp}
|
||||
BuildRequires: pkgconfig(jsoncpp) >= 1.9.4
|
||||
%endif
|
||||
BuildRequires: pkgconfig(libjpeg)
|
||||
BuildRequires: pkgconfig(liblz4) >= 1.7.3
|
||||
BuildRequires: pkgconfig(liblzma)
|
||||
BuildRequires: pkgconfig(libpng)
|
||||
BuildRequires: pkgconfig(libpqxx)
|
||||
BuildRequires: pkgconfig(libtiff-4)
|
||||
BuildRequires: pkgconfig(netcdf)
|
||||
BuildRequires: pkgconfig(ogg)
|
||||
BuildRequires: pkgconfig(openssl)
|
||||
BuildRequires: pkgconfig(protobuf)
|
||||
BuildRequires: pkgconfig(sqlite3)
|
||||
%if %{with nlohmann}
|
||||
BuildRequires: pkgconfig(nlohmann_json)
|
||||
%endif
|
||||
%if %{with proj}
|
||||
BuildRequires: pkgconfig(proj)
|
||||
%endif
|
||||
%if %{with pugixml}
|
||||
BuildRequires: pkgconfig(pugixml) >= 1.11
|
||||
%endif
|
||||
%if %{with verdict}
|
||||
BuildRequires: verdict-devel
|
||||
%endif
|
||||
BuildRequires: pkgconfig(CLI11)
|
||||
BuildRequires: pkgconfig(theora)
|
||||
BuildRequires: pkgconfig(xt)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
Recommends: %{name}-plugins
|
||||
Requires: gnuplot
|
||||
Requires: graphviz
|
||||
# Disable on aarch64 since GLES isn't supported for bundled vtk but is needed for paraview
|
||||
ExcludeArch: aarch64
|
||||
|
||||
%description
|
||||
ParaView is a data analysis and visualization application for
|
||||
visualizing large data sets.
|
||||
|
||||
ParaView runs on distributed and shared memory systems alike. It uses VTK
|
||||
(the Visualization Toolkit) as the data processing and rendering engine.
|
||||
Data exploration can be done interactively in 3D or programmatically using
|
||||
batch processing.
|
||||
|
||||
NOTE: The version in this package has NOT been compiled with MPI support.
|
||||
|
||||
%package -n %{shlib}
|
||||
Summary: Shared libraries for Paraview
|
||||
Group: Productivity/Scientific/Physics
|
||||
|
||||
%description -n %{shlib}
|
||||
This package provides the shared libraries for paraview.
|
||||
|
||||
%package devel
|
||||
Summary: Headers for building ParaView plugins or embedding Catalyst
|
||||
Group: Development/Libraries/Other
|
||||
Requires: %{shlib} = %{version}
|
||||
Requires: cmake >= 3.3
|
||||
Requires: glibc-devel
|
||||
Requires: libboost_thread-devel
|
||||
|
||||
%description devel
|
||||
This package contains headers and libraries required to build plugins
|
||||
for ParaView or to embed ParaView Catalyst in a simulation program.
|
||||
|
||||
%package -n python3-paraview
|
||||
Summary: Python bindings for Paraview
|
||||
Group: Productivity/Scientific/Physics
|
||||
Requires: python3
|
||||
Requires: python3-Twisted
|
||||
Requires: python3-matplotlib
|
||||
Requires: python3-numpy
|
||||
Requires: python3-qt5
|
||||
|
||||
%package devel-static
|
||||
Summary: Static libraries for Paraview, needed to building plugins
|
||||
Group: Productivity/Scientific/Physics
|
||||
Requires: %{name}-devel = %{version}
|
||||
|
||||
%description devel-static
|
||||
This package contains the static libraries for Paraview, needed, for
|
||||
example, to build plugins for paraview.
|
||||
|
||||
%description -n python3-paraview
|
||||
This package provides the python(3) bindings and modules for paraview.
|
||||
|
||||
%package plugins
|
||||
Summary: Plugins for paraview
|
||||
Group: Productivity/Scientific/Physics
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description plugins
|
||||
This package provides the paraview plugins bundled with the upstream release.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n ParaView-v%{version}
|
||||
|
||||
# FIX env BASED HASHBANG
|
||||
sed -Ei "1{s|#!/usr/bin/env python3|#!/usr/bin/python3|}" Clients/CommandLineExecutables/paraview-config.in
|
||||
|
||||
%build
|
||||
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
||||
|
||||
%cmake -DCMAKE_INSTALL_LIBDIR=%{_lib} \
|
||||
-DCMAKE_INSTALL_DOCDIR=%{_docdir}/%{name} \
|
||||
-DPARAVIEW_BUILD_SHARED_LIBS:BOOL=ON \
|
||||
%if 0%{?suse_version} <= 1500
|
||||
-DCMAKE_SKIP_RPATH:BOOL=OFF \
|
||||
%endif
|
||||
-DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON \
|
||||
-DVTK_IGNORE_CMAKE_CXX11_CHECKS:BOOL=ON \
|
||||
-DCMAKE_CXX_EXTENSIONS:BOOL=OFF \
|
||||
-DCMAKE_CXX_STANDARD=17 \
|
||||
-DCMAKE_CXX_STANDARD_REQUIRED:BOOL=ON \
|
||||
-DPARAVIEW_USE_VTKM:BOOL=OFF \
|
||||
-DPARAVIEW_USE_QT:BOOL=ON \
|
||||
-DPARAVIEW_USE_PYTHON:BOOL=ON \
|
||||
-DPARAVIEW_PYTHON_SITE_PACKAGES_SUFFIX=%{_lib}/python%{py3_ver}/site-packages/paraview \
|
||||
-DVTK_PYTHON_OPTIONAL_LINK:BOOL=OFF \
|
||||
-DPARAVIEW_ENABLE_WEB:BOOL=ON \
|
||||
-DVTK_WRAP_PYTHON:BOOL=ON \
|
||||
-DVTK_OPENGL_HAS_OSMESA:BOOL=OFF \
|
||||
-DBUILD_EXAMPLES:BOOL=OFF \
|
||||
-DBUILD_TESTING:BOOL=OFF \
|
||||
-DQtTesting_INSTALL_NO_DEVELOPMENT:BOOL=ON \
|
||||
-DVTK_BUILD_QT_DESIGNER_PLUGIN:BOOL=OFF \
|
||||
-DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON \
|
||||
-DPARAVIEW_BUILD_WITH_EXTERNAL:BOOL=ON \
|
||||
-DVTK_MODULE_USE_EXTERNAL_ParaView_vtkcatalyst:BOOL=OFF \
|
||||
-DVTK_MODULE_USE_EXTERNAL_VTK_exprtk:BOOL=OFF \
|
||||
-DVTK_MODULE_USE_EXTERNAL_VTK_fast_float:BOOL=OFF \
|
||||
-DVTK_MODULE_USE_EXTERNAL_VTK_fmt:BOOL=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_nlohmannjson=%{?with_nlohmann:ON}%{!?with_nlohmann:OFF} \
|
||||
-DVTK_MODULE_USE_EXTERNAL_VTK_pugixml=%{?with_pugixml:ON}%{!?with_pugixml:OFF} \
|
||||
-DVTK_MODULE_USE_EXTERNAL_VTK_token:BOOL=OFF \
|
||||
-DVTK_MODULE_USE_EXTERNAL_VTK_verdict=%{?with_verdict:ON}%{!?with_verdict:OFF} \
|
||||
%{nil}
|
||||
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
find . \( -name \*.txt -o -name \*.xml -o -name '*.[ch]' -o -name '*.[ch][px][px]' \) -exec chmod -x "{}" +
|
||||
|
||||
%cmake_install
|
||||
|
||||
# Unnecessary hash-bang
|
||||
sed -i "1{\@/usr/bin/env@d}" %{buildroot}%{python3_sitearch}/paraview/vtkmodules/generate_pyi.py
|
||||
|
||||
# INSTALL DOCUMENTATION USED BY THE HELP MENU IN MAIN APP
|
||||
install -Dm0644 %{S:2} %{buildroot}%{_datadir}/%{name}-%{short_ver}/doc/GettingStarted.pdf
|
||||
|
||||
%fdupes %{buildroot}/
|
||||
|
||||
%post -n %{shlib} -p /sbin/ldconfig
|
||||
|
||||
%postun -n %{shlib} -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%license %{_datadir}/licenses/ParaView/
|
||||
%{_bindir}/*
|
||||
# Part of paraview-devel-static
|
||||
%exclude %{_bindir}/paraview-config
|
||||
#
|
||||
%exclude %{_bindir}/smTest*
|
||||
%exclude %{_bindir}/vtk*
|
||||
%{_datadir}/%{name}-%{short_ver}/
|
||||
%dir %{_datadir}/metainfo
|
||||
%{_datadir}/metainfo/*.appdata.xml
|
||||
%{_datadir}/applications/*.desktop
|
||||
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
||||
%{_docdir}/paraview/
|
||||
%dir %{_libdir}/vtk/
|
||||
%dir %{_libdir}/vtk/hierarchy
|
||||
%{_libdir}/vtk/hierarchy/ParaView/
|
||||
%if %{without proj}
|
||||
%{_datadir}/vtk-pv%{major_ver}.%{minor_ver}/
|
||||
%endif
|
||||
|
||||
%files -n %{shlib}
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files plugins
|
||||
%{_libdir}/%{name}-%{short_ver}/
|
||||
|
||||
%files devel
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/cmake/paraview-%{short_ver}/
|
||||
%{_bindir}/smTest*
|
||||
%{_bindir}/vtk*
|
||||
%{_includedir}/%{name}*
|
||||
|
||||
%files devel-static
|
||||
%{_bindir}/paraview-config
|
||||
%{_libdir}/*.a
|
||||
|
||||
%files -n python3-paraview
|
||||
%{python3_sitearch}/%{name}/
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user