Package: paraview
Version: 4.0.1-1ubuntu1
Severity: normal
Dear Maintainer,
I'm developing an application, which based on paraview custom app mod. When
build it on ubuntu 14.04 LTS,
I found that there are some bugs in paraview-dev-4.0.1. Here is the errors
output by cmake:
***
$HOME/Projects/ParaFlow/build cmake ../
CMake Error at /usr/lib/cmake/paraview/ParaViewTargets.cmake:1498 (message):
The imported target ProcessShader references the file
/usr/bin/vtkProcessShader
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
/usr/lib/cmake/paraview/ParaViewTargets.cmake
but not all the files it references.
Call Stack (most recent call first):
/usr/lib/cmake/paraview/ParaViewConfig.cmake:36 (include)
CMakeLists.txt:4 (find_package)
-- Configuring incomplete, errors occurred!
See also $HOME/Projects/ParaFlow/build/CMakeFiles/CMakeOutput.log.
See also $HOME/Projects/ParaFlow/build/CMakeFiles/CMakeError.log.
make: *** [cmake_check_build_system] Error 1
***
As the cmake says, this error is caused by the lack of some files, so we should
install the these files.
Finally I fixed this bug just by including the missed files in paraview-
dev.install and turn on the flag
QT_TESTING_INSTALL_DEVELOPMENT in /debian/rules. These missed files should
be included by
paraview-dev for who wish to use paraview-dev's headers with cmake .
Meanwhile, some of the features in paraview's stable release were not enabled
in the debian releases,
such as ViSit and CGNS. While without these features, paraview will be not
able to open some type of files.
To enable visit ViSit and CGNS, we should turn PARAVIEW_USE_VISITBRIDGE
VISIT_BUILD_READER_CGNS
on and have small changes on the paraview's source code cause the config header
file of libcgns-dev.
-- System Information:
Debian Release: jessie/sid
APT prefers trusty-updates
APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500,
'trusty-proposed'), (500, 'trusty'), (100, 'trusty-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.13.0-32-generic (SMP w/4 CPU cores)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages paraview depends on:
ii libavcodec54 6:9.14-0ubuntu0.14.04.1
ii libavformat54 6:9.14-0ubuntu0.14.04.1
ii libavutil52 6:9.14-0ubuntu0.14.04.1
ii libc6 2.19-0ubuntu6
ii libexpat1 2.1.0-4ubuntu1
ii libfreetype6 2.5.2-1ubuntu2.2
ii libgcc1 1:4.9-20140406-0ubuntu1
ii libgl1-mesa-glx [libgl1] 10.1.3-0ubuntu0.1
ii libhdf5-7 [libhdf5-7] 1.8.11-5ubuntu7
ii libjpeg8 8c-2ubuntu8
ii libjsoncpp0 0.6.0~rc2-3ubuntu1
ii libogg0 1.3.1-1ubuntu1
ii libopenmpi1.6 1.6.5-8
ii libpng12-01.2.50-1ubuntu2
ii libpython2.7 2.7.6-8
ii libqt4-help 4:4.8.5+git192-g085f851+dfsg-2ubuntu4
ii libqt4-network4:4.8.5+git192-g085f851+dfsg-2ubuntu4
ii libqtcore44:4.8.5+git192-g085f851+dfsg-2ubuntu4
ii libqtgui4 4:4.8.5+git192-g085f851+dfsg-2ubuntu4
ii libqtwebkit4 2.3.2-0ubuntu7
ii libstdc++64.8.2-19ubuntu1
ii libswscale2 6:9.14-0ubuntu0.14.04.1
ii libtheora01.1.1+dfsg.1-3.2
ii libtiff5 4.0.3-7ubuntu0.1
ii libx11-6 2:1.6.2-1ubuntu2
ii libxml2 2.9.1+dfsg1-3ubuntu4.3
ii libxt61:1.1.4-1
ii tcl [tclsh] 8.6.0+6ubuntu3
ii zlib1g1:1.2.8.dfsg-1ubuntu1
Versions of packages paraview recommends:
ii mpi-default-bin 1.0.2ubuntu1
ii paraview-doc 4.0.1-1ubuntu1
pn paraview-python none
Versions of packages paraview suggests:
pn h5utils none
ii hdf5-tools 1.8.11-5ubuntu7
-- no debconf information
From b85f0117c7f1299cb5fb341112dc347b627e870b Mon Sep 17 00:00:00 2001
From: HuiJie Zhang yitianb...@gmail.com
Date: Tue, 1 Jul 2014 21:45:45 +0800
Subject: [PATCH] fix bugs in paraview-devel, enable VISIT and cgns
Signed-off-by: HuiJie Zhang yitianb...@gmail.com
---
Utilities/VisItBridge/databases/CGNS/avtCGNSFileFormat.h | 5 +
debian/paraview-dev.install | 15 +++
debian/rules | 6 +-
3 files changed, 25 insertions(+), 1 deletion(-)
diff --git a/Utilities/VisItBridge/databases/CGNS/avtCGNSFileFormat.h b/Utilities/VisItBridge/databases/CGNS/avtCGNSFileFormat.h
index 4a5714d..1afbdd8