Hello community, here is the log from the commit of package blender for openSUSE:Factory checked in at 2015-04-05 02:04:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/blender (Old) and /work/SRC/openSUSE:Factory/.blender.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "blender" Changes: -------- --- /work/SRC/openSUSE:Factory/blender/blender.changes 2015-03-05 18:16:55.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.blender.new/blender.changes 2015-04-05 02:04:14.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Mar 3 06:40:37 UTC 2015 - davejplater@gmail.com + +- Enable build with cycles - see bnc#905649 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ blender.spec ++++++ --- /var/tmp/diff_new_pack.dH0QUN/_old 2015-04-05 02:04:16.000000000 +0200 +++ /var/tmp/diff_new_pack.dH0QUN/_new 2015-04-05 02:04:16.000000000 +0200 @@ -109,6 +109,9 @@ %endif BuildRequires: graphviz BuildRequires: liblcms-devel +# Added OpenimageIO and OpenColorIO to enable build with cycles see bnc#905649 +BuildRequires: OpenColorIO-devel +BuildRequires: OpenImageIO-devel # See bnc#713346 Requires: python3-xml BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -184,8 +187,8 @@ -DWITH_PYTHON:BOOL=on \ -DWITH_PYTHON_INSTALL:BOOL=off \ -DWITH_GAMEENGINE:BOOL=ON \ + -DWITH_CYCLES:BOOL=ON \ -DWITH_OPENIMAGEIO:BOOL=ON \ - -DWITH_CYCLES:BOOL=OFF \ -DWITH_PLAYER:BOOL=on \ -DWITH_INSTALL_PORTABLE:BOOL=OFF \ -DWITH_BUILTIN_GLEW:BOOL=OFF \ @@ -194,6 +197,12 @@ -DSUPPORT_SSE2_BUILD=false \ %endif -DWITH_MOD_OCEANSIM:BOOL=OFF \ + -DCMAKE_VERBOSE_MAKEFILE=on \ + -DCMAKE_C_FLAGS="$RPM_OPT_FLAGS -msse -msse2" \ + -DCMAKE_CXX_FLAGS="$RPM_OPT_FLAGS -msse -msse2" \ + -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} +# NOTE: openSUSE versions with python3 version 3.4 build without the following flags. +%if 1 == 0 %if (0%{?suse_version} > 1220 && 0%{?suse_version} <= 1310) || 0%{?sles_version} -DPYTHON_VERSION=3.3 \ -DPYTHON_LIBPATH=/usr/lib \ @@ -212,10 +221,7 @@ -DPYTHON_LIBRARY=python3.2m \ -DPYTHON_INCLUDE_DIRS=/usr/include/python3.2m \ %endif - -DCMAKE_VERBOSE_MAKEFILE=on \ - -DCMAKE_C_FLAGS="$RPM_OPT_FLAGS" \ - -DCMAKE_CXX_FLAGS="$RPM_OPT_FLAGS" \ - -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} +%endif export LDFLAGS="$LDFLAGS -lclew" make %{?_smp_mflags} @@ -317,6 +323,7 @@ %find_lang %{name} %{?no_lang_C} rm -rf %{buildroot}%{_datadir}/locale/languages +find %{buildroot}%{_datadir}/%{name}/%{_version}/scripts/ -name "*.h" -print -delete %post update-desktop-database >/dev/null 2>&1 ||: