mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
sci-libs/vtk: add 9.4.2
Closes: https://bugs.gentoo.org/954327 Closes: https://bugs.gentoo.org/954326 Closes: https://bugs.gentoo.org/952680 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/41967 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
DIST VTK-9.3.1.tar.gz 99964158 BLAKE2B b85aae0aef1a22bd0496e0f5d2c7d3a5c20bbd7db8951ab1f9fe29a48c01ce960e90dc85f36cb6858c2b7dfd7f12cd1cf2e7d0fbb115fc9fd709dd7b481c598e SHA512 5dcd6764b2d9fe476bcc7bd195fab8230b7628579d94656ab037dcaecd07c7d40d0fc4afba446942ca15cd881df17f4c84581047e75a6e11d2e2d339d97c7fa3
|
||||
DIST VTK-9.4.2.tar.gz 118621433 BLAKE2B 5e9ffff915e41fad349cb0fc7aba3620e946362a6e91f7291c1a052691cbebfa3d5cb2a686e561f99f44a8aa608caa2d0201ce8b7cabed6337378bf354b69390 SHA512 740919c9b63ad91c5ae45b90b502585a78e9f08b32f06308c475d874decc1e99e813c49c67d37586886ad4860e61630cd51569747003dcf88b3fb744c481f515
|
||||
DIST VTKData-9.3.1.tar.gz 612744946 BLAKE2B 6b3a09f6cc98630e817aaeca8094c6a6625372269abfa9003212cd1cdbc101b198f5eeb3474ca675be7f03046c58a5d11b4092ab19ed230422c4100011abfee4 SHA512 befc6b68e33d2c2fb6928006d4fe6feda7e0bbaf31df4488911ab8e3865e3fc1cf3834301301aa2b6de94c4489eebf5e2e8521e8830315d2a1f0e65cb73a6fd3
|
||||
DIST VTKData-9.4.2.tar.gz 1095344755 BLAKE2B d995ef59df2d12c85bd8b44280cec3b7b7a9a494ae19c68eda432310e07d92f6da8649f89dd75485c40d49c86ce28bf8e120900a9cb4545454154e04909866b1 SHA512 a379d442ad4f378c961aef3e285b87b633412eddc7b28f99893d34c700ce07eae5267dd33e29fd1aa065095e541145cd5baba3d6c54d9da3e00aea0b7573c51c
|
||||
DIST VTKDataFiles-9.3.1.tar.gz 628903288 BLAKE2B cf5919a627ee49809f79d29577d65a48c3332255551c3c229875b25fce911c75c3edeca8d0dfdf9926f93543963ab0e2c992c7469e2c9eed041c39cfd995647d SHA512 360fadd31ab304a27b208745c674eb31759552e98f587569f481c1bda62c7f8ae72598cd40b2c628bb211aace8f62df2ea7ca66f192f8d2e71bca7a4deaa9e89
|
||||
DIST VTKDataFiles-9.4.2.tar.gz 1127688904 BLAKE2B 7cf79325e3d8b5eb935f936321b5465c77a1764afeb9206c2709cca48044f686cd7a3e450686c145a4d9b47b32c9f1e8b8661b499ea30e1c2c47f9200eb6d1d9 SHA512 93bcc16ef7989d2e76effb9b6f778f50f9d0048d1c2a89fa55a6c2c9c8ae228d22cea77f588a729db82c0ab0e87cbd37053c228600fcb9f5734caa3cb714fb7a
|
||||
DIST VTKLargeData-9.3.1.tar.gz 247523669 BLAKE2B 88ec5046f502db14dd6a26ef81e386babaf560619e16d769834e96046eab46cf762d8c80f9b51c434b77e4e145d8f60e32efbdb4f57d8305494177abec0806ef SHA512 edf5610edfae90f8465d68e0e06e82018978ba27f5b2ae9701939aeb72019acaabeda435c15787f1c4828b44e34c79e2837565a81d6a3accd368a92c6eacebd1
|
||||
DIST VTKLargeData-9.4.2.tar.gz 247520755 BLAKE2B d006a0b5a9296332cafcee0917dab1db76e90fa145dbb3093b82dcb668ef38947db97711a00d5013e16147eb3df3cad0f501262897ba342741fa1205a115f31f SHA512 7e896f7b3ee2a454f24bd4b55fe10658d90abd4352ca4d1baed4c67c2606dda7a408ca4d807b05362e311432c0961df0cddfa5236e3aa233ddf28e4a3d48cd58
|
||||
DIST VTKLargeDataFiles-9.3.1.tar.gz 247505524 BLAKE2B 5de069309c59a8a73365fb9faba9904189d723fb72976f372e40db3eb100342a19fecd582bd0aa42fc1012675b442a8e42611632004d6b6d6708468c27a4265e SHA512 bbbf0c193432cb5d8a5618c41e66609c7e6f3e4f24f588124c46b537ecec28b5670420b7f77185da534e4098f8b95d8ec4e392fc017df934a84bfc9dc833f634
|
||||
DIST VTKLargeDataFiles-9.4.2.tar.gz 247504324 BLAKE2B 650b1f8b9bc8a386a3172fa091cb27dbdfdfe8a7317d7afe109ec4273bfbf3bb67c947e83b7ae47a096327cfba9bc5d655375a7ae7ff46b85291ed684f2f3497 SHA512 c43b3b46a2a3a3ad5938d4b3b323cab8cc51591c9a514abf6fdb33a51009572c6fdb0653b3e49ebe594ab6ff204dbe49f4d9d34a3fb0d56db1b2392674301d02
|
||||
DIST vtkDocHtml-9.3.1.tar.gz 165542400 BLAKE2B da8084137b2848f82bf091535950738bd718e65cac8f461fdfb8e9c63ef6db68acfa02655531c8fe22e35f89395d2d066aa5b051abac0e774883552c898de6d9 SHA512 de0d2153c97864b49a8b99e6fbfc8bab78c1522d25bf40ed1f271a8bb4f1f205b008d6bd39f835816972c8439d01f78b68f34d1f88f87755174f0d559841ba29
|
||||
DIST vtkDocHtml-9.4.2.tar.gz 191366459 BLAKE2B 36edb0abc9b72def067fc8ce937c7f3154b071a73932634d753ab112436cf66a4b2b5ccc5f2a474ada4d869c4b61457e514bb2e52c4ccf3fb7d27150aadaed4c SHA512 3beb5c1e49f897d320069517134b34ce9bb8ef21a38f95f76e9e06a7bd260532e62e540b3e684daa93641525fe0097d272edfe8370a2a4eb72176d0fd3575b87
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
From d00b98bd8ef02f854f1068e8ab8fd2fb28244c3b Mon Sep 17 00:00:00 2001
|
||||
From: Ted Rodgers <ted.d.rodgers@gmail.com>
|
||||
Date: Sat, 10 Aug 2024 16:13:09 -0400
|
||||
Subject: [PATCH] include cstdint + correct case/words
|
||||
|
||||
--- a/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/filter/contour/worklet/mir/MIRTables.h
|
||||
+++ b/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/filter/contour/worklet/mir/MIRTables.h
|
||||
@@ -11402,7 +11402,7 @@ public:
|
||||
|
||||
VTKM_EXEC vtkm::UInt8 GetPoint(vtkm::Id pointIndex) const
|
||||
{
|
||||
- return this->CellFacePortal.Get(pointIndex);
|
||||
+ return this->CellEdgesPortal.Get(pointIndex);
|
||||
}
|
||||
|
||||
private:
|
||||
--- a/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/filter/scalar_topology/worklet/contourtree_distributed/HierarchicalContourTree.h
|
||||
+++ b/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/filter/scalar_topology/worklet/contourtree_distributed/HierarchicalContourTree.h
|
||||
@@ -663,7 +663,7 @@ std::string HierarchicalContourTree<FieldType>::PrintDotSuperStructure(const cha
|
||||
auto hyperarcsPortal = this->Hyperarcs.ReadPortal();
|
||||
auto regularNodeGlobalIdsPortal = this->RegularNodeGlobalIds.ReadPortal();
|
||||
auto whichIterationPortal = this->WhichIteration.ReadPortal();
|
||||
- auto whichRoundPortal = this->whichRound.ReadPortal();
|
||||
+ auto whichRoundPortal = this->WhichRound.ReadPortal();
|
||||
auto superarcsPortal = this->Superarcs.ReadPortal();
|
||||
auto superparentsPortal = this->Superparents.ReadPortal();
|
||||
for (vtkm::Id supernode = 0; supernode < this->Supernodes.GetNumberOfValues(); supernode++)
|
||||
@@ -708,7 +708,7 @@ std::string HierarchicalContourTree<FieldType>::PrintDotSuperStructure(const cha
|
||||
if (contourtree_augmented::NoSuchElement(superarcTo))
|
||||
{ // no superarc
|
||||
// if it occurred on the final round, it's the global root and is shown as the NULL node
|
||||
- if (whichRoundPortal.Get(superarcFrom) == this->NRounds)
|
||||
+ if (whichRoundPortal.Get(superarcFrom) == this->NumRounds)
|
||||
{ // root node
|
||||
outstream << "\tSN" << std::setw(1) << superarcFrom << " -> SA" << std::setw(1) << superarc
|
||||
<< " [label=\"S" << std::setw(1) << superarc << "\",style=dotted]\n";
|
||||
--- a/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/thirdparty/diy/vtkmdiy/include/vtkmdiy/thirdparty/itlib/small_vector.hpp
|
||||
+++ b/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/thirdparty/diy/vtkmdiy/include/vtkmdiy/thirdparty/itlib/small_vector.hpp
|
||||
@@ -140,6 +140,7 @@
|
||||
|
||||
#include <type_traits>
|
||||
#include <cstddef>
|
||||
+#include <cstdint>
|
||||
#include <memory>
|
||||
|
||||
#define ITLIB_SMALL_VECTOR_ERROR_HANDLING_NONE 0
|
||||
@@ -0,0 +1,26 @@
|
||||
From b16f4381d0cdc147e4aff0b6f1fdbac3bbf1de7d Mon Sep 17 00:00:00 2001
|
||||
From: Paul Zander <negril.nx@gmail.com>
|
||||
Date: Fri, 25 Apr 2025 00:32:48 +0200
|
||||
Subject: [PATCH] find hdf5 in global scope
|
||||
|
||||
Signed-off-by: Paul Zander <negril.nx@gmail.com>
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 96bb1d4..c5d8e09 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -419,6 +419,11 @@ if (VTK_FORBID_DOWNLOADS AND VTK_BUILD_TESTING)
|
||||
"copy of the testing data.")
|
||||
endif ()
|
||||
|
||||
+if(VTK_MODULE_ENABLE_VTK_hdf5 STREQUAL "WANT" OR
|
||||
+ VTK_MODULE_ENABLE_VTK_hdf5 STREQUAL "YES")
|
||||
+ find_package(HDF5 REQUIRED NO_MODULE COMPONENTS HL)
|
||||
+endif()
|
||||
+
|
||||
include(vtkModule)
|
||||
include(vtkModuleDebugging)
|
||||
set(vtk_source_directories
|
||||
--
|
||||
2.49.0
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
From 4eaf66f11bb80c0f805fd3361cdd9b412aabe796 Mon Sep 17 00:00:00 2001
|
||||
From: Paul Zander <negril.nx+gentoo@gmail.com>
|
||||
Date: Tue, 14 Jan 2025 14:00:01 +0100
|
||||
Subject: [PATCH] fix fmt-11
|
||||
|
||||
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
|
||||
|
||||
diff --git a/ThirdParty/ioss/vtkioss/Ioss_Field.C b/ThirdParty/ioss/vtkioss/Ioss_Field.C
|
||||
index fbb2100..8909eef 100644
|
||||
--- a/ThirdParty/ioss/vtkioss/Ioss_Field.C
|
||||
+++ b/ThirdParty/ioss/vtkioss/Ioss_Field.C
|
||||
@@ -12,6 +12,7 @@
|
||||
#include <cstdint>
|
||||
#include "vtk_fmt.h"
|
||||
#include VTK_FMT(fmt/ostream.h)
|
||||
+#include VTK_FMT(fmt/ranges.h)
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
diff --git a/ThirdParty/ioss/vtkioss/Ioss_VariableType.C b/ThirdParty/ioss/vtkioss/Ioss_VariableType.C
|
||||
index b081dc3..4f1a841 100644
|
||||
--- a/ThirdParty/ioss/vtkioss/Ioss_VariableType.C
|
||||
+++ b/ThirdParty/ioss/vtkioss/Ioss_VariableType.C
|
||||
@@ -19,6 +19,7 @@
|
||||
#include VTK_FMT(fmt/core.h)
|
||||
#include VTK_FMT(fmt/format.h)
|
||||
#include VTK_FMT(fmt/ostream.h)
|
||||
+#include VTK_FMT(fmt/ranges.h)
|
||||
#include <map>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
--
|
||||
2.48.0
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
diff --git a/IO/OCCT/CMakeLists.txt b/IO/OCCT/CMakeLists.txt
|
||||
index 836d545..2cf67a8 100644
|
||||
--- a/IO/OCCT/CMakeLists.txt
|
||||
+++ b/IO/OCCT/CMakeLists.txt
|
||||
@@ -2,6 +2,7 @@ vtk_module_find_package(
|
||||
PACKAGE OpenCASCADE
|
||||
FORWARD_VERSION_REQ EXACT
|
||||
VERSION_VAR "@OpenCASCADE_MAJOR_VERSION@.@OpenCASCADE_MINOR_VERSION@.@OpenCASCADE_MAINTENANCE_VERSION@"
|
||||
+ COMPONENTS FoundationClasses ModelingData ModelingAlgorithms Visualization ApplicationFramework DataExchange Draw
|
||||
)
|
||||
|
||||
set(opencascade_req_targets
|
||||
@@ -0,0 +1,40 @@
|
||||
From 8bdf05fd255e0d07fdc61c2b04a5333c9e8dc729 Mon Sep 17 00:00:00 2001
|
||||
From: Paul Zander <negril.nx+gentoo@gmail.com>
|
||||
Date: Tue, 14 Jan 2025 12:41:12 +0100
|
||||
Subject: [PATCH] fix pegtl-3.x
|
||||
|
||||
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
|
||||
|
||||
diff --git a/Common/DataModel/vtkCellAttribute.cxx b/Common/DataModel/vtkCellAttribute.cxx
|
||||
index 3c022ef..1ed1f66 100644
|
||||
--- a/Common/DataModel/vtkCellAttribute.cxx
|
||||
+++ b/Common/DataModel/vtkCellAttribute.cxx
|
||||
@@ -595,10 +595,10 @@ bool vtkCellAttribute::DecodeSpace(
|
||||
{
|
||||
if (!quiet)
|
||||
{
|
||||
- const auto p = err.positions.front();
|
||||
+ const auto p = err.positions().front();
|
||||
vtkGenericWarningMacro("Attribute Space: " << err.what() << "\n"
|
||||
- << in.line_at(p) << "\n"
|
||||
- << std::string(p.byte_in_line, ' ') << "^\n");
|
||||
+ << std::string(in.line_at(p)) << "\n"
|
||||
+ << std::string(p.column, ' ') << "^\n");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
diff --git a/ThirdParty/pegtl/Testing/Cxx/TestIncludePEGTL.cxx b/ThirdParty/pegtl/Testing/Cxx/TestIncludePEGTL.cxx
|
||||
index 866b313..b324d26 100644
|
||||
--- a/ThirdParty/pegtl/Testing/Cxx/TestIncludePEGTL.cxx
|
||||
+++ b/ThirdParty/pegtl/Testing/Cxx/TestIncludePEGTL.cxx
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "vtk_pegtl.h"
|
||||
// clang-format off
|
||||
-#include VTK_PEGTL(pegtl/contrib/tracer.hpp)
|
||||
+#include VTK_PEGTL(pegtl/contrib/trace.hpp)
|
||||
// clang-format on
|
||||
|
||||
#include <cstdlib>
|
||||
--
|
||||
2.48.0
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
diff --git a/ThirdParty/vtkm/vtkvtkm/vtk-m/CMake/VTKmWrappers.cmake b/ThirdParty/vtkm/vtkvtkm/vtk-m/CMake/VTKmWrappers.cmake
|
||||
index 10ba21e..e88299e 100644
|
||||
--- a/ThirdParty/vtkm/vtkvtkm/vtk-m/CMake/VTKmWrappers.cmake
|
||||
+++ b/ThirdParty/vtkm/vtkvtkm/vtk-m/CMake/VTKmWrappers.cmake
|
||||
@@ -175,7 +175,7 @@ function(vtkm_setup_job_pool)
|
||||
# will require 3GB of memory. To allow for other NON VTK-m jobs we leave at
|
||||
# least 3GB of memory as 'slop'.
|
||||
cmake_host_system_information(RESULT vtkm_mem_ QUERY TOTAL_PHYSICAL_MEMORY)
|
||||
- math(EXPR vtkm_pool_size "(${vtkm_mem_}/3072)-1")
|
||||
+ math(EXPR vtkm_pool_size "(${vtkm_mem_}/10240 - 3072)-1")
|
||||
|
||||
if (vtkm_pool_size LESS 1)
|
||||
set(vtkm_pool_size 1)
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user