Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/sci In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv16222/10.3/unstable/main/finkinfo/sci
Modified Files: vtk-py.info Log Message: backport new version from 10.4 Index: vtk-py.info =================================================================== RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/sci/vtk-py.info,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- vtk-py.info 4 Jan 2006 07:20:34 -0000 1.3 +++ vtk-py.info 22 Sep 2006 20:29:40 -0000 1.4 @@ -1,34 +1,32 @@ Info2: << Package: vtk-py%type_pkg[python] -Version: 5.0 -Revision: 0.20051008.3 +Version: 5.0.2 +Revision: 1 Type: python (2.3 2.4) BuildDependsOnly: False -#Source: http://www.vtk.org/files/release/4.4/VTK-%v.tar.bz2 -Source: http://perso.wanadoo.fr/costabel/VTK-%v-0.20051008.tar.bz2 -Source-MD5: 455af54651ec737be5de0e261f57649b +Source: http://www.vtk.org/files/release/5.0/vtk-%v.tar.gz +Source-MD5: c2f439d1a4bc1598a1cb09ee43f794ed SourceDirectory: VTK License: BSD GCC: 3.3 Depends: x11, x11-shlibs, tcltk, tcltk-shlibs, expat-shlibs, libpng3-shlibs, libtiff-shlibs, libjpeg-shlibs, python%type_pkg[python] -BuildDepends: cmake (>= 1.8.2-1), x11-dev, tcltk-dev, expat, libpng3, libtiff, libjpeg, gcc3.3 -#Provides: vtk +BuildDepends: cmake (>= 2.4.2-1), x11-dev, tcltk-dev, expat, libpng3, libtiff, libjpeg Conflicts: vtk (<= 4.2.5-2), vtk-py23, vtk-py24 Replaces: vtk (<=4.2.5-2), vtk-py23, vtk-py24 Recommends: vtkdata PatchScript: << perl -pi.bak -e 's|/usr/local/lib|%p/lib/vtk|g' Wrapping/Python/vtk/tk/vtkLoadPythonTkWidgets.py perl -pi.bak -e 's|/usr/local|%p|g' Wrapping/Tcl/vtkbase/vtkbase.tcl - perl -pi.bak -e 's|(\-no\-cpp\-precomp)|\-O3 \-mcpu=G3 \-mtune=G4 \-funroll\-loops \-Wno\-long\-double $1|g' CMakeLists.txt + if [ %m = "powerpc" ]; then perl -pi -e 's|(\-no\-cpp\-precomp)|\-O3 \-mcpu=G3 \-mtune=G4 \-funroll\-loops \-Wno\-long\-double $1|g' CMakeLists.txt; fi + if [ %m = "i386" ]; then perl -pi -e 's|(\-no\-cpp\-precomp)|\-O3 \-funroll\-loops \-Wno\-long\-double $1|g' CMakeLists.txt; fi << -#SetCC: gcc-3.3 -#SetCXX: g++-3.3 CompileScript: << -#!/bin/sh -e +#!/bin/sh -ex %p/bin/cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ + -DCMAKE_SKIP_BUILD_RPATH:BOOL=ON \ + -DCMAKE_INSTALL_NAME_DIR:PATH=%p/lib/vtk \ -DVTK_INSTALL_LIB_DIR:STRING="/lib/vtk" \ -DBUILD_SHARED_LIBS:BOOL=ON \ - -DCMAKE_SHARED_LINKER_FLAGS:STRING="-L%p/lib -install_name %p/lib/vtk/\`basename <TARGET>\`" \ -DCMAKE_INSTALL_PREFIX:PATH=%p \ -DVTK_USE_CARBON:BOOL=OFF \ -DVTK_USE_COCOA:BOOL=OFF \ @@ -38,9 +36,9 @@ -DVTK_WRAP_TCL:BOOL=ON \ -DTCL_INCLUDE_PATH:PATH=%p/include \ -DTCL_LIBRARY:FILEPATH=%p/lib/libtcl.dylib \ + -DTK_LIBRARY:FILEPATH=%p/lib/libtk.dylib \ -DTK_INCLUDE_PATH:PATH=%p/include \ - -DTK_INTERNAL_PATH:PATH=%p/include/vtk/tkInternals/tk84OSX \ - -DVTK_WRAP_JAVA:BOOL=OFF \ + -DVTK_WRAP_JAVA:BOOL=ON \ -DVTK_WRAP_PYTHON:BOOL=ON \ -DPYTHON_EXECUTABLE:FILEPATH=%p/bin/python%type_raw[python] \ -DPYTHON_INCLUDE_PATH:PATH=%p/include/python%type_raw[python] \ @@ -48,6 +46,7 @@ -DPYTHON_DEBUG_LIBRARY:FILEPATH=%p/lib/python%type_raw[python]/config/libpython%type_raw[python].dylib \ -DOPENGL_gl_LIBRARY:STRING="-L/usr/X11R6/lib -lGL" \ -DOPENGL_glu_LIBRARY:STRING="-L/usr/X11R6/lib -lGLU" \ + -DOPENGL_INCLUDE_DIR:PATH="/usr/X11R6/include" \ -DOPENGL_xmesa_INCLUDE_DIR:PATH=/usr/X11R6/include \ -DVTK_USE_SYSTEM_EXPAT:BOOL=ON \ -DEXPAT_INCLUDE_DIR:PATH=%p/include \ @@ -60,11 +59,16 @@ -DVTK_USE_PARALLEL:BOOL=ON \ -DVTK_USE_PATENTED:BOOL=ON \ -DVTK_USE_GL2PS:BOOL=ON \ + -DVTK_HAVE_GETSOCKNAME_WITH_SOCKLEN_T:BOOL=ON \ . +# ugly hack to fix the -install_name of the dylibs +# cmake-2.4 has a mechanism for it, but it is unusable + perl -pi -e 's|install_name lib|install_name %p/lib/vtk/lib|g' `find . -name build.make -or -name link.txt` +# make << InstallScript: << -#!/bin/sh -e +#!/bin/sh -ex make install DESTDIR=%d pushd Wrapping/Python %p/bin/python%type_raw[python] setup.py install --root=%d @@ -114,16 +118,16 @@ DescPackaging: << Has "BuildDependsOnly: false", because the header files in %p/include/vtk are needed for the functioning of the toolkit. - - This version is compiled with g++-3.3, even in the 10.4 tree. If it is - ever updated to a more recent compiler, any packages which depend on - this one must be updated at the same time. + No shlibs splitoff yet. << DescPort: << - The dylibs are created with compat version 0.0.0, because I don't know - how to teach the cmake build system about compatibility versions. + The dylibs are still created with compat version 0.0.0, + because cmake doesn't know about compatibility versions. It is bad enough already to get them a decent install_name. - Since they have no version numbers, there is no shlibs splitoff. + + Cmake knows now about versioned file names for dylibs, so + that a future repacked version will be able to adhere to + Fink's shlibs policy. The vtk (>= 4.2.5-3) package installs into %p/{bin,include,lib}/vtk-4.2, so it should be able to coexist with this version. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits