Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 723744

Summary: sci-libs/vtk-9.0.1 version bump
Product: Gentoo Linux Reporter: Bernd <waebbl-gentoo>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: atoth, gentoo, jstein, mva, sam
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://vtk.org/download/
See Also: https://github.com/gentoo/gentoo/pull/15966
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 776760, 776763, 776766    
Bug Blocks: 789780    
Attachments: vtk-9.0.1 ebuild
vtk-9.0-cmake-files-path patch
vtk-9.0-eigen_cmake_build_type patch
vtk-9.0-python-site-packages-path patch
vtk-8.2.0.build.log

Description Bernd 2020-05-18 11:48:56 UTC
VTK-9.0.0 has been released about two weeks ago.

Having a working 8.2.0 in my overlay for more than a year, I'm happy to help with bumping this beast, if so desired.

Reproducible: Always
Comment 1 Andreas Sturmlechner gentoo-dev 2020-08-09 08:51:59 UTC
*** Bug 736475 has been marked as a duplicate of this bug. ***
Comment 2 Miroslav Piskor 2020-08-15 18:51:43 UTC
Created attachment 654822 [details]
vtk-9.0.1 ebuild
Comment 3 Miroslav Piskor 2020-08-15 18:53:12 UTC
Created attachment 654824 [details, diff]
vtk-9.0-cmake-files-path patch
Comment 4 Miroslav Piskor 2020-08-15 18:53:47 UTC
Created attachment 654826 [details, diff]
vtk-9.0-eigen_cmake_build_type patch
Comment 5 Miroslav Piskor 2020-08-15 18:54:28 UTC
Created attachment 654828 [details, diff]
vtk-9.0-python-site-packages-path patch
Comment 6 Miroslav Piskor 2020-08-15 19:07:59 UTC
Hi,
I created ebuild for vtk-9.0.1. Ebuild is based on vtk-8.2.0 from portage.
Patches contain hardcoded paths, but I believe that they can be used as a starting point for someone who can make it better. I also changed installation path for python modules to more convenient location, /usr/lib/python.../site-packages/vtk. I also added option to build vtk with OpenMP support.

I didn't test all use flags, I need vtk only for freecad. My use flags are: X boost mpi openmp python qt5 rendering.

I am not able to use vtk-9.0.1 with freecad for now because opencascade-7.4.0 fails to build with vtk-9.0.1.
Comment 7 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2020-09-30 23:37:38 UTC
Created attachment 663304 [details]
vtk-8.2.0.build.log

It looks like new dependency should be added.
// well, looks like it also triggers 8.2.0.
But I'm not sure, if it is general build dependency (it's a header-only lib), or it 's requirement is triggered by some of USE-flags...
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-16 22:17:57 UTC
(FWIW, I'd just bump it then drop keywords and rekeyword with the deps.

I'm also happy to look at any PR when you - or anyone else - is ready, but may need some help to verify some of the CMake magic.)
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-16 22:18:13 UTC
(In reply to Sam James from comment #8)
> (FWIW, I'd just bump it then drop keywords and rekeyword with the deps.
> 
> I'm also happy to look at any PR when you - or anyone else - is ready, but
> may need some help to verify some of the CMake magic.)

Wait, there is one!
Comment 10 Bernd 2021-03-16 22:47:26 UTC
The PR already has keyword dropped. If you want, we can remove the blocks and open another bug, once the package is bumped.
Comment 11 Bernd 2021-04-23 14:21:21 UTC
Gonna update the PR, now that all dependencies have been keyworded.
Comment 12 Larry the Git Cow gentoo-dev 2021-05-31 11:40:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e3674e78cc315bd0f9adf266dc2b9259b149ac6

commit 0e3674e78cc315bd0f9adf266dc2b9259b149ac6
Author:     Bernd Waibel <waebbl@gmail.com>
AuthorDate: 2021-02-02 07:12:25 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-05-31 11:37:59 +0000

    sci-libs/vtk: bump to 9.0.1
    
    Closes: https://bugs.gentoo.org/723744
    Package-Manager: Portage-3.0.19, Repoman-3.0.3
    Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-libs/vtk/Manifest                              |   4 +
 ...r-compute_arch-if-CUDA-toolkit-11-is-used.patch |  32 ++
 sci-libs/vtk/metadata.xml                          |  13 +-
 sci-libs/vtk/vtk-9.0.1.ebuild                      | 531 +++++++++++++++++++++
 4 files changed, 579 insertions(+), 1 deletion(-)