diff options
author | fanch <fanchyannmaria at orange dot fr> | 2010-06-13 16:36:24 +0200 |
---|---|---|
committer | fanch <fanchyannmaria at orange dot fr> | 2010-06-13 16:36:24 +0200 |
commit | a507b2f061cc4a05c9d151f4591590ea84b25ba2 (patch) | |
tree | e8f03ab9704a5726bb4d2fbdfb14b4c8e83c05a6 /extra/blender | |
parent | 5361762d094cc0b4131977e81ca6c966f1ac02e3 (diff) | |
download | nutyx-pakxe-a507b2f061cc4a05c9d151f4591590ea84b25ba2.tar.gz nutyx-pakxe-a507b2f061cc4a05c9d151f4591590ea84b25ba2.tar.bz2 nutyx-pakxe-a507b2f061cc4a05c9d151f4591590ea84b25ba2.tar.xz nutyx-pakxe-a507b2f061cc4a05c9d151f4591590ea84b25ba2.zip |
ajout de blender#2.49a-1
Diffstat (limited to 'extra/blender')
-rw-r--r-- | extra/blender/.footprint | 210 | ||||
-rw-r--r-- | extra/blender/.md5sum | 3 | ||||
-rw-r--r-- | extra/blender/Pkgfile | 107 | ||||
-rw-r--r-- | extra/blender/blender.desktop | 19 | ||||
-rw-r--r-- | extra/blender/blender.desktop~ | 1 | ||||
-rw-r--r-- | extra/blender/blender.install | 40 | ||||
-rw-r--r-- | extra/blender/blender.install~ | 1 | ||||
-rw-r--r-- | extra/blender/blender.svg | 172 | ||||
-rw-r--r-- | extra/blender/blender_x86_64.diff | 12 | ||||
-rw-r--r-- | extra/blender/config.py | 167 |
10 files changed, 732 insertions, 0 deletions
diff --git a/extra/blender/.footprint b/extra/blender/.footprint new file mode 100644 index 000000000..bc04e051f --- /dev/null +++ b/extra/blender/.footprint @@ -0,0 +1,210 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/blender +-rwxr-xr-x root/root usr/bin/blenderplayer +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/applications/ +-rw-r--r-- root/root usr/share/applications/blender.desktop +drwxr-xr-x root/root usr/share/blender/ +-rw-r--r-- root/root usr/share/blender/.Blanguages +-rw-r--r-- root/root usr/share/blender/.bfont.ttf +drwxr-xr-x root/root usr/share/blender/scripts/ +-rw-r--r-- root/root usr/share/blender/scripts/3ds_export.py +-rw-r--r-- root/root usr/share/blender/scripts/3ds_import.py +-rw-r--r-- root/root usr/share/blender/scripts/Axiscopy.py +-rw-r--r-- root/root usr/share/blender/scripts/DirectX8Exporter.py +-rw-r--r-- root/root usr/share/blender/scripts/DirectX8Importer.py +-rw-r--r-- root/root usr/share/blender/scripts/IDPropBrowser.py +-rw-r--r-- root/root usr/share/blender/scripts/ac3d_export.py +-rw-r--r-- root/root usr/share/blender/scripts/ac3d_import.py +-rw-r--r-- root/root usr/share/blender/scripts/add_mesh_empty.py +-rw-r--r-- root/root usr/share/blender/scripts/add_mesh_torus.py +-rw-r--r-- root/root usr/share/blender/scripts/animation_bake_constraints.py +-rw-r--r-- root/root usr/share/blender/scripts/animation_clean.py +-rw-r--r-- root/root usr/share/blender/scripts/animation_trajectory.py +-rw-r--r-- root/root usr/share/blender/scripts/armature_symmetry.py +-rw-r--r-- root/root usr/share/blender/scripts/bevel_center.py +-rw-r--r-- root/root usr/share/blender/scripts/blenderLipSynchro.py +drwxr-xr-x root/root usr/share/blender/scripts/bpydata/ +-rw-r--r-- root/root usr/share/blender/scripts/bpydata/KUlang.txt +drwxr-xr-x root/root usr/share/blender/scripts/bpydata/config/ +-rw-r--r-- root/root usr/share/blender/scripts/bpydata/config/readme.txt +-rw-r--r-- root/root usr/share/blender/scripts/bpydata/readme.txt +drwxr-xr-x root/root usr/share/blender/scripts/bpymodules/ +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/BPyAddMesh.py +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/BPyArmature.py +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/BPyBlender.py +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/BPyBlender.pyc +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/BPyCurve.py +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/BPyImage.py +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/BPyMathutils.py +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/BPyMesh.py +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/BPyMesh_redux.py +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/BPyMessages.py +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/BPyNMesh.py +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/BPyObject.py +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/BPyRegistry.py +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/BPyRegistry.pyc +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/BPyRender.py +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/BPySys.py +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/BPyTextPlugin.py +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/BPyWindow.py +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/blend2renderinfo.py +drwxr-xr-x root/root usr/share/blender/scripts/bpymodules/colladaImEx/ +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/colladaImEx/__init__.py (EMPTY) +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/colladaImEx/collada.py +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/colladaImEx/cstartup.py +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/colladaImEx/cutils.py +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/colladaImEx/helperObjects.py +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/colladaImEx/logo.png +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/colladaImEx/translator.py +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/colladaImEx/xmlUtils.py +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/defaultdoodads.py +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/dxfColorMap.py +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/dxfLibrary.py +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/dxfReader.py +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/mesh_gradient.py +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/meshtools.py +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/paths_ai2obj.py +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/paths_eps2obj.py +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/paths_gimp2obj.py +-rw-r--r-- root/root usr/share/blender/scripts/bpymodules/paths_svg2obj.py +-rw-r--r-- root/root usr/share/blender/scripts/bvh_import.py +-rw-r--r-- root/root usr/share/blender/scripts/c3d_import.py +-rw-r--r-- root/root usr/share/blender/scripts/camera_changer.py +-rw-r--r-- root/root usr/share/blender/scripts/colladaExport14.py +-rw-r--r-- root/root usr/share/blender/scripts/colladaImport14.py +-rw-r--r-- root/root usr/share/blender/scripts/collada_export.py +-rw-r--r-- root/root usr/share/blender/scripts/collada_import.py +-rw-r--r-- root/root usr/share/blender/scripts/config.py +-rw-r--r-- root/root usr/share/blender/scripts/console.py +-rw-r--r-- root/root usr/share/blender/scripts/discombobulator.py +-rw-r--r-- root/root usr/share/blender/scripts/envelope_symmetry.py +-rw-r--r-- root/root usr/share/blender/scripts/export-iv-0.1.py +-rw-r--r-- root/root usr/share/blender/scripts/export_dxf.py +-rw-r--r-- root/root usr/share/blender/scripts/export_fbx.py +-rw-r--r-- root/root usr/share/blender/scripts/export_lightwave_motion.py +-rw-r--r-- root/root usr/share/blender/scripts/export_m3g.py +-rw-r--r-- root/root usr/share/blender/scripts/export_map.py +-rw-r--r-- root/root usr/share/blender/scripts/export_mdd.py +-rw-r--r-- root/root usr/share/blender/scripts/export_obj.py +-rw-r--r-- root/root usr/share/blender/scripts/faceselect_same_weights.py +-rw-r--r-- root/root usr/share/blender/scripts/flt_defaultp.py +-rw-r--r-- root/root usr/share/blender/scripts/flt_dofedit.py +-rw-r--r-- root/root usr/share/blender/scripts/flt_export.py +-rw-r--r-- root/root usr/share/blender/scripts/flt_filewalker.py +-rw-r--r-- root/root usr/share/blender/scripts/flt_import.py +-rw-r--r-- root/root usr/share/blender/scripts/flt_lodedit.py +-rw-r--r-- root/root usr/share/blender/scripts/flt_palettemanager.py +-rw-r--r-- root/root usr/share/blender/scripts/flt_properties.py +-rw-r--r-- root/root usr/share/blender/scripts/flt_toolbar.py +-rw-r--r-- root/root usr/share/blender/scripts/help_bpy_api.py +-rw-r--r-- root/root usr/share/blender/scripts/help_browser.py +-rw-r--r-- root/root usr/share/blender/scripts/help_getting_started.py +-rw-r--r-- root/root usr/share/blender/scripts/help_manual.py +-rw-r--r-- root/root usr/share/blender/scripts/help_release_notes.py +-rw-r--r-- root/root usr/share/blender/scripts/help_tutorials.py +-rw-r--r-- root/root usr/share/blender/scripts/help_web_blender.py +-rw-r--r-- root/root usr/share/blender/scripts/help_web_devcomm.py +-rw-r--r-- root/root usr/share/blender/scripts/help_web_eshop.py +-rw-r--r-- root/root usr/share/blender/scripts/help_web_usercomm.py +-rw-r--r-- root/root usr/share/blender/scripts/hotkeys.py +-rw-r--r-- root/root usr/share/blender/scripts/image_2d_cutout.py +-rw-r--r-- root/root usr/share/blender/scripts/image_auto_layout.py +-rw-r--r-- root/root usr/share/blender/scripts/image_billboard.py +-rw-r--r-- root/root usr/share/blender/scripts/image_edit.py +-rw-r--r-- root/root usr/share/blender/scripts/import_dxf.py +-rw-r--r-- root/root usr/share/blender/scripts/import_lightwave_motion.py +-rw-r--r-- root/root usr/share/blender/scripts/import_mdd.py +-rw-r--r-- root/root usr/share/blender/scripts/import_obj.py +-rw-r--r-- root/root usr/share/blender/scripts/import_web3d.py +-rw-r--r-- root/root usr/share/blender/scripts/lightwave_export.py +-rw-r--r-- root/root usr/share/blender/scripts/lightwave_import.py +-rw-r--r-- root/root usr/share/blender/scripts/md2_export.py +-rw-r--r-- root/root usr/share/blender/scripts/md2_import.py +-rw-r--r-- root/root usr/share/blender/scripts/mesh_boneweight_copy.py +-rw-r--r-- root/root usr/share/blender/scripts/mesh_cleanup.py +-rw-r--r-- root/root usr/share/blender/scripts/mesh_edges2curves.py +-rw-r--r-- root/root usr/share/blender/scripts/mesh_mirror_tool.py +-rw-r--r-- root/root usr/share/blender/scripts/mesh_poly_reduce.py +-rw-r--r-- root/root usr/share/blender/scripts/mesh_poly_reduce_grid.py +-rw-r--r-- root/root usr/share/blender/scripts/mesh_skin.py +-rw-r--r-- root/root usr/share/blender/scripts/mesh_solidify.py +-rw-r--r-- root/root usr/share/blender/scripts/mesh_unfolder.py +-rw-r--r-- root/root usr/share/blender/scripts/mesh_wire.py +-rw-r--r-- root/root usr/share/blender/scripts/ms3d_import.py +-rw-r--r-- root/root usr/share/blender/scripts/ms3d_import_ascii.py +-rw-r--r-- root/root usr/share/blender/scripts/obdatacopier.py +-rw-r--r-- root/root usr/share/blender/scripts/object_active_to_other.py +-rw-r--r-- root/root usr/share/blender/scripts/object_apply_def.py +-rw-r--r-- root/root usr/share/blender/scripts/object_batch_name_edit.py +-rw-r--r-- root/root usr/share/blender/scripts/object_cookie_cutter.py +-rw-r--r-- root/root usr/share/blender/scripts/object_drop.py +-rw-r--r-- root/root usr/share/blender/scripts/object_find.py +-rw-r--r-- root/root usr/share/blender/scripts/object_random_loc_sz_rot.py +-rw-r--r-- root/root usr/share/blender/scripts/object_sel2dupgroup.py +-rw-r--r-- root/root usr/share/blender/scripts/object_timeofs_follow_act.py +-rw-r--r-- root/root usr/share/blender/scripts/off_export.py +-rw-r--r-- root/root usr/share/blender/scripts/off_import.py +-rw-r--r-- root/root usr/share/blender/scripts/paths_import.py +-rw-r--r-- root/root usr/share/blender/scripts/ply_export.py +-rw-r--r-- root/root usr/share/blender/scripts/ply_import.py +-rw-r--r-- root/root usr/share/blender/scripts/raw_export.py +-rw-r--r-- root/root usr/share/blender/scripts/raw_import.py +-rw-r--r-- root/root usr/share/blender/scripts/renameobjectbyblock.py +-rw-r--r-- root/root usr/share/blender/scripts/render_save_layers.py +-rw-r--r-- root/root usr/share/blender/scripts/rvk1_torvk2.py +-rw-r--r-- root/root usr/share/blender/scripts/save_theme.py +-rw-r--r-- root/root usr/share/blender/scripts/scripttemplate_background_job.py +-rw-r--r-- root/root usr/share/blender/scripts/scripttemplate_camera_object.py +-rw-r--r-- root/root usr/share/blender/scripts/scripttemplate_gamelogic.py +-rw-r--r-- root/root usr/share/blender/scripts/scripttemplate_gamelogic_basic.py +-rw-r--r-- root/root usr/share/blender/scripts/scripttemplate_gamelogic_module.py +-rw-r--r-- root/root usr/share/blender/scripts/scripttemplate_ipo_gen.py +-rw-r--r-- root/root usr/share/blender/scripts/scripttemplate_mesh_edit.py +-rw-r--r-- root/root usr/share/blender/scripts/scripttemplate_metaball_create.py +-rw-r--r-- root/root usr/share/blender/scripts/scripttemplate_object_edit.py +-rw-r--r-- root/root usr/share/blender/scripts/scripttemplate_pyconstraint.py +-rw-r--r-- root/root usr/share/blender/scripts/scripttemplate_text_plugin.py +-rw-r--r-- root/root usr/share/blender/scripts/slp_import.py +-rw-r--r-- root/root usr/share/blender/scripts/sysinfo.py +-rw-r--r-- root/root usr/share/blender/scripts/textplugin_convert_ge.py +-rw-r--r-- root/root usr/share/blender/scripts/textplugin_functiondocs.py +-rw-r--r-- root/root usr/share/blender/scripts/textplugin_imports.py +-rw-r--r-- root/root usr/share/blender/scripts/textplugin_membersuggest.py +-rw-r--r-- root/root usr/share/blender/scripts/textplugin_outliner.py +-rw-r--r-- root/root usr/share/blender/scripts/textplugin_suggest.py +-rw-r--r-- root/root usr/share/blender/scripts/textplugin_templates.py +-rw-r--r-- root/root usr/share/blender/scripts/unweld.py +-rw-r--r-- root/root usr/share/blender/scripts/uv_export.py +-rw-r--r-- root/root usr/share/blender/scripts/uv_seams_from_islands.py +-rw-r--r-- root/root usr/share/blender/scripts/uvcalc_follow_active_coords.py +-rw-r--r-- root/root usr/share/blender/scripts/uvcalc_lightmap.py +-rw-r--r-- root/root usr/share/blender/scripts/uvcalc_quad_clickproj.py +-rw-r--r-- root/root usr/share/blender/scripts/uvcalc_smart_project.py +-rw-r--r-- root/root usr/share/blender/scripts/uvcopy.py +-rw-r--r-- root/root usr/share/blender/scripts/vertexpaint_from_material.py +-rw-r--r-- root/root usr/share/blender/scripts/vertexpaint_gradient.py +-rw-r--r-- root/root usr/share/blender/scripts/vertexpaint_selfshadow_ao.py +-rw-r--r-- root/root usr/share/blender/scripts/vrml97_export.py +-rw-r--r-- root/root usr/share/blender/scripts/weightpaint_average.py +-rw-r--r-- root/root usr/share/blender/scripts/weightpaint_clean.py +-rw-r--r-- root/root usr/share/blender/scripts/weightpaint_copy.py +-rw-r--r-- root/root usr/share/blender/scripts/weightpaint_envelope_assign.py +-rw-r--r-- root/root usr/share/blender/scripts/weightpaint_gradient.py +-rw-r--r-- root/root usr/share/blender/scripts/weightpaint_grow_shrink.py +-rw-r--r-- root/root usr/share/blender/scripts/weightpaint_invert.py +-rw-r--r-- root/root usr/share/blender/scripts/weightpaint_normalize.py +-rw-r--r-- root/root usr/share/blender/scripts/widgetwizard.py +-rw-r--r-- root/root usr/share/blender/scripts/wizard_bolt_factory.py +-rw-r--r-- root/root usr/share/blender/scripts/wizard_curve2tree.py +-rw-r--r-- root/root usr/share/blender/scripts/wizard_landscape_ant.py +-rw-r--r-- root/root usr/share/blender/scripts/x3d_export.py +-rw-r--r-- root/root usr/share/blender/scripts/xsi_export.py +drwxr-xr-x root/root usr/share/locale/ +drwxr-xr-x root/root usr/share/locale/fr/ +drwxr-xr-x root/root usr/share/locale/fr/LC_MESSAGES/ +-rw-r--r-- root/root usr/share/locale/fr/LC_MESSAGES/blender.mo +drwxr-xr-x root/root usr/share/pixmaps/ +-rw-r--r-- root/root usr/share/pixmaps/blender.png (EMPTY) +-rw-r--r-- root/root usr/share/pixmaps/blender.svg diff --git a/extra/blender/.md5sum b/extra/blender/.md5sum new file mode 100644 index 000000000..9d92c80a0 --- /dev/null +++ b/extra/blender/.md5sum @@ -0,0 +1,3 @@ +6f24380ead068ef481a348bef00b3733 blender-2.49a.tar.gz +b5b9720b9430b1f5e2aa0b2df533fed8 blender.desktop +e26c44089a43984d6314c690715c72c1 blender.svg diff --git a/extra/blender/Pkgfile b/extra/blender/Pkgfile new file mode 100644 index 000000000..c6acf4239 --- /dev/null +++ b/extra/blender/Pkgfile @@ -0,0 +1,107 @@ +# Description: Logiciel d'animation, de modélisation et de rendu 3D +# URL:http://blender3d.org +# Maintainer: NuTyX core team +# Packager: fanch +# Depends on: libjpeg, libpng, openexr, sdl, python, desktop-file-utils, gettext, libxi, libxmu, mesa3d, freetype2, openal + + +name=blender +version=2.49a +release=1 +source=(http://download.blender.org/source/$name-$version.tar.gz + $name.desktop $name.svg) + +build() { + if [ $cvs = true ]; then + cd $SRC + #cvs -d:pserver:anonymous@cvs.blender.org:/cvsroot/bf-blender login + cvs -z3 -d:pserver:anonymous@cvs.blender.org:/cvsroot/bf-blender checkout $name + _cvsrel=$name-$(echo $version | sed 's/\./-/')-release + cvs -d:pserver:anonymous@cvs.blender.org:/cvsroot/bf-blender update -r $_cvsrel + find $name/{bin,release/scripts} -name 'CVS' -exec rm -rf {} \; 2> /dev/null + cd $name + else + cd $SRC/$name-$version + fi + + rm -f user-def.mk + + ########################################################################## + # tweak the makefiles to prepare build for ArchLinux + # disable static binaries and enable blenderplayer binary + sed -i "s|^.*\(BINTARGETS += blenderstatic\)| #\1|g" source/Makefile + sed -i "s|^#\(.*BINTARGETS += blenderplayer\)|\1|g" source/Makefile + # link freetype and openal dynamically + sed -i 's|LOPTS)|LOPTS) -lfreetype -lopenal|g' source/Makefile + sed -i 's|COMLIB.*libfreetype\.a|#\0|g' source/Makefile + sed -i 's|NAN_SND_LIBS.*libopenal\.a|#\0|g' source/Makefile + # make ode (alternative physics engine) + # does not work for Arch64 + #[ "$CARCH" = "i686" ] && sed -i 's|^\(DIRS.*\)$|\1 ode|' extern/Makefile + # make the nan_makefiles happy + export NAN_PYTHON_VERSION=2.6 + export INTERNATIONAL=true + export WITH_FREETYPE2=true + export NAN_FREETYPE=/usr + export WITH_ICONV=true + + export NAN_NO_PLUGIN=true + + export NAN_OPENAL=/usr + export NAN_FMOD=/usr + export NAN_JPEG=/usr + export NAN_PNG=/usr + export WITH_OPENEXR=true + export NAN_OPENEXR=/usr + export NAN_ODE=/usr + export NAN_OPENEXR_LIBS=$(pkg-config --libs-only-l OpenEXR) + + export NAN_SDL=/usr + export NAN_ZLIB=/usr + export NAN_MESA=/usr + + export NAN_USE_BULLET=true + export NAN_USE_FFMPEG_CONFIG=true + export WITH_BF_VERSE=true + export WITH_VERSE=true + export WITH_BF_OPENMP=true + # there is an issue with a file + export NAN_DEBUG=-O + ########################################################################### + # build + make + ########################################################################### +# mkdir -p $PKG/usr/share/ + cd obj/linux-glibc2*/bin + +# common part + + mkdir -p $PKG/usr/share/ + + # install binaries + install -Dm755 blender $PKG/usr/bin/blender + install -Dm755 blenderplayer $PKG/usr/bin/blenderplayer + + # install internationalization support + cd ../../../bin/.blender + install -D -m644 .Blanguages \ + $PKG/usr/share/$name/.Blanguages + install -D -m644 .bfont.ttf \ + $PKG/usr/share/$name/.bfont.ttf + + cp -R locale $PKG/usr/share/ + + # install scripts + cd ../../release/ + cp -R scripts $PKG/usr/share/$name/ + + # install all additional stuff + # install a freedesktop.org compliant menu entry + install -Dm644 $SRC/$name.desktop $PKG/usr/share/applications/$name.desktop + # install some freedesktop.org compatibility + install -D -m644 $SRC/$name.svg $PKG/usr/share/pixmaps/$name.svg + # finally we render a png as fallback for not svg aware menu applications + # Attention: always make sure you check the dimensions of the source-svg, + # you can read the dimensions via inkscapes export funktion + rsvg -w 64 -h 64 -f png $PKG/usr/share/pixmaps/$name.svg $PKG/usr/share/pixmaps/$name.png +} diff --git a/extra/blender/blender.desktop b/extra/blender/blender.desktop new file mode 100644 index 000000000..71893dc4a --- /dev/null +++ b/extra/blender/blender.desktop @@ -0,0 +1,19 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Blender +Name[da]=Blender +Name[nl]=Blender +Name[no]=Blender +Name[de]=Blender +Name[es]=Blender +Comment=A 3D program +Comment[es]=Un programa de 3D +Comment[no]=Et 3d-program +Comment[da]=Et program til 3d-modelering +Exec=blender +Icon=blender +Terminal=false +X-MultipleArgs=false +Type=Application +Categories=Application;Graphics;3DGraphics; +MimeType=application/blender;application/x-blender; diff --git a/extra/blender/blender.desktop~ b/extra/blender/blender.desktop~ new file mode 100644 index 000000000..8d1c8b69c --- /dev/null +++ b/extra/blender/blender.desktop~ @@ -0,0 +1 @@ + diff --git a/extra/blender/blender.install b/extra/blender/blender.install new file mode 100644 index 000000000..eb2f23198 --- /dev/null +++ b/extra/blender/blender.install @@ -0,0 +1,40 @@ +post_install() { + cat << EOF + +NOTE +---- +blender is using the NAN makefiles to build, so we can access some better +features: + - i18n support + - anti-aliased interface fonts + - gameplayer +We also ship the plugins, but most of these features can be accessed only +from the users home directory. Therefore, you wanna copy everything from +/usr/share/blender to ~/.blender (some are hidden files!). The browser- +plugin builds but is using an old mozilla API, this is why it doesn't work +and we don't ship it. +Happy blending! + +EOF + echo "update desktop mime database..." + update-desktop-database +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + /bin/true +} + +post_remove() { + echo "update desktop mime database..." + update-desktop-database +} + +op=$1 +shift + +$op $* + diff --git a/extra/blender/blender.install~ b/extra/blender/blender.install~ new file mode 100644 index 000000000..8d1c8b69c --- /dev/null +++ b/extra/blender/blender.install~ @@ -0,0 +1 @@ + diff --git a/extra/blender/blender.svg b/extra/blender/blender.svg new file mode 100644 index 000000000..c9fd751c8 --- /dev/null +++ b/extra/blender/blender.svg @@ -0,0 +1,172 @@ + +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" +"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<!-- Created with Inkscape (http://www.inkscape.org/) --> +<svg + id="svg1573" + sodipodi:version="0.32" + inkscape:version="0.39" + width="100.00000pt" + height="100.00000pt" + sodipodi:docbase="/home/build/abs/extra/multimedia/blender" + sodipodi:docname="blender.svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:cc="http://web.resource.org/cc/" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:xlink="http://www.w3.org/1999/xlink"> + <defs + id="defs1575"> + <linearGradient + id="linearGradient1792"> + <stop + style="stop-color:#000000;stop-opacity:0.42937854;" + offset="0.0000000" + id="stop1793" /> + <stop + style="stop-color:#000000;stop-opacity:0.12429378;" + offset="0.63222224" + id="stop1795" /> + <stop + style="stop-color:#000000;stop-opacity:0.0000000;" + offset="1.0000000" + id="stop1794" /> + </linearGradient> + <radialGradient + xlink:href="#linearGradient1792" + id="radialGradient1950" + cx="0.50000000" + cy="0.50000000" + r="0.50000000" + fx="0.67944252" + fy="0.19298245" /> + <linearGradient + id="linearGradient1606"> + <stop + style="stop-color:#000000;stop-opacity:0.62745100;" + offset="0.0000000" + id="stop1607" /> + <stop + style="stop-color:#000000;stop-opacity:0.0000000;" + offset="1.0000000" + id="stop1608" /> + </linearGradient> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="7.9999998" + inkscape:cx="50.134523" + inkscape:cy="35.997949" + inkscape:window-width="1272" + inkscape:window-height="1002" + showgrid="true" + snaptogrid="false" + gridspacingy="10.000000pt" + gridspacingx="10.000000pt" + gridoriginy="0.0000000pt" + gridoriginx="0.0000000pt" + gridtolerance="2.0000000px" + inkscape:grid-bbox="true" + inkscape:grid-points="true" + inkscape:window-x="1282" + inkscape:window-y="0" /> + <metadata + id="metadata1576"> + <rdf:RDF + id="RDF1577"> + <cc:Work + rdf:about="" + id="Work1578"> + <dc:description + id="description1579">Created with Inkscape +http://www.inkscape.org/</dc:description> + <dc:format + id="format1581">image/svg+xml</dc:format> + <dc:type + id="type1583" + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title + id="title1606">ML-Term Icon</dc:title> + <dc:date + id="date1608">2004-07-14</dc:date> + <dc:creator + id="creator1610"> + <cc:Agent + id="Agent1611"> + <dc:title + id="title1612">Tobias Kieslich</dc:title> + </cc:Agent> + </dc:creator> + <dc:coverage + id="coverage1614" /> + <cc:license + id="license1616" + rdf:resource="http://creativecommons.org/licenses/GPL/2.0/" /> + </cc:Work> + <cc:License + rdf:about="http://creativecommons.org/licenses/GPL/2.0/" + id="License1624"> + <cc:permits + rdf:resource="http://web.resource.org/cc/Reproduction" + id="permits1625" /> + <cc:permits + rdf:resource="http://web.resource.org/cc/Distribution" + id="permits1626" /> + <cc:requires + rdf:resource="http://web.resource.org/cc/Notice" + id="requires1627" /> + <cc:permits + rdf:resource="http://web.resource.org/cc/DerivativeWorks" + id="permits1628" /> + <cc:requires + rdf:resource="http://web.resource.org/cc/ShareAlike" + id="requires1629" /> + <cc:requires + rdf:resource="http://web.resource.org/cc/SourceCode" + id="requires1630" /> + </cc:License> + </rdf:RDF> + </metadata> + <path + sodipodi:type="arc" + style="fill:url(#radialGradient1950);fill-opacity:0.75000000;fill-rule:evenodd;stroke-width:1.0000000pt;" + id="path1827" + sodipodi:cx="29.010935" + sodipodi:cy="58.727592" + sodipodi:rx="23.157850" + sodipodi:ry="23.157850" + d="M 52.168785 58.727592 A 23.157850 23.157850 0 1 0 5.8530846,58.727592 A 23.157850 23.157850 0 1 0 52.168785 58.727592 z" + transform="matrix(2.556262,0.000000,0.000000,0.770827,-8.357083,60.08188)" /> + <g + id="g1084" + transform="matrix(4.277757,0.000000,0.000000,4.277757,-244.4442,-256.4384)"> + <path + style="fill:#e79100;fill-rule:evenodd;stroke:#000000;stroke-width:2.5581360;" + d="M 70.183754,64.486103 C 70.970246,65.122765 71.746941,65.771669 72.540115,66.399985 C 69.453580,66.550314 66.336707,66.536916 63.267234,66.751339 C 61.553800,66.933280 62.119503,69.750024 63.656883,69.617641 C 64.925860,69.617641 66.194837,69.617641 67.463814,69.617641 C 64.899642,71.537080 62.334113,73.454704 59.769421,75.373447 C 57.974777,76.830324 59.759220,79.624301 61.528139,78.790956 C 62.843668,78.218932 63.672855,76.918567 64.775590,76.029244 C 65.272386,75.762533 66.061744,74.237148 66.195454,75.421789 C 66.812356,77.527269 68.113458,79.532317 70.023285,80.657078 C 78.453997,86.618341 88.293096,75.890516 82.467250,70.321032 C 81.347167,68.630878 79.527221,67.572142 77.996121,66.287702 C 76.220705,64.972085 74.509428,63.515316 72.695293,62.285243 C 70.961182,60.910865 68.645443,63.114782 70.183754,64.486103 z " + id="path1829" + sodipodi:nodetypes="cccccccccccccc" /> + <path + style="fill:#e79100;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.63953400pt;" + d="M 70.479501,64.479682 C 71.265993,65.116344 72.042688,65.765247 72.835862,66.393564 C 69.749327,66.543893 66.632454,66.530495 63.562981,66.744917 C 61.849547,66.926859 62.415250,69.743603 63.952630,69.611219 C 65.221607,69.611219 66.490584,69.611219 67.759561,69.611219 C 65.195389,71.530659 62.629860,73.448283 60.065168,75.367025 C 58.270524,76.823903 60.054967,79.617880 61.823886,78.784535 C 63.139415,78.212510 63.968602,76.912146 65.071337,76.022823 C 65.568133,75.756111 66.357491,74.230727 66.491201,75.415368 C 67.108103,77.520848 68.409205,79.525896 70.319032,80.650657 C 78.749744,86.611920 88.588843,75.884095 82.762997,70.314611 C 81.642914,68.624457 79.822968,67.565721 78.291868,66.281281 C 76.516452,64.965664 74.805175,63.508895 72.991040,62.278821 C 71.256929,60.904444 68.941190,63.108361 70.479501,64.479682 z " + id="path1831" + sodipodi:nodetypes="cccccccccccccc" /> + <path + sodipodi:type="arc" + style="fill:#345c87;fill-rule:evenodd;stroke:#ffffff;stroke-width:1.4483387;" + id="path1832" + sodipodi:cx="28.791338" + sodipodi:cy="24.460691" + sodipodi:rx="5.3983760" + sodipodi:ry="5.0384841" + d="M 34.189714 24.460691 A 5.3983760 5.0384841 0 1 0 23.392962,24.460691 A 5.3983760 5.0384841 0 1 0 34.189714 24.460691 z" + transform="matrix(0.822413,0.000000,0.000000,0.822413,51.33976,53.33570)" /> + </g> +</svg> diff --git a/extra/blender/blender_x86_64.diff b/extra/blender/blender_x86_64.diff new file mode 100644 index 000000000..9c804cf6b --- /dev/null +++ b/extra/blender/blender_x86_64.diff @@ -0,0 +1,12 @@ +--- source/creator/creator.c 2007-01-28 05:45:58.000000000 +0000 ++++ source/creator/creator.c.new 2007-02-24 21:37:25.000000000 +0000 +@@ -241,7 +241,7 @@ + having to fix all faulty saved 64 bits files (ton) */ + if(sizeof(void *)==8) { + printf("64 bits compiles will give incorrectly saved .blend files. Do not use it. For testing purposes please remove this line from creator.c\n"); +- exit(0); ++ // exit(0); + } + #else + if(sizeof(void *)==8) { + diff --git a/extra/blender/config.py b/extra/blender/config.py new file mode 100644 index 000000000..ec651d09a --- /dev/null +++ b/extra/blender/config.py @@ -0,0 +1,167 @@ +LCGDIR = '../lib/linux2' +LIBDIR = "${LCGDIR}" + +WITH_BF_VERSE = 'false' +BF_VERSE_INCLUDE = "#extern/verse/dist" + +BF_PYTHON = '/usr' +BF_PYTHON_VERSION = '2.5' +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+'/lib/python'+BF_PYTHON_VERSION+'/config/libpython'+BF_PYTHON_VERSION+'.a' +BF_PYTHON_LINKFLAGS = ['-Xlinker', '-export-dynamic'] + +#WITH_BF_OPENAL = 'true' +#BF_OPENAL = '/usr' +#BF_OPENAL_INC = '${BF_OPENAL}/include' +#BF_OPENAL_LIB = 'openal' + +WITH_BF_SDL = 'true' +BF_SDL = '/usr' #$(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 + +WITH_BF_FMOD = 'false' +BF_FMOD = LIBDIR + '/fmod' + +WITH_BF_OPENEXR = 'true' +BF_OPENEXR = '/usr' +BF_OPENEXR_INC = '${BF_OPENEXR}/include/OpenEXR' +BF_OPENEXR_LIB = 'Half IlmImf Iex Imath ' + +WITH_BF_JPEG = 'true' +BF_JPEG = '/usr' +BF_JPEG_INC = '${BF_JPEG}/include' +BF_JPEG_LIB = 'jpeg' + +WITH_BF_PNG = 'true' +BF_PNG = '/usr' +BF_PNG_INC = '${BF_PNG}/include' +BF_PNG_LIB = 'png' + +BF_TIFF = '/usr' +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' +BF_GETTEXT_INC = '${BF_GETTEXT}/include' +BF_GETTEXT_LIB = 'gettextlib' +BF_GETTEXT_LIBPATH = '${BF_GETTEXT}/lib' + +WITH_BF_FTGL = 'true' +BF_FTGL = '#extern/bFTGL' +BF_FTGL_INC = '${BF_FTGL}/include' +BF_FTGL_LIB = 'extern_ftgl' + +WITH_BF_GAMEENGINE='true' + +WITH_BF_ODE = 'true' +BF_ODE = LIBDIR + '/ode' +BF_ODE_INC = BF_ODE + '/include' +BF_ODE_LIB = BF_ODE + '/lib/libode.a' + +WITH_BF_BULLET = 'true' +BF_BULLET = '#extern/bullet2/src' +BF_BULLET_INC = '${BF_BULLET}' +BF_BULLET_LIB = 'extern_bullet' + +BF_SOLID = '#extern/solid' +BF_SOLID_INC = '${BF_SOLID}' +BF_SOLID_LIB = 'extern_solid' + +WITH_BF_YAFRAY = 'true' + +#WITH_BF_NSPR = 'true' +#BF_NSPR = $(LIBDIR)/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 = $(LIBDIR)/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' +BF_FREETYPE_INC = '${BF_FREETYPE}/include ${BF_FREETYPE}/include/freetype2' +BF_FREETYPE_LIB = 'freetype' + +WITH_BF_QUICKTIME = 'false' # -DWITH_QUICKTIME +BF_QUICKTIME = '/usr/local' +BF_QUICKTIME_INC = '${BF_QUICKTIME}/include' + +WITH_BF_ICONV = 'false' +BF_ICONV = LIBDIR + "/iconv" +BF_ICONV_INC = '${BF_ICONV}/include' +BF_ICONV_LIB = 'iconv' +BF_ICONV_LIBPATH = '${BF_ICONV}/lib' + +# enable ffmpeg support +WITH_BF_FFMPEG = 'false' # -DWITH_FFMPEG +BF_FFMPEG = '/usr' +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 = 'false' +BF_OPENGL = '/usr' +BF_OPENGL_INC = '${BF_OPENGL}/include' +BF_OPENGL_LIB = 'GL GLU X11 Xi' +BF_OPENGL_LIBPATH = '/usr/X11R6/lib' +BF_OPENGL_LIB_STATIC = '${BF_OPENGL}/libGL.a ${BF_OPENGL}/libGLU.a ${BF_OPENGL}/libXxf86vm.a ${BF_OPENGL}/libX11.a ${BF_OPENGL}/libXi.a ${BF_OPENGL}/libXext.a ${BF_OPENGL}/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'] +CXXFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing'] +REL_CFLAGS = ['-O2'] +REL_CCFLAGS = ['-O2'] +##BF_DEPEND = 'true' +## +##AR = ar +##ARFLAGS = ruv +##ARFLAGSQUIET = ru +## +C_WARN = '-Wall -Wno-char-subscripts' + +CC_WARN = '-Wall' + +##FIX_STUBS_WARNINGS = -Wno-unused + +LLIBS = 'util c m dl pthread stdc++' +##LOPTS = --dynamic +##DYNLDFLAGS = -shared $(LDFLAGS) + +BF_PROFILE_FLAGS = ['-pg','-g'] +BF_PROFILE = 'false' + +BF_DEBUG = 'false' +BF_DEBUG_FLAGS = '-g' + +BF_BUILDDIR = '../build/linux2' +#BF_INSTALLDIR='../install/linux2' + + +#Link against pthread +PLATFORM_LINKFLAGS = ['-pthread'] + |