SHA256
1
0
forked from pool/paraview
paraview/paraview-desktop-entry-fix.patch
Atri Bhattacharya 11ba1cf5a9 Accepting request 778987 from home:badshah400:branches:science
- Update to version 5.8.0:
  * See https://blog.kitware.com/paraview-5-8-0-release-notes/.
- Rebase paraview-desktop-entry-fix.patch for updated location of desktop file in source.
- Drop fix-QtGUI-missing-GLX_mesa-linking.patch: no longer required as linking GLX_mesa to build QtGUI is now correctly handled by build.
- Drop 0001-Allow-compilation-on-GLES-platforms.patch: patch no longer applies (since vesin 5.7.0) and commenting out patch leads to factory_auto declining the submission.
- Use ninja instead of make as recommended by upstream and to speed up build; define __builder to ninja so that cmake build macros use this instead of the default make.
- Pass PARAVIEW_BUILD_WITH_EXTERNAL to cmake to use system third party libraries by default; pass VTK_MODULE_USE_EXTERNAL_<name> to use specific bundled libraries conditionally (gl2ps, haru, pugixml).
- Use %cmake_build instead of %make_jobs during building.
- Replace deprecated options passed to cmake by updated ones: * PARAVIEW_BUILD_QT_GUI -> DPARAVIEW_USE_QT * PARAVIEW_ENABLE_PYTHON -> PARAVIEW_USE_PYTHON.
- Update paraview-rpmlintrc to suppress warning about a non-exec file that is installed to %{_bindir} and is really necessary (see https://gitlab.kitware.com/paraview/paraview/issues/19706); the previous entry no longer applies, so drop it.
- Add absolutely necessary dependencies for paraview-devel as Requires.
- Install python modules to %{python3_sitearch}/paraview rather than the default [%{python3_sitearch}] by setting PARAVIEW_PYTHON_SITE_PACKAGES_SUFFIX when configuring cmake; this avoids file conflicts between python3-paraview and python3-vtk.
- Don't install paraview-config: it doesn't work without the static libs being installed.

OBS-URL: https://build.opensuse.org/request/show/778987
OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=71
2020-02-27 11:57:31 +00:00

11 lines
458 B
Diff

Index: ParaView-v5.8.0/Clients/ParaView/org.paraview.ParaView.desktop.in
===================================================================
--- ParaView-v5.8.0.orig/Clients/ParaView/org.paraview.ParaView.desktop.in
+++ ParaView-v5.8.0/Clients/ParaView/org.paraview.ParaView.desktop.in
@@ -6,3 +6,5 @@ Comment=Parallel visualization applicati
Exec=paraview %f
TryExec=paraview
Icon=paraview
+Categories=Graphics;2DGraphics;3DGraphics;
+StartupNotify=true