From: Andrew Hewus Fresh Subject: Re: Link graphics/blender to cad/manifold (was Re: [NEW] cad/manifold 3.2.1 (cad/openscad dependency 2/4)) To: Stuart Henderson , ports@openbsd.org Date: Sat, 15 Nov 2025 15:13:44 -0800 On Sat, Nov 08, 2025 at 10:31:35AM -0800, Andrew Hewus Fresh wrote: > On Fri, Nov 07, 2025 at 10:43:50PM +0000, Stuart Henderson wrote: > > if blender works with it, using the separate port as a LIB_DEPENDS makes > > more sense. > > blender does seem to run and even though I don't know haw to use it, I > was able to make changes to the sphere it gave me on startup. > > However, `portcheck` already says: > > > the following libraries in WANTLIB look like masked by RUN_DEPENDS: atomic > > and `make lib-depends-check` complains (after manually adding Clipper2 > to WANTLIB because `make port-lib-depends-check didn't think it was > needed either) > > > blender-4.5.3p1(graphics/blender): > > Extra: Clipper2.0 > > Even though: > > $ ldd /usr/ports/pobj/blender-4.5.3/fake-amd64/usr/local/bin/blender-bin | grep -e Clipper -e manifold > 00000ad75d061000 00000ad75d120000 rlib 0 1 0 /usr/local/lib/libmanifold.so.0.0 > 00000ad7f6e96000 00000ad7f6ebe000 rlib 0 1 0 /usr/local/lib/libClipper2.so.0.0 Looking at the manifold port, it has clipper4 as a RUN/BUILD_DEPENDS nothing in blender's source seems to mention clipper, so there is something I don't fully understand. In any case, I _think_ the libClipper2 comes in via manifold somehow and so I don't think blender actually needs it in the Makefile. Comments, things that unconfuse me, OK? (with the cad/manifold port that I will resend) Index: Makefile =================================================================== RCS file: /cvs/ports/graphics/blender/Makefile,v diff -u -p -r1.144 Makefile --- Makefile 3 Nov 2025 11:01:27 -0000 1.144 +++ Makefile 14 Nov 2025 22:06:29 -0000 @@ -9,6 +9,7 @@ COMMENT = 3D creation software VERSION = 4.5.3 V = ${VERSION:R} DISTNAME = blender-${VERSION} +REVISION = 1 CATEGORIES = graphics @@ -22,10 +23,10 @@ WANTLIB += OpenColorIO OpenEXR-3_4 OpenE WANTLIB += OpenImageIO_Util X11 Xfixes Xi Xrender atomic avcodec WANTLIB += avdevice avfilter avformat avutil c epoxy execinfo WANTLIB += fftw3 fftw3f fftw3f_threads freetype gmp gmpxx hpdf -WANTLIB += jpeg m openal openjp2 openvdb osdCPU osdGPU pipewire-0.3 -WANTLIB += png potrace pugixml ${MODPY_WANTLIB} shaderc_shared sharpyuv -WANTLIB += sndfile swresample swscale tbb tiff util vulkan webp -WANTLIB += webpdemux webpmux z zstd +WANTLIB += jpeg m manifold openal openjp2 openvdb osdCPU osdGPU +WANTLIB += pipewire-0.3 png potrace pugixml python3.12 shaderc_shared +WANTLIB += sharpyuv sndfile swresample swscale tbb tiff util vulkan +WANTLIB += webp webpdemux webpmux z zstd SITES = https://download.blender.org/source/ \ @@ -70,6 +71,7 @@ BUILD_DEPENDS += archivers/woff2>=1.0.2p LIB_DEPENDS = archivers/zstd \ audio/libsndfile \ audio/openal \ + cad/manifold \ devel/gmp,-cxx \ devel/tbb \ graphics/alembic \ -- andrew If your computer says, "Printer out of Paper," this problem cannot be resolved by continuously clicking the "OK" button.