[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/11: gnu: Add cura-engine.
From: |
guix-commits |
Subject: |
02/11: gnu: Add cura-engine. |
Date: |
Thu, 7 Apr 2022 16:40:19 -0400 (EDT) |
glv pushed a commit to branch master
in repository guix.
commit 742a7d897f26797b705a32f72628f2f3b2770940
Author: Malte Frank Gerdes <malte.f.gerdes@gmail.com>
AuthorDate: Thu Apr 7 15:40:47 2022 +0200
gnu: Add cura-engine.
* gnu/packages/engineering.scm (cura-engine): New variable.
Co-authored-by: Guillaume Le Vaillant <glv@posteo.net>
---
gnu/packages/engineering.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 1580671555..36695fcb92 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -127,6 +127,7 @@
#:use-module (gnu packages ruby)
#:use-module (gnu packages serialization)
#:use-module (gnu packages sqlite)
+ #:use-module (gnu packages stb)
#:use-module (gnu packages swig)
#:use-module (gnu packages tbb)
#:use-module (gnu packages tcl)
@@ -3289,3 +3290,45 @@ creating a socket in a thread and using this socket to
send and receive
messages based on the Protocol Buffers library. It is designed to
facilitate the communication between Cura and its backend and similar code.")
(license license:lgpl3+)))
+
+(define-public cura-engine
+ (package
+ (name "cura-engine")
+ (version "4.13.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Ultimaker/CuraEngine")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0xp2r0m5wwfsh9wdb3biqzvfqfz5jsmyw4bww93aksw0rgli07bp"))))
+ (build-system cmake-build-system)
+ (native-inputs
+ (list googletest pkg-config))
+ (inputs
+ (list libarcus protobuf stb-image))
+ (arguments
+ `(#:configure-flags '("-DBUILD_TESTS=ON")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "../source/cmake/FindStb.cmake"
+ (("/usr/include")
+ (string-append (assoc-ref inputs "stb-image")
+ "/include"))
+ (("stb/stb_image_resize.h")
+ "stb_image.h"))
+ (substitute*
+ "../source/src/infill/ImageBasedDensityProvider.cpp"
+ (("stb/stb_image.h")
+ "stb_image.h")))))))
+ (home-page "https://github.com/Ultimaker/CuraEngine")
+ (synopsis "Cura slicing engine")
+ (description "CuraEngine is a powerful, fast and robust engine for
+processing 3D models into 3D printing instruction for Ultimaker and other
+GCode based 3D printers. It is part of the larger open source project called
+Cura.")
+ (license license:agpl3+)))
- branch master updated (7409f246e2 -> b749329888), guix-commits, 2022/04/07
- 01/11: gnu: Add libarcus., guix-commits, 2022/04/07
- 04/11: gnu: Add python-pyinstrument., guix-commits, 2022/04/07
- 06/11: gnu: Add uranium., guix-commits, 2022/04/07
- 11/11: gnu: Add cura., guix-commits, 2022/04/07
- 07/11: gnu: Add libcharon., guix-commits, 2022/04/07
- 02/11: gnu: Add cura-engine.,
guix-commits <=
- 03/11: gnu: Add cura-binary-data., guix-commits, 2022/04/07
- 05/11: gnu: Add python-trimesh., guix-commits, 2022/04/07
- 08/11: gnu: Add libsavitar., guix-commits, 2022/04/07
- 10/11: gnu: Add python-pynest2d., guix-commits, 2022/04/07
- 09/11: gnu: Add libnest2d-for-cura., guix-commits, 2022/04/07