Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package blender for openSUSE:Leap:16.0 checked in at 2025-06-02 20:24:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:16.0/blender (Old) and /work/SRC/openSUSE:Leap:16.0/.blender.new.16005 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "blender" Mon Jun 2 20:24:41 2025 rev:2 rq:1278532 version:4.4.3 Changes: -------- --- /work/SRC/openSUSE:Leap:16.0/blender/blender.changes 2025-04-25 18:19:00.653875086 +0200 +++ /work/SRC/openSUSE:Leap:16.0/.blender.new.16005/blender.changes 2025-06-02 20:24:42.526695181 +0200 @@ -1,0 +2,336 @@ +Tue May 6 08:10:52 UTC 2025 - Guillaume GARDET <guillaume.gar...@opensuse.org> + +- Add condition for OpenImageDenoise BuildRequires +- Enable OpenImageDenoise on aarch64 + +------------------------------------------------------------------- +Thu May 1 02:32:07 UTC 2025 - Marcus Rueckert <mrueck...@suse.de> + +- add BuildRequires for fftw3-threads-devel which is needed now + +------------------------------------------------------------------- +Thu May 1 01:46:58 UTC 2025 - Marcus Rueckert <mrueck...@suse.de> + +- Update to 4.4.3 + https://developer.blender.org/docs/release_notes/4.4/corrective_releases/ + - Crashing in compositor (#138132) + - Assigning Action without assigning slot crashes the Dope Sheet + when the NLA is involved. (#137779) + - Compositor: Support link search for Glare node. (e6aae3926b) + - Crash in Blender 4.4.1 related to custom properties and + drivers. (#138073) + - Crash when compositor references another scene. (#137821) + - Principled BSDF and curve info shading error when using + roughness and image texture in cycles. (#137621) + - Switching Lattice to Edit Mode Crashes Blender. (#137700) + - The Curve to Point node cannot output the tangent attribute in + Blender 4.4.1. (#137600) + - "Merge Group" on empty grease pencil layer group will crash. + (#136755) + - Anim: Converting bone rotation with Rigify crashes Blender. + (#136706) + - Anim: Keying slotless NLA strip does not update the strip's + slot. (#136596) + - Anim: versioning after #136347 fixed keyframe interpolation + flags. (f15257ae3c) + - Assets Reload After each Save which makes it Invisible in the + Search List for a second. (#136254) + - Blender 4.4.0 Reference images draw in front of meshes while + render engine is set to Cycles. (#136185) + - Blender crash when entering a number in remesh modifier. + (#136637) + - Bugs with Slotted Actions and the Available Keying Set. + (#137041) + - Canceling sculpt transform tool leads to invalid display of + mesh. (fa2eee6f70) + - Cannot edit any texts when file comes from blender translated + in Chinese . (#136829) + - Cannot select objects inside View Clipping Region (ALT+B). + (#136273) + - Changed legacy node types. (#136891) + - Collection Line Art is distorted. (#136868) + - Color management settings can't be animated in 4.4. (#136415) + - Color sample only works as "merge". (#136105) + - Compilation error with XCode 16.3. (2a4303a1cb) + - Crash 'Select Linked' after 'Select Boundary Loop' in + multiobject editmode. (#136491) + - Crash drawing poly-line gesture. (fe8e7618f4) + - Crash loading & saving large Iris images. (ac5b00a453) + - Crash on Mac arm64 trying to draw an empty batch for shader. + (#136831) + - Crash on Merge Animation when Slot has no Channelbag. (#136967) + - Crash open a file in early versions with a closure node output. + (#136949) + - Crash saving large Cineon images. (44a91fd528) + - Crash saving large WebP images. (7ce866e3c0) + - Crash when deleting tools Measure. (#136402) + - Crash when hiding a collection referenced by Geometry Nodes. + (#136269) + - Crash when left click after deleting light. (#136563) + - Crash when using both viewport and normal compositor with fog + glow. (#136557) + - Crash with certain compositor setups. (#136360) + - Crash with object info node. (#137114) + - Crash with Select "Shortest path" in the UV editor. (#136280) + - Crashed while using Interpolate tool in Grease Pencil. + (#136646) + - Cycles HIP RDNA2 white and blue render artifacts. (#136138) + - Cycles OSL: Window texture coordinate is wrong for panoramic + cameras. (#135955) + - Cycles: Disable MNEE on RDNA4 GPUs. (6dbecf1fdb) + - Cycles: Principled BSDF renders incorrectly in specific setup. + (#137420) + - Difficulty to select pose bones when in Weight Paint mode. + (#136098) + - Edges become occluded in Edit Mode when they line up with the + viewport grid. (#136501) + - ERROR (gpu.shader): gpu_shader_2D_widget_base FragShader. + (#132968) + - Error reading RLE compressed Iris images. (2cbb07d7ad) + - Exception showing touch-pad preferences. (c0c76b34b5) + - Failure to save an existing Cineon file. (23c7ca6e39) + - FCurve noise modifier offset affected by scale. (f1e829a459) + - Fix crash from a missing check for an environment variable on + macOS. (e0244cb2cb) + - Fix missing topology cache in during node tree updates. + (e4e4d642bd) + - Geometry Nodes: Fill Caps + Resample Curves Count result in + crash. (#136668) + - Geometry Nodes: Segfault when deleting one of multiple Group + Output nodes. (#136327) + - glTF export: Fix NLA animation mode export. (d5fc1b070e) + - Graph Editor: copy/pasting a single keyframe pastes on + unselected curves when channels are collapsed. (#136736) + - Grease Pencil corrupted strokes turn black and can't be + colorized any more. (#136844) + - Grease Pencil Edit Mode does not apply low Multiframe Falloff + properly. (#137043) + - grease pencil materials duplicating on custom brushes. + (#137197) + - Grease Pencil SVG export - wrong export resolution (should be + Output > Resolution X,Y). (#136312) + - Grease Pencil: "AutoMerge" Destroys weight paining on strokes. + (#136243) + - Grease Pencil: Assert when weight painting rigged GP object and + some layers hidden. (#134517) + - Grease Pencil: Channel color versioning. (fa29eef109) + - Grease Pencil: Crash when exporting PDF/SVG with sampling. + (97fe0a3aac) + - Grease Pencil: Crash when using selection tools in edit mode. + (#137227) + - Grease Pencil: Interpolation changing static strokes. (#128769) + - Grease Pencil: SVG export uniform width option. (85657e36a0) + - Grease Pencil: Thickness modifier affects strokes that are not + part of the vertex group. (#137385) + - GreasePencil: Layer visible when loading in Blender 4.5. + (#137152) + - H.265 / HEVC Codec ID incompatible with Apple's apps such as + Final Cut Pro. (#136651) + - Hard Crash when second UV Map has big Islands. (#136235) + - Inconsistent Bézier Curve to Grease Pencil Conversion and + Stroke Thickness Issue. (#134098) + - Integer overflows calculating the number of pixels in imbuf. + (358d4b8e02) + - Integer overflows calculating the number of pixels. + (8cacf61568) + - Intel OpenGL: Camera gizmo can not be shifted with gizmo while + Drag Select box is active. (#132196) + - Interface: Division by zero exception opening a enum menu. + (#136206) + - Interface: Edge slide and Mesh Shear Status Bars Incorrectly + Overridden. (#136061) + - Interface: various minor fixes/changes to file + BUTTONS_OT_file_browse. (d0157b0b70) + - Internal mode in IES texture node flagged in missing file + report. (#134756) + - Inversion Mode of the Fill/Deepen and Scrape/Fill brushes is + weaker than expected. (#136204) + - Keyframe interpolation behavior changed for BoolProperty. + (#136347) + - Knife Tool Cut through not working after enabling Angle + Constraint. (#136867) + - macOS: Disable OpenMP when using Xcode 16.3 / LLVM 17. + (12ae5630dc) + - Mantaflow moving Collision not detected. (#136317) + - Material set from geometry nodes with a texture does not + display in edit mode. (#136175) + - Messed up Buttons with Spacemouse Pro. (#136401) + - Missed Update when node Tool is removed. (#113215) + - Missing BLI_endian_switch_uint32(&val) leads to failure on + s390x architecture. (#136860) + - Motion path keyframe number not showing on bones. (#136728) + - Move slots to new action not maintaining animation data. + (#136388) + - My blender is crashing randomly when I change the glare in the + composition. (#136310) + - Name Filter/Search in Dope Sheet and Timeline editors do not + hide channels properly. (#136887) + - New render slots could contain truncated UTF8 byte sequences. + (898c840480) + - Opening files from Splash executes scripts even from excluded + folders. (#137314) + - Orbit & Pan Auto Depth affected by transparent geometry when + Viewport Shading is set to Material Preview or Rendered. + (#136335) + - Pasted curves on multiple selected objects only visible after + deselecting. (#136830) + - Plane brush symmetry passes do not use the stabilized normal. + (04db7df4ef) + - Potential stack use after free with Plane brush. (74d14e2588) + - Potential use of invalid IME window pointer on Wayland. + (d0ef007134) + - Python: Limit numpy version for bpy wheel. (#134551) + - python3.dll dependency in extensions cant be loaded from + subprocesses..? leads to import issues in extension. (#126782) + - QuadriFlow Remesh gets stuck in a specific case. (#136593) + - Regression: Geometry Nodes: "Set Curve Normal" -> "Free" + corrupts normals (?). (#136378) + - Regression: Stereoscope Output Images Wrong Color. (#136619) + - Regression: VSE: Playhead jumps to start frame on Mac. + (#136155) + - Retain slot name when baking actions. (a89d6e0544) + - Sculpt: Improve smooth brush performance with small radius. + (b38ecd5148) + - Shadow Loss on Non-manifold Meshes in Solid Viewport Mode with + Backface Culling Enabled. (#136422) + - Slotted Actions - Duplicate Slot doesn't duplicate animation + data. (#136947) + - The presence of a hidden panels affects the text weight of + sided tabs. (#135742) + - UV maps can render incorrectly in certain situations. (#136810) + - Viewport render in 4.4 beta does not match the viewport render + of 4.3.2. (#135841) + - VSE crash when moving retiming key. (983f0ba086) + - VSE Inconsistent retiming key UI over audio waveform (and a + crash). (#136724) + - When marking multiple objects as assets, only the last asset + automatically generates a preview thumbnail. (#136645) + +------------------------------------------------------------------- +Mon Mar 24 16:55:49 UTC 2025 - Marcus Rueckert <mrueck...@suse.de> + +- the big conditionals and BuildRequires cleanup + - all bconds which were on all the time got removed + - as many BR as possible got convert to cmake() and pkgconfig() + format + - fall back BR now use the (foo or bar) syntax + - cleaned up many BR which were no longer used, including boost + libraries no longer needed, openCollada and many more. + - always build with jemalloc + - force system freetype2 + +------------------------------------------------------------------- +Tue Mar 18 15:53:49 UTC 2025 - Marcus Rueckert <mrueck...@suse.de> + +- Update to 4.4.0 + https://developer.blender.org/docs/release_notes/4.4/ + https://www.blender.org/download/releases/4-4/ +- build with python 3.13 on TW but keep python 3.11 on Leap +- we can build with system audaspace on Leap again +- refreshed patches cmake_manpage_fix.patch +- drop patches: + Add_missing_system_error_handler.patch + ffmpeg-7-1.patch +- change BR for zstd to cmake(zstd) because the pkgconfig alone was + not enough to find the library +- add pkgconfig(libpipewire-0.3) if we ever switch back to the + intree audaspace +- add support for easily test snapshots + +------------------------------------------------------------------- +Thu Feb 13 10:35:29 UTC 2025 - Marcus Rueckert <mrueck...@suse.de> + +- force gcc 14 on Leap + +------------------------------------------------------------------- +Thu Feb 13 03:07:32 UTC 2025 - Marcus Rueckert <mrueck...@suse.de> + +- it fails to build with OSL 1.11 force the TW version + +------------------------------------------------------------------- +Thu Feb 13 02:46:41 UTC 2025 - Marcus Rueckert <mrueck...@suse.de> + +- force newer boost for the whole stack + +------------------------------------------------------------------- +Tue Feb 11 16:09:50 UTC 2025 - Marcus Rueckert <mrueck...@suse.de> + +- For the desktop file we do not need the 2nd copy + +------------------------------------------------------------------- +Tue Feb 11 14:38:04 UTC 2025 - Marcus Rueckert <mrueck...@suse.de> + +- disable update-alternative again. only the main package will have + unversioned hardlinks. + +------------------------------------------------------------------- +Mon Feb 3 00:59:33 UTC 2025 - Marcus Rueckert <mrueck...@suse.de> + +- First attempt in making them parallel installable +- Add the %ghost %attr() for the alternatives +- cleanup filelist + +------------------------------------------------------------------- +Sat Feb 1 22:17:32 UTC 2025 - Marcus Rueckert <mrueck...@suse.de> + +- Update to 4.3.2 + https://www.blender.org/download/releases/4-3/ + https://developer.blender.org/docs/release_notes/4.3/corrective_releases/ + +------------------------------------------------------------------- +Wed Nov 20 09:21:33 UTC 2024 - Marcus Rueckert <mrueck...@suse.de> + +- disable GHOST_SDL mode, so we can enable IME input + +------------------------------------------------------------------- +Wed Nov 20 08:35:26 UTC 2024 - Marcus Rueckert <mrueck...@suse.de> + +- cleanup cmake options + - removed unused options: + -DWITH_CODEC_AVI + -DWITH_COMPOSITOR + -DWITH_IMAGE_DDS + -DWITH_IMAGE_HDR + -DWITH_IMAGE_TIFF + -DWITH_CYCLES_CUBIN_COMPILER + -DPYTHON_NUMPY_INCLUDE_DIRS + -DWITH_SYSTEM_GLEW ++++ 39 more lines (skipped) ++++ between /work/SRC/openSUSE:Leap:16.0/blender/blender.changes ++++ and /work/SRC/openSUSE:Leap:16.0/.blender.new.16005/blender.changes Old: ---- Add_missing_system_error_handler.patch blender-4.2.2.tar.xz blender-4.2.2.tar.xz.md5sum blender-assets-4.2.2.tar.xz ffmpeg-7-1.patch reproducible.patch New: ---- blender-4.4.3.tar.xz blender-4.4.3.tar.xz.md5sum blender-assets-4.4.3.tar.xz blender-assets.obsinfo blender.obsinfo BETA DEBUG BEGIN: Old:- drop patches: Add_missing_system_error_handler.patch ffmpeg-7-1.patch Old: Add_missing_system_error_handler.patch ffmpeg-7-1.patch - change BR for zstd to cmake(zstd) because the pkgconfig alone was Old:- drop patches reproducible.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ blender.spec ++++++ --- /var/tmp/diff_new_pack.BEAtQD/_old 2025-06-02 20:24:42.994714590 +0200 +++ /var/tmp/diff_new_pack.BEAtQD/_new 2025-06-02 20:24:42.994714590 +0200 @@ -1,7 +1,7 @@ # # spec file for package blender # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # Copyright (c) 2019-2023 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -20,12 +20,23 @@ %define _dwz_low_mem_die_limit 40000000 %define _dwz_max_die_limit 200000000 -%ifarch x86_64 +# use osc build --with=debugbuild to turn this on +%bcond_with debugbuild + +%bcond_with is_snapshot + +%bcond_with blender_ua + +%ifarch x86_64 aarch64 %bcond_without embree %bcond_without oidn +%bcond_without oneapi_support +%bcond_without oceansim %else %bcond_with embree %bcond_with oidn +%bcond_with oneapi_support +%bcond_with oceansim %endif %ifarch x86_64 aarch64 @@ -34,30 +45,34 @@ %bcond_with openpgl %endif +# TBD: contributions welcome +%bcond_with usd +%bcond_with openxr + %bcond_with optix %define optix_version 7.4 -%if 0%{?gcc_version} < 10 -%bcond_without clang -%bcond_with lld -%else -%bcond_with clang -%bcond_without lld -%endif +%if 0%{?suse_version} > 1550 + +%bcond_without pipewire + +%global py3ver 3.13 +%global py3pkg python313 -%if 0%{?suse_version} >= 1550 -#global force_gcc_version 10 -%bcond_without system_audaspace %else -%bcond_with system_audaspace -%endif -# Set this to 1 for fixing bugs. -%define debugbuild 0 +%bcond_with pipewire -# Define the version of python3 that blender is going to build against. -%define py3ver 3.11 -%define py3pkg python311 +%global force_boost_version 1_75_0 +%global force_gcc_version 14 + +%global py3ver 3.11 +%global py3pkg python311 +%endif + +%if %{without system_audaspace} +%define numpy_include_path %(%{_bindir}/python%{py3ver} -c "import numpy; print(numpy.get_include())") +%endif # Blender version: source/blender/blenkernel/BKE_blender_version.h # blender has versions like x.xxy which have x.xx (notice the missing @@ -66,204 +81,150 @@ %define _version %(echo %{version} | cut -b 1-3) %define _suffix %(echo %{_version} | tr -d '.') -%bcond_without alembic -%bcond_without collada -%bcond_without opensubdiv -%bcond_without openvdb -%bcond_without osl -%bcond_without system_glew -# TBD: contributions welcome -%bcond_with usd -%bcond_with openxr +%global pkg_name blender Name: blender -Version: 4.2.2 +Version: 4.4.3 Release: 0 Summary: A 3D Modelling And Rendering Package License: GPL-2.0-or-later Group: Productivity/Graphics/3D Editors URL: https://www.blender.org/ # Please leave the source url intact -Source0: https://download.blender.org/source/%{name}-%{version}.tar.xz -Source1: https://download.blender.org/source/%{name}-%{version}.tar.xz.md5sum +%if %{with is_snapshot} +Source0: %{pkg_name}-%{version}.tar.xz +%else +Source0: https://download.blender.org/source/%{pkg_name}-%{version}.tar.xz +Source1: https://download.blender.org/source/%{pkg_name}-%{version}.tar.xz.md5sum +%endif # Unfortunately, the "Essentials" library is only availabe using GIT LFS. https://projects.blender.org/blender/blender/issues/128359 Source2: blender-assets-%{version}.tar.xz Source4: geeko.blend Source5: geeko.README Source6: geeko_example_scene.blend Source7: geeko_example_scene.README -Source8: %{name}-sample +Source8: %{pkg_name}-sample Source9: SUSE-NVIDIA-GPU-rendering.txt Source10: SUSE-NVIDIA-OptiX-rendering.txt Source99: series -# PATCH-FIX-OPENSUSE https://developer.blender.org/D5858 -Patch0: reproducible.patch -# PATCH-FIX-OPENSUSE - fix gcc 13 fallout -Patch1: Add_missing_system_error_handler.patch # PATCH-FIX-UPSTREAM https://projects.blender.org/blender/blender/pulls/115320 -Patch2: cmake_manpage_fix.patch -# PATCH-FIX-UPSTREAM https://gitlab.archlinux.org/archlinux/packaging/packages/blender/-/blob/main/ffmpeg-7-1.patch?ref_type=heads -Patch3: ffmpeg-7-1.patch +Patch1: cmake_manpage_fix.patch BuildRequires: %{py3pkg}-devel BuildRequires: %{py3pkg}-numpy-devel BuildRequires: %{py3pkg}-requests -BuildRequires: OpenColorIO-devel >= 2.0 -BuildRequires: OpenEXR-devel -BuildRequires: OpenImageIO -BuildRequires: OpenImageIO-devel -BuildRequires: SDL2-devel +%if "%{?force_boost_version}" == "" +BuildRequires: libboost_numpy3-devel +BuildRequires: libboost_python3-devel +%else +BuildRequires: libboost_numpy-py3-%{?force_boost_version}-devel +BuildRequires: libboost_python-py3-%{?force_boost_version}-devel +%endif BuildRequires: cmake BuildRequires: desktop-file-utils -BuildRequires: distribution-release BuildRequires: fdupes -BuildRequires: fftw3-devel -BuildRequires: gettext-tools -BuildRequires: graphviz -BuildRequires: help2man -BuildRequires: hicolor-icon-theme -BuildRequires: jack-audio-connection-kit-devel -BuildRequires: libboost_atomic-devel -BuildRequires: libboost_date_time-devel -BuildRequires: libboost_filesystem-devel -BuildRequires: libboost_iostreams-devel -BuildRequires: libboost_locale-devel -BuildRequires: libboost_numpy3-devel -BuildRequires: libboost_program_options-devel -BuildRequires: libboost_python3-devel -BuildRequires: libboost_regex-devel -BuildRequires: libboost_serialization-devel -BuildRequires: libboost_system-devel -BuildRequires: libboost_thread-devel -BuildRequires: libboost_wave-devel +BuildRequires: fftw3-threads-devel +BuildRequires: gcc%{?force_gcc_version}-c++ BuildRequires: libharu-devel -BuildRequires: libjpeg-devel -BuildRequires: libpng-devel -BuildRequires: libpulse-devel -BuildRequires: libspnav-devel -BuildRequires: libtiff-devel -BuildRequires: llvm-devel -BuildRequires: lzo-devel BuildRequires: ninja -BuildRequires: openal-soft-devel -BuildRequires: pcre-devel -BuildRequires: perl-Text-Iconv -BuildRequires: pkgconfig BuildRequires: potrace-devel -BuildRequires: shared-mime-info -BuildRequires: update-desktop-files BuildRequires: xz -BuildRequires: xz-devel +BuildRequires: (cmake(OpenAL) or pkgconfig(openal)) +BuildRequires: (cmake(OpenImageIO) >= 2.5 with cmake(OpenImageIO) < 3) +BuildRequires: (cmake(SDL2) or pkgconfig(sdl2)) +BuildRequires: (cmake(SndFile) or pkgconfig(sndfile)) +BuildRequires: (pkgconfig(gmp) or gmp-devel) +BuildRequires: cmake(Alembic) +BuildRequires: cmake(Clang) +BuildRequires: cmake(LLVM) +BuildRequires: cmake(OpenColorIO) >= 2 +BuildRequires: cmake(OpenEXR) +%if %{with oidn} +BuildRequires: cmake(OpenImageDenoise) +%endif +BuildRequires: cmake(TBB) +BuildRequires: cmake(Tiff) BuildRequires: cmake(pugixml) BuildRequires: pkgconfig(eigen3) BuildRequires: pkgconfig(epoxy) +BuildRequires: pkgconfig(fftw3) BuildRequires: pkgconfig(freetype2) -BuildRequires: pkgconfig(gl) -BuildRequires: pkgconfig(glew) -BuildRequires: pkgconfig(glu) -BuildRequires: pkgconfig(lcms2) +BuildRequires: pkgconfig(fribidi) +BuildRequires: pkgconfig(jack) +BuildRequires: pkgconfig(jemalloc) +BuildRequires: pkgconfig(level-zero) BuildRequires: pkgconfig(libavcodec) BuildRequires: pkgconfig(libavdevice) BuildRequires: pkgconfig(libavfilter) BuildRequires: pkgconfig(libavformat) BuildRequires: pkgconfig(libavutil) BuildRequires: pkgconfig(libdecor-0) +BuildRequires: pkgconfig(libjpeg) BuildRequires: pkgconfig(libopenjp2) +BuildRequires: pkgconfig(libpng16) +BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(libswresample) BuildRequires: pkgconfig(libswscale) -BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(libwebp) BuildRequires: pkgconfig(libzstd) -BuildRequires: pkgconfig(sndfile) +BuildRequires: pkgconfig(lzo2) +BuildRequires: pkgconfig(shaderc) +BuildRequires: pkgconfig(spnav) +BuildRequires: pkgconfig(vulkan) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-cursor) BuildRequires: pkgconfig(wayland-egl) BuildRequires: pkgconfig(wayland-protocols) BuildRequires: pkgconfig(wayland-scanner) -%ifarch x86_64 -# oneVPL only available on x86_64 atm -BuildRequires: pkgconfig(vpl) -%endif -BuildRequires: pkgconfig(x11) -BuildRequires: pkgconfig(xfixes) BuildRequires: pkgconfig(xi) BuildRequires: pkgconfig(xkbcommon) -BuildRequires: pkgconfig(xrender) BuildRequires: pkgconfig(xxf86vm) -BuildRequires: pkgconfig(zlib) -Requires: %{py3pkg}-base -Requires: %{py3pkg}-numpy -Requires: %{py3pkg}-requests -Requires(post): hicolor-icon-theme -Requires(postun): hicolor-icon-theme -Recommends: %name-demo = %version -# current locale handling doesn't create locale(..) provides correctly -Recommends: %name-lang = %version -Provides: %{name}-%{_suffix} = %{version} -BuildRequires: pkgconfig(OpenEXR) -%if %{with clang} -BuildRequires: clang -%if 0%{?sle_version} == 150200 && 0%{?is_opensuse} -BuildRequires: libomp9-devel -%else -BuildRequires: libomp-devel -%endif -%if %{with lld} -BuildRequires: lld -#!BuildIgnore: gcc-c++ -%endif -%else -BuildRequires: gcc%{?force_gcc_version}-c++ -%endif -%if 0%{?suse_version} > 1500 -BuildRequires: pkgconfig(gmpxx) -%else -BuildRequires: gmp-devel -%endif -# conditional requirements -%if 0%{?debugbuild} == 1 -BuildRequires: pkgconfig(valgrind) -%endif -%if 0%{?is_opensuse} == 1 -BuildRequires: pkgconfig(jemalloc) -%endif -%if %{with alembic} -BuildRequires: alembic-devel -%endif -%if %{with collada} -BuildRequires: openCOLLADA-devel -%endif %if %{with embree} BuildRequires: cmake(embree) %endif -%if %{with oidn} -BuildRequires: OpenImageDenoise-devel >= 2 -%endif %if %{with openpgl} -BuildRequires: openpgl-devel +BuildRequires: cmake(openpgl) %endif -%if %{with opensubdiv} -BuildRequires: OpenSubdiv-devel +%if %{with oneapi_support} +# oneVPL only available on x86_64 atm +BuildRequires: pkgconfig(vpl) %endif -%if %{with openvdb} BuildRequires: openvdb-devel -BuildRequires: tbb-devel +BuildRequires: cmake(OSL) > 1.13 +BuildRequires: cmake(OpenSubdiv) BuildRequires: pkgconfig(blosc) +%if %{with usd} +BuildRequires: cmake(pxr) %endif -%if %{with optix} -BuildRequires: nvidia-optix-headers -%endif -%if %{with osl} -BuildRequires: OpenShadingLanguage-devel +%if %{with pipewire} +BuildRequires: pkgconfig(libpipewire-0.3) >= 1.1.0 %endif -%if %{with system_audaspace} -BuildRequires: pkgconfig(audaspace) >= 1.5 +BuildRequires: pkgconfig(audaspace) >= 1.6 Requires: audaspace-deviceplugin Requires: audaspace-fileplugin +%if %{with optix} +BuildRequires: nvidia-optix-headers %endif +%if %{with debugbuild} +BuildRequires: pkgconfig(valgrind) +%endif +Requires: %{py3pkg}-base +Requires: %{py3pkg}-numpy +Requires: %{py3pkg}-requests +Requires(post): hicolor-icon-theme +Requires(postun): hicolor-icon-theme +Recommends: %name-demo = %version +# current locale handling doesn't create locale(..) provides correctly +Recommends: %name-lang = %version +Provides: %{pkg_name}-%{_suffix} = %{version} %ifarch x86_64 -Obsoletes: %{name}-cycles-devel = %{version} -Provides: %{name}-cycles-devel = %{version} +Obsoletes: %{pkg_name}-cycles-devel = %{version} +Provides: %{pkg_name}-cycles-devel = %{version} %endif ExcludeArch: %{ix86} %{arm} +%if %{with blender_ua} +Requires(post): update-alternatives +Requires(postun): update-alternatives +%endif %description Blender is a 3D modelling and rendering package. It is the in-house @@ -303,36 +264,29 @@ %lang_package %prep +%if %{without is_snapshot} pushd "%{_sourcedir}" md5sum -c %{SOURCE1} popd +%endif -%autosetup -p1 -%setup -T -D -a 2 -q +%autosetup -p1 -n %{pkg_name}-%{version} +%setup -T -D -a 2 -q -n %{pkg_name}-%{version} mv blender-assets-%{version} release/datafiles/assets rm -rf extern/libopenjpeg -%if %{with system_glew} rm -rf extern/glew # silence warning about missing includedir mkdir -p extern/glew/include sed -i 's|NOT WITH_SYSTEM_GLEW|WITH_SYSTEM_GLEW|' source/blender/gpu/CMakeLists.txt -%endif for i in $(grep -rl "%{_bindir}/env python"); do sed -i '1s@^#!.*@#!%{_bindir}/python%{py3ver}@' ${i}; done %build -export SUSE_ASNEEDED=0 -%if %{with clang} -export CC="clang" -export CXX="clang++" -%define _lto_cflags -flto=full -%else %if 0%{?force_gcc_version} export CC="gcc-%{?force_gcc_version}" export CXX="g++-%{?force_gcc_version}" %endif -%endif echo "optflags: " %{optflags} mkdir -p build && pushd build @@ -348,11 +302,15 @@ -DWITH_MEM_VALGRIND:BOOL=ON \ -DWITH_ASSERT_ABORT:BOOL=ON \ %else - -DCMAKE_C_FLAGS:STRING="$CFLAGS %{optflags} -fPIC -fopenmp" \ - -DCMAKE_CXX_FLAGS:STRING="$CXXFLAGS %{optflags} -fPIC -fopenmp" \ + -DCMAKE_C_FLAGS:STRING="$CFLAGS %{optflags} -fPIC -fopenmp %{?numpy_include_path:-I%{numpy_include_path}}" \ + -DCMAKE_CXX_FLAGS:STRING="$CXXFLAGS %{optflags} -fPIC -fopenmp %{?numpy_include_path:-I%{numpy_include_path}}" \ + -DCMAKE_EXE_LINKER_FLAGS="%{?build_ldflags} -Wl,--as-needed -Wl,--no-undefined -Wl,-z,now" \ + -DCMAKE_MODULE_LINKER_FLAGS="%{?build_ldflags} -Wl,--as-needed" \ + -DCMAKE_SHARED_LINKER_FLAGS="%{?build_ldflags} -Wl,--as-needed -Wl,--no-undefined -Wl,-z,now" \ -DWITH_MEM_VALGRIND:BOOL=OFF \ -DWITH_ASSERT_ABORT:BOOL=OFF \ %endif + -DWITH_LIBS_PRECOMPILED=OFF \ -DCMAKE_CXX_STANDARD=17 \ -DWITH_CLANG:BOOL=ON \ -DWITH_LLVM:BOOL=ON \ @@ -362,39 +320,24 @@ -DCMAKE_EXE_LINKER_FLAGS:STRING="-pie" \ -DBUILD_SHARED_LIBS:BOOL=OFF \ -DWITH_INSTALL_PORTABLE:BOOL=OFF \ -%if 0%{?is_opensuse} == 1 -DWITH_MEM_JEMALLOC:BOOL=ON \ -%endif -%if %{with alembic} -DWITH_ALEMBIC:BOOL=ON \ -%endif -DWITH_AUDASPACE:BOOL=ON \ -%if %{with system_audaspace} -DWITH_SYSTEM_AUDASPACE:BOOL=ON \ -%endif -DWITH_BUILDINFO:BOOL=OFF \ -DWITH_BULLET:BOOL=ON \ - -DWITH_CODEC_AVI:BOOL=ON \ -DWITH_CODEC_FFMPEG:BOOL=ON \ -DFFMPEG_ROOT_DIR:PATH=%{_includedir}/ffmpeg \ -DWITH_CODEC_SNDFILE:BOOL=ON \ -DLIBSNDFILE_ROOT_DIR:FILE=%{_prefix} \ - -DWITH_COMPOSITOR:BOOL=ON \ -%ifarch ppc ppc64 ppc64le - -DWITH_CYCLES:BOOL=OFF \ - -DWITH_CYCLES_EMBREE:BOOL=OFF \ -%else -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 \ %else -DWITH_CYCLES_EMBREE:BOOL=OFF \ %endif -%endif -DWITH_DRACO:BOOL=ON \ -DWITH_FFTW3:BOOL=ON \ -DWITH_FREESTYLE:BOOL=ON \ @@ -403,11 +346,8 @@ -DWITH_IK_ITASC:BOOL=ON \ -DWITH_IK_SOLVER:BOOL=ON \ -DWITH_IMAGE_CINEON:BOOL=ON \ - -DWITH_IMAGE_DDS:BOOL=ON \ - -DWITH_IMAGE_HDR:BOOL=ON \ -DWITH_IMAGE_OPENEXR:BOOL=ON \ -DWITH_IMAGE_OPENJPEG:BOOL=ON \ - -DWITH_IMAGE_TIFF:BOOL=ON \ -DWITH_INPUT_NDOF:BOOL=ON \ -DWITH_INTERNATIONAL:BOOL=ON \ -DWITH_LIBMV:BOOL=ON \ @@ -416,33 +356,27 @@ -DWITH_LZO:BOOL=ON \ -DWITH_SYSTEM_EIGEN3:BOOL=ON \ -DWITH_SYSTEM_LZO:BOOL=ON \ + -DWITH_SYSTEM_FREETYPE:BOOL=ON \ -DWITH_MOD_FLUID:BOOL=ON \ -%ifnarch x86_64 - -DWITH_MOD_OCEANSIM:BOOL=OFF \ -%else + -DWITH_FRIBIDI:BOOL=ON \ +%if %{with oceansim} -DWITH_MOD_OCEANSIM:BOOL=ON \ +%else + -DWITH_MOD_OCEANSIM:BOOL=OFF \ %endif -DWITH_MOD_REMESH:BOOL=ON \ -DWITH_NANOVDB:BOOL=ON \ -DWITH_OPENAL:BOOL=ON \ -%if %{with collada} - -DWITH_OPENCOLLADA:BOOL=ON \ -%else -DWITH_OPENCOLLADA:BOOL=OFF \ -%endif -DWITH_OPENCOLORIO:BOOL=ON \ %if %{with oidn} -DWITH_OPENIMAGEDENOISE:BOOL=ON \ %endif -DWITH_OPENMP:BOOL=ON \ -%if %{with opensubdiv} -DWITH_OPENSUBDIV:BOOL=ON \ -DOPENSUBDIV_OSDGPU_LIBRARY:FILE=%{_libdir}/libosdGPU.so \ -%endif -%if %{with openvdb} -DWITH_OPENVDB:BOOL=ON \ -DWITH_OPENVDB_BLOSC:BOOL=ON \ -%endif -DWITH_POTRACE:BOOL=ON \ -DWITH_PUGIXML:BOOL=ON \ -DWITH_PYTHON:BOOL=ON \ @@ -453,28 +387,27 @@ -DPYTHON_INCLUDE_DIRS=%{_includedir}/python%{py3ver} \ -DWITH_PYTHON_INSTALL_NUMPY=OFF \ -DPYTHON_NUMPY_PATH:PATH=%{_libdir}/python%{py3ver}/site-packages \ - -DPYTHON_NUMPY_INCLUDE_DIRS:PATH=%{_libdir}/python%{py3ver}/site-packages/numpy/core/include \ -DWITH_QUADRIFLOW:BOOL=ON \ -DWITH_SDL:BOOL=ON \ -DWITH_TBB:BOOL=ON \ -%if %{with usd} -DWITH_USD:BOOL=ON \ +%if %{with usd} + -DWITH_MATERIALX:BOOL=ON \ +%else + -DWITH_MATERIALX:BOOL=OFF \ %endif -%if 0%{?is_opensuse} == 1 -DWITH_MEM_JEMALLOC:BOOL=ON \ -%endif -DWITH_JACK:BOOL=ON \ -DWITH_DOC_MANPAGE:BOOL=ON \ -DWITH_GHOST_XDND:BOOL=ON \ + -DWITH_GHOST_SDL:BOOL=OFF \ -DWITH_X11_XINPUT:BOOL=ON \ -DWITH_X11_XF86VMODE:BOOL=ON \ -%if %{with system_glew} - -DWITH_SYSTEM_GLEW:BOOL=ON \ -%else - -DWITH_SYSTEM_GLEW:BOOL=OFF \ -%endif + -DWITH_INPUT_IME:BOOL=ON \ %if %{with openxr} -DWITH_XR_OPENXR:BOOL=ON \ +%else + -DWITH_XR_OPENXR:BOOL=OFF \ %endif %if %{with optix} -DWITH_CYCLES_DEVICE_OPTIX:BOOL=ON \ @@ -482,10 +415,11 @@ -DOPTIX_ROOT_DIR:PATH=/opt/nvidia/optix \ %endif -DWITH_CYCLES_CUDA_BINARIES:BOOL=OFF \ - -DWITH_CYCLES_CUBIN_COMPILER:BOOL=OFF \ -DWITH_CYCLES_HIP_BINARIES:BOOL=ON \ + -DWITH_CYCLES_DEVICE_HIPRT:BOOL=ON \ -DWITH_CYCLES_DEVICE_ONEAPI:BOOL=ON \ - -DWITH_CYCLES_ONEAPI_BINARIES:BOOL=ON + -DWITH_CYCLES_ONEAPI_BINARIES:BOOL=ON \ + %{nil} %cmake_build @@ -499,63 +433,143 @@ find %{buildroot} -name "*.py" -perm 0644 -print0 | \ xargs -0r grep -l '^#!' | xargs -d'\n' chmod -f 0755; # Copy text files to correct place. -mkdir -p %{buildroot}%{_docdir}/%{name} -mv -v %{buildroot}%{_datadir}/doc/blender/* %{buildroot}%{_docdir}/%{name}/ +mkdir -p %{buildroot}%{_docdir}/%{pkg_name}-%{_suffix} +mv -v %{buildroot}%{_datadir}/doc/blender/* %{buildroot}%{_docdir}/%{pkg_name}-%{_suffix}/ rmdir %{buildroot}%{_datadir}/doc/blender # install blender sample. -install -D -m 0644 %{SOURCE4} %{buildroot}%{_docdir}/%{name}/ -install -D -m 0644 %{SOURCE5} %{buildroot}%{_docdir}/%{name}/ -install -D -m 0644 %{SOURCE6} %{buildroot}%{_docdir}/%{name}/ -install -D -m 0644 %{SOURCE7} %{buildroot}%{_docdir}/%{name}/ +install -D -m 0644 %{SOURCE4} %{buildroot}%{_docdir}/%{pkg_name}-%{_suffix}/ +install -D -m 0644 %{SOURCE5} %{buildroot}%{_docdir}/%{pkg_name}-%{_suffix}/ +install -D -m 0644 %{SOURCE6} %{buildroot}%{_docdir}/%{pkg_name}-%{_suffix}/ +install -D -m 0644 %{SOURCE7} %{buildroot}%{_docdir}/%{pkg_name}-%{_suffix}/ install -D -m 0755 %{SOURCE8} %{buildroot}%{_bindir}/ # GPU and OptiX rendering texts -install -D -m 0644 %{SOURCE9} %{buildroot}%{_docdir}/%{name}/ -install -D -m 0644 %{SOURCE10} %{buildroot}%{_docdir}/%{name}/ +install -D -m 0644 %{SOURCE9} %{buildroot}%{_docdir}/%{pkg_name}-%{_suffix}/ +install -D -m 0644 %{SOURCE10} %{buildroot}%{_docdir}/%{pkg_name}-%{_suffix}/ -chmod -f 0644 %{buildroot}%{_datadir}/%{name}/%{_version}/scripts/modules/console_python.py +chmod -f 0644 %{buildroot}%{_datadir}/%{pkg_name}/%{_version}/scripts/modules/console_python.py -%fdupes %{buildroot}%{_datadir}/%{name}/%{_version}/ -%find_lang %{name} %{?no_lang_C} +%fdupes %{buildroot}%{_datadir}/%{pkg_name}/%{_version}/ +%find_lang %{pkg_name} %{?no_lang_C} rm -rf %{buildroot}%{_datadir}/locale/languages %ifnarch x86_64 -find %{buildroot}%{_datadir}/%{name}/%{_version}/scripts/ -name "*.h" -print -delete +find %{buildroot}%{_datadir}/%{pkg_name}/%{_version}/scripts/ -name "*.h" -print -delete %endif # distinguishable menu entry -sed -i 's/^Name=Blender$/Name=Blender %{_version}/g' %{buildroot}%{_datadir}/applications/%{name}.desktop - -# don't package thumbnailer -# rm %{buildroot}%{_bindir}/%{name}-thumbnailer.py +perl -p -i -e 's/^Name=Blender$/Name=Blender %{_version}/g ; s/^((Exec|Icon)=blender)/$1-%{_version}/g' \ + %{buildroot}%{_datadir}/applications/%{pkg_name}.desktop %if 0%{?sles_version} -%suse_update_desktop_file -i -n %{name} +%suse_update_desktop_file -i -n %{pkg_name} %else # Validate blender.desktop -desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop +desktop-file-validate %{buildroot}%{_datadir}/applications/%{pkg_name}.desktop %endif -%files lang -f %{name}.lang -%dir %{_datadir}/%{name}/%{_version}/datafiles/locale -%dir %{_datadir}/%{name}/%{_version}/datafiles/locale/* -%dir %{_datadir}/%{name}/%{_version}/datafiles/locale/*/LC_MESSAGES +mv %{buildroot}%{_bindir}/blender{,-%{_version}} +mv %{buildroot}%{_bindir}/blender-sample{,-%{_version}} +mv %{buildroot}%{_bindir}/blender-thumbnailer{,-%{_version}} +mv %{buildroot}%{_datadir}/applications/blender{,-%{_version}}.desktop +mv %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/blender{,-%{_version}}.svg +mv %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps/blender-symbolic{,-%{_version}}.svg +mv %{buildroot}%{_mandir}/man1/blender{,-%{_version}}.1 +mv %{buildroot}%{_datadir}/metainfo/org.blender.Blender{,-%{_version}}.metainfo.xml + +%if "%{name}" == "blender" && %{without blender_ua} +ln %{buildroot}%{_bindir}/blender{-%{_version},} +ln %{buildroot}%{_bindir}/blender-sample{-%{_version},} +ln %{buildroot}%{_bindir}/blender-thumbnailer{-%{_version},} +ln %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/blender{-%{_version},}.svg +ln %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps/blender-symbolic{-%{_version},}.svg +ln %{buildroot}%{_mandir}/man1/blender{-%{_version},}.1 +ln %{buildroot}%{_datadir}/metainfo/org.blender.Blender{-%{_version},}.metainfo.xml +%endif + +%if %{with blender_ua} +mkdir -p %{buildroot}/etc/alternatives/ + +%if %{with self_ghosting} +ln -s blender %{buildroot}/etc/alternatives/blender +ln -s blender-sample %{buildroot}/etc/alternatives/blender-sample +ln -s blender-thumbnailer %{buildroot}/etc/alternatives/blender-thumbnailer +ln -s blender.desktop %{buildroot}/etc/alternatives/blender.desktop +ln -s blender.svg %{buildroot}/etc/alternatives/blender.svg +ln -s blender-symbolic.svg %{buildroot}/etc/alternatives/blender-symbolic.svg +ln -s blender.1.gz %{buildroot}/etc/alternatives/blender.1.gz +ln -s org.blender.Blender.metainfo.xml %{buildroot}/etc/alternatives/org.blender.Blender.metainfo.xml +%endif + +ln -s /etc/alternatives/blender %{buildroot}%{_bindir}/blender +ln -s /etc/alternatives/blender-sample %{buildroot}%{_bindir}/blender-sample +ln -s /etc/alternatives/blender-thumbnailer %{buildroot}%{_bindir}/blender-thumbnailer +ln -s /etc/alternatives/blender.desktop %{buildroot}%{_datadir}/applications/blender.desktop +ln -s /etc/alternatives/blender.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/blender.svg +ln -s /etc/alternatives/blender-symbolic.svg %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps/blender-symbolic.svg +ln -s /etc/alternatives/blender.1.gz %{buildroot}%{_mandir}/man1/blender.1.gz +ln -s /etc/alternatives/org.blender.Blender.metainfo.xml %{buildroot}%{_datadir}/metainfo/org.blender.Blender.metainfo.xml + +%post +/usr/sbin/update-alternatives --quiet --install \ + %{_bindir}/blender blender %{_bindir}/blender-%{_version} %{_suffix} \ + --slave %{_bindir}/blender-sample blender-sample %{_bindir}/blender-sample-%{_version} \ + --slave %{_bindir}/blender-thumbnailer blender-thumbnailer %{_bindir}/blender-thumbnailer-%{_version} \ + --slave %{_datadir}/applications/blender.desktop blender.desktop %{_datadir}/applications/blender-%{_version}.desktop \ + --slave %{_datadir}/icons/hicolor/scalable/apps/blender.svg blender.svg %{_datadir}/icons/hicolor/scalable/apps/blender-%{_version}.svg \ + --slave %{_datadir}/icons/hicolor/symbolic/apps/blender-symbolic.svg blender-symbolic.svg %{_datadir}/icons/hicolor/symbolic/apps/blender-symbolic-%{_version}.svg \ + --slave %{_mandir}/man1/blender.1.gz blender.1.gz %{_mandir}/man1/blender-%{_version}.1.gz \ + --slave %{_datadir}/metainfo/org.blender.Blender.metainfo.xml org.blender.Blender.metainfo.xml %{_datadir}/metainfo/org.blender.Blender-%{_version}.metainfo.xml + +%postun +if [ ! -f %{_bindir}/blender-%{_version} ] ; then + /usr/sbin/update-alternatives --quiet --remove blender %{_bindir}/blender-%{_version} +fi +%endif + +%files lang -f %{pkg_name}.lang +%dir %{_datadir}/%{pkg_name}/%{_version}/datafiles/locale +%dir %{_datadir}/%{pkg_name}/%{_version}/datafiles/locale/* +%dir %{_datadir}/%{pkg_name}/%{_version}/datafiles/locale/*/LC_MESSAGES +%{_datadir}/%{pkg_name}/%{_version}/datafiles/locale/languages %files -%{_bindir}/* -%{_mandir}/man1/%{name}.1.gz -%dir %{_datadir}/%{name} -%dir %{_datadir}/%{name}/%{_version} -%dir %{_datadir}/%{name}/%{_version}/datafiles -%exclude %{_datadir}/%{name}/%{_version}/datafiles/locale -%exclude %{_docdir}/%{name}/geeko_example_scene.* -%{_datadir}/%{name}/%{_version}/extensions/ -%{_datadir}/%{name}/%{_version}/scripts/ -%{_datadir}/%{name}/%{_version}/datafiles/ -%{_datadir}/applications/%{name}.desktop -%{_datadir}/icons/hicolor/*/apps/%{name}*.svg -%{_datadir}/metainfo/org.%{name}.Blender.metainfo.xml -%doc %{_docdir}/%{name} +%{_bindir}/*-%{_version} +%{_mandir}/man1/%{pkg_name}-%{_version}.1.gz +%dir %{_datadir}/%{pkg_name}/ +%dir %{_datadir}/%{pkg_name}/%{_version}/ +%dir %{_datadir}/%{pkg_name}/%{_version}/datafiles/ +%{_datadir}/%{pkg_name}/%{_version}/extensions/ +%{_datadir}/%{pkg_name}/%{_version}/scripts/ +%{_datadir}/%{pkg_name}/%{_version}/datafiles/assets/ +%{_datadir}/%{pkg_name}/%{_version}/datafiles/colormanagement/ +%{_datadir}/%{pkg_name}/%{_version}/datafiles/fonts/ +%{_datadir}/%{pkg_name}/%{_version}/datafiles/icons/ +%{_datadir}/%{pkg_name}/%{_version}/datafiles/studiolights/ +%{_datadir}/applications/%{pkg_name}-%{_version}.desktop +%{_datadir}/icons/hicolor/*/apps/%{pkg_name}*-%{_version}.svg +%{_datadir}/metainfo/org.%{pkg_name}.Blender-%{_version}.metainfo.xml +%doc %{_docdir}/%{pkg_name}-%{_suffix} +%exclude %{_docdir}/%{pkg_name}-%{_suffix}/geeko_example_scene.* +%if %{with blender_ua} +%ghost /etc/alternatives/blender +%ghost /etc/alternatives/blender-sample +%ghost /etc/alternatives/blender-thumbnailer +%ghost /etc/alternatives/blender.desktop +%ghost /etc/alternatives/blender.svg +%ghost /etc/alternatives/blender-symbolic.svg +%ghost /etc/alternatives/blender.1.gz +%ghost /etc/alternatives/org.blender.Blender.metainfo.xml +%endif +%if %{with blender_ua} || "%{name}" == "blender" +%{_bindir}/blender +%{_bindir}/blender-sample +%{_bindir}/blender-thumbnailer +%{_datadir}/icons/hicolor/scalable/apps/blender.svg +%{_datadir}/icons/hicolor/symbolic/apps/blender-symbolic.svg +%{_mandir}/man1/blender.1.gz +%{_datadir}/metainfo/org.blender.Blender.metainfo.xml +%endif %files demo -%doc %{_docdir}/%{name}/geeko_example_scene.* +%doc %{_docdir}/%{pkg_name}-%{_suffix}/geeko_example_scene.* ++++++ _service ++++++ --- /var/tmp/diff_new_pack.BEAtQD/_old 2025-06-02 20:24:43.058717245 +0200 +++ /var/tmp/diff_new_pack.BEAtQD/_new 2025-06-02 20:24:43.062717411 +0200 @@ -1,15 +1,21 @@ <services> - <service name="obs_scm" mode="manual"> - <param name="revision">v4.2.2</param> - <param name="version">4.2.2</param> - <param name="url">https://projects.blender.org/blender/blender-assets.git</param> + <!-- + <service name="tar_scm" mode="manual"> + <param name="revision">blender-v4.4-release</param> + <param name="version">4.4.0</param> + <param name="url">https://projects.blender.org/blender/blender.git</param> <param name="scm">git</param> <param name="lfs">enable</param> - <param name="exclude">testing/*</param> - <param name="exclude">working/*</param> - <param name="exclude">icons/*</param> + <param name="exclude">lib/*</param> + <param name="exclude">tests/data/*</param> </service> - <service name="tar" mode="manual"> + --> + <service name="tar_scm" mode="manual"> + <param name="revision">v4.4.1</param> + <param name="version">4.4.3</param> + <param name="url">https://projects.blender.org/blender/blender-assets.git</param> + <param name="scm">git</param> + <param name="lfs">enable</param> <param name="exclude">testing/*</param> <param name="exclude">working/*</param> <param name="exclude">icons/*</param> ++++++ blender-4.2.2.tar.xz -> blender-4.4.3.tar.xz ++++++ /work/SRC/openSUSE:Leap:16.0/blender/blender-4.2.2.tar.xz /work/SRC/openSUSE:Leap:16.0/.blender.new.16005/blender-4.4.3.tar.xz differ: char 26, line 1 ++++++ blender-4.2.2.tar.xz.md5sum -> blender-4.4.3.tar.xz.md5sum ++++++ --- /work/SRC/openSUSE:Leap:16.0/blender/blender-4.2.2.tar.xz.md5sum 2025-04-25 18:19:00.617873578 +0200 +++ /work/SRC/openSUSE:Leap:16.0/.blender.new.16005/blender-4.4.3.tar.xz.md5sum 2025-06-02 20:24:42.446691863 +0200 @@ -1 +1 @@ -9ce6c50a51162aca1c46758b941228ff blender-4.2.2.tar.xz +c9ba26fdb210276d5b1010633f6c3c2a blender-4.4.3.tar.xz ++++++ blender-assets-4.2.2.tar.xz -> blender-assets-4.4.3.tar.xz ++++++ /work/SRC/openSUSE:Leap:16.0/blender/blender-assets-4.2.2.tar.xz /work/SRC/openSUSE:Leap:16.0/.blender.new.16005/blender-assets-4.4.3.tar.xz differ: char 15, line 1 ++++++ blender-assets.obsinfo ++++++ name: blender-assets version: 4.4.0 mtime: 1738975706 commit: 0418ad6b8e0d962bde30b2d4d828984b9f9c3299 ++++++ blender.obsinfo ++++++ name: blender version: 4.4.0 mtime: 1740837384 commit: 725617c7a007d2343f98a6c2e860a38617f6c427 ++++++ cmake_manpage_fix.patch ++++++ --- /var/tmp/diff_new_pack.BEAtQD/_old 2025-06-02 20:24:43.166721724 +0200 +++ /var/tmp/diff_new_pack.BEAtQD/_new 2025-06-02 20:24:43.166721724 +0200 @@ -1,8 +1,8 @@ -diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt -index 7e3235e2641..3a6c33996da 100644 ---- a/source/creator/CMakeLists.txt -+++ b/source/creator/CMakeLists.txt -@@ -1894,7 +1894,7 @@ detect_leaks=0\"\n\ +Index: blender/source/creator/CMakeLists.txt +=================================================================== +--- blender.orig/source/creator/CMakeLists.txt ++++ blender/source/creator/CMakeLists.txt +@@ -2086,7 +2086,7 @@ detect_leaks=0\"\n\ execute_process(\n\ COMMAND\n\ $\{PYTHON_EXECUTABLE\} $\{MANPAGE_GEN\}\n\ ++++++ series ++++++ --- /var/tmp/diff_new_pack.BEAtQD/_old 2025-06-02 20:24:43.222724046 +0200 +++ /var/tmp/diff_new_pack.BEAtQD/_new 2025-06-02 20:24:43.226724212 +0200 @@ -1,7 +1,3 @@ -# PATCH-FIX-OPENSUSE https://developer.blender.org/D5858 -reproducible.patch -# PATCH-FIX-OPENSUSE - fix gcc 13 fallout -Add_missing_system_error_handler.patch # PATCH-FIX-UPSTREAM https://projects.blender.org/blender/blender/pulls/115320 cmake_manpage_fix.patch