GNU bug report logs - #45861
Add embree and update Blender

Previous Next

Package: guix-patches;

Reported by: Christopher Lemmer Webber <cwebber <at> dustycloud.org>

Date: Thu, 14 Jan 2021 14:28:02 UTC

Severity: normal

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 45861 in the body.
You can then email your comments to 45861 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#45861; Package guix-patches. (Thu, 14 Jan 2021 14:28:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Lemmer Webber <cwebber <at> dustycloud.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 14 Jan 2021 14:28:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
To: guix-patches <at> gnu.org
Subject: Add embree and update Blender
Date: Thu, 14 Jan 2021 09:27:24 -0500
[Message part 1 (text/plain, inline)]
Two patches attached.  Embree seems necessary for the newer Blender.

(Sadly newer Blender also still has graphics crashes on my GPU.  Wah!
Well, enjoy to those of you who can.)

[0001-gnu-Add-embree.patch (text/x-patch, inline)]
From f584d5784087e2a795c9be28294582b3ca79f085 Mon Sep 17 00:00:00 2001
From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
Date: Wed, 13 Jan 2021 14:45:39 -0500
Subject: [PATCH 1/2] gnu: Add embree.

* gnu/packages/graphics.scm (embree): New variable.
---
 gnu/packages/graphics.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index def3dc6913..09cf47b66a 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -428,6 +428,36 @@ with the @command{autotrace} utility or as a C library, @code{libautotrace}.")
       (license (list license:gpl2+         ;for the utility itself
                      license:lgpl2.1+))))) ;for use as a library
 
+(define-public embree
+  (package
+    (name "embree")
+    (version "3.12.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/embree/embree")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0aznd16n7h8g3f6jcahzfp1dq4r7wayqvn03wsaskiq2dvsi4srd"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:tests? #f ; no tests (apparently)
+       #:configure-flags
+         (list
+          "-DEMBREE_ISPC_SUPPORT=OFF")))
+    (inputs
+     `(("tbb" ,tbb)
+       ("glfw" ,glfw)))
+    (home-page "https://www.embree.org/")
+    (synopsis "High performance ray tracing kernels")
+    (description
+     "Embree is a collection of high-performance ray tracing kernels.
+Embree is meant to increase performance of photo-realistic rendering
+applications.")
+    (license license:asl2.0)))
+
 (define-public blender
   (package
     (name "blender")
-- 
2.30.0

[0002-gnu-blender-Update-to-2.91.0.patch (text/x-patch, inline)]
From ce00650a374bd4a4bb866e5492dd2483222323f8 Mon Sep 17 00:00:00 2001
From: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
Date: Wed, 13 Jan 2021 14:46:23 -0500
Subject: [PATCH 2/2] gnu: blender: Update to 2.91.0.

* gnu/packages/graphics.scm (blender): Update to 2.91.0 and add embree as a
  dependency.
---
 gnu/packages/graphics.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 09cf47b66a..01f0671ddc 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -461,14 +461,14 @@ applications.")
 (define-public blender
   (package
     (name "blender")
-    (version "2.83.9")
+    (version "2.91.0")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://download.blender.org/source/"
                                   "blender-" version ".tar.xz"))
               (sha256
                (base32
-                "106w9vi6z0gi2nbr73g8pm40w3wn7dkjcibzvvzbc786yrnzvkhb"))))
+                "0x396lgmk0dq9115yrc36s8zwxzmjr490sr5n2y6w27y17yllyjm"))))
     (build-system cmake-build-system)
     (arguments
       (let ((python-version (version-major+minor (package-version python))))
@@ -540,7 +540,8 @@ applications.")
        ("python" ,python)
        ("python-numpy" ,python-numpy)
        ("tbb" ,tbb)
-       ("zlib" ,zlib)))
+       ("zlib" ,zlib)
+       ("embree" ,embree)))
     (home-page "https://blender.org/")
     (synopsis "3D graphics creation suite")
     (description
-- 
2.30.0


Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Sat, 16 Jan 2021 20:44:02 GMT) Full text and rfc822 format available.

Notification sent to Christopher Lemmer Webber <cwebber <at> dustycloud.org>:
bug acknowledged by developer. (Sat, 16 Jan 2021 20:44:02 GMT) Full text and rfc822 format available.

Message #10 received at 45861-done <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Christopher Lemmer Webber <cwebber <at> dustycloud.org>
Cc: 45861-done <at> debbugs.gnu.org
Subject: Re: [bug#45861] Add embree and update Blender
Date: Sat, 16 Jan 2021 15:42:56 -0500
On Thu, Jan 14, 2021 at 09:27:24AM -0500, Christopher Lemmer Webber wrote:
> Two patches attached.  Embree seems necessary for the newer Blender.
> 
> (Sadly newer Blender also still has graphics crashes on my GPU.  Wah!
> Well, enjoy to those of you who can.)

Thanks! Pushed as 2a333f2535a65bfa3607ef50591e9f5dbc6970d1




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 14 Feb 2021 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 69 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.