FS#69351 - [blender] "Testing" Add-ons (addons-contrib repository) missing from package

Attached to Project: Community Packages
Opened by Jannik Vogel (JayFoxRox) - Sunday, 17 January 2021, 09:08 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 26 January 2021, 22:18 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The PKGBUILD explicitly adds a submodule for addons-contrib, but the contained add-ons don't seem to be installed by the pre-built "blender" package. I did not try building the package locally (yet).

The addons-contrib folder exists after install, but it's empty (when it should contain add-on scripts).

Empty folder shown here:
$ pacman -Ql blender | grep contrib
blender /usr/share/blender/2.91/scripts/addons_contrib/

You can also spot this issue in blender itself, by starting the blender UI, then go to: "Edit" > "Preferences" > "Add-ons" > "Testing". The add-on list will be empty.

I've also checked the official stable release from https://www.blender.org/download/ and it doesn't seem to contain the "Testing" Add-ons (addons-contrib repository) either, so this might be intended (but why is there explicit support in the PKGBUILD then? See below).
However, the official "Experimental" releases on https://builder.blender.org/download/ does have these add-ons after all.
I'd also expect arch to ship these add-ons (either as part of blender, or as another package).


Additional info:

PKG Version is 2.91.0-9:
$ pacman -Q blender
blender 17:2.91.0-9

Explicit support appears to be here:
https://github.com/archlinux/svntogit-community/blob/68e4a34fa3542c0a7543498db1c09870558ba2bf/trunk/PKGBUILD#L45

Here is a web-view for that repository at the specified revision (not empty):
https://git.blender.org/gitweb/gitweb.cgi/blender-addons-contrib.git/tree/refs/tags/v2.91.0


Steps to reproduce:

Install blender and check if the folder is empty. In blender, no add-ons will be shown under "Testing"
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Tuesday, 26 January 2021, 22:18 GMT
Reason for closing:  Implemented
Comment by Jannik Vogel (JayFoxRox) - Sunday, 17 January 2021, 09:30 GMT
Appears to be intentional for final releases in blender:

- Binary package: https://github.com/blender/blender/blob/14bb9f09ab985e44745f271608848c35babc62bc/source/creator/CMakeLists.txt#L351-L357
- Source package: https://github.com/blender/blender/blob/14bb9f09ab985e44745f271608848c35babc62bc/build_files/utils/make_source_archive.sh#L13-L19

I'd still like to see an arch linux package which contains these add-ons.
https://developer.blender.org/T63750 moved a lot of add-ons to contrib, and migrating them back to official add-ons is a slow process.

However, many of these add-ons are still very usable.

If included, they'd also be disabled by default and shown under "Testing", so including them in the blender package shouldn't hurt.
It's probably also worth discussing this with upstream.
Comment by Sven-Hendrik Haase (Svenstaro) - Tuesday, 26 January 2021, 22:15 GMT
The reason it's in the package is purely historical. Anyway, I don't really think we need to follow upstream here. I don't see much harm in installing a few disabled-by-default Python scripts which I'd otherwise just package separately.

Loading...