[med-svn] r6206 - in trunk/packages: . activiz.net activiz.net/debian activiz.net/debian/patches activiz.net/debian/source

Mathieu Malaterre malat-guest at alioth.debian.org
Tue Mar 8 10:22:32 UTC 2011


Author: malat-guest
Date: 2011-03-08 10:22:22 +0000 (Tue, 08 Mar 2011)
New Revision: 6206

Added:
   trunk/packages/activiz.net/
   trunk/packages/activiz.net/debian/
   trunk/packages/activiz.net/debian/README.Debian
   trunk/packages/activiz.net/debian/README.source
   trunk/packages/activiz.net/debian/activiz.net-doc.docs
   trunk/packages/activiz.net/debian/activiz.net-examples.install
   trunk/packages/activiz.net/debian/activiz.net.install
   trunk/packages/activiz.net/debian/changelog
   trunk/packages/activiz.net/debian/compat
   trunk/packages/activiz.net/debian/control
   trunk/packages/activiz.net/debian/copyright
   trunk/packages/activiz.net/debian/doc-base.ug
   trunk/packages/activiz.net/debian/get-orig-source.sh
   trunk/packages/activiz.net/debian/patches/
   trunk/packages/activiz.net/debian/patches/cmake_version.patch
   trunk/packages/activiz.net/debian/patches/donotinstallmummydll.patch
   trunk/packages/activiz.net/debian/patches/mummy_runtime_path.patch
   trunk/packages/activiz.net/debian/patches/remove_testing.patch
   trunk/packages/activiz.net/debian/patches/series
   trunk/packages/activiz.net/debian/patches/vtk_cxx_files.patch
   trunk/packages/activiz.net/debian/patches/vtk_hints_location.patch
   trunk/packages/activiz.net/debian/rules
   trunk/packages/activiz.net/debian/source/
   trunk/packages/activiz.net/debian/source/format
Log:
Start activiz.net package

Added: trunk/packages/activiz.net/debian/README.Debian
===================================================================
--- trunk/packages/activiz.net/debian/README.Debian	                        (rev 0)
+++ trunk/packages/activiz.net/debian/README.Debian	2011-03-08 10:22:22 UTC (rev 6206)
@@ -0,0 +1,7 @@
+activiz.net for Debian
+------------------------
+
+The original package expect to find the Build Tree of VTK to parse the CMakeCache.txt file
+The build system was modified to only expect an Install Tree of VTK.
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Wed, 16 Feb 2011 20:36:39 +0100

Added: trunk/packages/activiz.net/debian/README.source
===================================================================
--- trunk/packages/activiz.net/debian/README.source	                        (rev 0)
+++ trunk/packages/activiz.net/debian/README.source	2011-03-08 10:22:22 UTC (rev 6206)
@@ -0,0 +1,9 @@
+activiz.net for Debian
+------------------------
+
+This packages uses a patch system. Please read
+/usr/share/doc/quilt/README.source for more informations.
+
+
+
+

Added: trunk/packages/activiz.net/debian/activiz.net-examples.install
===================================================================
--- trunk/packages/activiz.net/debian/activiz.net-examples.install	                        (rev 0)
+++ trunk/packages/activiz.net/debian/activiz.net-examples.install	2011-03-08 10:22:22 UTC (rev 6206)
@@ -0,0 +1 @@
+usr/Examples/*  usr/share/activiz.net/examples

Added: trunk/packages/activiz.net/debian/activiz.net.install
===================================================================
--- trunk/packages/activiz.net/debian/activiz.net.install	                        (rev 0)
+++ trunk/packages/activiz.net/debian/activiz.net.install	2011-03-08 10:22:22 UTC (rev 6206)
@@ -0,0 +1 @@
+usr/bin/* usr/lib/activiz.net

Added: trunk/packages/activiz.net/debian/changelog
===================================================================
--- trunk/packages/activiz.net/debian/changelog	                        (rev 0)
+++ trunk/packages/activiz.net/debian/changelog	2011-03-08 10:22:22 UTC (rev 6206)
@@ -0,0 +1,5 @@
+activiz.net (5.6.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #611764)
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Wed, 16 Feb 2011 20:36:39 +0100

Added: trunk/packages/activiz.net/debian/compat
===================================================================
--- trunk/packages/activiz.net/debian/compat	                        (rev 0)
+++ trunk/packages/activiz.net/debian/compat	2011-03-08 10:22:22 UTC (rev 6206)
@@ -0,0 +1 @@
+7

Added: trunk/packages/activiz.net/debian/control
===================================================================
--- trunk/packages/activiz.net/debian/control	                        (rev 0)
+++ trunk/packages/activiz.net/debian/control	2011-03-08 10:22:22 UTC (rev 6206)
@@ -0,0 +1,50 @@
+Source: activiz.net
+Section: graphics
+Priority: optional
+Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
+DM-Upload-Allowed: yes
+Uploaders: Mathieu Malaterre <mathieu.malaterre at gmail.com>
+Build-Depends: debhelper (>= 7.0.50~), cmake, libvtk5-dev, mummy, gccxml, libvtk5-dev, mono-devel
+Standards-Version: 3.9.1
+Homepage: http://www.kitware.com/products/avdownload.php
+Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/activiz.net/trunk
+Vcs-Browser: http://svn.debian.org/viewsvn/debian-science/packages/activiz.net/trunk
+
+Package: activiz.net
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Tool for generating C# wrappers around VTK
+ ActiViz provides a powerful interface to the Visualization Toolkit (VTK), an
+ object-oriented software system encompassing thousands of algorithms that
+ transform data into interactive 3D environments. ActiViz, which generates C#
+ wrappers around VTK, enables developers to combine the power of VTK with the
+ many .NET framework objects for web and database access. Available as source
+ code or as a pre-built WinForms Control, ActiViz .NET includes examples, online
+ documentation, and supports IntelliSense in the .NET Framework
+
+Package: activiz.net-doc
+Architecture: all
+Depends: ${misc:Depends}, doc-base
+Suggests: vtk-examples
+Section: doc
+Description:  ActiViz.NET documentation
+ ActiViz provides a powerful interface to the Visualization Toolkit (VTK), an
+ object-oriented software system encompassing thousands of algorithms that
+ transform data into interactive 3D environments.
+ .
+ This package contains exhaustive HTML documentation for the all the
+ documented ActiViz.NET C# classes.
+
+Package: activiz.net-examples
+Architecture: all
+Section: graphics
+Depends: ${misc:Depends}
+Description: ActiViz.NET examples
+ ActiViz provides a powerful interface to the Visualization Toolkit (VTK), an
+ object-oriented software system encompassing thousands of algorithms that
+ transform data into interactive 3D environments.
+ The Visualization Toolkit (VTK) is an object oriented, high level
+ library that allows one to easily write C++ programs, Tcl, Python and
+ Java scripts that do 3D visualization.
+ .
+ This package contains examples from the ActiViz.NET source.

Added: trunk/packages/activiz.net/debian/copyright
===================================================================
--- trunk/packages/activiz.net/debian/copyright	                        (rev 0)
+++ trunk/packages/activiz.net/debian/copyright	2011-03-08 10:22:22 UTC (rev 6206)
@@ -0,0 +1,80 @@
+This work was packaged for Debian by:
+
+    Mathieu Malaterre <mathieu.malaterre at gmail.com> on Wed, 16 Feb 2011 20:36:39 +0100
+
+It was downloaded from:
+
+    http://www.kitware.com/products/avdownload.php
+
+Upstream Author(s):
+
+    <kitware at kitware.com>
+
+Copyright:
+
+    <Copyright (C) 2006-2011 Kitware Inc.>
+
+License:
+
+    ActiViz .NET OpenSource Edition
+    
+    Copyright (c) 2006-2011 Kitware Inc.
+    All rights reserved.
+    
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted provided that the following conditions are met:
+    
+     * Redistributions of source code must retain the above copyright notice,
+       this list of conditions and the following disclaimer.
+    
+     * Redistributions in binary form must reproduce the above copyright notice,
+       this list of conditions and the following disclaimer in the documentation
+       and/or other materials provided with the distribution.
+    
+     * Neither name of Kitware, Inc. 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.
+
+The Debian packaging is:
+
+    Copyright (C) 2011 Mathieu Malaterre <mathieu.malaterre at gmail.com>
+
+and is licensed under the BSD license:
+
+Copyright (c) The Regents of the University of California.
+All rights reserved.
+
+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 following disclaimer.
+2. 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.
+3. Neither the name of the University 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 REGENTS 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 REGENTS 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.

Added: trunk/packages/activiz.net/debian/doc-base.ug
===================================================================
--- trunk/packages/activiz.net/debian/doc-base.ug	                        (rev 0)
+++ trunk/packages/activiz.net/debian/doc-base.ug	2011-03-08 10:22:22 UTC (rev 6206)
@@ -0,0 +1,15 @@
+Document: activiz.net
+Title: ActiViz.NET User's Guide
+Author: William J. Schroeder
+Abstract: ActiViz .NET provides an integration layer for The Visualization
+ Toolkit (see the next section for more information about VTK) enabling VTK to
+ be used in the Microsoft .NET framework. This means that you can tap into the
+ power of VTK using .NET programming languages such as C# and Visual Basic .NET.
+ ActiViz .NET is designed for the application developer creating software in the
+ Microsoft .NET framework. While the system does come with a useful application
+ (i.e., the Wikipedia Browser), realizing the full power of ActiViz .NET
+ requires you to write software programs.
+Section: Science/Medicine
+
+Format: PDF
+Files: /usr/share/doc/activiz.net/UsersGuide.pdf

Added: trunk/packages/activiz.net/debian/get-orig-source.sh
===================================================================
--- trunk/packages/activiz.net/debian/get-orig-source.sh	                        (rev 0)
+++ trunk/packages/activiz.net/debian/get-orig-source.sh	2011-03-08 10:22:22 UTC (rev 6206)
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+# We need to be matching VTK version actually:
+#VERSION=5.6.1
+VERSION=`dpkg-parsechangelog | grep '^Version' | cut -d' ' -f2 | cut -f1 -d-`
+
+rm -rf activiz.net-$VERSION
+
+# c31433cf52778339d29404a7818f4b6c188d5212
+git clone git://public.kitware.com/activizdotnet.git activiz.net-$VERSION
+cd activiz.net-$VERSION
+rm -rf .git
+
+cd ..
+
+GZIP=-9 tar cfz activiz.net_$VERSION.orig.tar.gz activiz.net-$VERSION


Property changes on: trunk/packages/activiz.net/debian/get-orig-source.sh
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/packages/activiz.net/debian/patches/cmake_version.patch
===================================================================
--- trunk/packages/activiz.net/debian/patches/cmake_version.patch	                        (rev 0)
+++ trunk/packages/activiz.net/debian/patches/cmake_version.patch	2011-03-08 10:22:22 UTC (rev 6206)
@@ -0,0 +1,10 @@
+Index: activizdotnet-5.6.1/CMakeLists.txt
+===================================================================
+--- activizdotnet-5.6.1.orig/CMakeLists.txt	2011-02-16 20:37:30.000000000 +0100
++++ activizdotnet-5.6.1/CMakeLists.txt	2011-02-16 20:37:35.000000000 +0100
+@@ -1,4 +1,4 @@
+-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.3 FATAL_ERROR)
++CMAKE_MINIMUM_REQUIRED(VERSION 2.8.2 FATAL_ERROR)
+ PROJECT(ActiVizDotNet)
+ 
+ 

Added: trunk/packages/activiz.net/debian/patches/donotinstallmummydll.patch
===================================================================
--- trunk/packages/activiz.net/debian/patches/donotinstallmummydll.patch	                        (rev 0)
+++ trunk/packages/activiz.net/debian/patches/donotinstallmummydll.patch	2011-03-08 10:22:22 UTC (rev 6206)
@@ -0,0 +1,15 @@
+Index: activiz.net-5.6.1/CMakeLists.txt
+===================================================================
+--- activiz.net-5.6.1.orig/CMakeLists.txt	2011-02-17 12:14:12.000000000 +0100
++++ activiz.net-5.6.1/CMakeLists.txt	2011-02-17 12:14:25.000000000 +0100
+@@ -1260,8 +1260,8 @@
+   ENDIF(CMAKE_CONFIGURATION_TYPES)
+ 
+   SET(AVDN_INSTALL_FILES ${AVDN_INSTALL_FILES}
+-    "Kitware.mummy.Runtime.dll"
+-    "${CMAKE_SHARED_LIBRARY_PREFIX}Kitware.mummy.Runtime.Unmanaged${CMAKE_SHARED_LIBRARY_SUFFIX}"
++    #"Kitware.mummy.Runtime.dll"
++    #"${CMAKE_SHARED_LIBRARY_PREFIX}Kitware.mummy.Runtime.Unmanaged${CMAKE_SHARED_LIBRARY_SUFFIX}"
+     "Kitware.VTK.dll"
+     "Kitware.VTK.xml"
+   )

Added: trunk/packages/activiz.net/debian/patches/mummy_runtime_path.patch
===================================================================
--- trunk/packages/activiz.net/debian/patches/mummy_runtime_path.patch	                        (rev 0)
+++ trunk/packages/activiz.net/debian/patches/mummy_runtime_path.patch	2011-03-08 10:22:22 UTC (rev 6206)
@@ -0,0 +1,14 @@
+Index: activizdotnet-5.6.1/CMakeLists.txt
+===================================================================
+--- activizdotnet-5.6.1.orig/CMakeLists.txt	2011-02-17 09:05:23.000000000 +0100
++++ activizdotnet-5.6.1/CMakeLists.txt	2011-02-17 09:11:49.000000000 +0100
+@@ -772,7 +772,8 @@
+   ENDIF(WIN32)
+ 
+   ADD_CUSTOM_COMMAND_COPYFILE(
+-    "${bin_src_dir}/${CMAKE_SHARED_LIBRARY_PREFIX}Kitware.mummy.Runtime.Unmanaged${CMAKE_SHARED_LIBRARY_SUFFIX}"
++    #"${bin_src_dir}/${CMAKE_SHARED_LIBRARY_PREFIX}Kitware.mummy.Runtime.Unmanaged${CMAKE_SHARED_LIBRARY_SUFFIX}"
++    "${Mummy_RUNTIME_LINK_LIBRARIES}"
+     "${exe_dir}/${CMAKE_SHARED_LIBRARY_PREFIX}Kitware.mummy.Runtime.Unmanaged${CMAKE_SHARED_LIBRARY_SUFFIX}"
+   )
+ 

Added: trunk/packages/activiz.net/debian/patches/remove_testing.patch
===================================================================
--- trunk/packages/activiz.net/debian/patches/remove_testing.patch	                        (rev 0)
+++ trunk/packages/activiz.net/debian/patches/remove_testing.patch	2011-03-08 10:22:22 UTC (rev 6206)
@@ -0,0 +1,27 @@
+Index: activizdotnet-5.6.1/CMakeLists.txt
+===================================================================
+--- activizdotnet-5.6.1.orig/CMakeLists.txt	2011-02-17 09:18:54.000000000 +0100
++++ activizdotnet-5.6.1/CMakeLists.txt	2011-02-17 09:44:15.000000000 +0100
+@@ -799,7 +799,8 @@
+   )
+ 
+   ADD_CUSTOM_COMMAND_COPYFILE(
+-    "${bin_src_dir}/Kitware.mummy.Runtime.dll"
++    #"${bin_src_dir}/Kitware.mummy.Runtime.dll"
++    "${Mummy_BASE_DIR}/${MUMMY_RUNTIME_UNMANAGED_INSTALL_LIB_DIR}/Kitware.mummy.Runtime.dll"
+     "${exe_dir}/Kitware.mummy.Runtime.dll"
+   )
+ 
+@@ -1146,9 +1147,9 @@
+ 
+ IF(AVDN_BUILD_IS_TOP_LEVEL)
+   MESSAGE(STATUS "info: AVDN_BUILD_IS_TOP_LEVEL='${AVDN_BUILD_IS_TOP_LEVEL}'")
+-  INCLUDE(CTest)
+-  ENABLE_TESTING()
+-  SET(AVDN_BUILD_TESTING 1)
++  #INCLUDE(CTest)
++  #ENABLE_TESTING()
++  SET(AVDN_BUILD_TESTING 0)
+   SET(AVDN_BUILD_EXAMPLES 1)
+ ENDIF(AVDN_BUILD_IS_TOP_LEVEL)
+ 

Added: trunk/packages/activiz.net/debian/patches/series
===================================================================
--- trunk/packages/activiz.net/debian/patches/series	                        (rev 0)
+++ trunk/packages/activiz.net/debian/patches/series	2011-03-08 10:22:22 UTC (rev 6206)
@@ -0,0 +1,6 @@
+cmake_version.patch
+mummy_runtime_path.patch
+vtk_cxx_files.patch
+remove_testing.patch
+vtk_hints_location.patch
+donotinstallmummydll.patch

Added: trunk/packages/activiz.net/debian/patches/vtk_cxx_files.patch
===================================================================
--- trunk/packages/activiz.net/debian/patches/vtk_cxx_files.patch	                        (rev 0)
+++ trunk/packages/activiz.net/debian/patches/vtk_cxx_files.patch	2011-03-08 10:22:22 UTC (rev 6206)
@@ -0,0 +1,70 @@
+Index: activiz.net-5.6.1/CMakeLists.txt
+===================================================================
+--- activiz.net-5.6.1.orig/CMakeLists.txt	2011-02-17 10:05:35.000000000 +0100
++++ activiz.net-5.6.1/CMakeLists.txt	2011-02-17 10:09:14.000000000 +0100
+@@ -164,6 +164,7 @@
+ #   VTK_USE_SYSTEM_TIFF
+ #   VTK_USE_SYSTEM_ZLIB
+ #
++IF(EXISTS "${VTK_DIR}/CMakeCache.txt")
+ FILE(READ "${VTK_DIR}/CMakeCache.txt" AVDN_vtk_cmakecache)
+ STRING(REGEX REPLACE ";" "\\\\;" AVDN_vtk_cmakecache "${AVDN_vtk_cmakecache}")
+ STRING(REGEX REPLACE "\n" "E;" AVDN_vtk_cmakecache "${AVDN_vtk_cmakecache}")
+@@ -218,6 +219,26 @@
+ 
+  ENDIF(NOT line MATCHES "-ADVANCED:INTERNAL=")
+ ENDFOREACH(line)
++SET(AVDN_VTK_COMMON_COMMAND "Common")
++ELSE(EXISTS "${VTK_DIR}/CMakeCache.txt")
++FOREACH(vtkoption
++    #VTK_SOURCE_DIR
++    VTK_DATA_ROOT
++    VTK_USE_PARALLEL
++    VTK_USE_SYSTEM_EXPAT
++    VTK_USE_SYSTEM_FREETYPE
++    VTK_USE_SYSTEM_JPEG
++    VTK_USE_SYSTEM_LIBPROJ4
++    VTK_USE_SYSTEM_LIBXML2
++    VTK_USE_SYSTEM_PNG
++    VTK_USE_SYSTEM_TIFF
++    VTK_USE_SYSTEM_ZLIB
++    )
++  SET(AVDN_${vtkoption} "${${vtkoption}}")
++ENDFOREACH(vtkoption)
++SET(AVDN_VTK_SOURCE_DIR "${VTK_INSTALL_PREFIX}/${VTK_INSTALL_INCLUDE_DIR}")
++SET(AVDN_VTK_COMMON_COMMAND)
++ENDIF(EXISTS "${VTK_DIR}/CMakeCache.txt")
+ 
+ 
+ IF(${VTK_MAJOR_VERSION}.${VTK_MINOR_VERSION} LESS 5.6)
+@@ -405,7 +426,7 @@
+     -P "${CMAKE_CURRENT_SOURCE_DIR}/GenerateEventFragments.cmake"
+   DEPENDS
+     ${CMAKE_CURRENT_SOURCE_DIR}/GenerateEventFragments.cmake
+-    ${AVDN_VTK_SOURCE_DIR}/Common/vtkCommand.h
++    ${AVDN_VTK_SOURCE_DIR}/${AVDN_VTK_COMMON_COMMAND}/vtkCommand.h
+     ${CMAKE_COMMAND}
+ )
+ 
+@@ -572,7 +593,7 @@
+         IF(EXISTS "${source}")
+           SET(include_source_text "#include \"${source}\"")
+         ELSE(EXISTS "${source}")
+-          MESSAGE(FATAL_ERROR "error: Source file '${source}' does not exist...")
++          #MESSAGE(FATAL_ERROR "error: Source file '${source}' does not exist...")
+         ENDIF(EXISTS "${source}")
+ 
+ 
+Index: activiz.net-5.6.1/GenerateEventFragments.cmake
+===================================================================
+--- activiz.net-5.6.1.orig/GenerateEventFragments.cmake	2011-02-17 10:04:51.000000000 +0100
++++ activiz.net-5.6.1/GenerateEventFragments.cmake	2011-02-17 10:05:35.000000000 +0100
+@@ -26,7 +26,7 @@
+ # supports so that we can generate C# event code to include in vtkObject's C#
+ # class definition.
+ #
+-FILE(READ "${AVDN_VTK_SOURCE_DIR}/Common/vtkCommand.h" AVDN_vtk_command_h)
++FILE(READ "${AVDN_VTK_SOURCE_DIR}/${AVDN_VTK_COMMON_COMMAND}/vtkCommand.h" AVDN_vtk_command_h)
+ STRING(REGEX REPLACE ";" "\\\\;" AVDN_vtk_command_h "${AVDN_vtk_command_h}")
+ STRING(REGEX REPLACE "\n" "E;" AVDN_vtk_command_h "${AVDN_vtk_command_h}")
+ 

Added: trunk/packages/activiz.net/debian/patches/vtk_hints_location.patch
===================================================================
--- trunk/packages/activiz.net/debian/patches/vtk_hints_location.patch	                        (rev 0)
+++ trunk/packages/activiz.net/debian/patches/vtk_hints_location.patch	2011-03-08 10:22:22 UTC (rev 6206)
@@ -0,0 +1,97 @@
+Index: activiz.net-5.6.1/CMakeLists.txt
+===================================================================
+--- activiz.net-5.6.1.orig/CMakeLists.txt	2011-02-17 11:28:53.000000000 +0100
++++ activiz.net-5.6.1/CMakeLists.txt	2011-02-17 11:31:24.000000000 +0100
+@@ -241,6 +241,16 @@
+ ENDIF(EXISTS "${VTK_DIR}/CMakeCache.txt")
+ 
+ 
++# vtkMPIController.cs(155,37): error CS0508:
++# `Kitware.VTK.vtkMPIController.CreateSubController(Kitware.VTK.vtkProcessGroup)':
++# return type must be `Kitware.VTK.vtkMultiProcessController' to match overridden
++# member
++# `Kitware.VTK.vtkMultiProcessController.CreateSubController(Kitware.VTK.vtkProcessGroup)'
++# Cannot get covariant return type to work
++SET(AVDN_EXTRA_EXCLUDE_CLASSES ${AVDN_EXTRA_EXCLUDE_CLASSES}
++  vtkMPIController
++  vtkMPICommunicator
++  )
+ IF(${VTK_MAJOR_VERSION}.${VTK_MINOR_VERSION} LESS 5.6)
+   SET(AVDN_EXTRA_EXCLUDE_CLASSES ${AVDN_EXTRA_EXCLUDE_CLASSES}
+     vtkRenderPass
+Index: activiz.net-5.6.1/MummySettings.xml.in
+===================================================================
+--- activiz.net-5.6.1.orig/MummySettings.xml.in	2011-02-17 11:29:53.000000000 +0100
++++ activiz.net-5.6.1/MummySettings.xml.in	2011-02-17 11:29:41.000000000 +0100
+@@ -65,7 +65,7 @@
+     endExcludeRegex="^[\t ]*//ETX.*$"
+     countedMethodsRegex="^(CreateInstance|New|NewInstance)$"
+     emitDefaultFactoryMethod="true"
+-    externalHints="@AVDN_VTK_SOURCE_DIR@/Wrapping/hints"
++    externalHints="@VTK_WRAP_HINTS@"
+     />
+ 
+   <!-- vtkImageData: extra hand-crafted code -->
+@@ -85,7 +85,7 @@
+     endExcludeRegex="^[\t ]*//ETX.*$"
+     countedMethodsRegex="^(CreateInstance|New|NewInstance)$"
+     emitDefaultFactoryMethod="true"
+-    externalHints="@AVDN_VTK_SOURCE_DIR@/Wrapping/hints"
++    externalHints="@VTK_WRAP_HINTS@"
+     />
+ 
+   <!-- vtkImplicitFunction: shadow="true" -->
+@@ -103,7 +103,7 @@
+     endExcludeRegex="^[\t ]*//ETX.*$"
+     countedMethodsRegex="^(CreateInstance|New|NewInstance)$"
+     emitDefaultFactoryMethod="true"
+-    externalHints="@AVDN_VTK_SOURCE_DIR@/Wrapping/hints"
++    externalHints="@VTK_WRAP_HINTS@"
+     />
+ 
+   <!-- vtkObject: extra hand-crafted code -->
+@@ -123,7 +123,7 @@
+     endExcludeRegex="^[\t ]*//ETX.*$"
+     countedMethodsRegex="^(CreateInstance|New|NewInstance)$"
+     emitDefaultFactoryMethod="true"
+-    externalHints="@AVDN_VTK_SOURCE_DIR@/Wrapping/hints"
++    externalHints="@VTK_WRAP_HINTS@"
+     />
+ 
+   <!-- vtkProgrammableAttributeDataFilter: extra hand-crafted code -->
+@@ -143,7 +143,7 @@
+     endExcludeRegex="^[\t ]*//ETX.*$"
+     countedMethodsRegex="^(CreateInstance|New|NewInstance)$"
+     emitDefaultFactoryMethod="true"
+-    externalHints="@AVDN_VTK_SOURCE_DIR@/Wrapping/hints"
++    externalHints="@VTK_WRAP_HINTS@"
+     />
+ 
+   <!-- vtkStringArray: extra hand-crafted code -->
+@@ -163,7 +163,7 @@
+     endExcludeRegex="^[\t ]*//ETX.*$"
+     countedMethodsRegex="^(CreateInstance|New|NewInstance)$"
+     emitDefaultFactoryMethod="true"
+-    externalHints="@AVDN_VTK_SOURCE_DIR@/Wrapping/hints"
++    externalHints="@VTK_WRAP_HINTS@"
+     />
+ 
+   <!-- vtkTimePointUtility: excludeMarkedLines="true" -->
+@@ -182,7 +182,7 @@
+     excludeMarkedLines="true"
+     countedMethodsRegex="^(CreateInstance|New|NewInstance)$"
+     emitDefaultFactoryMethod="true"
+-    externalHints="@AVDN_VTK_SOURCE_DIR@/Wrapping/hints"
++    externalHints="@VTK_WRAP_HINTS@"
+     />
+ 
+ 
+@@ -201,7 +201,7 @@
+     endExcludeRegex="^[\t ]*//ETX.*$"
+     countedMethodsRegex="^(CreateImageReader2|CreateInstance|MakeTransform|New|NewInstance)$"
+     emitDefaultFactoryMethod="true"
+-    externalHints="@AVDN_VTK_SOURCE_DIR@/Wrapping/hints"
++    externalHints="@VTK_WRAP_HINTS@"
+     />
+ 
+ </MummySettings>

Added: trunk/packages/activiz.net/debian/rules
===================================================================
--- trunk/packages/activiz.net/debian/rules	                        (rev 0)
+++ trunk/packages/activiz.net/debian/rules	2011-03-08 10:22:22 UTC (rev 6206)
@@ -0,0 +1,23 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+%:
+	dh --parallel $@ 
+
+override_dh_auto_configure:
+	dh_auto_configure -- -DAVDN_INSTALL_PREFIX:PATH=/usr
+
+# dpkg-shlibdeps: error: no dependency information found for /usr/lib/libvtkNetCDF_cxx.so.5.6
+override_dh_shlibdeps:
+	dh_shlibdeps -- --ignore-missing-info
+
+override_dh_compress:
+	dh_compress -XUsersGuide.pdf
+
+get-orig-source:
+	./debian/get-orig-source.sh


Property changes on: trunk/packages/activiz.net/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/packages/activiz.net/debian/source/format
===================================================================
--- trunk/packages/activiz.net/debian/source/format	                        (rev 0)
+++ trunk/packages/activiz.net/debian/source/format	2011-03-08 10:22:22 UTC (rev 6206)
@@ -0,0 +1 @@
+3.0 (quilt)




More information about the debian-med-commit mailing list