SHA256
1
0
forked from pool/vtk

Accepting request 810514 from home:badshah400:branches:science

* Fix build failures against Qt 5.15 (see current staging:adi:100) with upstream patch
* Get around %cmake's RPATH weirdness for Leap to make builds successful again.
* Disbale pegtl module when pegtl >= 2.0 is unavailable (Leap 15.1).
* Disable java bindings for Leap 15.1 due to inavailability of javah.

OBS-URL: https://build.opensuse.org/request/show/810514
OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=157
This commit is contained in:
2020-06-03 15:39:23 +00:00
committed by Git OBS Bridge
parent be13127c36
commit 713745e6cb
3 changed files with 107 additions and 29 deletions

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
Sun May 31 20:28:03 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
- Add vtk-qt-5.15-include-QPainterPath.patch: Include QPainterPath
to fix build failures against Qt 5.15; patch taken from
upstream, see
<https://gitlab.kitware.com/vtk/vtk/-/merge_requests/6943>.
- The %%cmake macro sets CMAKE_SKIP_RPATH=ON for Leap 15.x which
causes build failures; set it to OFF and set
CMAKE_SKIP_INSTALL_RPATH=ON for openSUSE <= 1500. See
<https://discourse.vtk.org/t/building-fails-generating-wrap-hierarchy-for-vtk-commoncore-unable-to-open-libvtkwrappingtools-so-1>.
- Build without pegtl for distributions where pegtl > 2.0 is
unavailable (Leap 15.1).
- Disable java bindings for Leap 15.1 only where cmake still
searches for the javah binary (and setting it to %{_bindir}/true
seems to no longer work).
- Run ld post scripts for vtk-qt.
-------------------------------------------------------------------
Fri May 8 13:33:26 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>