summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2026-02-13 12:40:30 +0100
committerAndreas Enge <andreas@enge.fr>2026-02-13 19:14:16 +0100
commit83d89b06455085fc35cbddc21ea494a82b298b08 (patch)
tree35ce6e72405ee7f7d1e9ddc9f59b2d7f738f7ae9
parent2e099c8907d1c0e78e27e6793092cfa25728d0b6 (diff)
gnu: vtk: Update to 9.5.2 and add vtk-9.4.
* gnu/packages/image-processing.scm (vtk): Update to 9.5.2. (vtk-9.4): Add back the previous version. * gnu/packages/maths.scm (python-quadpy)[inputs]: Replace vtk by vtk-9.4. Change-Id: Ibf29e18245bd7415208b495cc36ed2c630bb9410
-rw-r--r--gnu/packages/image-processing.scm29
-rw-r--r--gnu/packages/maths.scm2
2 files changed, 28 insertions, 3 deletions
diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm
index 8129dce1a66..77b3a5cb8a9 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -353,7 +353,7 @@ many popular formats.")
353(define-public vtk 353(define-public vtk
354 (package 354 (package
355 (name "vtk") 355 (name "vtk")
356 (version "9.4.2") 356 (version "9.5.2")
357 (source (origin 357 (source (origin
358 (method url-fetch) 358 (method url-fetch)
359 (uri (string-append "https://vtk.org/files/release/" 359 (uri (string-append "https://vtk.org/files/release/"
@@ -361,7 +361,7 @@ many popular formats.")
361 "/VTK-" version ".tar.gz")) 361 "/VTK-" version ".tar.gz"))
362 (sha256 362 (sha256
363 (base32 363 (base32
364 "00kahpi53hld3ip3cfswdnvfg4llmabq0w2kzqq2mcbbm46qxj9n")) 364 "12f9cbazgxrm71r4fpdlxk0mlpgzim2i7vziv8177zvhsac4prnf"))
365 (modules '((guix build utils))) 365 (modules '((guix build utils)))
366 (snippet 366 (snippet
367 '(begin 367 '(begin
@@ -482,6 +482,31 @@ a suite of 3D interaction widgets, supports parallel processing, and
482integrates with various databases on GUI toolkits such as Qt and Tk.") 482integrates with various databases on GUI toolkits such as Qt and Tk.")
483 (license license:bsd-3))) 483 (license license:bsd-3)))
484 484
485(define-public vtk-9.4
486 (package
487 (inherit vtk)
488 (version "9.4.2")
489 (source (origin
490 (method url-fetch)
491 (uri (string-append "https://vtk.org/files/release/"
492 (version-major+minor version)
493 "/VTK-" version ".tar.gz"))
494 (sha256
495 (base32
496 "00kahpi53hld3ip3cfswdnvfg4llmabq0w2kzqq2mcbbm46qxj9n"))
497 (modules '((guix build utils)))
498 (snippet
499 '(begin
500 (for-each
501 (lambda (dir)
502 (delete-file-recursively
503 (string-append "ThirdParty/" dir "/vtk" dir)))
504 ;; pugixml depended upon unconditionally
505 '("doubleconversion" "eigen" "expat" "freetype" "gl2ps"
506 "hdf5" "jpeg" "jsoncpp" "libharu" "libproj"
507 "libxml2" "lz4" "netcdf" "ogg" "png" "sqlite" "theora"
508 "tiff" "zlib"))))))))
509
485(define-public vtk-9.3 510(define-public vtk-9.3
486 (package 511 (package
487 (inherit vtk) 512 (inherit vtk)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 969d8cebcff..8f7a79a36c4 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -4821,7 +4821,7 @@ Mathematics (GLM) library to Python.")
4821 python-pytest 4821 python-pytest
4822 python-setuptools 4822 python-setuptools
4823 unzip 4823 unzip
4824 vtk)) 4824 vtk-9.4))
4825 (inputs 4825 (inputs
4826 ;; [optional] 4826 ;; [optional]
4827 (list python-matplotlib)) 4827 (list python-matplotlib))