summaryrefslogtreecommitdiff
path: root/sci-libs
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/Manifest.gzbin43126 -> 43120 bytes
-rw-r--r--sci-libs/hdf5/Manifest2
-rw-r--r--sci-libs/hdf5/hdf5-1.14.4_p3-r1.ebuild2
-rw-r--r--sci-libs/kissfft/Manifest2
-rw-r--r--sci-libs/kissfft/kissfft-131.1.0-r2.ebuild2
-rw-r--r--sci-libs/lrslib/Manifest2
-rw-r--r--sci-libs/lrslib/lrslib-073.ebuild2
-rw-r--r--sci-libs/qd/Manifest2
-rw-r--r--sci-libs/qd/qd-2.3.24.ebuild2
-rw-r--r--sci-libs/spqr/Manifest2
-rw-r--r--sci-libs/spqr/spqr-2.0.9-r4.ebuild2
-rw-r--r--sci-libs/vtk/Manifest16
-rw-r--r--sci-libs/vtk/files/vtk-9.3.0-ThirdParty-gcc15.patch1
-rw-r--r--sci-libs/vtk/files/vtk-9.3.0-too-many-initializer-values.patch5
-rw-r--r--sci-libs/vtk/files/vtk-9.3.0-update-for-cuda-12.6.patch22
-rw-r--r--sci-libs/vtk/files/vtk-9.3.0-vtkm-drop-template-id-from-cdtor.patch20
-rw-r--r--sci-libs/vtk/files/vtk-9.3.1-fix-fmt-11.patch70
-rw-r--r--sci-libs/vtk/metadata.xml1
-rw-r--r--sci-libs/vtk/vtk-9.3.1.ebuild1020
19 files changed, 1162 insertions, 13 deletions
diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz
index 84542deb67c3..44b598773f5c 100644
--- a/sci-libs/Manifest.gz
+++ b/sci-libs/Manifest.gz
Binary files differ
diff --git a/sci-libs/hdf5/Manifest b/sci-libs/hdf5/Manifest
index b7228c231637..f8dcc5e70682 100644
--- a/sci-libs/hdf5/Manifest
+++ b/sci-libs/hdf5/Manifest
@@ -24,5 +24,5 @@ EBUILD hdf5-1.14.1.ebuild 3072 BLAKE2B af92b7cdb04770a1e3baee23ba173be61553bc0e1
EBUILD hdf5-1.14.2.ebuild 3189 BLAKE2B 3618adc6a5b1f4d50b670ffb109e69876252b16f8b391078c5be18ff1bb9a7973d261c26fa4a97ee57ecb0588f418064587aa2b717561fa9680e14dbf41933c5 SHA512 fcc1216f1fbafefd526b2f6dcf47dd347730ab380ce0cab22c0138e7698e232a53a570aee01eab8ef4f2e5d06439a57c31247b92fb911cd987162e883c67cb96
EBUILD hdf5-1.14.3-r1.ebuild 3174 BLAKE2B 1ba662b1e749795ec39800536bf47b656a5055ad6b75097b3d1ed76096b48ada4044c6fd13f97bf03a1441725b2eb518f47edd3c546a626b8694a713d361d672 SHA512 95d707fa162a13d12f946e9792713cd7edb3a400966d04b25f61a8ee6f2d037524602f70a5a76feb339063921f51e822e3576b6b567e6bb3107e25c031a786d8
EBUILD hdf5-1.14.4_p2.ebuild 3225 BLAKE2B 443387e78fc8b1cd3bde53c5e06f90c6fbcec70d8c879bb7163c257501160f884d393bd5aa482efd294fe1f8bb4d3b803bb19dd839d3031b09f104c2a92e71a6 SHA512 e345d650b639b7f1bc87f9b99cacdbc03d603305e81240627e3ded98ed7b39a4471d9394813ac035dab53fb109bea5dd0fe91028513b2750c6a424a542f3cd2a
-EBUILD hdf5-1.14.4_p3-r1.ebuild 3142 BLAKE2B 09d230d9ae838bf07e7772bed3870369c1bfd766e0663115dff9fca755a14abac2bfe79ab7ce0347b26e42bcea5904ee66dc4e45d71f57a7ab8c569a777264f7 SHA512 e0a3f116536e9594424a5e92dcf565db4a7258d85701ed1f6d59fd48bfc7916b543095cbd54a81fc6e05932ff6fb78a48c340ab1b53c7b0e85926d4dbcb53655
+EBUILD hdf5-1.14.4_p3-r1.ebuild 3141 BLAKE2B 9f666909bdb9475725992d3a16dd9d8415b6392d1ae7712cb136a0ebedbd6838752b2e7e02797c0487c49c9b7a9ca58ce1e01dcc1dd30f44ba434df16a0367ce SHA512 27ce598c80815dadf77099888d8e1a88637abe28b16aab10460d17f153fe9a7afa7b267402fd92d40ad3a0c28e47dd97010b7751bd13ac9f0f13167deac47d2b
MISC metadata.xml 826 BLAKE2B fd131bb207e4ab863ef7c05ab95e5c0254fa08230139a2508ab5f0c363809b0735532498ad26cc39621495a063de86ab5bd97447514ff561a63302e8b1d7d26d SHA512 290883ed9bf3de60bf04e2474c4db50e095b1b87974867e58601a5c5c2f98d6b839ed22d9ce2798bc44f484f1a38ee4b6df99aaea7d134629bd441d34b5a29b5
diff --git a/sci-libs/hdf5/hdf5-1.14.4_p3-r1.ebuild b/sci-libs/hdf5/hdf5-1.14.4_p3-r1.ebuild
index 1726fc982846..b03531bb034a 100644
--- a/sci-libs/hdf5/hdf5-1.14.4_p3-r1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.14.4_p3-r1.ebuild
@@ -20,7 +20,7 @@ S="${WORKDIR}/${MY_P}"
LICENSE="NCSA-HDF"
SLOT="0/311"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
IUSE="cxx debug examples fortran +hl mpi szip test threads unsupported zlib"
RESTRICT="!test? ( test )"
REQUIRED_USE="
diff --git a/sci-libs/kissfft/Manifest b/sci-libs/kissfft/Manifest
index 68f51fa79bc0..898695cdf7a0 100644
--- a/sci-libs/kissfft/Manifest
+++ b/sci-libs/kissfft/Manifest
@@ -2,6 +2,6 @@ AUX kissfft-131.1.0-cmake.patch 1359 BLAKE2B 138a9077a450198e21e6ad2c1052d1e63ce
AUX kissfft-131.1.0-cross.patch 877 BLAKE2B 507173b39368d597d65edbd53da7abbbb4f35e5f7a5587b04a1fd4af9d36a779e1e9c3ffcf3dcede3fd9fb4a4251a6670ceb660e0a7484fc202b1bd5c9b59c2e SHA512 afc92391929c2cabd122a2b121c43d0f496ee0c4dbb31c1bc9895b98ae52c781a88db8129a7fcbcbd33828f0d4b27852a7026b16264baae2b2171620eca08807
DIST kissfft-131.1.0.tar.gz 52383 BLAKE2B 74e6d2e7d132a311b31c28a468e13d9772a53f0ea0abed0e0f49d8db9c183fb0646f58fd38df3e797b8577285899daf6b80446b149ce2582bb828410656d96df SHA512 bd715868ce0e93a291a0592fb1f8b960e832fc64efe863755e52b67d5addff9bcb444a1bf2570d1914c52b41dad1023d0d86400f5ea30c9fb84cd6b4f7210708
EBUILD kissfft-131.1.0-r1.ebuild 1428 BLAKE2B 66f9053253190b3c7e2ba200f495c0a8d8c55af75f130e63d7cae3666afae5325046b432aabb3a6d63c49e6a7308cd97568be90aa46e216173f461754db372dd SHA512 63a79d272d57181a13ea3621bd479a716144ef79747e0e5434a9b9574d62cfc310a0abfdd84d9d725fdb16867c11e53d2ce26851a9c9ee4e7e9938b13b3aa2d4
-EBUILD kissfft-131.1.0-r2.ebuild 1778 BLAKE2B 1bf1647d7abe609e529284c2accb79dca8651512f04381233f40acab08743770f0ba53e8e3a5f2b963c3f374bbb0132237f8c57b206b94b89b5234135047e6e5 SHA512 3ba8e58b6e68f9d04b364740f0d81e5705b188c59992b3ba2e03fda02e93e0b7add75e70bcd8941d37061a42aeba2071638f7c8491d7852b20dd8f79333d21fb
+EBUILD kissfft-131.1.0-r2.ebuild 1777 BLAKE2B 084462f623acad4856440ca1c02fcd652fded93849d4abaf0deb21ec41fcca0f45a303f7eb62ba47f2fd8c6e08c205469f2a0848c30492d710ae7b9c30d5ef25 SHA512 9a3e6e6c780ddf9e8d6f7fa340e46ae12626c5c014ecfb261531f2107cb7f45a98ca93ea94f891fdbd44a72ec6dc05cf2c1d317e15a80d9ed910b6ab0b10aa5f
EBUILD kissfft-9999.ebuild 1780 BLAKE2B ed59d9c0b17005bb46e61bf1363469b387dec2dcf043e181a42ea733e8e425d493da41cd496e0fbc7819a9f6d1cecbaa0acd5b9e90368c5c16cd583c42ca7bc5 SHA512 191d80a7b75fec2d0a4ffcb5ab76a58eb021701aaeb4c81943c24155deeea34179d5100a2a44142a2562efceff7d73fcfbb5961d887ab2fd2a42bb0aee01dc90
MISC metadata.xml 717 BLAKE2B d22d912059c414d4c093c054eea4f6a5b0375c836219bf4a2d9349e702be285ad787400be3c881dcbda5035e3701a98aba2543bc5311d986a6b787e8798fe532 SHA512 23cd8fd1cdcb5b51e7b2f548957d6777ff61995d74492161da5b9f9ee2c6be4520a937ddc6f423f9789938d3174b1241c4fa96600f0a20f7ca2088bf3202c983
diff --git a/sci-libs/kissfft/kissfft-131.1.0-r2.ebuild b/sci-libs/kissfft/kissfft-131.1.0-r2.ebuild
index daed35703e8f..200fee708116 100644
--- a/sci-libs/kissfft/kissfft-131.1.0-r2.ebuild
+++ b/sci-libs/kissfft/kissfft-131.1.0-r2.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999 ]] ; then
inherit git-r3
else
SRC_URI="https://github.com/mborgerding/kissfft/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm arm64 ~riscv x86"
+ KEYWORDS="amd64 ~arm arm64 ~riscv x86"
fi
LICENSE="BSD"
diff --git a/sci-libs/lrslib/Manifest b/sci-libs/lrslib/Manifest
index 7836c9e6ac79..fedf921b4941 100644
--- a/sci-libs/lrslib/Manifest
+++ b/sci-libs/lrslib/Manifest
@@ -4,5 +4,5 @@ AUX lrslib-073-cflags-ldflags.patch 12573 BLAKE2B 52d6667ed319c512318332118b65c6
DIST lrslib-071b.tar.gz 466789 BLAKE2B 57a8abd9d203b1cdc62d6848afa77aa6912d9d720a0dedfbe72ca602ad8ba36d13160f7da7d719e3fa140ba2cb6432d20590ae9ea9b1f66bc2e24c393d9fe1bd SHA512 feafc5726e66c977e917f0b59ae950cdb98dbd84639885b487930aab2a89a7f067a3f39c381acc3eae7206b91255e1befa5551488d8816afc0f8054d801eb539
DIST lrslib-073.tar.gz 4566562 BLAKE2B b3906b29d8b35452319af1d81184f3e49f9c74cdc8fadfdb7e0bd13797acecc0f21d0b375fbe7c00ff585bb51c0571003c131af8d732929ebb1d4ca3dc0d23ea SHA512 8966ed12f7dd9f178949bf51c64e75e4850bda5b77be1c6e525f77baef1bc0f5fbee69b09f6a4ee858532831a4c4ae4461eb598e635fae7aaa8d02bf145140b9
EBUILD lrslib-071b-r1.ebuild 1339 BLAKE2B f1c91bbdceb97b69a90b548947c2d1894becfd26a914ad555dfd5525b07c60ca88c158895fb9d414d440ae5de64f5290518f081bfb8f1ba72b03535d0a60d4c2 SHA512 82c1d3f516d20af80fc7d366785668c7f8f0bdaf4cfcaa06a3d11e6fd76ea29d72d8d5503be297cf28f552c0dd275e6d0195d043efa742dd58a6eae889603127
-EBUILD lrslib-073.ebuild 2140 BLAKE2B 54b06bfacd529e95917510338c93c692e48de886e3b6d3c6b7ff74f34289679a2d844960e0a59ac680604a6a18dfa802108f300f118101877af204f97e8211f5 SHA512 3534ab440997acbdc38e1dc7a923cfa46fe4b5d7b262489fcc2396e733d2d2d90f00dd747a4ae8450925da5c19d6a9201a6a70eda752159696b8bb1737d57909
+EBUILD lrslib-073.ebuild 2139 BLAKE2B ddcb2bdcb0060bec847c5f7d6ebb3a743932632fae01ca597ac2f4761ce369a30095f619ca63f4cde424e06a634d27b7e9f6597a5e21be42c605bbcb965c14c2 SHA512 57d1f40f43adbd74bc0c297d3deb7977af88b70a79c267400795351d8a2831ce45f4ff03f402a6959b5df74efd3a60236814f7227e433a811f2f33e607f7b237
MISC metadata.xml 770 BLAKE2B 79a7016f0c9de246e2873db9026c26f360432b238fd8d380d75830ae7560d56743981f053fef60a2516befef7d9aa6947cb0a3cdb9de077bd6a65a8faa4879d7 SHA512 007d258279f5d48fdc108176f4230958c683cbfaca08a9f16c194b5bccd3d622a6049e7aea0ee7fec65643a0959f948371d0b228501acf9ebbe58ecabf904171
diff --git a/sci-libs/lrslib/lrslib-073.ebuild b/sci-libs/lrslib/lrslib-073.ebuild
index 4ca9fa36eec2..cfe1404b0cd6 100644
--- a/sci-libs/lrslib/lrslib-073.ebuild
+++ b/sci-libs/lrslib/lrslib-073.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/${P}.tar.gz"
# COPYING is GPL-2, but e.g. lrslib.h says "or ... any later version."
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~riscv ~amd64-linux"
+KEYWORDS="amd64 ~arm ~riscv ~amd64-linux"
IUSE="gmp mpi"
RDEPEND="
diff --git a/sci-libs/qd/Manifest b/sci-libs/qd/Manifest
index 73b4c90ff7a8..da7e8f794c53 100644
--- a/sci-libs/qd/Manifest
+++ b/sci-libs/qd/Manifest
@@ -1,5 +1,5 @@
DIST qd-2.3.23.tar.gz 781558 BLAKE2B bbda1ede1e93c100ca831b3eddc34ad6092007f9674c83803e5a5e140f80cc6b4b41fa71857beb9ef255d77265470537e43ef81886d6a013958a429b1c641c55 SHA512 ab311883db7708cee1c307eead5d02dac3b9809389b8d29e2fda5207decb752ca360a9aab234dd8a70228e0e004a6b6d6cdf92fd098536e96a2fa01c5b2ced2c
DIST qd-2.3.24.tar.gz 812215 BLAKE2B f9520066d8004befc3c17dc9a79dc8f099e39c3eeb676c8909f2914fa2f7d8e4f52e7e906c928d6fecdf018cdf97ac465fa9aa3f9c57b02279d1cbb8b3952246 SHA512 7f233e9d0edcb442da160a49bc97df87acf258c3251828e2d473206022a36581295f38c685ac5f0c78b106605f12698f3d0cc0b4865be220a50b3536820ac1b7
EBUILD qd-2.3.23.ebuild 916 BLAKE2B c9220a83d46916dda3d308d480b84078f8af02515c13db7ba4303a999cb8b9aa5837ac3b19271942646a46397d600c674cdad17b729834669a056535771efe75 SHA512 8ee98f3f5bceac44362d9f148084585a1996bc019774fe2b7daad55e9ead316415652ee0ee1ff4fcfbe474f3a8b86336a9d686fdf8bc86d40824b2ddea422bc4
-EBUILD qd-2.3.24.ebuild 920 BLAKE2B 3cb78d7181b2eb2a6facb6c8d895726d216e50c18d269e0f89c7e432b85e935f1ec8d1f46d9b089c79dde6c88775905d4af289a329dd7cc0d1c31e4e9c13dcc3 SHA512 14b9964127ef897503bda6d10e193615d546f356cd9c50aa4c35ab7312914eddb39cf1000d660e632e77aa9c0d2046d3c857e586a0c3a40e46525baf4e7b4d7b
+EBUILD qd-2.3.24.ebuild 919 BLAKE2B e405ada19d0247aa04373fbe4e31d59dc9990e7c56bbbf07bc20e9c8d0fe770f2aaf62f7025cdf0e6502eba60bd06c78ec35f431574eedf3bc59d502eefcee58 SHA512 72bbac66eed114ea40945b715007ecb43670a0b38e57fba6e1a9ebc2225a3155369161d938cb39695d5477c556b8256729cbcbb1dfca79d5245674dbb1a481f3
MISC metadata.xml 260 BLAKE2B 14d3d7872b9a3cb341301daf85c6b037c567163317516100d5af08e7ae02970252f210e90118d5df9e0cf6e0b3560add3a7894d379609b864e60dfdda3036423 SHA512 973385fccdcb0ccc36e00a09dc85204cf15081b8b61bc20e02d7d1311cb05af4927f01aac36ec93275158f5b990874ca03ab7d381cf6ee6f5e30bc4926d2f045
diff --git a/sci-libs/qd/qd-2.3.24.ebuild b/sci-libs/qd/qd-2.3.24.ebuild
index 2dd5a5b3591a..9318840d7862 100644
--- a/sci-libs/qd/qd-2.3.24.ebuild
+++ b/sci-libs/qd/qd-2.3.24.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://www.davidhbailey.com/dhbsoftware/"
SRC_URI="https://www.davidhbailey.com/dhbsoftware/${P}.tar.gz"
LICENSE="LBNLBSD"
SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="cpu_flags_x86_fma3 cpu_flags_x86_fma4 doc fortran"
src_configure() {
diff --git a/sci-libs/spqr/Manifest b/sci-libs/spqr/Manifest
index be99c5d753a6..f6323b275f1b 100644
--- a/sci-libs/spqr/Manifest
+++ b/sci-libs/spqr/Manifest
@@ -1,6 +1,6 @@
DIST SuiteSparse-7.0.0.gh.tar.gz 64884962 BLAKE2B 06c6cf54ffae188f5179e0cd45523700448d8999b44d6b1aeb3dfb99ccf34a570f6aff600988a144c68a4a2d8f41e32f7145e09349aed3bd889501ea031c8340 SHA512 50b1cd7bab6e4c063984162ed803fd13b69df7f67efe8ce7af15eace6b0ccd1669b6e57daa59511fd9531a847433cda49c1f52bfff234031af0d79e7fbd6423e
DIST spqr-2.0.9.tar.bz2 2161068 BLAKE2B a662983d2543a65ce36a367749db5585308acb56b016f69a35c46a84e9c12a678f57a3cfd459cc2e887fff2819b00f99981efaadb73831f1b4c54cbef5e1c367 SHA512 54b203e0d68b266473b8a2b7b3b3a55476df54a3ebd5748b70faa7bad1d0a5a7387197f0674ba5f9a5d45887daa736117f8d6ffbbc2eb02482b3374a3babf721
EBUILD spqr-2.0.9-r3.ebuild 1166 BLAKE2B 19213ecda918f49235b8f40580bb3d8e1347abe3be6fd50298883e00b5a7621c00afae8cccc5d058b1cbdaa80bcc55083768230bbdce0ce97b08d4fa63d41402 SHA512 5013703cfc54a4bcc6dbefd9d1310eacd0b66ac58e5f6fa131be571498d502c3e484e883de86d63217da2c464ea94442866360ec53659765397cd7b54f88dad7
-EBUILD spqr-2.0.9-r4.ebuild 1146 BLAKE2B 482aea9e158a46ff400f1d3a11e943c86ca245555a724e9a9b8441cf0ce28ab38e9adedbb34e7e23b12aaea8e322c37dbf791f24587c318e8d1288d65e521b74 SHA512 612b3509e312cc57e3d390c490a03b6fa31c7851ce85b106649b4825d006a866e6491d7aa93ed1070a326721335e4d1ad57165c590b6eedc76f07a436b212939
+EBUILD spqr-2.0.9-r4.ebuild 1145 BLAKE2B 8f2cf1f561e7289ebb9a02aa59b9ddb28204fb2838a378e6308fa573ad67653d8ce1da12cee3287689d9dc82426e60a8ac99d362fac2d36b718fc2378f13ef1a SHA512 83238a5c8b0fa25a86b3f2e6b0590041702036ee88cfd2d5cdd93b0a42fae88478a75667017f2b1c5c70174fc452570c8c112642877d6645cc7bf9a48135b9b6
EBUILD spqr-3.0.3.ebuild 5117 BLAKE2B 5f088e01875c25ac879c6fe787c90c7a1a7898d22e469b9f1c5c5269693ae819c16837a2dc2fb0b2399b914d33a087632129c2cde738953601d14a8264abe255 SHA512 4cfef7371d7205d80bb66dfbe4fb87a640e8ebf2000f5a240c17a552f1f1faf92707201a62b341bacf03f4a14d00f723addd9b0afbf08f8cf5e85a9857f55350
MISC metadata.xml 946 BLAKE2B d4051a416ebcfe046be31a02b3fca1d9b2e694d19b9f5c978ed927ce4dd4475f30025f011de24e93f1dedd5fcf3a779702d8467bdcc6a10324dc4ff9262eda97 SHA512 bb5d99a561952a29d16710c6730312f32a7d8ca8eb57a8a2479ee32a5612414e9ff00c0427c5a2962b7b3cf4b9a8b57caaace65e34f20b9fcc87714b493db157
diff --git a/sci-libs/spqr/spqr-2.0.9-r4.ebuild b/sci-libs/spqr/spqr-2.0.9-r4.ebuild
index 7316e75a77b8..0e88a5cfea9f 100644
--- a/sci-libs/spqr/spqr-2.0.9-r4.ebuild
+++ b/sci-libs/spqr/spqr-2.0.9-r4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://202.36.178.9/sage/${P}.tar.bz2"
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="~amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="doc partition tbb"
BDEPEND="virtual/pkgconfig
diff --git a/sci-libs/vtk/Manifest b/sci-libs/vtk/Manifest
index 9844f874125e..d74d98084e3f 100644
--- a/sci-libs/vtk/Manifest
+++ b/sci-libs/vtk/Manifest
@@ -1,5 +1,5 @@
AUX vtk-9.2.5-pegtl-3.x.patch 4679 BLAKE2B 0c0be426ac07c2dcab275fb84ef68f6fe3e914d83a9434ef07b2d184bd313ed2ce62d471531c330a32cc734f7b3fcb8859a0c49c8bc5ac461191c86ea9755778 SHA512 75e8a740a784ba811eff27f0ba60d8889b24f97b1fcdf7feda4a73f0324d36060d7b35dba74bf6de2a16136201dc772ee5825e93ec0e5337e74299baea3444a0
-AUX vtk-9.3.0-ThirdParty-gcc15.patch 2443 BLAKE2B 67bd35f3a21ddd0897394afc5f7037f3346078ebf988f4cd358122a121197cd0bebbb748cb5972802dd4d615bf57929e41e47e2d81bb4f02f2cfe608e35497fd SHA512 636ed29f528403755c7f620826bbf384f61bec3b64b151804b6976f4aadaf786c15b9f8a38961bc059a93c671f27fb979bd34e3f42db8f6344b255490945e09b
+AUX vtk-9.3.0-ThirdParty-gcc15.patch 2444 BLAKE2B cc3e209a1c9df09a03dd365cd6999b9666bdcbfc9e7b922394e420e0d8089b120040c1b44260918908e133e2e283fd2ddd1d9e35506737831bab1d08ccd22beb SHA512 e45b8b1f08d9a9a1a7b0c220cc5ee96647394a1bbd079f5900e76e51438ac9795dcbeee7fcf8201bf13e17cc1e8908d35146320331e6e02ccfa76b8e6f1ae731
AUX vtk-9.3.0-ThrustPatches.patch 2026 BLAKE2B e51c72b9d2bfb0e7e968f1c9f0896a70d6215f60d21dd234c26feb7a47653c46c8d75b24b1ab0286e51d228b6c4ff7fefd34c01f5b8e885dc1cab6190fc9c6f7 SHA512 b326839c82682e7c1fc1e19d836fb55837417bbf0c23ccb28edc84dd519f085cce0a07221bf6c9e794d1b8a73ecd77c154f82cb602feef9e8d8962b2e8fabd92
AUX vtk-9.3.0-core-octree_node.txx.patch 670 BLAKE2B 6f53735716d6c75bfcf41dbc27331a4ac495f474c540b06c7a1b62e71b84af88304c2364e88060aae9cd015866138240f40ba28e0db8470e7a841cfb06ef827e SHA512 36d9b12f29e60bb773745263996eaf9fed2f6dee4e3be7f593f5a72e25909d30cde90828c54e1981290640b9f4cae85b20292ae054b6b5f2ee4420f27d23c07f
AUX vtk-9.3.0-fix-Java-error-with-integer-enum-overloads.patch 2356 BLAKE2B 45e2569239b5dcd4e26a007746179cb1743cc4269f82d2fff2cdb2d5188f47cf84315ddb850f2dcc602595d928569c41f986ed6677fabf52e91a0b15b8ed3225 SHA512 dff1bb8d4480ef7d8f6672015c11c29bc7ac2ee396f473c388b236b30326978b80b0a557cc8910fce34f9c54db9ef31b7a1440c930faf83c5b4acca9ecbee99c
@@ -8,12 +8,22 @@ AUX vtk-9.3.0-opencascade-7.8.0.patch 819 BLAKE2B 51f4af785af5f44b21b641a631fe63
AUX vtk-9.3.0-opencascade.patch 624 BLAKE2B 8188da64b12213074a4093ee0dd047fcf91a777742492dfe0cb1e93b597c23e78406e4783b3cdff23ffcac81655efa370bb3746a69d166edd138ec45beeb5c09 SHA512 1a0da4ffb822a038a13201d83f1cf6b42d4438073ea35fe3654d9e907e20c12306b47a511b72cb843097327a186b36560e2590ded47ce73aa8eb5a7655664236
AUX vtk-9.3.0-pdal-2.6.0.patch 1748 BLAKE2B 9210b5ceceb95a5d74bd7ed4815faf809206bf3f66bc1606cf17124abfab6252a87285561fd9a3e0b1e542d981e714b3e5d1ae2137672beb9bc3c25d3f5afced SHA512 59cd68181857ffb3e428f6ae46b807fda6b3e1c1d4985e31f13b7d7ff177368e1ea65fa7e4bb5ce0d004ba7a9d1aef54e4e231111f05f638ddce8b360213f2f0
AUX vtk-9.3.0-r1-expat-2.6.0.patch 2527 BLAKE2B 30006963525dcd4c06414c03e5504376853c2114c1b6f9a8eee862d15a21188ff0432fc32174bd9b4bc62bc9d3624c9107bff8772fb3610dfe54fca47f025a0e SHA512 16196fac6bee600ccc0da04d496cf56ffaf6a1a8d1146e3f7dbd87f12bd77eae7bd3716d6d7373a1e97b91c60c8e33591029b4cac9e7c2f2e5b875dc4d90c690
-AUX vtk-9.3.0-too-many-initializer-values.patch 976 BLAKE2B ae9863f867988e1202c2fba8ded3a9c610e8dd3b731eb32f1a687faa36b011e027f5b2cea435b38f9f0eb6d6d8114cb64b60a03b9c379d2c77745fe3840fdb28 SHA512 9a935eb4b7c3eea6d9e13ba4616de1717d29732f3cfc8cd08d52cc5c4c76af336574d9e10c2546c55f5d2afae7e89f571cf91f78945abae47f15388a158bd9e5
+AUX vtk-9.3.0-too-many-initializer-values.patch 1132 BLAKE2B 06513e3b0c32686b5665378d745fef3c21669cfe5e87bd804fd69122a49c6133794ae74dfb0a62d3e756fde3da0e92e44d86839885c3da827659bafd3e9e6ecd SHA512 a6e6c85b51bf564650da5a0266c85a9327db0d20c5ee1ead904924f171398771e737e7f66e2b9f1579190c9f395e4032740d643003d4ac3e04ba7fe958863a6f
+AUX vtk-9.3.0-update-for-cuda-12.6.patch 779 BLAKE2B 406dc4e2f57009351819d6536eb82ca9566c0544fe664e8a7867f5a36e67e084dbcb3dc60e151db4ef53c881465cd49d604b9b039ff69dfd3e4e8fe420ef0240 SHA512 d293b2a741a6042c30e835d7aa1071344d7813d07099f913d4ca5e4e728f31df233a50bed6a787d712a5eea8fb2396d9bfb4192f71fe7cff927ea1a0332b260a
+AUX vtk-9.3.0-vtkm-drop-template-id-from-cdtor.patch 917 BLAKE2B 01d9a8b06a9ace6ca679bac9dcac96c9ec1842d97e85e3271cd76f424d8c07ea8624b9b2de759f07e1d5b2c2acdc2bf54a4272c205c7b99d04bf34c1f5d01d95 SHA512 df41793594f52b12b20ddc42dc701e6d2ae7404f13f7826bae48c9e5d83a5b55455617de75aaa7678eac5562b02c5c5458f0f767b3aa34f66b468f39990c2623
+AUX vtk-9.3.1-fix-fmt-11.patch 2450 BLAKE2B 91ce3cb941b7a1bf4c1098f582db146bb39b8260c285578c1e0473a652d563d42664592c47f20cd9f67c4dd7f2f2db4d17ff2dd7430441459664569a19cbf601 SHA512 f1567d4320ea591c7ad0015b0922c1b4a97d628242ee33ca573edb68bbafb8a32a783e955e0bc2ac5a23fe3606239510a956f67ae0b89c914570d8a0c0276f88
DIST VTK-9.3.0.tar.gz 99932810 BLAKE2B 59c2cdfe1c2525ac0f89df77a668783d928b55d2e72b42df45ea9b789da1bb150d52ce4108f2bc39cb8840cdd1998f57d3aedf96c72e402f6115d9efeebf4486 SHA512 2722dc8186779df1af5c534f26b20186ea33cb3bca2cef8cb333542b12e738382616e26e8d4d0341cb98c30403f8a896d77ddb04adb07e26d0d548c4a34b7d2f
+DIST VTK-9.3.1.tar.gz 99964158 BLAKE2B b85aae0aef1a22bd0496e0f5d2c7d3a5c20bbd7db8951ab1f9fe29a48c01ce960e90dc85f36cb6858c2b7dfd7f12cd1cf2e7d0fbb115fc9fd709dd7b481c598e SHA512 5dcd6764b2d9fe476bcc7bd195fab8230b7628579d94656ab037dcaecd07c7d40d0fc4afba446942ca15cd881df17f4c84581047e75a6e11d2e2d339d97c7fa3
DIST VTKData-9.3.0.tar.gz 612388942 BLAKE2B 66d73ddaf5f2ddf52cf5c6dda5a918a86ae630df207983534478c92a66c39e38b1f4abfb93900b36899a93ad0e26260763573e925bd128c1646a1bc3bef8c54d SHA512 385d609c2adc1746c073690b58a3fc25e496946c03f08e6c9e0a69ee406cee447e66d267986c3e5ba9006dd1cb0015b68134bb3c375ae41aef8f3b1e0d923d51
+DIST VTKData-9.3.1.tar.gz 612744946 BLAKE2B 6b3a09f6cc98630e817aaeca8094c6a6625372269abfa9003212cd1cdbc101b198f5eeb3474ca675be7f03046c58a5d11b4092ab19ed230422c4100011abfee4 SHA512 befc6b68e33d2c2fb6928006d4fe6feda7e0bbaf31df4488911ab8e3865e3fc1cf3834301301aa2b6de94c4489eebf5e2e8521e8830315d2a1f0e65cb73a6fd3
DIST VTKDataFiles-9.3.0.tar.gz 628646039 BLAKE2B c2a4e875536c0b06f1edc8a8df17defbe1038067d7a04fc07e71ea49cad46139ef25f64d4b434a095ced16a7ff39d5346d34c528c099ea2e126c9f29afe92482 SHA512 c6788acfa790ce6b02aa5545fa4e411d00896b7542416c18b5e5955909f26a8fab9267e44db1c2a86f95f7a7f093695453f3fd0ec4e2c9a73449f9caf3fc09d5
+DIST VTKDataFiles-9.3.1.tar.gz 628903288 BLAKE2B cf5919a627ee49809f79d29577d65a48c3332255551c3c229875b25fce911c75c3edeca8d0dfdf9926f93543963ab0e2c992c7469e2c9eed041c39cfd995647d SHA512 360fadd31ab304a27b208745c674eb31759552e98f587569f481c1bda62c7f8ae72598cd40b2c628bb211aace8f62df2ea7ca66f192f8d2e71bca7a4deaa9e89
DIST VTKLargeData-9.3.0.tar.gz 247520869 BLAKE2B e01f3d0997d0b328d6c5909d6b891443c1246bdbc36aa978004a1d4bb2770f7923afed2c0d78f7844aae95e067425b9dd25a1c47601c8137ba0a8a958b708cab SHA512 d87eb0fb4ce27ae9f4363c54bb711e66c5d2dbcdf508cb5fae9fcc1574407df2816f29d20037297b834440cd8a54fcf8e1d6db14700054f057bff2fe48404d33
+DIST VTKLargeData-9.3.1.tar.gz 247523669 BLAKE2B 88ec5046f502db14dd6a26ef81e386babaf560619e16d769834e96046eab46cf762d8c80f9b51c434b77e4e145d8f60e32efbdb4f57d8305494177abec0806ef SHA512 edf5610edfae90f8465d68e0e06e82018978ba27f5b2ae9701939aeb72019acaabeda435c15787f1c4828b44e34c79e2837565a81d6a3accd368a92c6eacebd1
DIST VTKLargeDataFiles-9.3.0.tar.gz 247503839 BLAKE2B 68007af36148eaae43fc0fd75b9f8d3b165c977b7bc44efa4ce7077dc4977514f49a4d7d5e4a9e43fc9dec6562d741bdee5df87efa285b3361f865023da14f55 SHA512 f7def947ff492acbfdaa3d360064c42fdd3fedab27fd5d7bed1dbf8054b814cc8843ba0fed7078926648d1e8949235b877de97747be079ea478b79558975e6ea
+DIST VTKLargeDataFiles-9.3.1.tar.gz 247505524 BLAKE2B 5de069309c59a8a73365fb9faba9904189d723fb72976f372e40db3eb100342a19fecd582bd0aa42fc1012675b442a8e42611632004d6b6d6708468c27a4265e SHA512 bbbf0c193432cb5d8a5618c41e66609c7e6f3e4f24f588124c46b537ecec28b5670420b7f77185da534e4098f8b95d8ec4e392fc017df934a84bfc9dc833f634
DIST vtkDocHtml-9.3.0.tar.gz 165538725 BLAKE2B 27874998679090d5442ecb3a394b53db05a0215cfee9f912bd01af1d5567efc51b4f56dacb960401195da4f3d385b335bbefc922a45d0199c99d619df0941f08 SHA512 8bf9cc87c4653a65ccc39d88d70b421a7b4353986d380cbf558cbf6e8a96435695a5d54aa7ce5bb1240cb46ca0fd9225a51183a39d1af1101d3f2876a2afc10b
+DIST vtkDocHtml-9.3.1.tar.gz 165542400 BLAKE2B da8084137b2848f82bf091535950738bd718e65cac8f461fdfb8e9c63ef6db68acfa02655531c8fe22e35f89395d2d066aa5b051abac0e774883552c898de6d9 SHA512 de0d2153c97864b49a8b99e6fbfc8bab78c1522d25bf40ed1f271a8bb4f1f205b008d6bd39f835816972c8439d01f78b68f34d1f88f87755174f0d559841ba29
EBUILD vtk-9.3.0-r3.ebuild 36282 BLAKE2B bdc9308f7477a56f6b5e391942d829bb72e7446a058f8b61b2d931a6300ecf289486903a24a3c997057e135760d06a042bf1189147bb561fb3b91aa2969b34e4 SHA512 b6262a241a493c12d74e0c919f34d6d7d3a8544bbf4a0dc9b28fb1a2019f0ca6a046b476ad3064b870f5ab154adac3e717dc81e5dde4971d9feb52223d7af6d7
-MISC metadata.xml 1696 BLAKE2B facd22a703e2ffda9e2a4ac8ad61855eadc47a9d0397117d7bf5516f31561c4eda178c607055c964dfbde4d1c3feb0f125085775e3c147389bee17151b21b744 SHA512 4289a0b9a96a012e94b2f33cd18481884ee04f3c21ead3d024b29c8d45dfe1247ea450e17e72488ea0f547946c55b0e8872015197f0785efd7ffcfe7bf203cbe
+EBUILD vtk-9.3.1.ebuild 34528 BLAKE2B 3c9be925f33053b5088fbd384a162512f3a3419ad5fa61807275399162f5d71ee6e693f104ec9621a9f54e9e49eb7120166a6c647662835d5cc49d8b016a07b8 SHA512 7a4a79e96e60d3c7c7fe01486be10ab270ed6eb9f2be87a15f107de316265e8b9fb546ca68161cf1743152f885e03ea8f3ce3daaf5b32af6f66b0eaf2fd172f9
+MISC metadata.xml 1765 BLAKE2B f17c8864280100ef5e6993cc9d529336b9b226e1110fe24bcde3ea8b045fa1aa89bdb36de0e7b76e8ed0b4e6ee0915c8700520a81811983541d4c89b3bcb8acd SHA512 7e5039d28711a39b96ad3d23812a744bd33db38ef9c2f58b5725dfff701b03543fb630f4014ccae117855d09229c36665d815b03591c3d38806be15a08d2a272
diff --git a/sci-libs/vtk/files/vtk-9.3.0-ThirdParty-gcc15.patch b/sci-libs/vtk/files/vtk-9.3.0-ThirdParty-gcc15.patch
index df2d6fc61167..b69d399f3c2a 100644
--- a/sci-libs/vtk/files/vtk-9.3.0-ThirdParty-gcc15.patch
+++ b/sci-libs/vtk/files/vtk-9.3.0-ThirdParty-gcc15.patch
@@ -44,3 +44,4 @@ Subject: [PATCH] include cstdint + correct case/words
#include <type_traits>
#include <cstddef>
#include <memory>
+
diff --git a/sci-libs/vtk/files/vtk-9.3.0-too-many-initializer-values.patch b/sci-libs/vtk/files/vtk-9.3.0-too-many-initializer-values.patch
index 52c37250c7e7..4be0e88b769c 100644
--- a/sci-libs/vtk/files/vtk-9.3.0-too-many-initializer-values.patch
+++ b/sci-libs/vtk/files/vtk-9.3.0-too-many-initializer-values.patch
@@ -1,3 +1,8 @@
+From: Paul Zander <negril.nx+gentoo@gmail.com>
+Subject: [PATCH] vtkm: too many initializer values
+
+Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
+
--- a/Accelerators/Vtkm/Core/vtkmlib/vtkmDataArray.hxx
+++ b/Accelerators/Vtkm/Core/vtkmlib/vtkmDataArray.hxx
@@ -334,7 +334,7 @@
diff --git a/sci-libs/vtk/files/vtk-9.3.0-update-for-cuda-12.6.patch b/sci-libs/vtk/files/vtk-9.3.0-update-for-cuda-12.6.patch
new file mode 100644
index 000000000000..6a913a551315
--- /dev/null
+++ b/sci-libs/vtk/files/vtk-9.3.0-update-for-cuda-12.6.patch
@@ -0,0 +1,22 @@
+From f568d669465f5825006be2fba8a117060e832618 Mon Sep 17 00:00:00 2001
+From: Paul Zander <negril.nx+gentoo@gmail.com>
+Date: Sun, 8 Sep 2024 22:27:09 +0200
+Subject: [PATCH] update for cuda 12.6
+
+https://github.com/NVIDIA/cccl/commit/733eb94a2b98b8d5b5ab1e39cbd8ac1aed9173ec
+
+Bug: https://bugs.gentoo.org/938673
+Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
+
+--- a/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/exec/cuda/internal/WrappedOperators.h
++++ b/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/exec/cuda/internal/WrappedOperators.h
+@@ -195,7 +195,7 @@ namespace detail
+ //
+ template <typename T, typename F>
+ struct is_commutative<vtkm::exec::cuda::internal::WrappedBinaryOperator<T, F>>
+- : public thrust::detail::is_arithmetic<T>
++ : public ::cuda::std::is_arithmetic<T>
+ {
+ };
+ }
+
diff --git a/sci-libs/vtk/files/vtk-9.3.0-vtkm-drop-template-id-from-cdtor.patch b/sci-libs/vtk/files/vtk-9.3.0-vtkm-drop-template-id-from-cdtor.patch
new file mode 100644
index 000000000000..ddca73f492a6
--- /dev/null
+++ b/sci-libs/vtk/files/vtk-9.3.0-vtkm-drop-template-id-from-cdtor.patch
@@ -0,0 +1,20 @@
+From e9977b71f31525aea5084b3fef9c2bd4c9ad93f1 Mon Sep 17 00:00:00 2001
+From: Paul Zander <negril.nx+gentoo@gmail.com>
+Date: Sat, 7 Sep 2024 13:29:24 +0200
+Subject: [PATCH] vtkm: drop template-id from cdtor
+
+warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
+
+Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
+
+--- a/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/cont/openmp/internal/RuntimeDeviceConfigurationOpenMP.h
++++ b/ThirdParty/vtkm/vtkvtkm/vtk-m/vtkm/cont/openmp/internal/RuntimeDeviceConfigurationOpenMP.h
+@@ -31,7 +31,7 @@ class RuntimeDeviceConfiguration<vtkm::cont::DeviceAdapterTagOpenMP>
+ : public vtkm::cont::internal::RuntimeDeviceConfigurationBase
+ {
+ public:
+- RuntimeDeviceConfiguration<vtkm::cont::DeviceAdapterTagOpenMP>()
++ RuntimeDeviceConfiguration()
+ : HardwareMaxThreads(InitializeHardwareMaxThreads())
+ , CurrentNumThreads(this->HardwareMaxThreads)
+ {
diff --git a/sci-libs/vtk/files/vtk-9.3.1-fix-fmt-11.patch b/sci-libs/vtk/files/vtk-9.3.1-fix-fmt-11.patch
new file mode 100644
index 000000000000..64643c82723f
--- /dev/null
+++ b/sci-libs/vtk/files/vtk-9.3.1-fix-fmt-11.patch
@@ -0,0 +1,70 @@
+From a811c0c4aca246a89f85a1eecc805e388a645178 Mon Sep 17 00:00:00 2001
+From: Paul Zander <negril.nx+gentoo@gmail.com>
+Date: Tue, 17 Sep 2024 18:45:03 +0200
+Subject: [PATCH] fix fmt-11
+
+Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
+
+diff --git a/ThirdParty/ioss/vtkioss/Ioss_Decomposition.C b/ThirdParty/ioss/vtkioss/Ioss_Decomposition.C
+index 388d524..a94afc6 100644
+--- a/ThirdParty/ioss/vtkioss/Ioss_Decomposition.C
++++ b/ThirdParty/ioss/vtkioss/Ioss_Decomposition.C
+@@ -15,6 +15,7 @@
+ #include <cassert>
+ #include "vtk_fmt.h"
+ #include VTK_FMT(fmt/ostream.h)
++#include VTK_FMT(fmt/ranges.h)
+ #include <numeric>
+
+ #if !defined(NO_ZOLTAN_SUPPORT)
+diff --git a/ThirdParty/ioss/vtkioss/Ioss_IOFactory.C b/ThirdParty/ioss/vtkioss/Ioss_IOFactory.C
+index 440f352..ca71a90 100644
+--- a/ThirdParty/ioss/vtkioss/Ioss_IOFactory.C
++++ b/ThirdParty/ioss/vtkioss/Ioss_IOFactory.C
+@@ -12,6 +12,7 @@
+ #include <cstddef> // for nullptr
+ #include "vtk_fmt.h"
+ #include VTK_FMT(fmt/ostream.h)
++#include VTK_FMT(fmt/ranges.h)
+ #include <map> // for _Rb_tree_iterator, etc
+ #include <ostream> // for basic_ostream, etc
+ #include <set>
+diff --git a/ThirdParty/ioss/vtkioss/Ioss_StructuredBlock.C b/ThirdParty/ioss/vtkioss/Ioss_StructuredBlock.C
+index 1609c31..85b67e2 100644
+--- a/ThirdParty/ioss/vtkioss/Ioss_StructuredBlock.C
++++ b/ThirdParty/ioss/vtkioss/Ioss_StructuredBlock.C
+@@ -15,6 +15,7 @@
+ #include <Ioss_StructuredBlock.h>
+ #include "vtk_fmt.h"
+ #include VTK_FMT(fmt/ostream.h)
++#include VTK_FMT(fmt/ranges.h)
+
+ #include <cstddef> // for size_t
+ #include <numeric>
+diff --git a/ThirdParty/ioss/vtkioss/Ioss_Utils.C b/ThirdParty/ioss/vtkioss/Ioss_Utils.C
+index 57021ab..cc5b8a4 100644
+--- a/ThirdParty/ioss/vtkioss/Ioss_Utils.C
++++ b/ThirdParty/ioss/vtkioss/Ioss_Utils.C
+@@ -21,6 +21,7 @@
+ #include VTK_FMT(fmt/chrono.h)
+ #include VTK_FMT(fmt/format.h)
+ #include VTK_FMT(fmt/ostream.h)
++#include VTK_FMT(fmt/ranges.h)
+ #include <fstream>
+ #include <sstream>
+ #include <string>
+diff --git a/ThirdParty/ioss/vtkioss/Ioss_ZoneConnectivity.C b/ThirdParty/ioss/vtkioss/Ioss_ZoneConnectivity.C
+index 5d32481..5cb3c02 100644
+--- a/ThirdParty/ioss/vtkioss/Ioss_ZoneConnectivity.C
++++ b/ThirdParty/ioss/vtkioss/Ioss_ZoneConnectivity.C
+@@ -9,6 +9,7 @@
+ #include <cstddef> // for size_t
+ #include "vtk_fmt.h"
+ #include VTK_FMT(fmt/ostream.h)
++#include VTK_FMT(fmt/ranges.h)
+ #include <string> // for string
+ #include <vector> // for vector
+
+--
+2.46.0
+
diff --git a/sci-libs/vtk/metadata.xml b/sci-libs/vtk/metadata.xml
index 6fb9cf742a2d..ce67b30442e4 100644
--- a/sci-libs/vtk/metadata.xml
+++ b/sci-libs/vtk/metadata.xml
@@ -16,6 +16,7 @@
<use>
<flag name="all-modules">Build all modules</flag>
<flag name="boost">Add support for boost</flag>
+ <flag name="cgns">Build support to handle CGNS data files</flag>
<flag name="freetype">Build support for font rendering</flag>
<flag name="gdal">Support for gdal formated data</flag>
<flag name="imaging">Building Imaging modules</flag>
diff --git a/sci-libs/vtk/vtk-9.3.1.ebuild b/sci-libs/vtk/vtk-9.3.1.ebuild
new file mode 100644
index 000000000000..62f33476fe4f
--- /dev/null
+++ b/sci-libs/vtk/vtk-9.3.1.ebuild
@@ -0,0 +1,1020 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# TODO:
+# - add USE flag for remote modules? Those modules can be downloaded
+# properly before building.
+# - replace usex by usev where applicable
+
+PYTHON_COMPAT=( python3_{10..12} )
+WEBAPP_OPTIONAL=yes
+WEBAPP_MANUAL_SLOT=yes
+
+inherit check-reqs cmake cuda java-pkg-opt-2 multiprocessing python-single-r1 toolchain-funcs virtualx webapp
+
+# Short package version
+MY_PV="$(ver_cut 1-2)"
+
+DESCRIPTION="The Visualization Toolkit"
+HOMEPAGE="https://www.vtk.org/"
+SRC_URI="
+ https://www.vtk.org/files/release/${MY_PV}/VTK-${PV}.tar.gz
+ doc? ( https://www.vtk.org/files/release/${MY_PV}/vtkDocHtml-${PV}.tar.gz )
+ examples? (
+ https://www.vtk.org/files/release/${MY_PV}/VTKLargeData-${PV}.tar.gz
+ https://www.vtk.org/files/release/${MY_PV}/VTKLargeDataFiles-${PV}.tar.gz
+ )
+ test? (
+ https://www.vtk.org/files/release/${MY_PV}/VTKData-${PV}.tar.gz
+ https://www.vtk.org/files/release/${MY_PV}/VTKDataFiles-${PV}.tar.gz
+ https://www.vtk.org/files/release/${MY_PV}/VTKLargeData-${PV}.tar.gz
+ https://www.vtk.org/files/release/${MY_PV}/VTKLargeDataFiles-${PV}.tar.gz
+ )
+"
+S="${WORKDIR}/VTK-${PV}"
+
+LICENSE="BSD LGPL-2"
+SLOT="0/${MY_PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
+
+# TODO: Like to simplify these. Mostly the flags related to Groups.
+IUSE="all-modules boost +cgns cuda debug doc examples ffmpeg gdal gles2-only imaging
+ java las +logging minimal mpi mysql +netcdf odbc opencascade openmp openvdb pdal postgres
+ python qt6 +rendering sdl tbb test +threads tk +truetype video_cards_nvidia +views vtkm web"
+
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+ all-modules? (
+ boost cgns ffmpeg gdal imaging las mysql netcdf odbc opencascade openvdb pdal
+ postgres rendering truetype views
+ )
+ cuda? ( video_cards_nvidia vtkm )
+ java? ( rendering )
+ minimal? ( !rendering )
+ !minimal? ( cgns netcdf rendering )
+ python? ( ${PYTHON_REQUIRED_USE} )
+ qt6? ( rendering )
+ sdl? ( rendering )
+ tk? ( python rendering )
+ web? ( python )
+ rendering? ( truetype views )
+"
+
+# eigen, nlohmann_json, pegtl and utfcpp are referenced in the cmake files
+# and need to be available when VTK consumers configure the dependencies.
+RDEPEND="
+ app-arch/lz4:=
+ app-arch/xz-utils
+ dev-db/sqlite:3
+ dev-libs/double-conversion:=
+ dev-libs/expat
+ dev-libs/icu:=
+ dev-libs/jsoncpp:=
+ >=dev-libs/libfmt-8.1.1:=
+ dev-libs/libxml2:2
+ dev-libs/libzip:=
+ dev-libs/pugixml
+ media-libs/freetype
+ media-libs/libjpeg-turbo
+ media-libs/libogg
+ media-libs/libpng:=
+ media-libs/tiff:=
+ sci-libs/hdf5:=[mpi=]
+ sci-libs/proj:=
+ sys-libs/zlib
+ boost? ( dev-libs/boost:=[mpi?] )
+ cgns? ( >=sci-libs/cgnslib-4.1.1:=[hdf5,mpi=] )
+ cuda? ( dev-util/nvidia-cuda-toolkit:= )
+ ffmpeg? ( media-video/ffmpeg:= )
+ gdal? ( sci-libs/gdal:= )
+ java? ( >=virtual/jdk-11:= )
+ las? ( sci-geosciences/liblas )
+ !minimal? (
+ >=media-libs/libharu-2.4.0:=
+ media-libs/libtheora
+ )
+ mpi? ( virtual/mpi[cxx,romio] )
+ mysql? ( dev-db/mariadb-connector-c )
+ netcdf? ( sci-libs/netcdf:=[mpi=] )
+ odbc? ( dev-db/unixODBC )
+ openvdb? ( media-gfx/openvdb:= )
+ opencascade? ( sci-libs/opencascade:= )
+ pdal? ( sci-libs/pdal:= )
+ postgres? ( dev-db/postgresql:= )
+ python? (
+ ${PYTHON_DEPS}
+ $(python_gen_cond_dep 'mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] )')
+ $(python_gen_cond_dep 'rendering? ( dev-python/matplotlib[${PYTHON_USEDEP}] )')
+ )
+ qt6? (
+ dev-qt/qtbase:6[gui,opengl,sql,widgets]
+ dev-qt/qtdeclarative:6[opengl]
+ dev-qt/qtshadertools:6
+ x11-libs/libxkbcommon
+ )
+ sdl? ( media-libs/libsdl2 )
+ rendering? (
+ media-libs/glew:=
+ media-libs/libglvnd[X]
+ x11-libs/gl2ps
+ x11-libs/libICE
+ x11-libs/libXcursor
+ x11-libs/libXext
+ )
+ tbb? ( dev-cpp/tbb:= )
+ tk? ( dev-lang/tk:= )
+ truetype? ( media-libs/fontconfig )
+ video_cards_nvidia? ( x11-drivers/nvidia-drivers[tools,static-libs] )
+ views? (
+ x11-libs/libICE
+ x11-libs/libXext
+ )
+ web? ( ${WEBAPP_DEPEND} )
+"
+
+DEPEND="
+ ${RDEPEND}
+ dev-cpp/cli11
+ dev-cpp/eigen
+ dev-cpp/nlohmann_json
+ >=dev-libs/pegtl-3
+ dev-libs/utfcpp
+ test? (
+ media-libs/glew
+ x11-libs/libXcursor
+ rendering? ( media-libs/freeglut )
+ )
+"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-9.2.5-pegtl-3.x.patch"
+ "${FILESDIR}/${PN}-9.3.0-java.patch"
+ "${FILESDIR}/${PN}-9.3.0-opencascade.patch"
+ "${FILESDIR}/${PN}-9.3.0-ThrustPatches.patch"
+ "${FILESDIR}/${PN}-9.3.0-core-octree_node.txx.patch"
+ "${FILESDIR}/${PN}-9.3.0-ThirdParty-gcc15.patch"
+ "${FILESDIR}/${PN}-9.3.0-update-for-cuda-12.6.patch"
+ "${FILESDIR}/${PN}-9.3.1-fix-fmt-11.patch"
+)
+
+DOCS=( CONTRIBUTING.md README.md )
+
+vtk_check_reqs() {
+ local dsk=4096
+
+ dsk=$(( $(usex doc 3072 0) + dsk ))
+ dsk=$(( $(usex examples 3072 0) + dsk ))
+ dsk=$(( $(usex cuda 8192 0) + dsk ))
+ export CHECKREQS_DISK_BUILD=${dsk}M
+
+ # In case users are not aware of the extra NINJAOPTS, check
+ # for the more common MAKEOPTS, in case NINJAOPTS is empty
+ local jobs=1
+ if [[ -n "${NINJAOPTS}" ]]; then
+ jobs=$(makeopts_jobs "${NINJAOPTS}" "$(get_nproc)")
+ elif [[ -n "${MAKEOPTS}" ]]; then
+ jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
+ fi
+
+ if use cuda; then
+ local mem=$(( $(usex cuda 7168 0) ))
+ mem=$(( mem * $(( jobs > 4 ? 4 : jobs )) ))
+ export CHECKREQS_MEMORY=${mem}M
+ fi
+
+ "check-reqs_pkg_${EBUILD_PHASE}"
+}
+
+cuda_get_host_compiler() {
+ if [[ -n "${NVCC_CCBIN}" ]]; then
+ echo "${NVCC_CCBIN}"
+ return
+ fi
+
+ if [[ -n "${CUDAHOSTCXX}" ]]; then
+ echo "${CUDAHOSTCXX}"
+ return
+ fi
+
+ einfo "Trying to find working CUDA host compiler"
+
+ if ! tc-is-gcc && ! tc-is-clang; then
+ die "$(tc-get-compiler-type) compiler is not supported"
+ fi
+
+ local compiler compiler_type compiler_version
+ local package package_version
+ local NVCC_CCBIN_default
+
+ compiler_type="$(tc-get-compiler-type)"
+ compiler_version="$("${compiler_type}-major-version")"
+
+ # try the default compiler first
+ NVCC_CCBIN="$(tc-getCXX)"
+ NVCC_CCBIN_default="${NVCC_CCBIN}-${compiler_version}"
+
+ compiler="${NVCC_CCBIN/%-${compiler_version}}"
+
+ # store the package so we can re-use it later
+ package="sys-devel/${compiler_type}"
+ package_version="${package}"
+
+ ebegin "testing ${NVCC_CCBIN_default} (default)"
+
+ while ! nvcc -v -ccbin "${NVCC_CCBIN}" - -x cu <<<"int main(){}" &>> "${T}/cuda_get_host_compiler.log" ; do
+ eend 1
+
+ while true; do
+ # prepare next version
+ if ! package_version="<$(best_version "${package_version}")"; then
+ die "could not find a supported version of ${compiler}"
+ fi
+
+ NVCC_CCBIN="${compiler}-$(ver_cut 1 "${package_version/#<${package}-/}")"
+
+ [[ "${NVCC_CCBIN}" != "${NVCC_CCBIN_default}" ]] && break
+ done
+ ebegin "testing ${NVCC_CCBIN}"
+ done
+ eend $?
+
+ # clean temp file
+ rm -f a.out
+
+ echo "${NVCC_CCBIN}"
+ export NVCC_CCBIN
+}
+
+cuda_get_host_native_arch() {
+ [[ -n ${CUDAARCHS} ]] && echo "${CUDAARCHS}"
+
+ __nvcc_device_query || die "failed to query the native device"
+}
+
+vtk_add_sandbox() {
+ local WRITE=()
+
+ # mesa via virtx will make use of udmabuf if it exists
+ [[ -c "/dev/udmabuf" ]] && WRITE+=( "/dev/udmabuf" )
+
+ readarray -t dris <<<"$(
+ for dri in /sys/class/drm/*/dev; do
+ realpath "/dev/char/$(cat "${dri}")"
+ eqawarn "dri ${dri} $(cat "${dri}") $(realpath "/dev/char/$(cat "${dri}")")"
+ done
+ )"
+
+ [[ -n "${dris[*]}" ]] && WRITE+=( "${dris[@]}" )
+
+ if [[ -d /sys/module/nvidia ]]; then
+ # /dev/nvidia{0-9}
+ readarray -t nvidia_devs <<<"$(
+ find /dev -regextype posix-extended -regex '/dev/nvidia(|-(nvswitch|vgpu))[0-9]*'
+ )"
+ [[ -n "${nvidia_devs[*]}" ]] && WRITE+=( "${nvidia_devs[@]}" )
+
+ WRITE+=(
+ "/dev/nvidiactl"
+ "/dev/nvidia-modeset"
+
+ "/dev/nvidia-vgpuctl"
+
+ "/dev/nvidia-nvlink"
+ "/dev/nvidia-nvswitchctl"
+
+ "/dev/nvidia-uvm"
+ "/dev/nvidia-uvm-tools"
+
+ # "/dev/nvidia-caps/nvidia-cap%d"
+ "/dev/nvidia-caps/"
+ # "/dev/nvidia-caps-imex-channels/channel%d"
+ "/dev/nvidia-caps-imex-channels/"
+ )
+ fi
+
+ # for portage
+ WRITE+=( "/proc/self/task/" )
+
+ local dev
+ for dev in "${WRITE[@]}"; do
+ [[ ! -e "${dev}" ]] && return
+
+ [[ -w "${dev}" ]] && return
+
+ eqawarn "addwrite ${dev}"
+ addwrite "${dev}"
+ if [[ ! -d "${dev}" ]] && [[ ! -w "${dev}" ]]; then
+ eerror "can not access ${dev} after addwrite"
+ fi
+ done
+}
+
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && has openmp && tc-check-openmp
+
+ vtk_check_reqs
+
+ # When building binpkgs you probably want to include all targets
+ if use cuda && [[ ${MERGE_TYPE} == "buildonly" ]] && [[ -n "${CUDA_GENERATION}" || -n "${CUDA_ARCH_BIN}" ]]; then
+ local info_message="When building a binary package it's recommended to unset CUDA_GENERATION and CUDA_ARCH_BIN"
+ einfo "$info_message so all available architectures are build."
+ fi
+}
+
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && has openmp && tc-check-openmp
+
+ vtk_check_reqs
+
+ if use cuda && [[ ! -e /dev/nvidia-uvm ]]; then
+ # NOTE We try to load nvidia-uvm and nvidia-modeset here,
+ # so __nvcc_device_query does not fail later.
+
+ nvidia-modprobe -m -u -c 0 || true
+ fi
+
+ use java && java-pkg-opt-2_pkg_setup
+ use python && python-single-r1_pkg_setup
+ use web && webapp_pkg_setup
+}
+
+# Note: The following libraries are marked as internal by kitware
+# and can currently not unbundled:
+# diy2, exodusII, fides, h5part, kissfft, loguru, verdict, vpic,
+# vtkm, xdmf{2,3}, zfp
+# TODO: exprtk, ioss
+# Note: As of v9.2.2 we no longer drop bundled libraries, when using system
+# libraries. This just saves a little space. CMake logic of VTK on ThirdParty
+# libraries avoids automagic builds, so deletion is not needed to catch these.
+src_prepare() {
+ if use doc; then
+ einfo "Removing .md5 files from documents."
+ rm -f "${WORKDIR}"/html/*.md5 || die "Failed to remove superfluous hashes"
+ sed -e "s|\${VTK_BINARY_DIR}/Utilities/Doxygen/doc|${WORKDIR}|" \
+ -i Utilities/Doxygen/CMakeLists.txt || die
+ fi
+
+ if use opencascade && has_version ">=sci-libs/opencascade-7.8.0"; then
+ eapply "${FILESDIR}/vtk-9.3.0-opencascade-7.8.0.patch"
+ fi
+
+ cmake_src_prepare
+
+ if use test; then
+ ebegin "Copying data files to ${BUILD_DIR}"
+ mkdir -p "${BUILD_DIR}/ExternalData" || die
+ pushd "${BUILD_DIR}/ExternalData" >/dev/null || die
+ ln -sf "../../${S}/.ExternalData/README.rst" . || die
+ ln -sf "../../${S}/.ExternalData/SHA512" . || die
+ popd >/dev/null || die
+ eend "$?"
+ fi
+}
+
+# TODO: check these and consider to use them
+# VTK_BUILD_SCALED_SOA_ARRAYS
+# VTK_DISPATCH_{AOS,SOA,TYPED}_ARRAYS
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_DISABLE_FIND_PACKAGE_Git="yes"
+ -DVTK_GIT_DESCRIBE="v${PV}"
+ -DVTK_VERSION_FULL="${PV}"
+ -DGIT_EXECUTABLE="${T}/notgit"
+
+ -DCMAKE_POLICY_DEFAULT_CMP0167="OLD"
+ -DCMAKE_POLICY_DEFAULT_CMP0174="OLD"
+ -DCMAKE_POLICY_DEFAULT_CMP0177="OLD"
+
+ -DCMAKE_INSTALL_LICENSEDIR="share/${PN}/licenses"
+ -DVTK_IGNORE_CMAKE_CXX11_CHECKS=yes
+
+ -DVTK_ANDROID_BUILD=OFF
+ -DVTK_IOS_BUILD=OFF
+
+ -DVTK_BUILD_ALL_MODULES="$(usex all-modules)"
+ # we use the pre-built documentation and install these with USE=doc
+ -DVTK_BUILD_DOCUMENTATION=OFF
+ -DVTK_BUILD_EXAMPLES="$(usex examples)"
+
+ # no package in the tree: https://github.com/LLNL/conduit
+ -DVTK_ENABLE_CATALYST=OFF
+ -DVTK_ENABLE_KITS=OFF
+ -DVTK_ENABLE_LOGGING="$(usex logging)"
+ # defaults to ON: USE flag for this?
+ -DVTK_ENABLE_REMOTE_MODULES=OFF
+
+ # disable fetching files during build
+ -DVTK_FORBID_DOWNLOADS="yes"
+
+ -DVTK_GROUP_ENABLE_Imaging="$(usex imaging "YES" "NO")"
+ -DVTK_GROUP_ENABLE_Rendering="$(usex rendering "YES" "NO")"
+ -DVTK_GROUP_ENABLE_StandAlone="$(usex minimal "NO" "YES")"
+ -DVTK_GROUP_ENABLE_Views="$(usex views "YES" "NO")"
+ -DVTK_GROUP_ENABLE_Web="$(usex web "YES" "NO")"
+
+ -DVTK_INSTALL_SDK=ON
+
+ -DVTK_MODULE_ENABLE_VTK_IOCGNSReader="$(usex cgns "YES" "NO")"
+ -DVTK_MODULE_ENABLE_VTK_IOExportPDF="$(usex minimal "NO" "YES")"
+ -DVTK_MODULE_ENABLE_VTK_IOLAS="$(usex las "YES" "NO")"
+ -DVTK_MODULE_ENABLE_VTK_IONetCDF="$(usex netcdf "YES" "NO")"
+ -DVTK_MODULE_ENABLE_VTK_IOOCCT="$(usex opencascade "YES" "NO")"
+ -DVTK_MODULE_ENABLE_VTK_IOOggTheora="$(usex minimal "NO" "YES")"
+ -DVTK_MODULE_ENABLE_VTK_IOOpenVDB="$(usex openvdb "YES" "NO")"
+ -DVTK_MODULE_ENABLE_VTK_IOSQL="YES" # sqlite
+ -DVTK_MODULE_ENABLE_VTK_IOPDAL="$(usex pdal "YES" "NO")"
+ -DVTK_MODULE_ENABLE_VTK_IOXML="YES"
+ -DVTK_MODULE_ENABLE_VTK_IOXMLParser="YES"
+ -DVTK_MODULE_ENABLE_VTK_RenderingFreeType="$(usex truetype "YES" "NO")"
+ -DVTK_MODULE_ENABLE_VTK_RenderingFreeTypeFontConfig="$(usex truetype "YES" "NO")"
+ -DVTK_MODULE_ENABLE_VTK_cgns="$(usex cgns "YES" "NO")"
+ -DVTK_MODULE_ENABLE_VTK_doubleconversion="YES"
+ -DVTK_MODULE_ENABLE_VTK_eigen="YES"
+ -DVTK_MODULE_ENABLE_VTK_expat="YES"
+ -DVTK_MODULE_ENABLE_VTK_fmt="YES"
+ -DVTK_MODULE_ENABLE_VTK_freetype="$(usex truetype "YES" "NO")"
+ -DVTK_MODULE_ENABLE_VTK_hdf5="YES"
+ -DVTK_MODULE_ENABLE_VTK_jpeg="YES"
+ -DVTK_MODULE_ENABLE_VTK_jsoncpp="YES"
+ -DVTK_MODULE_ENABLE_VTK_libharu="$(usex minimal "NO" "YES")"
+ -DVTK_MODULE_ENABLE_VTK_libproj="YES"
+ -DVTK_MODULE_ENABLE_VTK_libxml2="YES"
+ -DVTK_MODULE_ENABLE_VTK_lz4="YES"
+ -DVTK_MODULE_ENABLE_VTK_lzma="YES"
+ -DVTK_MODULE_ENABLE_VTK_netcdf="$(usex netcdf "YES" "NO")"
+ -DVTK_MODULE_ENABLE_VTK_nlohmannjson="YES"
+ -DVTK_MODULE_ENABLE_VTK_ogg="YES"
+ -DVTK_MODULE_ENABLE_VTK_pegtl="YES"
+ -DVTK_MODULE_ENABLE_VTK_png="YES"
+ -DVTK_MODULE_ENABLE_VTK_pugixml="YES"
+ -DVTK_MODULE_ENABLE_VTK_sqlite="YES"
+ -DVTK_MODULE_ENABLE_VTK_theora="$(usex minimal "NO" "YES")"
+ -DVTK_MODULE_ENABLE_VTK_tiff="YES"
+ -DVTK_MODULE_ENABLE_VTK_utf8="YES"
+ -DVTK_MODULE_ENABLE_VTK_vtkvtkm="$(usex vtkm "YES" "NO")"
+ -DVTK_MODULE_ENABLE_VTK_zlib="YES"
+
+ # not packaged in Gentoo
+ -DVTK_MODULE_USE_EXTERNAL_VTK_fast_float=OFF
+ -DVTK_MODULE_USE_EXTERNAL_VTK_exprtk=OFF
+ -DVTK_MODULE_USE_EXTERNAL_VTK_ioss=OFF
+ -DVTK_MODULE_USE_EXTERNAL_VTK_verdict=OFF
+
+ -DVTK_RELOCATABLE_INSTALL=ON
+ -DVTK_UNIFIED_INSTALL_TREE=ON
+
+ -DVTK_SMP_ENABLE_OPENMP="$(usex openmp)"
+ -DVTK_SMP_ENABLE_STDTHREAD="$(usex threads)"
+ -DVTK_SMP_ENABLE_TBB="$(usex tbb)"
+
+ -DVTK_USE_CUDA="$(usex cuda)"
+ # use system libraries where possible
+ -DVTK_USE_EXTERNAL=ON
+ # avoid finding package from either ::guru or ::sci
+ -DVTK_USE_MEMKIND=OFF
+ -DVTK_USE_MPI="$(usex mpi)"
+ -DVTK_USE_TK="$(usex tk)"
+ -DVTK_USE_X=ON
+
+ -DVTK_WHEEL_BUILD=OFF
+
+ -DVTK_WRAP_JAVA="$(usex java)"
+ -DVTK_WRAP_PYTHON="$(usex python)"
+ )
+
+ if use all-modules; then
+ mycmakeargs+=(
+ # no package in ::gentoo
+ -DVTK_ENABLE_OSPRAY=OFF
+ # TODO: some of these are tied to the VTK_ENABLE_REMOTE_MODULES
+ # option. Check whether we can download them clean and enable
+ # them.
+ -DVTK_MODULE_ENABLE_VTK_DomainsMicroscopy="NO"
+ -DVTK_MODULE_ENABLE_VTK_fides="NO"
+ -DVTK_MODULE_ENABLE_VTK_FiltersOpenTURNS="NO"
+ -DVTK_MODULE_ENABLE_VTK_IOADIOS2="NO"
+ -DVTK_MODULE_ENABLE_VTK_IOFides="NO"
+
+ -DVTK_MODULE_ENABLE_VTK_RenderingOpenVR="NO"
+ -DVTK_MODULE_ENABLE_VTK_RenderingOpenXR="NO"
+
+ -DVTK_MODULE_USE_EXTERNAL_VTK_cli11="YES"
+ )
+ fi
+
+ if use boost; then
+ mycmakeargs+=(
+ -DVTK_MODULE_ENABLE_VTK_InfovisBoost="YES"
+ -DVTK_MODULE_ENABLE_VTK_InfovisBoostGraphAlgorithms="YES"
+ )
+ fi
+
+ if use cuda; then
+ cuda_add_sandbox -w
+ addwrite "/proc/self/task"
+
+ if ! test -w /dev/nvidiactl; then
+ # eqawarn "Can't access the GPU at /dev/nvidiactl."
+ # eqawarn "User $(id -nu) is not in the group \"video\"."
+ if [[ -z "${CUDA_GENERATION}" ]] && [[ -z "${CUDA_ARCH_BIN}" ]]; then
+ # build all targets
+ mycmakeargs+=(
+ -DCUDA_GENERATION=""
+ )
+ fi
+ else
+ local -x CUDAARCHS
+ : "${CUDAARCHS:="$(cuda_get_host_native_arch)"}"
+ fi
+
+ # set NVCC_CCBIN
+ local -x CUDAHOSTCXX CUDAHOSTLD
+ CUDAHOSTCXX="$(cuda_get_host_compiler)"
+ CUDAHOSTLD="$(tc-getCXX)"
+ export NVCC_CCBIN="${CUDAHOSTCXX}"
+
+ if tc-is-gcc; then
+ # Filter out IMPLICIT_LINK_DIRECTORIES picked up by CMAKE_DETERMINE_COMPILER_ABI(CUDA)
+ # See /usr/share/cmake/Help/variable/CMAKE_LANG_IMPLICIT_LINK_DIRECTORIES.rst
+ CMAKE_CUDA_IMPLICIT_LINK_DIRECTORIES_EXCLUDE=$(
+ "${CUDAHOSTLD}" -E -v - <<<"int main(){}" |& \
+ grep LIBRARY_PATH | cut -d '=' -f 2 | cut -d ':' -f 1
+ )
+ fi
+ fi
+
+ if use debug; then
+ mycmakeargs+=(
+ -DVTK_DEBUG_LEAKS=ON
+ -DVTK_DEBUG_MODULE=ON
+ -DVTK_DEBUG_MODULE_ALL=ON
+ -DVTK_ENABLE_SANITIZER=ON
+ -DVTK_EXTRA_COMPILER_WARNINGS=ON
+ -DVTK_WARN_ON_DISPATCH_FAILURE=ON
+ )
+ if use rendering; then
+ mycmakeargs+=( -DVTK_OPENGL_ENABLE_STREAM_ANNOTATIONS=ON )
+ fi
+ else
+ : "${CMAKE_BUILD_TYPE:="Release"}"
+ export CMAKE_BUILD_TYPE
+ fi
+
+ if use examples || use test; then
+ mycmakeargs+=( -DVTK_USE_LARGE_DATA=ON )
+ fi
+
+ if use ffmpeg; then
+ mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_IOFFMPEG="YES" )
+ if use rendering; then
+ mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_RenderingFFMPEGOpenGL2="YES" )
+ fi
+ fi
+
+ if use gdal; then
+ mycmakeargs+=(
+ -DVTK_MODULE_ENABLE_VTK_GeovisGDAL="YES"
+ -DVTK_MODULE_ENABLE_VTK_IOGDAL="YES"
+ -DVTK_MODULE_ENABLE_VTK_IOGeoJSON="YES"
+ )
+ fi
+
+ if use imaging; then
+ mycmakeargs+=(
+ -DVTK_MODULE_ENABLE_VTK_ImagingColor="YES"
+ -DVTK_MODULE_ENABLE_VTK_ImagingCore="YES"
+ -DVTK_MODULE_ENABLE_VTK_ImagingFourier="YES"
+ -DVTK_MODULE_ENABLE_VTK_ImagingGeneral="YES"
+ -DVTK_MODULE_ENABLE_VTK_ImagingHybrid="YES"
+ -DVTK_MODULE_ENABLE_VTK_ImagingMath="YES"
+ -DVTK_MODULE_ENABLE_VTK_ImagingMorphological="YES"
+ -DVTK_MODULE_ENABLE_VTK_ImagingOpenGL2="YES"
+ -DVTK_MODULE_ENABLE_VTK_ImagingSources="YES"
+ -DVTK_MODULE_ENABLE_VTK_ImagingStatistics="YES"
+ -DVTK_MODULE_ENABLE_VTK_ImagingStencil="YES"
+ )
+ use rendering && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_RenderingImage="YES" )
+ fi
+
+ if ! use java && ! use python; then
+ # defaults to ON
+ mycmakeargs+=( -DVTK_ENABLE_WRAPPING=OFF )
+ fi
+
+ if use java; then
+ mycmakeargs+=(
+ -DCMAKE_INSTALL_JARDIR="share/${PN}"
+ -DVTK_ENABLE_WRAPPING=ON
+ -DVTK_MODULE_ENABLE_VTK_Java="YES"
+ -DVTK_JAVA_SOURCE_VERSION="$(java-config -g PROVIDES_VERSION)"
+ -DVTK_JAVA_TARGET_VERSION="$(java-config -g PROVIDES_VERSION)"
+ )
+ fi
+
+ if use minimal; then
+ mycmakeargs+=(
+ -DVTK_MODULE_ENABLE_VTK_CommonComputationalGeometry="YES"
+ -DVTK_MODULE_ENABLE_VTK_CommonExecutionModel="YES"
+ -DVTK_MODULE_ENABLE_VTK_CommonMath="YES"
+ -DVTK_MODULE_ENABLE_VTK_CommonMisc="YES"
+ -DVTK_MODULE_ENABLE_VTK_CommonSystem="YES"
+ -DVTK_MODULE_ENABLE_VTK_CommonTransforms="YES"
+
+ -DVTK_MODULE_ENABLE_VTK_FiltersCore="YES"
+ -DVTK_MODULE_ENABLE_VTK_FiltersExtraction="YES"
+ -DVTK_MODULE_ENABLE_VTK_FiltersGeneral="YES"
+ -DVTK_MODULE_ENABLE_VTK_FiltersGeneric="YES"
+ -DVTK_MODULE_ENABLE_VTK_FiltersGeometry="YES"
+ -DVTK_MODULE_ENABLE_VTK_FiltersHybrid="NO"
+ -DVTK_MODULE_ENABLE_VTK_FiltersHyperTree="YES"
+ -DVTK_MODULE_ENABLE_VTK_FiltersSources="YES"
+ -DVTK_MODULE_ENABLE_VTK_FiltersStatistics="YES"
+ -DVTK_MODULE_ENABLE_VTK_FiltersVerdict="YES"
+
+ -DVTK_MODULE_ENABLE_VTK_IOCore="YES"
+ -DVTK_MODULE_ENABLE_VTK_IOGeometry="NO"
+ -DVTK_MODULE_ENABLE_VTK_IOLegacy="YES"
+
+ -DVTK_MODULE_ENABLE_VTK_ParallelCore="YES"
+ -DVTK_MODULE_ENABLE_VTK_ParallelDIY="YES"
+ )
+ fi
+
+ if use mpi; then
+ mycmakeargs+=(
+ -DVTK_GROUP_ENABLE_MPI="YES"
+ -DVTK_MODULE_ENABLE_VTK_IOH5part="YES"
+ -DVTK_MODULE_ENABLE_VTK_IOMPIParallel="YES"
+ -DVTK_MODULE_ENABLE_VTK_IOParallel="YES"
+ -DVTK_MODULE_ENABLE_VTK_IOParallelNetCDF="$(usex netcdf "YES" "NO")"
+ -DVTK_MODULE_ENABLE_VTK_IOParallelXML="YES"
+ -DVTK_MODULE_ENABLE_VTK_ParallelMPI="YES"
+ -DVTK_MODULE_ENABLE_VTK_h5part="YES"
+ -DVTK_MODULE_USE_EXTERNAL_VTK_verdict=OFF
+ )
+ use imaging && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_IOMPIImage="YES" )
+ use python && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_ParallelMPI4Py="YES" )
+ if use rendering; then
+ mycmakeargs+=(
+ -DVTK_MODULE_ENABLE_VTK_RenderingParallel="YES"
+ -DVTK_MODULE_ENABLE_VTK_RenderingParallelLIC="YES"
+ )
+ fi
+ use vtkm && mycmakeargs+=( -DVTKm_ENABLE_MPI=ON )
+ else
+ mycmakeargs+=( -DVTK_GROUP_ENABLE_MPI="NO" )
+ fi
+
+ use mysql && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_IOMySQL="YES" )
+ use odbc && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_IOODBC="YES" )
+ use openvdb && mycmakeargs+=( -DOpenVDB_CMAKE_PATH="${ESYSROOT}/usr/$(get_libdir)/cmake/OpenVDB" )
+ use postgres && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_IOPostgreSQL="YES" )
+
+ if use python; then
+ mycmakeargs+=(
+ -DPython3_EXECUTABLE="${PYTHON}"
+ -DVTK_ENABLE_WRAPPING=ON
+ -DVTK_MODULE_ENABLE_VTK_Python="YES"
+ -DVTK_MODULE_ENABLE_VTK_PythonInterpreter="YES"
+ -DVTK_MODULE_ENABLE_VTK_WrappingPythonCore="YES"
+ -DVTK_PYTHON_OPTIONAL_LINK="OFF"
+ -DVTK_PYTHON_SITE_PACKAGES_SUFFIX="lib/${EPYTHON}/site-packages"
+ )
+ use rendering && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_PythonContext2D="YES" )
+ fi
+
+ if use qt6; then
+ mycmakeargs+=(
+ -DCMAKE_INSTALL_QMLDIR="${EPFREIX}/usr/$(get_libdir)/qt6/qml"
+ -DVTK_QT_VERSION="6"
+ )
+ if has_version "dev-qt/qtbase:6[gles2-only]" || use gles2-only; then
+ mycmakeargs+=(
+ # Force using EGL & GLES
+ -DVTK_OPENGL_HAS_EGL=ON
+ -DVTK_OPENGL_USE_GLES=ON
+ )
+ fi
+ else
+ mycmakeargs+=( -DVTK_GROUP_ENABLE_Qt="NO" )
+ fi
+
+ if use qt6; then
+ mycmakeargs+=(
+ -DVTK_GROUP_ENABLE_Qt:STRING="YES"
+ -DVTK_MODULE_ENABLE_VTK_GUISupportQt="YES"
+ -DVTK_MODULE_ENABLE_VTK_GUISupportQtQuick="YES"
+ )
+ if use mysql || use postgres; then
+ mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_GUISupportQtSQL="YES" )
+ fi
+ if use rendering; then
+ mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_RenderingQt="YES" )
+ fi
+ if use views; then
+ mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_ViewsQt="YES" )
+ fi
+ fi
+
+ if use rendering; then
+ mycmakeargs+=(
+ -DVTK_ENABLE_OSPRAY=OFF
+
+ -DVTK_MODULE_ENABLE_VTK_IOExportGL2PS="YES"
+ -DVTK_MODULE_ENABLE_VTK_RenderingAnnotation="YES"
+ -DVTK_MODULE_ENABLE_VTK_RenderingContext2D="YES"
+ -DVTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2="YES"
+ -DVTK_MODULE_ENABLE_VTK_RenderingCore="YES"
+ -DVTK_MODULE_ENABLE_VTK_RenderingExternal="YES"
+ -DVTK_MODULE_ENABLE_VTK_RenderingGL2PSOpenGL2="YES"
+ -DVTK_MODULE_ENABLE_VTK_RenderingHyperTreeGrid="YES"
+ -DVTK_MODULE_ENABLE_VTK_RenderingLICOpenGL2="YES"
+ -DVTK_MODULE_ENABLE_VTK_RenderingLOD="YES"
+ -DVTK_MODULE_ENABLE_VTK_RenderingLabel="YES"
+ -DVTK_MODULE_ENABLE_VTK_RenderingOpenGL2="YES"
+ -DVTK_MODULE_ENABLE_VTK_RenderingRayTracing="YES"
+ -DVTK_MODULE_ENABLE_VTK_RenderingSceneGraph="YES"
+ -DVTK_MODULE_ENABLE_VTK_RenderingUI="YES"
+ -DVTK_MODULE_ENABLE_VTK_RenderingVolume="YES"
+ -DVTK_MODULE_ENABLE_VTK_RenderingVolumeAMR="YES"
+ -DVTK_MODULE_ENABLE_VTK_RenderingVolumeOpenGL2="YES"
+ -DVTK_MODULE_ENABLE_VTK_RenderingZSpace="NO"
+ -DVTK_MODULE_ENABLE_VTK_gl2ps="YES"
+ -DVTK_MODULE_ENABLE_VTK_glew="YES"
+ -DVTK_MODULE_ENABLE_VTK_opengl="YES"
+
+ -DVTK_USE_SDL2="$(usex sdl "YES" "NO")"
+ )
+ use python && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_RenderingMatplotlib="YES" )
+ use tk && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_RenderingTk="YES" )
+ use views && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_ViewsContext2D="YES" )
+ use web && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_RenderingVtkJS="YES" )
+ fi
+
+ # Testing has been changed in 9.2.5: it is now allowed without
+ # requiring to download, if the data files are available locally!
+ if use test; then
+ mycmakeargs+=(
+ -DVTK_BUILD_TESTING=ON
+ # disable fetching data files for the default 'all' target
+ -DVTK_DATA_EXCLUDE_FROM_ALL=OFF
+
+ # requested even if all use flags are off
+ -DVTK_MODULE_ENABLE_VTK_octree="YES"
+ -DVTK_MODULE_ENABLE_VTK_ViewsCore="YES"
+
+ -DVTK_MODULE_USE_EXTERNAL_VTK_cli11="YES"
+ )
+ else
+ mycmakeargs+=( -DVTK_BUILD_TESTING=OFF )
+ fi
+
+ # FIXME: upstream provides 4 threading models, as of 9.1.0. These are
+ # sequential, stdthread, openmp and tbb. AFAICS all of them can be
+ # enabled at the same time. Sequential and STDThread are enabled by
+ # default. The default selected type for the build is sequential.
+ # Assuming sequential < STDThread < openmp < tbb wrt speed, although
+ # this is dependent on the actual scenario where threading is used.
+ if use tbb; then
+ mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE="TBB" )
+ elif use openmp; then # FIXME doesn't work with clang
+ mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE="OpenMP" )
+ elif use threads; then
+ mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE="STDThread" )
+ else
+ mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE="Sequential" )
+ fi
+
+ use tk && mycmakeargs+=( -DVTK_GROUP_ENABLE_Tk="YES" )
+
+ if use views; then
+ mycmakeargs+=(
+ -DVTK_MODULE_ENABLE_VTK_ViewsCore="YES"
+ -DVTK_MODULE_ENABLE_VTK_ViewsInfovis="YES"
+ )
+ fi
+
+ if use vtkm; then
+ mycmakeargs+=(
+ -DVTK_MODULE_ENABLE_VTK_AcceleratorsVTKmCore="YES"
+ -DVTK_MODULE_ENABLE_VTK_AcceleratorsVTKmDataModel="YES"
+ -DVTK_MODULE_ENABLE_VTK_AcceleratorsVTKmFilters="YES"
+ -DVTKm_ENABLE_CPACK="no" # "Enable CPack packaging of VTKm" ON
+ -DVTKm_ENABLE_CUDA="$(usex cuda)" # "Enable Cuda support" OFF
+ -DVTKm_ENABLE_DOCUMENTATION="$(usex doc)" # "Build Doxygen documentation" OFF
+ -DVTKm_ENABLE_EXAMPLES="$(usex examples)" # "Build examples" OFF
+ -DVTKm_ENABLE_HDF5_IO="yes" # "Enable HDF5 support" OFF
+ -DVTKm_ENABLE_LOGGING="$(usex logging)" # "Enable VTKm Logging" ON
+ -DVTKm_ENABLE_MPI="$(usex mpi)" # "Enable MPI support" OFF
+ -DVTKm_ENABLE_OPENMP="$(usex openmp)" # "Enable OpenMP support" OFF
+ -DVTKm_ENABLE_RENDERING="$(usex rendering)" # "Enable rendering library" ON
+ -DVTKm_ENABLE_TBB="$(usex tbb)" # "Enable TBB support" OFF
+ -DVTKm_ENABLE_TESTING="$(usex test)" # "Enable VTKm Testing" ON
+ -DVTKm_ENABLE_TUTORIALS="no" # "Build tutorials" OFF
+ -DVTKm_NO_ASSERT_CUDA="yes" # "Disable assertions for CUDA devices." ON
+ -DVTKm_NO_ASSERT_HIP="yes" # "Disable assertions for HIP devices." ON
+ -DVTKm_NO_ASSERT="no" # "Disable assertions in debugging builds." OFF
+ -DVTKm_NO_INSTALL_README_LICENSE="ON" # bug #793221 # "disable the installation of README and LICENSE files" OFF
+ -DVTKm_SKIP_LIBRARY_VERSIONS="no" # "Skip versioning VTK-m libraries" OFF
+ -DVTKm_Vectorization="none" # only sets compiler flags
+ )
+ fi
+
+ if use web; then
+ mycmakeargs+=(
+ -DVTK_MODULE_ENABLE_VTK_WebCore="YES"
+ -DVTK_MODULE_ENABLE_VTK_WebGLExporter="YES"
+ )
+ use python && mycmakeargs+=( -DVTK_MODULE_ENABLE_VTK_WebPython="YES" )
+ fi
+
+ cmake_src_configure
+}
+
+src_compile() {
+ use test && cmake_build VTKData
+ cmake_src_compile
+}
+
+src_test() {
+ vtk_add_sandbox
+
+ addwrite /dev/fuse
+
+ # The build system prepends /usr/$(get_libdir) to the RUNPATH instead of appending.
+ # Set LD_LIBRARY_PATH to use the just build libraries.
+ local -x LD_LIBRARY_PATH="${BUILD_DIR}/$(get_libdir)${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
+
+ # export VTK_SMP_BACKEND_IN_USE="STDThread"
+
+ local -x -a CMAKE_SKIP_TESTS
+
+ if [[ "${CMAKE_RUN_OPTIONAL_TESTS:=yes}" != "yes" ]]; then
+ local -a REALLY_BAD_TESTS BAD_TESTS RANDOM_FAIL_TESTS
+ # don't work at all
+ REALLY_BAD_TESTS=(
+ # File missing? ExternalData/Testing/Data/MotionFX/position_file/Sprocket_New.prn
+ "VTK::IOMotionFXCxx-TestMotionFXCFGReaderPositionFile$" # (Subprocess aborted)
+
+ "VTK::InteractionWidgetsCxx-TestBrokenLineWidget$"
+ "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMClipWithImplicitFunction$" # (NUMERICAL)
+ "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMHistogram$" # (Failed)
+ "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMMarchingCubes$" # (Failed)
+ "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMMarchingCubes2$" # (Failed)
+ "VTK::ChartsCoreCxx-TestChartDoubleColors$" # (Failed)
+ "VTK::ChartsCoreCxx-TestChartDoubleColorsOpaque$" # (Failed)
+ "VTK::ChartsCoreCxx-TestParallelCoordinatesDouble$" # (Failed)
+ "VTK::CommonDataModelCxx-TestHyperTreeGridGeometricLocator$" # (Failed)
+ "VTK::CommonDataModelCxx-TestTriangle$" # (Failed)
+ "VTK::CommonDataModelCxx-UnitTestCells$" # (Failed)
+ "VTK::FiltersCoreCxx-TestDecimatePolylineFilter$" # (Failed)
+ "VTK::FiltersCoreCxx-TestImplicitPolyDataDistanceCube$" # (Failed)
+ "VTK::FiltersCorePython-TestSphereTreeFilter$" # (Failed)
+ "VTK::FiltersFlowPathsCxx-TestEvenlySpacedStreamlines2D$" # (Failed)
+ "VTK::FiltersGeneralCxx-TestContourTriangulatorHoles$" # (Failed)
+ "VTK::FiltersParallelCxx-TestAngularPeriodicFilter$" # (Failed)
+ "VTK::FiltersParallelDIY2Cxx-MPI-TestProbeLineFilter$" # (Failed)
+ "VTK::FiltersSelectionCxx-TestLinearSelector3D$" # (Failed)
+ "VTK::GUISupportQtQuickCxx-TestQQuickVTKRenderItem$" # (Failed)
+ "VTK::GUISupportQtQuickCxx-TestQQuickVTKRenderItemWidget$" # (Failed)
+ "VTK::GUISupportQtQuickCxx-TestQQuickVTKRenderWindow$" # (Failed)
+ "VTK::RenderingExternalCxx-TestGLUTRenderWindow$" # (Failed)
+ "VTK::RenderingFreeTypeFontConfigCxx-TestSystemFontRendering$" # (Failed)
+ "VTK::IOExportGL2PSCxx-TestGL2PSExporterVolumeRaster" # (Failed)
+ # "VTK::IOExportGL2PSCxx-TestGL2PSExporterVolumeRaster-RasterizePNG$" # (Not Run)
+ # "VTK::IOExportGL2PSCxx-TestGL2PSExporterVolumeRaster-VerifyRasterizedPDFPNG$" # (Failed)
+ # "VTK::IOExportGL2PSCxx-TestGL2PSExporterVolumeRaster-VerifyRasterizedPNG$" # (Failed)
+ "VTK::IOExportPDFCxx-TestPDFTransformedText-VerifyRasterizedPDFPNG$" # (Failed)
+ "VTK::IOOCCTCxx-TestOCCTReader$" # (Failed)
+ "VTK::RenderingCorePython-pickImageData$" # (Failed)
+ "VTK::RenderingRayTracing-HeaderTest$" # (Failed)
+ )
+
+ # don't work in src_test but when on their own
+ BAD_TESTS=(
+ "VTK::AcceleratorsVTKmCoreCxx-TestVTKMImplicitDataArray$" # (NUMERICAL)
+ "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMCleanGrid$" # (NUMERICAL)
+ "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMClip$" # (NUMERICAL)
+ "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMExternalFaces$" # (Failed)
+ "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMExtractVOI$" # (NUMERICAL)
+ "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMLevelOfDetail$" # (NUMERICAL)
+ "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMPointElevation$" # (NUMERICAL)
+ "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMPointTransform$" # (NUMERICAL)
+ "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMPolyDataNormals$" # (NUMERICAL)
+ "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMThreshold$" # (NUMERICAL)
+ "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMThreshold2$" # (NUMERICAL)
+ "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMTriangleMeshPointNormals$" # (NUMERICAL)
+ "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMWarpScalar$" # (NUMERICAL)
+ "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMWarpVector$" # (NUMERICAL)
+ "VTK::ImagingOpenGL2Cxx-TestOpenGLImageGradient$" # (NUMERICAL)
+ "VTK::InteractionWidgetsCxx-TestResliceCursorWidget2$" # (Failed)
+ "VTK::InteractionWidgetsCxx-TestResliceCursorWidget3$" # (Failed)
+ "VTK::InteractionWidgetsPython-TestTensorWidget2$" # (Failed)
+ "VTK::RenderingCoreCxx-TestTextureRGBADepthPeeling$" # (Failed)
+ "VTK::RenderingLICOpenGL2Cxx-SurfaceLICCurvedContrastEnhancedBlended$" # (NUMERICAL)
+ "VTK::RenderingLICOpenGL2Cxx-SurfaceLICCurvedContrastEnhancedBlendedSmallGrain$" # (NUMERICAL)
+ "VTK::RenderingLICOpenGL2Cxx-SurfaceLICCurvedContrastEnhancedColorBlendedSmallGrain$" # (NUMERICAL)
+ "VTK::RenderingLICOpenGL2Cxx-SurfaceLICCurvedContrastEnhancedColorBlendedSmallGrainMask$" # (NUMERICAL)
+ "VTK::RenderingLICOpenGL2Cxx-SurfaceLICCurvedContrastEnhancedColorMappedSmallGrain$" # (NUMERICAL)
+ "VTK::RenderingLICOpenGL2Cxx-SurfaceLICCurvedContrastEnhancedColorMappedSmallGrainMask$" # (NUMERICAL)
+ "VTK::RenderingLICOpenGL2Cxx-SurfaceLICCurvedContrastEnhancedMapped$" # (NUMERICAL)
+ "VTK::RenderingLICOpenGL2Cxx-SurfaceLICCurvedContrastEnhancedMappedSmallGrain$" # (NUMERICAL)
+ "VTK::RenderingLICOpenGL2Cxx-SurfaceLICCurvedContrastEnhancedMappedSmallVectorNormalizeOff$" # (NUMERICAL)
+ "VTK::RenderingLICOpenGL2Cxx-SurfaceLICCurvedContrastEnhancedSmallGrainMask$" # (NUMERICAL)
+ "VTK::RenderingLICOpenGL2Cxx-SurfaceLICCurvedDefaults$" # (NUMERICAL)
+ "VTK::RenderingLICOpenGL2Cxx-SurfaceLICCurvedDefaultsColor$" # (NUMERICAL)
+ "VTK::RenderingLICOpenGL2Cxx-SurfaceLICCurvedEnhancedVectorNormalizeOff$" # (NUMERICAL)
+ "VTK::RenderingLICOpenGL2Cxx-SurfaceLICMultiBlockContrastEnhancedPerlin$" # (NUMERICAL)
+ "VTK::RenderingLICOpenGL2Cxx-SurfaceLICPlanarContrastEnhanced$" # (NUMERICAL)
+ "VTK::RenderingLICOpenGL2Cxx-SurfaceLICPlanarDefaults$" # (NUMERICAL)
+ "VTK::RenderingLICOpenGL2Cxx-SurfaceLICPlanarVectorNormalizeOff$" # (NUMERICAL)
+ "VTK::RenderingLICOpenGL2Cxx-SurfaceLICPlanarVectorNormalizeOffMediumGrainPerlin$" # (NUMERICAL)
+ "VTK::RenderingLICOpenGL2Cxx-SurfaceLICPlanarVectorNormalizeOffMediumGrainUniform$" # (NUMERICAL)
+ "VTK::RenderingLICOpenGL2Cxx-TestImageDataLIC2D$" # (NUMERICAL)
+ "VTK::RenderingLICOpenGL2Cxx-TestStructuredGridLIC2DXSlice$" # (NUMERICAL)
+ "VTK::RenderingLICOpenGL2Cxx-TestStructuredGridLIC2DYSlice$" # (NUMERICAL)
+ "VTK::RenderingLICOpenGL2Cxx-TestStructuredGridLIC2DZSlice$" # (NUMERICAL)
+ "VTK::RenderingMatplotlibCxx-TestContextMathTextImage$" # (NUMERICAL)
+ "VTK::RenderingMatplotlibCxx-TestIndexedLookupScalarBar$" # (NUMERICAL)
+ "VTK::RenderingMatplotlibCxx-TestMathTextActor$" # (NUMERICAL)
+ "VTK::RenderingMatplotlibCxx-TestMathTextActor3D$" # (NUMERICAL)
+ "VTK::RenderingMatplotlibCxx-TestRenderString$" # (NUMERICAL)
+ "VTK::RenderingMatplotlibCxx-TestScalarBarCombinatorics$" # (NUMERICAL)
+ "VTK::RenderingMatplotlibCxx-TestStringToPath$" # (NUMERICAL)
+ "VTK::RenderingOpenGL2Cxx-TestGlyph3DMapperPickability$" # (Failed)
+ )
+
+ RANDOM_FAIL_TESTS=(
+ "VTK::FiltersFlowPathsCxx-TestStreamSurface$"
+ "VTK::AcceleratorsVTKmFiltersCxx-TestVTKMAbort$"
+ "VTK::AcceleratorsVTKmFiltersPython-TestVTKMSlice$"
+ )
+
+ CMAKE_SKIP_TESTS+=(
+ "${REALLY_BAD_TESTS[@]}"
+ "${BAD_TESTS[@]}"
+ "${RANDOM_FAIL_TESTS[@]}"
+ )
+ fi
+
+ CMAKE_SKIP_TESTS+=(
+ # requires VTK_USE_MICROSOFT_MEDIA_FOUNDATION
+ "VTK::IOMovieCxx-Test" # Skipped
+ )
+
+ if use openmp; then
+ # TODO Times out under openmp
+ CMAKE_SKIP_TESTS+=(
+ "^VTK::CommonCoreCxx-TestSMP$"
+ )
+ fi
+
+ virtx cmake_src_test -j1
+}
+
+src_install() {
+ use web && webapp_src_preinst
+
+ # Stop web page images from being compressed
+ if use doc; then
+ HTML_DOCS=( "${WORKDIR}/html/." )
+ fi
+
+ cmake_src_install
+
+ use java && java-pkg_regjar "${ED}/usr/share/${PN}/${PN}.jar"
+
+ # install examples
+ if use examples; then
+ einfo "Installing examples"
+ mv -v {E,e}xamples || die
+ dodoc -r examples
+ docompress -x "/usr/share/doc/${PF}/examples"
+
+ einfo "Installing datafiles"
+ insinto "/usr/share/${PN}/data"
+ doins -r "${S}/.ExternalData"
+ fi
+
+ use python && python_optimize
+
+ use web && webapp_src_install
+}
+
+# webapp.eclass exports these but we want it optional #534036
+pkg_postinst() {
+ use web && webapp_pkg_postinst
+
+ if use examples; then
+ einfo "You can get more and updated examples at"
+ einfo "https://kitware.github.io/vtk-examples/site/"
+ fi
+}
+
+pkg_prerm() {
+ use web && webapp_pkg_prerm
+}