[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
84/87: gnu: lib3mf: Remove bundled software.
From: |
guix-commits |
Subject: |
84/87: gnu: lib3mf: Remove bundled software. |
Date: |
Mon, 9 Jan 2023 18:27:40 -0500 (EST) |
mbakke pushed a commit to branch staging
in repository guix.
commit f29a17c84b305068ab8593cff00570d728e49496
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Mon Jan 9 22:21:47 2023 +0100
gnu: lib3mf: Remove bundled software.
* gnu/packages/engineering.scm (lib3mf)[source](snippet): Delete bundled
copies of libzip and zlib. Adjust header inclusions.
---
gnu/packages/engineering.scm | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 627be59fcd..c9fe587170 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -2305,7 +2305,25 @@ engineers for reverse engineers.")
(snippet
'(begin
;; Delete pre-compiled ACT.
- (delete-file-recursively "AutomaticComponentToolkit/bin")))))
+ (delete-file-recursively "AutomaticComponentToolkit/bin")
+
+ ;; Remove bundled software. Preserve cpp-base64 as it has been
+ ;; modified and cannot easily be unbundled.
+ (for-each delete-file-recursively
+ '("Include/Libraries/libzip"
+ "Include/Libraries/zlib"
+ "Source/Libraries/libzip"
+ "Source/Libraries/zlib"))
+
+ ;; Adjust header includes such that system headers are found.
+ (substitute* '("Include/Common/OPC/NMR_OpcPackageReader.h"
+ "Include/Common/Platform/NMR_ImportStream_ZIP.h"
+ "Include/Common/Platform/NMR_ExportStream_ZIP.h"
+
"Include/Common/Platform/NMR_ImportStream_Compressed.h"
+
"Include/Common/Platform/NMR_ExportStream_Compressed.h"
+
"Source/Common/Platform/NMR_PortableZIPWriterEntry.cpp")
+ (("Libraries/libzip/") "")
+ (("Libraries/zlib/") ""))))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags (list "-DUSE_INCLUDED_ZLIB=0"
- 67/87: gnu: r-fpc: Update to 2.2-10., (continued)
- 67/87: gnu: r-fpc: Update to 2.2-10., guix-commits, 2023/01/09
- 68/87: import/cran: Fix Bioconductor updater., guix-commits, 2023/01/09
- 69/87: gnu: Update copyright header., guix-commits, 2023/01/09
- 70/87: gnu: Add r-clustergeneration., guix-commits, 2023/01/09
- 71/87: gnu: Add r-remacor., guix-commits, 2023/01/09
- 73/87: gnu: r-bsgenome: Update to 1.66.2., guix-commits, 2023/01/09
- 76/87: gnu: r-batchelor: Update to 1.14.1., guix-commits, 2023/01/09
- 78/87: gnu: r-variancepartition: Update to 1.28.1., guix-commits, 2023/01/09
- 82/87: gnu: lib3mf: Remove bundled ACT., guix-commits, 2023/01/09
- 83/87: gnu: lib3mf: Remove input labels., guix-commits, 2023/01/09
- 84/87: gnu: lib3mf: Remove bundled software.,
guix-commits <=
- 85/87: gnu: lib3mf: Update to 2.2.0., guix-commits, 2023/01/09
- 87/87: Merge branch 'master' into staging, guix-commits, 2023/01/09
- 86/87: gnu: perftest: Update to 4.5-0.20., guix-commits, 2023/01/09
- 40/87: gnu: r-expm: Update to 0.999-7., guix-commits, 2023/01/09
- 43/87: gnu: r-reticulate: Update to 1.27., guix-commits, 2023/01/09
- 44/87: gnu: r-billboarder: Update to 0.4.0., guix-commits, 2023/01/09
- 45/87: gnu: r-officer: Update to 0.5.1., guix-commits, 2023/01/09
- 48/87: gnu: r-netrep: Update to 1.2.6., guix-commits, 2023/01/09
- 64/87: gnu: r-bien: Update to 1.2.6., guix-commits, 2023/01/09
- 53/87: gnu: r-rgl: Update to 0.111.6., guix-commits, 2023/01/09