[vtk6] 01/01: Initial packaging for vtk6.

Anton Gladky gladk at alioth.debian.org
Mon Oct 7 19:50:26 UTC 2013


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

gladk pushed a commit to branch master
in repository vtk6.

commit 08990233a694f2ee6ac162ec5d9ff746d38f0d15
Author: Anton Gladky <gladky.anton at gmail.com>
Date:   Mon Oct 7 21:50:31 2013 +0200

    Initial packaging for vtk6.
---
 debian/changelog              |    5 +
 debian/compat                 |    1 +
 debian/control                |  257 +++++++++++++++++++++++++++++++++++++++++
 debian/copyright              |   55 +++++++++
 debian/libvtk6-dev.install    |    5 +
 debian/libvtk6-java.install   |    3 +
 debian/libvtk6.install        |    1 +
 debian/python-vtk6.pyinstall  |    7 ++
 debian/rules                  |   40 +++++++
 debian/source/format          |    1 +
 debian/tcl-vtk6.install       |    4 +
 debian/vtk6-examples.examples |    1 +
 debian/watch                  |    4 +
 13 files changed, 384 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..3ab5da7
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+vtk6 (6.0.0-1) unstable; urgency=low
+
+  * Initial packaging for vtk6
+
+ -- Anton Gladky <gladk at debian.org>  Mon, 07 Oct 2013 21:48:46 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..f827a5a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,257 @@
+Source: vtk6
+Section: graphics
+Priority: optional
+Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
+Build-Depends:
+ cmake (>= 2.8.5),
+ debhelper (>= 9),
+ default-jdk,
+ dpkg-dev (>= 1.16.1~),
+ ftgl-dev,
+ javahelper, 
+ libavcodec-dev,
+ libavformat-dev,
+ libavutil-dev,
+ libboost-all-dev,
+ libexpat-dev,
+ libfreetype6-dev,
+ libgl1-mesa-dev | libgl-dev,
+ libgl2ps-dev,
+ libglu1-mesa-dev | libglu-dev,
+ libhdf5-dev,
+ libjpeg-dev,
+ libmysqlclient-dev,
+ libnetcdf-dev,
+ libosmesa6-dev,
+ libpng-dev,
+ libpq-dev,
+ libqt4-dev,
+ libsqlite3-dev,
+ libswscale-dev,
+ libtiff-dev,
+ libx11-dev,
+ libxml2-dev,
+ libxpm-dev,
+ libxt-dev,
+ mpi-default-dev,
+ pkg-config,
+ python-dev (>= 2.5.3),
+ python-support (>= 0.5.3),
+ tcl8.5-dev,
+ tk8.5-dev,
+ x11proto-core-dev,
+ xvfb,
+ zlib1g-dev
+Build-Depends-Indep:
+ doxygen-latex,
+ ghostscript,
+ gnuplot-nox,
+ graphviz,
+ libdigest-md5-perl
+XS-Python-Version: current
+Uploaders:
+ A. Maitland Bottoms <bottoms at debian.org>,
+ Dominique Belhachemi <domibel at debian.org>,
+ Mathieu Malaterre <malat at debian.org>
+Standards-Version: 3.9.3
+Homepage: http://www.vtk.org/
+Vcs-Git: git://git.debian.org/git/collab-maint/vtk6.git
+Vcs-Browser: http://git.debian.org/?p=collab-maint/vtk6.git
+
+Package: libvtk6-dev
+Architecture: any
+Conflicts:
+ libvtk-dev,
+ libvtk32-dev,
+ libvtk4-dev,
+ libvtk5-dev
+Replaces:
+ libvtk-dev,
+ libvtk32-dev,
+ libvtk4-dev,
+ libvtk5-dev
+Depends:
+ libavcodec-dev,
+ libavformat-dev,
+ libavutil-dev,
+ libc6-dev,
+ libexpat-dev,
+ libfreetype6-dev,
+ libgl1-mesa-dev | libgl-dev,
+ libgl2ps-dev,
+ libglu1-mesa-dev | libglu-dev,
+ libjpeg-dev,
+ libmysqlclient-dev,
+ libnetcdf-dev,
+ libpng-dev,
+ libpq-dev,
+ libqt4-dev,
+ libswscale-dev,
+ libtiff-dev,
+ libvtk6 (= ${binary:Version}),
+ libx11-dev,
+ libxft-dev,
+ libxml2-dev,
+ libxss-dev,
+ libxt-dev,
+ mpi-default-dev,
+ tcl8.5-dev,
+ tk8.5-dev,
+ x11proto-core-dev,
+ zlib1g-dev,
+ ${misc:Depends}
+Suggests:
+ vtk6-doc,
+ vtk6-examples
+Section: libdevel
+Description: VTK header files for building C++ code
+ 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 provides the VTK header files required to compile
+ C++ programs that use VTK to do 3D visualisation.
+
+Package: libvtk6-java
+Architecture: any
+Depends:
+ ${java:Depends},
+ ${misc:Depends},
+ ${shlibs:Depends}
+Suggests:
+ java-virtual-machine,
+ libvtk6-dev (= ${binary:Version}),
+ vtk6-doc,
+ vtk6-examples
+Section: java
+Description: Visualization Toolkit - A high level 3D visualization library - java
+ 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 provides the VTK Java language support.
+
+Package: libvtk6
+Architecture: any
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends}
+Conflicts:
+ libvtk5
+Replaces:
+ libvtk32,
+ libvtk4,
+ libvtk4c2,
+ libvtk4c2a,
+ libvtk5,
+ libvtk5.8
+Suggests:
+ libvtk6-dev,
+ openmpi-bin | lam-runtime,
+ vtk6-doc,
+ vtk6-examples
+Section: libs
+Description: Visualization Toolkit - A high level 3D visualization library - runtime
+ 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.
+ .
+ VTK enables users to concentrate on their work by providing a large
+ number of excellent and feature packed high level functions that do
+ visualization.  The library needs OpenGL to render the graphics and
+ for Linux machines Mesa is necessary. The terms/copyright can be read
+ in /usr/share/doc/vtk/README and README.html.  VTK-Linux-HOWTO has
+ information about using vtk, getting documentataion or help and
+ instructions on building VTK.
+ .
+ This package provides the shared libraries needed to run C++ programs
+ that use VTK.
+ .
+ To compile C++ code that uses VTK you have to install libvtk5-dev.
+
+Package: python-vtk6
+Architecture: any
+Depends:
+ ${misc:Depends},
+ ${python:Depends},
+ ${shlibs:Depends},
+ libvtk6 (= ${binary:Version}),
+Suggests:
+ mayavi2,
+ vtk6-doc,
+ vtk6-examples
+XB-Python-Version: ${python:Versions}
+Section: python
+Description: Python 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 that enable one to use VTK from Python
+ 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 (= ${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-doc
+Architecture: all
+Depends:
+ doc-base,
+ ${misc:Depends}
+Suggests:
+ libvtk6-dev,
+ vtk6-examples,
+ vtk6data
+Section: doc
+Description: VTK class reference documentation
+ 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 exhaustive HTML documentation for the all the
+ documented VTK C++ classes.  The documentation was generated using
+ doxygen and some excellent perl scripts from Sebastien Barre et. al.
+ Please read the README.docs in /usr/share/doc/vtk-doc/ for details.
+ The documentation is available under /usr/share/doc/vtk/html.
+
+Package: vtk6-examples
+Architecture: all
+Suggests:
+ libqt4-dev,
+ libvtk6-dev,
+ python,
+ python-vtk6,
+ tcl-vtk6,
+ tclsh,
+ vtk6-doc
+Section: graphics
+Depends:
+ ${misc:Depends}
+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 vtk-dev package as well.
+ Some of them require the libqt4-dev package.
+ .
+ The Python and Tcl examples can be run with the corresponding packages
+ (python-vtk, tcl-vtk).
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..6f00a12
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,55 @@
+This package was debianized by A. Maitland Bottoms <bottoms at debian.org> on
+Wed, 15 Mar 2000 10:52:54 -0500.
+
+This package was also debianized by Prabhu Ramachandran
+<prabhu at aero.iitm.ernet.in> on Mon, 24 Apr 2000 02:16:12 +0530.
+
+The Debian packaging is distributed under the same conditions as the
+upstream.
+
+See the README.debian file for details on the modification of source
+done for the Debian distribution of VTK.
+
+Home page is at: http://www.vtk.org/
+It was downloaded from http://www.vtk.org/files/release/5.6/vtk-5.6.0.tar.gz
+(See also http://vtk.org/VTK/resources/software.html)
+
+Upstream Authors: Ken Martin, Will Schroeder, and Bill Lorensen.
+kitware at kitware.com
+
+Copyright:
+
+/*=========================================================================
+
+  Program:   Visualization Toolkit
+  Module:    $RCSfile: Copyright.txt,v $
+
+Copyright (c) 1993-2008 Ken Martin, Will Schroeder, Bill Lorensen
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+   this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+   this list of conditions and the following disclaimer in the documentation
+   and/or other materials provided with the distribution.
+
+ * Neither name of Ken Martin, Will Schroeder, or Bill Lorensen nor the names
+   of any contributors may be used to endorse or promote products derived
+   from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+=========================================================================*/
diff --git a/debian/libvtk6-dev.install b/debian/libvtk6-dev.install
new file mode 100644
index 0000000..911454e
--- /dev/null
+++ b/debian/libvtk6-dev.install
@@ -0,0 +1,5 @@
+usr/bin/vtkEncodeString-6.0
+usr/bin/vtkWrapHierarchy-6.0
+usr/include/vtk-6.0                    usr/include
+usr/lib/*.so
+usr/lib/cmake/vtk-6.0
diff --git a/debian/libvtk6-java.install b/debian/libvtk6-java.install
new file mode 100644
index 0000000..0572fbf
--- /dev/null
+++ b/debian/libvtk6-java.install
@@ -0,0 +1,3 @@
+usr/bin/vtkWrapJava-6.0                     usr/bin
+usr/bin/vtkParseJava-6.0                    usr/bin
+usr/lib/vtk.jar                             usr/share/java
diff --git a/debian/libvtk6.install b/debian/libvtk6.install
new file mode 100644
index 0000000..093956b
--- /dev/null
+++ b/debian/libvtk6.install
@@ -0,0 +1 @@
+usr/lib/*.so.*
diff --git a/debian/python-vtk6.pyinstall b/debian/python-vtk6.pyinstall
new file mode 100644
index 0000000..80139d7
--- /dev/null
+++ b/debian/python-vtk6.pyinstall
@@ -0,0 +1,7 @@
+debian/build/Wrapping/Python/vtk/*.py           vtk
+debian/build/Wrapping/Python/vtk/gtk/*.py       vtk.gtk
+debian/build/Wrapping/Python/vtk/qt4/*.py       vtk.qt4
+debian/build/Wrapping/Python/vtk/test/*.py      vtk.test
+debian/build/Wrapping/Python/vtk/tk/*.py        vtk.tk
+debian/build/Wrapping/Python/vtk/util/*.py      vtk.util
+debian/build/Wrapping/Python/vtk/wx/*.py        vtk.wx
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a6c6b9b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,40 @@
+#!/usr/bin/make -f
+BUILDDIR = $(CURDIR)/debian/build
+%:
+	dh $@ --buildsystem=cmake --builddirectory=$(BUILDDIR) --with python2 --with javahelper --parallel
+
+extra_flags +=  \
+	-DBUILD_DOCUMENTATION=ON \
+	-DBUILD_EXAMPLES=ON \
+	-DBUILD_SHARED_LIBS=ON \
+	-DBUILD_TESTING=OFF \
+	-DVTK_USE_TK=ON \
+	-DVTK_WRAP_JAVA=ON \
+	-DVTK_WRAP_PYTHON=ON \
+	-DVTK_WRAP_TCL=ON \
+	-DVTK_USE_SYSTEM_EXPAT=ON \
+	-DVTK_USE_SYSTEM_FREETYPE=ON \
+	-DVTK_USE_SYSTEM_GL2PS=ON \
+	-DVTK_USE_SYSTEM_HDF5=ON \
+	-DVTK_USE_SYSTEM_JPEG=ON \
+	-DVTK_USE_SYSTEM_LIBXML2=ON \
+	-DVTK_USE_SYSTEM_OGGTHEORA=ON \
+	-DVTK_USE_SYSTEM_PNG=ON \
+	-DVTK_USE_SYSTEM_TIFF=ON \
+	-DVTK_USE_SYSTEM_ZLIB=ON \
+	-DVTK_EXTRA_COMPILER_WARNINGS=ON \
+	-DVTK_Group_Imaging=ON \
+	-DVTK_Group_MPI=ON \
+	-DVTK_Group_Qt=ON \
+	-DVTK_Group_Tk=ON \
+	-DVTK_Group_Views=ON \
+	-DVTK_BUILD_ALL_MODULES=ON \
+	-DMPI_CXX_INCLUDE_PATH="/usr/include/mpi" \
+
+override_dh_auto_configure:
+	dh_auto_configure -- $(extra_flags)
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -rf $(BUILDDIR)
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/tcl-vtk6.install b/debian/tcl-vtk6.install
new file mode 100644
index 0000000..7f6c048
--- /dev/null
+++ b/debian/tcl-vtk6.install
@@ -0,0 +1,4 @@
+usr/bin/vtk
+usr/bin/vtkWrapTcl-6.0
+usr/bin/vtkWrapTclInit-6.0
+usr/lib/tcltk 
diff --git a/debian/vtk6-examples.examples b/debian/vtk6-examples.examples
new file mode 100644
index 0000000..f01700f
--- /dev/null
+++ b/debian/vtk6-examples.examples
@@ -0,0 +1 @@
+../../Examples/*
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..d864bf5
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts=uversionmangle=s/(\d)[\.\-]?((?:rc|RC|pre)(?:\.|-)?\d+(?:-\d+)?)$/$1~$2/ \
+http://www.vtk.org/files/release/(\d+(?:\.\d+)*)/vtk(?:-|\.|_|_v|)(\d\S*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)
+# Bart Martens <bartm at debian.org>  Sat, 18 May 2013 17:27:53 +0000

-- 
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