Comment 4 for bug 373305

Revision history for this message
Andrea Gasparini (gaspa) wrote :

Changes remained
remaining Ubuntu changes:

  * Merge from Debian unstable, remaining Ubuntu changes: (LP: #373305)
    - Wrapping/Python/vtkPythonAppInit.cxx: also search in dist-packages
      for the library.
    - debian/python-vtk.postinst: the postinst should now compile what is in
      dist-packages, not site-packages.

I added these changes as well, in order to make it build fine in karmic environment:
  * debian/python-vtk.{dirs,install}: changed to python2.6 directories
  * debian/rules:
    - tell cmake the right path to find libjawt.so
    - tell cmake to use --install-layout=deb while calling setup.py

The Ubuntu changes that can be dropped are the following:
  *debian/rules should also remove .pyc files from dist-packages.
  * Unset QT_QT_LIBRARY for Qt4 build (LP: #336295).

I'm attaching a debdiff that fix the merge, build logs for karmic can be found in:
http://launchpadlibrarian.net/27469460/buildlog_ubuntu-karmic-i386.vtk_5.2.1-5ubuntu10_FULLYBUILT.txt.gz
and
http://launchpadlibrarian.net/27469949/buildlog_ubuntu-karmic-amd64.vtk_5.2.1-5ubuntu10_FULLYBUILT.txt.gz