Hello community,

here is the log from the commit of package blender for openSUSE:Factory checked 
in at 2020-09-03 01:16:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/blender (Old)
 and      /work/SRC/openSUSE:Factory/.blender.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "blender"

Thu Sep  3 01:16:18 2020 rev:142 rq:831309 version:2.90.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/blender/blender.changes  2020-08-31 
16:49:58.584346456 +0200
+++ /work/SRC/openSUSE:Factory/.blender.new.3399/blender.changes        
2020-09-03 01:16:54.364531270 +0200
@@ -1,0 +2,21 @@
+Tue Sep  1 14:21:17 UTC 2020 - Hans-Peter Jansen <h...@urpla.net>
+
+- Adjust spec to
+  - require gcc9-c++ at least
+  - align configuration with official builds
+  - prepare for usd and openxr additions (TBD)
+  - add support for NVIDIA compute_75 platform
+  - prepare for NVIDIA OptiX support
+- Add SUSE-NVIDIA-OptiX-rendering.txt
+
+-------------------------------------------------------------------
+Mon Aug 31 20:35:46 UTC 2020 - Marcus Rueckert <mrueck...@suse.de>
+
+- Update to version 2.90.0
+  https://www.blender.org/download/releases/2-90/
+  https://wiki.blender.org/wiki/Reference/Release_Notes/2.90
+- some features from the C++ stdlib require C++17. bump std version
+  to it.
+- refreshed make_python_3.6_compatible.patch
+
+-------------------------------------------------------------------

Old:
----
  blender-2.83.5.tar.xz
  blender-2.83.5.tar.xz.md5sum

New:
----
  SUSE-NVIDIA-OptiX-rendering.txt
  blender-2.90.0.tar.xz
  blender-2.90.0.tar.xz.md5sum

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ blender.spec ++++++
--- /var/tmp/diff_new_pack.vGwkFe/_old  2020-09-03 01:16:55.640531739 +0200
+++ /var/tmp/diff_new_pack.vGwkFe/_new  2020-09-03 01:16:55.644531741 +0200
@@ -31,6 +31,10 @@
 %bcond_without osl
 %bcond_without system_audaspace
 
+# TBD
+%bcond_with usd
+%bcond_with openxr
+
 %if 0%{?suse_version} < 1550
 %bcond_without python_36
 %endif
@@ -48,7 +52,7 @@
 %define _suffix %(echo %{_version} | tr -d '.')
 
 Name:           blender
-Version:        2.83.5
+Version:        2.90.0
 Release:        0
 Summary:        A 3D Modelling And Rendering Package
 License:        GPL-2.0-or-later
@@ -59,11 +63,12 @@
 Source1:        
https://download.blender.org/source/%{name}-%{version}.tar.xz.md5sum
 Source2:        geeko.blend
 Source3:        geeko.README
-Source4:        blender-sample
+Source4:        %{name}-sample
 Source8:        %{name}.appdata.xml
 Source9:        SUSE-NVIDIA-GPU-rendering.txt
+Source10:       SUSE-NVIDIA-OptiX-rendering.txt
 Source99:       series
-# only rely on patch availibility, if python_36 is requested
+# PATCH-FIX-OPENSUSE Python 3.6 compatibility
 Patch0:         make_python_3.6_compatible.patch
 # PATCH-FIX-OPENSUSE https://developer.blender.org/D5858
 Patch1:         reproducible.patch
@@ -80,7 +85,11 @@
 BuildRequires:  distribution-release
 BuildRequires:  fdupes
 BuildRequires:  fftw3-devel
+%if 0%{?gcc_version} < 10
+BuildRequires:  gcc9-c++
+%else
 BuildRequires:  gcc-c++
+%endif
 BuildRequires:  gettext-tools
 BuildRequires:  graphviz
 BuildRequires:  help2man
@@ -102,6 +111,7 @@
 BuildRequires:  libpng-devel
 BuildRequires:  libspnav-devel
 BuildRequires:  libtiff-devel
+BuildRequires:  libtool
 BuildRequires:  llvm-devel
 BuildRequires:  lzo-devel
 BuildRequires:  openal-soft-devel
@@ -245,7 +255,6 @@
 mkdir -p build && pushd build
 
 # NOTE: Don't use cmake macro.
-# openvdb >= 7.1.0 requires C++14 features
 # lean against build_files/cmake/config/blender_release.cmake
 cmake ../ \
 %if 0%{?debugbuild} == 1
@@ -255,10 +264,14 @@
       -DWITH_MEM_VALGRIND:BOOL=ON \
       -DWITH_ASSERT_ABORT:BOOL=ON \
 %else
-      -DCMAKE_C_FLAGS:STRING="$CFLAGS %{optflags} -fPIC -fopenmp " \
+      -DCMAKE_C_FLAGS:STRING="$CFLAGS %{optflags} -fPIC -fopenmp" \
       -DCMAKE_CXX_FLAGS:STRING="$CXXFLAGS %{optflags} -fPIC -fopenmp" \
+      -DWITH_MEM_VALGRIND:BOOL=OFF \
+      -DWITH_ASSERT_ABORT:BOOL=OFF \
 %endif
-      -DCMAKE_CXX_STANDARD=14 \
+      -DCMAKE_CXX_STANDARD=17 \
+      -DWITH_LLVM:BOOL=ON \
+      -DLLVM_LIBRARY:FILE=%{_libdir}/libLLVM.so \
       -DCMAKE_VERBOSE_MAKEFILE=ON \
       -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
       -DCMAKE_EXE_LINKER_FLAGS:STRING="-pie" \
@@ -282,6 +295,7 @@
       -DWITH_CYCLES:BOOL=ON \
 %if %{with osl}
       -DWITH_CYCLES_OSL:BOOL=ON \
+      -DOSL_SHADER_HINT:PATH=%{_datadir}/OpenShadingLanguage \
 %endif
 %if %{with embree}
       -DWITH_CYCLES_EMBREE:BOOL=ON \
@@ -295,7 +309,6 @@
       -DWITH_LIBMV_SCHUR_SPECIALIZATIONS:BOOL=ON \
       -DWITH_COMPOSITOR:BOOL=ON \
       -DWITH_FREESTYLE:BOOL=ON \
-      -DWITH_GHOST_XDND:BOOL=ON \
       -DWITH_IK_SOLVER:BOOL=ON \
       -DWITH_IK_ITASC:BOOL=ON \
       -DWITH_IMAGE_CINEON:BOOL=ON \
@@ -306,12 +319,11 @@
       -DWITH_IMAGE_TIFF:BOOL=ON \
       -DWITH_INPUT_NDOF:BOOL=ON \
       -DWITH_INTERNATIONAL:BOOL=ON \
-      -DWITH_JACK:BOOL=ON \
       -DWITH_LZMA:BOOL=ON \
       -DWITH_LZO:BOOL=ON \
       -DWITH_SYSTEM_LZO:BOOL=ON \
-      -DWITH_MOD_FLUID:BOOL=ON \
       -DWITH_MOD_REMESH:BOOL=ON \
+      -DWITH_MOD_FLUID:BOOL=ON \
 %ifnarch x86_64
       -DWITH_MOD_OCEANSIM:BOOL=OFF \
 %else
@@ -351,15 +363,28 @@
       -DWITH_QUADRIFLOW:BOOL=ON \
       -DWITH_SDL:BOOL=ON \
       -DWITH_TBB:BOOL=ON \
+%if %{with usd}
+      -DWITH_USD:BOOL=ON \
+%endif
+%if 0%{?is_opensuse} == 1
+      -DWITH_MEM_JEMALLOC:BOOL=ON \
+%endif
+      -DWITH_JACK:BOOL=ON \
       -DWITH_SYSTEM_GLEW:BOOL=ON \
+      -DWITH_DOC_MANPAGE:BOOL=ON \
+      -DWITH_GHOST_XDND:BOOL=ON \
       -DWITH_X11_XINPUT:BOOL=ON \
       -DWITH_X11_XF86VMODE:BOOL=ON \
-      -DWITH_DOC_MANPAGE:BOOL=ON \
+%if %{with openxr}
+      -DWITH_XR_OPENXR:BOOL=ON \
+%endif
       -DCYCLES_CUDA_BINARIES:BOOL=ON \
       -DCYCLES_CUBIN_COMPILER:BOOL=OFF \
-      
-DCYCLES_CUDA_BINARIES_ARCH="sm_30;sm_35;sm_37;sm_50;sm_52;sm_60;sm_61;sm_70;sm_75"
+      
-DCYCLES_CUDA_BINARIES_ARCH="sm_30;sm_35;sm_37;sm_50;sm_52;sm_60;sm_61;sm_70;sm_75;compute_75"
 \
+      -DWITH_CYCLES_DEVICE_OPTIX:BOOL=ON \
+      -DOPTIX_ROOT_DIR:PATH=/opt/nvidia/optix
 
-make %{_smp_mflags}
+make %{?_smp_mflags}
 
 %install
 echo "release version = %{_version}"
@@ -382,8 +407,9 @@
 # install appdata file
 mkdir -p %{buildroot}%{_datadir}/appdata/
 install -D -m 0644 %{SOURCE8} %{buildroot}%{_datadir}/appdata/
-# GPU rendering text
+# GPU and OptiX rendering texts
 install -D -m 0644 %{SOURCE9} %{buildroot}%{_docdir}/%{name}/
+install -D -m 0644 %{SOURCE10} %{buildroot}%{_docdir}/%{name}/
 
 chmod -f 0644 
%{buildroot}%{_datadir}/%{name}/%{_version}/scripts/modules/console_python.py
 

++++++ SUSE-NVIDIA-OptiX-rendering.txt ++++++
NVIDIA OptiX rendering on openSUSE

Prerequisites

Given, you mastered SUSE-NVIDIA-GPU-rendering.txt already, follow this guide 
in order to have OptiX rendering available from Blender.

Note, that you need an account on https://developer.nvidia.com for the next step
to succeed.

Download the OptiX package for Linux from

https://developer.nvidia.com/designworks/optix/download

At the time of this writing, this was Version 7.1.0.
The further description refers to this version.

You need to unpack it in a specific location (as root). Since we need to specify
the path to OptiX at build time, /opt/nvidia/optix needs to point to your 
current
OptiX environment:

$ su
# mkdir -p /opt/nvidia
# cd /opt/nvidia
# sh ~user/Downloads/NVIDIA-OptiX-SDK-7.1.0-linux64-x86_64.sh
# # Answer all questions with yes.

# # Note: adjust path accordingly
# ln -s NVIDIA-OptiX-SDK-7.1.0-linux64-x86_64 optix

Now set up OptiX environment, e.g. in ~/.profile or in /etc/profile.local:

export OPTIX_ROOT_DIR=/opt/nvidia/optix
export OPTIX_INCLUDE_DIR=$OPTIX_ROOT_DIR/include

Given, all prerequisites are fulfilled, you should find the OptiX rendering 
device
in Edit -> Preferences -> System.

++++++ blender-2.83.5.tar.xz -> blender-2.90.0.tar.xz ++++++
/work/SRC/openSUSE:Factory/blender/blender-2.83.5.tar.xz 
/work/SRC/openSUSE:Factory/.blender.new.3399/blender-2.90.0.tar.xz differ: char 
26, line 1

++++++ blender-2.83.5.tar.xz.md5sum -> blender-2.90.0.tar.xz.md5sum ++++++
--- /work/SRC/openSUSE:Factory/blender/blender-2.83.5.tar.xz.md5sum     
2020-08-24 15:10:24.682607747 +0200
+++ /work/SRC/openSUSE:Factory/.blender.new.3399/blender-2.90.0.tar.xz.md5sum   
2020-09-03 01:16:54.072531163 +0200
@@ -1 +1 @@
-6e8cc44d9c633eeeb26bafb8d1cc613e  blender-2.83.5.tar.xz
+c85645c7a013c1880b24ebb1154d4284  blender-2.90.0.tar.xz


++++++ make_python_3.6_compatible.patch ++++++
--- /var/tmp/diff_new_pack.vGwkFe/_old  2020-09-03 01:16:55.820531806 +0200
+++ /var/tmp/diff_new_pack.vGwkFe/_new  2020-09-03 01:16:55.820531806 +0200
@@ -1,8 +1,8 @@
-Index: blender-2.83.1/CMakeLists.txt
+Index: blender-2.90.0/CMakeLists.txt
 ===================================================================
---- blender-2.83.1.orig/CMakeLists.txt
-+++ blender-2.83.1/CMakeLists.txt
-@@ -738,8 +738,8 @@ if(WITH_PYTHON)
+--- blender-2.90.0.orig/CMakeLists.txt
++++ blender-2.90.0/CMakeLists.txt
+@@ -760,8 +760,8 @@ if(WITH_PYTHON)
    # Do this before main 'platform_*' checks,
    # because UNIX will search for the old Python paths which may not exist.
    # giving errors about missing paths before this case is met.
@@ -13,10 +13,10 @@
    endif()
  
    file(GLOB RESULT "${CMAKE_SOURCE_DIR}/release/scripts/addons")
-Index: blender-2.83.1/source/blender/python/intern/bpy_rna.c
+Index: blender-2.90.0/source/blender/python/intern/bpy_rna.c
 ===================================================================
---- blender-2.83.1.orig/source/blender/python/intern/bpy_rna.c
-+++ blender-2.83.1/source/blender/python/intern/bpy_rna.c
+--- blender-2.90.0.orig/source/blender/python/intern/bpy_rna.c
++++ blender-2.90.0/source/blender/python/intern/bpy_rna.c
 @@ -8863,8 +8863,9 @@ static PyObject *pyrna_register_class(Py
  
    /* Call classed register method.
@@ -60,13 +60,13 @@
      }
    }
  
-Index: blender-2.83.1/source/blender/python/intern/bpy_capi_utils.h
+Index: blender-2.90.0/source/blender/python/intern/bpy_capi_utils.h
 ===================================================================
---- blender-2.83.1.orig/source/blender/python/intern/bpy_capi_utils.h
-+++ blender-2.83.1/source/blender/python/intern/bpy_capi_utils.h
-@@ -21,8 +21,8 @@
- #ifndef __BPY_CAPI_UTILS_H__
- #define __BPY_CAPI_UTILS_H__
+--- blender-2.90.0.orig/source/blender/python/intern/bpy_capi_utils.h
++++ blender-2.90.0/source/blender/python/intern/bpy_capi_utils.h
+@@ -20,8 +20,8 @@
+ 
+ #pragma once
  
 -#if PY_VERSION_HEX < 0x03070000
 -#  error "Python 3.7 or greater is required, you'll need to update your 
Python."
@@ -74,4 +74,4 @@
 +#  error "Python 3.6 or greater is required, you'll need to update your 
Python."
  #endif
  
- struct EnumPropertyItem;
+ #ifdef __cplusplus


Reply via email to