2.0 blender

This commit is contained in:
root
2015-09-13 15:40:47 +03:00
parent bfd7caae26
commit 0552ab76f7
8 changed files with 387 additions and 0 deletions
+51
View File
@@ -0,0 +1,51 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file `http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import autotools
from pisi.actionsapi import cmaketools
from pisi.actionsapi import get
def setup():
shelltools.system("rm -rf CMakeCache.txt")
shelltools.cd("..")
shelltools.makedirs("cmake-make")
shelltools.cd("cmake-make")
shelltools.system("cmake ../blender-2.75a \
-DCMAKE_INSTALL_PREFIX=/usr \
-DFREETYPE_INCLUDE_DIRS=/usr/include/freetype2 \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DWITH_JACK=ON \
-DWITH_JACK_DYNLOAD=ON \
-DWITH_IMAGE_OPENEXR=ON \
-DWITH_OPENCOLORIO=OFF \
-DWITH_OPENIMAGEIO=ON \
-DWITH_FFTW3=ON\
-DWITH_PLAYER=ON \
-DWITH_CODEC_FFMPEG=ON \
-DWITH_INSTALL_PORTABLE=OFF \
-DWITH_GAMEENGINE=ON \
-DWITH_PYTHON_INSTALL=OFF \
-DWITH_MOD_OCEANSIM=ON \
-DPYTHON_VERSION=3.4 \
-DPYTHON_LIBPATH=/usr/lib \
-DPYTHON_LIBRARY=python3.4m \
-DPYTHON_INCLUDE_DIRS=/usr/include/python3.4m \
-DWITH_CODEC_SNDFILE=ON ")
def build():
shelltools.cd("../cmake-make")
cmaketools.make()
def install():
shelltools.cd("../cmake-make/")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.domove("/usr/bin/blender", "/usr/bin", "blender-bin")
@@ -0,0 +1,26 @@
commit 94eed33f878e35a8c7b69b0c23b3b30026460f33
Author: hasufell <hasufell@gentoo.org>
Date: Fri Jul 19 18:50:08 2013 +0200
remove stupid uninstall snippet
whoever coded this... it is dangerous
uninstall methods have NO PLACE in install rules
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index c84d944..2b9bf46 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -268,12 +268,6 @@ endif()
# Install Targets (Generic, All Platforms)
-# important to make a clean install each time, else old scripts get loaded.
-install(
- CODE
- "file(REMOVE_RECURSE ${TARGETDIR_VER})"
-)
-
if(WITH_PYTHON)
# install(CODE "message(\"copying blender scripts...\")")
@@ -0,0 +1,23 @@
diff -up blender-2.67b/source/blender/makesrna/intern/rna_access.c.rna blender-2.67b/source/blender/makesrna/intern/rna_access.c
--- blender-2.67b/source/blender/makesrna/intern/rna_access.c.rna 2013-05-16 12:43:18.000000000 +0200
+++ blender-2.67b/source/blender/makesrna/intern/rna_access.c 2013-06-14 16:35:39.263926932 +0200
@@ -1273,13 +1273,15 @@ void RNA_property_enum_items_gettexted(b
int totitem = 0;
/* count */
- for (i = 0; (*item)[i].identifier; i++)
- totitem++;
+ if (*item)
+ for (i = 0; (*item)[i].identifier; i++)
+ totitem++;
nitem = MEM_callocN(sizeof(EnumPropertyItem) * (totitem + 1), "enum_items_gettexted");
- for (i = 0; (*item)[i].identifier; i++)
- nitem[i] = (*item)[i];
+ if (*item)
+ for (i = 0; (*item)[i].identifier; i++)
+ nitem[i] = (*item)[i];
*free = TRUE;
}
@@ -0,0 +1,15 @@
#!/bin/sh
# stop this script if the local blender path is a symlink
if [ -L \${HOME}/.blender ]; then
echo "Detected a symbolic link for \${HOME}/.blender"
echo "Sorry, to avoid dangerous situations, the Blender binary can"
echo "not be started until you have removed the symbolic link:"
echo " # rm -i \${HOME}/.blender"
exit 1
fi
export BLENDER_SYSTEM_SCRIPTS="/usr/share/blender/scripts"
export BLENDER_SYSTEM_DATAFILES="/usr/share/blender/${VERSION}/datafiles"
exec blender-bin "$@"
@@ -0,0 +1,18 @@
[Desktop Entry]
Name=Blender
GenericName=3D modeller
GenericName[es]=modelador 3D
GenericName[de]=3D-Modellierer
GenericName[fr]=modeleur 3D
GenericName[ru]=Редактор 3D-моделей
GenericName[tr]=3D Modelleyici
Comment=3D modeling, animation, rendering and post-production
Comment[es]=modelado 3D, animación, renderizado y post-producción
Comment[de]=3D-Modellierung, Animation, Rendering und Nachbearbeitung
Comment[tr]=Blender, özgür bir üç boyutlu modelleme ve canlandırma uygulamasıdır.
Exec=blender
Icon=blender
Terminal=false
Type=Application
Categories=Graphics;3DGraphics;
MimeType=application/x-blender;
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-blender">
<comment xml:lang="en">Blender Scene</comment>
<comment xml:lang="tr">Blender Sahnesi</comment>
<glob pattern="*.blend" />
</mime-type>
</mime-info>
+238
View File
@@ -0,0 +1,238 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>blender</Name>
<Homepage>http://www.blender.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<Icon>blender</Icon>
<IsA>app:gui</IsA>
<Summary>3D modeling, animation, rendering and post-production application</Summary>
<Description>blender is the essential software solution you need for 3D, from modeling, animation, rendering and post-production to interactive creation and playback.</Description>
<Archive sha1sum="7b376321ab755ef5a77daee62de2ee7b5947e7ac" type="targz">http://download.blender.org/source/blender-2.75a.tar.gz</Archive>
<BuildDependencies>
<Dependency>extra-cmake-modules</Dependency>
<Dependency>freetype-devel</Dependency>
<Dependency>tiff-devel</Dependency>
<Dependency>libjpeg-turbo-devel</Dependency>
<Dependency>glew-devel</Dependency>
<Dependency>mesa-devel</Dependency>
<Dependency>libXi-devel</Dependency>
<Dependency>boost-devel</Dependency>
<Dependency>openal-devel</Dependency>
<Dependency>libsdl-devel</Dependency>
<Dependency>libgomp</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>ilmbase-devel</Dependency>
<Dependency>mesa-glu-devel</Dependency>
<Dependency>openjpeg-devel</Dependency>
<Dependency>libspnav-devel</Dependency>
<Dependency>libXxf86vm-devel</Dependency>
<Dependency releaseFrom="7">openimageio-devel</Dependency>
<Dependency>openexr-devel</Dependency>
<Dependency>libsndfile-devel</Dependency>
<Dependency>ffmpeg-devel</Dependency>
<Dependency>icu4c-devel</Dependency>
<Dependency>webp-devel</Dependency>
<Dependency>fftw3-devel</Dependency>
<Dependency>jack-audio-connection-kit-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>libX11-devel</Dependency>
<Dependency>libpng-devel</Dependency>
<Dependency>freetype-devel</Dependency>
</BuildDependencies>
<Patches>
<!--<Patch level="1">blender-2.67b-rna.patch</Patch>-->
<Patch level="1">06-blender-2.68-fix-install-rules.patch</Patch>
</Patches>
</Source>
<Package>
<Name>blender</Name>
<RuntimeDependencies>
<Dependency>tiff</Dependency>
<Dependency>libjpeg-turbo</Dependency>
<Dependency>glew</Dependency>
<Dependency>mesa</Dependency>
<Dependency>libXi</Dependency>
<Dependency>boost</Dependency>
<Dependency>openal</Dependency>
<Dependency>libsdl</Dependency>
<Dependency>libgomp</Dependency>
<Dependency>python3</Dependency>
<Dependency>ilmbase</Dependency>
<Dependency>mesa-glu</Dependency>
<Dependency>openjpeg</Dependency>
<Dependency>libspnav</Dependency>
<Dependency>libXxf86vm</Dependency>
<Dependency releaseFrom="7">openimageio</Dependency>
<Dependency>openexr-libs</Dependency>
<Dependency>libsndfile</Dependency>
<Dependency>ffmpeg</Dependency>
<Dependency>fftw3</Dependency>
<Dependency>jack-audio-connection-kit</Dependency>
<Dependency>zlib</Dependency>
<Dependency>libX11</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>libpng</Dependency>
<Dependency>freetype</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/lib/python3.3/</Path>
<Path fileType="data">/usr/share/blender/</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/pixmaps/</Path>
<Path fileType="data">/usr/share/man/man1</Path>
<Path fileType="data">/usr/share/icons</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="data">/usr/share/mime</Path>
<Path fileType="localedata">/usr/share/locale</Path>
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/usr/share/mime/packages/blender.xml">blender.xml</AdditionalFile>
<AdditionalFile owner="root" permission="0755" target="/usr/bin/blender">blender-wrapper</AdditionalFile>
<AdditionalFile owner="root" permission="0755" target="/usr/share/applications/blender.desktop">blender.desktop</AdditionalFile>
</AdditionalFiles>
</Package>
<History>
<Update release="19">
<Date>2015-07-24</Date>
<Version>2.75a</Version>
<Comment>Version bump.</Comment>
<Name>Ali Algul</Name>
<Email>alialgul@pisilinux.org</Email>
</Update>
<Update release="18">
<Date>2015-01-24</Date>
<Version>2.75</Version>
<Comment>Version bump.</Comment>
<Name>Ali Algul</Name>
<Email>alialgul@pisilinux.org</Email>
</Update>
<Update release="17">
<Date>2015-01-24</Date>
<Version>2.73a</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="16">
<Date>2015-01-08</Date>
<Version>2.73</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="15">
<Date>2014-12-30</Date>
<Version>2.72b</Version>
<Comment>Rebuild, remove opencolorio dependency</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="14">
<Date>2014-11-10</Date>
<Version>2.72b</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="13">
<Date>2014-10-08</Date>
<Version>2.72</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="12">
<Date>2014-06-27</Date>
<Version>2.71</Version>
<Comment>Version bump.</Comment>
<Name>Nikolay Semenov</Name>
<Email>tribunal@pisilinux.org</Email>
</Update>
<Update release="11">
<Date>2014-05-28</Date>
<Version>2.70a</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="10">
<Date>2014-04-23</Date>
<Version>2.7.0</Version>
<Comment>Rebuild</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="9">
<Date>2014-03-25</Date>
<Version>2.7.0</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="8">
<Date>2013-11-26</Date>
<Version>2.69</Version>
<Comment>Rebuild for ffmpeg.</Comment>
<Name>Kamil Atlı</Name>
<Email>suvarice@gmail.com</Email>
</Update>
<Update release="7">
<Date>2013-11-09</Date>
<Version>2.69</Version>
<Comment>Rebuild.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="6">
<Date>2013-10-31</Date>
<Version>2.69</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="5">
<Date>2013-10-14</Date>
<Version>2.68a</Version>
<Comment>rebuild for icu4c.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="4">
<Date>2013-08-17</Date>
<Version>2.68a</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="3">
<Date>2013-07-25</Date>
<Version>2.68</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="2">
<Date>2013-04-20</Date>
<Version>2.66</Version>
<Comment>V.Bump</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2013-01-01</Date>
<Version>2.65</Version>
<Comment>First release</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>blender</Name>
<Summary xml:lang="tr">3D animasyon sistemi</Summary>
<Description xml:lang="tr">Blender 3B modelleme ve animasyon yapmaya yarayan açık kaynak bir yazılımdır.</Description>
</Source>
</PISI>