Commit graph

17 commits

Author SHA1 Message Date
Jack Nagel
af4e77ddb5 vtk: remove skip_clean :all
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-13 12:55:43 -05:00
Adam Vandenberg
3be7999041 vtk: use new dsl 2012-08-25 09:37:41 -07:00
nibbles 2bits
fb42412117 vtk 5.10 & add pyqt+sip
Upgrade vtk to version 5.10.
Add deps on `sip` and `pyqt` if the user options `--pyqt`
Add cmake args to enable SIP/PyQt if `--pyqt`
Add cmake args for `-DSIP_PYQT_DIR` as `HOMEBREW_PREFIX/share/sip`.
Add `skip_clean :all` to help vtkpython find the symbol `_environ`
Change the location of the python `.so` modules so they and the Egg
get installed into `lib/which_python/'site-packages'`.
Add code so `site-packages` is created and prepended to the
PYTHONPATH to stop build errors.
Add `-DPYTHON_INCLUDE_DIR` so the right headers are located.
Remove the workaround code that was previously added to support
Python getting RPATHs, as RPATHS are fixed in Homebrew Core.
Add code that removes three duplicate files in `site-packages`
that cause the linking step to fail, files that already
exist in HB `site-packages` when using brewed Python.
Add code to `mv` the python module directory `vtk` out of the
`VTK-5.10-py2.7.egg` and into `site-packages`.  Without that,
you can't import vtk into Python.
Add code to install the `Examples`

Tested on Lion using clang and llvm from XCode-4.3.3 with the CLT
and without the CLT against system Python, HB framework Python,
HB non-framework Python, Qt-4.8.2, sip, pyqt, pyside and shiboken.

Closes Homebrew/homebrew#12807.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-02 19:51:42 -05:00
Jack Nagel
b81d01e23d Update formulae for new XQuartz module 2012-08-01 00:31:39 -05:00
Jack Nagel
d6e8244287 Update formulae for XQuartz compatibility 2012-07-01 12:41:00 -05:00
Jack Nagel
c7630f5ff4 Use new std_cmake_args method
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-22 22:22:00 -05:00
Jack Nagel
7c648d9732 Shore up a number of shell quoting issues
When interpolating in strings passed to Formula#system, it should be
done in such a way that if any interpolated variables contain spaces,
they are either (a) passed as part of a list or (b) protected by quotes
if they are part of a long string (which is subject to shell expansion).
Otherwise, they will be split on the space when expanded by the shell
and passed as multiple arguments to whatever process is being executed.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-15 14:03:11 -05:00
Brian Gyss
6728c16537 vtk: add --x11 option
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-18 12:53:02 -07:00
Adam Vandenberg
83b371fba5 Introduce block form of mkdir 2012-02-24 21:35:51 -08:00
Adam Vandenberg
da3fdbd0cf Use "cd" instead of "Dir.chdir"
* And "mkdir" isntead of "Dir.mkdir"
* And "Dir[]" instead of "Dir.glob"
* Also style fixes and nitpicks
2012-02-24 21:35:50 -08:00
samueljohn
124c51924d vtk: Fix for vtk with --python (collect2: ld returned 1 exit status)
- Work-a-round: Add a temp symlink from Cellar/vtk to the cwd such that
building the wrappers can find the libs. Then remove the symlink and
let `make install` move everything into place.

Closes Homebrew/homebrew#9796.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-02-04 22:37:40 -08:00
Lars Bilke
43ed3b843d VTK: Update to 5.8.0
Closes Homebrew/homebrew#7531.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-09-09 11:59:51 -07:00
Felix-Antoine Fortin
8319eaaff0 VTK: Patch to fix compilation on OS X 10.7
Closes Homebrew/homebrew#7132.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-08-31 19:10:40 -07:00
Nicolas Pinto
42f61332c7 vtk: update python
support non-Framework and non-shared versions of Python

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-08 21:54:21 -07:00
Samuel John
5bf9725ac2 vtk: Fixed RPATH issues in libs and python wrapper libs.
* Added --qt-extern to support non brewd Qt.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-15 09:22:38 -07:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Lars Bilke
af7c5d36d3 Added formula for vtk
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-01 09:41:34 -07:00