unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / Atom feed
* [bug#48048] [PATCH] update blender to 2.92
@ 2021-04-26 15:05 raingloom
  2021-05-03 17:06 ` bug#48048: " Leo Famulari
  0 siblings, 1 reply; 2+ messages in thread
From: raingloom @ 2021-04-26 15:05 UTC (permalink / raw)
  To: 48048

[-- 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#48048: [PATCH] update blender to 2.92
  2021-04-26 15:05 [bug#48048] [PATCH] update blender to 2.92 raingloom
@ 2021-05-03 17:06 ` Leo Famulari
  0 siblings, 0 replies; 2+ messages in thread
From: Leo Famulari @ 2021-05-03 17:06 UTC (permalink / raw)
  To: raingloom; +Cc: 48048-done

On Mon, Apr 26, 2021 at 05:05:06PM +0200, raingloom wrote:
> 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.

> 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.

Thanks! I pushed as 9ffa81fe64ee405e1a861b72a21bca966fcbc236 after
fixing the commit message to describe the changes more explicitly.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-03 17:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-26 15:05 [bug#48048] [PATCH] update blender to 2.92 raingloom
2021-05-03 17:06 ` bug#48048: " Leo Famulari

unofficial mirror of guix-patches@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-patches/1 guix-patches/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-patches guix-patches/ https://yhetil.org/guix-patches \
		guix-patches@gnu.org
	public-inbox-index guix-patches

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.patches


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git