diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-07-15 00:26:46 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-07-15 00:26:46 +0400 |
commit | 1bb789956d42dc3e4a222a28b95a956ff8c97742 (patch) | |
tree | 16c0e82925208d8539db0db34e5609ef57b46f20 /release/freedesktop/blender.desktop | |
parent | eb4795be57b9f56f2b1679310b2bf1e092e2c70a (diff) |
CMake patch from Ralf Hölzemer (cheleb)
[#22849] Fix cmake install target on linux
--- from the tracker ---
This patch fixes the install target for the linux platform. Since the new configuration path changes are in effect, files have to be installed in the correct places instead of just copying the local installation to $PREFIX/share/blender.
It also provides a new macro to determine the correct blender version values.
Changes in this patch include:
- the .desktop menu file is installed in $PREFIX/share/applications and points to the svg icon instead of a png one, which is also installed in $PREFIX/share/pixmaps
- docs are installed in $PREFIX/share/doc/blender
- scripts are installed in in $PREFIX/share/blender/x.xx/
- locales are installed in in $PREFIX/share/blender/x.xx/datafiles
- a new cmake macro determines and sets the correct values for BLENDER_VERSION_MAJOR, BLENDER_VERSION_MINOR, BLENDER_SUBVERSION, BLENDER_VERSION, BLENDER_MINVERSION_MAJOR, BLENDER_MINVERSION_MINOR, BLENDER_MINSUBVERSION and BLENDER_MINVERSION by parsing source/blender/blenkernel/BKE_blender.h and calculating major/minor values. This replaces the hardcoded value in the top CMakeLists file and is used by all platforms.
Diffstat (limited to 'release/freedesktop/blender.desktop')
-rw-r--r-- | release/freedesktop/blender.desktop | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/freedesktop/blender.desktop b/release/freedesktop/blender.desktop index 39e0e3afe8e..1069958f6f1 100644 --- a/release/freedesktop/blender.desktop +++ b/release/freedesktop/blender.desktop @@ -3,7 +3,7 @@ Encoding=UTF-8 Name=Blender Comment=3D modeling, animation, rendering and post-production Exec=blender -Icon=blender.png +Icon=blender.svg Terminal=false Type=Application Categories=Graphics;3DGraphics; |