
# VTK 6 minimal build with Tcl wrapper, packaged July 2022 by Albert Graef
# <aggraef@gmail.com>. Pre-patched source, so that it compiles on current
# Linux systems, based on patches and build process from the vtk6 Arch
# PKGBUILD found in the attic of the AUR. Added a toplevel Makefile to
# facilitate the packaging process.

# TODO: Currently the whole shebang is in a single package containing
# executables, headers, libraries, and the Tcl library, we might want to split
# this up to follow Debian guidelines.

Source: vtk6
Section: devel
Priority: extra
Maintainer: Albert Graef <aggraef@gmail.com>
#XXXREVIEW: Which of these are actually needed for the minimal build that we do?
Build-Depends: debhelper-compat (= 10), libboost-dev, cmake, ninja-build, doxygen, gnuplot, tcl-dev, tk-dev, unixodbc-dev, libopenmpi-dev, libmariadb-dev, libgl1-mesa-dev | libgl-dev, libgl2ps-dev, libglew-dev, libglu1-mesa-dev | libglu-dev, libhdf5-dev, qtbase5-dev, qttools5-private-dev, libjsoncpp-dev, libx11-dev, libxt-dev, x11proto-dev, zlib1g-dev
Standards-Version: 4.6.0
Homepage: https://www.vtk.org
#Vcs-Browser: https://salsa.debian.org/debian/vtk6
#Vcs-Git: https://salsa.debian.org/debian/vtk6.git
Rules-Requires-Root: no

Package: vtk6
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: A software system for 3D computer graphics
 VTK is a software system for 3D computer graphics, image processing, and
 visualization. This package provides the legacy 6.3 version, featuring a
 minimal build, including executables, headers, libraries, and the Tcl
 wrapper.
 .
 NOTE: If you want a complete and up-to-date version of VTK, this package is
 not for you; get the latest vtk package from the official Debian/Ubuntu
 repositories instead. This package is intended for developers and maintainers
 of legacy VTK applications in need of the "classic" VTK Tcl framework which
 runs in a standard Tcl environment.
 .
 NOTE: To prevent conflicts with other VTK installations, this package
 installs into /opt/vtk6. This includes the Tcl libraries, so in order to make
 the vtk package load properly in the Tcl interpreter, you need to set the
 TCLLIBPATH environment variable accordingly. E.g., in bash do: export
 TCLLIBPATH=/opt/vtk6/lib/tcltk.
