diff --git a/ports/paraview/CONTROL b/ports/paraview/CONTROL index 5f1631462f5ff1..56aa3cbaadfa49 100644 --- a/ports/paraview/CONTROL +++ b/ports/paraview/CONTROL @@ -1,8 +1,8 @@ Source: paraview -Version: 5.8.0-1 +Version: 5.8.0-2 Homepage: https://www.paraview.org/ Description: VTK-based Data Analysis and Visualization Application -Build-Depends: vtk[core,paraview], protobuf, cgns, boost-core, boost-format, boost-algorithm +Build-Depends: vtk[core,paraview], protobuf, cgns, boost-core, boost-format, boost-algorithm, embree3(linux) Feature: vtkm Description: enables vtkm for the build of paraview @@ -20,6 +20,9 @@ Feature: mpi Description: enables cuda within paraview Build-Depends: hdf5[core,parallel], vtk[core, mpi] +Feature: tools +Description: Build paraview tools + Feature: all_modules Description: enables the build of all paraview modules Build-Depends: gdal, pdal, ffmpeg, laszip diff --git a/ports/paraview/add-tools-option.patch b/ports/paraview/add-tools-option.patch new file mode 100644 index 00000000000000..86ba2c5a675694 --- /dev/null +++ b/ports/paraview/add-tools-option.patch @@ -0,0 +1,15 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 8b33b25..10cadda 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -730,7 +730,10 @@ if (PARAVIEW_ENABLE_WEB) + @ONLY) + endif () + ++option(PARAVIEW_BUILD_TOOLS "Build paraview tools" OFF) ++if (PARAVIEW_BUILD_TOOLS) + add_subdirectory(Clients) ++endif() + + if (PARAVIEW_USE_PYTHON) + add_subdirectory(Wrapping/Python) diff --git a/ports/paraview/fix-using-hdf5.patch b/ports/paraview/fix-using-hdf5.patch deleted file mode 100644 index 7d547e77e90e32..00000000000000 --- a/ports/paraview/fix-using-hdf5.patch +++ /dev/null @@ -1,105 +0,0 @@ -diff --git a/databases/readers/M3DC1/avtM3DC1FileFormat.C b/databases/readers/M3DC1/avtM3DC1FileFormat.C -index 642be7e..d044b87 100644 ---- a/databases/readers/M3DC1/avtM3DC1FileFormat.C -+++ b/databases/readers/M3DC1/avtM3DC1FileFormat.C -@@ -2051,10 +2051,10 @@ avtM3DC1FileFormat::linkIterator(hid_t locId, const char* name, - switch (linfo->type) { - case H5L_TYPE_HARD: { - -- H5O_info_t objinfo; -+ H5O_info1_t objinfo; - - /* Stat the object */ -- if(H5Oget_info_by_name(locId, name, &objinfo, H5P_DEFAULT) < 0) { -+ if(H5Oget_info_by_name1(locId, name, &objinfo, H5P_DEFAULT) < 0) { - debug5 << "visitLinks() - unable to open object with name " <type) { - case H5L_TYPE_HARD: { - -- H5O_info_t objinfo; -+ H5O_info1_t objinfo; - - /* Stat the object */ -- if(H5Oget_info_by_name(locId, name, &objinfo, H5P_DEFAULT) < 0) { -+ if(H5Oget_info_by_name1(locId, name, &objinfo, H5P_DEFAULT) < 0) { - debug5 << "visitLinks() - unable to open object with name " <type) { - case H5L_TYPE_HARD: { - -- H5O_info_t objinfo; -+ H5O_info1_t objinfo; - - /* Stat the object */ -- if(H5Oget_info_by_name(locId, name, &objinfo, H5P_DEFAULT) < 0) { -+ if(H5Oget_info_by_name1(locId, name, &objinfo, H5P_DEFAULT) < 0) { - VsLog::errorLog() <<"VsFilter::visitLinks() - unable to open object with name " < 5.14 python_include.patch python_wrapper.patch + add-tools-option.patch ) if(VCPKG_LIBRARY_LINKAGE STREQUAL "static") @@ -40,7 +46,6 @@ vcpkg_from_gitlab( SHA512 6d2c1d6e1cd345547926938451755e7a8be5dabd89e18a2ceb419db16c5b29f354554a5130eb365b7e522d655370fd4766953813ff530c06e4851fe26104ce58 PATCHES VisIt_Build.patch - fix-using-hdf5.patch #removeunusedsymbols.patch # These also get remove in master of ParaView ${VisItPatches} ) @@ -66,6 +71,9 @@ if("python" IN_LIST FEATURES) #VTK_PYTHON_SITE_PACKAGES_SUFFIX should be set to the install dir of the site-packages endif() +string(APPEND VCPKG_C_FLAGS " -DH5_USE_110_API") +string(APPEND VCPKG_CXX_FLAGS " -DH5_USE_110_API") + vcpkg_configure_cmake( SOURCE_PATH ${SOURCE_PATH} PREFER_NINJA # Disable this option if project cannot be built with Ninja diff --git a/scripts/ci.baseline.txt b/scripts/ci.baseline.txt index e1cf3fa9f1c969..e77a6c4cdf1053 100644 --- a/scripts/ci.baseline.txt +++ b/scripts/ci.baseline.txt @@ -1377,8 +1377,6 @@ pangomm:x64-osx=fail pangomm:x64-windows=ignore pangomm:x86-windows=ignore pangomm:arm64-windows=fail -# Missing symbols will, probably fix itself with Qt >= 5.15 -paraview:x64-osx=fail parmetis:x64-linux=fail parmetis:x64-osx=fail pcre2:arm-uwp=fail