diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-02-05 07:16:00 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-02-05 07:16:00 +0000 |
| commit | dfd5a7f7e258f244f137f0b58ee5dcb9b1bc671c (patch) | |
| tree | 2b87109c532f5eece0c0143b2e0ed803b9d4daf3 /sci-visualization | |
| parent | 99f4dff3e4e6f4335426738a3c478095d3f8a4fc (diff) | |
| download | baldeagleos-repo-dfd5a7f7e258f244f137f0b58ee5dcb9b1bc671c.tar.gz baldeagleos-repo-dfd5a7f7e258f244f137f0b58ee5dcb9b1bc671c.tar.xz baldeagleos-repo-dfd5a7f7e258f244f137f0b58ee5dcb9b1bc671c.zip | |
Adding metadata
Diffstat (limited to 'sci-visualization')
| -rw-r--r-- | sci-visualization/paraview/Manifest | 1 | ||||
| -rw-r--r-- | sci-visualization/paraview/files/paraview-6.0.1-avoid_file_collisions.patch | 12 | ||||
| -rw-r--r-- | sci-visualization/paraview/files/paraview-6.0.1-qt-6.10.patch | 80 | ||||
| -rw-r--r-- | sci-visualization/paraview/paraview-6.0.1.ebuild (renamed from sci-visualization/paraview/paraview-5.13.3-r2.ebuild) | 15 |
4 files changed, 101 insertions, 7 deletions
diff --git a/sci-visualization/paraview/Manifest b/sci-visualization/paraview/Manifest index 6c2eae18ed11..60f792d4fe30 100644 --- a/sci-visualization/paraview/Manifest +++ b/sci-visualization/paraview/Manifest @@ -1,2 +1,3 @@ DIST ParaView-v5.13.2.tar.xz 147014296 BLAKE2B c9e841ff91099a54f66d1eca0659b2b33d0870917d02ba7f0efaf66d8b008439f35a8957dcd4a01efc0246423c178b3c3a5fcdff0de929892dbb332c001ceb12 SHA512 828db2425cd73aaccaa1d76b0e1a4a0fec69d069698b6797603204519eb01aad12dbcfa3e5a540cea37664ec9d47b17bc67f27c7603d79f76a6b8c53fade40b6 DIST ParaView-v5.13.3.tar.xz 85255156 BLAKE2B bce853c06d28303f85f1a64a95cc10aea36d50f553729a2d9fcccea74d7ac3c451f3cf4fda8d97faf25e74dfd125f77ca32cccca2d34acdf3fc01292c6ed055f SHA512 2a862ae28c05af683e63a7c4a317f70bd58dc804354c84f70bca38689ef8e954ddec5b90218e5f1673ce7d8324d01a4a31b602a02dffdfd1e5b2abe8f54d10b7 +DIST ParaView-v6.0.1.tar.xz 89088960 BLAKE2B e19a8b56f619fb47630152439af3ac7f3be1138b938db443f579e87a9c403bdd8b38798fa591c3607232252ebca49b62762935bb03f0ac416399d9502a24820d SHA512 ae6303061e11686b4fb06d98cbfce4ba058d51cd95c7da3c86d6bda69e2db9df92c74482e10e605f52280c803dc92605a644c19a641c171797e0dd520f00e7bf diff --git a/sci-visualization/paraview/files/paraview-6.0.1-avoid_file_collisions.patch b/sci-visualization/paraview/files/paraview-6.0.1-avoid_file_collisions.patch new file mode 100644 index 000000000000..864562fdc0ba --- /dev/null +++ b/sci-visualization/paraview/files/paraview-6.0.1-avoid_file_collisions.patch @@ -0,0 +1,12 @@ +diff --git a/VTK/CMake/vtkVersion.cmake b/VTK/CMake/vtkVersion.cmake +index c22be0fd..bf759a75 100644 +--- a/VTK/CMake/vtkVersion.cmake ++++ b/VTK/CMake/vtkVersion.cmake +@@ -1,6 +1,6 @@ + # VTK version number components. + set(VTK_MAJOR_VERSION 9) +-set(VTK_MINOR_VERSION 5) ++set(VTK_MINOR_VERSION 99) + + # Git conflict avoidance barrier. When branching for an `X.Y.0.rc1` branch, if + # the date component is updated while it is in progress, the bump of the minor diff --git a/sci-visualization/paraview/files/paraview-6.0.1-qt-6.10.patch b/sci-visualization/paraview/files/paraview-6.0.1-qt-6.10.patch new file mode 100644 index 000000000000..bc68106a9c70 --- /dev/null +++ b/sci-visualization/paraview/files/paraview-6.0.1-qt-6.10.patch @@ -0,0 +1,80 @@ +diff --git a/Qt/Core/pqFlatTreeViewEventTranslator.cxx b/Qt/Core/pqFlatTreeViewEventTranslator.cxx +index 52775c6f..3a62c534 100644 +--- a/Qt/Core/pqFlatTreeViewEventTranslator.cxx ++++ b/Qt/Core/pqFlatTreeViewEventTranslator.cxx +@@ -73,8 +73,8 @@ bool pqFlatTreeViewEventTranslator::translateEvent(QObject* Object, QEvent* Even + + QString info = QString("%1,%2,%3,%4,%5,%6") + .arg(mouseEvent->button()) +- .arg(mouseEvent->buttons()) +- .arg(mouseEvent->modifiers()) ++ .arg(static_cast<int>(mouseEvent->buttons())) ++ .arg(static_cast<int>(mouseEvent->modifiers())) + .arg(relPt.x()) + .arg(relPt.y()) + .arg(idxStr); +diff --git a/Qt/Core/pqQVTKWidgetEventTranslator.cxx b/Qt/Core/pqQVTKWidgetEventTranslator.cxx +index dfc95227..d2b64267 100644 +--- a/Qt/Core/pqQVTKWidgetEventTranslator.cxx ++++ b/Qt/Core/pqQVTKWidgetEventTranslator.cxx +@@ -90,8 +90,8 @@ bool pqQVTKWidgetEventTranslator::translateEvent( + .arg(normalized_x) + .arg(normalized_y) + .arg(mouseEvent->button()) +- .arg(mouseEvent->buttons()) +- .arg(mouseEvent->modifiers())); ++ .arg(static_cast<int>(mouseEvent->buttons())) ++ .arg(static_cast<int>(mouseEvent->modifiers()))); + } + return true; + break; +@@ -118,15 +118,15 @@ bool pqQVTKWidgetEventTranslator::translateEvent( + .arg(normalized_x) + .arg(normalized_y) + .arg(mouseEvent->button()) +- .arg(mouseEvent->buttons()) +- .arg(mouseEvent->modifiers())); ++ .arg(static_cast<int>(mouseEvent->buttons())) ++ .arg(static_cast<int>(mouseEvent->modifiers()))); + Q_EMIT recordEvent(widget, "mouseRelease", + QString("(%1,%2,%3,%4,%5)") + .arg(normalized_x) + .arg(normalized_y) + .arg(mouseEvent->button()) +- .arg(mouseEvent->buttons()) +- .arg(mouseEvent->modifiers())); ++ .arg(static_cast<int>(mouseEvent->buttons())) ++ .arg(static_cast<int>(mouseEvent->modifiers()))); + } + return true; + break; +diff --git a/ThirdParty/QtTesting/vtkqttesting/pqAbstractItemViewEventTranslator.cxx b/ThirdParty/QtTesting/vtkqttesting/pqAbstractItemViewEventTranslator.cxx +index 31b1d44e..61ce1ddf 100644 +--- a/ThirdParty/QtTesting/vtkqttesting/pqAbstractItemViewEventTranslator.cxx ++++ b/ThirdParty/QtTesting/vtkqttesting/pqAbstractItemViewEventTranslator.cxx +@@ -90,8 +90,8 @@ bool pqAbstractItemViewEventTranslator::translateEvent(QObject* Object, QEvent* + + QString info = QString("%1,%2,%3,%4,%5,%6") + .arg(mouseEvent->button()) +- .arg(mouseEvent->buttons()) +- .arg(mouseEvent->modifiers()) ++ .arg(static_cast<int>(mouseEvent->buttons())) ++ .arg(static_cast<int>(mouseEvent->modifiers())) + .arg(relPt.x()) + .arg(relPt.y()) + .arg(idxStr); +diff --git a/ThirdParty/QtTesting/vtkqttesting/pqBasicWidgetEventTranslator.cxx b/ThirdParty/QtTesting/vtkqttesting/pqBasicWidgetEventTranslator.cxx +index afdd3604..9217f27b 100644 +--- a/ThirdParty/QtTesting/vtkqttesting/pqBasicWidgetEventTranslator.cxx ++++ b/ThirdParty/QtTesting/vtkqttesting/pqBasicWidgetEventTranslator.cxx +@@ -53,8 +53,8 @@ bool pqBasicWidgetEventTranslator::translateEvent( + #endif + QString info = QString("%1,%2,%3,%4,%5") + .arg(mouseEvent->button()) +- .arg(mouseEvent->buttons()) +- .arg(mouseEvent->modifiers()) ++ .arg(static_cast<int>(mouseEvent->buttons())) ++ .arg(static_cast<int>(mouseEvent->modifiers())) + .arg(pos.x()) + .arg(pos.y()); + diff --git a/sci-visualization/paraview/paraview-5.13.3-r2.ebuild b/sci-visualization/paraview/paraview-6.0.1.ebuild index 22ef9bfedcd5..8cbfc9b6cdb4 100644 --- a/sci-visualization/paraview/paraview-5.13.3-r2.ebuild +++ b/sci-visualization/paraview/paraview-6.0.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -82,7 +82,8 @@ RDEPEND=" ) sqlite? ( dev-db/sqlite:3 ) tk? ( dev-lang/tk:0= ) - webengine? ( dev-qt/qtwebengine:6[widgets] )" + webengine? ( dev-qt/qtwebengine:6[widgets] ) +" DEPEND="${RDEPEND} ${PYTHON_DEPS} boost? ( @@ -91,16 +92,13 @@ DEPEND="${RDEPEND} ') ) " - BDEPEND=" openmp? ( virtual/fortran ) " PATCHES=( - "${FILESDIR}"/${PN}-5.5.0-allow_custom_build_type.patch - "${FILESDIR}"/${PN}-5.13.0-cmake-3.31-compat.patch - "${FILESDIR}"/${PN}-5.13.0-fix_compilation.patch - "${FILESDIR}"/${PN}-5.13.0-fix_compilation-2.patch + "${FILESDIR}"/${P}-avoid_file_collisions.patch + "${FILESDIR}"/${P}-qt-6.10.patch # bug #967029 ) # false positive when checking for available HDF5 interface, bug #904731 @@ -148,6 +146,9 @@ src_configure() { local mycmakeargs=( -DCMAKE_INSTALL_LIBDIR="${PVLIBDIR}" + # paraview-6.0.0 onwards expects a relative path for documentation + -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}" + -UBUILD_SHARED_LIBS -DPARAVIEW_BUILD_SHARED_LIBS=ON -DCMAKE_VERBOSE_MAKEFILE=ON |
