From 5361762d094cc0b4131977e81ca6c966f1ac02e3 Mon Sep 17 00:00:00 2001 From: fanch Date: Sun, 13 Jun 2010 15:13:30 +0200 Subject: mise à jour openal#1.12.854-1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/openal/.footprint | 7 +++++-- test/openal/.md5sum | 2 +- test/openal/Pkgfile | 21 +++++++-------------- 3 files changed, 13 insertions(+), 17 deletions(-) diff --git a/test/openal/.footprint b/test/openal/.footprint index b17fa0900..5217e280a 100644 --- a/test/openal/.footprint +++ b/test/openal/.footprint @@ -1,12 +1,15 @@ drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/openal-info drwxr-xr-x root/root usr/include/ drwxr-xr-x root/root usr/include/AL/ -rw-r--r-- root/root usr/include/AL/al.h -rw-r--r-- root/root usr/include/AL/alc.h -rw-r--r-- root/root usr/include/AL/alext.h +-rw-r--r-- root/root usr/include/AL/efx.h drwxr-xr-x root/root usr/lib/ lrwxrwxrwx root/root usr/lib/libopenal.so -> libopenal.so.1 -lrwxrwxrwx root/root usr/lib/libopenal.so.1 -> libopenal.so.1.10.622 --rwxr-xr-x root/root usr/lib/libopenal.so.1.10.622 +lrwxrwxrwx root/root usr/lib/libopenal.so.1 -> libopenal.so.1.12.854 +-rwxr-xr-x root/root usr/lib/libopenal.so.1.12.854 drwxr-xr-x root/root usr/lib/pkgconfig/ -rw-r--r-- root/root usr/lib/pkgconfig/openal.pc diff --git a/test/openal/.md5sum b/test/openal/.md5sum index 9f4dfe1d9..bb6258bcc 100644 --- a/test/openal/.md5sum +++ b/test/openal/.md5sum @@ -1 +1 @@ -d6324d0e7a4fd799e48e720c023fe1c0 openal-soft-1.10.622.bz2 +fbf36451fdebd6466edbdc0ee7db9603 openal-soft-1.12.854.tar.bz2 diff --git a/test/openal/Pkgfile b/test/openal/Pkgfile index 320c165d8..92f8e37e0 100644 --- a/test/openal/Pkgfile +++ b/test/openal/Pkgfile @@ -2,24 +2,17 @@ # URL: http://connect.creativelabs.com/openal # Maintainer: Danny Rawlins, monster dot romster at gmail dot com # Packager: Matt Housh, jaeger at crux dot nu -# Depends on: alsa-lib, cmake +# Depends on: alsa-lib, cmake, sdl, pkgconfig name=openal -version=1.10.622 +version=1.12.854 release=1 -source=(http://connect.creativelabs.com/openal/Downloads/openal-soft-$version.bz2) +source=(http://kcat.strangesoft.net/openal-releases/openal-soft-$version.tar.bz2) build() { - tar -xjf openal-soft-$version.bz2 - cd openal-soft-$version/build - - cmake ../ \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DOSS=OFF \ - -DEXAMPLES=OFF \ - -DCMAKE_BUILD_TYPE=Release #-DCMAKE_VERBOSE_MAKEFILE=true - - make - make DESTDIR=$PKG install + cd $SRC/$name-soft-$version/build + cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release .. + make + make DESTDIR=$PKG/ install } -- cgit v1.2.3-70-g09d2 From a507b2f061cc4a05c9d151f4591590ea84b25ba2 Mon Sep 17 00:00:00 2001 From: fanch Date: Sun, 13 Jun 2010 16:36:24 +0200 Subject: ajout de blender#2.49a-1 --- extra/blender/.footprint | 210 ++++++++++++++++++++++++++++++++++++++ extra/blender/.md5sum | 3 + extra/blender/Pkgfile | 107 +++++++++++++++++++ extra/blender/blender.desktop | 19 ++++ extra/blender/blender.desktop~ | 1 + extra/blender/blender.install | 40 ++++++++ extra/blender/blender.install~ | 1 + extra/blender/blender.svg | 172 +++++++++++++++++++++++++++++++ extra/blender/blender_x86_64.diff | 12 +++ extra/blender/config.py | 167 ++++++++++++++++++++++++++++++ 10 files changed, 732 insertions(+) create mode 100644 extra/blender/.footprint create mode 100644 extra/blender/.md5sum create mode 100644 extra/blender/Pkgfile create mode 100644 extra/blender/blender.desktop create mode 100644 extra/blender/blender.desktop~ create mode 100644 extra/blender/blender.install create mode 100644 extra/blender/blender.install~ create mode 100644 extra/blender/blender.svg create mode 100644 extra/blender/blender_x86_64.diff create mode 100644 extra/blender/config.py 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 @@ + + + + + + + + + + + + + + + + + + + + + + Created with Inkscape +http://www.inkscape.org/ + image/svg+xml + + ML-Term Icon + 2004-07-14 + + + Tobias Kieslich + + + + + + + + + + + + + + + + + + + + + + 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'] + -- cgit v1.2.3-70-g09d2