Sven-Hendrik Haase pushed to branch main at Arch Linux / Packaging / Packages / 
blender


Commits:
50b157ba by Toolybird at 2026-03-04T12:29:21+11:00
Apply workaround to fix faulty manpage generation

Technically it is an upstream problem. However, the upstream support for
DESTDIR installations seems to be lacking when a DSO is involved. In our
case the python manpage creation script fails to find the shared lib
libcycles_kernel_oneapi_aot.so. We therefore work around the problem by
inserting a suitable LD_LIBRARY_PATH assignment.

Fixes 
https://gitlab.archlinux.org/archlinux/packaging/packages/blender/-/issues/19

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -144,6 +144,11 @@ prepare() {
   local _hiprt_api_ver
   _hiprt_api_ver=$(awk '/HIPRT_API_VERSION/ {print $3}' 
/opt/rocm/include/hiprt/hiprtew.h)
   sed -i "/HIPRT_API_VERSION/s/2005/$_hiprt_api_ver/" 
extern/hipew/include/hiprtew.h
+
+  # TODO Dirty hack / workaround to fix faulty manpage generation.. arguably 
an upstream issue.
+  # 
https://gitlab.archlinux.org/archlinux/packaging/packages/blender/-/issues/19
+  sed -i "/blender_help = subprocess/i\    blender_env = {\"LD_LIBRARY_PATH\": 
\"${pkgdir}/usr/share/blender/lib\"}" \
+    doc/manpage/blender.1.py
 }
 
 _get_pyver() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/blender/-/commit/50b157ba7a8533bcfe5d31e77042fcc1c010167c

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/blender/-/commit/50b157ba7a8533bcfe5d31e77042fcc1c010167c
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to