Atri Bhattacharya
4809cbcd8f
As discussed in [1] I made a new package with compatibility build for the old OpenGL interface of vtk to support machines with older graphics cards that do not support OpenGL version 3.2 which the default build requires. [1] https://lists.opensuse.org/opensuse-factory/2017-04/msg00121.html Please create a link to this package with the new name after accepting this request. - add a separate package vtk-compat_gl compile using rendering backend OpenGL for systems without brand new graphic cards - default package vtk still uses new rendering backend default OpenGL2 - add a separate package vtk-compat_gl compile using rendering backend OpenGL for systems without brand new graphic cards - default package vtk still uses new rendering backend default OpenGL2 - Update to version 7.1.0: See news item at https://blog.kitware.com/kitware-plans-to-spotlight-new-vtk-and-paraview-releases-at-sc16/ - Drop patch vtk-gcc6.patch, upstreamed. - Turn off usage of system DIY2, this library is not yet packaged for openSUSE. - Disable mkg3states binary also for openSUSE:Leap versions. - Update file list for upstream installation changes. - Use bundled gl2ps, as it no longer builds against the system one (requires svn trunk version of gl2ps). - CMake >= 3.4 is now required (earlier versions don't support NAMES_PER_DIR in find_program). - Enable use of SYSTEM_LIBRARIES for openSUSE:Leap versions too (only 13.2 requires this turned off as of now). - Refresh vtk-Rinterface-uintptr_t.patch to fix further issues with uintptr_t redefinition by defining the HAVE_UINTPTR_T macro using cmake functions; removing the #include of stdint.h is not needed any more since we will not be using the defs from Rinterface.h anyway (boo#985386). Although this really causes a build failure for the i586 arch, where the redefinition of unitptr_t in Rinterface.h conflicts with the stdint.h defintion, OBS-URL: https://build.opensuse.org/request/show/489183 OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=81
6 lines
168 B
Bash
6 lines
168 B
Bash
#!/bin/sh
|
|
|
|
sed 's|%define compat_gl 0|%define compat_gl 1|' vtk.spec > vtk-compat_gl.spec
|
|
cp vtk-rpmlintrc vtk-compat_gl-rpmlintrc
|
|
cp vtk.changes vtk-compat_gl.changes
|