pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/blender Update blender to version 2.45



details:   https://anonhg.NetBSD.org/pkgsrc/rev/320450c7e2ff
branches:  trunk
changeset: 537193:320450c7e2ff
user:      markd <markd%pkgsrc.org@localhost>
date:      Fri Jan 04 19:56:45 2008 +0000

description:
Update blender to version 2.45

pkgsrc changes:
use cmake rather than SCons to build.
DESTDIR support

2.45
The 2.45 is a bugfix release, to stabilize the 2.4x series.
No new feature have been added, but serious effort has been put in
tracking bugs and fixing them. Some performance issues have also been
addressed.

2.44
This release adds subsurface scattering, improved sculpting tools, ffmpeg
support for additional platforms, a number of animation tool improvements,
and a huge number of Python scripts and API enhancements.

2.43
This release features sculpting meshes that work as if they were clay,
render passes, retopology painting, multi-resolution meshes, texture map
and light map baking, support for multiple uv sets, fast 3D painting,
defocus blur node, multi-layer image read/write, painting in video
sequences, matte, key, and difference composite nodes, a number of
improved 3D animation tools such as proxy objects, walk cycles, simulation
tool improvements for fluid dynamics, hard body dynamics, and cloth and
softbody dynamics. There were also additional compositing and video
editing improvements.

2.42
This release is the result of work done for the Elephants Dream short
film. It includes major feature additions such as node based materials,
node based compositing, a renderer rewrite, improved UV tools, improved
character tools, an array modifier, and a host of other improvements.

diffstat:

 graphics/blender/Makefile         |   62 ++++---
 graphics/blender/PLIST            |  287 +++++++++++++++++++++++++++----------
 graphics/blender/distinfo         |   14 +-
 graphics/blender/patches/patch-aa |   14 -
 graphics/blender/patches/patch-ad |   13 +
 graphics/blender/patches/patch-ae |  126 ----------------
 graphics/blender/patches/patch-af |   13 -
 graphics/blender/patches/patch-ag |   13 -
 graphics/blender/patches/patch-ai |   13 +
 9 files changed, 271 insertions(+), 284 deletions(-)

diffs (truncated from 640 to 300 lines):

diff -r 08cfa89a7b04 -r 320450c7e2ff graphics/blender/Makefile
--- a/graphics/blender/Makefile Fri Jan 04 19:53:36 2008 +0000
+++ b/graphics/blender/Makefile Fri Jan 04 19:56:45 2008 +0000
@@ -1,21 +1,20 @@
-# $NetBSD: Makefile,v 1.58 2007/02/22 19:30:04 wiz Exp $
+# $NetBSD: Makefile,v 1.59 2008/01/04 19:56:45 markd Exp $
 
-DISTNAME=      blender-2.41
-PKGREVISION=   3
+DISTNAME=      blender-2.45
 CATEGORIES=    graphics
 MASTER_SITES=  ftp://ftp.cs.umn.edu/pub/blender.org/source/ \
                http://download.blender.org/source/
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://www.blender.org/cms/Home.2.0.html
+HOMEPAGE=      http://www.blender.org/
 COMMENT=       Fully integrated 3D graphics creation suite
 
-BUILD_DEPENDS+=                scons>=0.96:../../devel/scons
-
-WRKSRC=                        ${WRKDIR}/blender
-USE_LIBTOOL=           yes
 USE_TOOLS+=            gmake
 USE_LANGUAGES=         c c++
+USE_CMAKE=             yes
+CMAKE_ARG_PATH=                ..
+CONFIGURE_DIRS=                _build
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 LDFLAGS+=              -lcrypto
 
@@ -23,28 +22,37 @@
 
 INSTALLATION_DIRS=     bin
 
-# remember to change the line number after an update
-post-patch:
-       ${MV} ${WRKSRC}/SConstruct ${WRKSRC}/SConstruct.orig
-       ${AWK} '{print} NR == 62 {print "env.Append(LINKFLAGS = \"-Wl,-R${X11BASE}/lib,-R${LOCALBASE}/lib\")"}' ${WRKSRC}/SConstruct.orig > ${WRKSRC}/SConstruct
+CMAKE_ARGS+=   -DFREETYPE_INC=${BUILDLINK_PREFIX.freetype2}/include/freetype2
+CMAKE_ARGS+=   -DSDL_INCLUDE_DIR=${BUILDLINK_PREFIX.SDL}/include/SDL
+
+CHECK_INTERPRETER_SKIP= share/blender/scripts/*.py share/blender/scripts/*/*.py
+
+pre-configure:
+       ${MKDIR} ${WRKSRC}/_build
 
-do-build:
-       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
-               ADD_C_INCLUDE_DIRS=${WRKDIR}/.buildlink/include ADD_C_LIB_DIRS=${WRKDIR}/.buildlink/lib \
-               ${PREFIX}/bin/scons -C ${WRKSRC} prefix=${PREFIX}
+WRKSRCBIN=     ${WRKSRC}/_build/bin
+
+post-build:
+       ${CP} -f ${WRKSRCBIN}/blender ${WRKSRCBIN}/blender-bin
+       ${SED} -e "s|__PREFIX__|${PREFIX}|g" files/blender > ${WRKSRCBIN}/blender
+       ${CHMOD} +x ${WRKSRCBIN}/blender
+       ${CHMOD} -x ${WRKSRCBIN}/.blender/scripts/*.py
+       ${CHMOD} -x ${WRKSRCBIN}/.blender/scripts/*/*.py
 
 do-install:
-       ${CP} -f ${WRKSRC}/blender ${WRKSRC}/blender-bin
-       ${SED} -e "s|__PREFIX__|${PREFIX}|g" files/blender > ${WRKDIR}/blender/bin/blender
-       ${CHMOD} +x ${WRKDIR}/blender/bin/blender
-       ${INSTALL_PROGRAM} ${WRKSRC}/blender-bin ${PREFIX}/bin
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/blender/scripts
-       ${INSTALL_DATA} ${WRKSRC}/release/scripts/*.py \
-               ${PREFIX}/share/blender/scripts
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/blender/scripts/bpymodules
-       ${INSTALL_DATA} ${WRKSRC}/release/scripts/bpymodules/*.py \
-               ${PREFIX}/share/blender/scripts/bpymodules
-       ${INSTALL} ${WRKDIR}/blender/bin/blender ${PREFIX}/bin
+       ${INSTALL_PROGRAM} ${WRKSRCBIN}/blender-bin ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_SCRIPT} ${WRKSRCBIN}/blender ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/blender
+       ${CP} -R ${WRKSRCBIN}/.blender/scripts \
+               ${DESTDIR}${PREFIX}/share/blender/
+       ${CP} -R ${WRKSRCBIN}/.blender/locale \
+               ${DESTDIR}${PREFIX}/share/blender/
+       ${INSTALL_DATA} ${WRKSRCBIN}/.blender/.Blanguages \
+               ${DESTDIR}${PREFIX}/share/blender
+       ${INSTALL_DATA} ${WRKSRCBIN}/.blender/.bfont.ttf \
+               ${DESTDIR}${PREFIX}/share/blender
+       ${INSTALL_DATA} ${WRKSRCBIN}/BlenderQuickStart.pdf \
+               ${DESTDIR}${PREFIX}/share/blender
 
 .include "../../devel/SDL/buildlink3.mk"
 .include "../../graphics/Mesa/buildlink3.mk"
diff -r 08cfa89a7b04 -r 320450c7e2ff graphics/blender/PLIST
--- a/graphics/blender/PLIST    Fri Jan 04 19:53:36 2008 +0000
+++ b/graphics/blender/PLIST    Fri Jan 04 19:56:45 2008 +0000
@@ -1,105 +1,226 @@
-@comment $NetBSD: PLIST,v 1.5 2006/02/10 20:34:25 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2008/01/04 19:56:45 markd Exp $
 bin/blender
 bin/blender-bin
-share/blender/scripts/3ds_export.py
-share/blender/scripts/3ds_import.py
-share/blender/scripts/Apply_def.py
-share/blender/scripts/Axiscopy.py
-share/blender/scripts/DirectX8Exporter.py
-share/blender/scripts/DirectXExporter.py
-share/blender/scripts/ac3d_export.py
-share/blender/scripts/ac3d_import.py
-share/blender/scripts/archimap.py
-share/blender/scripts/armature_symetry.py
-share/blender/scripts/bevel_center.py
-share/blender/scripts/blender2cal3d.py
-share/blender/scripts/blenderLipSynchro.py
-share/blender/scripts/bpymodules/BPyBlender.py
-share/blender/scripts/bpymodules/BPyMathutils.py
-share/blender/scripts/bpymodules/BPyNMesh.py
-share/blender/scripts/bpymodules/BPyRegistry.py
-share/blender/scripts/bpymodules/ai2obj.py
-share/blender/scripts/bpymodules/boxpack2d.py
+share/blender/.bfont.ttf
+share/blender/.Blanguages
+share/blender/BlenderQuickStart.pdf
+share/blender/locale/nl/LC_MESSAGES/blender.mo
+share/blender/locale/pt_br/LC_MESSAGES/blender.mo
+share/blender/locale/ja/LC_MESSAGES/blender.mo
+share/blender/locale/cs/LC_MESSAGES/blender.mo
+share/blender/locale/fr/LC_MESSAGES/blender.mo
+share/blender/locale/pl/LC_MESSAGES/blender.mo
+share/blender/locale/zh_cn/LC_MESSAGES/blender.mo
+share/blender/locale/sr@Latn/LC_MESSAGES/blender.mo
+share/blender/locale/ar/LC_MESSAGES/blender.mo
+share/blender/locale/bg/LC_MESSAGES/blender.mo
+share/blender/locale/ru/LC_MESSAGES/blender.mo
+share/blender/locale/de/LC_MESSAGES/blender.mo
+share/blender/locale/es/LC_MESSAGES/blender.mo
+share/blender/locale/it/LC_MESSAGES/blender.mo
+share/blender/locale/hr/LC_MESSAGES/blender.mo
+share/blender/locale/sr/LC_MESSAGES/blender.mo
+share/blender/locale/uk/LC_MESSAGES/blender.mo
+share/blender/locale/fi/LC_MESSAGES/blender.mo
+share/blender/locale/ro/LC_MESSAGES/blender.mo
+share/blender/locale/hr_HR/LC_MESSAGES/blender.mo
+share/blender/locale/ca/LC_MESSAGES/blender.mo
+share/blender/locale/sv/LC_MESSAGES/blender.mo
+share/blender/scripts/bpydata/config/readme.txt
+share/blender/scripts/bpydata/readme.txt
+share/blender/scripts/bpydata/KUlang.txt
+share/blender/scripts/bpymodules/colladaImEx/cutils.py
+share/blender/scripts/bpymodules/colladaImEx/__init__.py
+share/blender/scripts/bpymodules/colladaImEx/xmlUtils.py
+share/blender/scripts/bpymodules/colladaImEx/collada.py
+share/blender/scripts/bpymodules/colladaImEx/logo.png
+share/blender/scripts/bpymodules/colladaImEx/cstartup.py
+share/blender/scripts/bpymodules/colladaImEx/helperObjects.py
+share/blender/scripts/bpymodules/colladaImEx/translator.py
+share/blender/scripts/bpymodules/BPyCurve.py
 share/blender/scripts/bpymodules/defaultdoodads.py
+share/blender/scripts/bpymodules/meshtools.py
+share/blender/scripts/bpymodules/BPyWindow.py
+share/blender/scripts/bpymodules/BPyMesh_redux.py
+share/blender/scripts/bpymodules/BPyRender.py
+share/blender/scripts/bpymodules/dxfReader.py
+share/blender/scripts/bpymodules/BPyMessages.py
+share/blender/scripts/bpymodules/BPyObject.py
+share/blender/scripts/bpymodules/dxfColorMap.py
 share/blender/scripts/bpymodules/eps2obj.py
 share/blender/scripts/bpymodules/gimp2obj.py
-share/blender/scripts/bpymodules/meshtools.py
+share/blender/scripts/bpymodules/BPyBlender.py
+share/blender/scripts/bpymodules/BPyMesh.py
+share/blender/scripts/bpymodules/BPyMesh_octree.py
+share/blender/scripts/bpymodules/BPySys.py
+share/blender/scripts/bpymodules/mesh_gradient.py
+share/blender/scripts/bpymodules/BPyAddMesh.py
+share/blender/scripts/bpymodules/BPyNMesh.py
+share/blender/scripts/bpymodules/ai2obj.py
+share/blender/scripts/bpymodules/BPyRegistry.py
+share/blender/scripts/bpymodules/BPyImage.py
+share/blender/scripts/bpymodules/BPyArmature.py
+share/blender/scripts/bpymodules/BPyMathutils.py
 share/blender/scripts/bpymodules/svg2obj.py
-share/blender/scripts/bvh2arm.py
-share/blender/scripts/bvh_export.py
+share/blender/scripts/blenderLipSynchro.py
+share/blender/scripts/slp_import.py
 share/blender/scripts/bvh_import.py
-share/blender/scripts/camera_changer.py
-share/blender/scripts/collada_export.py
+share/blender/scripts/3ds_import.py
+share/blender/scripts/uv_from_adjacent.py
+share/blender/scripts/object_batch_name_edit.py
+share/blender/scripts/vertexpaint_gradient.py
+share/blender/scripts/mesh_solidify.py
+share/blender/scripts/widgetwizard.py
+share/blender/scripts/vertexpaint_selfshadow_ao.py
+share/blender/scripts/uv_seams_from_islands.py
+share/blender/scripts/vrml97_export.py
+share/blender/scripts/sysinfo.py
+share/blender/scripts/weightpaint_envelope_assign.py
+share/blender/scripts/ac3d_import.py
+share/blender/scripts/help_manual.py
+share/blender/scripts/uvcalc_follow_active_coords.py
+share/blender/scripts/faceselect_same_weights.py
+share/blender/scripts/mesh_poly_reduce.py
 share/blender/scripts/collada_import.py
-share/blender/scripts/config.py
-share/blender/scripts/console.py
-share/blender/scripts/discombobulator.py
-share/blender/scripts/disp_paint.py
-share/blender/scripts/doc_browser.py
-share/blender/scripts/envelope_assignment.py
-share/blender/scripts/envelope_symmetry.py
-share/blender/scripts/fixfromarmature.py
-share/blender/scripts/flt_export.py
-share/blender/scripts/flt_filewalker.py
-share/blender/scripts/flt_import.py
-share/blender/scripts/help_browser.py
+share/blender/scripts/mesh_skin.py
+share/blender/scripts/weightpaint_copy.py
 share/blender/scripts/help_getting_started.py
-share/blender/scripts/help_manual.py
-share/blender/scripts/help_py_reference.py
+share/blender/scripts/image_billboard.py
+share/blender/scripts/3ds_export.py
+share/blender/scripts/export_map.py
 share/blender/scripts/help_release_notes.py
-share/blender/scripts/help_tutorials.py
+share/blender/scripts/collada_export.py
+share/blender/scripts/export-iv-0.1.py
+share/blender/scripts/object_random_loc_sz_rot.py
+share/blender/scripts/mesh_cleanup.py
+share/blender/scripts/ac3d_export.py
+share/blender/scripts/save_theme.py
+share/blender/scripts/object_sel2dupgroup.py
 share/blender/scripts/help_web_blender.py
-share/blender/scripts/help_web_devcomm.py
+share/blender/scripts/lightwave_import.py
+share/blender/scripts/image_find_paths.py
+share/blender/scripts/mesh_wire.py
+share/blender/scripts/mesh_boneweight_copy.py
+share/blender/scripts/object_drop.py
+share/blender/scripts/weightpaint_gradient.py
+share/blender/scripts/DirectX8Exporter.py
+share/blender/scripts/ply_import.py
+share/blender/scripts/object_apply_def.py
+share/blender/scripts/vertexpaint_from_material.py
+share/blender/scripts/import_mdd.py
+share/blender/scripts/export_obj.py
+share/blender/scripts/scripttemplate_mesh_edit.py
 share/blender/scripts/help_web_eshop.py
-share/blender/scripts/help_web_usercomm.py
-share/blender/scripts/hotkeys.py
-share/blender/scripts/kloputils.py
-share/blender/scripts/knife.py
+share/blender/scripts/export_mdd.py
+share/blender/scripts/DirectX8Importer.py
+share/blender/scripts/object_cookie_cutter.py
+share/blender/scripts/IDPropBrowser.py
+share/blender/scripts/uvcalc_smart_project.py
 share/blender/scripts/lightwave_export.py
-share/blender/scripts/lightwave_import.py
-share/blender/scripts/md2_export.py
+share/blender/scripts/envelope_symmetry.py
+share/blender/scripts/bevel_center.py
+share/blender/scripts/weightpaint_clean.py
+share/blender/scripts/xsi_export.py
+share/blender/scripts/help_web_usercomm.py
+share/blender/scripts/import_obj.py
+share/blender/scripts/uvcopy.py
+share/blender/scripts/rvk1_torvk2.py
 share/blender/scripts/md2_import.py
-share/blender/scripts/mesh_bbrush_menu.py
-share/blender/scripts/mesh_cleanup.py
-share/blender/scripts/mesh_tri2quad.py
-share/blender/scripts/mirror_bone_weights.py
-share/blender/scripts/nendo_export.py
-share/blender/scripts/nendo_import.py
+share/blender/scripts/image_auto_layout.py
+share/blender/scripts/camera_changer.py
+share/blender/scripts/flt_export.py
+share/blender/scripts/export_lightwave_motion.py
+share/blender/scripts/export_fbx.py
+share/blender/scripts/uvcalc_quad_clickproj.py
+share/blender/scripts/ply_export.py
+share/blender/scripts/Axiscopy.py
+share/blender/scripts/raw_import.py
+share/blender/scripts/off_export.py
+share/blender/scripts/xfig_export.py
+share/blender/scripts/object_find.py
+share/blender/scripts/weightpaint_grow_shrink.py
+share/blender/scripts/console.py
+share/blender/scripts/uvcalc_lightmap.py
+share/blender/scripts/animation_trajectory.py
+share/blender/scripts/discombobulator.py
+share/blender/scripts/armature_symmetry.py
+share/blender/scripts/raw_export.py
 share/blender/scripts/obdatacopier.py
-share/blender/scripts/obj_export.py
-share/blender/scripts/obj_import.py
-share/blender/scripts/object_batch_name_edit.py
-share/blender/scripts/off_export.py
-share/blender/scripts/off_import.py
+share/blender/scripts/config.py



Home | Main Index | Thread Index | Old Index