all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Malte Frank Gerdes <malte.f.gerdes@gmail.com>
To: 44045@debbugs.gnu.org
Cc: Malte Frank Gerdes <malte.f.gerdes@gmail.com>
Subject: [bug#44045] [PATCH 02/10] gnu: Add cura-engine.
Date: Sat, 17 Oct 2020 12:35:39 +0200	[thread overview]
Message-ID: <20201017103547.13769-2-malte.f.gerdes@gmail.com> (raw)
In-Reply-To: <20201017103547.13769-1-malte.f.gerdes@gmail.com>

* gnu/packages/engineering.scm (cura-engine): New variable.
---
 gnu/packages/engineering.scm | 46 ++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 5c5db6a17e..c06b9aebf9 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -107,6 +107,7 @@
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages readline)
+  #:use-module (gnu packages stb)
   #:use-module (gnu packages swig)
   #:use-module (gnu packages tbb)
   #:use-module (gnu packages tcl)
@@ -2872,3 +2873,48 @@ 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.7.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 "177fk6j4gn3ssi8j1qxj8p4486f7jkz328vc75agxnh7vhd4mwsm"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("googletest" ,googletest)))
+    (inputs
+     `(("protobuf" ,protobuf)
+       ("libArcus" ,libArcus)
+       ("stb-image" ,stb-image)))
+    (arguments
+     `(#:configure-flags '("-DBUILD_TESTS=ON")
+       #:phases (modify-phases %standard-phases
+                  (add-before 'configure 'patch-source
+                    (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"))
+                      #true)))))
+    (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)))
+
-- 
2.28.0





  reply	other threads:[~2020-10-17 10:37 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-17 10:32 [bug#44045] [PATCH 00/10] WIP Ultimaker Cura Malte Frank Gerdes
2020-10-17 10:35 ` [bug#44045] [PATCH 01/10] gnu: Add libArcus Malte Frank Gerdes
2020-10-17 10:35   ` Malte Frank Gerdes [this message]
2020-10-17 10:35   ` [bug#44045] [PATCH 03/10] gnu: Add cura-binary-data Malte Frank Gerdes
2020-10-17 10:35   ` [bug#44045] [PATCH 04/10] gnu: Add uranium Malte Frank Gerdes
2020-10-17 10:35   ` [bug#44045] [PATCH 05/10] gnu: Add libCharon Malte Frank Gerdes
2020-10-17 10:35   ` [bug#44045] [PATCH 06/10] gnu: Add libSavitar Malte Frank Gerdes
2020-10-17 10:35   ` [bug#44045] [PATCH 07/10] gnu: Add cura Malte Frank Gerdes
2020-10-17 10:35   ` [bug#44045] [PATCH 08/10] gnu: Add python-pyinstrument-cext Malte Frank Gerdes
2020-10-17 10:35   ` [bug#44045] [PATCH 09/10] gnu: Add python-pyinstrument Malte Frank Gerdes
2020-10-17 10:35   ` [bug#44045] [PATCH 10/10] gnu: Add python-trimesh Malte Frank Gerdes
2020-10-19  7:08 ` [bug#44045] [PATCH 00/10] WIP Ultimaker Cura Efraim Flashner
2020-10-21 14:10 ` [bug#44045] [PATCH 10/10 v2] " Malte Frank Gerdes
2020-10-21 14:16 ` [bug#44045] [PATCH 08/10 " Malte Frank Gerdes
2022-04-07 20:41 ` bug#44045: [PATCH 00/10] " Guillaume Le Vaillant
2022-04-11 13:32   ` [bug#44045] " Malte Gerdes
2023-02-19 23:00 ` Demis Balbach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201017103547.13769-2-malte.f.gerdes@gmail.com \
    --to=malte.f.gerdes@gmail.com \
    --cc=44045@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.