summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
author Christoph Willing2023-12-05 11:39:04 +0100
committer Willy Sudiarto Raharjo2023-12-09 01:49:11 +0100
commitf68bc2e9c478a096a1818871f39fad666d24e0be (patch)
tree3a5c32feaeb4c3c2876242a7d41fb921021ef763 /graphics
parent2ccedcabbebe839bd07d93e9ee1a3de2c7679176 (diff)
downloadslackbuilds-f68bc2e9c478a096a1818871f39fad666d24e0be.tar.gz
graphics/Blender: Suppress manpage when OSL detected
Signed-off-by: Christoph Willing <chris.willing@linux.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Blender/Blender.SlackBuild13
-rw-r--r--graphics/Blender/README12
2 files changed, 17 insertions, 8 deletions
diff --git a/graphics/Blender/Blender.SlackBuild b/graphics/Blender/Blender.SlackBuild
index dba9fbdb15..93a62dc7a4 100644
--- a/graphics/Blender/Blender.SlackBuild
+++ b/graphics/Blender/Blender.SlackBuild
@@ -31,7 +31,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=Blender
VERSION=${VERSION:-3.3.10}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -161,10 +161,13 @@ EOF
chmod 0755 $PKG/usr/bin/$bin
done
-mkdir -p $PKG/usr/man/man1
-./doc/manpage/blender.1.py --blender build/bin/blender --output $PKG/usr/man/man1/blender.1
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+# Recent OSL breaks manpage generation
+if [ ! -e "/usr/lib$LIBDIRSUFFIX/liboslcomp.so" ]; then
+ mkdir -p $PKG/usr/man/man1
+ ./doc/manpage/blender.1.py --blender build/bin/blender --output $PKG/usr/man/man1/blender.1
+ find $PKG/usr/man -type f -exec gzip -9 {} \;
+ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/share/doc/$SRCNAM/* $PKG/usr/doc/$PRGNAM-$VERSION/
diff --git a/graphics/Blender/README b/graphics/Blender/README
index d8d09ad6bb..8fd9285fea 100644
--- a/graphics/Blender/README
+++ b/graphics/Blender/README
@@ -9,7 +9,7 @@ scripting, rendering, compositing, post-production and game creation.
CUDA support is included if cudatoolkit is installed.
It may be disabled by passing CUDA=no when building:
- CUDA=no sh ./Blender.SlackBuild
+ CUDA=no bash ./Blender.SlackBuild
CUDA support hasn't been thorougly tested, and may break the build. If
so, build with CUDA=no and report a bug to the maintainer of this
@@ -17,7 +17,7 @@ script.
Optional dependency: embree. If installed, Blender will be built with
support for it. It may be disabled by passing EMBREE=no when building:
- EMBREE=no sh ./Blender.SlackBuild
+ EMBREE=no bash ./Blender.SlackBuild
Note for 32-bit users: embree is 64-bit only, and can't be built on
32-bit Slackware.
@@ -28,7 +28,13 @@ be automatically detected and incorporated when Blender is built.
To enable support for OptiX Ray Tracing Engine, the OptiX SDK must be
available in the build environment. Use the OPTIX_ROOT_DIR environment
variable to identify the SDK location e.g.
- OPTIX_ROOT_DIR=/home/chris/NVIDIA-OptiX-SDK-7.6.0-linux64-x86_64 sh ./Blender.SlackBuild
+ OPTIX_ROOT_DIR=/home/chris/NVIDIA-OptiX-SDK-7.6.0-linux64-x86_64 bash ./Blender.SlackBuild
+
+Optional dependency: OpenShadingLanguage (OSL). If already installed,
+it will be automatically detected and incorporated when Blender is built.
+Due to an unresolved issue with the current OSL version, generation of
+the blender manpage is suppressed when OSL is detected.
+
This SlackBuild builds Blender from source code. For Slackware 15.0,
due to its Python 3 version of 3.9.17, the Blender version to be built