Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package paraview for openSUSE:Factory checked in at 2022-12-02 13:13:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/paraview (Old) and /work/SRC/openSUSE:Factory/.paraview.new.1835 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "paraview" Fri Dec 2 13:13:00 2022 rev:47 rq:1039368 version:5.11.0 Changes: -------- --- /work/SRC/openSUSE:Factory/paraview/paraview.changes 2022-07-15 13:52:46.571569203 +0200 +++ /work/SRC/openSUSE:Factory/.paraview.new.1835/paraview.changes 2022-12-02 13:13:16.793898933 +0100 @@ -1,0 +2,12 @@ +Wed Nov 30 16:40:06 UTC 2022 - Atri Bhattacharya <badshah...@gmail.com> + +- Update to version 5.11.0: + * Many changes, see + <https://www.kitware.com/paraview-5-11-0-release-notes/>. +- Drop paraview-include-sstream.patch: incorporated upstream. +- New BuildRequires: sqlite3, pkgconfig(liblzma), + pkgconfig(nlohmann_json), pkgconfig(proj), pkgconfig(sqlite3). +- Build without system nlohmann_json for Leap 15.3 and older. +- Update rpmlintrc file to suppress false positives. + +------------------------------------------------------------------- Old: ---- ParaView-v5.10.1.tar.xz ParaViewGettingStarted-5.10.1.pdf ParaViewTutorial-5.10.1.pdf paraview-include-sstream.patch New: ---- ParaView-v5.11.0.tar.xz ParaViewGettingStarted-5.11.0.pdf ParaViewTutorial-5.11.0.pdf ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ paraview.spec ++++++ --- /var/tmp/diff_new_pack.rpNYn9/_old 2022-12-02 13:13:18.601908875 +0100 +++ /var/tmp/diff_new_pack.rpNYn9/_new 2022-12-02 13:13:18.605908897 +0100 @@ -17,8 +17,8 @@ %define major_ver 5 -%define minor_ver 10 -%define short_ver 5.10 +%define minor_ver 11 +%define short_ver %{major_ver}.%{minor_ver} %define shlib libparaview%{major_ver}_%{minor_ver} %if 0%{?suse_version} <= 1500 @@ -26,6 +26,17 @@ %else %bcond_without pugixml %endif + +%if 0%{?sle_version} == 150300 && 0%{?is_opensuse} +# No nlohmann_json in Leap 15.3 +%bcond_with nlohmann +# libproj too old in Leap 15.3 +%bcond_with proj +%else +%bcond_without nlohmann +%bcond_without proj +%endif + %bcond_without gl2ps # Need patched version with HPDF_SHADING @@ -33,7 +44,7 @@ %define __builder ninja Name: paraview -Version: %{short_ver}.1 +Version: %{short_ver}.0 Release: 0 Summary: Data analysis and visualization application License: BSD-3-Clause @@ -48,8 +59,6 @@ Patch0: paraview-desktop-entry-fix.patch # PATCH-FIX-OPENSUSE fix-libharu-missing-m.patch -- missing libraries for linking (gh#libharu/libharu#213) Patch2: fix-libharu-missing-m.patch -# PATCH-FIX-UPSTREAM paraview-include-sstream.patch -- Add patch from upstream to include missing headers and adapt to apply with p1 (https://gitlab.kitware.com/vtk/vtk/-/merge_requests/8597) -Patch3: paraview-include-sstream.patch BuildRequires: Mesa-devel BuildRequires: cgns-devel BuildRequires: cmake >= 3.13 @@ -78,6 +87,7 @@ BuildRequires: python3-matplotlib BuildRequires: python3-qt5-devel BuildRequires: readline-devel +BuildRequires: sqlite3 BuildRequires: utfcpp-devel BuildRequires: wget BuildRequires: pkgconfig(Qt5Core) @@ -96,6 +106,7 @@ BuildRequires: pkgconfig(jsoncpp) >= 0.7.0 BuildRequires: pkgconfig(libjpeg) BuildRequires: pkgconfig(liblz4) >= 1.7.3 +BuildRequires: pkgconfig(liblzma) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libpqxx) BuildRequires: pkgconfig(libtiff-4) @@ -103,6 +114,13 @@ BuildRequires: pkgconfig(ogg) BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(protobuf) >= 2.6.0 +BuildRequires: pkgconfig(sqlite3) +%if %{with nlohmann} +BuildRequires: pkgconfig(nlohmann_json) +%endif +%if %{with proj} +BuildRequires: pkgconfig(proj) +%endif %if %{with pugixml} BuildRequires: pkgconfig(pugixml) >= 1.11 %endif @@ -215,7 +233,11 @@ -DVTK_MODULE_USE_EXTERNAL_VTK_gl2ps=%{?with_gl2ps:ON}%{!?with_gl2ps:OFF} \ -DVTK_MODULE_USE_EXTERNAL_VTK_ioss:BOOL=OFF \ -DVTK_MODULE_USE_EXTERNAL_VTK_libharu=%{?with_haru:ON}%{!?with_haru:OFF} \ - -DVTK_MODULE_USE_EXTERNAL_VTK_pugixml=%{?with_pugixml:ON}%{!?with_pugixml:OFF} + -DVTK_MODULE_USE_EXTERNAL_VTK_libproj=%{?with_proj:ON}%{!?with_proj:OFF} \ + -DVTK_MODULE_USE_EXTERNAL_VTK_nlohmannjson=%{?with_nlohmann:ON}%{!?with_nlohmann:OFF} \ + -DVTK_MODULE_USE_EXTERNAL_VTK_pugixml=%{?with_pugixml:ON}%{!?with_pugixml:OFF} \ + -DVTK_MODULE_USE_EXTERNAL_VTK_verdict=OFF \ + %{nil} %cmake_build @@ -224,6 +246,9 @@ %cmake_install +# Unnecessary hash-bang +sed -i "1{\@/usr/bin/env@d}" %{buildroot}%{python3_sitearch}/paraview/vtkmodules/generate_pyi.py + # INSTALL DOCUMENTATION USED BY THE HELP MENU IN MAIN APP install -Dm0644 %{S:2} %{buildroot}%{_datadir}/%{name}-%{short_ver}/doc/GettingStarted.pdf install -Dm0644 %{S:3} %{buildroot}%{_datadir}/%{name}-%{short_ver}/doc/Guide.pdf @@ -254,7 +279,9 @@ %dir %{_libdir}/vtk/ %dir %{_libdir}/vtk/hierarchy %{_libdir}/vtk/hierarchy/ParaView/ -%{_libdir}/catalyst/ +%if %{without proj} +%{_datadir}/vtk-pv%{major_ver}.%{minor_ver}/ +%endif %files -n %{shlib} %{_libdir}/*.so.* ++++++ ParaView-v5.10.1.tar.xz -> ParaView-v5.11.0.tar.xz ++++++ /work/SRC/openSUSE:Factory/paraview/ParaView-v5.10.1.tar.xz /work/SRC/openSUSE:Factory/.paraview.new.1835/ParaView-v5.11.0.tar.xz differ: char 27, line 1 ++++++ ParaViewGettingStarted-5.10.1.pdf -> ParaViewGettingStarted-5.11.0.pdf ++++++ ++++++ ParaViewTutorial-5.10.1.pdf -> ParaViewTutorial-5.11.0.pdf ++++++ ++++++ fix-libharu-missing-m.patch ++++++ --- /var/tmp/diff_new_pack.rpNYn9/_old 2022-12-02 13:13:18.697909403 +0100 +++ /var/tmp/diff_new_pack.rpNYn9/_new 2022-12-02 13:13:18.701909425 +0100 @@ -1,9 +1,9 @@ -Index: ParaView-v5.7.0/VTK/ThirdParty/libharu/vtklibharu/CMakeLists.txt +Index: ParaView-v5.11.0/VTK/ThirdParty/libharu/vtklibharu/CMakeLists.txt =================================================================== ---- ParaView-v5.7.0.orig/VTK/ThirdParty/libharu/vtklibharu/CMakeLists.txt -+++ ParaView-v5.7.0/VTK/ThirdParty/libharu/vtklibharu/CMakeLists.txt -@@ -125,6 +125,8 @@ if(PNG_FOUND) - endif(PNG_FOUND) +--- ParaView-v5.11.0.orig/VTK/ThirdParty/libharu/vtklibharu/CMakeLists.txt ++++ ParaView-v5.11.0/VTK/ThirdParty/libharu/vtklibharu/CMakeLists.txt +@@ -68,6 +68,8 @@ find_package(PNG) + find_library(M_LIB m) endif () +link_libraries(m dl pthread) ++++++ paraview-rpmlintrc ++++++ --- /var/tmp/diff_new_pack.rpNYn9/_old 2022-12-02 13:13:18.725909557 +0100 +++ /var/tmp/diff_new_pack.rpNYn9/_new 2022-12-02 13:13:18.725909557 +0100 @@ -2,7 +2,10 @@ # See https://gitlab.kitware.com/paraview/paraview/issues/19706 addFilter("non-executable-in-bin .*/usr/bin/paraview\.conf") addFilter("script-without-shebang .*/usr/bin/paraview\.conf") -addFilter("libparaview5_10.* shlib-policy-name-error") +# This is a (static) plugin +addFilter("devel-file-in-non-devel-package .*/usr/lib.*/paraview-[0-9.]*/plugins/GeodesicMeasurement/libFmmMesh.a") +# python3-matplotlib is not a lib +addFilter("python3-paraview.* explicit-lib-dependency python3-matplotlib")