summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCayetano Santos <csantosb@inventati.org>2026-01-09 11:29:26 +0100
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:31:38 +0100
commit891f268fe8372d4f986d047c5fbfc217e17f17b7 (patch)
tree63ffffa0aa12decbe90213d26dd935425d1e3059
parentad9d4f17938bc73cf729e8ed72aedc8e0d1e78bb (diff)
gnu: opencascade-occt: Update to 7.9.3.
* gnu/packages/maths.scm (opencascade-occt): Update to 7.9.3. [inputs]: Remove tbb-2020; add freeimage and onetbb. [source]: Update snippet. [arguments]: Use G-Expressions. <#:configure-flags>: Enable ’use_freeimage flag. [inputs]: Add freeimage and onetbb, delete tbb-2020. Merges guix/guix!5489 Change-Id: I0c17894e1577d09c53216ee193f7151d28f20a79 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
-rw-r--r--gnu/packages/maths.scm43
1 files changed, 18 insertions, 25 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 761b46303ae..21c5e503332 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -3474,7 +3474,7 @@ script files.")
3474(define-public opencascade-occt 3474(define-public opencascade-occt
3475 (package 3475 (package
3476 (name "opencascade-occt") 3476 (name "opencascade-occt")
3477 (version "7.6.2") 3477 (version "7.9.3")
3478 (properties 3478 (properties
3479 '((release-tag-prefix . "^V") 3479 '((release-tag-prefix . "^V")
3480 (release-tag-version-delimiter . "_"))) 3480 (release-tag-version-delimiter . "_")))
@@ -3489,38 +3489,31 @@ script files.")
3489 version))))) 3489 version)))))
3490 (file-name (git-file-name name version)) 3490 (file-name (git-file-name name version))
3491 (sha256 3491 (sha256
3492 (base32 "07z5d83vm9f50an7vhimzl7gbmri1dn6p2g999l5fgyaj5sg5f02")) 3492 (base32 "1wmrbr5yar3iz1c80h6diyqigd8hv05j7wral2kkrbvhzpwjd7k6"))
3493 (modules '((guix build utils)))
3494 (snippet 3493 (snippet
3495 '(begin 3494 #~(begin
3495 (use-modules (guix build utils))
3496 ;; Remove files specific to non-free operating systems. 3496 ;; Remove files specific to non-free operating systems.
3497 (delete-file-recursively "samples/ios") 3497 (delete-file-recursively "samples/ios")
3498 (delete-file-recursively "samples/mfc") 3498 (delete-file-recursively "samples/mfc")
3499 (delete-file-recursively "samples/qt/FuncDemo") 3499 (delete-file-recursively "samples/qt/FuncDemo")
3500 (delete-file "genconf.bat")
3501 (delete-file "gendoc.bat")
3502 (delete-file "genproj.bat")
3503 (delete-file "upgrade.bat")
3504 ;; Remove references to deleted files. 3500 ;; Remove references to deleted files.
3505 (substitute* "dox/FILES_HTML.txt" 3501 (substitute* "dox/FILES_HTML.txt"
3506 ((".*standard.*") "" ) 3502 ((".*standard.*") "" )
3507 ((".*UIKitSample.*") "")) 3503 ((".*UIKitSample.*") ""))))))
3508 #t))))
3509 (build-system cmake-build-system) 3504 (build-system cmake-build-system)
3510 (arguments 3505 (arguments
3511 '(;; There is no test target for make. OCCT provides an 3506 (list
3512 ;; 'Automated Testing System', which may be accessed after 3507 ;; There is no test target for make. OCCT provides an
3513 ;; installation via the draw.sh script. draw.sh is located in 3508 ;; 'Automated Testing System', which may be accessed after
3514 ;; the bin directory. For details see: 3509 ;; installation via the draw.sh script. draw.sh is located in
3515 ;; https://www.opencascade.com/doc/occt-7.3.0/overview/html/\ 3510 ;; the bin directory. For details see:
3516 ;; occt_dev_guides__tests.html 3511 ;; https://www.opencascade.com/doc/occt-7.3.0/overview/html/\
3517 #:tests? #f 3512 ;; occt_dev_guides__tests.html
3518 ;; Configure without freeimage: attempting to link against the 3513 #:tests? #f
3519 ;; freeimage version 3.17 library leads to 'undefined 3514 #:configure-flags
3520 ;; reference' errors. 3515 #~(list "-DCMAKE_CXX_FLAGS=-fpermissive" ;from unsigned char* to char*
3521 #:configure-flags 3516 "-DUSE_FREEIMAGE:BOOL=ON"
3522 (list "-DCMAKE_CXX_FLAGS=-fpermissive" ;from unsigned char* to char*
3523 "-DUSE_FREEIMAGE:BOOL=OFF"
3524 "-DUSE_TBB:BOOL=ON" 3517 "-DUSE_TBB:BOOL=ON"
3525 "-DUSE_VTK:BOOL=OFF" 3518 "-DUSE_VTK:BOOL=OFF"
3526 "-DBUILD_DOC_Overview:BOOL=OFF" 3519 "-DBUILD_DOC_Overview:BOOL=OFF"
@@ -3530,13 +3523,13 @@ script files.")
3530 (native-inputs (list doxygen fontconfig)) 3523 (native-inputs (list doxygen fontconfig))
3531 (inputs 3524 (inputs
3532 (list freetype 3525 (list freetype
3533 ;("freeimage" ,freeimage) 3526 freeimage
3534 glu 3527 glu
3535 libxext 3528 libxext
3536 libxi 3529 libxi
3537 libxmu 3530 libxmu
3538 mesa 3531 mesa
3539 tbb-2020 3532 onetbb
3540 tcl 3533 tcl
3541 tk)) 3534 tk))
3542 ;; TODO: build Overview documentation and add 'doc' output. 3535 ;; TODO: build Overview documentation and add 'doc' output.