Package: vtk
Followup-For: Bug #346505

Tags: patch

The attached patches should fix this one (two patches: control.patch should
solve the xlibs-problem, but without rules.patch I couldn't build the package in
a pbuilder environment).

Thomas


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (700, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686-smp
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
--- vtk-4.4.2.orig/debian/rules 2006-01-09 21:09:32.000000000 +0100
+++ vtk-4.4.2/debian/rules      2006-01-09 17:28:32.000000000 +0100
@@ -6,7 +6,7 @@
 export DH_VERBOSE=1
 
 # This is the debhelper compatability version to use.
-export DH_COMPAT=3
+export DH_COMPAT=4
 
 PWD=$(shell pwd)
 DVER=$(shell cat /etc/debian_version)
@@ -154,7 +154,8 @@
        cp -p -r Build/Utilities/Doxygen/doc/* 
$(CURDIR)/debian/vtk-doc/usr/share/doc/vtk-doc/
        cp -p -r Utilities/Upgrading 
$(CURDIR)/debian/vtk-doc/usr/share/doc/vtk-doc/
        dh_installexamples
-       cp -p -r Examples $(CURDIR)/debian/vtk-examples/usr/share/vtk/
+       mkdir -p $(CURDIR)/debian/vtk-examples/usr/share/vtk/
+       cp -p -r Examples/* $(CURDIR)/debian/vtk-examples/usr/share/vtk/
        chmod -x debian/vtk-examples/usr/share/vtk/Rendering/Tcl/keyBottle.tcl
        chmod +x 
debian/vtk-examples/usr/share/vtk/Build/vtkMy/Wrapping/Tcl/MakePackages.tcl
        chmod +x debian/vtk-doc/usr/share/doc/vtk-doc/html/*.pl
--- vtk-4.4.2.orig/debian/control       2006-01-09 21:09:32.000000000 +0100
+++ vtk-4.4.2/debian/control    2006-01-09 17:22:29.000000000 +0100
@@ -2,7 +2,7 @@
 Section: graphics
 Priority: optional
 Maintainer: A. Maitland Bottoms <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>> 3.0.0), xlibmesa-gl-dev | libgl-dev, 
libglu1-mesa-dev | libglu-dev, xlibs-dev, tcl8.4-dev, tk8.4-dev, python-dev, 
cmake (>> 2.0.4), libexpat1-dev, libjpeg62-dev, libpng12-0-dev, libtiff4-dev | 
libtiff-dev, zlib1g-dev, libfreetype6-dev, ftgl-dev
+Build-Depends: debhelper (>> 4.0.0), xlibmesa-gl-dev | libgl-dev, 
libglu1-mesa-dev | libglu-dev, libx11-dev, libxt-dev, x-dev, tcl8.4-dev, 
tk8.4-dev, python-dev, cmake (>> 2.0.4), libexpat1-dev, libjpeg62-dev, 
libpng12-0-dev, libtiff4-dev | libtiff-dev, zlib1g-dev, libfreetype6-dev, 
ftgl-dev
 Build-Depends-Indep: libdigest-md5-perl, doxygen
 Standards-Version: 3.6.1.0
 
@@ -54,7 +54,7 @@
 Architecture: all
 Conflicts: libvtk-dev, libvtk32-dev
 Replaces: libvtk-dev, libvtk32-dev
-Depends: libvtk4c2, xlibmesa-gl-dev | libgl-dev, libglu1-mesa-dev | 
libglu-dev, xlibs-dev, libc6-dev
+Depends: libvtk4c2, xlibmesa-gl-dev | libgl-dev, libglu1-mesa-dev | 
libglu-dev, libx11-dev, libxt-dev, x-dev, libc6-dev
 Suggests: vtk-examples, vtk-doc
 Section: libdevel
 Description: VTK header files for building C++ code

Reply via email to