From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id dKXGJZlVAGAWCAAA0tVLHw (envelope-from ) for ; Thu, 14 Jan 2021 14:30:49 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id cDUvIZlVAGBtHQAAB5/wlQ (envelope-from ) for ; Thu, 14 Jan 2021 14:30:49 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 88D8F940597 for ; Thu, 14 Jan 2021 14:30:48 +0000 (UTC) Received: from localhost ([::1]:49092 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l03eB-0006To-EN for larch@yhetil.org; Thu, 14 Jan 2021 09:30:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37764) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l03bX-0004S4-31 for guix-patches@gnu.org; Thu, 14 Jan 2021 09:28:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54280) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l03bW-0002Yg-Ip for guix-patches@gnu.org; Thu, 14 Jan 2021 09:28:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l03bW-0004rJ-FB for guix-patches@gnu.org; Thu, 14 Jan 2021 09:28:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45861] Add embree and update Blender Resent-From: Christopher Lemmer Webber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 Jan 2021 14:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45861 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 45861@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161063445918643 (code B ref -1); Thu, 14 Jan 2021 14:28:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Jan 2021 14:27:39 +0000 Received: from localhost ([127.0.0.1]:37593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l03b5-0004qa-U0 for submit@debbugs.gnu.org; Thu, 14 Jan 2021 09:27:39 -0500 Received: from lists.gnu.org ([209.51.188.17]:37992) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l03b1-0004qK-CS for submit@debbugs.gnu.org; Thu, 14 Jan 2021 09:27:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37696) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l03b0-00046p-S7 for guix-patches@gnu.org; Thu, 14 Jan 2021 09:27:30 -0500 Received: from dustycloud.org ([2600:3c02::f03c:91ff:feae:cb51]:51266) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l03aw-0002Ln-7s for guix-patches@gnu.org; Thu, 14 Jan 2021 09:27:30 -0500 Received: from twig (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id B6BE326617 for ; Thu, 14 Jan 2021 09:27:24 -0500 (EST) User-agent: mu4e 1.4.13; emacs 27.1 From: Christopher Lemmer Webber Date: Thu, 14 Jan 2021 09:27:24 -0500 Message-ID: <87pn2761bn.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2600:3c02::f03c:91ff:feae:cb51; envelope-from=cwebber@dustycloud.org; helo=dustycloud.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.36 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 88D8F940597 X-Spam-Score: -2.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: Io6X2M41v+oN --=-=-= Content-Type: text/plain 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.) --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-embree.patch >From f584d5784087e2a795c9be28294582b3ca79f085 Mon Sep 17 00:00:00 2001 From: Christopher Lemmer Webber 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 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0002-gnu-blender-Update-to-2.91.0.patch >From ce00650a374bd4a4bb866e5492dd2483222323f8 Mon Sep 17 00:00:00 2001 From: Christopher Lemmer Webber 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 --=-=-=--