vtk9 (9.0.1+dfsg1-5) unstable; urgency=medium
authorAnton Gladky <gladk@debian.org>
Sun, 13 Dec 2020 11:55:42 +0000 (11:55 +0000)
committerAnton Gladky <gladk@debian.org>
Sun, 13 Dec 2020 11:55:42 +0000 (11:55 +0000)
  [ Adrian Bunk ]
  * [06163ff] Fixes and workaround for platforms where Qt uses OpenGL ES

  [ Anton Gladky ]
  * [3e6d9ec] Ignore quilt dir
  * [294ca1e] Revert "Do not build qt on some (GLES) archs"

[dgit import unpatched vtk9 9.0.1+dfsg1-5]

55 files changed:
1  2 
debian/README.source
debian/changelog
debian/control
debian/copyright
debian/gbp.conf
debian/libvtk9-dev.install
debian/libvtk9-dev.lintian-overrides
debian/libvtk9-doc.docs
debian/libvtk9-java.install
debian/libvtk9-java.lintian-overrides
debian/libvtk9-java.manpages
debian/libvtk9-jni.install
debian/libvtk9-qt-dev.install
debian/libvtk9-qt.install
debian/libvtk9-qt.lintian-overrides
debian/libvtk9.install
debian/libvtk9.lintian-overrides
debian/manpages/vtkParseJava-9.0.1
debian/manpages/vtkProbeOpenGLVersion-9.0.1
debian/manpages/vtkWrapHierarchy-9.0.1
debian/manpages/vtkWrapJava-9.0.1
debian/manpages/vtkWrapPython-9.0.1
debian/manpages/vtkWrapPythonInit-9.0.1
debian/manpages/vtkpython-9.0.1
debian/patches/10_matplotlib.patch
debian/patches/20_do_not_link_against_socket.patch
debian/patches/30_drop_medical_example.patch
debian/patches/40_vtkpython-9.patch
debian/patches/50_fix_python-modules_path.patch
debian/patches/60_fix_path_perl.patch
debian/patches/70_fix_python_numpy_warning.patch
debian/patches/80_allow_gles_platforms.patch
debian/patches/81_allow_gles_platforms.patch
debian/patches/82_allow_gles_platforms.patch
debian/patches/83_allow_gles_platforms.patch
debian/patches/90_fix_freetype_compilation.patch
debian/patches/series
debian/python3-vtk9.install
debian/python3-vtk9.manpages
debian/rules
debian/source/format
debian/tests/buildBoolean
debian/tests/buildDistance
debian/tests/buildPNG
debian/tests/buildPoint
debian/tests/buildVTP
debian/tests/buildVTU
debian/tests/control
debian/upstream/metadata
debian/vtk9-doc.docs
debian/vtk9-doc.links
debian/vtk9-examples.examples
debian/vtk9.install
debian/vtk9.manpages
debian/watch

index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..a9e646be0950717375f4ec92882169e7de41709b
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++FIXME: Patch away file(DOWNLOAD) call in Utilities/Doxygen/doc_makeall.cmake.in
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..cc53df6d46ab7875a65cc7038bad6c52dad53348
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,82 @@@
++vtk9 (9.0.1+dfsg1-5) unstable; urgency=medium
++
++  [ Adrian Bunk ]
++  * [06163ff] Fixes and workaround for platforms where Qt uses OpenGL ES
++
++  [ Anton Gladky ]
++  * [3e6d9ec] Ignore quilt dir
++  * [294ca1e] Revert "Do not build qt on some (GLES) archs"
++
++ -- Anton Gladky <gladk@debian.org>  Sun, 13 Dec 2020 12:55:42 +0100
++
++vtk9 (9.0.1+dfsg1-4) unstable; urgency=medium
++
++  * [b80e4ab] Do not build qt on some (GLES) archs
++
++ -- Anton Gladky <gladk@debian.org>  Sun, 13 Dec 2020 12:14:22 +0100
++
++vtk9 (9.0.1+dfsg1-3) unstable; urgency=medium
++
++  [ Adrian Bunk ]
++  * [52af841] Revert "Link against latomic"
++  * [381ea98] Link with libatomic on archtectures that need it
++
++  [ Anton Gladky ]
++  * [a983346] 80_allow_gles_platforms.patch.
++  * [e79137e] Fix FTBFS against freetype 2.10.4. (Closes: #976975)
++  * [d7ecb86] Add python3-vtk9 as Breaks+Replaces: python3-paraview.
++              (Closes: #976127)
++  * [19fe54e] Update changelog.
++
++ -- Anton Gladky <gladk@debian.org>  Thu, 10 Dec 2020 17:33:59 +0100
++
++vtk9 (9.0.1+dfsg1-2) unstable; urgency=medium
++
++  * [3afb408] Fix autopkgtests
++  * [8c41fa9] Minor fix in d/copyright
++
++ -- Anton Gladky <gladk@debian.org>  Wed, 25 Nov 2020 21:50:59 +0100
++
++vtk9 (9.0.1+dfsg1-1) unstable; urgency=medium
++
++  * [6b297c8] Link against latomic
++  * Upload into unstable
++
++ -- Anton Gladky <gladk@debian.org>  Thu, 19 Nov 2020 19:59:45 +0100
++
++vtk9 (9.0.1+dfsg1-1~exp6) experimental; urgency=medium
++
++  * [751a92f] Remove Qt-files from non-qt binaries. (Closes: #974923)
++
++ -- Anton Gladky <gladk@debian.org>  Mon, 16 Nov 2020 21:39:46 +0100
++
++vtk9 (9.0.1+dfsg1-1~exp5) experimental; urgency=medium
++
++  * [21adbaf] Fix FTBFS
++  * [4326c39] Sort build-dependencies
++
++ -- Anton Gladky <gladk@debian.org>  Sun, 15 Nov 2020 08:47:31 +0100
++
++vtk9 (9.0.1+dfsg1-1~exp4) experimental; urgency=medium
++
++  * [0be2017] Drop Build-Depends-Arch:
++
++ -- Anton Gladky <gladk@debian.org>  Fri, 13 Nov 2020 23:29:02 +0100
++
++vtk9 (9.0.1+dfsg1-1~exp3) experimental; urgency=medium
++
++  * [e5cfe7f] Move javahelper to BD
++
++ -- Anton Gladky <gladk@debian.org>  Fri, 13 Nov 2020 22:53:27 +0100
++
++vtk9 (9.0.1+dfsg1-1~exp2) experimental; urgency=medium
++
++  * [cedb51e] Fix FTBFS on -any arch
++
++ -- Anton Gladky <gladk@debian.org>  Fri, 13 Nov 2020 16:07:58 +0100
++
++vtk9 (9.0.1+dfsg1-1~exp1) experimental; urgency=medium
++
++  * Initial release. (Closes: #974165)
++
++ -- Anton Gladky <gladk@debian.org>  Tue, 10 Nov 2020 22:12:50 +0100
diff --cc debian/control
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..3de3d7665924f16f0ef0c12be79e9404a5bde8b7
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,278 @@@
++Source: vtk9
++Maintainer: Debian Science Team <debian-science-maintainers@lists.alioth.debian.org>
++Uploaders: Anton Gladky <gladk@debian.org>,
++           Gert Wollny <gewo@debian.org>,
++           Nico Schlömer <nico.schloemer@gmail.com>
++Section: graphics
++Priority: optional
++Build-Depends: chrpath,
++               cmake (>= 3.2.0),
++               debhelper-compat (= 13),
++               default-jdk,
++               default-libmysqlclient-dev,
++               dh-python,
++               doxygen-latex,
++               ghostscript,
++               gnuplot-nox,
++               graphviz,
++               hdf5-tools,
++               javahelper,
++               libalglib-dev,
++               libavcodec-dev,
++               libavformat-dev,
++               libavutil-dev,
++               libdigest-md5-perl,
++               libdouble-conversion-dev,
++               libeigen3-dev,
++               libexpat-dev,
++               libfontconfig1-dev,
++               libfreetype6-dev,
++               libftgl-dev,
++               libgdal-dev,
++               libgl1-mesa-dev | libgl-dev,
++               libgl2ps-dev (>= 1.4.0),
++               libglew-dev,
++               libglu1-mesa-dev | libglu-dev,
++               libhdf5-openmpi-dev,
++               libhpdf-dev,
++               libjpeg-dev,
++               libjs-mathjax,
++               libjsoncpp-dev,
++               liblz4-dev,
++               libmrmpi-dev,
++               libnetcdf-cxx-legacy-dev,
++               libnetcdf-dev,
++               libogg-dev,
++               libosmesa6-dev,
++               libpng-dev,
++               libpq-dev,
++               libproj-dev,
++               libsqlite3-dev,
++               libswscale-dev,
++               libtheora-dev,
++               libtiff-dev,
++               libutfcpp-dev,
++               libx11-dev,
++               libxdmf-dev,
++               libxml2-dev,
++               libxpm-dev,
++               libxt-dev,
++               lzma,
++               mpi-default-dev,
++               pkg-config,
++               python3-all-dev,
++               python3-matplotlib,
++               python3-mpi4py,
++               qtbase5-dev,
++               r-base-core,
++               r-base-dev,
++               r-base,
++               tcl-dev,
++               texlive-binaries,
++               tk-dev,
++               x11proto-core-dev,
++               xauth,
++               xvfb,
++               zlib1g-dev
++Standards-Version: 4.5.0
++Rules-Requires-Root: no
++Vcs-Browser: https://salsa.debian.org/science-team/vtk9
++Vcs-Git: https://salsa.debian.org/science-team/vtk9.git
++Homepage: https://www.vtk.org/
++
++Package: libvtk9-dev
++Architecture: any
++Section: libdevel
++Depends: ${misc:Depends},
++         ${shlibs:Depends},
++         default-jdk,
++         default-libmysqlclient-dev,
++         libavcodec-dev,
++         libavformat-dev,
++         libavutil-dev,
++         libc6-dev,
++         libdouble-conversion-dev,
++         libeigen3-dev,
++         libexpat-dev,
++         libfreetype6-dev,
++         libgdal-dev,
++         libgl1-mesa-dev | libgl-dev,
++         libgl2ps-dev,
++         libglew-dev,
++         libglu1-mesa-dev | libglu-dev,
++         libhdf5-mpi-dev,
++         libjpeg-dev,
++         libjsoncpp-dev,
++         liblz4-dev,
++         libnetcdf-cxx-legacy-dev,
++         libnetcdf-dev,
++         libpng-dev,
++         libpq-dev,
++         libproj-dev,
++         libpython3-dev,
++         libswscale-dev,
++         libtheora-dev,
++         libtiff-dev,
++         libutfcpp-dev,
++         libvtk9 (= ${binary:Version}),
++         libvtk9-java (= ${binary:Version}),
++         libx11-dev,
++         libxft-dev,
++         libxml2-dev,
++         libxss-dev,
++         libxt-dev,
++         mpi-default-dev,
++         python3-vtk9 (= ${binary:Version}),
++         tcl-dev,
++         tk-dev,
++         vtk9 (= ${binary:Version}),
++         x11proto-core-dev,
++         zlib1g-dev
++Suggests: vtk9-doc,
++          vtk9-examples
++Conflicts: libvtk5-dev,
++           libvtk6-dev,
++           libvtk7-dev
++Replaces: libvtk5-dev,
++          libvtk6-dev,
++          libvtk7-dev
++Description: VTK header files
++ The Visualization Toolkit (VTK) is an open-source software system
++ for 3D computer graphics, image processing, and visualization.
++ .
++ This package provides the VTK header files required to compile
++ C++ programs that use VTK to do 3D visualisation.
++
++Package: libvtk9
++Architecture: any
++Section: libs
++Depends: ${misc:Depends},
++         ${shlibs:Depends}
++Suggests: mpi-default-bin,
++          vtk9-doc,
++          vtk9-examples
++Replaces: libvtk5.8,
++          libvtk7.1
++Description: VTK libraries
++ The Visualization Toolkit (VTK) is an open-source software system
++ for 3D computer graphics, image processing, and visualization.
++ .
++ This package provides the shared libraries needed to run C++ programs
++ that use VTK.
++
++Package: libvtk9-java
++Architecture: any
++Section: java
++Depends: ${java:Depends},
++         ${misc:Depends},
++         ${python3:Depends},
++         ${shlibs:Depends}
++Suggests: java-virtual-machine,
++          libvtk9-dev (= ${binary:Version}),
++          vtk9-doc,
++          vtk9-examples
++Replaces: libvtk6-java,
++          libvtk7-java
++Breaks: libvtk6-java,
++        libvtk7-java
++Description: VTK - Java language support
++ 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: python3-vtk9
++Architecture: any
++Section: python
++Depends: libvtk9 (= ${binary:Version}),
++         python3-mpi4py,
++         ${misc:Depends},
++         ${python3:Depends},
++         ${shlibs:Depends}
++Suggests: mayavi2,
++          vtk9-doc,
++          vtk9-examples
++Breaks: python3-vtk6,
++        python3-vtk7,
++        python3-paraview (<< 5.9.0~rc1-1~)
++Replaces: python3-vtk6,
++          python3-vtk7,
++          python3-paraview (<< 5.9.0~rc1-1~)
++Description: Python bindings for VTK
++ The Visualization Toolkit (VTK) is an open-source software system
++ for 3D computer graphics, image processing, and visualization.
++ .
++ This package provides the python3 bindings for VTK.
++
++Package: vtk9
++Architecture: any
++Section: interpreters
++Depends: libvtk9 (= ${binary:Version}),
++         ${misc:Depends},
++         ${shlibs:Depends}
++Suggests: vtk9-doc,
++          vtk9-examples
++Description: Binaries for VTK9
++ The Visualization Toolkit (VTK) is an open-source software system
++ for 3D computer graphics, image processing, and visualization.
++ .
++ This package provides binaries for VTK9
++
++Package: vtk9-doc
++Architecture: all
++Section: doc
++Depends: doc-base,
++         libjs-jquery,
++       libjs-mathjax,
++         ${misc:Depends}
++Suggests: libvtk9-dev,
++          vtk9-examples
++Description: VTK class reference documentation
++ The Visualization Toolkit (VTK) is an open-source software system
++ for 3D computer graphics, image processing, and visualization.
++ .
++ This package provides documentation for VTK9
++
++Package: vtk9-examples
++Architecture: all
++Depends: ${misc:Depends}
++Suggests: libvtk9-dev,
++          python3,
++          python3-vtk9,
++          vtk9-doc
++Description: VTK examples
++ The Visualization Toolkit (VTK) is an open-source software system
++ for 3D computer graphics, image processing, and visualization.
++ .
++ This package provides examples for VTK9
++
++Package: libvtk9-qt
++Architecture: any
++Section: libs
++Depends: ${misc:Depends},
++         ${shlibs:Depends}
++Description: VTK libraries, Qt files
++ The Visualization Toolkit (VTK) is an open-source software system
++ for 3D computer graphics, image processing, and visualization.
++ .
++ This package provides the shared libraries needed to run C++ programs
++ that use VTK. Qt files
++
++Package: libvtk9-qt-dev
++Architecture: any
++Section: libdevel
++Depends: libvtk9-dev (= ${binary:Version}),
++         libvtk9-qt (= ${binary:Version}),
++         ${misc:Depends},
++         ${shlibs:Depends},
++         qtbase5-dev,
++         qttools5-private-dev,
++         libqt5opengl5-dev,
++         libqt5webkit5-dev
++Description: VTK header files, containing Qt files
++ The Visualization Toolkit (VTK) is an open-source software system
++ for 3D computer graphics, image processing, and visualization.
++ .
++ This package provides the VTK header files required to compile
++ C++ programs that use VTK to do 3D visualisation. Qt files
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..a55fe0cf8e048f7e092e3c3fcc0b92feacc4c58f
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,333 @@@
++Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
++Source: https://www.vtk.org/
++Upstream-Name: Visualization Toolkit
++Files-Excluded:
++  Web/*
++  Examples/GUI/Win32
++  ThirdParty/doubleconversion/vtkdoubleconversion
++  ThirdParty/expat/vtkexpat
++  ThirdParty/freetype/vtkfreetype
++  ThirdParty/gl2ps/vtkgl2ps
++  ThirdParty/hdf5/vtkhdf5
++  ThirdParty/jpeg/vtkjpeg
++  ThirdParty/jsoncpp/vtkjsoncpp
++  ThirdParty/libproj/vtklibproj
++  ThirdParty/libxml2/vtklibxml2
++  ThirdParty/lz4/vtklz4
++  ThirdParty/lzma/vtklzma
++  ThirdParty/netcdf/vtknetcdf
++  ThirdParty/png/vtkpng
++  ThirdParty/sqlite/vtksqlite
++  ThirdParty/tiff/vtktiff
++  ThirdParty/zlib/vtkzlib
++  ThirdParty/glew/vtkglew
++  ThirdParty/utf8/vtkutf8
++  ThirdParty/mpi4py
++  ThirdParty/xdmf3
++  ThirdParty/ogg/vtkogg
++  ThirdParty/theora/vtktheora
++  ThirdParty/eigen/vtkeigen
++
++Files: *
++Copyright: 1993-2015 Ken Martin, Will Schroeder, Bill Lorensen,
++           Kitware inc., Sandia Corporation.
++License: BSD-3-clause
++
++Files: Accelerators/*
++Copyright: 2012 Sandia Corporation.
++License: BSD-3-clause
++
++Files: Common/Core/vtkMersenneTwister.h
++ Common/Core/vtkMersenneTwister_Private.cxx
++Copyright: Ken Martin, Will Schroeder, Bill Lorensen
++          2001-2009 Makoto Matsumoto and Takuji Nishimura.
++          2009 Mutsuo Saito
++License: BSD-2-clause
++
++Files: Common/DataModel/vtkDistributedGraphHelper.cxx
++ Common/DataModel/vtkDistributedGraphHelper.h
++Copyright: Ken Martin, Will Schroeder, Bill Lorensen
++License: BSL-1
++
++Files: Examples/Android/NativeVTK/*
++Copyright: 2010, The Android Open Source Project
++License: Apache-2
++
++Files: Filters/General/vtkTemporalPathLineFilter.cxx
++Copyright: CSCS - Swiss National Supercomputing Centre.
++License: BSD-3-clause
++
++Files: IO/Image/Testing/*
++Copyright: GeometryFactory
++License: BSD-3-clause
++
++Files: IO/PIO/BHTree.cxx
++ IO/PIO/BHTree.h
++Copyright: 2007, Los Alamos National Security, LLC
++License: BSD-3-clause
++
++Files: Interaction/Widgets/Testing/Cxx/*
++Copyright: Ken Martin, Will Schroeder, Bill Lorensen
++License: Apache-2
++
++Files: ThirdParty/diy2/vtkdiy2/*
++Copyright: 2016-2018, Chobolabs Inc.
++License: BSD-3-clause
++
++Files: ThirdParty/diy2/vtkdiy2/include/vtkdiy2/fmt/*
++Copyright: 2012-2016, Victor Zverovich
++License: BSD-like
++  Permission is hereby granted, free of charge, to any person obtaining
++  a copy of this software and associated documentation files (the
++  "Software"), to deal in the Software without restriction, including
++  without limitation the rights to use, copy, modify, merge, publish,
++  distribute, sublicense, and/or sell copies of the Software, and to
++  permit persons to whom the Software is furnished to do so, subject to
++  the following conditions:
++  .
++  The above copyright notice and this permission notice shall be
++  included in all copies or substantial portions of the Software.
++  .
++  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
++  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
++  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
++  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
++  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
++  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
++  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
++  .
++  --- Optional exception to the license ---
++  .
++  As an exception, if, as a result of your compiling your source code, portions
++  of this Software are embedded into a machine-executable object form of such
++  source code, you may redistribute such embedded portions in such object form
++  without including the above copyright and permission notices.
++
++Files: ThirdParty/kissfft/vtkkissfft/*
++Copyright: 2003-2010, Mark Borgerding .
++License: BSD-3-clause
++
++Files: ThirdParty/libharu/vtklibharu/*
++Copyright: 2007-2009, Antony Dovgal
++ 1999-2006, Takeshi Kanno
++ 2007-2009, Antony Dovgal et al.
++ 2000-2006, Takeshi Kanno
++License: Zlib
++
++Files: ThirdParty/pegtl/vtkpegtl/*
++Copyright: 2007-2019, Dr. Colin Hirsch and Daniel Frey
++License: Expat
++
++Files: ThirdParty/pugixml/vtkpugixml/*
++Copyright: 2006-2016, Arseny Kapoulkine
++License: Expat
++
++Files: ThirdParty/vpic/*
++Copyright: 2007, Los Alamos National Security, LLC
++License: BSD-3-clause
++
++Files: ThirdParty/xdmf2/vtkxdmf2/*
++Copyright: 1984, 1989, 1990, 2000-2003, Free Software Foundation, Inc.
++License: GPL-2+
++
++Files: ThirdParty/zfp/vtkzfp/*
++Copyright: 2014-2019, Lawrence Livermore National Security, LLC.
++License: BSD-3-clause-notice
++
++Files: Utilities/DICOMParser/*
++Copyright: 2003, Matt Turek
++License: BSD-3-clause
++
++Files: Utilities/KWSys/*
++Copyright: 1996, Silicon Graphics Computer Systems, Inc.
++License: BSD-3-clause
++
++Files: Utilities/KWSys/vtksys/MD5.c
++Copyright: 1999, 2000, 2002, Aladdin Enterprises.
++License: Zlib
++
++Files: Utilities/Maintenance/*
++Copyright: Insight Software Consortium
++License: Apache-2
++
++Files: Utilities/MetaIO/*
++Copyright: 2000-2011, Insight Software Consortium
++License: Apache-2
++
++License: BSD-3-clause
++  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.
++
++License: BSD-2-clause
++  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.
++  .
++  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 COPYRIGHT
++  OWNER 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.
++
++License: BSL-1
++  Boost Software License - Version 1.0 - August 17th, 2003
++  .
++  Permission is hereby granted, free of charge, to any person or organization
++  obtaining a copy of the software and accompanying documentation covered by
++  this license (the "Software") to use, reproduce, display, distribute,
++  execute, and transmit the Software, and to prepare derivative works of the
++  Software, and to permit third-parties to whom the Software is furnished to
++  do so, all subject to the following:
++  .
++  The copyright notices in the Software and this entire statement, including
++  the above license grant, this restriction and the following disclaimer,
++  must be included in all copies of the Software, in whole or in part, and
++  all derivative works of the Software, unless such copies or derivative
++  works are solely in the form of machine-executable object code generated by
++  a source language processor.
++  .
++  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
++  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
++  FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
++  SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
++  FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
++  ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
++  DEALINGS IN THE SOFTWARE.
++
++License: Apache-2
++  On Debian systems, the full text of the Apache
++  License version 2 can be found in the file
++  `/usr/share/common-licenses/Apache-2'.
++
++License: Zlib
++  This software is provided 'as-is', without any express or implied warranty.
++  .
++  In no event will the authors be held liable for any damages arising from the 
++  use of this software.
++  .
++  Permission is granted to anyone to use this software for any purpose,including 
++  commercial applications, and to alter it and redistribute it freely, subject 
++  to the following restrictions:
++  .
++  1. The origin of this software must not be misrepresented; you must not claim 
++      that you wrote the original software. If you use this software in a 
++      product, an acknowledgment in the product documentation would be 
++      appreciated but is not required.
++  2. Altered source versions must be plainly marked as such, and must not be 
++      misrepresented as being the original software.
++  3. This notice may not be removed or altered from any source distribution.
++
++License: Expat
++  Permission is hereby granted, free of charge, to any person obtaining a copy
++  of this software and associated documentation files (the "Software"), to deal
++  in the Software without restriction, including without limitation the rights
++  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
++  copies of the Software, and to permit persons to whom the Software is
++  furnished to do so, subject to the following conditions:
++  .
++  The above copyright notice and this permission notice shall be included in all
++  copies or substantial portions of the Software.
++  .
++  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
++  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
++  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
++  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
++  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
++  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
++  SOFTWARE.
++
++License: GPL-2+
++  This program is free software; you can redistribute it
++  and/or modify it under the terms of the GNU General Public
++  License as published by the Free Software Foundation; either
++  version 2 of the License, or (at your option) any later
++  version.
++  .
++  On Debian systems, the full text of the GNU General Public
++  License version 2 can be found in the file
++  `/usr/share/common-licenses/GPL-2'.
++
++License: BSD-3-clause-notice
++  Redistribution and use in source and binary forms, with or without
++  modification, are permitted provided that the following conditions are met:
++  .
++  1. Redistributions of source code must retain the above copyright notice,
++  this list of conditions and the disclaimer below.
++  .
++  2. Redistributions in binary form must reproduce the above copyright notice,
++  this list of conditions and the disclaimer (as noted below) in the
++  documentation and/or other materials provided with the distribution.
++  .
++  3. Neither the name of the LLNS/LLNL nor the names of its 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 LAWRENCE LIVERMORE NATIONAL SECURITY,
++  LLC, THE U.S. DEPARTMENT OF ENERGY 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.
++  .
++  .
++  Additional BSD Notice
++  .
++  1. This notice is required to be provided under our contract with the U.S.
++  Department of Energy (DOE).  This work was produced at Lawrence Livermore
++  National Laboratory under Contract No. DE-AC52-07NA27344 with the DOE.
++  .
++  2. Neither the United States Government nor Lawrence Livermore National
++  Security, LLC nor any of their employees, makes any warranty, express or
++  implied, or assumes any liability or responsibility for the accuracy,
++  completeness, or usefulness of any information, apparatus, product, or
++  process disclosed, or represents that its use would not infringe
++  privately-owned rights.
++  .
++  3. Also, reference herein to any specific commercial products, process, or
++  services by trade name, trademark, manufacturer or otherwise does not
++  necessarily constitute or imply its endorsement, recommendation, or
++  favoring by the United States Government or Lawrence Livermore National
++  Security, LLC.  The views and opinions of authors expressed herein do not
++  necessarily state or reflect those of the United States Government or
++  Lawrence Livermore National Security, LLC, and shall not be used for
++  advertising or product endorsement purposes.
diff --cc debian/gbp.conf
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..af46c8f66a492b1c27424cde5052c8831f9913fa
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++[DEFAULT]
++pristine-tar = True
++
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..733942fa5c2eab45492df260eec19e5996d87c91
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++usr/include/vtk-9.0 usr/include
++usr/lib/*/*.so
++usr/lib/*/cmake/vtk-9.0
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..592f0517053c0a67d31a3cfda05d37fccd27ce05
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++libvtk9-dev: script-not-executable
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..d384909a4bcc277d2b7c6160ba06388c084867d7
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++
++usr/share/doc/vtk-9.0/doxygen/* /usr/share/vtk-9.0/doxygen/
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..015479eab4470ae66ac7fb99a89cd45c3fca37ed
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,4 @@@
++usr/bin/vtkParseJava-9.0                    usr/bin
++usr/bin/vtkWrapJava-9.0                     usr/bin
++usr/lib/*/java/vtk9.jar                     usr/share/java
++usr/lib/*/java/vtk-L*
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..0195b3716e7f9f28bff4ed009133e76fdf0c70b1
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++libvtk9-java: shared-library-lacks-prerequisites
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..f2b1d00e68d9b0661a0429847c8c828c73a23d85
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++debian/manpages/vtkParseJava-9.0.1
++debian/manpages/vtkWrapJava-9.0.1
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..9476596e53572e0de2abf575c77d4a39e08450f2
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++usr/lib/*/jni/
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..0be394ae9f62def8cd07cf873b6bdc7ab2ad7ab3
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,4 @@@
++# remove Python files here and privide a symlink in the python package 
++# usr/lib/*/python2.7/site-packages/vtk/*Qt*
++usr/lib/*/*Qt*.so
++usr/include/vtk-9.0/*Qt*
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..4c7a2dd856392c14a08d39f1b89de47e377c57d6
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++usr/lib/*/*Qt*.so.*
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..5c59554693fa34ff8e0bc7dc2cf610fa02421413
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++libvtk9-qt: package-name-doesnt-match-sonames
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..47de4b07ab0675aeca07ff22812e59024185f2b3
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++usr/lib/*/*.so.*
++usr/lib/*/vtk
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..85c26f1ed6a177dcbc69366d3f351054e0e4fe04
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++libvtk9: package-name-doesnt-match-sonames
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..deedc09270c30545087e233f46e3d9b7929a3998
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,56 @@@
++.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.47.16.
++.TH VTKPARSEJAVA-9.0 "1" "November 2020" "vtkParseJava-9.0 9.0" "User Commands"
++.SH NAME
++vtkParseJava-9.0 \- please refer to VTK documentation
++.SH SYNOPSIS
++.B vtkParseJava-9.0
++[\fI\,options\/\fR] \fI\,infile\/\fR...
++.SH DESCRIPTION
++.TP
++\fB\-\-help\fR
++print this help message
++.TP
++\fB\-\-version\fR
++print the VTK version
++.TP
++\fB\-o\fR <file>
++the output file
++.TP
++\fB\-I\fR <dir>
++add an include directory
++.TP
++\fB\-D\fR <macro[=def]>
++define a preprocessor macro
++.TP
++\fB\-U\fR <macro>
++undefine a preprocessor macro
++.TP
++\fB\-imacros\fR <file>
++read macros from a header file
++.TP
++\fB\-undef\fR
++do not predefine platform macros
++.TP
++@<file>
++read arguments from a file
++.TP
++\fB\-dM\fR
++dump all macro definitions to output
++.TP
++\fB\-\-hints\fR <file>
++the hints file to use
++.TP
++\fB\-\-types\fR <file>
++the type hierarchy file to use
++.SH "SEE ALSO"
++The full documentation for
++.B vtkParseJava-9.0
++is maintained as a Texinfo manual.  If the
++.B info
++and
++.B vtkParseJava-9.0
++programs are properly installed at your site, the command
++.IP
++.B info vtkParseJava-9.0
++.PP
++should give you access to the complete manual.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..1f021f6a93270500cd3cb4307c4bec41cfad0e19
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,56 @@@
++.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.47.16.
++.TH VTKPROBEOPENGLVERSION-9.0 "1" "November 2020" "vtkProbeOpenGLVersion-9.0 9.0" "User Commands"
++.SH NAME
++vtkProbeOpenGLVersion-9.0 \- please refer to VTK documentation
++.SH SYNOPSIS
++.B vtkProbeOpenGLVersion-9.0
++[\fI\,options\/\fR] \fI\,infile\/\fR...
++.SH DESCRIPTION
++.TP
++\fB\-\-help\fR
++print this help message
++.TP
++\fB\-\-version\fR
++print the VTK version
++.TP
++\fB\-o\fR <file>
++the output file
++.TP
++\fB\-I\fR <dir>
++add an include directory
++.TP
++\fB\-D\fR <macro[=def]>
++define a preprocessor macro
++.TP
++\fB\-U\fR <macro>
++undefine a preprocessor macro
++.TP
++\fB\-imacros\fR <file>
++read macros from a header file
++.TP
++\fB\-undef\fR
++do not predefine platform macros
++.TP
++@<file>
++read arguments from a file
++.TP
++\fB\-dM\fR
++dump all macro definitions to output
++.TP
++\fB\-\-hints\fR <file>
++the hints file to use
++.TP
++\fB\-\-types\fR <file>
++the type hierarchy file to use
++.SH "SEE ALSO"
++The full documentation for
++.B vtkProbeOpenGLVersion-9.0
++is maintained as a Texinfo manual.  If the
++.B info
++and
++.B vtkProbeOpenGLVersion-9.0
++programs are properly installed at your site, the command
++.IP
++.B info vtkProbeOpenGLVersion-9.0
++.PP
++should give you access to the complete manual.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..7776efa3ff64b90e95a503e22a122705dc3730bb
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,47 @@@
++.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.47.16.
++.TH VTKWRAPHIERARCHY-9.0 "1" "November 2020" "vtkWrapHierarchy-9.0 9.0" "User Commands"
++.SH NAME
++vtkWrapHierarchy-9.0 \- please refer to VTK documentation
++.SH SYNOPSIS
++.B vtkWrapHierarchy-9.0
++[\fI\,options\/\fR] \fI\,infile\/\fR...
++.SH DESCRIPTION
++.TP
++\fB\-\-help\fR
++print this help message
++.TP
++\fB\-\-version\fR
++print the VTK version
++.TP
++\fB\-o\fR <file>
++the output file
++.TP
++\fB\-I\fR <dir>
++add an include directory
++.TP
++\fB\-D\fR <macro[=def]>
++define a preprocessor macro
++.TP
++\fB\-U\fR <macro>
++undefine a preprocessor macro
++.TP
++\fB\-imacros\fR <file>
++read macros from a header file
++.TP
++\fB\-undef\fR
++do not predefine platform macros
++.TP
++@<file>
++read arguments from a file
++.SH "SEE ALSO"
++The full documentation for
++.B vtkWrapHierarchy-9.0
++is maintained as a Texinfo manual.  If the
++.B info
++and
++.B vtkWrapHierarchy-9.0
++programs are properly installed at your site, the command
++.IP
++.B info vtkWrapHierarchy-9.0
++.PP
++should give you access to the complete manual.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..1b53e34eaf9eea39bd288f2c2ba51fbf00d46131
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,56 @@@
++.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.47.16.
++.TH VTKWRAPJAVA-9.0 "1" "November 2020" "vtkWrapJava-9.0 9.0" "User Commands"
++.SH NAME
++vtkWrapJava-9.0 \- please refer to VTK documentation
++.SH SYNOPSIS
++.B vtkWrapJava-9.0
++[\fI\,options\/\fR] \fI\,infile\/\fR...
++.SH DESCRIPTION
++.TP
++\fB\-\-help\fR
++print this help message
++.TP
++\fB\-\-version\fR
++print the VTK version
++.TP
++\fB\-o\fR <file>
++the output file
++.TP
++\fB\-I\fR <dir>
++add an include directory
++.TP
++\fB\-D\fR <macro[=def]>
++define a preprocessor macro
++.TP
++\fB\-U\fR <macro>
++undefine a preprocessor macro
++.TP
++\fB\-imacros\fR <file>
++read macros from a header file
++.TP
++\fB\-undef\fR
++do not predefine platform macros
++.TP
++@<file>
++read arguments from a file
++.TP
++\fB\-dM\fR
++dump all macro definitions to output
++.TP
++\fB\-\-hints\fR <file>
++the hints file to use
++.TP
++\fB\-\-types\fR <file>
++the type hierarchy file to use
++.SH "SEE ALSO"
++The full documentation for
++.B vtkWrapJava-9.0
++is maintained as a Texinfo manual.  If the
++.B info
++and
++.B vtkWrapJava-9.0
++programs are properly installed at your site, the command
++.IP
++.B info vtkWrapJava-9.0
++.PP
++should give you access to the complete manual.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..6d3b899c3a2dd7b26145dd0ed0583ef580a05140
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,56 @@@
++.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.47.16.
++.TH VTKWRAPPYTHON-9.0 "1" "November 2020" "vtkWrapPython-9.0 9.0" "User Commands"
++.SH NAME
++vtkWrapPython-9.0 \- please refer to VTK documentation
++.SH SYNOPSIS
++.B vtkWrapPython-9.0
++[\fI\,options\/\fR] \fI\,infile\/\fR...
++.SH DESCRIPTION
++.TP
++\fB\-\-help\fR
++print this help message
++.TP
++\fB\-\-version\fR
++print the VTK version
++.TP
++\fB\-o\fR <file>
++the output file
++.TP
++\fB\-I\fR <dir>
++add an include directory
++.TP
++\fB\-D\fR <macro[=def]>
++define a preprocessor macro
++.TP
++\fB\-U\fR <macro>
++undefine a preprocessor macro
++.TP
++\fB\-imacros\fR <file>
++read macros from a header file
++.TP
++\fB\-undef\fR
++do not predefine platform macros
++.TP
++@<file>
++read arguments from a file
++.TP
++\fB\-dM\fR
++dump all macro definitions to output
++.TP
++\fB\-\-hints\fR <file>
++the hints file to use
++.TP
++\fB\-\-types\fR <file>
++the type hierarchy file to use
++.SH "SEE ALSO"
++The full documentation for
++.B vtkWrapPython-9.0
++is maintained as a Texinfo manual.  If the
++.B info
++and
++.B vtkWrapPython-9.0
++programs are properly installed at your site, the command
++.IP
++.B info vtkWrapPython-9.0
++.PP
++should give you access to the complete manual.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..55eef6657cabf1ccafc5fba3bbedab98bc62972b
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,56 @@@
++.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.47.16.
++.TH VTKWRAPPYTHONINIT-9.0 "1" "November 2020" "vtkWrapPythonInit-9.0 9.0" "User Commands"
++.SH NAME
++vtkWrapPythonInit-9.0 \- please refer to VTK documentation
++.SH SYNOPSIS
++.B vtkWrapPythonInit-9.0
++[\fI\,options\/\fR] \fI\,infile\/\fR...
++.SH DESCRIPTION
++.TP
++\fB\-\-help\fR
++print this help message
++.TP
++\fB\-\-version\fR
++print the VTK version
++.TP
++\fB\-o\fR <file>
++the output file
++.TP
++\fB\-I\fR <dir>
++add an include directory
++.TP
++\fB\-D\fR <macro[=def]>
++define a preprocessor macro
++.TP
++\fB\-U\fR <macro>
++undefine a preprocessor macro
++.TP
++\fB\-imacros\fR <file>
++read macros from a header file
++.TP
++\fB\-undef\fR
++do not predefine platform macros
++.TP
++@<file>
++read arguments from a file
++.TP
++\fB\-dM\fR
++dump all macro definitions to output
++.TP
++\fB\-\-hints\fR <file>
++the hints file to use
++.TP
++\fB\-\-types\fR <file>
++the type hierarchy file to use
++.SH "SEE ALSO"
++The full documentation for
++.B vtkWrapPythonInit-9.0
++is maintained as a Texinfo manual.  If the
++.B info
++and
++.B vtkWrapPythonInit-9.0
++programs are properly installed at your site, the command
++.IP
++.B info vtkWrapPythonInit-9.0
++.PP
++should give you access to the complete manual.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..4490bb9249a7131154ee9dfba4eafbefeb38ba1c
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,153 @@@
++.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.47.16.
++.TH PYTHON "1" "November 2020" "Python 3.9.0+" "User Commands"
++.SH NAME
++Python \- manual page for vtkPython 3.9.0+ : VTK-Wrapper for Python
++.SH DESCRIPTION
++usage: /usr/bin/../lib/x86_64\-linux\-gnu/vtkpython [option] ... [\-c cmd | \fB\-m\fR mod | file | \fB\-]\fR [arg] ...
++Options and arguments (and corresponding environment variables):
++\fB\-b\fR     : issue warnings about str(bytes_instance), str(bytearray_instance)
++.IP
++and comparing bytes/bytearray with str. (\fB\-bb\fR: issue errors)
++.PP
++\fB\-B\fR     : don't write .pyc files on import; also PYTHONDONTWRITEBYTECODE=x
++\fB\-c\fR cmd : program passed in as string (terminates option list)
++\fB\-d\fR     : debug output from parser; also PYTHONDEBUG=x
++\fB\-E\fR     : ignore PYTHON* environment variables (such as PYTHONPATH)
++\fB\-h\fR     : print this help message and exit (also \fB\-\-help\fR)
++\fB\-i\fR     : inspect interactively after running script; forces a prompt even
++.IP
++if stdin does not appear to be a terminal; also PYTHONINSPECT=x
++.PP
++\fB\-I\fR     : isolate Python from the user's environment (implies \fB\-E\fR and \fB\-s\fR)
++\fB\-m\fR mod : run library module as a script (terminates option list)
++\fB\-O\fR     : remove assert and __debug__\-dependent statements; add .opt\-1 before
++.IP
++\&.pyc extension; also PYTHONOPTIMIZE=x
++.PP
++\fB\-OO\fR    : do \fB\-O\fR changes and also discard docstrings; add .opt\-2 before
++.IP
++\&.pyc extension
++.PP
++\fB\-q\fR     : don't print version and copyright messages on interactive startup
++\fB\-s\fR     : don't add user site directory to sys.path; also PYTHONNOUSERSITE
++\fB\-S\fR     : don't imply 'import site' on initialization
++\fB\-u\fR     : force the stdout and stderr streams to be unbuffered;
++.IP
++this option has no effect on stdin; also PYTHONUNBUFFERED=x
++.PP
++\fB\-v\fR     : verbose (trace import statements); also PYTHONVERBOSE=x
++.IP
++can be supplied multiple times to increase verbosity
++.PP
++\fB\-V\fR     : print the Python version number and exit (also \fB\-\-version\fR)
++.IP
++when given twice, print more information about the build
++.PP
++\fB\-W\fR arg : warning control; arg is action:message:category:module:lineno
++.IP
++also PYTHONWARNINGS=arg
++.PP
++\fB\-x\fR     : skip first line of source, allowing use of non\-Unix forms of #!cmd
++\fB\-X\fR opt : set implementation\-specific option. The following options are available:
++.HP
++\fB\-X\fR faulthandler: enable faulthandler
++.HP
++\fB\-X\fR oldparser: enable the traditional LL(1) parser; also PYTHONOLDPARSER
++.HP
++\fB\-X\fR showrefcount: output the total reference count and number of used
++.IP
++memory blocks when the program finishes or after each statement in the
++interactive interpreter. This only works on debug builds
++.HP
++\fB\-X\fR tracemalloc: start tracing Python memory allocations using the
++.IP
++tracemalloc module. By default, only the most recent frame is stored in a
++traceback of a trace. Use \fB\-X\fR tracemalloc=NFRAME to start tracing with a
++traceback limit of NFRAME frames
++.HP
++\fB\-X\fR importtime: show how long each import takes. It shows module name,
++.IP
++cumulative time (including nested imports) and self time (excluding
++nested imports). Note that its output may be broken in multi\-threaded
++application. Typical usage is python3 \fB\-X\fR importtime \fB\-c\fR 'import asyncio'
++.HP
++\fB\-X\fR dev: enable CPython's "development mode", introducing additional runtime
++.IP
++checks which are too expensive to be enabled by default. Effect of the
++developer mode:
++.IP
++* Add default warning filter, as \fB\-W\fR default
++* Install debug hooks on memory allocators: see the PyMem_SetupDebugHooks() C function
++* Enable the faulthandler module to dump the Python traceback on a crash
++* Enable asyncio debug mode
++* Set the dev_mode attribute of sys.flags to True
++* io.IOBase destructor logs close() exceptions
++.HP
++\fB\-X\fR utf8: enable UTF\-8 mode for operating system interfaces, overriding the default
++.IP
++locale\-aware mode. \fB\-X\fR utf8=0 explicitly disables UTF\-8 mode (even when it would
++otherwise activate automatically)
++.HP
++\fB\-X\fR pycache_prefix=PATH: enable writing .pyc files to a parallel tree rooted at the
++.IP
++given directory instead of to the code tree
++.SS "--check-hash-based-pycs always|default|never:"
++.IP
++control how Python invalidates hash\-based .pyc files
++.PP
++file   : program read from script file
++\-      : program read from stdin (default; interactive mode if a tty)
++arg ...: arguments passed to program in sys.argv[1:]
++.PP
++Other environment variables:
++PYTHONSTARTUP: file executed on interactive startup (no default)
++PYTHONPATH   : ':'\-separated list of directories prefixed to the
++.TP
++default module search path.
++The result is sys.path.
++.PP
++PYTHONHOME   : alternate <prefix> directory (or <prefix>:<exec_prefix>).
++.IP
++The default module search path uses <prefix>/lib/pythonX.X.
++.PP
++PYTHONPLATLIBDIR : override sys.platlibdir.
++PYTHONCASEOK : ignore case in 'import' statements (Windows).
++PYTHONUTF8: if set to 1, enable the UTF\-8 mode.
++PYTHONIOENCODING: Encoding[:errors] used for stdin/stdout/stderr.
++PYTHONFAULTHANDLER: dump the Python traceback on fatal errors.
++PYTHONHASHSEED: if this variable is set to 'random', a random value is used
++.TP
++to seed the hashes of str and bytes objects.
++It can also be set to an
++.IP
++integer in the range [0,4294967295] to get hash values with a
++predictable seed.
++.PP
++PYTHONMALLOC: set the Python memory allocators and/or install debug hooks
++.IP
++on Python memory allocators. Use PYTHONMALLOC=debug to install debug
++hooks.
++.PP
++PYTHONCOERCECLOCALE: if this variable is set to 0, it disables the locale
++.IP
++coercion behavior. Use PYTHONCOERCECLOCALE=warn to request display of
++locale coercion and locale compatibility warnings on stderr.
++.PP
++PYTHONBREAKPOINT: if this variable is set to 0, it disables the default
++.IP
++debugger. It can be set to the callable of your debugger of choice.
++.PP
++PYTHONDEVMODE: enable the development mode.
++PYTHONPYCACHEPREFIX: root directory for bytecode cache (pyc) files.
++.SH "SEE ALSO"
++The full documentation for
++.B Python
++is maintained as a Texinfo manual.  If the
++.B info
++and
++.B Python
++programs are properly installed at your site, the command
++.IP
++.B info Python
++.PP
++should give you access to the complete manual.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..b917377a46a93ad0b90519834860bc4f8c95dd74
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,16 @@@
++Description: _matplotlib
++Index: VTK-9.0.1/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.h
++===================================================================
++--- VTK-9.0.1.orig/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.h
+++++ VTK-9.0.1/Rendering/Matplotlib/vtkMatplotlibMathTextUtilities.h
++@@ -151,6 +151,10 @@ private:
++    * to implement IsAvailable.
++    */
++   static Availability CheckMPLAvailability();
+++  static void DisableMPL()
+++    {
+++    MPLMathTextAvailable = UNAVAILABLE;
+++    };
++ 
++   //@{
++   /**
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..8b4e89f981b055b9db664b2f36449785a0377ca2
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,16 @@@
++Description: Do not try linking with -lsocket
++
++Index: VTK-9.0.1/Common/System/vtkTestSocketFeatures.cmake
++===================================================================
++--- VTK-9.0.1.orig/Common/System/vtkTestSocketFeatures.cmake
+++++ VTK-9.0.1/Common/System/vtkTestSocketFeatures.cmake
++@@ -6,9 +6,6 @@ check_library_exists("socket" getsocknam
++ 
++ if(NOT DEFINED VTK_HAVE_GETSOCKNAME_WITH_SOCKLEN_T)
++   set(VTK_GETSOCKNAME_LIBS)
++-  if(VTK_HAVE_LIBSOCKET)
++-    list(APPEND VTK_GETSOCKNAME_LIBS "socket")
++-  endif()
++   message(STATUS "Checking for getsockname with socklen_t")
++   try_compile(VTK_HAVE_GETSOCKNAME_WITH_SOCKLEN_T_COMPILED
++     ${CMAKE_CURRENT_BINARY_DIR}/CMakeTmp/SocklenT
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..3b2a8871c34268a8ac837029795f84f87dcd1dae
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,14 @@@
++Description: Drop medical examples
++Last-Update: 2020-10-21
++
++--- vtk9-9.0.1+dfsg1.orig/Examples/CMakeLists.txt
+++++ vtk9-9.0.1+dfsg1/Examples/CMakeLists.txt
++@@ -55,7 +55,7 @@ else ()
++   add_example(IO/Cxx)
++   add_example(ImageProcessing/Cxx)
++   add_example(Infovis/Cxx)
++-  add_example(Medical/Cxx)
+++  #add_example(Medical/Cxx)
++   add_example(Modelling/Cxx)
++   add_example(MultiBlock/Cxx)
++   add_example(ParallelProcessing/Generic/Cxx)
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..68a950c46e20c0fb7d4dde55cfd1f8b0c1ae3e38
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,35 @@@
++Description: Rename vtkpython to vtkpython-9.0
++Author: Anton Gladky <gladk@debian.org>
++Last-Update: 2020-11-05
++
++Index: vtk9-9.0.1+dfsg1/Wrapping/Python/CMakeLists.txt
++===================================================================
++--- vtk9-9.0.1+dfsg1.orig/Wrapping/Python/CMakeLists.txt
+++++ vtk9-9.0.1+dfsg1/Wrapping/Python/CMakeLists.txt
++@@ -23,21 +23,21 @@ endif ()
++ 
++ # The interpreters are not supported in wheel builds, so skip them.
++ if (NOT VTK_WHEEL_BUILD)
++-  add_executable(vtkpython
+++  add_executable(vtkpython-9.0
++     vtkpython.rc
++     vtkPythonAppInit.cxx)
++-  target_link_libraries(vtkpython
+++  target_link_libraries(vtkpython-9.0
++     PRIVATE
++       VTK::WrappingPythonCore
++       VTK::PythonInterpreter
++       VTK::Python
++       VTK::vtkpythonmodules
++       VTK::vtksys)
++-  add_executable(VTK::vtkpython ALIAS vtkpython)
+++  add_executable(VTK::vtkpython-9.0 ALIAS vtkpython-9.0)
++   if (VTK_INSTALL_PYTHON_EXES)
++     install(
++-      TARGETS     vtkpython
++-      EXPORT      VTKPython
+++      TARGETS     vtkpython-9.0
+++      EXPORT      VTK9Python
++       DESTINATION "${CMAKE_INSTALL_BINDIR}")
++   endif ()
++ 
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..61e6fc98c8f1c06f3944284b15533d9357c67aac
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,30 @@@
++Description: Fix path for the installation of python modules
++Author: Anton Gladky <gladk@debian.org>
++Last-Update: 2020-11-06
++
++Index: vtk9-9.0.1+dfsg1/CMake/vtkModuleWrapPython.cmake
++===================================================================
++--- vtk9-9.0.1+dfsg1.orig/CMake/vtkModuleWrapPython.cmake
+++++ vtk9-9.0.1+dfsg1/CMake/vtkModuleWrapPython.cmake
++@@ -84,7 +84,7 @@ function (vtk_module_python_default_dest
++         "for Python modules.")
++       set(_vtk_python_version_suffix)
++     endif ()
++-    set(destination "${CMAKE_INSTALL_LIBDIR}/python${_vtk_python_version_suffix}/site-packages")
+++    set(destination "lib/python3/dist-packages")
++   endif ()
++ 
++   set("${var}" "${destination}" PARENT_SCOPE)
++Index: vtk9-9.0.1+dfsg1/Utilities/Python/CMakeLists.txt
++===================================================================
++--- vtk9-9.0.1+dfsg1.orig/Utilities/Python/CMakeLists.txt
+++++ vtk9-9.0.1+dfsg1/Utilities/Python/CMakeLists.txt
++@@ -77,7 +77,7 @@ if (NOT VTK_PYTHON_SITE_PACKAGES_SUFFIX)
++     set(VTK_PYTHON_SITE_PACKAGES_SUFFIX "Lib/site-packages")
++   else ()
++     set(VTK_PYTHON_SITE_PACKAGES_SUFFIX
++-      "python${vtk_python_version_pair}/site-packages")
+++      "python3/dist-packages")
++   endif ()
++ endif ()
++ 
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..cd69a5dbc27a1c08d62e6681c4b58949be24301d
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,52 @@@
++Description: Fix shebang for the perl scripts
++Author: Anton Gladky <gladk@debian.org>
++Last-Update: 2020-11-08
++
++--- vtk9-9.0.1+dfsg1.orig/Utilities/Doxygen/doc_class2example.pl
+++++ vtk9-9.0.1+dfsg1/Utilities/Doxygen/doc_class2example.pl
++@@ -1,4 +1,4 @@
++-#!/usr/bin/env perl
+++#!/usr/bin/perl
++ # Time-stamp: <2004-06-09 11:12:38 barre>
++ #
++ # Build cross-references between classes and examples
++--- vtk9-9.0.1+dfsg1.orig/Utilities/Doxygen/doc_cleanhtml.pl
+++++ vtk9-9.0.1+dfsg1/Utilities/Doxygen/doc_cleanhtml.pl
++@@ -1,4 +1,4 @@
++-#!/usr/bin/env perl
+++#!/usr/bin/perl
++ # Time-stamp: <2002-10-25 20:17:59 barre>
++ #
++ # Clean the HTML generated by Doxygen to remove some layout quicks
++--- vtk9-9.0.1+dfsg1.orig/Utilities/Doxygen/doc_codematch.pl
+++++ vtk9-9.0.1+dfsg1/Utilities/Doxygen/doc_codematch.pl
++@@ -1,4 +1,4 @@
++-#!/usr/bin/env perl
+++#!/usr/bin/perl
++ # Time-stamp: <2002-01-18 16:17:26 barre>
++ #
++ # Summary ?
++--- vtk9-9.0.1+dfsg1.orig/Utilities/Doxygen/doc_index.pl
+++++ vtk9-9.0.1+dfsg1/Utilities/Doxygen/doc_index.pl
++@@ -1,4 +1,4 @@
++-#!/usr/bin/env perl
+++#!/usr/bin/perl
++ # Time-stamp: <2001-11-21 17:40:48 barre>
++ #
++ # Build full-text index
++--- vtk9-9.0.1+dfsg1.orig/Utilities/Doxygen/doc_rmpath.pl
+++++ vtk9-9.0.1+dfsg1/Utilities/Doxygen/doc_rmpath.pl
++@@ -1,4 +1,4 @@
++-#!/usr/bin/env perl
+++#!/usr/bin/perl
++ # Time-stamp: <2001-10-05 11:49:40 barre>
++ #
++ # Remove path to intermediate Doxygen dir from html doc
++--- vtk9-9.0.1+dfsg1.orig/Utilities/Doxygen/doc_version.pl
+++++ vtk9-9.0.1+dfsg1/Utilities/Doxygen/doc_version.pl
++@@ -1,4 +1,4 @@
++-#!/usr/bin/env perl
+++#!/usr/bin/perl
++ # Time-stamp: <2006-11-15 13:25:02 barre>
++ #
++ # Extract VTK version and add it to documentation
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..2473932f3260eeb9cb8849fed4114274ff13efa3
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,15 @@@
++Description: Fix python numpy warning
++Author: Anton Gladky <gladk@debian.org>
++Last-Update: 2020-11-09
++
++--- vtk9-9.0.1+dfsg1.orig/Wrapping/Python/vtkmodules/numpy_interface/algorithms.py
+++++ vtk9-9.0.1+dfsg1/Wrapping/Python/vtkmodules/numpy_interface/algorithms.py
++@@ -206,7 +206,7 @@ def _global_func(impl, array, axis, cont
++                 return dsa.NoneArray;
++ 
++             if res is dsa.NoneArray:
++-                if max_dims is 1:
+++                if max_dims == 1:
++                     # Weird trick to make the array look like a scalar
++                     max_dims = ()
++                 res = numpy.empty(max_dims)
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..3160976ceb51f0058ce3f2e49dd98114acc5866a
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,95 @@@
++Description: Allow compilation on GLES platforms
++From a89d6fa9a70054c7bd1718b58996b290ba06ee7f Mon Sep 17 00:00:00 2001
++From: stefan.bruens@rwth-aachen.de
++Date: Tue, 9 Jun 2020 17:34:39 +0200
++Subject: [PATCH] Remove duplicate check for QOpenGLFunctions_3_2_Core*
++
++The return value is already checked in QVTKRenderWindowAdapter::blit(),
++no need to do it twice.
++---
++ GUISupport/Qt/QVTKOpenGLNativeWidget.cxx | 20 ++++-------
++ GUISupport/Qt/QVTKOpenGLWindow.cxx       | 42 ++++++++++--------------
++ 2 files changed, 25 insertions(+), 37 deletions(-)
++
++Index: vtk9-9.0.1+dfsg1/GUISupport/Qt/QVTKOpenGLNativeWidget.cxx
++===================================================================
++--- vtk9-9.0.1+dfsg1.orig/GUISupport/Qt/QVTKOpenGLNativeWidget.cxx
+++++ vtk9-9.0.1+dfsg1/GUISupport/Qt/QVTKOpenGLNativeWidget.cxx
++@@ -19,7 +19,6 @@
++ #include <QOpenGLContext>
++ #include <QOpenGLFramebufferObject>
++ #include <QOpenGLFunctions>
++-#include <QOpenGLFunctions_3_2_Core>
++ #include <QOpenGLTexture>
++ #include <QPointer>
++ #include <QScopedValueRollback>
++@@ -237,14 +236,10 @@ void QVTKOpenGLNativeWidget::paintGL()
++     // before proceeding with blit-ing.
++     this->makeCurrent();
++ 
++-    QOpenGLFunctions_3_2_Core* f =
++-      QOpenGLContext::currentContext()->versionFunctions<QOpenGLFunctions_3_2_Core>();
++-    if (f)
++-    {
++-      const QSize deviceSize = this->size() * this->devicePixelRatioF();
++-      this->RenderWindowAdapter->blit(
++-        this->defaultFramebufferObject(), GL_COLOR_ATTACHMENT0, QRect(QPoint(0, 0), deviceSize));
++-    }
+++    const QSize deviceSize = this->size() * this->devicePixelRatioF();
+++    this->RenderWindowAdapter->blit(
+++      this->defaultFramebufferObject(), GL_COLOR_ATTACHMENT0, QRect(QPoint(0, 0), deviceSize));
+++
++   }
++   else
++   {
++Index: vtk9-9.0.1+dfsg1/GUISupport/Qt/QVTKOpenGLWindow.cxx
++===================================================================
++--- vtk9-9.0.1+dfsg1.orig/GUISupport/Qt/QVTKOpenGLWindow.cxx
+++++ vtk9-9.0.1+dfsg1/GUISupport/Qt/QVTKOpenGLWindow.cxx
++@@ -19,7 +19,6 @@
++ #include <QOpenGLContext>
++ #include <QOpenGLFramebufferObject>
++ #include <QOpenGLFunctions>
++-#include <QOpenGLFunctions_3_2_Core>
++ #include <QOpenGLTexture>
++ #include <QPointer>
++ #include <QScopedValueRollback>
++@@ -230,25 +229,20 @@ void QVTKOpenGLWindow::paintGL()
++     // before proceeding with blit-ing.
++     this->makeCurrent();
++ 
++-    QOpenGLFunctions_3_2_Core* f =
++-      QOpenGLContext::currentContext()->versionFunctions<QOpenGLFunctions_3_2_Core>();
++-    if (f)
+++    const QSize deviceSize = this->size() * this->devicePixelRatioF();
+++    const auto fmt = this->context()->format();
+++    if (fmt.stereo() && this->RenderWindow->GetStereoRender() &&
+++      this->RenderWindow->GetStereoType() == VTK_STEREO_CRYSTAL_EYES)
++     {
++-      const QSize deviceSize = this->size() * this->devicePixelRatioF();
++-      const auto fmt = this->context()->format();
++-      if (fmt.stereo() && this->RenderWindow->GetStereoRender() &&
++-        this->RenderWindow->GetStereoType() == VTK_STEREO_CRYSTAL_EYES)
++-      {
++-        this->RenderWindowAdapter->blitLeftEye(
++-          this->defaultFramebufferObject(), GL_BACK_LEFT, QRect(QPoint(0, 0), deviceSize));
++-        this->RenderWindowAdapter->blitRightEye(
++-          this->defaultFramebufferObject(), GL_BACK_RIGHT, QRect(QPoint(0, 0), deviceSize));
++-      }
++-      else
++-      {
++-        this->RenderWindowAdapter->blit(
++-          this->defaultFramebufferObject(), GL_BACK, QRect(QPoint(0, 0), deviceSize));
++-      }
+++      this->RenderWindowAdapter->blitLeftEye(
+++        this->defaultFramebufferObject(), GL_BACK_LEFT, QRect(QPoint(0, 0), deviceSize));
+++      this->RenderWindowAdapter->blitRightEye(
+++        this->defaultFramebufferObject(), GL_BACK_RIGHT, QRect(QPoint(0, 0), deviceSize));
+++    }
+++    else
+++    {
+++      this->RenderWindowAdapter->blit(
+++        this->defaultFramebufferObject(), GL_BACK, QRect(QPoint(0, 0), deviceSize));
++     }
++   }
++   else
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..938d842c71130354c88e92ce46ad1497e8f3da81
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,46 @@@
++From d7fe3fe9df8c26b5a9ea036511cdb1640f5ae2b4 Mon Sep 17 00:00:00 2001
++From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
++Date: Sun, 28 Jun 2020 22:13:32 +0200
++Subject: Replace last glDrawBuffer call with glDrawBuffers(1, ...)
++
++glDrawBuffer is only available in Desktop OpenGL, while the equivalent
++glDrawBuffers is valid also for GLES.
++
++Just defining glDrawBuffer as an empty macro is obviously not the right
++solution, as the call is also required on GLES. This also causes
++a compilation failure - GL.h may be included via GLX.h on X11 platforms,
++and the glDrawBuffer prototype declaration becomes malformed.
++---
++ Rendering/ContextOpenGL2/vtkOpenGLContextDevice2DPrivate.h | 3 ++-
++ ThirdParty/glew/vtk_glew.h.in                              | 1 -
++ 2 files changed, 2 insertions(+), 2 deletions(-)
++
++diff --git a/Rendering/ContextOpenGL2/vtkOpenGLContextDevice2DPrivate.h b/Rendering/ContextOpenGL2/vtkOpenGLContextDevice2DPrivate.h
++index 5632547459..ae3bd53f05 100644
++--- a/Rendering/ContextOpenGL2/vtkOpenGLContextDevice2DPrivate.h
+++++ b/Rendering/ContextOpenGL2/vtkOpenGLContextDevice2DPrivate.h
++@@ -324,7 +324,8 @@ public:
++ 
++       if (this->SavedDrawBuffer != GL_BACK_LEFT)
++       {
++-        glDrawBuffer(this->SavedDrawBuffer);
+++        const GLenum bufs[1] = { static_cast<GLenum>(this->SavedDrawBuffer) };
+++        ::glDrawBuffers(1, bufs);
++       }
++ 
++       ostate->vtkglClearColor(this->SavedClearColor[0], this->SavedClearColor[1],
++diff --git a/ThirdParty/glew/vtk_glew.h.in b/ThirdParty/glew/vtk_glew.h.in
++index 6aa8c2ee9e..6afed1d655 100644
++--- a/ThirdParty/glew/vtk_glew.h.in
+++++ b/ThirdParty/glew/vtk_glew.h.in
++@@ -52,7 +52,6 @@
++ 
++ /* some fixes for both ES 2 and 3 */
++ #ifdef GL_ES_VERSION_3_0
++-#  define glDrawBuffer(arg)
++ #  define GL_BACK_LEFT 0
++ #  define GL_BACK_RIGHT 0
++ #  define GL_FRONT_LEFT 0
++-- 
++2.20.1
++
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..ee1d4e3405d2da76edf5c207bb8fd2e66ade49e6
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,61 @@@
++From b48706fdff04672bdad6d10afae23afc26b89178 Mon Sep 17 00:00:00 2001
++From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
++Date: Tue, 9 Jun 2020 17:11:12 +0200
++Subject: Fix compilation when Qt is built for GLES platforms
++
++On GLES 2.0/3.0 platforms (more specifically, for Qt5 "opengl es2" builds),
++QOpenGLFunctions_3_2_Core does not exist.
++
++After the last restructuring, from the GL 3.2 Core functions only
++glDrawBuffer is used. glDrawBuffer can be trivially replaced with
++glDrawBuffers, which is part of OpenGL 2.0 and GLES 3.0, and as an
++extension in many GLES 2.0 implementations.
++---
++ GUISupport/Qt/QVTKRenderWindowAdapter.cxx | 10 +++++-----
++ 1 file changed, 5 insertions(+), 5 deletions(-)
++
++diff --git a/GUISupport/Qt/QVTKRenderWindowAdapter.cxx b/GUISupport/Qt/QVTKRenderWindowAdapter.cxx
++index 5a66e236df..530cec9b2a 100644
++--- a/GUISupport/Qt/QVTKRenderWindowAdapter.cxx
+++++ b/GUISupport/Qt/QVTKRenderWindowAdapter.cxx
++@@ -28,9 +28,8 @@
++ #include <QOffscreenSurface>
++ #include <QOpenGLContext>
++ #include <QOpenGLDebugLogger>
+++#include <QOpenGLExtraFunctions>
++ #include <QOpenGLFramebufferObject>
++-#include <QOpenGLFunctions>
++-#include <QOpenGLFunctions_3_2_Core>
++ #include <QPointer>
++ #include <QScopedValueRollback>
++ #include <QScreen>
++@@ -334,14 +333,15 @@ public:
++     {
++       return false;
++     }
++-    QOpenGLFunctions_3_2_Core* f = this->Context->versionFunctions<QOpenGLFunctions_3_2_Core>();
+++    QOpenGLExtraFunctions* f = this->Context->extraFunctions();
++     if (!f)
++     {
++       return false;
++     }
++ 
++     f->glBindFramebuffer(GL_DRAW_FRAMEBUFFER, targetId);
++-    f->glDrawBuffer(targetAttachment);
+++    const GLenum bufs[1] = { static_cast<GLenum>(targetAttachment) };
+++    f->glDrawBuffers(1, bufs);
++ 
++     f->glBindFramebuffer(GL_READ_FRAMEBUFFER, this->FBO->handle());
++     f->glReadBuffer(
++@@ -436,7 +436,7 @@ public:
++   {
++     Q_ASSERT(this->Context && this->FBO);
++ 
++-    QOpenGLFunctions_3_2_Core* f = this->Context->versionFunctions<QOpenGLFunctions_3_2_Core>();
+++    QOpenGLFunctions* f = this->Context->functions();
++     if (f)
++     {
++       // now clear alpha otherwise we end up blending the rendering with
++-- 
++2.20.1
++
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..2e862f542d6bf2c8040d7d574c5f5adaa6f60c0a
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,29 @@@
++From 572a554967c84bba101cf03e3d22c89113407d49 Mon Sep 17 00:00:00 2001
++From: Adrian Bunk <bunk@debian.org>
++Date: Fri, 11 Dec 2020 10:42:37 +0200
++Subject: HACK: QVTKOpenGLWindow.cxx: Define GL_BACK_{LEFT,RIGHT} for Qt with
++ OpenGL ES
++
++---
++ GUISupport/Qt/QVTKOpenGLWindow.cxx | 5 +++++
++ 1 file changed, 5 insertions(+)
++
++diff --git a/GUISupport/Qt/QVTKOpenGLWindow.cxx b/GUISupport/Qt/QVTKOpenGLWindow.cxx
++index 3bddc19809..79d5c2b653 100644
++--- a/GUISupport/Qt/QVTKOpenGLWindow.cxx
+++++ b/GUISupport/Qt/QVTKOpenGLWindow.cxx
++@@ -35,6 +35,11 @@
++ #include "vtkObjectFactory.h"
++ #include "vtkOpenGLState.h"
++ 
+++#ifndef GL_BACK_LEFT
+++#define GL_BACK_LEFT GL_BACK
+++#define GL_BACK_RIGHT GL_BACK
+++#endif
+++
++ QVTKOpenGLWindow::QVTKOpenGLWindow(QOpenGLWindow::UpdateBehavior ub, QWindow* p)
++   : QVTKOpenGLWindow(vtkSmartPointer<vtkGenericOpenGLRenderWindow>::New(), nullptr, ub, p)
++ {
++-- 
++2.20.1
++
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..9c09fb122bb89c61bbcb60985db7e2f30361fb44
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,19 @@@
++Description: Fix FTBFS against freetype 2.10.4
++Author: mathstuf
++Reviewed-By: Anton Gladky <gladk@debian.org>
++Bug-Debian: https://bugs.debian.org/976975
++Forwarded: https://github.com/Kitware/VTK/commit/3edc0de2b04ae1e100c229e592d6b9fa94f2915a
++Last-Update: 2020-12-10
++
++--- vtk9-9.0.1+dfsg1.orig/Rendering/FreeType/vtkFreeTypeTools.cxx
+++++ vtk9-9.0.1+dfsg1/Rendering/FreeType/vtkFreeTypeTools.cxx
++@@ -378,8 +378,7 @@ FTC_CMapCache* vtkFreeTypeTools::GetCMap
++ }
++ 
++ //----------------------------------------------------------------------------
++-FT_CALLBACK_DEF(FT_Error)
++-vtkFreeTypeToolsFaceRequester(
+++static FT_Error vtkFreeTypeToolsFaceRequester(
++   FTC_FaceID face_id, FT_Library lib, FT_Pointer request_data, FT_Face* face)
++ {
++ #if VTK_FTFC_DEBUG_CD
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..ef2e24cf7a8f1ff19d1ebbc67fa48dc5df42481c
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,12 @@@
++10_matplotlib.patch
++20_do_not_link_against_socket.patch
++30_drop_medical_example.patch
++40_vtkpython-9.patch
++50_fix_python-modules_path.patch
++60_fix_path_perl.patch
++70_fix_python_numpy_warning.patch
++80_allow_gles_platforms.patch
++81_allow_gles_platforms.patch
++82_allow_gles_platforms.patch
++83_allow_gles_platforms.patch
++90_fix_freetype_compilation.patch
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..6f726f37386f2a0ec540b570058a01210e76bdef
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,4 @@@
++usr/lib/python3
++usr/bin/vtkpython-9.0
++usr/bin/vtkWrapPython-9.0
++usr/bin/vtkWrapPythonInit-9.0
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..c8798d1ff558fab9378d90c289e127756d97131e
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++debian/manpages/vtkWrapPython-9.0.1
++debian/manpages/vtkWrapPythonInit-9.0.1
++debian/manpages/vtkpython-9.0.1
diff --cc debian/rules
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..28d8f8e4ae631c5318f3cadac837b051159f77f1
new file mode 100755 (executable)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,83 @@@
++#!/usr/bin/make -f
++BUILDDIR = $(CURDIR)/debian/build
++
++DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
++
++export JAVA_HOME=/usr/lib/jvm/default-java
++
++ifneq (,$(filter $(DEB_HOST_ARCH), armel m68k mips mipsel powerpc sh4))
++  export DEB_CXXFLAGS_MAINT_APPEND += -Wl,--no-as-needed -latomic -Wl,--as-needed
++  export DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed -latomic -Wl,--as-needed
++endif
++
++%:
++      dh $@ --buildsystem=cmake --builddirectory=$(BUILDDIR) --with python3 --with javahelper
++
++extra_flags +=  \
++      -DBUILD_SHARED_LIBS=ON \
++      -DCMAKE_C_COMPILER=mpicc \
++      -DCMAKE_CXX_COMPILER=mpic++ \
++      -DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -latomic" \
++      -DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed" \
++      -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed" \
++      -DCMAKE_VERBOSE_MAKEFILE=ON \
++      -DHDF5_IS_PARALLEL=OFF \
++      -DVTK_BUILD_DOCUMENTATION=ON \
++      -DVTK_BUILD_EXAMPLES=OFF \
++      -DVTK_BUILD_TESTING=OFF \
++      -DVTK_EXTRA_COMPILER_WARNINGS=ON \
++      -DVTK_MODULE_ENABLE_VTK_RenderingQt:STRING="YES" \
++      -DVTK_MODULE_ENABLE_VTK_RenderingTk:STRING="YES" \
++      -DVTK_MODULE_ENABLE_VTK_utf8:STRING="YES" \
++      -DVTK_MODULE_USE_EXTERNAL_VTK_doubleconversion:BOOL=ON \
++      -DVTK_MODULE_USE_EXTERNAL_VTK_eigen:BOOL=ON \
++      -DVTK_MODULE_USE_EXTERNAL_VTK_expat:BOOL=ON \
++      -DVTK_MODULE_USE_EXTERNAL_VTK_freetype:BOOL=ON \
++      -DVTK_MODULE_USE_EXTERNAL_VTK_gl2ps:BOOL=ON \
++      -DVTK_MODULE_USE_EXTERNAL_VTK_glew:BOOL=ON \
++      -DVTK_MODULE_USE_EXTERNAL_VTK_hdf5:BOOL=ON \
++      -DVTK_MODULE_USE_EXTERNAL_VTK_jpeg:BOOL=ON \
++      -DVTK_MODULE_USE_EXTERNAL_VTK_jsoncpp:BOOL=ON \
++      -DVTK_MODULE_USE_EXTERNAL_VTK_libproj:BOOL=ON \
++      -DVTK_MODULE_USE_EXTERNAL_VTK_libxml2:BOOL=ON \
++      -DVTK_MODULE_USE_EXTERNAL_VTK_lz4:BOOL=ON \
++      -DVTK_MODULE_USE_EXTERNAL_VTK_lzma:BOOL:BOOL=ON \
++      -DVTK_MODULE_USE_EXTERNAL_VTK_netcdf:BOOL=ON \
++      -DVTK_MODULE_USE_EXTERNAL_VTK_ogg:BOOL=ON \
++      -DVTK_MODULE_USE_EXTERNAL_VTK_png:BOOL=ON \
++      -DVTK_MODULE_USE_EXTERNAL_VTK_sqlite:BOOL=ON \
++      -DVTK_MODULE_USE_EXTERNAL_VTK_theora:BOOL=ON \
++      -DVTK_MODULE_USE_EXTERNAL_VTK_tiff:BOOL=ON \
++      -DVTK_MODULE_USE_EXTERNAL_VTK_utf8:BOOL=ON \
++      -DVTK_MODULE_USE_EXTERNAL_VTK_zlib:BOOL=ON \
++      -DVTK_PYTHON_VERSION:STRING=3 \
++      -DVTK_USE_TK=ON \
++      -DVTK_WRAP_JAVA=ON \
++      -DVTK_WRAP_PYTHON=ON \
++    -DCMAKE_BUILD_TYPE=RelWithDebInfo
++
++override_dh_auto_configure:
++      dh_auto_configure -- $(extra_flags)
++
++override_dh_auto_clean:
++      dh_auto_clean
++      rm -rf $(BUILDDIR)
++
++override_dh_auto_build:
++      dh_auto_build
++      cd $(BUILDDIR) && make DoxygenDoc
++      find $(BUILDDIR)/Utilities/Doxygen/doc/html/ -name "*.md5" | xargs rm -f
++
++override_dh_auto_install:
++      dh_auto_install -X.pyc -X.pyo
++      # Correct headers for paraview
++      mv $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/java/vtk.jar $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/java/vtk9.jar
++      sed -i -e "s/FATAL_ERROR/STATUS/g" $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/cmake/vtk-9.0/VTK-targets.cmake
++
++override_dh_install:
++      dh_install
++      rm -rf $(CURDIR)/debian/tmp/usr/share/licenses
++      find $(CURDIR)/debian/libvtk9-dev/ -name "*Qt*" -exec rm {} \; || true
++      find $(CURDIR)/debian/libvtk9-dev/ -name "libvtkRenderingPythonTkWidgets.so" -exec rm {} \; || true
++      find $(CURDIR)/debian/libvtk9/ -name "*Qt*" -exec rm {} \; || true
++      find $(CURDIR)/debian/libvtk9-dev/usr/include/ -name "Q*" -exec rm {} \; || true
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..163aaf8d82b6c54f23c45f32895dbdfdcc27b047
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++3.0 (quilt)
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..4c4d218efd3b12bb46c61ec718eec943fa7e073d
new file mode 100755 (executable)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,175 @@@
++#!/bin/sh
++# autopkgtest check
++# (C) 2014 Anton Gladky
++
++set -e
++
++export OMPI_MCA_orte_rsh_agent=/bin/false
++
++WORKDIR=$(mktemp -d)
++trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
++cd $WORKDIR
++mkdir src
++cd src
++
++cat <<EOF > CMakeLists.txt
++cmake_minimum_required(VERSION 2.6)
++project(demo)
++find_package(VTK REQUIRED)
++
++add_executable(demo demo.cpp)
++target_link_libraries(demo \${VTK_LIBRARIES})
++install(TARGETS demo DESTINATION bin)
++
++EOF
++
++cat <<EOF > demo.cpp
++#include <vtkVersion.h>
++#include <vtkBooleanOperationPolyDataFilter.h>
++ 
++#include <vtkActor.h>
++#include <vtkPolyDataReader.h>
++#include <vtkPolyDataMapper.h>
++#include <vtkProperty.h>
++#include <vtkRenderer.h>
++#include <vtkRenderWindow.h>
++#include <vtkRenderWindowInteractor.h>
++#include <vtkSmartPointer.h>
++#include <vtkSphereSource.h>
++ 
++int main(int argc, char *argv[])
++{
++  vtkSmartPointer<vtkPolyData> input1;
++  vtkSmartPointer<vtkPolyData> input2;
++ 
++  std::string operation("intersection");
++ 
++  if (argc == 4)
++    {
++    vtkSmartPointer<vtkPolyDataReader> reader1 =
++      vtkSmartPointer<vtkPolyDataReader>::New();
++    reader1->SetFileName(argv[1]);
++    reader1->Update();
++    input1 = reader1->GetOutput();
++ 
++    vtkSmartPointer<vtkPolyDataReader> reader2 =
++      vtkSmartPointer<vtkPolyDataReader>::New();
++    reader2->SetFileName(argv[3]);
++    reader2->Update();
++    input2 = reader2->GetOutput();
++ 
++    operation = argv[2];
++    }
++  else
++    {
++    vtkSmartPointer<vtkSphereSource> sphereSource1 =
++      vtkSmartPointer<vtkSphereSource>::New();
++    sphereSource1->SetCenter(.25, 0, 0);
++    sphereSource1->Update();
++    input1 = sphereSource1->GetOutput();
++ 
++    vtkSmartPointer<vtkSphereSource> sphereSource2 =
++      vtkSmartPointer<vtkSphereSource>::New();
++    sphereSource2->Update();
++    input2 = sphereSource2->GetOutput();
++ 
++    if (argc == 2)
++      {
++      operation = argv[1];
++      }
++    }
++ 
++  vtkSmartPointer<vtkPolyDataMapper> input1Mapper =
++    vtkSmartPointer<vtkPolyDataMapper>::New();
++#if VTK_MAJOR_VERSION <= 5
++  input1Mapper->SetInputConnection( input1->GetProducerPort() );
++#else
++  input1Mapper->SetInputData( input1 );
++#endif
++  input1Mapper->ScalarVisibilityOff();
++  vtkSmartPointer<vtkActor> input1Actor =
++    vtkSmartPointer<vtkActor>::New();
++  input1Actor->SetMapper( input1Mapper );
++  input1Actor->GetProperty()->SetColor(1,0,0);
++  input1Actor->SetPosition(
++    input1->GetBounds()[1]-input1->GetBounds()[0],
++    0, 0);
++  vtkSmartPointer<vtkPolyDataMapper> input2Mapper =
++    vtkSmartPointer<vtkPolyDataMapper>::New();
++#if VTK_MAJOR_VERSION <= 5
++  input2Mapper->SetInputConnection( input2->GetProducerPort() );
++#else
++  input2Mapper->SetInputData( input2 );
++#endif
++  input2Mapper->ScalarVisibilityOff();
++  vtkSmartPointer<vtkActor> input2Actor =
++    vtkSmartPointer<vtkActor>::New();
++  input2Actor->SetMapper( input2Mapper );
++  input2Actor->GetProperty()->SetColor(0,1,0);
++  input2Actor->SetPosition(
++    -(input2->GetBounds()[1]-input2->GetBounds()[0]),
++    0, 0);
++  vtkSmartPointer<vtkBooleanOperationPolyDataFilter> booleanOperation =
++    vtkSmartPointer<vtkBooleanOperationPolyDataFilter>::New();
++  if (operation == "union")
++    {
++      booleanOperation->SetOperationToUnion();
++    }
++  else if (operation == "intersection")
++    {
++      booleanOperation->SetOperationToIntersection();
++    }
++  else if (operation == "difference")
++    {
++      booleanOperation->SetOperationToDifference();
++    }
++  else
++    {
++    std::cout << "Unknown operation: " << operation << std::endl;
++    return EXIT_FAILURE;
++    }
++#if VTK_MAJOR_VERSION <= 5
++  booleanOperation->SetInputConnection( 0, input1->GetProducerPort() );
++  booleanOperation->SetInputConnection( 1, input2->GetProducerPort() );
++#else
++  booleanOperation->SetInputData( 0, input1 );
++  booleanOperation->SetInputData( 1, input2 );
++#endif
++  vtkSmartPointer<vtkPolyDataMapper> booleanOperationMapper =
++    vtkSmartPointer<vtkPolyDataMapper>::New();
++  booleanOperationMapper->SetInputConnection( booleanOperation->GetOutputPort() );
++  booleanOperationMapper->ScalarVisibilityOff();
++ 
++  vtkSmartPointer<vtkActor> booleanOperationActor =
++    vtkSmartPointer<vtkActor>::New();
++  booleanOperationActor->SetMapper( booleanOperationMapper );
++ 
++  vtkSmartPointer<vtkRenderer> renderer =
++    vtkSmartPointer<vtkRenderer>::New();
++  renderer->AddViewProp(input1Actor);
++  renderer->AddViewProp(input2Actor);
++  renderer->AddViewProp(booleanOperationActor);
++  renderer->SetBackground(.1, .2, .3);
++  vtkSmartPointer<vtkRenderWindow> renderWindow =
++    vtkSmartPointer<vtkRenderWindow>::New();
++  renderWindow->AddRenderer( renderer );
++ 
++  vtkSmartPointer<vtkRenderWindowInteractor> renWinInteractor =
++    vtkSmartPointer<vtkRenderWindowInteractor>::New();
++  renWinInteractor->SetRenderWindow( renderWindow );
++ 
++  return EXIT_SUCCESS;
++}
++
++EOF
++
++cd ..
++mkdir build
++cd build
++cmake -DCMAKE_INSTALL_PREFIX=./../inst ./../src
++make
++make install
++echo "build: OK"
++[ -x demo ]
++./demo
++echo "run: OK"
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..1bda84e23ae597edb2c4a1aa9814e3d8b3b6fce2
new file mode 100755 (executable)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,58 @@@
++#!/bin/sh
++# autopkgtest check
++# (C) 2014 Anton Gladky
++
++set -e
++
++export OMPI_MCA_orte_rsh_agent=/bin/false
++
++WORKDIR=$(mktemp -d)
++trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
++cd $WORKDIR
++mkdir src
++cd src
++
++cat <<EOF > CMakeLists.txt
++cmake_minimum_required(VERSION 2.6)
++project(demo)
++find_package(VTK REQUIRED)
++
++add_executable(demo demo.cpp)
++target_link_libraries(demo \${VTK_LIBRARIES})
++install(TARGETS demo DESTINATION bin)
++EOF
++
++cat <<EOF > demo.cpp
++#include <vtkMath.h>
++ 
++int main(int, char *[])
++{
++  // Create two points.
++  double p0[3] = {0.0, 0.0, 0.0};
++  double p1[3] = {1.0, 1.0, 1.0};
++ 
++  // Find the squared distance between the points.
++  double squaredDistance = vtkMath::Distance2BetweenPoints(p0, p1);
++ 
++  // Take the square root to get the Euclidean distance between the points.
++  double distance = sqrt(squaredDistance);
++ 
++  // Output the results.
++  std::cout << "SquaredDistance = " << squaredDistance << std::endl;
++  std::cout << "Distance = " << distance << std::endl;
++ 
++  return EXIT_SUCCESS;
++}
++
++EOF
++
++cd ..
++mkdir build
++cd build
++cmake -DCMAKE_INSTALL_PREFIX=./../inst ./../src
++make
++make install
++echo "build: OK"
++[ -x demo ]
++./demo
++echo "run: OK"
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..8dbc5daebfdcf2ee36464d91c14fd4587cdee3dd
new file mode 100755 (executable)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,83 @@@
++#!/bin/sh
++# autopkgtest check
++# (C) 2014 Anton Gladky
++
++set -e
++
++export OMPI_MCA_orte_rsh_agent=/bin/false
++
++WORKDIR=$(mktemp -d)
++trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
++cd $WORKDIR
++mkdir src
++cd src
++
++cat <<EOF > CMakeLists.txt
++cmake_minimum_required(VERSION 2.6)
++project(demo)
++find_package(VTK REQUIRED)
++
++add_executable(demo demo.cpp)
++target_link_libraries(demo \${VTK_LIBRARIES})
++install(TARGETS demo DESTINATION bin)
++EOF
++
++cat <<EOF > demo.cpp
++#include <vtkImageData.h>
++#include <vtkPNGWriter.h>
++#include <vtkSmartPointer.h>
++#include <vtkImageCanvasSource2D.h>
++#include <vtkImageCast.h>
++ 
++int main(int argc, char *argv[])
++{
++  std::string outputFilename;
++  if( argc > 1)
++    {
++    outputFilename = argv[1];
++    }
++  else
++    {
++    outputFilename = "output.png";
++    }
++ 
++  int extent[6] = {0, 99, 0, 99, 0, 0};
++  vtkSmartPointer<vtkImageCanvasSource2D> imageSource =
++    vtkSmartPointer<vtkImageCanvasSource2D>::New();
++  imageSource->SetExtent(extent);
++  imageSource->SetScalarTypeToUnsignedChar();
++  imageSource->SetNumberOfScalarComponents(3);
++  imageSource->SetDrawColor(127, 45, 255);
++  imageSource->FillBox(0, 99, 0, 99);
++  imageSource->SetDrawColor(255,255,255);
++  imageSource->FillBox(40, 70, 20, 50);
++  imageSource->Update();
++ 
++  vtkSmartPointer<vtkImageCast> castFilter =
++    vtkSmartPointer<vtkImageCast>::New();
++  castFilter->SetOutputScalarTypeToUnsignedChar ();
++  castFilter->SetInputConnection(imageSource->GetOutputPort());
++  castFilter->Update();
++ 
++  vtkSmartPointer<vtkPNGWriter> writer =
++    vtkSmartPointer<vtkPNGWriter>::New();
++  writer->SetFileName(outputFilename.c_str());
++  writer->SetInputConnection(castFilter->GetOutputPort());
++  writer->Write();
++ 
++  return EXIT_SUCCESS;
++}
++
++
++EOF
++
++cd ..
++mkdir build
++cd build
++cmake -DCMAKE_INSTALL_PREFIX=./../inst ./../src
++make
++make install
++echo "build: OK"
++[ -x demo ]
++./demo
++echo "run: OK"
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..dbc9cb2826b5a4272c52c3f400fd565733d10aad
new file mode 100755 (executable)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,58 @@@
++#!/bin/sh
++# autopkgtest check
++# (C) 2014 Anton Gladky
++
++set -e
++
++export OMPI_MCA_orte_rsh_agent=/bin/false
++
++WORKDIR=$(mktemp -d)
++trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
++cd $WORKDIR
++mkdir src
++cd src
++
++cat <<EOF > CMakeLists.txt
++cmake_minimum_required(VERSION 2.6)
++project(demo)
++find_package(VTK REQUIRED)
++
++add_executable(demo demo.cpp)
++target_link_libraries(demo \${VTK_LIBRARIES})
++install(TARGETS demo DESTINATION bin)
++EOF
++
++cat <<EOF > demo.cpp
++#include <vtkPolyData.h>
++#include <vtkSimplePointsWriter.h>
++#include <vtkSphereSource.h>
++#include <vtkSmartPointer.h>
++ 
++int main(int argc, char *argv[])
++{
++  vtkSmartPointer<vtkSphereSource> sphereSource =
++    vtkSmartPointer<vtkSphereSource>::New();
++  sphereSource->Update();
++ 
++  vtkSmartPointer<vtkSimplePointsWriter> writer =
++    vtkSmartPointer<vtkSimplePointsWriter>::New();
++  writer->SetFileName("test.xyz");
++  writer->SetInputConnection(sphereSource->GetOutputPort());
++  writer->Write();
++ 
++  return EXIT_SUCCESS;
++}
++
++EOF
++
++cd ..
++mkdir build
++cd build
++cmake -DCMAKE_INSTALL_PREFIX=./../inst ./../src
++make
++make install
++echo "build: OK"
++[ -x demo ]
++./demo
++cat test.xyz
++echo "run: OK"
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..ff49ddddbd98492dfc86109ddf739b97e911b6ca
new file mode 100755 (executable)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,72 @@@
++#!/bin/sh
++# autopkgtest check
++# (C) 2014 Anton Gladky
++
++set -e
++
++export OMPI_MCA_orte_rsh_agent=/bin/false
++
++WORKDIR=$(mktemp -d)
++trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
++cd $WORKDIR
++mkdir src
++cd src
++
++cat <<EOF > CMakeLists.txt
++cmake_minimum_required(VERSION 2.6)
++project(demo)
++find_package(VTK REQUIRED)
++
++add_executable(demo demo.cpp)
++target_link_libraries(demo \${VTK_LIBRARIES})
++install(TARGETS demo DESTINATION bin)
++EOF
++
++cat <<EOF > demo.cpp
++#include <vtkVersion.h>
++#include <vtkCellArray.h>
++#include <vtkPoints.h>
++#include <vtkXMLPolyDataWriter.h>
++#include <vtkPolyData.h>
++#include <vtkSmartPointer.h>
++ 
++int main ( int, char *[] )
++{
++  vtkSmartPointer<vtkPoints> points = 
++    vtkSmartPointer<vtkPoints>::New();
++ 
++  for ( unsigned int i = 0; i < 10; ++i )
++    {
++    points->InsertNextPoint ( i, i, i );
++    }
++ 
++  vtkSmartPointer<vtkPolyData> polydata = 
++    vtkSmartPointer<vtkPolyData>::New();
++  polydata->SetPoints(points);
++ 
++  vtkSmartPointer<vtkXMLPolyDataWriter> writer =  
++    vtkSmartPointer<vtkXMLPolyDataWriter>::New();
++  writer->SetFileName("test.vtp");
++#if VTK_MAJOR_VERSION <= 5
++  writer->SetInput(polydata);
++#else
++  writer->SetInputData(polydata);
++#endif
++  writer->Write();
++ 
++  return EXIT_SUCCESS;
++}
++
++EOF
++
++cd ..
++mkdir build
++cd build
++cmake -DCMAKE_INSTALL_PREFIX=./../inst ./../src
++make
++make install
++echo "build: OK"
++[ -x demo ]
++./demo
++cat test.vtp
++echo "run: OK"
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..960e51e1e478cfc9c4ad41df422db6f3a649f54e
new file mode 100755 (executable)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,128 @@@
++#!/bin/sh
++# autopkgtest check
++# (C) 2014 Anton Gladky
++
++set -e
++
++export OMPI_MCA_orte_rsh_agent=/bin/false
++
++WORKDIR=$(mktemp -d)
++trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
++cd $WORKDIR
++mkdir src
++cd src
++
++cat <<EOF > CMakeLists.txt
++cmake_minimum_required(VERSION 2.6)
++project(demo)
++find_package(VTK REQUIRED)
++
++add_executable(demo demo.cpp)
++target_link_libraries(demo \${VTK_LIBRARIES})
++install(TARGETS demo DESTINATION bin)
++EOF
++
++cat <<EOF > demo.cpp
++#include <vtkVersion.h>
++#include <vtkSmartPointer.h>
++#include <vtkTetra.h>
++#include <vtkCellArray.h>
++#include <vtkXMLUnstructuredGridReader.h>
++#include <vtkDataSetMapper.h>
++#include <vtkActor.h>
++#include <vtkRenderer.h>
++#include <vtkRenderWindow.h>
++#include <vtkRenderWindowInteractor.h>
++#include <vtkXMLUnstructuredGridWriter.h>
++#include <vtkUnstructuredGrid.h>
++#include <vtkPointData.h>
++#include <vtkVertexGlyphFilter.h>
++ 
++int main(int argc, char *argv[])
++{
++  if(argc != 2)
++    {
++    std::cout << "Required arguments: OutputFilename" << std::endl;
++    return EXIT_FAILURE;
++    }
++ 
++  std::string filename = argv[1];
++ 
++  vtkSmartPointer<vtkPoints> points =
++    vtkSmartPointer<vtkPoints>::New();
++  points->InsertNextPoint(0, 0, 0);
++  points->InsertNextPoint(1, 0, 0);
++  points->InsertNextPoint(1, 1, 0);
++  points->InsertNextPoint(0, 1, 1);
++ 
++   vtkSmartPointer<vtkTetra> tetra =
++    vtkSmartPointer<vtkTetra>::New();
++ 
++  tetra->GetPointIds()->SetId(0, 0);
++  tetra->GetPointIds()->SetId(1, 1);
++  tetra->GetPointIds()->SetId(2, 2);
++  tetra->GetPointIds()->SetId(3, 3);
++ 
++  vtkSmartPointer<vtkCellArray> cellArray =
++    vtkSmartPointer<vtkCellArray>::New();
++  cellArray->InsertNextCell(tetra);
++ 
++ 
++  vtkSmartPointer<vtkUnstructuredGrid> unstructuredGrid =
++    vtkSmartPointer<vtkUnstructuredGrid>::New();
++  unstructuredGrid->SetPoints(points);
++  unstructuredGrid->SetCells(VTK_TETRA, cellArray);
++ 
++  // Write file
++  vtkSmartPointer<vtkXMLUnstructuredGridWriter> writer =
++    vtkSmartPointer<vtkXMLUnstructuredGridWriter>::New();
++  writer->SetFileName(filename.c_str());
++#if VTK_MAJOR_VERSION <= 5
++  writer->SetInput(unstructuredGrid);
++#else
++  writer->SetInputData(unstructuredGrid);
++#endif
++  writer->Write();
++ 
++  vtkSmartPointer<vtkXMLUnstructuredGridReader> reader =
++    vtkSmartPointer<vtkXMLUnstructuredGridReader>::New();
++  reader->SetFileName(filename.c_str());
++  reader->Update();
++ 
++  vtkSmartPointer<vtkDataSetMapper> mapper =
++    vtkSmartPointer<vtkDataSetMapper>::New();
++  mapper->SetInputConnection(reader->GetOutputPort());
++ 
++  vtkSmartPointer<vtkActor> actor =
++    vtkSmartPointer<vtkActor>::New();
++  actor->SetMapper(mapper);
++ 
++  vtkSmartPointer<vtkRenderer> renderer =
++    vtkSmartPointer<vtkRenderer>::New();
++  vtkSmartPointer<vtkRenderWindow> renderWindow =
++    vtkSmartPointer<vtkRenderWindow>::New();
++  renderWindow->AddRenderer(renderer);
++  vtkSmartPointer<vtkRenderWindowInteractor> renderWindowInteractor =
++    vtkSmartPointer<vtkRenderWindowInteractor>::New();
++  renderWindowInteractor->SetRenderWindow(renderWindow);
++ 
++  renderer->AddActor(actor);
++  renderer->SetBackground(.3, .6, .3);
++ 
++  return EXIT_SUCCESS;
++}
++
++
++EOF
++
++cd ..
++mkdir build
++cd build
++cmake -DCMAKE_INSTALL_PREFIX=./../inst ./../src
++make
++make install
++echo "build: OK"
++[ -x demo ]
++./demo a.vtu
++cat a.vtu
++echo "run: OK"
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..94e924a992d1093f62f53b777db64a397b7a76f3
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++Tests: buildBoolean buildPoint buildVTU buildDistance buildPNG buildVTP
++Depends: libvtk9-dev, libvtk9-qt-dev, build-essential, cmake
++Restrictions: allow-stderr
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..0618033da7e7994c94cbc1d621b9b496ee93897f
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,11 @@@
++Name: VTK
++Bug-Database: https://gitlab.kitware.com/vtk/vtk/issues
++Bug-Submit: https://gitlab.kitware.com/vtk/vtk/issues/new
++Documentation: https://vtk.org/documentation/
++Repository: https://gitlab.kitware.com/vtk/vtk.git
++Repository-Browse: https://gitlab.kitware.com/vtk/vtk
++Reference:
++  Author: Schroeder, Will and Martin, Ken and Lorensen, Bill
++  Year: 2006
++  Title: The Visualization Toolkit (4th ed.)
++  ISBN: 978-1-930934-19-1
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..dba89dfb056ba0a8cc669cd9abfa594bee327ec6
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++debian/tmp/usr/share/doc/vtk-9.0/doxygen
++debian/build/Utilities/Doxygen/doc/html
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..f7b2e731454bfc74110ae1b62206d21e8ee43b3a
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++usr/share/javascript/jquery/jquery.js usr/share/doc/vtk9-doc/html/jquery.js
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..a8d52f4de81349275f348d09e883a36ce7ae5360
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++Examples/
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..30059ddd8d0456eb0701ee3e1d6c2de761cee2c2
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++usr/bin/vtkWrapHierarchy-9.0
++usr/bin/vtkProbeOpenGLVersion-9.0
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..9565d626456cd8854121a4a527146aa9b99695e0
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++debian/manpages/vtkWrapHierarchy-9.0.1
++debian/manpages/vtkProbeOpenGLVersion-9.0.1
diff --cc debian/watch
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..65f01a205fcc904842027130de71c7958f938e81
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++version=4
++opts=repacksuffix=+dfsg1,uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)\d*)$/$1~$2/,dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$// \
++https://github.com/Kitware/VTK/tags .*/v?(9\.\d\S*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz))