Package Details: blender-2.7 2.79b.r71421.e045fe53f1b-2

Git Clone URL: https://aur.archlinux.org/blender-2.7.git (read-only, click to copy)
Package Base: blender-2.7
Description: Blender 2.7 branch
Upstream URL: https://blender.org/
Licenses: GPL
Provides: blender-2.7
Submitter: bartus
Maintainer: bartus
Last Packager: bartus
Votes: 5
Popularity: 0.012492
First Submitted: 2019-07-14 14:44
Last Updated: 2019-11-16 21:50

Dependencies (26)

Sources (10)

Pinned Comments

bartus commented on 2019-07-17 07:07

Please report issues and patches 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 build
  • DISABLE_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 calling makepkg --sync it can't follow dependencies logic defined in PKGBUILD. 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.

Latest Comments

1 2 Next › Last »

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:

lehthanis commented on 2019-11-16 21:09

misconfigured? where is the config? I just downloaded the package and makepkg -si

bartus commented on 2019-11-16 20:33

@lehthanis: Nope, you have misconfigured sources, addons_contrib are set to trace blender2.7 branch witch doesn't contains that change.

#.gitmodules
...
[submodule "release/scripts/addons_contrib"]
        path = release/scripts/addons_contrib
        url = ../blender-addons-contrib.git
        ignore = all
        branch = blender2.7

lehthanis commented on 2019-11-15 20:59

@bartus I just did a system update and can no longer rebuild this package. Error is: Checking patch release/scripts/addons_contrib/object_facemap_auto/auto_fmap_widgets.py... error: while searching for:

    # 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: patch failed: release/scripts/addons_contrib/object_facemap_auto/auto_fmap_widgets.py:324 error: release/scripts/addons_contrib/object_facemap_auto/auto_fmap_widgets.py: patch does not apply ==> ERROR: A failure occurred in prepare(). Aborting...

bartus commented on 2019-10-10 17:46

@lehthanis: Perhaps there is an AUR helper out there that can pull this trick, but I'm not aware of one.

Edit: rebuild-detector is the one ;)

lehthanis commented on 2019-10-09 14:16

@bartus. I'm not using a helper...could that be my problem? I mean, I use auracle to download and check for aur package updates, but I just use makepkg -si for building aur packages...should I do this differently for reliable results? Thanks much for keeping this updated though!