-
-
Notifications
You must be signed in to change notification settings - Fork 17.8k
blender: 4.3.2 -> 4.4.0 #391594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
blender: 4.3.2 -> 4.4.0 #391594
Changes from all commits
e6bcd21
625c383
7380fd0
12be955
310df2b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,8 +18,6 @@ | |
| cudaSupport ? config.cudaSupport, | ||
| dbus, | ||
| embree, | ||
| fetchgit, | ||
| fetchpatch2, | ||
| fetchzip, | ||
| ffmpeg, | ||
| fftw, | ||
|
|
@@ -56,7 +54,7 @@ | |
| makeWrapper, | ||
| mesa, | ||
| openal, | ||
| opencollada, | ||
| opencollada-blender, | ||
| opencolorio, | ||
| openexr, | ||
| openimagedenoise, | ||
|
|
@@ -114,42 +112,15 @@ in | |
|
|
||
| stdenv'.mkDerivation (finalAttrs: { | ||
| pname = "blender"; | ||
| version = "4.3.2"; | ||
| version = "4.4.0"; | ||
|
|
||
| srcs = [ | ||
| (fetchzip { | ||
| name = "source"; | ||
| url = "https://download.blender.org/source/blender-${finalAttrs.version}.tar.xz"; | ||
| hash = "sha256-LCU2JpQbvQ+W/jC+H8J2suh+X5sTLOG9TcE2EeHqVh4="; | ||
| }) | ||
| (fetchgit { | ||
| name = "assets"; | ||
| url = "https://projects.blender.org/blender/blender-assets.git"; | ||
| rev = "v${finalAttrs.version}"; | ||
| fetchLFS = true; | ||
| hash = "sha256-B/UibETNBEUAO1pLCY6wR/Mmdk2o9YyNs6z6pV8dBJI="; | ||
| }) | ||
| ]; | ||
|
|
||
| postUnpack = '' | ||
| chmod -R u+w * | ||
| rm -r assets/working | ||
| mv assets --target-directory source/release/datafiles/ | ||
| ''; | ||
|
|
||
| sourceRoot = "source"; | ||
| srcs = fetchzip { | ||
| name = "source"; | ||
| url = "https://download.blender.org/source/blender-${finalAttrs.version}.tar.xz"; | ||
| hash = "sha256-pAzOayAPyRYgTixAyg2prkUtI70uFulRuBYhgU9ZNw4="; | ||
| }; | ||
|
|
||
| patches = [ | ||
| ./draco.patch | ||
| (fetchpatch2 { | ||
| url = "https://gitlab.archlinux.org/archlinux/packaging/packages/blender/-/raw/4b6214600e11851d7793256e2f6846a594e6f223/ffmpeg-7-1.patch"; | ||
| hash = "sha256-YXXqP/+79y3f41n3cJ3A1RBzgdoYqfKZD/REqmWYdgQ="; | ||
| }) | ||
| (fetchpatch2 { | ||
| url = "https://gitlab.archlinux.org/archlinux/packaging/packages/blender/-/raw/4b6214600e11851d7793256e2f6846a594e6f223/ffmpeg-7-2.patch"; | ||
| hash = "sha256-mF6IA/dbHdNEkBN5XXCRcLIZ/8kXoirNwq7RDuLRAjw="; | ||
| }) | ||
| ] ++ lib.optional stdenv.hostPlatform.isDarwin ./darwin.patch; | ||
| patches = [ ] ++ lib.optional stdenv.hostPlatform.isDarwin ./darwin.patch; | ||
|
|
||
| postPatch = | ||
| (lib.optionalString stdenv.hostPlatform.isDarwin '' | ||
|
|
@@ -201,6 +172,7 @@ stdenv'.mkDerivation (finalAttrs: { | |
| "-DWITH_OPENIMAGEDENOISE=${if openImageDenoiseSupport then "ON" else "OFF"}" | ||
| "-DWITH_OPENSUBDIV=ON" | ||
| "-DWITH_OPENVDB=ON" | ||
| "-DWITH_PIPEWIRE=OFF" | ||
|
||
| "-DWITH_PULSEAUDIO=OFF" | ||
| "-DWITH_PYTHON_INSTALL=OFF" | ||
| "-DWITH_PYTHON_INSTALL_NUMPY=OFF" | ||
|
|
@@ -330,7 +302,7 @@ stdenv'.mkDerivation (finalAttrs: { | |
| wayland | ||
| wayland-protocols | ||
| ] | ||
| ++ lib.optional colladaSupport opencollada | ||
| ++ lib.optional colladaSupport opencollada-blender | ||
| ++ lib.optional jackaudioSupport libjack2 | ||
| ++ lib.optional spaceNavSupport libspnav | ||
| ++ lib.optionals vulkanSupport [ | ||
|
|
@@ -365,9 +337,6 @@ stdenv'.mkDerivation (finalAttrs: { | |
| mkdir $out/Applications | ||
| mv $out/Blender.app $out/Applications | ||
| '' | ||
| + lib.optionalString stdenv.hostPlatform.isLinux '' | ||
| mv $out/share/blender/${lib.versions.majorMinor finalAttrs.version}/python{,-ext} | ||
| '' | ||
| + '' | ||
| buildPythonPath "$pythonPath" | ||
| wrapProgram $blenderExecutable \ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| { | ||
veprbl marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| cmake, | ||
| fetchFromGitHub, | ||
| lib, | ||
| libxml2, | ||
| pcre, | ||
| pkg-config, | ||
| stdenv, | ||
| }: | ||
|
|
||
| stdenv.mkDerivation { | ||
| pname = "opencollada"; | ||
| version = "unstable-2025-01-30"; | ||
|
|
||
| src = fetchFromGitHub { | ||
| owner = "aras-p"; | ||
| repo = "OpenCOLLADA"; | ||
| rev = "4526eb8aaa6462c71fbedd23103976c151a01c50"; | ||
| sha256 = "sha256-ctr+GjDzxOJxBfaMwjwayPkAOcF+FMsP1X72QCOwvTY="; | ||
| }; | ||
|
|
||
| nativeBuildInputs = [ | ||
| cmake | ||
| pkg-config | ||
| ]; | ||
|
|
||
| propagatedBuildInputs = [ | ||
| libxml2 | ||
| pcre | ||
| ]; | ||
|
|
||
| meta = { | ||
| description = "Library for handling the COLLADA file format"; | ||
| homepage = "https://github.com/KhronosGroup/OpenCOLLADA/"; | ||
| maintainers = [ lib.maintainers.amarshall ]; | ||
| platforms = lib.platforms.unix; | ||
| license = lib.licenses.mit; | ||
| }; | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe my crash and glitch came from missing some assets?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It’s in the commit message, but the assets are now bundled in the release tarball. The only difference is the release tarball doesn’t have Git-specific files like
.gitattributes.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, missed that.