@bartus: Cool thank you!
Search Criteria
Package Details: blender-2.7 2.79b.r71421.e045fe53f1b-3
Git Clone URL: | https://aur.archlinux.org/blender-2.7.git (read-only, click to copy) |
---|---|
Package Base: | blender-2.7 |
Description: | Maintnance version of Blenders blender2.7 branch |
Upstream URL: | https://blender.org/ |
Licenses: | |
Provides: | |
Submitter: | bartus |
Maintainer: | bartus (CYBERDEViL) |
Last Packager: | bartus |
Votes: | 6 |
Popularity: | 0.26 |
First Submitted: | 2019-07-14 14:44 |
Last Updated: | 2021-01-06 00:34 |
Dependencies (25)
- alembic
- ffmpeg (ffmpeg-semifull-git, ffmpeg-tmblock-git, ffmpeg4.0, ffmpeg-cuda, ffmpeg-v4l2-request-git, ffmpeg-svt, ffmpeg-headless, ffmpeg-gl-transition, ffmpeg-git, ffmpeg-decklink, ffmpeg-intel-full-git, ffmpeg-mmal, ffmpeg-svt-av1-git, ffmpeg-libfdk_aac, ffmpeg-full, ffmpeg-nox-git, ffmpeg-svt-vp9-git, ffmpeg-nocuda, ffmpeg-ndi, ffmpeg-amd-full, ffmpeg-full-git, ffmpeg-amd-full-git)
- fftw (fftw-mpich, fftw-mpi, fftw-amd)
- freetype2 (freetype2-v35, freetype2-old-hinting, freetype2-infinality, freetype2-ttmetrics, freetype2-ultimate5, freetype2-git, freetype2-infinality-remix, freetype2-minimal-git)
- libgl (glshim-git, catalyst-firepro, libhybris-ext-libgl-git, catalyst-total, catalyst-libgl, catalyst-total-hd234k, libhybris-libgl-git, mesa-libgl-noglvnd, catalyst-test, swiftshader-git, nvidia-340xx-utils, libglvnd-git, amdgpu-pro-libgl, libglvnd)
- libpng (libpng-git, libpng-apng, libpng-minimal-git)
- libtiff (libtiff-git, libtiff-minimal-git)
- libxi (libxi-git)
- openal (openal119-bin, openal-git, openal-minimal-git)
- opencollada
- opencolorio (opencolorio-git, opencolorio1)
- openimageio (openimageio-git)
- openjpeg2 (openjpeg-git)
- openshadinglanguage
- opensubdiv
- openvdb
- python (python-dbg)
- python-numpy (python-numpy-mkl-bin, python-numpy-openblas, python-numpy-git, python-numpy-mkl)
- boost (boost-git) (make)
- cmake (cmake-git) (make)
- git (git-git) (make)
- llvm (llvm-pypy-stm, llvm39, llvm-asserts, llvm38, llvm-tce, llvm11, llvm11-libs, llvm11-ocaml, llvm-minimal-git, llvm8, llvm-toolchain-nightly-bin) (make)
- mesa (mesa-noglvnd, mesa-arm-git, mesa-minimal+-git, mesa-minimal-git, mesa-git) (make)
- ninja (ninja-git, ninja-samurai, ninja-mem, ninja-kitware, ninja-bin) (make)
- cuda (cuda-11.0, cuda11.1) (optional) – CUDA support in Cycles
Required by (2)
Sources (14)
- blender-addons-contrib.git
- blender-addons.git
- blender-dev-tools.git
- blender-translations.git
- cycles.patch
- git://git.blender.org/blender.git#branch=blender2.7
- openvdb7.patch
- openvdb8.patch
- python3.7.patch
- python3.8.patch
- python3.9.patch
- python3.9_2.patch
- SelectCudaComputeArch.patch
- stl_export_iter.patch
CYBERDEViL commented on 2021-01-06 14:31
bartus commented on 2021-01-05 23:58
@CYBERDEViL: thanks for the patch, if you don't mind I've added you as co-maintainer. I rarely use blender-2.7
those days, and tend to forgot to update the PKGBUILD when Travis-CI build starts failing.
CYBERDEViL commented on 2021-01-03 18:28
@bartus: Ah yes I see, must have applied it manually here with the --ignore-whitespace flag.
There is a new patch to fix compiling with openvdb 8, I did cherry pick it from https://git.blender.org/gitweb/gitweb.cgi/blender.git/patch/37889011070ff2ec52159690f652238d2b325185
The patch: https://notabug.org/CYBERDEViL/AUR/src/master/blender-2.7/openvdb8.patch
Yeah I'm sorry but I try to stay away from GitHub.
bartus commented on 2020-12-20 15:55
@cyberdevil: python3.9_2.patch
doesn't apply because code style changes (double space in place of tab)
btw. Thanks for the patch, you can always post one as github-pr.
CYBERDEViL commented on 2020-12-19 18:18
It failed compiling here due to newer versions of the dependencies.
Here are the changes I've applied to make it compile again: https://notabug.org/CYBERDEViL/AUR/commit/90abd2e11907fecb9772bcfde4af489376991d60
It's great to have Blender 2.79b again, it runs much smoother then 2.8. Plus I'm not a fan of the new interface and don't need the new features 2.8 has.
bartus commented on 2020-01-30 08:12
@Potomac: -c,--clena
cleans the build tree after the build finish, use -C,--cleanbuild
to clean build tree before build starts, this way no manula tinkering will be required ( or just double tap it with -cC
to be safe ;)
I'd rather won't commit whole blender tree to server just to apply two line patch.
Potomac commented on 2020-01-29 19:47
@bartus : Yes your are right, after deleting the directory and redoing the "makepkg -c" command the bug is gone, I can build the package without problems,
I need blender 2.7x because my graphic card is not compatible with blender 2.81 (amd radeon HD4650 pcie, a gpu from 2009), blender 2.81 triggers a crash of the graphic driver and kde plasma.
So your package is very useful, thanks.
bartus commented on 2020-01-29 00:10
@Potomac @lehthanis:
This kind of error is, most likely an aberration between makepkg
and leftover src
directory, please use makepkg -C
switch for rebuilding.
If you are using AUR helper, please specify which one. At least pamac/yay/aurutils
are using -C
switch to clear src
directory before build.
The package is perfectly fine as it is, you can use some shady tweakery to allow package to rebuild without -C
switch: mainly adding || true
to patch call, but this in turns allow failed patches to goes undetected
Potomac commented on 2020-01-28 01:13
@bartus: please update your PKGBUILD, we can not build your package, we have the error :
==> Lancement de prepare()… Vérification du patch release/scripts/addons_contrib/object_facemap_auto/auto_fmap_widgets.py... error: pendant la recherche de :
# foo;bar=baz;bonzo=bingo --> {"bar": baz", "bonzo": bingo}
mpr.fmap_target_rules = dict(
item.partition("=")[::2] for item in fmap_rules,
)
# XXX, we might want to have some way to extract a 'center' from a face-map
error: le patch a échoué : release/scripts/addons_contrib/object_facemap_auto/auto_fmap_widgets.py:324 error: release/scripts/addons_contrib/object_facemap_auto/auto_fmap_widgets.py : le patch ne s'applique pas
bartus commented on 2019-11-16 23:51
@lehthanis: try this out.
sudo mount -o remount,suid /tmp/
sudo pacman -S devtools
cd /tmp
git clone https://aur.archlinux.org/blender-2.7.git
cd blender-2.7
extra-x86_64-build -r /tmp/
It works in docker:arch
the most pristine version of Arch out there, you just need to look harder :)
Perhaps just cleanning the sources before build will help makepkg -C
:thinking:
Pinned Comments
bartus commented on 2019-07-17 07:07
Please report
issues
andpatches
to blender-2.7/github.com<img alt="Build Status" src="https://travis-ci.org/bartoszek/AUR-blender-2.7.svg?branch=master" />
Use env vars to control build process:
DISABLE_CUDA=1
to skip cuda kernel build (cycles+compositor)DISABLE_NINJA=1
to switch build system to make (default:ninja)Usage cases:
export DISABLE_CUDA=1
before buildDISABLE_CUDA=1 ~your-aur-helper~
makepkg DISABLE_CUDA=1
yay -S blender-2.7 --mflags "DISABLE_CUDA=1"
Note for
yay
users:Since yay relies solely on
aur-rpc
to solve dependencies instead of callingmakepkg --sync
it can't follow dependencies logic defined inPKGBUILD
. That's why it's up to the user to provide dependencies to enable features.tl;dr; If you want to prebuild cycles kernels, you have to install CUDA beforehand. If you don't have CUDA installed,
PKGBUILD
will silently skip cycles kernel build.