Closed Korijn closed 8 years ago
libogg
libtheora
Maybe we should start packaging audio and video players too. 😄
@jakirkham I'm quite surprised we needed freeglut
btw, since it isn't in this list. Or is it a replacement for glew
?
I think freeglut comes in with the RenderingExternal (adaptor to a specific VR environment).
Yes, turn off VTK_Group_Web to remove autobahn, six, twisted and zope dependencies.
Boost is used in a couple of modules, all including xdmf3 are optional. At least for xdmf3, and probably for all of them, it is a header only dependency. Xdmf2 does not depend on it at all.
hope that helps
@aashish24 you and the UVCDAT guys just condified VTK (and the rest of UVCDAT). Do you have any pointers/requests for VTK's conda packaging?
Here is the link to our conda recipe for VTK that is working well for the climate project we are involved with https://github.com/UV-CDAT/conda-recipes/tree/master/vtk. Note that some of the names / variables are project specific.
@aashish24 thanks for sharing! I think we can pick up a thing or two from your recipe. I have a couple of questions:
mesa
recipe to conda-forge, based on your recipe?For mac, strongly recommend cocoa. We haven't been supporting X (or carbon fwiw) on Mac for a while now.
The OpenGL2 backend is fairly new and is more demanding of the features provided by the OpenGL implementation (decent vendor graphics drivers or mesa > 11 roughly). We will be deprecating and then removing the legacy backend over the next couple of VTK releases. My recommendation is to get OpenGL1 backend working well first so that you know you have a good VTK build, then switch to OpenGL2 and see what issues turn up with the more stringent OpenGL requirements.
We are actually working on a mesa (latest) package as well, so that might work out just fine with the opengl2 backend. Anyway, thanks again for your input. :)
I see you are picking different rendering configurations, cocao for os x, x for linux (or mesa) and opengl as a backend. Are these default configurations or should we include them here as well?
I think it would be nice to include them.
Is mesa or X preferable as a default?
On linux X is preferable then mesa.
Do you mind if we also add a mesa recipe to conda-forge, based on your recipe?
Sure, please go ahead. This recipe is written by someone else but I don't see a reason why you cannot add a similar recipe to forge.
Why did you disable "OSMesa Gallium llvmpipe state-tracker", as it appears to be much more powerful according to the VTK docs?
I would have to ask the original author about it.
This work is pretty much done, as can be read in #4. The following dependencies were added:
- future # used in the generated python wrappers
# VTK Third Party dependencies
- zlib
- freetype
- hdf5 # [unix]
- libxml2
- libpng
- jpeg
- libtiff
- jsoncpp # [unix]
- expat
These were the problems encountered along the way:
jsoncpp
is not available on Windowshdf5
package cannot be detected by VTK's CMake on Windowsnetcdf
package cannot be detected by VTK's CMake on all platformssqlite
package cannot be replaced since there is no VTK_USE_SYSTEM_SQLITE
optionOther packages simply aren't available on conda-forge (yet).
Some other changes:
vtkRenderingMatplotlib
module enabledNice @Korijn !! thanks for working on this.
I've compiled a list of third party libraries that we might be able to supply with conda-forge packages. This will have the added benefit of bringing down build time.
I used the following searches to track all the libraries that can be easily configured using the CMake parmeter
VTK_USE_SYSTEM_LIBRARIES:BOOL=ON
:Here is the list:
A number of things remain unclear:
Todo:
cc @jakirkham @ccordoba12 @ivoflipse @grlee77 @patricksnape @demarle