This is an automated email from the git hooks/post-receive script.
guix_mirror_bot pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 03c73b3995 gnu: vtk: Update to 9.4.2 and add vtk-9.3.
03c73b3995 is described below
commit 03c73b3995d9dbf86c5caffab5a7b3a0e359f549
Author: Andreas Enge <[email protected]>
AuthorDate: Sat Feb 7 14:41:31 2026 +0100
gnu: vtk: Update to 9.4.2 and add vtk-9.3.
* gnu/packages/image-processing.scm (vtk): Update to 9.4.2.
[origin]: Adapt snippet.
(vtk-9.3): Add back the previous version.
(opencv)[inputs],
* gnu/packages/geo.scm (ogs-serial)[inputs],
* gnu/packages/python-science.scm (python-pyvista)[inputs]: Replace vtk
by vtk-9.3.
Change-Id: I1a567bc30c7845fdd647db0f93cef2cafe1ced76
---
gnu/packages/geo.scm | 2 +-
gnu/packages/image-processing.scm | 45 ++++++++++++++++++++++++++++++---------
gnu/packages/python-science.scm | 2 +-
3 files changed, 37 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 977ceeee0e..19b345288b 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -955,7 +955,7 @@ OpenGeoSys")
spdlog
tclap
tfel
- vtk
+ vtk-9.3
xmlpatch
zlib))
(propagated-inputs
diff --git a/gnu/packages/image-processing.scm
b/gnu/packages/image-processing.scm
index cad0f970fe..8129dce1a6 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -26,7 +26,7 @@
;;; Copyright © 2024 Nicolas Graves <[email protected]>
;;; Copyright © 2025 Jake Forster <[email protected]>
;;; Copyright © 2025 Anderson Torres <[email protected]>
-;;; Copyright © 2025 Andreas Enge <[email protected]>
+;;; Copyright © 2025, 2026 Andreas Enge <[email protected]>
;;; Copyright © 2025 dan <[email protected]>
;;; Copyright © 2026 Cayetano Santos <[email protected]>
;;;
@@ -353,7 +353,7 @@ many popular formats.")
(define-public vtk
(package
(name "vtk")
- (version "9.3.1")
+ (version "9.4.2")
(source (origin
(method url-fetch)
(uri (string-append "https://vtk.org/files/release/"
@@ -361,7 +361,7 @@ many popular formats.")
"/VTK-" version ".tar.gz"))
(sha256
(base32
- "1f6ac40db7wkb3bfh31d71qc5gy44cw29r6v4cyxrlm09q4fqm43"))
+ "00kahpi53hld3ip3cfswdnvfg4llmabq0w2kzqq2mcbbm46qxj9n"))
(modules '((guix build utils)))
(snippet
'(begin
@@ -371,13 +371,9 @@ many popular formats.")
(string-append "ThirdParty/" dir "/vtk" dir)))
;; pugixml depended upon unconditionally
'("doubleconversion" "eigen" "expat" "freetype" "gl2ps"
- "glew" "hdf5" "jpeg" "jsoncpp" "libharu" "libproj"
+ "hdf5" "jpeg" "jsoncpp" "libharu" "libproj"
"libxml2" "lz4" "netcdf" "ogg" "png" "sqlite" "theora"
- "tiff" "zlib"))
- (substitute* "IO/ExportPDF/vtkPDFContextDevice2D.cxx"
- (("\\bHPDF_UINT16
(noPen|dash|dot|denseDot|dashDot|dashDotDot)\\b"
- _ var)
- (string-append "HPDF_REAL " var)))))))
+ "tiff" "zlib"))))))
(properties `((release-monitoring-url . "https://vtk.org/download/")))
(build-system cmake-build-system)
(arguments
@@ -486,6 +482,35 @@ a suite of 3D interaction widgets, supports parallel
processing, and
integrates with various databases on GUI toolkits such as Qt and Tk.")
(license license:bsd-3)))
+(define-public vtk-9.3
+ (package
+ (inherit vtk)
+ (version "9.3.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://vtk.org/files/release/"
+ (version-major+minor version)
+ "/VTK-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1f6ac40db7wkb3bfh31d71qc5gy44cw29r6v4cyxrlm09q4fqm43"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (for-each
+ (lambda (dir)
+ (delete-file-recursively
+ (string-append "ThirdParty/" dir "/vtk" dir)))
+ ;; pugixml depended upon unconditionally
+ '("doubleconversion" "eigen" "expat" "freetype" "gl2ps"
+ "glew" "hdf5" "jpeg" "jsoncpp" "libharu" "libproj"
+ "libxml2" "lz4" "netcdf" "ogg" "png" "sqlite" "theora"
+ "tiff" "zlib"))
+ (substitute* "IO/ExportPDF/vtkPDFContextDevice2D.cxx"
+ (("\\bHPDF_UINT16
(noPen|dash|dot|denseDot|dashDot|dashDotDot)\\b"
+ _ var)
+ (string-append "HPDF_REAL " var)))))))))
+
(define-public vktdiff
(package
(name "vtkdiff")
@@ -773,7 +798,7 @@ different data arrays similar to those available in the
numdiff software.")
protobuf
python
python-numpy
- vtk
+ vtk-9.3
zlib))
;; These three CVEs are not a problem of OpenCV, see:
;; https://github.com/opencv/opencv/issues/10998
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index d2d5755bb0..88def97ee5 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -5622,7 +5622,7 @@ and aims to provide a similar API and functionality in
Python.")
python-pillow
python-pooch
python-scooby
- vtk))
+ vtk-9.3))
(home-page "https://docs.pyvista.org/")
(synopsis "3D plotting and mesh analysis through VTK")
(description