[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/13: gnu: engineering: Add 'bash' input for 'wrap-program'.
From: |
guix-commits |
Subject: |
10/13: gnu: engineering: Add 'bash' input for 'wrap-program'. |
Date: |
Fri, 20 Oct 2023 11:27:38 -0400 (EDT) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit 15019efd9eed975c98408628c0ead16ab545e383
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Fri Jul 2 12:06:22 2021 +0200
gnu: engineering: Add 'bash' input for 'wrap-program'.
It is required for cross-compilation.
* gnu/packages/engineering.scm
(librecad): Remove trailing #t.
[inputs]: Add 'bash-minimal'.
(volk, freehdl, freecad, solvespace, cura): Likewise.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I66ce8c602706ef0bf6a9c7bc60f51e34f0e823d5
---
gnu/packages/engineering.scm | 62 ++++++++++++++++++++++----------------------
1 file changed, 31 insertions(+), 31 deletions(-)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 94df543fd2..f2953068ca 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -198,15 +198,13 @@
(substitute* "librecad/src/lib/math/rs_math.cpp"
(("#include <boost/numeric/ublas/matrix.hpp>" line)
(string-append "#include
<boost/serialization/array_wrapper.hpp>\n"
- line)))
- #t))
+ line)))))
;; Fix build against Qt 5.11.
(add-after 'unpack 'add-missing-headers
(lambda _
(substitute* "librecad/src/ui/generic/widgetcreator.cpp"
(("#include <QPushButton>") "#include <QPushButton>
-#include <QActionGroup>"))
- #t))
+#include <QActionGroup>"))))
(add-after 'unpack 'patch-paths
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
@@ -224,10 +222,9 @@
(mkdir-p bin)
(install-file "unix/librecad" bin)
(mkdir-p share)
- (copy-recursively "unix/resources" share))
- #t)))))
+ (copy-recursively "unix/resources" share)))))))
(inputs
- (list boost muparser freetype qtbase-5 qtsvg-5))
+ (list bash-minimal boost muparser freetype qtbase-5 qtsvg-5))
(native-inputs
(list pkg-config which))
(home-page "https://librecad.org/")
@@ -1441,9 +1438,10 @@ WiFi signal strength maps. It visualizes them using a
Voronoi diagram.")
`("PATH" ":" prefix
(,(string-append python "/bin:"))))))))))
(inputs
- `(("boost" ,boost)
- ("python" ,python-wrapper)
- ("python-mako" ,python-mako)))
+ (list bash-minimal ;for wrap-program
+ boost
+ python-wrapper
+ python-mako))
(home-page "https://www.libvolk.org/")
(synopsis "Vector-Optimized Library of Kernels")
(description
@@ -2256,8 +2254,7 @@ parallel computing platforms. It also supports serial
execution.")
(lambda _
(substitute* "v2cc/gvhdl.in"
(("--mode=link") "--mode=link --tag=CXX")
- (("-lm") "-lm FREEHDL/lib/freehdl/libieee.la"))
- #t))
+ (("-lm") "-lm FREEHDL/lib/freehdl/libieee.la"))))
(add-after 'patch-gvhdl 'patch-freehdl-gennodes
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "freehdl/freehdl-gennodes.in"
@@ -2265,8 +2262,7 @@ parallel computing platforms. It also supports serial
execution.")
(search-input-file inputs "/bin/guile"))
(("\\(debug") ";(debug")
(("\\(@ ") "(apply-emit")
- (("\\(@@ ") "(apply-mini-format"))
- #t))
+ (("\\(@@ ") "(apply-mini-format"))))
(add-after 'configure 'patch-freehdl-pc
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "freehdl.pc"
@@ -2275,8 +2271,7 @@ parallel computing platforms. It also supports serial
execution.")
"/bin/g++"))
(("=libtool")
(string-append "=" (assoc-ref inputs "libtool")
- "/bin/libtool")))
- #t))
+ "/bin/libtool")))))
(add-after 'install-scripts 'make-wrapper
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
@@ -2295,10 +2290,11 @@ parallel computing platforms. It also supports serial
execution.")
,(string-append (assoc-ref inputs "coreutils")
"/bin"))))
(wrap-program (string-append out "/bin/freehdl-config")
- `("PKG_CONFIG_PATH" ":" prefix (,(string-append out
"/lib/pkgconfig")))))
- #t)))))
+ `("PKG_CONFIG_PATH" ":" prefix
+ (,(string-append out "/lib/pkgconfig"))))))))))
(inputs
- (list coreutils
+ (list bash-minimal
+ coreutils
;; Lazily resolve the gcc-toolchain to avoid a circular dependency.
(module-ref (resolve-interface '(gnu packages commencement))
@@ -2768,7 +2764,8 @@ comments.")))
python-pyside-2-tools
swig))
(inputs
- (list boost
+ (list bash-minimal
+ boost
coin3D
double-conversion
eigen
@@ -3318,16 +3315,18 @@ dynamic calibration of the milling depth.")
`("GSETTINGS_SCHEMA_DIR" =
(,(string-append (assoc-ref inputs "gtk+")
"/share/glib-2.0/schemas")))))))))
- (inputs (list cairo
- eigen
- freetype
- gtkmm-3
- json-c
- libpng
- libspnav ;spaceware
- mimalloc
- mesa
- zlib))
+ (inputs
+ (list bash-minimal
+ cairo
+ eigen
+ freetype
+ gtkmm-3
+ json-c
+ libpng
+ libspnav ;spaceware
+ mimalloc
+ mesa
+ zlib))
(synopsis
"Parametric 2D/3D @acronym{CAD, computer-aided design} software")
(description
@@ -4086,7 +4085,8 @@ python bindings. It belongs to the Cura project from
Ultimaker.")
python-pytest
python-requests))
(inputs
- (list cura-engine
+ (list bash-minimal
+ cura-engine
libcharon
libsavitar
python
- 03/13: gnu: akku: Add bash-minimal to inputs., (continued)
- 03/13: gnu: akku: Add bash-minimal to inputs., guix-commits, 2023/10/20
- 01/13: gnu: gnome: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/20
- 05/13: gnu: pinentry-rofi: Add bash-minimal to inputs., guix-commits, 2023/10/20
- 04/13: gnu: signing-party: Add bash-minimal to inputs., guix-commits, 2023/10/20
- 08/13: gnu: password-utils: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/20
- 07/13: gnu: parcimonie: Add bash-minimal to inputs., guix-commits, 2023/10/20
- 13/13: gnu: game-development: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/20
- 02/13: gnu: guix: Add bash-minimal to inputs., guix-commits, 2023/10/20
- 09/13: gnu: mail: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/20
- 06/13: gnu: gpa: Add bash-minimal to inputs., guix-commits, 2023/10/20
- 10/13: gnu: engineering: Add 'bash' input for 'wrap-program'.,
guix-commits <=
- 12/13: gnu: maths: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/20
- 11/13: gnu: messaging: Add 'bash' input for 'wrap-program'., guix-commits, 2023/10/20