[vtk6] 01/02: Move TCL-libraries into /usr/lib. (Closes: #773424)

Anton Gladky gladk at moszumanska.debian.org
Sun Jan 4 17:04:44 UTC 2015


This is an automated email from the git hooks/post-receive script.

gladk pushed a commit to branch master
in repository vtk6.

commit dd23d1b967352adc609d027a08b3f9819bc24037
Author: Anton Gladky <gladk at debian.org>
Date:   Sat Jan 3 21:05:07 2015 +0100

    Move TCL-libraries into /usr/lib. (Closes: #773424)
    
    Thanks to Ansgar Burchardt for the hint.
---
 debian/control          | 30 +++++++++++++++++++++++++++---
 debian/rules            |  5 ++---
 debian/tcl-vtk6.install |  2 ++
 3 files changed, 31 insertions(+), 6 deletions(-)

diff --git a/debian/control b/debian/control
index 2c6b440..6227126 100644
--- a/debian/control
+++ b/debian/control
@@ -63,6 +63,7 @@ Build-Depends:
  r-base,
  r-base-core,
  r-base-dev,
+ tcl-dev,
  texlive-binaries,
  texlive-math-extra,
  tk8.6-dev,
@@ -165,6 +166,8 @@ Depends:
  libxt-dev,
  mpi-default-dev,
  python-vtk6 (= ${binary:Version}),
+ tcl-vtk6 (= ${binary:Version}),
+ tcl-dev,
  tk8.6-dev,
  vtk6 (= ${binary:Version}),
  x11proto-core-dev,
@@ -205,6 +208,25 @@ Description: Python bindings for VTK
  scripts.  You will need Python and vtk installed to use this. Some useful
  information may be available in /usr/share/doc/python-vtk/.
 
+Package: tcl-vtk6
+Architecture: any
+Depends:
+ libvtk6.1 (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Suggests:
+ vtk6-doc,
+ vtk6-examples
+Section: interpreters
+Description: Tcl bindings for VTK
+ The Visualization Toolkit (VTK) is an object oriented, high level
+ library that allows one to easily write C++ programs, Tcl, Python and
+ Java scripts that do 3D visualization.
+ .
+ This provides the shared libraries and executable that enable one to use
+ VTK from Tcl/Tk scripts. You will need Tcl/Tk and vtk installed to use
+ this.
+
 Package: vtk6
 Architecture: any
 Depends:
@@ -251,14 +273,16 @@ Suggests:
  libvtk6-dev,
  python,
  python-vtk6,
+ tcl-vtk6,
+ tclsh,
  vtk6-doc
 Section: graphics
 Depends:
  ${misc:Depends}
-Description: C++ and Python example programs/scripts for VTK
+Description: C++, Tcl and Python example programs/scripts for VTK
  The Visualization Toolkit (VTK) is an object oriented, high level
  library that allows one to easily write C++ programs, Tcl, Python and
  Java scripts that do 3D visualization.
  .
- This package contains examples from the VTK source. To compile
- the C++ examples you will need to install the libvtk6-dev package as well.
+ The Python and Tcl examples can be run with the corresponding packages
+ (python-vtk6, tcl-vtk6).
diff --git a/debian/rules b/debian/rules
index 6e54cac..556d05d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -81,6 +81,5 @@ override_dh_auto_install:
 	mv $(CURDIR)/debian/tmp/usr/bin/vtk $(CURDIR)/debian/tmp/usr/bin/vtk6
 	find $(CURDIR)/debian/tmp/ -name "*.pyc" | xargs rm -f
 	find $(CURDIR)/debian/tmp/ -name "*.pyo" | xargs rm -f
-
-override_dh_shlibdeps:
-	dh_shlibdeps -a -l /usr/lib/jvm/default-java/lib
+	find $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH) -name *TCL* -exec mv {} $(CURDIR)/debian/tmp/usr/lib/ \;
+	rename 's/\.so.*/.so/'  $(CURDIR)/debian/tmp/usr/lib/*
diff --git a/debian/tcl-vtk6.install b/debian/tcl-vtk6.install
index decdafd..1ba86ad 100644
--- a/debian/tcl-vtk6.install
+++ b/debian/tcl-vtk6.install
@@ -1,3 +1,5 @@
 usr/bin/vtkWrapTcl-6.1
 usr/bin/vtkWrapTclInit-6.1
 usr/lib/tcltk
+usr/lib/lib*.so.*
+usr/lib/lib*.so

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/vtk6.git



More information about the debian-science-commits mailing list