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 c7fe80064f gnu: opencascade-occt: Add RapidJson and Draco support.
c7fe80064f is described below
commit c7fe80064ffcae4fbcce15eeb3ac46a8de388058
Author: Peter Polidoro <[email protected]>
AuthorDate: Sun Feb 1 14:50:18 2026 -0500
gnu: opencascade-occt: Add RapidJson and Draco support.
* gnu/packages/maths.scm (opencascade-occt)[inputs]: Add draco and
rapidjson.
[arguments]<#:configure-flags>: Enable Draco (for mesh-compression)
and RapidJson (for the glTF writer).
Change-Id: Id09f31e3be9798c77380ec0958eb8f9fe6d7b71b
Signed-off-by: Andreas Enge <[email protected]>
---
gnu/packages/maths.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 554cdbb276..8b08d5c1f3 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -73,6 +73,7 @@
;;; Copyright © 2025 nomike Postmann <[email protected]>
;;; Copyright © 2025 Reza Housseini <[email protected]>
;;; Copyright © 2026 Cayetano Santos <[email protected]>
+;;; Copyright © 2026 Peter Polidoro <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -3546,7 +3547,9 @@ script files.")
#:tests? #f
#:configure-flags
#~(list "-DCMAKE_CXX_FLAGS=-fpermissive" ;from unsigned char* to char*
+ "-DUSE_DRACO:BOOL=ON"
"-DUSE_FREEIMAGE:BOOL=ON"
+ "-DUSE_RAPIDJSON:BOOL=ON"
"-DUSE_TBB:BOOL=ON"
"-DUSE_VTK:BOOL=OFF"
"-DBUILD_DOC_Overview:BOOL=OFF"
@@ -3555,7 +3558,8 @@ script files.")
"-UCMAKE_INSTALL_LIBDIR")))
(native-inputs (list doxygen fontconfig))
(inputs
- (list freetype
+ (list draco
+ freetype
freeimage
glu
libxext
@@ -3563,6 +3567,7 @@ script files.")
libxmu
mesa
onetbb
+ rapidjson
tcl
tk))
;; TODO: build Overview documentation and add 'doc' output.