From c5be9c67bce5768e9ce304de64c3a5070a0b43b1 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: May 12 2023 02:45:54 +0000 Subject: Add patch to fix build with Sphinx 6 --- diff --git a/paraview-sphinx6.patch b/paraview-sphinx6.patch new file mode 100644 index 0000000..c3cba70 --- /dev/null +++ b/paraview-sphinx6.patch @@ -0,0 +1,26 @@ +diff -up ParaView-v5.11.1/Utilities/Sphinx/config/_themes/sphinx_rtd_theme/layout.html.sphinx6 ParaView-v5.11.1/Utilities/Sphinx/config/_themes/sphinx_rtd_theme/layout.html +--- ParaView-v5.11.1/Utilities/Sphinx/config/_themes/sphinx_rtd_theme/layout.html.sphinx6 2023-03-30 08:10:22.000000000 -0600 ++++ ParaView-v5.11.1/Utilities/Sphinx/config/_themes/sphinx_rtd_theme/layout.html 2023-05-11 17:38:27.124776741 -0600 +@@ -41,12 +41,8 @@ + {%- endfor -%} + + {#- FAVICON #} +- {%- if favicon %} +- {%- if sphinx_version_info < (4, 0) -%} +- +- {%- else %} ++ {%- if favicon_url %} + +- {%- endif %} + {%- endif -%} + + {#- CANONICAL URL (deprecated) #} +@@ -135,7 +131,7 @@ + + diff --git a/paraview.spec b/paraview.spec index 3169b0b..3f97c52 100644 --- a/paraview.spec +++ b/paraview.spec @@ -82,7 +82,7 @@ Name: paraview Version: 5.11.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Parallel visualization application License: BSD @@ -93,6 +93,8 @@ Source2: FindPEGTL.cmake # Fix cmake files install location # https://gitlab.kitware.com/paraview/paraview/issues/19724 Patch0: paraview-cmakedir.patch +# Fix doc build with Sphinx 6 +Patch1: paraview-sphinx6.patch # Fix build with newer freetype # https://gitlab.kitware.com/vtk/vtk/-/issues/18033 Patch3: paraview-freetype.patch @@ -764,6 +766,9 @@ update-mime-database %{_datadir}/mime &> /dev/null || : %changelog +* Thu May 11 2023 Orion Poplawski - 5.11.1-3 +- Add patch to fix build with Sphinx 6 + * Thu May 11 2023 Sandro Mani - 5.11.1-2 - Rebuild (gdal)