Hello community,
here is the log from the commit of package blender for openSUSE:Factory checked in at 2017-10-03 23:20:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/blender (Old)
and /work/SRC/openSUSE:Factory/.blender.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "blender"
Tue Oct 3 23:20:24 2017 rev:100 rq:530857 version:2.79
Changes:
--------
--- /work/SRC/openSUSE:Factory/blender/blender.changes 2017-05-18 20:51:47.289895278 +0200
+++ /work/SRC/openSUSE:Factory/.blender.new/blender.changes 2017-10-03 23:20:26.311790448 +0200
@@ -1,0 +2,58 @@
+Tue Oct 3 11:35:11 UTC 2017 - dimstar@opensuse.org
+
+- Do not BuildRequire openSUSE-release: in TW, this is a daily
+ changing package, invalidating blender daily. There is no
+ information a package would require, which is not also available
+ in distribution-release (which exists for this very purpose and
+ can be used across SUSE distributions, incl. Leap/SLE).
+
+-------------------------------------------------------------------
+Wed Sep 20 08:09:17 UTC 2017 - davejplater@gmail.com
+
+- Update to release 2.79
+- Remove blender-system-audaspace.patch incorporated in this version
+- Now build with ffmpeg and cyles unconditionaly.
+- Added blender-2.78-C++11-build-fix.patch for future openvdb build.
+- Specifically require audaspace-plugins to fix boo#1057965.
+- Add Compatibility_Warning.txt to warn about 2.78/2.79 compatibility
+ problems on installation.
+- Upstream changes:
+ *Cycles: Built-in Denoising, Shadow catcher,Principled shader,
+ AMD OpenCL optimizations.
+ *Grease Pencil: New frame interpolation tools, per-layer onion
+ skinning.
+ *Alembic: Improvements to compatibility, stability and support.
+ *User Interface: Initial support for reusable custom
+ configurations, automatic DPI scaling.
+ *Twenty Three new and several updated add-ons.
+ *100s of bug fixes and other improvements!
+
+ *Compatibility Warning
+ Due to various issues with drivers for AMD GCN 1.0 architecture
+ , those cards are no longer supported for Cycles rendering
+ When using add-ons in Blender 2.79 that take advantage of the
+ new data-block pointer properties, the resulting .blend files
+ can't be opened in earlier versions of Blender. Attempting to
+ open such .blend files in Blender 2.78c and earlier may crash.
+ Some Interface Themes may need to be reloaded to work properly.
+ The text color contained in a layout.box() is now defined in
+ User Preferences » Themes » User Interface » Box section
+ Rig compatibility:
+ Changes to IK snapping may affect rigs that use non-uniform
+ IK scaling. (rigs created in the 2.78 builds.)
+ During the 2.78 series: IK snapping was partly broken.
+ This has been fixed for Blender 2.79
+ Rigs created in Blender 2.78 may not be compatible with
+ 2.79.
+ Rigs created in Blender 2.77 may still work.
+ When using the add-on Rigify, please note:
+ Compatibility is broken for this release. There's no
+ guarantee rigs created in previous Blender versions will
+ work correctly.
+ Rigs created in Blender 2.78 may not be compatible with 2.79.
+ Rigs created in Blender 2.77 may still work.
+ Save your work before attempting upgrading your rigs.
+- See:https://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.79
+ For a comprehensive list.
+
+-------------------------------------------------------------------
Old:
----
blender-2.78c.tar.gz
blender-2.78c.tar.gz.md5sum
blender-system-audaspace.patch
New:
----
Compatibility_Warning.txt
blender-2.78-C++11-build-fix.patch
blender-2.79.tar.gz
blender-2.79.tar.gz.md5sum
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ blender.spec ++++++
--- /var/tmp/diff_new_pack.9skwn5/_old 2017-10-03 23:20:29.435350865 +0200
+++ /var/tmp/diff_new_pack.9skwn5/_new 2017-10-03 23:20:29.439350303 +0200
@@ -1,7 +1,7 @@
#
# spec file for package blender
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,12 +15,14 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
+
%define osversion %(cat /etc/os-release|grep VERSION_ID|cut -d '"' -f 2)
# NOTE:Audaspace will become a separate library as of blender 2.8 set audaspace to 1 when this verion is available.
# NOTE:Adaspace is already in factory.
%define audaspace 1
%define collada 1
%define wplayer 1
+%define openvdb 0
# Set this to 1 for fixing bugs.
%define debugbuild 0
# Find the version of python3 that blender is going to build against.
@@ -29,23 +31,8 @@
# trailing y) in the directory path. This makes this additional variable
# necessary.
%define _version %(echo %{version} | cut -b 1-4)
-# NOTE: this is to enable blender to build without cycles for 13.2 BUILD_ORIG = 1 see boo#960234
-%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315
-%bcond_without ffmpeg
-%bcond_without cycles
-%else
-%if 0%{?BUILD_ORIG} == 1 && 0%{?suse_version} <= 1320
-%define collada 0
-%bcond_without ffmpeg
-%bcond_with cycles
-%else
-%define collada 0
-%bcond_with ffmpeg
-%bcond_with cycles
-%endif
-%endif
Name: blender
-Version: 2.78c
+Version: 2.79
Release: 0
Summary: A 3D Modelling And Rendering Package
License: GPL-2.0+
@@ -60,14 +47,18 @@
Source6: blender.xpm
Source7: x-blend.desktop
Source8: blender.appdata.xml
-# PATCH-FIX-UPSTREAM blender-system-audaspace.patch davejplater@gmail.com -- Fix github audaspace issue #7
-Patch1: blender-system-audaspace.patch
+# Message for display on installation due to compatibility problems with 2.78.
+Source9: Compatibility_Warning.txt
+# The openvdb package is WIP
+#Patch2 blender-2.78c-openvdb3-abi.patch
+Patch3: blender-2.78-C++11-build-fix.patch
# libquicktime-devel
-BuildRequires: openSUSE-release
BuildRequires: OpenEXR-devel
BuildRequires: SDL2-devel
BuildRequires: binutils-gold
+BuildRequires: distribution-release
%if 0%{?suse_version} > 1325
+BuildRequires: gcc-c++
BuildRequires: libboost_atomic-devel
BuildRequires: libboost_filesystem-devel
BuildRequires: libboost_locale-devel
@@ -75,12 +66,14 @@
BuildRequires: libboost_thread-devel
%else
BuildRequires: boost-devel
+BuildRequires: gcc6
+BuildRequires: gcc6-c++
+#!buildignore: libgcc_s1
%endif
BuildRequires: cmake
BuildRequires: desktop-file-utils
BuildRequires: fdupes
BuildRequires: fftw3-devel
-BuildRequires: gcc-c++
BuildRequires: gettext-tools
BuildRequires: glew-devel
BuildRequires: graphviz
@@ -91,7 +84,9 @@
BuildRequires: libdrm-devel
BuildRequires: libexpat-devel
BuildRequires: libjpeg-devel
-BuildRequires: pkgconfig(lcms2)
+%if %{openvdb} == 1
+BuildRequires: openvdb-devel
+%endif
BuildRequires: libpng-devel
BuildRequires: libsamplerate-devel
BuildRequires: libsndfile-devel
@@ -105,6 +100,7 @@
BuildRequires: pcre-devel
BuildRequires: perl-Text-Iconv
BuildRequires: pkg-config
+BuildRequires: pkgconfig(lcms2)
BuildRequires: pkgconfig(libopenjpeg)
%if 0%{?debugbuild} == 1
BuildRequires: pkgconfig(valgrind)
@@ -134,31 +130,23 @@
Requires: python3-requests
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} > 1210
BuildRequires: libGLw-devel
BuildRequires: libGLw1
-%else
-BuildRequires: MesaGLw-devel
-%endif
-%if %{with ffmpeg}
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavdevice)
BuildRequires: pkgconfig(libavformat)
BuildRequires: pkgconfig(libavutil)
BuildRequires: pkgconfig(libswscale)
-%endif
%if 0%{?collada} == 1
BuildRequires: openCOLLADA-devel
%endif
%if 0%{?audaspace} == 1
BuildRequires: pkgconfig(audaspace) >= 1.3
+Requires: audaspace-plugins
%endif
-# Added OpenimageIO and OpenColorIO to enable build with cycles see bnc#905649
-%if %{with cycles}
BuildRequires: OpenColorIO-devel
BuildRequires: OpenImageIO-devel
BuildRequires: cmake(pugixml)
-%endif
%description
Blender is a 3D modelling and rendering package. It is the in-house
@@ -177,19 +165,20 @@
rendering, node-based compositing, and non linear video editing,
as well as an integrated game engine for real-time interactive 3D
and game creation and playback with cross-platform compatibility.
-%if %{without cycles}
-This blender is not built with cycles.
-%endif
%lang_package
%prep
echo %{osversion}
+%if 1 == 1
pushd ../SOURCES
md5sum -c %{SOURCE1}
popd
+%endif
%setup -q
-%patch1
+#%%patch1
+#%%patch2 -p1
+%patch3
rm -rf extern/glew
rm -rf extern/libopenjpeg
@@ -216,6 +205,13 @@
-DCMAKE_CXX_FLAGS_DEBUG:STRING="-fsanitize=address -ggdb" \
-DWITH_MEM_VALGRIND:BOOL=ON \
-DWITH_ASSERT_ABORT:BOOL=ON \
+%else
+ -DCMAKE_C_FLAGS:STRING="$CFLAGS %{optflags}" \
+ -DCMAKE_CXX_FLAGS:STRING="$CXXFLAGS %{optflags}" \
+%endif
+%if 0%{?suse_version} < 1325
+ -DCMAKE_CXX_COMPILER:FILEPATH=%{_bindir}/g++-6 \
+ -DCMAKE_C_COMPILER:FILEPATH=%{_bindir}/gcc-6 \
%endif
%if 0%{?is_opensuse} == 1
-DWITH_MEM_JEMALLOC:BOOL=ON \
@@ -229,10 +225,12 @@
-DWITH_IMAGE_OPENJPEG:BOOL=on \
-DWITH_SYSTEM_OPENJPEG:BOOL=on \
-DWITH_LIBMV_SCHUR_SPECIALIZATIONS:BOOL=on \
-%if %{with ffmpeg}
-DWITH_CODEC_FFMPEG:BOOL=on \
+%if %{openvdb} == 1
+ -DWITH_OPENVDB:BOOL=on \
+ -DWITH_OPENVDB_BLOSC:BOOL=on \
%endif
-%if 0%{?collada} == 1
+ %if 0%{?collada} == 1
-DWITH_OPENCOLLADA:BOOL=on \
%else
-DWITH_OPENCOLLADA:BOOL=off \
@@ -243,18 +241,13 @@
-DWITH_PYTHON:BOOL=on \
-DWITH_PYTHON_INSTALL:BOOL=off \
-DWITH_GAMEENGINE:BOOL=ON \
-%if %{without cycles}
- -DWITH_CYCLES:BOOL=OFF \
-%endif
%ifarch ppc ppc64 ppc64le
-DWITH_CYCLES:BOOL=OFF \
%else
-%if %{with cycles}
-DWITH_CYCLES:BOOL=ON \
-DWITH_OPENIMAGEIO:BOOL=ON \
-DWITH_OPENCOLORIO:BOOL=ON \
%endif
-%endif
-DWITH_PLAYER:BOOL=on \
-DWITH_INSTALL_PORTABLE:BOOL=OFF \
-DWITH_SYSTEM_GLEW:BOOL=ON \
@@ -363,10 +356,15 @@
%endif
find . -name blender-softwaregl -print -exec cp -v {} %{buildroot}%{_bindir}/ \;
+# Warn about compatibility problems with previous version
+mkdir -p %{buildroot}%{_localstatedir}/adm/update-messages/
+cp -v %{SOURCE9} %{buildroot}%{_localstatedir}/adm/update-messages/%{name}-%{version}-%{release}
+
%post
%mime_database_post
%desktop_database_post
touch --no-create %{_datadir}/icons/hicolor >/dev/null 2>&1 ||:
+cat %{_localstatedir}/adm/update-messages/%{name}-%{version}-%{release}
%postun
%mime_database_postun
@@ -390,6 +388,7 @@
%dir %{_datadir}/%{name}
%dir %{_datadir}/%{name}/%{_version}
%dir %{_datadir}/%{name}/%{_version}/datafiles
+%{_localstatedir}/adm/update-messages/%{name}-%{version}-%{release}
%ifnarch ppc %power64
%if 0%{?is_opensuse} == 1
%{_datadir}/%{name}/%{_version}/datafiles/colormanagement/
++++++ Compatibility_Warning.txt ++++++
*Compatibility Warning
Due to various issues with drivers for AMD GCN 1.0 architecture
, those cards are no longer supported for Cycles rendering
When using add-ons in Blender 2.79 that take advantage of the
new data-block pointer properties, the resulting .blend files
can't be opened in earlier versions of Blender. Attempting to
open such .blend files in Blender 2.78c and earlier may crash.
Some Interface Themes may need to be reloaded to work properly.
The text color contained in a layout.box() is now defined in
User Preferences » Themes » User Interface » Box section
Rig compatibility:
Changes to IK snapping may affect rigs that use non-uniform
IK scaling. (rigs created in the 2.78 builds.).
During the 2.78 series: IK snapping was partly broken.
This has been fixed for Blender 2.79
Rigs created in Blender 2.78 may not be compatible with
2.79.
Rigs created in Blender 2.77 may still work..
When using the add-on Rigify, please note:
Compatibility is broken for this release. There's no
guarantee rigs created in previous Blender versions will
work correctly.
Rigs created in Blender 2.78 may not be compatible with 2.79.
Rigs created in Blender 2.77 may still work.
Save your work before attempting upgrading your rigs.\n
++++++ blender-2.78-C++11-build-fix.patch ++++++
Index: source/blender/render/intern/raytrace/rayobject_rtbuild.cpp
===================================================================
--- source/blender/render/intern/raytrace/rayobject_rtbuild.cpp.orig 2017-02-22 17:11:13.000000000 +0200
+++ source/blender/render/intern/raytrace/rayobject_rtbuild.cpp 2017-06-12 09:29:36.178303530 +0200
@@ -33,6 +33,7 @@
#include