aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-09-27 21:09:06 +0800
committermiwi <miwi@FreeBSD.org>2006-09-27 21:09:06 +0800
commit76861f6cee19bb564083ba571497a8599f8966a7 (patch)
tree99b1e11c96a0ffacc9514b8a0b4c372cfbd431f7 /graphics
parent6139c540c384f370a7b7230cfba1ba0b7f09e3b4 (diff)
downloadfreebsd-ports-gnome-76861f6cee19bb564083ba571497a8599f8966a7.tar.gz
freebsd-ports-gnome-76861f6cee19bb564083ba571497a8599f8966a7.tar.zst
freebsd-ports-gnome-76861f6cee19bb564083ba571497a8599f8966a7.zip
- Update to 2.42a
PR: ports/102200 Submitted by: Armin Pirkovitsch <a.pirko@inode.at> Approved by: Maintainer timout
Diffstat (limited to 'graphics')
-rw-r--r--graphics/blender-devel/Makefile16
-rw-r--r--graphics/blender-devel/distinfo6
-rw-r--r--graphics/blender-devel/files/patch-SConstruct30
-rw-r--r--graphics/blender-devel/files/patch-intern_ghost-SConscript27
-rw-r--r--graphics/blender-devel/files/patch-source_blender_blenlib_intern-storage.c (renamed from graphics/blender-devel/files/patch-source_blender_blenlib_intern_storage.c)6
-rw-r--r--graphics/blender-devel/files/patch-user-config_py166
6 files changed, 209 insertions, 42 deletions
diff --git a/graphics/blender-devel/Makefile b/graphics/blender-devel/Makefile
index 9b8b8a7d7ad4..6dbcb410bafa 100644
--- a/graphics/blender-devel/Makefile
+++ b/graphics/blender-devel/Makefile
@@ -5,8 +5,7 @@
# $FreeBSD$
PORTNAME= blender
-PORTVERSION= 2.40
-PORTREVISION= 1
+PORTVERSION= 2.42a
CATEGORIES= graphics games
MASTER_SITES= http://download.blender.org/source/ \
ftp://ftp.cs.umn.edu/pub/blender.org/source/ \
@@ -16,15 +15,20 @@ PKGNAMESUFFIX= -devel
MAINTAINER= dyeske@yahoo.com
COMMENT= 3D modeling/rendering/animation/gaming package
-BUILD_DEPENDS= scons:${PORTSDIR}/devel/scons
+BUILD_DEPENDS= scons:${PORTSDIR}/devel/scons \
+ ${X11BASE}/lib/libftgl.a:${PORTSDIR}/graphics/ftgl
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
freetype.9:${PORTSDIR}/print/freetype2 \
png.5:${PORTSDIR}/graphics/png \
- tiff.4:${PORTSDIR}/graphics/tiff
+ tiff.4:${PORTSDIR}/graphics/tiff \
+ SDL.11:${PORTSDIR}/devel/sdl12 \
+ Half.2:${PORTSDIR}/graphics/OpenEXR \
+ gettextpo.1:${PORTSDIR}/devel/gettext \
+ avutil.1:${PORTSDIR}/multimedia/ffmpeg-devel
PLIST_FILES= bin/blender
USE_X_PREFIX= yes
-USE_PYTHON= yes
+USE_PYTHON= 2.3
USE_SDL= sdl
USE_GL= yes
@@ -44,6 +48,6 @@ do-build:
@cd ${WRKSRC} && scons
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/blender ${PREFIX}/bin
+ @${INSTALL_PROGRAM} ${WRKSRC}/../install/freebsd/blender ${PREFIX}/bin
.include <bsd.port.post.mk>
diff --git a/graphics/blender-devel/distinfo b/graphics/blender-devel/distinfo
index a15a5a2e0533..122d46899cfe 100644
--- a/graphics/blender-devel/distinfo
+++ b/graphics/blender-devel/distinfo
@@ -1,3 +1,3 @@
-MD5 (blender-2.40.tar.gz) = 3b58026ca9d0b26292ef39d7e2353f31
-SHA256 (blender-2.40.tar.gz) = 931a7b997f08ef6d7e917ba2f1ac203dd886fa8b7d598939fd0e405b7743317c
-SIZE (blender-2.40.tar.gz) = 9298365
+MD5 (blender-2.42a.tar.gz) = 3d60b7ebe0dea47da12744fe2462d96c
+SHA256 (blender-2.42a.tar.gz) = f046a66abe2e9a93a17ef1538f43642d2b6a6e48b55b804899fea59279dacd52
+SIZE (blender-2.42a.tar.gz) = 12295244
diff --git a/graphics/blender-devel/files/patch-SConstruct b/graphics/blender-devel/files/patch-SConstruct
deleted file mode 100644
index 13e53113a878..000000000000
--- a/graphics/blender-devel/files/patch-SConstruct
+++ /dev/null
@@ -1,30 +0,0 @@
---- SConstruct.orig Tue Dec 20 18:56:12 2005
-+++ SConstruct Tue Sep 12 17:15:19 2006
-@@ -735,7 +735,7 @@
- openal_libpath = ['/usr/lib']
- openal_include = ['/usr/include']
-
--elif sys.platform=='freebsd4' or sys.platform=='freebsd5':
-+elif sys.platform=='freebsd4' or sys.platform=='freebsd5' or sys.platform=='freebsd6' or sys.platform=='freebsd7':
- print "Building for FreeBSD"
- use_international = 'false'
- use_gameengine = 'false'
-@@ -773,13 +773,17 @@
- jpeg_lib = ['jpeg']
- jpeg_libpath = ['/usr/local/lib']
- jpeg_include = ['/usr/local/include']
-+ # Tiff Library information
-+ tiff_lib = ['libtiff']
-+ tiff_libpath = ['#../lib/windows/tiff/lib']
-+ tiff_include = ['#../lib/windows/tiff/include']
- # OpenGL library information
- opengl_lib = ['GL', 'GLU']
- opengl_static = ['/usr/lib/libGL.a', '/usr/lib/libGLU.a']
- opengl_libpath = ['/usr/lib', '/usr/X11R6/lib']
- opengl_include = ['/usr/X11R6/include/']
- # SDL library information
-- sdl_env.ParseConfig ('sdl11-config --cflags --libs')
-+ sdl_env.ParseConfig ('sdl-config --cflags --libs')
- sdl_cflags = sdl_env.Dictionary()['CCFLAGS']
- sdl_include = sdl_env.Dictionary()['CPPPATH']
- sdl_libpath = ['/usr/local/include/SDL11']
diff --git a/graphics/blender-devel/files/patch-intern_ghost-SConscript b/graphics/blender-devel/files/patch-intern_ghost-SConscript
new file mode 100644
index 000000000000..0eb4d3c16932
--- /dev/null
+++ b/graphics/blender-devel/files/patch-intern_ghost-SConscript
@@ -0,0 +1,27 @@
+--- intern/ghost/SConscript.orig Mon Jun 5 17:52:26 2006
++++ intern/ghost/SConscript Mon Aug 21 00:20:20 2006
+@@ -26,6 +26,24 @@
+ for f in pf:
+ sources.remove('intern' + os.sep + f + 'Win32.cpp')
+ sources.remove('intern' + os.sep + f + 'Carbon.cpp')
++elif window_system == 'freebsd4':
++ for f in pf:
++ sources.remove('intern' + os.sep + f + 'Win32.cpp')
++ sources.remove('intern' + os.sep + f + 'Carbon.cpp')
++elif window_system == 'freebsd5':
++ for f in pf:
++ sources.remove('intern' + os.sep + f + 'Win32.cpp')
++ sources.remove('intern' + os.sep + f + 'Carbon.cpp')
++elif window_system == 'freebsd6':
++ for f in pf:
++ sources.remove('intern' + os.sep + f + 'Win32.cpp')
++ sources.remove('intern' + os.sep + f + 'Carbon.cpp')
++elif window_system == 'freebsd7':
++ for f in pf:
++ sources.remove('intern' + os.sep + f + 'Win32.cpp')
++ sources.remove('intern' + os.sep + f + 'Carbon.cpp')
++
++
+ else:
+ print "Unknown window system specified."
+ Exit()
diff --git a/graphics/blender-devel/files/patch-source_blender_blenlib_intern_storage.c b/graphics/blender-devel/files/patch-source_blender_blenlib_intern-storage.c
index d85e50769d3e..d8f979bdbf3b 100644
--- a/graphics/blender-devel/files/patch-source_blender_blenlib_intern_storage.c
+++ b/graphics/blender-devel/files/patch-source_blender_blenlib_intern-storage.c
@@ -1,5 +1,5 @@
---- source/blender/blenlib/intern/storage.c.orig Fri Jul 7 14:15:04 2006
-+++ source/blender/blenlib/intern/storage.c Fri Jul 7 14:17:47 2006
+--- source/blender/blenlib/intern/storage.c.orig Sun Mar 19 14:28:01 2006
++++ source/blender/blenlib/intern/storage.c Mon Aug 21 23:50:20 2006
@@ -50,7 +50,7 @@
#include <time.h>
#include <sys/stat.h>
@@ -9,7 +9,7 @@
#include <sys/statfs.h>
#endif
-@@ -194,7 +194,7 @@
+@@ -196,7 +196,7 @@
#ifdef __BeOS
return -1;
#endif
diff --git a/graphics/blender-devel/files/patch-user-config_py b/graphics/blender-devel/files/patch-user-config_py
new file mode 100644
index 000000000000..b7ee12e68932
--- /dev/null
+++ b/graphics/blender-devel/files/patch-user-config_py
@@ -0,0 +1,166 @@
+--- user-config.py.orig Mon Aug 21 01:28:00 2006
++++ user-config.py Mon Aug 21 01:28:13 2006
+@@ -0,0 +1,163 @@
++LCGDIR = '../lib/freebsd'
++BF_PYTHON = '/usr/local'
++BF_PYTHON_VERSION = '2.3'
++BF_PYTHON_INC = '${BF_PYTHON}/include/python${BF_PYTHON_VERSION}'
++BF_PYTHON_BINARY = '${BF_PYTHON}/bin/python${BF_PYTHON_VERSION}'
++BF_PYTHON_LIB = 'python${BF_PYTHON_VERSION}'
++BF_PYTHON_LIBPATH = '${BF_PYTHON}/lib/python${BF_PYTHON_VERSION}/config'
++
++WITH_BF_OPENAL = 'false'
++BF_OPENAL = '/usr/local'
++BF_OPENAL_INC = '${BF_OPENAL}/include/AL'
++BF_OPENAL_LIB = 'openal'
++
++WITH_BF_SDL = 'true'
++BF_SDL = '/usr/local' #$(shell sdl-config --prefix)
++BF_SDL_INC = '${BF_SDL}/include/SDL' #$(shell $(BF_SDL)/bin/sdl-config --cflags)
++BF_SDL_LIB = 'SDL' #BF_SDL #$(shell $(BF_SDL)/bin/sdl-config --libs) -lSDL_mixer
++BF_SDL_LIBPATH = '${BF_SDL}/lib'
++
++WITH_BF_FMOD = 'false'
++BF_FMOD = LCGDIR + '/fmod'
++
++WITH_BF_OPENEXR = 'true'
++BF_OPENEXR = '/usr/local'
++BF_OPENEXR_INC = '${BF_OPENEXR}/include/OpenEXR'
++BF_OPENEXR_LIB = 'Half IlmImf Iex Imath '
++
++WITH_BF_JPEG = 'true'
++BF_JPEG = '/usr/local'
++BF_JPEG_INC = '${BF_JPEG}/include'
++BF_JPEG_LIB = 'jpeg'
++BF_JPEG_LIBPATH = '${BF_JPEG}/lib'
++
++WITH_BF_PNG = 'true'
++BF_PNG = '/usr/local'
++BF_PNG_INC = '${BF_PNG}/include/libpng'
++BF_PNG_LIB = 'png'
++BF_PNG_LIBPATH = '${BF_PNG}/lib'
++
++BF_TIFF = '/usr/local'
++BF_TIFF_INC = '${BF_TIFF}/include'
++
++WITH_BF_ZLIB = 'true'
++BF_ZLIB = '/usr'
++BF_ZLIB_INC = '${BF_ZLIB}/include'
++BF_ZLIB_LIB = 'z'
++
++WITH_BF_INTERNATIONAL = 'true'
++
++BF_GETTEXT = '/usr/local'
++BF_GETTEXT_INC = '${BF_GETTEXT}/include'
++BF_GETTEXT_LIB = 'intl iconv'
++BF_GETTEXT_LIBPATH = '${BF_GETTEXT}/lib'
++
++WITH_BF_FTGL = 'true'
++BF_FTGL = '/usr/X11R6'
++BF_FTGL_INC = '${BF_FTGL}/include/FTGL'
++BF_FTGL_LIB = 'extern_ftgl'
++#BF_FTGL = '#extern/bFTGL'
++#BF_FTGL_INC = '${BF_FTGL}/include'
++#BF_FTGL_LIB = 'extern_ftgl'
++
++
++WITH_BF_GAMEENGINE='true'
++
++WITH_BF_ODE = 'false'
++BF_ODE = LCGDIR + '/ode'
++BF_ODE_INC = BF_ODE + '/include'
++BF_ODE_LIB = BF_ODE + '/lib/libode.a'
++
++WITH_BF_BULLET = 'true'
++BF_BULLET = '#extern/bullet'
++BF_BULLET_INC = '${BF_BULLET}/LinearMath ${BF_BULLET}/BulletDynamics ${BF_BULLET}/Bullet'
++BF_BULLET_LIB = 'extern_bullet'
++
++BF_SOLID = '#extern/solid'
++BF_SOLID_INC = '${BF_SOLID}'
++BF_SOLID_LIB = 'extern_solid'
++
++#WITH_BF_NSPR = 'true'
++#BF_NSPR = $(LCGDIR)/nspr
++#BF_NSPR_INC = -I$(BF_NSPR)/include -I$(BF_NSPR)/include/nspr
++#BF_NSPR_LIB =
++
++# Uncomment the following line to use Mozilla inplace of netscape
++#CPPFLAGS += -DMOZ_NOT_NET
++# Location of MOZILLA/Netscape header files...
++#BF_MOZILLA = $(LCGDIR)/mozilla
++#BF_MOZILLA_INC = -I$(BF_MOZILLA)/include/mozilla/nspr -I$(BF_MOZILLA)/include/mozilla -I$(BF_MOZILLA)/include/mozilla/xpcom -I$(BF_MOZILLA)/include/mozilla/idl
++#BF_MOZILLA_LIB =
++# Will fall back to look in BF_MOZILLA_INC/nspr and BF_MOZILLA_LIB
++# if this is not set.
++#
++# Be paranoid regarding library creation (do not update archives)
++#BF_PARANOID = 'true'
++
++# enable freetype2 support for text objects
++BF_FREETYPE = '/usr/local'
++BF_FREETYPE_INC = '${BF_FREETYPE}/include ${BF_FREETYPE}/include/freetype2'
++BF_FREETYPE_LIB = 'freetype'
++BF_FREETYPE_LIBPATH = '${BF_FREETYPE}/lib'
++
++WITH_BF_QUICKTIME = 'false' # -DWITH_QUICKTIME
++BF_QUICKTIME = '/usr/local'
++BF_QUICKTIME_INC = '${BF_QUICKTIME}/include'
++
++# enable ffmpeg support
++WITH_BF_FFMPEG = 'true' # -DWITH_FFMPEG
++BF_FFMPEG = '/usr/local'
++BF_FFMPEG_INC = '${BF_FFMPEG}/include'
++BF_FFMPEG_LIBPATH='$(BF_FFMPEG)/lib'
++BF_FFMPEG_LIB = 'avformat avcodec avutil'
++
++# Mesa Libs should go here if your using them as well....
++WITH_BF_STATICOPENGL = 'true'
++BF_OPENGL = '/usr/X11R6'
++BF_OPENGL_INC = '${BF_OPENGL}/include'
++BF_OPENGL_LIB = 'OSMesa'
++BF_OPENGL_LIBPATH = '${BF_OPENGL}/lib'
++BF_OPENGL_LIB_STATIC = '${BF_OPENGL_LIBPATH}/libGL.so ${BF_OPENGL_LIBPATH}/libGLU.a ${BF_OPENGL_LIBPATH}/libXxf86vm.a ${BF_OPENGL_LIBPATH}/libX11.a ${BF_OPENGL_LIBPATH}/libXi.a ${BF_OPENGL_LIBPATH}/libXext.a ${BF_OPENGL_LIBPATH}/libXxf86vm.a'
++
++##
++CC = 'gcc'
++CXX = 'g++'
++##ifeq ($CPU),alpha)
++## CFLAGS += -pipe -fPIC -funsigned-char -fno-strict-aliasing -mieee
++
++CCFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing']
++
++CPPFLAGS = ['-DXP_UNIX','-I/usr/local/include','-I/usr/X11R6/include']
++CXXFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing','-I/usr/local/include','-I/usr/X11R6/include']
++REL_CFLAGS = ['-O2']
++REL_CCFLAGS = ['-O2']
++##BF_DEPEND = 'true'
++##
++##AR = ar
++##ARFLAGS = ruv
++##ARFLAGSQUIET = ru
++##
++CC = 'gcc'
++CXX = 'g++'
++C_WARN = '-Wall'
++
++CC_WARN = '-Wall'
++
++##FIX_STUBS_WARNINGS = -Wno-unused
++
++LLIBS = 'util m pthread stdc++'
++##LOPTS = --dynamic
++##DYNLDFLAGS = -shared $(LDFLAGS)
++
++BF_PROFILE_FLAGS = ['-pg','-g']
++BF_PROFILE = 'false'
++
++BF_DEBUG = 'false'
++BF_DEBUG_FLAGS = ''
++
++BF_BUILDDIR = '../build/freebsd'
++BF_INSTALLDIR='../install/freebsd'
++
++
++#Link against pthread
++PLATFORM_LINKFLAGS = ['-pthread','-L/usr/local/lib','-L/usr/X11R6/lib']