Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vtk: new recipe #24808

Open
wants to merge 196 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
196 commits
Select commit Hold shift + click to select a range
fb70bff
Package VTK, first pass.
paulharris May 13, 2022
fe8781c
Move patch code into build() step
paulharris May 13, 2022
042c29c
Exported cmake variable to help test_package link
paulharris May 13, 2022
8b0704b
Fixes to patching (not copying source)
paulharris May 13, 2022
bb7b10c
Quotes in conandata.yml
paulharris May 13, 2022
47023a5
Support old Conan CI, and more component hacks
paulharris May 14, 2022
f144726
Hack, add all lib list for one last scenario
paulharris May 14, 2022
a7efc76
Set a specific cmake version requirement
paulharris May 14, 2022
0d795f5
Fixes as suggested on GH
paulharris May 15, 2022
5846f09
Fixup freetype to work with preferconfig=true
paulharris May 17, 2022
ae2bc90
Use conan EXPAT
paulharris May 17, 2022
2463b7c
More attempts
paulharris May 17, 2022
e790e2f
Working again
paulharris May 17, 2022
5736bbd
Tweak package naming
paulharris May 17, 2022
ed92997
No longer export VTK cmake files
paulharris May 18, 2022
1d313d6
Auto-detect modules from library files. Cleaned up component list.
paulharris May 18, 2022
cfc2911
build_requires --> tool_requires
paulharris May 18, 2022
df8ed48
Trying to fix build overrides
paulharris May 18, 2022
a6f75e7
why wont it work
paulharris May 18, 2022
c8d1b95
weird...
paulharris May 18, 2022
b030ce1
fiddle
paulharris May 18, 2022
30abfa5
Tweak to test_package
paulharris May 18, 2022
b1ab6dc
More requirements. Has problem with cmake+openssl+libcurl
paulharris May 18, 2022
1a9700b
Require minimum compiler, and workaround conan dep bug
paulharris May 18, 2022
48e7168
Fixes for compiler plus HDF5 plus Theora
paulharris May 18, 2022
652550b
Try to diagnose apple-clang issue
paulharris May 18, 2022
c988f61
More dependency external support
paulharris May 19, 2022
f10193e
Minor fix, and support conan cgns
paulharris May 19, 2022
37989fc
Many more dependencies
paulharris May 19, 2022
5143099
Enabling 'build_all_modules'
paulharris May 19, 2022
9e67c04
Run build in RunEnvironment shared-build works
paulharris May 20, 2022
73f7d2c
Dependency updates
paulharris May 24, 2022
ae2b7fd
Don't set the builddirs
paulharris Jun 10, 2022
9dffcf4
Fixes for C++20
paulharris Jun 10, 2022
9c9d6b7
Don't build with xorg/system on Windows
paulharris Jun 17, 2022
7d64cec
Fixup iterator patch for the tarball
paulharris Jun 17, 2022
8c997d0
Add option to enable/disable remote modules
paulharris Jun 17, 2022
8e5f2cd
Tweak for windows
paulharris Jun 24, 2022
5dac77a
Implemented automatic scanning of modules.json
paulharris Jun 24, 2022
fcdd546
Add a mini-conan-specific component to avoid stdout spam
paulharris Jun 24, 2022
1b73757
Working on using vtk module file
paulharris Jun 24, 2022
da68a3c
Fixes for windows module approach, use kissfft:datatype=double
paulharris Jun 28, 2022
f077c9d
Bump dep versions
paulharris Jul 8, 2022
cad2096
Attempted to set resdirs, i have no idea
paulharris Jul 9, 2022
927e62a
More conan fixes
paulharris Oct 25, 2022
9abc04f
Include private internal deps in component requires
paulharris Nov 2, 2022
9167cf8
vtk - ensure it links to QtOpenGL when required
paulharris Sep 9, 2022
adbee43
vtk - fixes for copying modules.json into the right spot
paulharris Sep 9, 2022
15d82d9
Use external libharu
paulharris Nov 8, 2022
18e9843
Upgrade for conan 1.53
paulharris Nov 8, 2022
5d89996
Cleanup, and add 9.2.2
paulharris Nov 8, 2022
960fd5a
Fixes for building vtk 9.2.2
paulharris Nov 8, 2022
348ff63
Fix source get() and fix bug testing if group/modules are enabled
paulharris Dec 1, 2022
c861505
python fixes
paulharris Dec 1, 2022
35c9f66
Allow choice between libjpeg and libjpeg-turbo
paulharris Dec 16, 2022
8706784
Thanks @EricAtORS - VTK can only compile with the pugixml option wcha…
paulharris Dec 16, 2022
db72cea
Fix problem when QT is not enabled
paulharris Dec 16, 2022
7ca67a9
Added small comment
paulharris Dec 16, 2022
24fa4fd
Support building for a specific git commit or branch or non-version tag
paulharris Dec 16, 2022
ba120a7
Add example git-commit version in config.yml
paulharris Dec 16, 2022
0baf37b
Bump dependencies
paulharris Dec 16, 2022
fad542f
in progress
paulharris Dec 16, 2022
1b5e740
Cleaned up a lot of the old stuff in recipe
paulharris Dec 16, 2022
f79656a
Fixes from @EricAtORS, especially for python-wrap
paulharris Feb 2, 2023
0e098e7
Third-party libs: don't patch VTK, instead use CMakeDeps set_property()
paulharris Feb 3, 2023
17ae679
Check IOExport is built with wrap_python - EricAtORS says required.
paulharris Feb 3, 2023
33312ef
Fixup NetCDF, VTK needs a CMake definition.
paulharris Feb 3, 2023
3dca0f0
Fixup for C++17/20
paulharris Feb 3, 2023
345c39a
Drop vtk 9.1.0
paulharris Feb 3, 2023
7ddaf3b
Bump dependency for sqlite3
paulharris Feb 3, 2023
4626241
Check kissfft:datatype=double in validate
paulharris Feb 3, 2023
d7e5251
Override libcurl version requirement, for CCI build for now
paulharris Feb 3, 2023
c264872
Fixup kissfft configuration
paulharris Feb 3, 2023
6f93992
Remove require-override
paulharris Feb 3, 2023
7d14a90
Fix linter
paulharris Feb 3, 2023
eb26446
Add version 9.2.5
paulharris Feb 4, 2023
6eb2afe
Add sqlite3 to build_requirements
paulharris Feb 9, 2023
88713cd
Declare both libs and kits as components. Extra recipe debugging.
paulharris Feb 11, 2023
28fb0af
Removed 9.2.2, added 9.2.6. Added and fixed patches.
paulharris Mar 22, 2023
5891da7
Added ALL currently available modules to recipe with a loop
paulharris Mar 22, 2023
37dc963
Support VTK's autoinit with a different approach
paulharris Mar 22, 2023
f195351
Add patch for python wrapping
paulharris Mar 22, 2023
d838999
Dropped version 9.2.5
paulharris Mar 22, 2023
7786c15
Backported patch for vtkCGNSReader.cxx
paulharris Mar 22, 2023
dc6236b
Update conan dependency versions
paulharris Apr 5, 2023
a08b82e
Downgrade deps to help build on C3I
paulharris Apr 6, 2023
5e9d0ea
Another attempt to get it to build on C3I
paulharris Apr 6, 2023
8d55ef1
Give up, just ask for latest dependencies
paulharris Apr 6, 2023
ba1fd24
Split some of the code out of package_info for generating a header.
paulharris May 27, 2023
47d67f7
temp fix for vtk to find shared library
EricAtORS Apr 4, 2023
2b92002
Fixup shared support for glew, freetype, jsoncpp, lzma
paulharris May 31, 2023
11d6153
Fix for lzma shared/static detection (use xz_utils)
paulharris Jun 7, 2023
e3ed9fd
Bump deps
paulharris Jun 7, 2023
792f571
Unbump deps
paulharris Jun 8, 2023
4a3daac
Bugfix for shared/static dependency detection
paulharris Jun 9, 2023
21e093c
Attempt to resolve openssl version conflicts with my dependencies
paulharris Jun 9, 2023
39cf9ca
Try a different 'requires' for openssl
paulharris Jun 9, 2023
bba426e
Disable OpenVR dependency until its recipe is ready for conan v2
paulharris Jun 9, 2023
be938f2
Extra work to avoid requiring OpenVR
paulharris Jun 9, 2023
690b7dd
Add patch for future upstreamed patch
paulharris Jun 21, 2023
d3f0afb
Compile fix for GCC13
paulharris Sep 1, 2023
11f63d6
Add patches for vtkBoxClipDataSet, vtkCleanPolyData (pointmerging) an…
paulharris Oct 25, 2023
185c6b4
Added patch for vtkHardwarePicker. Renamed some patches.
paulharris Nov 30, 2023
dfdaf41
Requires to use ranges
paulharris Feb 14, 2024
39b46e0
Tweaking recipe
paulharris Feb 14, 2024
467a229
Use tarball source
paulharris Feb 16, 2024
683a8db
Add external script for finding modules in src
paulharris Feb 16, 2024
fc9025d
Force dependency versions to avoid conflict with
paulharris Feb 16, 2024
141d007
Tweak libxml2 version
paulharris Feb 16, 2024
e359718
Add comments, fix expat dependency conflict
paulharris Feb 16, 2024
cba2e93
Use conan's kissfft rather than internal package
paulharris Feb 16, 2024
a3b58ef
And add the patch
paulharris Feb 16, 2024
049a2e5
Disable group_enable_Web (default) until wrapping is enabled by default
paulharris Feb 16, 2024
961eec2
Also disable QtQuick support as QT's default package isn't enabled
paulharris Feb 16, 2024
6d16dce
VTK recipe is now driven by json file with all the dependency info
paulharris Feb 26, 2024
939e9bf
Rearranged methods in the assumed order that they would be called
paulharris Feb 26, 2024
572f2ac
Cleaned up the option-resolution system
paulharris Feb 26, 2024
deb58c8
Remove some debugging
paulharris Feb 26, 2024
2213892
Add vtkHull patch
paulharris Mar 6, 2024
0a12328
Add patch to specify OutputPrecision for vtkQuadricDecimation
paulharris Mar 7, 2024
02d9380
Consumers don't use private deps. Use transitive headers+libs for con…
paulharris Mar 13, 2024
20c8e6d
Port 2 new 9.2.6 patches to 9.3.0
paulharris Mar 13, 2024
9767094
Fix comma typos
paulharris Feb 27, 2024
746cf4b
Typo
paulharris Mar 14, 2024
f90a8c4
Re-enable printouts. Fixup xorg handling for Windows.
paulharris Apr 22, 2024
6fb7846
Include private dependencies in the component requirements, for linking
paulharris May 16, 2024
0556fac
Bump some dependencies
paulharris May 17, 2024
998d6ce
More vtkQuadricDecimation fixes
paulharris May 27, 2024
00e4c09
Dropped patches and configuration for VTK 9.2.6
paulharris May 27, 2024
4d4f7d6
vtk: drop modules-9.2.6.json
valgur Jul 7, 2024
f217ef3
vtk: drop test_v1_package
valgur Jul 7, 2024
b3f908b
vtk: tidy gather_modules_from_src.py
valgur Jul 7, 2024
0b1c0ae
vtk: drop wrappers, clean up conanfile.py a bit, drop 'enable' from o…
valgur Jul 7, 2024
1a436cb
vtk: refactor conanfile.py a bit
valgur Jul 7, 2024
1e2dceb
vtk: make XOrg components more specific
valgur Jul 7, 2024
e62571d
vtk: tweak dependencies
valgur Jul 7, 2024
f4a5f82
vtk: add parsing of kits to gather_modules_from_src.py
valgur Jul 8, 2024
869998e
vtk: add --dump-options option to gather_modules_from_src.py
valgur Jul 8, 2024
5686623
vtk: bump v9.3.0 -> v9.3.1
valgur Jul 8, 2024
567bef0
vtk: update CMake vars
valgur Jul 8, 2024
665f106
vtk: add TODOs for missing dependencies
valgur Jul 8, 2024
eb660c4
vtk: include conditions info in options JSON
valgur Jul 8, 2024
5749782
vtk: fix parsing of comments
valgur Jul 30, 2024
1a3bbe0
vtk: wip
valgur Jul 31, 2024
c8c5522
vtk: wip
valgur Aug 1, 2024
2420154
vtk: add automatic component creation
valgur Aug 1, 2024
e2aa9e0
vtk: handle comments better in gather_modules_from_src.py
valgur Aug 1, 2024
e053f7b
vtk: always require core dependencies
valgur Aug 1, 2024
fc45575
vtk: improve component generation
valgur Aug 1, 2024
8509550
vtk: expose internal modules as options
valgur Aug 2, 2024
795b6c5
vtk: fix automatic component generation
valgur Aug 2, 2024
d44828c
vtk: full build
valgur Aug 2, 2024
12ac0f3
vtk: loguru cannot be unvendored
valgur Aug 2, 2024
fbbab3b
vtk: Dawn is not supported
valgur Aug 2, 2024
0cc5a68
vtk: fix Qt, libtiff, zSpace, zeromq support
valgur Aug 2, 2024
2c98e8a
vtk: export CMake vars
valgur Aug 2, 2024
4abe723
vtk: restore autoinit support
valgur Aug 2, 2024
7cce711
vtk: drop outdated readmes for now
valgur Aug 2, 2024
1e8cfc2
vtk: disable missing deps, add transitive_headers=True
valgur Aug 2, 2024
6c35615
vtk: resolve version conflicts
valgur Aug 2, 2024
9c77c55
vtk: fix missing import
valgur Aug 2, 2024
cbbef09
vtk: add some extra API options
valgur Aug 2, 2024
a235c5a
vtk: make Conan kissfft optional
valgur Aug 2, 2024
5d380c6
vtk: filter vtkbuild requires
valgur Aug 3, 2024
083f6a4
vtk: drop an unnecessary test_package CMake var
valgur Aug 3, 2024
52a4b6f
vtk: add a "poison" Conan target to prohibit overlinking
valgur Aug 3, 2024
511228b
vtk: replace self.output.debug with .info
valgur Aug 3, 2024
2a973ac
vtk: fix a small recipe bug
valgur Aug 3, 2024
e18e5bc
vtk: use "not in"
valgur Aug 3, 2024
77f7694
vtk: require Conan 2.0
valgur Aug 4, 2024
776998c
vtk: fix version conflicts
valgur Aug 4, 2024
cd986a6
vtk: handle missing binaries
valgur Aug 4, 2024
adda5f2
vtk: drop with_cli11
valgur Aug 4, 2024
cfd8822
vtk: fix some conflicts
valgur Aug 4, 2024
fd19464
vtk: allow Conan v1, but without module opts support
valgur Aug 4, 2024
fec5eb2
vtk: make dependency validation much more robust
valgur Aug 4, 2024
572b40d
vtk: add want_all_modules=True/False option
valgur Aug 4, 2024
88f2981
vtk: fix a small bug
valgur Aug 4, 2024
0fc12d1
vtk: disable vtk-m temporarily
valgur Aug 4, 2024
9dbc58d
vtk: include the poison target only when want_all_modules=True
valgur Aug 4, 2024
f04b37b
vtk: improve Windows support
valgur Aug 26, 2024
a9e020f
vtk: fix overly strict FastFloat version check for Conan v1
valgur Aug 30, 2024
8803fe3
vtk: relax fmt version check
valgur Aug 30, 2024
8c3fb8a
vtk: store conan_components.json in res/ instead of share/
valgur Aug 30, 2024
5a39f8a
vtk: not worth the effort to support Conan v1
valgur Aug 31, 2024
cc17d7b
vtk: revert Conan version range
valgur Aug 31, 2024
9657095
vtk: add missing system libs
valgur Aug 31, 2024
0180a40
vtk: disable shared=True on MSVC
valgur Sep 3, 2024
ba878b0
vtk: static build on MSVC is broken, not shared
valgur Sep 4, 2024
793204c
vtk: set CMAKE_TRY_COMPILE_CONFIGURATION
valgur Oct 7, 2024
1d7e61a
vtk: set openmpi/*:enable_cxx=True
valgur Oct 8, 2024
dcb8e1b
vtk: add cross-compilation support
valgur Oct 13, 2024
e6b245c
Use a version range for sqlite3 to match qt/6.x recipe
valgur Oct 17, 2024
b0847d2
Use the latest hdf5 for cross-compilation support
valgur Nov 3, 2024
69656cc
vtk: simplify with_qt to just True/False
valgur Nov 11, 2024
b153c04
vtk: drop Conan v1 support, bump deps
valgur Feb 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions recipes/vtk/all/conandata.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
sources:
"9.3.1":
url: "https://www.vtk.org/files/release/9.3/VTK-9.3.1.tar.gz"
sha256: "8354ec084ea0d2dc3d23dbe4243823c4bfc270382d0ce8d658939fd50061cab8"
patches:
"9.3.1":
- patch_file: "patches/0001-add-missing-external-package-support.patch"
patch_description: "Add missing external package support to some deps"
patch_type: "conan"
- patch_file: "patches/0002-make-libtiff-dependency-public.patch"
patch_description: "Make libtiff dependency public internally"
patch_type: "conan"
- patch_file: "patches/0003-relax-dep-version-requirements.patch"
patch_description: "Relax major version requirement for FastFloat"
patch_type: "conan"
1,194 changes: 1,194 additions & 0 deletions recipes/vtk/all/conanfile.py

Large diffs are not rendered by default.

Loading