GNU bug report logs -
#76563
[PATCH] gnu: blender: Update to 4.3.2.
Previous Next
To reply to this bug, email your comments to 76563 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#76563
; Package
guix-patches
.
(Tue, 25 Feb 2025 18:10:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jan Wielkiewicz <tona_kosmicznego_smiecia <at> interia.pl>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Tue, 25 Feb 2025 18:10:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/graphics.scm (blender): Update to 4.3.2.
[arguments]<#:configure-flags>: Use python-next for
"-DPYTHON_LIBPATH=", "-DPYTHON_INCLUDE_DIR=".
Use python 3.10 libs from python-numpy for
"-DPYTHON_NUMPY_INCLUDE_DIRS=", "-DPYTHON_NUMPY_PATH=".
[native-inputs]: Add pkg-config.
[inputs]: Add fftwf, vulkan-headers, vulkan-loader, shaderc,
python-next. Remove python.
Change-Id: I5ded97728c45625a2f04f992755b3b75fc22d796
---
gnu/packages/graphics.scm | 28 ++++++++++++++++++----------
1 file changed, 18 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index df2d287eb8..acb57d1668 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -38,6 +38,7 @@
;;; Copyright © 2023 Eric Bavier <bavier <at> posteo.net>
;;; Copyright © 2023, 2024 Artyom V. Poptsov <poptsov.artyom <at> gmail.com>
;;; Copyright © 2024 Ivan Vilata-i-Balaguer <ivan <at> selidor.net>
+;;; Copyright © 2025 Jan Wielkiewicz <tona_kosmicznego_smiecia <at> interia.pl>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -111,7 +112,7 @@ (define-module (gnu packages graphics)
#:use-module (gnu packages plotutils)
#:use-module (gnu packages pretty-print)
#:use-module (gnu packages pth)
- #:use-module (gnu packages pulseaudio) ; libsndfile, libsamplerate
+ #:use-module (gnu packages pulseaudio) ; libsndfile, libsamplerate
#:use-module (gnu packages python)
#:use-module (gnu packages python-build)
#:use-module (gnu packages python-xyz)
@@ -527,21 +528,21 @@ (define-public openvdb
(define-public blender
(package
(name "blender")
- (version "3.6.19") ;4.2.x+ requires Python >= 3.12
+ (version "4.3.2") ;4.2.x+ requires Python >= 3.12
(source (origin
(method url-fetch)
(uri (string-append "https://download.blender.org/source/"
"blender-" version ".tar.xz"))
(sha256
(base32
- "0mx5q3kb3bgx8ni4qpy02gc4kx3cc1zqc5p5vkrdggis3rk3k76h"))))
+ "1n4nsqmzfd51kxd6w30bmfbj4qkh9ccg7x7szbh3253m697avmn8"))))
(build-system cmake-build-system)
(arguments
(list
;; Test files are very large and not included in the release tarball.
#:tests? #f
#:configure-flags
- (let ((python-version (version-major+minor (package-version python))))
+ (let ((python-version (version-major+minor (package-version python-next))))
#~(list "-DWITH_CODEC_FFMPEG=ON"
"-DWITH_CODEC_SNDFILE=ON"
"-DWITH_CYCLES=ON"
@@ -562,19 +563,19 @@ (define-public blender
"-DWITH_SYSTEM_LZO=ON"
(string-append "-DPYTHON_LIBRARY=python" #$python-version)
(string-append "-DPYTHON_LIBPATH="
- (assoc-ref %build-inputs "python")
+ (assoc-ref %build-inputs "python-next")
"/lib")
(string-append "-DPYTHON_INCLUDE_DIR="
- (assoc-ref %build-inputs "python")
+ (assoc-ref %build-inputs "python-next")
"/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
+ "/lib/python" "3.10" ; no 3.12 for numpy yet
"/site-packages/numpy/core/include/")
(string-append "-DPYTHON_NUMPY_PATH="
(assoc-ref %build-inputs "python-numpy")
- "/lib/python" #$python-version
+ "/lib/python" "3.10" ; no 3.12 for numpy yet
"/site-packages/")))
#:phases
#~(modify-phases %standard-phases
@@ -584,6 +585,9 @@ (define-public blender
(python-path (getenv "GUIX_PYTHONPATH")))
(wrap-program (string-append out "/bin/blender")
`("GUIX_PYTHONPATH" ":" prefix (,python-path)))))))))
+ (native-inputs
+ (list
+ pkg-config))
(inputs
(list bash-minimal
boost
@@ -592,10 +596,11 @@ (define-public blender
embree
ffmpeg-5
fftw
+ fftwf
freetype-with-brotli
glew
glog
- gmp ;needed for boolean operations on meshes
+ gmp ;needed for boolean operations on meshes
imath
jack-1
jemalloc
@@ -616,9 +621,12 @@ (define-public blender
opensubdiv
openvdb
pugixml
- python
+ python-next
python-numpy
+ shaderc
tbb
+ vulkan-headers
+ vulkan-loader
zlib
`(,zstd "lib")))
(home-page "https://www.blender.org/")
base-commit: 5ccae0d1bf16c77466809671c17d410d4521a131
--
2.48.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#76563
; Package
guix-patches
.
(Wed, 26 Feb 2025 21:26:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 76563 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
After some testing it appears that brush assets are missing. I will fix that later, don't merge it yet.--Jan
[Message part 2 (text/html, inline)]
This bug report was last modified 105 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.