From: raingloom <raingloom@riseup.net>
To: 48048@debbugs.gnu.org
Subject: [bug#48048] [PATCH] update blender to 2.92
Date: Mon, 26 Apr 2021 17:05:06 +0200 [thread overview]
Message-ID: <20210426170506.3f99aa1c@riseup.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 388 bytes --]
Tiny update for Blender. Tested with some quick geometry nodes
shenanigans, everything seems to be in order.
Piled another explicit path definition onto the pile to fix the build.
Sadly it doesn't fail during configure without it, only a good half way
into the build does it error. Some brave soul should probably fix that
upstream and then we could get rid of all that added complexity.
[-- Attachment #2: 0001-gnu-blender-Update-to-2.92.0.patch --]
[-- Type: text/x-patch, Size: 1965 bytes --]
From 2e4c63de33641b015606b4cc63f908286e55954b Mon Sep 17 00:00:00 2001
From: raingloom <raingloom@riseup.net>
Date: Mon, 26 Apr 2021 16:58:47 +0200
Subject: [PATCH] gnu: blender: Update to 2.92.0.
* gnu/packages/graphics.scm (blender): Update to 2.92.0.
[arguments]: Added workaround for numpy headers not being found.
---
gnu/packages/graphics.scm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 7e83c7ea4e..da4b5ae32c 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -466,14 +466,14 @@ applications.")
(define-public blender
(package
(name "blender")
- (version "2.91.0")
+ (version "2.92.0")
(source (origin
(method url-fetch)
(uri (string-append "https://download.blender.org/source/"
"blender-" version ".tar.xz"))
(sha256
(base32
- "0x396lgmk0dq9115yrc36s8zwxzmjr490sr5n2y6w27y17yllyjm"))))
+ "15a5vffn18a920286x0avbc2rap56k6y531wgibq68r90g2cz4g7"))))
(build-system cmake-build-system)
(arguments
(let ((python-version (version-major+minor (package-version python))))
@@ -498,6 +498,9 @@ applications.")
(string-append "-DPYTHON_INCLUDE_DIR=" (assoc-ref %build-inputs "python")
"/include/python" ,python-version)
(string-append "-DPYTHON_VERSION=" ,python-version)
+ (string-append "-DPYTHON_NUMPY_INCLUDE_DIRS="
+ (assoc-ref %build-inputs "python-numpy")
+ "/lib/python" ,python-version "/site-packages/numpy/core/include/")
(string-append "-DPYTHON_NUMPY_PATH="
(assoc-ref %build-inputs "python-numpy")
"/lib/python" ,python-version "/site-packages/"))
--
2.31.1
next reply other threads:[~2021-04-26 20:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-26 15:05 raingloom [this message]
2021-05-03 17:06 ` bug#48048: [PATCH] update blender to 2.92 Leo Famulari
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210426170506.3f99aa1c@riseup.net \
--to=raingloom@riseup.net \
--cc=48048@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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).