Jakub Klinkovský pushed to branch main at Arch Linux / Packaging / Packages / 
topology-toolkit


Commits:
8cd1ec43 by Jakub Klinkovský at 2026-04-08T08:08:49+02:00
upgpkg: 1.3.0-4: rebuild with vtk 9.6 and paraview 6.1

- - - - -


4 changed files:

- .SRCINFO
- PKGBUILD
- REUSE.toml
- + fix-std.patch


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = topology-toolkit
        pkgdesc = An open-source library and software collection for 
topological data analysis and visualization
        pkgver = 1.3.0
-       pkgrel = 3
+       pkgrel = 4
        url = https://github.com/topology-tool-kit/ttk
        arch = x86_64
        license = BSD-3-Clause-Attribution
@@ -40,8 +40,10 @@ pkgbase = topology-toolkit
        source = 
topology-toolkit-1.3.0::https://github.com/topology-tool-kit/ttk/archive/refs/tags/1.3.0.tar.gz
        source = fix-cmake-config.patch
        source = fix-wrlexporter.patch
+       source = fix-std.patch
        b2sums = 
f7b4f70baff93608f1255ab9978c569825a8f592004ef552ca049e327d6f81253d267a0704deb3278227f3598d5e181cc31a320474d9f3118f1ba5c04643fbba
        b2sums = 
22e0df09eaf623d65cf0c7ca9401b19e3521879046dc7e6b02305ea1d616ebaa1df99341f987290715784f352dabacfd76b41fc20e02836c9a54921c7ca88974
        b2sums = 
96dd256e1cd245425e403de4f2c9cb763c79f1fde4b8ee2683c26050727881e9c3909295f5785c6d7f6d32feb6dd5fd1c30b41de35d9b43063600b07d3247392
+       b2sums = 
452716338a7e7f2091d723cf69fd9ed1f3e3f79a5662e904b65813b5602c174b7b6a4bc8f09932824b847852bba8a5e3b9574e79ce907c9447bc71c83e21fb3c
 
 pkgname = topology-toolkit


=====================================
PKGBUILD
=====================================
@@ -2,7 +2,7 @@
 
 pkgname=topology-toolkit
 pkgver=1.3.0
-pkgrel=3
+pkgrel=4
 pkgdesc="An open-source library and software collection for topological data 
analysis and visualization"
 arch=(x86_64)
 url="https://github.com/topology-tool-kit/ttk";
@@ -44,10 +44,12 @@ source=(
   $pkgname-$pkgver::$url/archive/refs/tags/$pkgver.tar.gz
   fix-cmake-config.patch
   fix-wrlexporter.patch
+  fix-std.patch
 )
 
b2sums=('f7b4f70baff93608f1255ab9978c569825a8f592004ef552ca049e327d6f81253d267a0704deb3278227f3598d5e181cc31a320474d9f3118f1ba5c04643fbba'
         
'22e0df09eaf623d65cf0c7ca9401b19e3521879046dc7e6b02305ea1d616ebaa1df99341f987290715784f352dabacfd76b41fc20e02836c9a54921c7ca88974'
-        
'96dd256e1cd245425e403de4f2c9cb763c79f1fde4b8ee2683c26050727881e9c3909295f5785c6d7f6d32feb6dd5fd1c30b41de35d9b43063600b07d3247392')
+        
'96dd256e1cd245425e403de4f2c9cb763c79f1fde4b8ee2683c26050727881e9c3909295f5785c6d7f6d32feb6dd5fd1c30b41de35d9b43063600b07d3247392'
+        
'452716338a7e7f2091d723cf69fd9ed1f3e3f79a5662e904b65813b5602c174b7b6a4bc8f09932824b847852bba8a5e3b9574e79ce907c9447bc71c83e21fb3c')
 
 prepare() {
   cd ttk-$pkgver
@@ -57,6 +59,9 @@ prepare() {
   # ttkWRLExporter: Update for new vtkVRMLExporter API
   # 
https://github.com/topology-tool-kit/ttk/commit/6a7ed5024da5dc9fec8cada7dda476aa70870476
   patch -p1 < ../fix-wrlexporter.patch
+
+  # fix missing headers and std:: namespace prefix
+  patch -p1 < ../fix-std.patch
 }
 
 build() {


=====================================
REUSE.toml
=====================================
@@ -25,6 +25,7 @@ SPDX-License-Identifier = "0BSD"
 path = [
     "fix-cmake-config.patch",
     "fix-wrlexporter.patch",
+    "fix-std.patch",
 ]
 SPDX-FileCopyrightText = "topology-toolkit contributors"
 SPDX-License-Identifier = "BSD-3-Clause-Attribution"


=====================================
fix-std.patch
=====================================
@@ -0,0 +1,35 @@
+diff --git a/core/vtk/ttkAlgorithm/ttkAlgorithm.cpp 
b/core/vtk/ttkAlgorithm/ttkAlgorithm.cpp
+index d816394a5..afd2959bc 100644
+--- a/core/vtk/ttkAlgorithm/ttkAlgorithm.cpp
++++ b/core/vtk/ttkAlgorithm/ttkAlgorithm.cpp
+@@ -1002,7 +1002,7 @@ int ttkAlgorithm::ProcessRequest(vtkInformation *request,
+   }
+
+   this->printErr("Unsupported pipeline pass:");
+-  request->Print(cout);
++  request->Print(std::cout);
+
+   return 0;
+ }
+diff --git a/core/vtk/ttkAlgorithm/ttkUtils.cpp 
b/core/vtk/ttkAlgorithm/ttkUtils.cpp
+index 337802726..ad3ebc2d4 100644
+--- a/core/vtk/ttkAlgorithm/ttkUtils.cpp
++++ b/core/vtk/ttkAlgorithm/ttkUtils.cpp
+@@ -1,3 +1,4 @@
++#include <iostream>
+ #include <ttkUtils.h>
+
+ #include <vtkAbstractArray.h>
+diff --git a/standalone/UncertainDataEstimator/Editor.cpp 
b/standalone/UncertainDataEstimator/Editor.cpp
+index c192f81d2..48666fad2 100644
+--- a/standalone/UncertainDataEstimator/Editor.cpp
++++ b/standalone/UncertainDataEstimator/Editor.cpp
+@@ -395,7 +395,7 @@ int Editor::saveData() const {
+     }
+     fileName << outputPrefix_ << ".vti";
+
+-    cout << fileName.str() << endl;
++    std::cout << fileName.str() << endl;
+
+     imageWriter->SetFileName(fileName.str().c_str());
+     imageWriter->SetInputData(outputBounds_);



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/topology-toolkit/-/commit/8cd1ec434ac20c652220570538704b9269b4f6cd

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/topology-toolkit/-/commit/8cd1ec434ac20c652220570538704b9269b4f6cd
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to