[med-svn] r6205 - in trunk/packages: . mummy mummy/debian mummy/debian/patches mummy/debian/source
Mathieu Malaterre
malat-guest at alioth.debian.org
Tue Mar 8 10:21:30 UTC 2011
Author: malat-guest
Date: 2011-03-08 10:21:08 +0000 (Tue, 08 Mar 2011)
New Revision: 6205
Added:
trunk/packages/mummy/
trunk/packages/mummy/debian/
trunk/packages/mummy/debian/README.Debian
trunk/packages/mummy/debian/README.source
trunk/packages/mummy/debian/changelog
trunk/packages/mummy/debian/compat
trunk/packages/mummy/debian/control
trunk/packages/mummy/debian/copyright
trunk/packages/mummy/debian/get-orig-source.sh
trunk/packages/mummy/debian/libkitware-mummy-runtime1.0-cil.install
trunk/packages/mummy/debian/libkitware-mummy-runtime1.0-cil.installcligac
trunk/packages/mummy/debian/mummy-doc.install
trunk/packages/mummy/debian/mummy.1
trunk/packages/mummy/debian/mummy.install
trunk/packages/mummy/debian/mummy.manpages
trunk/packages/mummy/debian/patches/
trunk/packages/mummy/debian/patches/cmake_version.patch
trunk/packages/mummy/debian/patches/install_mummy_runtime_dll.patch
trunk/packages/mummy/debian/patches/installdoc.patch
trunk/packages/mummy/debian/patches/series
trunk/packages/mummy/debian/patches/shlib_exebit.patch
trunk/packages/mummy/debian/patches/system_cableswig.patch
trunk/packages/mummy/debian/patches/testing.patch
trunk/packages/mummy/debian/rules
trunk/packages/mummy/debian/source/
trunk/packages/mummy/debian/source/format
Log:
Start packaging mummy
Added: trunk/packages/mummy/debian/README.Debian
===================================================================
--- trunk/packages/mummy/debian/README.Debian (rev 0)
+++ trunk/packages/mummy/debian/README.Debian 2011-03-08 10:21:08 UTC (rev 6205)
@@ -0,0 +1,10 @@
+mummy for Debian
+----------------
+
+For packaging mummy I had to copy as convenient library CableSwig. See the debian/get-orig-source.sh
+script to see how source code was generated.
+
+This package does not provide .pc files, instead it provides *.cmake files. Those
+files are use by packages such as Activiz.NET to use the Kitware.mummy.Runtime library.
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com> Wed, 16 Feb 2011 16:35:52 +0100
Added: trunk/packages/mummy/debian/README.source
===================================================================
--- trunk/packages/mummy/debian/README.source (rev 0)
+++ trunk/packages/mummy/debian/README.source 2011-03-08 10:21:08 UTC (rev 6205)
@@ -0,0 +1,8 @@
+mummy for Debian
+----------------
+
+This packages uses a patch system. Please read
+/usr/share/doc/quilt/README.source for more informations.
+
+
+
Added: trunk/packages/mummy/debian/changelog
===================================================================
--- trunk/packages/mummy/debian/changelog (rev 0)
+++ trunk/packages/mummy/debian/changelog 2011-03-08 10:21:08 UTC (rev 6205)
@@ -0,0 +1,5 @@
+mummy (1.0.2-1) unstable; urgency=low
+
+ * Initial release (Closes: #611789)
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com> Wed, 16 Feb 2011 16:35:52 +0100
Added: trunk/packages/mummy/debian/compat
===================================================================
--- trunk/packages/mummy/debian/compat (rev 0)
+++ trunk/packages/mummy/debian/compat 2011-03-08 10:21:08 UTC (rev 6205)
@@ -0,0 +1 @@
+7
Added: trunk/packages/mummy/debian/control
===================================================================
--- trunk/packages/mummy/debian/control (rev 0)
+++ trunk/packages/mummy/debian/control 2011-03-08 10:21:08 UTC (rev 6205)
@@ -0,0 +1,46 @@
+Source: mummy
+Section: devel
+Priority: extra
+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~), quilt, cmake (>= 2.8.2), mono-devel, cli-common-dev (>= 0.5.7)
+Build-Depends-Indep: doxygen (>= 1.6.2), graphviz
+Standards-Version: 3.9.1
+Homepage: http://www.kitware.com/products/avdownload.php
+Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/mummy/trunk
+Vcs-Browser: http://svn.debian.org/viewsvn/debian-science/packages/mummy/trunk
+
+Package: mummy
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Suggests: gccxml
+Description: command line executable that generates C# wrappers from gccxml output
+ mummy is a command line executable that generates C# wrappers from gccxml
+ output. A C# class is generated to wrap the wrappable class named in the gccxml
+ output. Settings to control the wrapping are given inline directly in the class
+ header file or in the MummySettings.xml input file.
+
+Package: libkitware-mummy-runtime1.0-cil
+Architecture: any
+Section: cli-mono
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${cli:Depends}
+Suggests: gccxml
+Description: Mummy CLI bindings
+ mummy is a command line executable that generates C# wrappers from gccxml
+ output. A C# class is generated to wrap the wrappable class named in the gccxml
+ output. Settings to control the wrapping are given inline directly in the class
+ header file or in the MummySettings.xml input file.
+ .
+ CLI bindings to the Kitware.mummy.Runtime library.
+
+Package: mummy-doc
+Architecture: all
+Depends: ${misc:Depends}, doc-base
+Suggests: vtk-doc
+Section: doc
+Description: mummy class reference documentation
+ mummy is a command line executable that generates C# wrappers from gccxml
+ .
+ This package contains exhaustive HTML documentation for the all the
+ documented mummy C++ classes.
Added: trunk/packages/mummy/debian/copyright
===================================================================
--- trunk/packages/mummy/debian/copyright (rev 0)
+++ trunk/packages/mummy/debian/copyright 2011-03-08 10:21:08 UTC (rev 6205)
@@ -0,0 +1,76 @@
+This work was packaged for Debian by:
+
+ Mathieu Malaterre <mathieu.malaterre at gmail.com> on Wed, 16 Feb 2011 16:35:52 +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:
+
+ 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/mummy/debian/get-orig-source.sh
===================================================================
--- trunk/packages/mummy/debian/get-orig-source.sh (rev 0)
+++ trunk/packages/mummy/debian/get-orig-source.sh 2011-03-08 10:21:08 UTC (rev 6205)
@@ -0,0 +1,34 @@
+#!/bin/sh
+
+VERSION=1.0.2
+
+rm -rf mummy-$VERSION
+
+# This is tag: 6c99e0759992793678f079c3498a4bd856d8d3dd
+# git archive --remote=git://public.kitware.com/mummy.git
+# -> fatal: The remote end hung up unexpectedly
+# so instead git-clone + rm .git
+git clone git://public.kitware.com/mummy.git mummy-$VERSION
+
+cd mummy-$VERSION
+rm -rf .git
+
+mkdir mummyExternalSourceTrees
+cd mummyExternalSourceTrees
+
+# We need a convienient copy of CableSwig
+DATE=20110217
+
+cvs -Q -z3 -d :pserver:anonymous at public.kitware.com:/cvsroot/CableSwig export -D ${DATE} CableSwig
+
+# Use a light weigth version of cableswig:
+# we do not need GCC source tree
+rm -rf CableSwig/GCC
+rm -rf CableSwig/SWIG
+rm -rf CableSwig/GCC_XML/Support
+rm -rf CableSwig/GCC_XML/VcInstall
+rm -rf CableSwig/GCC_XML/Patches
+
+cd ../..
+
+GZIP=-9 tar cfz mummy_$VERSION.orig.tar.gz mummy-$VERSION
Property changes on: trunk/packages/mummy/debian/get-orig-source.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/packages/mummy/debian/libkitware-mummy-runtime1.0-cil.install
===================================================================
--- trunk/packages/mummy/debian/libkitware-mummy-runtime1.0-cil.install (rev 0)
+++ trunk/packages/mummy/debian/libkitware-mummy-runtime1.0-cil.install 2011-03-08 10:21:08 UTC (rev 6205)
@@ -0,0 +1,5 @@
+usr/lib/cli/Kitware.mummy.Runtime-1.0/libKitware.mummy.Runtime.Unmanaged.so
+usr/lib/cli/Kitware.mummy.Runtime-1.0/Kitware.mummy.Runtime.dll
+usr/share/mummy-1.0.2/*.cmake
+usr/share/mummy-1.0.2/*.cs.in
+usr/include/mummy-1.0.2/*.h
Added: trunk/packages/mummy/debian/libkitware-mummy-runtime1.0-cil.installcligac
===================================================================
--- trunk/packages/mummy/debian/libkitware-mummy-runtime1.0-cil.installcligac (rev 0)
+++ trunk/packages/mummy/debian/libkitware-mummy-runtime1.0-cil.installcligac 2011-03-08 10:21:08 UTC (rev 6205)
@@ -0,0 +1 @@
+/usr/lib/cli/Kitware.mummy.Runtime-1.0/Kitware.mummy.Runtime.dll
Added: trunk/packages/mummy/debian/mummy-doc.install
===================================================================
--- trunk/packages/mummy/debian/mummy-doc.install (rev 0)
+++ trunk/packages/mummy/debian/mummy-doc.install 2011-03-08 10:21:08 UTC (rev 6205)
@@ -0,0 +1 @@
+usr/share/html usr/share/doc/mummy-doc
Added: trunk/packages/mummy/debian/mummy.1
===================================================================
--- trunk/packages/mummy/debian/mummy.1 (rev 0)
+++ trunk/packages/mummy/debian/mummy.1 2011-03-08 10:21:08 UTC (rev 6205)
@@ -0,0 +1,58 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.38.2.
+.TH MUMMY "1" "February 2011" "mummy version 1.0.2 (revision 599)" "User Commands"
+.SH NAME
+mummy \- command line executable that generates C# wrappers from gccxml output
+.SH DESCRIPTION
+mummy version 1.0.2 (revision 599)
+.PP
+Command line options:
+.TP
+\fB\-\-csharp\-file\fR opt
+C# output file. Default value is 'ClassName.cs'
+in the current directory.
+.TP
+\fB\-\-csharp\-unit\-test\-file\fR opt
+C# output file. Default value is
+\&'ClassNameUnitTest.cs' in the current directory.
+.TP
+\fB\-\-export\-layer\-file\fR opt
+C++ output file. Default value is
+\&'ClassNameEL.cxx' in the current directory.
+.TP
+\fB\-\-gccxml\-file\fR opt
+Input file (output of gccxml) describing class
+to be wrapped. Required.
+.TP
+\fB\-\-help\fR
+Display (this) detailed help information.
+.TP
+\fB\-\-settings\-file\fR opt
+Input file describing mummy configuration
+settings, including the set of wrapped classes.
+Required.
+.TP
+\fB\-\-suppress\-warnings\fR opt opt ...
+Space separated list of warning numbers to
+suppress.
+.TP
+\fB\-\-verbose\fR
+Overwhelm me with output, I don't have enough
+reading material... ;)
+.TP
+\fB\-\-version\fR
+Display the program version.
+.SH "SEE ALSO"
+The full documentation for
+.B mummy
+is maintained as a Texinfo manual. If the
+.B info
+and
+.B mummy
+programs are properly installed at your site, the command
+.IP
+.B info mummy
+.PP
+should give you access to the complete manual.
+.PP
+This manual page was written by Mathieu Malaterre <mathieu.malaterre at gmail.com>,
+for the Debian project (and may be used by others).
Added: trunk/packages/mummy/debian/mummy.install
===================================================================
--- trunk/packages/mummy/debian/mummy.install (rev 0)
+++ trunk/packages/mummy/debian/mummy.install 2011-03-08 10:21:08 UTC (rev 6205)
@@ -0,0 +1 @@
+usr/bin/mummy
Added: trunk/packages/mummy/debian/mummy.manpages
===================================================================
--- trunk/packages/mummy/debian/mummy.manpages (rev 0)
+++ trunk/packages/mummy/debian/mummy.manpages 2011-03-08 10:21:08 UTC (rev 6205)
@@ -0,0 +1 @@
+debian/mummy.1
Added: trunk/packages/mummy/debian/patches/cmake_version.patch
===================================================================
--- trunk/packages/mummy/debian/patches/cmake_version.patch (rev 0)
+++ trunk/packages/mummy/debian/patches/cmake_version.patch 2011-03-08 10:21:08 UTC (rev 6205)
@@ -0,0 +1,10 @@
+Index: mummy-1.0.2/CMakeLists.txt
+===================================================================
+--- mummy-1.0.2.orig/CMakeLists.txt 2011-02-16 16:36:29.000000000 +0100
++++ mummy-1.0.2/CMakeLists.txt 2011-02-16 16:36: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(Mummy)
+
+ # Determine if we're building Mummy as a "top level" project.
Added: trunk/packages/mummy/debian/patches/install_mummy_runtime_dll.patch
===================================================================
--- trunk/packages/mummy/debian/patches/install_mummy_runtime_dll.patch (rev 0)
+++ trunk/packages/mummy/debian/patches/install_mummy_runtime_dll.patch 2011-03-08 10:21:08 UTC (rev 6205)
@@ -0,0 +1,37 @@
+This patch has been reported upstream as:
+
+http://vtk.org/Bug/view.php?id=11871
+Index: mummy-1.0.2/Runtime/CMakeLists.txt
+===================================================================
+--- mummy-1.0.2.orig/Runtime/CMakeLists.txt 2011-02-16 22:08:55.000000000 +0100
++++ mummy-1.0.2/Runtime/CMakeLists.txt 2011-02-16 22:15:33.000000000 +0100
+@@ -81,6 +81,17 @@
+ "${CMAKE_CURRENT_SOURCE_DIR}/WrappedObject.cs"
+ )
+
++ SET(ace_BinDir "${CMAKE_CURRENT_BINARY_DIR}")
++
++ SET(ace_ExeDir "${ace_BinDir}/${CMAKE_CFG_INTDIR}")
++ IF(EXECUTABLE_OUTPUT_PATH)
++ SET(ace_ExeDir "${EXECUTABLE_OUTPUT_PATH}/${CMAKE_CFG_INTDIR}")
++ ENDIF(EXECUTABLE_OUTPUT_PATH)
++
++INSTALL(FILES
++ ${ace_ExeDir}/Kitware.mummy.Runtime.dll
++ DESTINATION ${MUMMY_RUNTIME_UNMANAGED_INSTALL_LIB_DIR}
++)
+
+ ADD_LIBRARY(MRSmokeTest SHARED MRSmokeTest.cxx)
+ TARGET_LINK_LIBRARIES(MRSmokeTest Kitware.mummy.Runtime.Unmanaged)
+Index: mummy-1.0.2/MummyConfig.cmake.in
+===================================================================
+--- mummy-1.0.2.orig/MummyConfig.cmake.in 2011-02-17 09:37:06.000000000 +0100
++++ mummy-1.0.2/MummyConfig.cmake.in 2011-02-17 09:37:40.000000000 +0100
+@@ -34,6 +34,7 @@
+ #
+ SET(Mummy_CMAKE_BUILD_TYPE "@CMAKE_BUILD_TYPE@")
+ SET(Mummy_CMAKE_CONFIGURATION_TYPES "@Mummy_CMAKE_CONFIGURATION_TYPES@")
++SET(MUMMY_RUNTIME_UNMANAGED_INSTALL_LIB_DIR "@MUMMY_RUNTIME_UNMANAGED_INSTALL_LIB_DIR@")
+
+ IF(NOT mummy_EXECUTABLE)
+ SET(mummy_EXECUTABLE "${Mummy_BASE_DIR}/bin/mummy at CMAKE_EXECUTABLE_SUFFIX@")
Added: trunk/packages/mummy/debian/patches/installdoc.patch
===================================================================
--- trunk/packages/mummy/debian/patches/installdoc.patch (rev 0)
+++ trunk/packages/mummy/debian/patches/installdoc.patch 2011-03-08 10:21:08 UTC (rev 6205)
@@ -0,0 +1,10 @@
+Index: mummy-1.0.2/MummyDoxygen.cmake
+===================================================================
+--- mummy-1.0.2.orig/MummyDoxygen.cmake 2011-02-17 15:05:27.000000000 +0100
++++ mummy-1.0.2/MummyDoxygen.cmake 2011-02-17 15:06:06.000000000 +0100
+@@ -47,4 +47,5 @@
+ ADD_CUSTOM_TARGET(mummyDoxygen ALL
+ DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/doxygen/html/index.html
+ )
++ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/doxygen/html DESTINATION share)
+ ENDIF(Mummy_BUILD_DOCUMENTATION)
Added: trunk/packages/mummy/debian/patches/series
===================================================================
--- trunk/packages/mummy/debian/patches/series (rev 0)
+++ trunk/packages/mummy/debian/patches/series 2011-03-08 10:21:08 UTC (rev 6205)
@@ -0,0 +1,6 @@
+cmake_version.patch
+system_cableswig.patch
+testing.patch
+shlib_exebit.patch
+install_mummy_runtime_dll.patch
+installdoc.patch
Added: trunk/packages/mummy/debian/patches/shlib_exebit.patch
===================================================================
--- trunk/packages/mummy/debian/patches/shlib_exebit.patch (rev 0)
+++ trunk/packages/mummy/debian/patches/shlib_exebit.patch 2011-03-08 10:21:08 UTC (rev 6205)
@@ -0,0 +1,54 @@
+This patch has been submited upstream as:
+
+http://vtk.org/Bug/view.php?id=11870
+Index: mummy-1.0.2/Runtime/CMakeLists.txt
+===================================================================
+--- mummy-1.0.2.orig/Runtime/CMakeLists.txt 2011-02-16 21:45:09.000000000 +0100
++++ mummy-1.0.2/Runtime/CMakeLists.txt 2011-02-16 21:49:51.000000000 +0100
+@@ -22,7 +22,7 @@
+
+ INSTALL(TARGETS
+ Kitware.mummy.Runtime.Unmanaged
+- DESTINATION "bin"
++ DESTINATION ${MUMMY_RUNTIME_UNMANAGED_INSTALL_LIB_DIR}
+ )
+
+
+Index: mummy-1.0.2/CMakeLists.txt
+===================================================================
+--- mummy-1.0.2.orig/CMakeLists.txt 2011-02-16 21:45:46.000000000 +0100
++++ mummy-1.0.2/CMakeLists.txt 2011-02-16 22:04:51.000000000 +0100
+@@ -1,6 +1,11 @@
+ CMAKE_MINIMUM_REQUIRED(VERSION 2.8.2 FATAL_ERROR)
+ PROJECT(Mummy)
+
++# Define where we are going to install Kiware.mummy.Runtime.Unmanaged
++IF(NOT MUMMY_RUNTIME_UNMANAGED_INSTALL_LIB_DIR)
++ SET(MUMMY_RUNTIME_UNMANAGED_INSTALL_LIB_DIR "bin")
++ENDIF(NOT MUMMY_RUNTIME_UNMANAGED_INSTALL_LIB_DIR)
++
+ # Determine if we're building Mummy as a "top level" project.
+ #
+ SET(Mummy_BUILD_IS_TOP_LEVEL 0)
+@@ -259,7 +264,7 @@
+ #
+ OPTION(Mummy_RUN_LONG_TESTS "Run mummy tests that take more than a few seconds to run..." ON)
+ IF(Mummy_BUILD_IS_TOP_LEVEL)
+- SET(Mummy_BUILD_EXAMPLES 1)
++ SET(Mummy_BUILD_EXAMPLES 0)
+
+ # Avoid the "Continuous, Experimental, Nightly and NightlyMemoryCheck" custom
+ # targets for Visual Studio builds:
+Index: mummy-1.0.2/MummyConfig.cmake.in
+===================================================================
+--- mummy-1.0.2.orig/MummyConfig.cmake.in 2011-02-16 21:47:16.000000000 +0100
++++ mummy-1.0.2/MummyConfig.cmake.in 2011-02-16 21:50:38.000000000 +0100
+@@ -90,7 +90,7 @@
+ )
+
+ SET(Mummy_RUNTIME_LINK_LIBRARIES
+- "${Mummy_BIN_DIR}/@Mummy_RUNTIME_UNMANAGED_LINK_LIBRARY@"
++ "${Mummy_BASE_DIR}/${MUMMY_RUNTIME_UNMANAGED_INSTALL_LIB_DIR}/@Mummy_RUNTIME_UNMANAGED_LINK_LIBRARY@"
+ )
+
+ SET(mummy_EXECUTABLE "${mummy_EXECUTABLE}" CACHE FILEPATH "FILEPATH to mummy at CMAKE_EXECUTABLE_SUFFIX@")
Added: trunk/packages/mummy/debian/patches/system_cableswig.patch
===================================================================
--- trunk/packages/mummy/debian/patches/system_cableswig.patch (rev 0)
+++ trunk/packages/mummy/debian/patches/system_cableswig.patch 2011-03-08 10:21:08 UTC (rev 6205)
@@ -0,0 +1,40 @@
+Index: mummy-1.0.2/CMakeLists.txt
+===================================================================
+--- mummy-1.0.2.orig/CMakeLists.txt 2011-02-16 18:26:18.000000000 +0100
++++ mummy-1.0.2/CMakeLists.txt 2011-02-16 18:26:18.000000000 +0100
+@@ -113,10 +113,10 @@
+ # Provide mummy and C# settings at the top level so runtime, test and
+ # example sub-projects can use them:
+ #
+-INCLUDE("${CMAKE_CURRENT_SOURCE_DIR}/CvsMacros.cmake")
++#INCLUDE("${CMAKE_CURRENT_SOURCE_DIR}/CvsMacros.cmake")
+ INCLUDE("${CMAKE_CURRENT_SOURCE_DIR}/FindCsharp.cmake")
+ INCLUDE("${CMAKE_CURRENT_SOURCE_DIR}/MummyCMakeMacros.cmake")
+-INCLUDE("${CMAKE_CURRENT_SOURCE_DIR}/SvnMacros.cmake")
++#INCLUDE("${CMAKE_CURRENT_SOURCE_DIR}/SvnMacros.cmake")
+
+ SET(mummy_EXECUTABLE "${EXECUTABLE_OUTPUT_PATH}/${CMAKE_CFG_INTDIR}/mummy${CMAKE_EXECUTABLE_SUFFIX}")
+
+@@ -125,7 +125,7 @@
+ # "${CMAKE_CURRENT_SOURCE_DIR}"
+ #
+ GET_FILENAME_COMPONENT(Mummy_PARENT_DIR "${CMAKE_CURRENT_SOURCE_DIR}" PATH)
+-SET(Mummy_REL_EXPR "..")
++SET(Mummy_REL_EXPR ".")
+ IF("${Mummy_PARENT_DIR}" MATCHES "/ActiViz$")
+ SET(Mummy_REL_EXPR "../..")
+ ENDIF("${Mummy_PARENT_DIR}" MATCHES "/ActiViz$")
+Index: mummy-1.0.2/MummyCsharpGenerator.cxx
+===================================================================
+--- mummy-1.0.2.orig/MummyCsharpGenerator.cxx 2011-02-16 18:30:54.000000000 +0100
++++ mummy-1.0.2/MummyCsharpGenerator.cxx 2011-02-16 18:31:29.000000000 +0100
+@@ -41,7 +41,8 @@
+ #include "gxsys/stl/string"
+ #include "gxsys/stl/vector"
+
+-#include "string.h" // strstr
++#include <string.h> // strstr
++#include <stdio.h> // sprintf
+
+
+ //----------------------------------------------------------------------------
Added: trunk/packages/mummy/debian/patches/testing.patch
===================================================================
--- trunk/packages/mummy/debian/patches/testing.patch (rev 0)
+++ trunk/packages/mummy/debian/patches/testing.patch 2011-03-08 10:21:08 UTC (rev 6205)
@@ -0,0 +1,18 @@
+Index: mummy-1.0.2/CMakeLists.txt
+===================================================================
+--- mummy-1.0.2.orig/CMakeLists.txt 2011-02-16 18:40:17.000000000 +0100
++++ mummy-1.0.2/CMakeLists.txt 2011-02-16 18:44:08.000000000 +0100
+@@ -270,10 +270,10 @@
+ ENDIF(COMMAND SET_PROPERTY)
+ ENDIF(CMAKE_GENERATOR MATCHES "Visual Studio")
+
+- INCLUDE(CTest)
++ #INCLUDE(CTest)
+
+- ENABLE_TESTING()
+- SET(Mummy_BUILD_TESTING 1)
++ #ENABLE_TESTING()
++ SET(Mummy_BUILD_TESTING 0)
+
+ CONFIGURE_FILE(
+ ${CMAKE_CURRENT_SOURCE_DIR}/CTestCustom.cmake.in
Added: trunk/packages/mummy/debian/rules
===================================================================
--- trunk/packages/mummy/debian/rules (rev 0)
+++ trunk/packages/mummy/debian/rules 2011-03-08 10:21:08 UTC (rev 6205)
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+include /usr/share/cli-common/cli.make
+
+# 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 -- -DMummy_INSTALL_PREFIX:PATH=/usr -DMUMMY_RUNTIME_UNMANAGED_INSTALL_LIB_DIR:STRING=lib/cli/Kitware.mummy.Runtime-1.0
+
+override_dh_makeclilibs:
+ dh_makeclilibs -V
+
+get-orig-source:
+ ./debian/get-orig-source.sh
Property changes on: trunk/packages/mummy/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/packages/mummy/debian/source/format
===================================================================
--- trunk/packages/mummy/debian/source/format (rev 0)
+++ trunk/packages/mummy/debian/source/format 2011-03-08 10:21:08 UTC (rev 6205)
@@ -0,0 +1 @@
+3.0 (quilt)
More information about the debian-med-commit
mailing list