me
/
guix
Archived
1
0
Fork 0

gnu: coin3d: Use system expat.

* gnu/packages/graphics.scm (coin3d): Remove bundled expat and use the
system one.

Change-Id: Ief176e320b7f57c5c3f349f244ed7d76e54f8281
Signed-off-by: Christopher Baines <mail@cbaines.net>
master
Jean-Pierre De Jesus DIAZ 2024-04-09 12:22:36 +02:00 committed by Christopher Baines
parent 94fa92cc8e
commit 949c3682b7
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 6 additions and 1 deletions

View File

@ -1972,6 +1972,10 @@ or by subtracting one shape from the other.")
(for-each delete-file
'("cfg/csubst.exe"
"cfg/wrapmsvc.exe"))
;; Unbundle expat.
(delete-file-recursively "src/xml/expat")
(substitute* "src/xml/document.cpp"
(("expat/expat\\.h") "expat.h"))
;; Delete references to packaging tool cpack. Otherwise the build
;; fails with "add_subdirectory given source "cpack.d" which is not
;; an existing directory."
@ -1981,12 +1985,13 @@ or by subtracting one shape from the other.")
(arguments
(list #:configure-flags
#~(list "-DCOIN_BUILD_DOCUMENTATION_MAN=ON"
"-DUSE_EXTERNAL_EXPAT=ON"
(string-append "-DBOOST_ROOT="
#$(this-package-input "boost")))))
(native-inputs
(list doxygen graphviz))
(inputs
(list boost freeglut glew))
(list boost expat freeglut glew))
(home-page "https://github.com/coin3d/coin")
(synopsis
"High-level 3D visualization library with Open Inventor 2.1 API")