rename...

This commit is contained in:
ertugerata
2015-09-13 21:31:47 +03:00
parent 0dcf710f09
commit 3d8c768302
8 changed files with 0 additions and 0 deletions
@@ -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>