[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70305] [PATCH 3/5] gnu: coin3d: Use system expat.
From: |
Jean-Pierre De Jesus DIAZ |
Subject: |
[bug#70305] [PATCH 3/5] gnu: coin3d: Use system expat. |
Date: |
Tue, 9 Apr 2024 12:22:36 +0200 |
* gnu/packages/graphics.scm (coin3d): Remove bundled expat and use the
system one.
Change-Id: Ief176e320b7f57c5c3f349f244ed7d76e54f8281
---
gnu/packages/graphics.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index f866318289..7f704c3e58 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -1972,6 +1972,10 @@ (define-public coin3d
(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 @@ (define-public coin3d
(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")
--
2.41.0
- [bug#70305] [PATCH 0/5] gnu: coin3d: Improve and update to 4.0.2., Jean-Pierre De Jesus DIAZ, 2024/04/09
- [bug#70305] [PATCH 4/5] gnu: coin3d: Avoid use of dlopen., Jean-Pierre De Jesus DIAZ, 2024/04/09
- [bug#70305] [PATCH 5/5] gnu: coin3d: Update to 4.0.2., Jean-Pierre De Jesus DIAZ, 2024/04/09
- [bug#70305] [PATCH 3/5] gnu: coin3d: Use system expat.,
Jean-Pierre De Jesus DIAZ <=
- [bug#70305] [PATCH 2/5] gnu: coin3d: Use G-Expressions., Jean-Pierre De Jesus DIAZ, 2024/04/09
- [bug#70305] [PATCH 1/5] gnu: coin3D: Rename to coin3d., Jean-Pierre De Jesus DIAZ, 2024/04/09
- bug#70305: [PATCH 0/5] gnu: coin3d: Improve and update to 4.0.2., Christopher Baines, 2024/04/15