[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Blender



On Sat, May 14, 2005 at 05:38:38PM -0700, Jacob Meuser wrote:
> On Sun, May 15, 2005 at 12:14:32AM +0200, Alexandre Anriot wrote:
> > Alek@ and I have began 3 weeks ago an update of blender port.
> > 
> > The goal is to replace the existing one by a source-based one. This work
> > is not finished yet, and many problems are still here. For example, even
> > if we use our openal stuff, it seems to be a missing object of a
> > building failure when building the SoundSystem.
> > 
> > For now, it builds and runs, even if your mouse could being stuck on
> > screen's left if you roll over a top-button.
> > 
> > The port is attached, we would be pleased to get any feedback or help.
> 
> I tried to build it (my system is up to date -current amd64, I just
> installed the latest snap and built quite sme ports without
> any problems), it seems to have built, but it would not package:

patch against the previously attached port tarball below.

starts up and closes cleanly on amd64, and I can do some stuff, but
I have no idea of how to test it's capabilities, or if it's working
properly.

lib-depends-check complains about extra libs.  I guess this is what
you are saying needs fixing ...

got any pointers to info on using blender?

-- 
<jakemsr_(_at_)_jakemsr_(_dot_)_com>

diff -ur graphics/blender/Makefile.orig graphics/blender/Makefile
--- graphics/blender/Makefile.orig	Sat May 14 13:29:06 2005
+++ graphics/blender/Makefile	Sat May 14 18:47:20 2005
@@ -2,8 +2,6 @@
 
 COMMENT=	"3D creation software"
 
-_ONLY_FOR_ARCHS=	i386
-
 DISTNAME=	blender-2.36
 CATEGORIES=	graphics
 
@@ -25,14 +23,13 @@
 
 WRKDIST=        ${WRKDIR}/blender
 
-WANTLIB=	c pthread m z png util X11 Xext stdc++
+WANTLIB=	X11 Xext c pthread m png stdc++ usbhid util z
 
-LIB_DEPENDS=	python.2.3::lang/python/2.3 \
+LIB_DEPENDS=	python2.3.0.0::lang/python/2.3 \
 		png.3::graphics/png \
 		jpeg.62::graphics/jpeg \
 		glut.3.7::graphics/glut \
 		SDL.3::devel/sdl \
-		usbhid.3::devel/libusb \
 		openal::audio/openal
 
 USE_GMAKE=	Yes
@@ -40,7 +37,7 @@
 MAKE_ENV+=	LDFLAGS="${LDFLAGS}" SRCHOME=${WRKDIST}/source
 MAKE_ARGS+=	LDFLAGS="${LDFLAGS}" SRCHOME=${WRKDIST}/source
 
-LDFLAGS+= -L${LOCALBASE}/lib -lpthread -lutil -lz -lpng -lm
+LDFLAGS+= -L${LOCALBASE}/lib -pthread -lutil -lz -lpng -lm
 
 post-extract:
 	@rm ${WRKSRC}/intern/SoundSystem/openal/pthread_cancel.cpp
@@ -52,7 +49,8 @@
 		${WRKSRC}/source/nan_link.mk
 
 do-install:
-	${WRKDIST}/source/tools/guess/guessconfig
-	ln -s ${PREFIX}/bin/blenderstatic ${PREFIX}/bin/blender
+	@_dir="`env SRCHOME=${WRKDIST}/source ${WRKDIST}/source/tools/guess/guessconfig`" && \
+		${INSTALL_PROGRAM} \
+		${WRKBUILD}/obj/$${_dir}/bin/blenderstatic ${PREFIX}/bin/blender
 
 .include <bsd.port.mk>
diff -ur graphics/blender/pkg/PLIST.orig graphics/blender/pkg/PLIST
--- graphics/blender/pkg/PLIST.orig	Sat May 14 13:29:26 2005
+++ graphics/blender/pkg/PLIST	Sat May 14 18:02:19 2005
@@ -1,2 +1,2 @@
 @comment $OpenBSD: PLIST,v 1.3 2004/09/15 00:50:08 espie Exp $
-bin/blenderstatic
+bin/blender